configure 448 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.68 for libvorbis 1.3.3.
  4. #
  5. # Report bugs to <[email protected]>.
  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 [email protected] and
  231. $0: [email protected] 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='libvorbis'
  523. PACKAGE_TARNAME='libvorbis'
  524. PACKAGE_VERSION='1.3.3'
  525. PACKAGE_STRING='libvorbis 1.3.3'
  526. PACKAGE_BUGREPORT='[email protected]'
  527. PACKAGE_URL=''
  528. ac_unique_file="lib/mdct.c"
  529. # Factoring default headers for most tests.
  530. ac_includes_default="\
  531. #include <stdio.h>
  532. #ifdef HAVE_SYS_TYPES_H
  533. # include <sys/types.h>
  534. #endif
  535. #ifdef HAVE_SYS_STAT_H
  536. # include <sys/stat.h>
  537. #endif
  538. #ifdef STDC_HEADERS
  539. # include <stdlib.h>
  540. # include <stddef.h>
  541. #else
  542. # ifdef HAVE_STDLIB_H
  543. # include <stdlib.h>
  544. # endif
  545. #endif
  546. #ifdef HAVE_STRING_H
  547. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  548. # include <memory.h>
  549. # endif
  550. # include <string.h>
  551. #endif
  552. #ifdef HAVE_STRINGS_H
  553. # include <strings.h>
  554. #endif
  555. #ifdef HAVE_INTTYPES_H
  556. # include <inttypes.h>
  557. #endif
  558. #ifdef HAVE_STDINT_H
  559. # include <stdint.h>
  560. #endif
  561. #ifdef HAVE_UNISTD_H
  562. # include <unistd.h>
  563. #endif"
  564. ac_subst_vars='am__EXEEXT_FALSE
  565. am__EXEEXT_TRUE
  566. LTLIBOBJS
  567. LIBTOOL_DEPS
  568. pthread_lib
  569. PROFILE
  570. DEBUG
  571. VORBIS_LIBS
  572. LIBOBJS
  573. ALLOCA
  574. OGG_LIBS
  575. OGG_CFLAGS
  576. PKG_CONFIG
  577. BUILD_EXAMPLES_FALSE
  578. BUILD_EXAMPLES_TRUE
  579. BUILD_DOCS_FALSE
  580. BUILD_DOCS_TRUE
  581. HTLATEX
  582. PDFLATEX
  583. HAVE_DOXYGEN_FALSE
  584. HAVE_DOXYGEN_TRUE
  585. HAVE_DOXYGEN
  586. OTOOL64
  587. OTOOL
  588. LIPO
  589. NMEDIT
  590. DSYMUTIL
  591. MANIFEST_TOOL
  592. RANLIB
  593. ac_ct_AR
  594. AR
  595. LN_S
  596. NM
  597. ac_ct_DUMPBIN
  598. DUMPBIN
  599. LD
  600. FGREP
  601. EGREP
  602. GREP
  603. SED
  604. LIBTOOL
  605. OBJDUMP
  606. DLLTOOL
  607. AS
  608. CPP
  609. am__fastdepCC_FALSE
  610. am__fastdepCC_TRUE
  611. CCDEPMODE
  612. AMDEPBACKSLASH
  613. AMDEP_FALSE
  614. AMDEP_TRUE
  615. am__quote
  616. am__include
  617. DEPDIR
  618. OBJEXT
  619. EXEEXT
  620. ac_ct_CC
  621. CPPFLAGS
  622. LDFLAGS
  623. CFLAGS
  624. CC
  625. VE_LIB_AGE
  626. VE_LIB_REVISION
  627. VE_LIB_CURRENT
  628. VF_LIB_AGE
  629. VF_LIB_REVISION
  630. VF_LIB_CURRENT
  631. V_LIB_AGE
  632. V_LIB_REVISION
  633. V_LIB_CURRENT
  634. ACLOCAL_AMFLAGS
  635. MAINT
  636. MAINTAINER_MODE_FALSE
  637. MAINTAINER_MODE_TRUE
  638. am__untar
  639. am__tar
  640. AMTAR
  641. am__leading_dot
  642. SET_MAKE
  643. AWK
  644. mkdir_p
  645. MKDIR_P
  646. INSTALL_STRIP_PROGRAM
  647. STRIP
  648. install_sh
  649. MAKEINFO
  650. AUTOHEADER
  651. AUTOMAKE
  652. AUTOCONF
  653. ACLOCAL
  654. VERSION
  655. PACKAGE
  656. CYGPATH_W
  657. am__isrc
  658. INSTALL_DATA
  659. INSTALL_SCRIPT
  660. INSTALL_PROGRAM
  661. target_os
  662. target_vendor
  663. target_cpu
  664. target
  665. host_os
  666. host_vendor
  667. host_cpu
  668. host
  669. build_os
  670. build_vendor
  671. build_cpu
  672. build
  673. target_alias
  674. host_alias
  675. build_alias
  676. LIBS
  677. ECHO_T
  678. ECHO_N
  679. ECHO_C
  680. DEFS
  681. mandir
  682. localedir
  683. libdir
  684. psdir
  685. pdfdir
  686. dvidir
  687. htmldir
  688. infodir
  689. docdir
  690. oldincludedir
  691. includedir
  692. localstatedir
  693. sharedstatedir
  694. sysconfdir
  695. datadir
  696. datarootdir
  697. libexecdir
  698. sbindir
  699. bindir
  700. program_transform_name
  701. prefix
  702. exec_prefix
  703. PACKAGE_URL
  704. PACKAGE_BUGREPORT
  705. PACKAGE_STRING
  706. PACKAGE_VERSION
  707. PACKAGE_TARNAME
  708. PACKAGE_NAME
  709. PATH_SEPARATOR
  710. SHELL'
  711. ac_subst_files=''
  712. ac_user_opts='
  713. enable_option_checking
  714. enable_maintainer_mode
  715. enable_dependency_tracking
  716. enable_shared
  717. enable_static
  718. with_pic
  719. enable_fast_install
  720. with_gnu_ld
  721. with_sysroot
  722. enable_libtool_lock
  723. enable_docs
  724. enable_examples
  725. with_ogg
  726. with_ogg_libraries
  727. with_ogg_includes
  728. enable_oggtest
  729. '
  730. ac_precious_vars='build_alias
  731. host_alias
  732. target_alias
  733. CC
  734. CFLAGS
  735. LDFLAGS
  736. LIBS
  737. CPPFLAGS
  738. CPP
  739. PKG_CONFIG
  740. OGG_CFLAGS
  741. OGG_LIBS'
  742. # Initialize some variables set by options.
  743. ac_init_help=
  744. ac_init_version=false
  745. ac_unrecognized_opts=
  746. ac_unrecognized_sep=
  747. # The variables have the same names as the options, with
  748. # dashes changed to underlines.
  749. cache_file=/dev/null
  750. exec_prefix=NONE
  751. no_create=
  752. no_recursion=
  753. prefix=NONE
  754. program_prefix=NONE
  755. program_suffix=NONE
  756. program_transform_name=s,x,x,
  757. silent=
  758. site=
  759. srcdir=
  760. verbose=
  761. x_includes=NONE
  762. x_libraries=NONE
  763. # Installation directory options.
  764. # These are left unexpanded so users can "make install exec_prefix=/foo"
  765. # and all the variables that are supposed to be based on exec_prefix
  766. # by default will actually change.
  767. # Use braces instead of parens because sh, perl, etc. also accept them.
  768. # (The list follows the same order as the GNU Coding Standards.)
  769. bindir='${exec_prefix}/bin'
  770. sbindir='${exec_prefix}/sbin'
  771. libexecdir='${exec_prefix}/libexec'
  772. datarootdir='${prefix}/share'
  773. datadir='${datarootdir}'
  774. sysconfdir='${prefix}/etc'
  775. sharedstatedir='${prefix}/com'
  776. localstatedir='${prefix}/var'
  777. includedir='${prefix}/include'
  778. oldincludedir='/usr/include'
  779. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  780. infodir='${datarootdir}/info'
  781. htmldir='${docdir}'
  782. dvidir='${docdir}'
  783. pdfdir='${docdir}'
  784. psdir='${docdir}'
  785. libdir='${exec_prefix}/lib'
  786. localedir='${datarootdir}/locale'
  787. mandir='${datarootdir}/man'
  788. ac_prev=
  789. ac_dashdash=
  790. for ac_option
  791. do
  792. # If the previous option needs an argument, assign it.
  793. if test -n "$ac_prev"; then
  794. eval $ac_prev=\$ac_option
  795. ac_prev=
  796. continue
  797. fi
  798. case $ac_option in
  799. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  800. *=) ac_optarg= ;;
  801. *) ac_optarg=yes ;;
  802. esac
  803. # Accept the important Cygnus configure options, so we can diagnose typos.
  804. case $ac_dashdash$ac_option in
  805. --)
  806. ac_dashdash=yes ;;
  807. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  808. ac_prev=bindir ;;
  809. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  810. bindir=$ac_optarg ;;
  811. -build | --build | --buil | --bui | --bu)
  812. ac_prev=build_alias ;;
  813. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  814. build_alias=$ac_optarg ;;
  815. -cache-file | --cache-file | --cache-fil | --cache-fi \
  816. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  817. ac_prev=cache_file ;;
  818. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  819. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  820. cache_file=$ac_optarg ;;
  821. --config-cache | -C)
  822. cache_file=config.cache ;;
  823. -datadir | --datadir | --datadi | --datad)
  824. ac_prev=datadir ;;
  825. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  826. datadir=$ac_optarg ;;
  827. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  828. | --dataroo | --dataro | --datar)
  829. ac_prev=datarootdir ;;
  830. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  831. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  832. datarootdir=$ac_optarg ;;
  833. -disable-* | --disable-*)
  834. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  835. # Reject names that are not valid shell variable names.
  836. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  837. as_fn_error $? "invalid feature name: $ac_useropt"
  838. ac_useropt_orig=$ac_useropt
  839. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  840. case $ac_user_opts in
  841. *"
  842. "enable_$ac_useropt"
  843. "*) ;;
  844. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  845. ac_unrecognized_sep=', ';;
  846. esac
  847. eval enable_$ac_useropt=no ;;
  848. -docdir | --docdir | --docdi | --doc | --do)
  849. ac_prev=docdir ;;
  850. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  851. docdir=$ac_optarg ;;
  852. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  853. ac_prev=dvidir ;;
  854. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  855. dvidir=$ac_optarg ;;
  856. -enable-* | --enable-*)
  857. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  858. # Reject names that are not valid shell variable names.
  859. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  860. as_fn_error $? "invalid feature name: $ac_useropt"
  861. ac_useropt_orig=$ac_useropt
  862. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  863. case $ac_user_opts in
  864. *"
  865. "enable_$ac_useropt"
  866. "*) ;;
  867. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  868. ac_unrecognized_sep=', ';;
  869. esac
  870. eval enable_$ac_useropt=\$ac_optarg ;;
  871. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  872. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  873. | --exec | --exe | --ex)
  874. ac_prev=exec_prefix ;;
  875. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  876. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  877. | --exec=* | --exe=* | --ex=*)
  878. exec_prefix=$ac_optarg ;;
  879. -gas | --gas | --ga | --g)
  880. # Obsolete; use --with-gas.
  881. with_gas=yes ;;
  882. -help | --help | --hel | --he | -h)
  883. ac_init_help=long ;;
  884. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  885. ac_init_help=recursive ;;
  886. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  887. ac_init_help=short ;;
  888. -host | --host | --hos | --ho)
  889. ac_prev=host_alias ;;
  890. -host=* | --host=* | --hos=* | --ho=*)
  891. host_alias=$ac_optarg ;;
  892. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  893. ac_prev=htmldir ;;
  894. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  895. | --ht=*)
  896. htmldir=$ac_optarg ;;
  897. -includedir | --includedir | --includedi | --included | --include \
  898. | --includ | --inclu | --incl | --inc)
  899. ac_prev=includedir ;;
  900. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  901. | --includ=* | --inclu=* | --incl=* | --inc=*)
  902. includedir=$ac_optarg ;;
  903. -infodir | --infodir | --infodi | --infod | --info | --inf)
  904. ac_prev=infodir ;;
  905. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  906. infodir=$ac_optarg ;;
  907. -libdir | --libdir | --libdi | --libd)
  908. ac_prev=libdir ;;
  909. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  910. libdir=$ac_optarg ;;
  911. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  912. | --libexe | --libex | --libe)
  913. ac_prev=libexecdir ;;
  914. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  915. | --libexe=* | --libex=* | --libe=*)
  916. libexecdir=$ac_optarg ;;
  917. -localedir | --localedir | --localedi | --localed | --locale)
  918. ac_prev=localedir ;;
  919. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  920. localedir=$ac_optarg ;;
  921. -localstatedir | --localstatedir | --localstatedi | --localstated \
  922. | --localstate | --localstat | --localsta | --localst | --locals)
  923. ac_prev=localstatedir ;;
  924. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  925. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  926. localstatedir=$ac_optarg ;;
  927. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  928. ac_prev=mandir ;;
  929. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  930. mandir=$ac_optarg ;;
  931. -nfp | --nfp | --nf)
  932. # Obsolete; use --without-fp.
  933. with_fp=no ;;
  934. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  935. | --no-cr | --no-c | -n)
  936. no_create=yes ;;
  937. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  938. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  939. no_recursion=yes ;;
  940. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  941. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  942. | --oldin | --oldi | --old | --ol | --o)
  943. ac_prev=oldincludedir ;;
  944. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  945. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  946. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  947. oldincludedir=$ac_optarg ;;
  948. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  949. ac_prev=prefix ;;
  950. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  951. prefix=$ac_optarg ;;
  952. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  953. | --program-pre | --program-pr | --program-p)
  954. ac_prev=program_prefix ;;
  955. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  956. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  957. program_prefix=$ac_optarg ;;
  958. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  959. | --program-suf | --program-su | --program-s)
  960. ac_prev=program_suffix ;;
  961. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  962. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  963. program_suffix=$ac_optarg ;;
  964. -program-transform-name | --program-transform-name \
  965. | --program-transform-nam | --program-transform-na \
  966. | --program-transform-n | --program-transform- \
  967. | --program-transform | --program-transfor \
  968. | --program-transfo | --program-transf \
  969. | --program-trans | --program-tran \
  970. | --progr-tra | --program-tr | --program-t)
  971. ac_prev=program_transform_name ;;
  972. -program-transform-name=* | --program-transform-name=* \
  973. | --program-transform-nam=* | --program-transform-na=* \
  974. | --program-transform-n=* | --program-transform-=* \
  975. | --program-transform=* | --program-transfor=* \
  976. | --program-transfo=* | --program-transf=* \
  977. | --program-trans=* | --program-tran=* \
  978. | --progr-tra=* | --program-tr=* | --program-t=*)
  979. program_transform_name=$ac_optarg ;;
  980. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  981. ac_prev=pdfdir ;;
  982. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  983. pdfdir=$ac_optarg ;;
  984. -psdir | --psdir | --psdi | --psd | --ps)
  985. ac_prev=psdir ;;
  986. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  987. psdir=$ac_optarg ;;
  988. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  989. | -silent | --silent | --silen | --sile | --sil)
  990. silent=yes ;;
  991. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  992. ac_prev=sbindir ;;
  993. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  994. | --sbi=* | --sb=*)
  995. sbindir=$ac_optarg ;;
  996. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  997. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  998. | --sharedst | --shareds | --shared | --share | --shar \
  999. | --sha | --sh)
  1000. ac_prev=sharedstatedir ;;
  1001. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1002. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1003. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1004. | --sha=* | --sh=*)
  1005. sharedstatedir=$ac_optarg ;;
  1006. -site | --site | --sit)
  1007. ac_prev=site ;;
  1008. -site=* | --site=* | --sit=*)
  1009. site=$ac_optarg ;;
  1010. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1011. ac_prev=srcdir ;;
  1012. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1013. srcdir=$ac_optarg ;;
  1014. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1015. | --syscon | --sysco | --sysc | --sys | --sy)
  1016. ac_prev=sysconfdir ;;
  1017. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1018. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1019. sysconfdir=$ac_optarg ;;
  1020. -target | --target | --targe | --targ | --tar | --ta | --t)
  1021. ac_prev=target_alias ;;
  1022. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1023. target_alias=$ac_optarg ;;
  1024. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1025. verbose=yes ;;
  1026. -version | --version | --versio | --versi | --vers | -V)
  1027. ac_init_version=: ;;
  1028. -with-* | --with-*)
  1029. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1030. # Reject names that are not valid shell variable names.
  1031. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1032. as_fn_error $? "invalid package name: $ac_useropt"
  1033. ac_useropt_orig=$ac_useropt
  1034. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1035. case $ac_user_opts in
  1036. *"
  1037. "with_$ac_useropt"
  1038. "*) ;;
  1039. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1040. ac_unrecognized_sep=', ';;
  1041. esac
  1042. eval with_$ac_useropt=\$ac_optarg ;;
  1043. -without-* | --without-*)
  1044. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1045. # Reject names that are not valid shell variable names.
  1046. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1047. as_fn_error $? "invalid package name: $ac_useropt"
  1048. ac_useropt_orig=$ac_useropt
  1049. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1050. case $ac_user_opts in
  1051. *"
  1052. "with_$ac_useropt"
  1053. "*) ;;
  1054. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1055. ac_unrecognized_sep=', ';;
  1056. esac
  1057. eval with_$ac_useropt=no ;;
  1058. --x)
  1059. # Obsolete; use --with-x.
  1060. with_x=yes ;;
  1061. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1062. | --x-incl | --x-inc | --x-in | --x-i)
  1063. ac_prev=x_includes ;;
  1064. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1065. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1066. x_includes=$ac_optarg ;;
  1067. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1068. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1069. ac_prev=x_libraries ;;
  1070. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1071. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1072. x_libraries=$ac_optarg ;;
  1073. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1074. Try \`$0 --help' for more information"
  1075. ;;
  1076. *=*)
  1077. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1078. # Reject names that are not valid shell variable names.
  1079. case $ac_envvar in #(
  1080. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1081. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1082. esac
  1083. eval $ac_envvar=\$ac_optarg
  1084. export $ac_envvar ;;
  1085. *)
  1086. # FIXME: should be removed in autoconf 3.0.
  1087. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1088. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1089. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1090. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1091. ;;
  1092. esac
  1093. done
  1094. if test -n "$ac_prev"; then
  1095. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1096. as_fn_error $? "missing argument to $ac_option"
  1097. fi
  1098. if test -n "$ac_unrecognized_opts"; then
  1099. case $enable_option_checking in
  1100. no) ;;
  1101. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1102. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1103. esac
  1104. fi
  1105. # Check all directory arguments for consistency.
  1106. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1107. datadir sysconfdir sharedstatedir localstatedir includedir \
  1108. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1109. libdir localedir mandir
  1110. do
  1111. eval ac_val=\$$ac_var
  1112. # Remove trailing slashes.
  1113. case $ac_val in
  1114. */ )
  1115. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1116. eval $ac_var=\$ac_val;;
  1117. esac
  1118. # Be sure to have absolute directory names.
  1119. case $ac_val in
  1120. [\\/$]* | ?:[\\/]* ) continue;;
  1121. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1122. esac
  1123. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1124. done
  1125. # There might be people who depend on the old broken behavior: `$host'
  1126. # used to hold the argument of --host etc.
  1127. # FIXME: To remove some day.
  1128. build=$build_alias
  1129. host=$host_alias
  1130. target=$target_alias
  1131. # FIXME: To remove some day.
  1132. if test "x$host_alias" != x; then
  1133. if test "x$build_alias" = x; then
  1134. cross_compiling=maybe
  1135. $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1136. If a cross compiler is detected then cross compile mode will be used" >&2
  1137. elif test "x$build_alias" != "x$host_alias"; then
  1138. cross_compiling=yes
  1139. fi
  1140. fi
  1141. ac_tool_prefix=
  1142. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1143. test "$silent" = yes && exec 6>/dev/null
  1144. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1145. ac_ls_di=`ls -di .` &&
  1146. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1147. as_fn_error $? "working directory cannot be determined"
  1148. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1149. as_fn_error $? "pwd does not report name of working directory"
  1150. # Find the source files, if location was not specified.
  1151. if test -z "$srcdir"; then
  1152. ac_srcdir_defaulted=yes
  1153. # Try the directory containing this script, then the parent directory.
  1154. ac_confdir=`$as_dirname -- "$as_myself" ||
  1155. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1156. X"$as_myself" : 'X\(//\)[^/]' \| \
  1157. X"$as_myself" : 'X\(//\)$' \| \
  1158. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1159. $as_echo X"$as_myself" |
  1160. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1161. s//\1/
  1162. q
  1163. }
  1164. /^X\(\/\/\)[^/].*/{
  1165. s//\1/
  1166. q
  1167. }
  1168. /^X\(\/\/\)$/{
  1169. s//\1/
  1170. q
  1171. }
  1172. /^X\(\/\).*/{
  1173. s//\1/
  1174. q
  1175. }
  1176. s/.*/./; q'`
  1177. srcdir=$ac_confdir
  1178. if test ! -r "$srcdir/$ac_unique_file"; then
  1179. srcdir=..
  1180. fi
  1181. else
  1182. ac_srcdir_defaulted=no
  1183. fi
  1184. if test ! -r "$srcdir/$ac_unique_file"; then
  1185. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1186. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1187. fi
  1188. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1189. ac_abs_confdir=`(
  1190. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1191. pwd)`
  1192. # When building in place, set srcdir=.
  1193. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1194. srcdir=.
  1195. fi
  1196. # Remove unnecessary trailing slashes from srcdir.
  1197. # Double slashes in file names in object file debugging info
  1198. # mess up M-x gdb in Emacs.
  1199. case $srcdir in
  1200. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1201. esac
  1202. for ac_var in $ac_precious_vars; do
  1203. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1204. eval ac_env_${ac_var}_value=\$${ac_var}
  1205. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1206. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1207. done
  1208. #
  1209. # Report the --help message.
  1210. #
  1211. if test "$ac_init_help" = "long"; then
  1212. # Omit some internal or obsolete options to make the list less imposing.
  1213. # This message is too long to be a string in the A/UX 3.1 sh.
  1214. cat <<_ACEOF
  1215. \`configure' configures libvorbis 1.3.3 to adapt to many kinds of systems.
  1216. Usage: $0 [OPTION]... [VAR=VALUE]...
  1217. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1218. VAR=VALUE. See below for descriptions of some of the useful variables.
  1219. Defaults for the options are specified in brackets.
  1220. Configuration:
  1221. -h, --help display this help and exit
  1222. --help=short display options specific to this package
  1223. --help=recursive display the short help of all the included packages
  1224. -V, --version display version information and exit
  1225. -q, --quiet, --silent do not print \`checking ...' messages
  1226. --cache-file=FILE cache test results in FILE [disabled]
  1227. -C, --config-cache alias for \`--cache-file=config.cache'
  1228. -n, --no-create do not create output files
  1229. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1230. Installation directories:
  1231. --prefix=PREFIX install architecture-independent files in PREFIX
  1232. [$ac_default_prefix]
  1233. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1234. [PREFIX]
  1235. By default, \`make install' will install all the files in
  1236. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1237. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1238. for instance \`--prefix=\$HOME'.
  1239. For better control, use the options below.
  1240. Fine tuning of the installation directories:
  1241. --bindir=DIR user executables [EPREFIX/bin]
  1242. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1243. --libexecdir=DIR program executables [EPREFIX/libexec]
  1244. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1245. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1246. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1247. --libdir=DIR object code libraries [EPREFIX/lib]
  1248. --includedir=DIR C header files [PREFIX/include]
  1249. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1250. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1251. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1252. --infodir=DIR info documentation [DATAROOTDIR/info]
  1253. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1254. --mandir=DIR man documentation [DATAROOTDIR/man]
  1255. --docdir=DIR documentation root [DATAROOTDIR/doc/libvorbis]
  1256. --htmldir=DIR html documentation [DOCDIR]
  1257. --dvidir=DIR dvi documentation [DOCDIR]
  1258. --pdfdir=DIR pdf documentation [DOCDIR]
  1259. --psdir=DIR ps documentation [DOCDIR]
  1260. _ACEOF
  1261. cat <<\_ACEOF
  1262. Program names:
  1263. --program-prefix=PREFIX prepend PREFIX to installed program names
  1264. --program-suffix=SUFFIX append SUFFIX to installed program names
  1265. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1266. System types:
  1267. --build=BUILD configure for building on BUILD [guessed]
  1268. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1269. --target=TARGET configure for building compilers for TARGET [HOST]
  1270. _ACEOF
  1271. fi
  1272. if test -n "$ac_init_help"; then
  1273. case $ac_init_help in
  1274. short | recursive ) echo "Configuration of libvorbis 1.3.3:";;
  1275. esac
  1276. cat <<\_ACEOF
  1277. Optional Features:
  1278. --disable-option-checking ignore unrecognized --enable/--with options
  1279. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1280. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1281. --enable-maintainer-mode enable make rules and dependencies not useful
  1282. (and sometimes confusing) to the casual installer
  1283. --disable-dependency-tracking speeds up one-time build
  1284. --enable-dependency-tracking do not reject slow dependency extractors
  1285. --enable-shared[=PKGS] build shared libraries [default=yes]
  1286. --enable-static[=PKGS] build static libraries [default=yes]
  1287. --enable-fast-install[=PKGS]
  1288. optimize for fast installation [default=yes]
  1289. --disable-libtool-lock avoid locking (might break parallel builds)
  1290. --enable-docs build the documentation
  1291. --enable-examples build the examples
  1292. --disable-oggtest Do not try to compile and run a test Ogg program
  1293. Optional Packages:
  1294. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1295. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1296. --with-pic try to use only PIC/non-PIC objects [default=use
  1297. both]
  1298. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1299. --with-sysroot=DIR Search for dependent libraries within DIR
  1300. (or the compiler's sysroot if not specified).
  1301. --with-ogg=PFX Prefix where libogg is installed (optional)
  1302. --with-ogg-libraries=DIR
  1303. Directory where libogg library is installed
  1304. (optional)
  1305. --with-ogg-includes=DIR Directory where libogg header files are installed
  1306. (optional)
  1307. Some influential environment variables:
  1308. CC C compiler command
  1309. CFLAGS C compiler flags
  1310. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1311. nonstandard directory <lib dir>
  1312. LIBS libraries to pass to the linker, e.g. -l<library>
  1313. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1314. you have headers in a nonstandard directory <include dir>
  1315. CPP C preprocessor
  1316. PKG_CONFIG path to pkg-config utility
  1317. OGG_CFLAGS C compiler flags for OGG, overriding pkg-config
  1318. OGG_LIBS linker flags for OGG, overriding pkg-config
  1319. Use these variables to override the choices made by `configure' or to help
  1320. it to find libraries and programs with nonstandard names/locations.
  1321. Report bugs to <[email protected]>.
  1322. _ACEOF
  1323. ac_status=$?
  1324. fi
  1325. if test "$ac_init_help" = "recursive"; then
  1326. # If there are subdirs, report their specific --help.
  1327. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1328. test -d "$ac_dir" ||
  1329. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1330. continue
  1331. ac_builddir=.
  1332. case "$ac_dir" in
  1333. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1334. *)
  1335. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1336. # A ".." for each directory in $ac_dir_suffix.
  1337. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1338. case $ac_top_builddir_sub in
  1339. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1340. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1341. esac ;;
  1342. esac
  1343. ac_abs_top_builddir=$ac_pwd
  1344. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1345. # for backward compatibility:
  1346. ac_top_builddir=$ac_top_build_prefix
  1347. case $srcdir in
  1348. .) # We are building in place.
  1349. ac_srcdir=.
  1350. ac_top_srcdir=$ac_top_builddir_sub
  1351. ac_abs_top_srcdir=$ac_pwd ;;
  1352. [\\/]* | ?:[\\/]* ) # Absolute name.
  1353. ac_srcdir=$srcdir$ac_dir_suffix;
  1354. ac_top_srcdir=$srcdir
  1355. ac_abs_top_srcdir=$srcdir ;;
  1356. *) # Relative name.
  1357. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1358. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1359. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1360. esac
  1361. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1362. cd "$ac_dir" || { ac_status=$?; continue; }
  1363. # Check for guested configure.
  1364. if test -f "$ac_srcdir/configure.gnu"; then
  1365. echo &&
  1366. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1367. elif test -f "$ac_srcdir/configure"; then
  1368. echo &&
  1369. $SHELL "$ac_srcdir/configure" --help=recursive
  1370. else
  1371. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1372. fi || ac_status=$?
  1373. cd "$ac_pwd" || { ac_status=$?; break; }
  1374. done
  1375. fi
  1376. test -n "$ac_init_help" && exit $ac_status
  1377. if $ac_init_version; then
  1378. cat <<\_ACEOF
  1379. libvorbis configure 1.3.3
  1380. generated by GNU Autoconf 2.68
  1381. Copyright (C) 2010 Free Software Foundation, Inc.
  1382. This configure script is free software; the Free Software Foundation
  1383. gives unlimited permission to copy, distribute and modify it.
  1384. _ACEOF
  1385. exit
  1386. fi
  1387. ## ------------------------ ##
  1388. ## Autoconf initialization. ##
  1389. ## ------------------------ ##
  1390. # ac_fn_c_try_compile LINENO
  1391. # --------------------------
  1392. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1393. ac_fn_c_try_compile ()
  1394. {
  1395. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1396. rm -f conftest.$ac_objext
  1397. if { { ac_try="$ac_compile"
  1398. case "(($ac_try" in
  1399. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1400. *) ac_try_echo=$ac_try;;
  1401. esac
  1402. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1403. $as_echo "$ac_try_echo"; } >&5
  1404. (eval "$ac_compile") 2>conftest.err
  1405. ac_status=$?
  1406. if test -s conftest.err; then
  1407. grep -v '^ *+' conftest.err >conftest.er1
  1408. cat conftest.er1 >&5
  1409. mv -f conftest.er1 conftest.err
  1410. fi
  1411. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1412. test $ac_status = 0; } && {
  1413. test -z "$ac_c_werror_flag" ||
  1414. test ! -s conftest.err
  1415. } && test -s conftest.$ac_objext; then :
  1416. ac_retval=0
  1417. else
  1418. $as_echo "$as_me: failed program was:" >&5
  1419. sed 's/^/| /' conftest.$ac_ext >&5
  1420. ac_retval=1
  1421. fi
  1422. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1423. as_fn_set_status $ac_retval
  1424. } # ac_fn_c_try_compile
  1425. # ac_fn_c_try_cpp LINENO
  1426. # ----------------------
  1427. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1428. ac_fn_c_try_cpp ()
  1429. {
  1430. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1431. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1432. case "(($ac_try" in
  1433. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1434. *) ac_try_echo=$ac_try;;
  1435. esac
  1436. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1437. $as_echo "$ac_try_echo"; } >&5
  1438. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1439. ac_status=$?
  1440. if test -s conftest.err; then
  1441. grep -v '^ *+' conftest.err >conftest.er1
  1442. cat conftest.er1 >&5
  1443. mv -f conftest.er1 conftest.err
  1444. fi
  1445. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1446. test $ac_status = 0; } > conftest.i && {
  1447. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1448. test ! -s conftest.err
  1449. }; then :
  1450. ac_retval=0
  1451. else
  1452. $as_echo "$as_me: failed program was:" >&5
  1453. sed 's/^/| /' conftest.$ac_ext >&5
  1454. ac_retval=1
  1455. fi
  1456. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1457. as_fn_set_status $ac_retval
  1458. } # ac_fn_c_try_cpp
  1459. # ac_fn_c_try_link LINENO
  1460. # -----------------------
  1461. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1462. ac_fn_c_try_link ()
  1463. {
  1464. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1465. rm -f conftest.$ac_objext conftest$ac_exeext
  1466. if { { ac_try="$ac_link"
  1467. case "(($ac_try" in
  1468. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1469. *) ac_try_echo=$ac_try;;
  1470. esac
  1471. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1472. $as_echo "$ac_try_echo"; } >&5
  1473. (eval "$ac_link") 2>conftest.err
  1474. ac_status=$?
  1475. if test -s conftest.err; then
  1476. grep -v '^ *+' conftest.err >conftest.er1
  1477. cat conftest.er1 >&5
  1478. mv -f conftest.er1 conftest.err
  1479. fi
  1480. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1481. test $ac_status = 0; } && {
  1482. test -z "$ac_c_werror_flag" ||
  1483. test ! -s conftest.err
  1484. } && test -s conftest$ac_exeext && {
  1485. test "$cross_compiling" = yes ||
  1486. $as_test_x conftest$ac_exeext
  1487. }; then :
  1488. ac_retval=0
  1489. else
  1490. $as_echo "$as_me: failed program was:" >&5
  1491. sed 's/^/| /' conftest.$ac_ext >&5
  1492. ac_retval=1
  1493. fi
  1494. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1495. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1496. # interfere with the next link command; also delete a directory that is
  1497. # left behind by Apple's compiler. We do this before executing the actions.
  1498. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1499. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1500. as_fn_set_status $ac_retval
  1501. } # ac_fn_c_try_link
  1502. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1503. # -------------------------------------------------------
  1504. # Tests whether HEADER exists and can be compiled using the include files in
  1505. # INCLUDES, setting the cache variable VAR accordingly.
  1506. ac_fn_c_check_header_compile ()
  1507. {
  1508. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1509. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1510. $as_echo_n "checking for $2... " >&6; }
  1511. if eval \${$3+:} false; then :
  1512. $as_echo_n "(cached) " >&6
  1513. else
  1514. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1515. /* end confdefs.h. */
  1516. $4
  1517. #include <$2>
  1518. _ACEOF
  1519. if ac_fn_c_try_compile "$LINENO"; then :
  1520. eval "$3=yes"
  1521. else
  1522. eval "$3=no"
  1523. fi
  1524. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1525. fi
  1526. eval ac_res=\$$3
  1527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1528. $as_echo "$ac_res" >&6; }
  1529. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1530. } # ac_fn_c_check_header_compile
  1531. # ac_fn_c_try_run LINENO
  1532. # ----------------------
  1533. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1534. # that executables *can* be run.
  1535. ac_fn_c_try_run ()
  1536. {
  1537. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1538. if { { ac_try="$ac_link"
  1539. case "(($ac_try" in
  1540. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1541. *) ac_try_echo=$ac_try;;
  1542. esac
  1543. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1544. $as_echo "$ac_try_echo"; } >&5
  1545. (eval "$ac_link") 2>&5
  1546. ac_status=$?
  1547. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1548. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1549. { { case "(($ac_try" in
  1550. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1551. *) ac_try_echo=$ac_try;;
  1552. esac
  1553. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1554. $as_echo "$ac_try_echo"; } >&5
  1555. (eval "$ac_try") 2>&5
  1556. ac_status=$?
  1557. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1558. test $ac_status = 0; }; }; then :
  1559. ac_retval=0
  1560. else
  1561. $as_echo "$as_me: program exited with status $ac_status" >&5
  1562. $as_echo "$as_me: failed program was:" >&5
  1563. sed 's/^/| /' conftest.$ac_ext >&5
  1564. ac_retval=$ac_status
  1565. fi
  1566. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1567. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1568. as_fn_set_status $ac_retval
  1569. } # ac_fn_c_try_run
  1570. # ac_fn_c_check_func LINENO FUNC VAR
  1571. # ----------------------------------
  1572. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1573. ac_fn_c_check_func ()
  1574. {
  1575. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1576. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1577. $as_echo_n "checking for $2... " >&6; }
  1578. if eval \${$3+:} false; then :
  1579. $as_echo_n "(cached) " >&6
  1580. else
  1581. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1582. /* end confdefs.h. */
  1583. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1584. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1585. #define $2 innocuous_$2
  1586. /* System header to define __stub macros and hopefully few prototypes,
  1587. which can conflict with char $2 (); below.
  1588. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1589. <limits.h> exists even on freestanding compilers. */
  1590. #ifdef __STDC__
  1591. # include <limits.h>
  1592. #else
  1593. # include <assert.h>
  1594. #endif
  1595. #undef $2
  1596. /* Override any GCC internal prototype to avoid an error.
  1597. Use char because int might match the return type of a GCC
  1598. builtin and then its argument prototype would still apply. */
  1599. #ifdef __cplusplus
  1600. extern "C"
  1601. #endif
  1602. char $2 ();
  1603. /* The GNU C library defines this for functions which it implements
  1604. to always fail with ENOSYS. Some functions are actually named
  1605. something starting with __ and the normal name is an alias. */
  1606. #if defined __stub_$2 || defined __stub___$2
  1607. choke me
  1608. #endif
  1609. int
  1610. main ()
  1611. {
  1612. return $2 ();
  1613. ;
  1614. return 0;
  1615. }
  1616. _ACEOF
  1617. if ac_fn_c_try_link "$LINENO"; then :
  1618. eval "$3=yes"
  1619. else
  1620. eval "$3=no"
  1621. fi
  1622. rm -f core conftest.err conftest.$ac_objext \
  1623. conftest$ac_exeext conftest.$ac_ext
  1624. fi
  1625. eval ac_res=\$$3
  1626. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1627. $as_echo "$ac_res" >&6; }
  1628. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1629. } # ac_fn_c_check_func
  1630. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1631. # -------------------------------------------------------
  1632. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1633. # the include files in INCLUDES and setting the cache variable VAR
  1634. # accordingly.
  1635. ac_fn_c_check_header_mongrel ()
  1636. {
  1637. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1638. if eval \${$3+:} false; then :
  1639. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1640. $as_echo_n "checking for $2... " >&6; }
  1641. if eval \${$3+:} false; then :
  1642. $as_echo_n "(cached) " >&6
  1643. fi
  1644. eval ac_res=\$$3
  1645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1646. $as_echo "$ac_res" >&6; }
  1647. else
  1648. # Is the header compilable?
  1649. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1650. $as_echo_n "checking $2 usability... " >&6; }
  1651. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1652. /* end confdefs.h. */
  1653. $4
  1654. #include <$2>
  1655. _ACEOF
  1656. if ac_fn_c_try_compile "$LINENO"; then :
  1657. ac_header_compiler=yes
  1658. else
  1659. ac_header_compiler=no
  1660. fi
  1661. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1663. $as_echo "$ac_header_compiler" >&6; }
  1664. # Is the header present?
  1665. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1666. $as_echo_n "checking $2 presence... " >&6; }
  1667. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1668. /* end confdefs.h. */
  1669. #include <$2>
  1670. _ACEOF
  1671. if ac_fn_c_try_cpp "$LINENO"; then :
  1672. ac_header_preproc=yes
  1673. else
  1674. ac_header_preproc=no
  1675. fi
  1676. rm -f conftest.err conftest.i conftest.$ac_ext
  1677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1678. $as_echo "$ac_header_preproc" >&6; }
  1679. # So? What about this header?
  1680. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1681. yes:no: )
  1682. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1683. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1684. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1685. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1686. ;;
  1687. no:yes:* )
  1688. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1689. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1690. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1691. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1692. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1693. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1694. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1695. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1696. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1697. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1698. ( $as_echo "## ---------------------------------- ##
  1699. ## Report this to [email protected] ##
  1700. ## ---------------------------------- ##"
  1701. ) | sed "s/^/$as_me: WARNING: /" >&2
  1702. ;;
  1703. esac
  1704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1705. $as_echo_n "checking for $2... " >&6; }
  1706. if eval \${$3+:} false; then :
  1707. $as_echo_n "(cached) " >&6
  1708. else
  1709. eval "$3=\$ac_header_compiler"
  1710. fi
  1711. eval ac_res=\$$3
  1712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1713. $as_echo "$ac_res" >&6; }
  1714. fi
  1715. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1716. } # ac_fn_c_check_header_mongrel
  1717. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1718. # -------------------------------------------
  1719. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1720. # variable VAR accordingly.
  1721. ac_fn_c_check_type ()
  1722. {
  1723. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1725. $as_echo_n "checking for $2... " >&6; }
  1726. if eval \${$3+:} false; then :
  1727. $as_echo_n "(cached) " >&6
  1728. else
  1729. eval "$3=no"
  1730. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1731. /* end confdefs.h. */
  1732. $4
  1733. int
  1734. main ()
  1735. {
  1736. if (sizeof ($2))
  1737. return 0;
  1738. ;
  1739. return 0;
  1740. }
  1741. _ACEOF
  1742. if ac_fn_c_try_compile "$LINENO"; then :
  1743. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1744. /* end confdefs.h. */
  1745. $4
  1746. int
  1747. main ()
  1748. {
  1749. if (sizeof (($2)))
  1750. return 0;
  1751. ;
  1752. return 0;
  1753. }
  1754. _ACEOF
  1755. if ac_fn_c_try_compile "$LINENO"; then :
  1756. else
  1757. eval "$3=yes"
  1758. fi
  1759. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1760. fi
  1761. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1762. fi
  1763. eval ac_res=\$$3
  1764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1765. $as_echo "$ac_res" >&6; }
  1766. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1767. } # ac_fn_c_check_type
  1768. cat >config.log <<_ACEOF
  1769. This file contains any messages produced by compilers while
  1770. running configure, to aid debugging if configure makes a mistake.
  1771. It was created by libvorbis $as_me 1.3.3, which was
  1772. generated by GNU Autoconf 2.68. Invocation command line was
  1773. $ $0 $@
  1774. _ACEOF
  1775. exec 5>>config.log
  1776. {
  1777. cat <<_ASUNAME
  1778. ## --------- ##
  1779. ## Platform. ##
  1780. ## --------- ##
  1781. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1782. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1783. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1784. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1785. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1786. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1787. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1788. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1789. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1790. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1791. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1792. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1793. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1794. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1795. _ASUNAME
  1796. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1797. for as_dir in $PATH
  1798. do
  1799. IFS=$as_save_IFS
  1800. test -z "$as_dir" && as_dir=.
  1801. $as_echo "PATH: $as_dir"
  1802. done
  1803. IFS=$as_save_IFS
  1804. } >&5
  1805. cat >&5 <<_ACEOF
  1806. ## ----------- ##
  1807. ## Core tests. ##
  1808. ## ----------- ##
  1809. _ACEOF
  1810. # Keep a trace of the command line.
  1811. # Strip out --no-create and --no-recursion so they do not pile up.
  1812. # Strip out --silent because we don't want to record it for future runs.
  1813. # Also quote any args containing shell meta-characters.
  1814. # Make two passes to allow for proper duplicate-argument suppression.
  1815. ac_configure_args=
  1816. ac_configure_args0=
  1817. ac_configure_args1=
  1818. ac_must_keep_next=false
  1819. for ac_pass in 1 2
  1820. do
  1821. for ac_arg
  1822. do
  1823. case $ac_arg in
  1824. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1825. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1826. | -silent | --silent | --silen | --sile | --sil)
  1827. continue ;;
  1828. *\'*)
  1829. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1830. esac
  1831. case $ac_pass in
  1832. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1833. 2)
  1834. as_fn_append ac_configure_args1 " '$ac_arg'"
  1835. if test $ac_must_keep_next = true; then
  1836. ac_must_keep_next=false # Got value, back to normal.
  1837. else
  1838. case $ac_arg in
  1839. *=* | --config-cache | -C | -disable-* | --disable-* \
  1840. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1841. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1842. | -with-* | --with-* | -without-* | --without-* | --x)
  1843. case "$ac_configure_args0 " in
  1844. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1845. esac
  1846. ;;
  1847. -* ) ac_must_keep_next=true ;;
  1848. esac
  1849. fi
  1850. as_fn_append ac_configure_args " '$ac_arg'"
  1851. ;;
  1852. esac
  1853. done
  1854. done
  1855. { ac_configure_args0=; unset ac_configure_args0;}
  1856. { ac_configure_args1=; unset ac_configure_args1;}
  1857. # When interrupted or exit'd, cleanup temporary files, and complete
  1858. # config.log. We remove comments because anyway the quotes in there
  1859. # would cause problems or look ugly.
  1860. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1861. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1862. trap 'exit_status=$?
  1863. # Save into config.log some information that might help in debugging.
  1864. {
  1865. echo
  1866. $as_echo "## ---------------- ##
  1867. ## Cache variables. ##
  1868. ## ---------------- ##"
  1869. echo
  1870. # The following way of writing the cache mishandles newlines in values,
  1871. (
  1872. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1873. eval ac_val=\$$ac_var
  1874. case $ac_val in #(
  1875. *${as_nl}*)
  1876. case $ac_var in #(
  1877. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1878. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1879. esac
  1880. case $ac_var in #(
  1881. _ | IFS | as_nl) ;; #(
  1882. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1883. *) { eval $ac_var=; unset $ac_var;} ;;
  1884. esac ;;
  1885. esac
  1886. done
  1887. (set) 2>&1 |
  1888. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1889. *${as_nl}ac_space=\ *)
  1890. sed -n \
  1891. "s/'\''/'\''\\\\'\'''\''/g;
  1892. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1893. ;; #(
  1894. *)
  1895. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1896. ;;
  1897. esac |
  1898. sort
  1899. )
  1900. echo
  1901. $as_echo "## ----------------- ##
  1902. ## Output variables. ##
  1903. ## ----------------- ##"
  1904. echo
  1905. for ac_var in $ac_subst_vars
  1906. do
  1907. eval ac_val=\$$ac_var
  1908. case $ac_val in
  1909. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1910. esac
  1911. $as_echo "$ac_var='\''$ac_val'\''"
  1912. done | sort
  1913. echo
  1914. if test -n "$ac_subst_files"; then
  1915. $as_echo "## ------------------- ##
  1916. ## File substitutions. ##
  1917. ## ------------------- ##"
  1918. echo
  1919. for ac_var in $ac_subst_files
  1920. do
  1921. eval ac_val=\$$ac_var
  1922. case $ac_val in
  1923. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1924. esac
  1925. $as_echo "$ac_var='\''$ac_val'\''"
  1926. done | sort
  1927. echo
  1928. fi
  1929. if test -s confdefs.h; then
  1930. $as_echo "## ----------- ##
  1931. ## confdefs.h. ##
  1932. ## ----------- ##"
  1933. echo
  1934. cat confdefs.h
  1935. echo
  1936. fi
  1937. test "$ac_signal" != 0 &&
  1938. $as_echo "$as_me: caught signal $ac_signal"
  1939. $as_echo "$as_me: exit $exit_status"
  1940. } >&5
  1941. rm -f core *.core core.conftest.* &&
  1942. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1943. exit $exit_status
  1944. ' 0
  1945. for ac_signal in 1 2 13 15; do
  1946. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1947. done
  1948. ac_signal=0
  1949. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1950. rm -f -r conftest* confdefs.h
  1951. $as_echo "/* confdefs.h */" > confdefs.h
  1952. # Predefined preprocessor variables.
  1953. cat >>confdefs.h <<_ACEOF
  1954. #define PACKAGE_NAME "$PACKAGE_NAME"
  1955. _ACEOF
  1956. cat >>confdefs.h <<_ACEOF
  1957. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1958. _ACEOF
  1959. cat >>confdefs.h <<_ACEOF
  1960. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1961. _ACEOF
  1962. cat >>confdefs.h <<_ACEOF
  1963. #define PACKAGE_STRING "$PACKAGE_STRING"
  1964. _ACEOF
  1965. cat >>confdefs.h <<_ACEOF
  1966. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1967. _ACEOF
  1968. cat >>confdefs.h <<_ACEOF
  1969. #define PACKAGE_URL "$PACKAGE_URL"
  1970. _ACEOF
  1971. # Let the site file select an alternate cache file if it wants to.
  1972. # Prefer an explicitly selected file to automatically selected ones.
  1973. ac_site_file1=NONE
  1974. ac_site_file2=NONE
  1975. if test -n "$CONFIG_SITE"; then
  1976. # We do not want a PATH search for config.site.
  1977. case $CONFIG_SITE in #((
  1978. -*) ac_site_file1=./$CONFIG_SITE;;
  1979. */*) ac_site_file1=$CONFIG_SITE;;
  1980. *) ac_site_file1=./$CONFIG_SITE;;
  1981. esac
  1982. elif test "x$prefix" != xNONE; then
  1983. ac_site_file1=$prefix/share/config.site
  1984. ac_site_file2=$prefix/etc/config.site
  1985. else
  1986. ac_site_file1=$ac_default_prefix/share/config.site
  1987. ac_site_file2=$ac_default_prefix/etc/config.site
  1988. fi
  1989. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1990. do
  1991. test "x$ac_site_file" = xNONE && continue
  1992. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1993. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1994. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1995. sed 's/^/| /' "$ac_site_file" >&5
  1996. . "$ac_site_file" \
  1997. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1998. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1999. as_fn_error $? "failed to load site script $ac_site_file
  2000. See \`config.log' for more details" "$LINENO" 5; }
  2001. fi
  2002. done
  2003. if test -r "$cache_file"; then
  2004. # Some versions of bash will fail to source /dev/null (special files
  2005. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2006. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2007. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2008. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2009. case $cache_file in
  2010. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2011. *) . "./$cache_file";;
  2012. esac
  2013. fi
  2014. else
  2015. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2016. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2017. >$cache_file
  2018. fi
  2019. # Check that the precious variables saved in the cache have kept the same
  2020. # value.
  2021. ac_cache_corrupted=false
  2022. for ac_var in $ac_precious_vars; do
  2023. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2024. eval ac_new_set=\$ac_env_${ac_var}_set
  2025. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2026. eval ac_new_val=\$ac_env_${ac_var}_value
  2027. case $ac_old_set,$ac_new_set in
  2028. set,)
  2029. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2030. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2031. ac_cache_corrupted=: ;;
  2032. ,set)
  2033. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2034. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2035. ac_cache_corrupted=: ;;
  2036. ,);;
  2037. *)
  2038. if test "x$ac_old_val" != "x$ac_new_val"; then
  2039. # differences in whitespace do not lead to failure.
  2040. ac_old_val_w=`echo x $ac_old_val`
  2041. ac_new_val_w=`echo x $ac_new_val`
  2042. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2043. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2044. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2045. ac_cache_corrupted=:
  2046. else
  2047. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2048. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2049. eval $ac_var=\$ac_old_val
  2050. fi
  2051. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2052. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2053. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2054. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2055. fi;;
  2056. esac
  2057. # Pass precious variables to config.status.
  2058. if test "$ac_new_set" = set; then
  2059. case $ac_new_val in
  2060. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2061. *) ac_arg=$ac_var=$ac_new_val ;;
  2062. esac
  2063. case " $ac_configure_args " in
  2064. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2065. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2066. esac
  2067. fi
  2068. done
  2069. if $ac_cache_corrupted; then
  2070. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2071. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2072. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2073. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2074. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2075. fi
  2076. ## -------------------- ##
  2077. ## Main body of script. ##
  2078. ## -------------------- ##
  2079. ac_ext=c
  2080. ac_cpp='$CPP $CPPFLAGS'
  2081. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2082. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2083. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2084. ac_aux_dir=
  2085. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2086. if test -f "$ac_dir/install-sh"; then
  2087. ac_aux_dir=$ac_dir
  2088. ac_install_sh="$ac_aux_dir/install-sh -c"
  2089. break
  2090. elif test -f "$ac_dir/install.sh"; then
  2091. ac_aux_dir=$ac_dir
  2092. ac_install_sh="$ac_aux_dir/install.sh -c"
  2093. break
  2094. elif test -f "$ac_dir/shtool"; then
  2095. ac_aux_dir=$ac_dir
  2096. ac_install_sh="$ac_aux_dir/shtool install -c"
  2097. break
  2098. fi
  2099. done
  2100. if test -z "$ac_aux_dir"; then
  2101. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2102. fi
  2103. # These three variables are undocumented and unsupported,
  2104. # and are intended to be withdrawn in a future Autoconf release.
  2105. # They can cause serious problems if a builder's source tree is in a directory
  2106. # whose full name contains unusual characters.
  2107. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2108. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2109. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2110. # Make sure we can run config.sub.
  2111. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2112. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2114. $as_echo_n "checking build system type... " >&6; }
  2115. if ${ac_cv_build+:} false; then :
  2116. $as_echo_n "(cached) " >&6
  2117. else
  2118. ac_build_alias=$build_alias
  2119. test "x$ac_build_alias" = x &&
  2120. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2121. test "x$ac_build_alias" = x &&
  2122. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2123. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2124. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2125. fi
  2126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2127. $as_echo "$ac_cv_build" >&6; }
  2128. case $ac_cv_build in
  2129. *-*-*) ;;
  2130. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2131. esac
  2132. build=$ac_cv_build
  2133. ac_save_IFS=$IFS; IFS='-'
  2134. set x $ac_cv_build
  2135. shift
  2136. build_cpu=$1
  2137. build_vendor=$2
  2138. shift; shift
  2139. # Remember, the first character of IFS is used to create $*,
  2140. # except with old shells:
  2141. build_os=$*
  2142. IFS=$ac_save_IFS
  2143. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2144. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2145. $as_echo_n "checking host system type... " >&6; }
  2146. if ${ac_cv_host+:} false; then :
  2147. $as_echo_n "(cached) " >&6
  2148. else
  2149. if test "x$host_alias" = x; then
  2150. ac_cv_host=$ac_cv_build
  2151. else
  2152. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2153. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2154. fi
  2155. fi
  2156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2157. $as_echo "$ac_cv_host" >&6; }
  2158. case $ac_cv_host in
  2159. *-*-*) ;;
  2160. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2161. esac
  2162. host=$ac_cv_host
  2163. ac_save_IFS=$IFS; IFS='-'
  2164. set x $ac_cv_host
  2165. shift
  2166. host_cpu=$1
  2167. host_vendor=$2
  2168. shift; shift
  2169. # Remember, the first character of IFS is used to create $*,
  2170. # except with old shells:
  2171. host_os=$*
  2172. IFS=$ac_save_IFS
  2173. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2174. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2175. $as_echo_n "checking target system type... " >&6; }
  2176. if ${ac_cv_target+:} false; then :
  2177. $as_echo_n "(cached) " >&6
  2178. else
  2179. if test "x$target_alias" = x; then
  2180. ac_cv_target=$ac_cv_host
  2181. else
  2182. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2183. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2184. fi
  2185. fi
  2186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2187. $as_echo "$ac_cv_target" >&6; }
  2188. case $ac_cv_target in
  2189. *-*-*) ;;
  2190. *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  2191. esac
  2192. target=$ac_cv_target
  2193. ac_save_IFS=$IFS; IFS='-'
  2194. set x $ac_cv_target
  2195. shift
  2196. target_cpu=$1
  2197. target_vendor=$2
  2198. shift; shift
  2199. # Remember, the first character of IFS is used to create $*,
  2200. # except with old shells:
  2201. target_os=$*
  2202. IFS=$ac_save_IFS
  2203. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2204. # The aliases save the names the user supplied, while $host etc.
  2205. # will get canonicalized.
  2206. test -n "$target_alias" &&
  2207. test "$program_prefix$program_suffix$program_transform_name" = \
  2208. NONENONEs,x,x, &&
  2209. program_prefix=${target_alias}-
  2210. am__api_version='1.11'
  2211. # Find a good install program. We prefer a C program (faster),
  2212. # so one script is as good as another. But avoid the broken or
  2213. # incompatible versions:
  2214. # SysV /etc/install, /usr/sbin/install
  2215. # SunOS /usr/etc/install
  2216. # IRIX /sbin/install
  2217. # AIX /bin/install
  2218. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2219. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2220. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2221. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2222. # OS/2's system install, which has a completely different semantic
  2223. # ./install, which can be erroneously created by make from ./install.sh.
  2224. # Reject install programs that cannot install multiple files.
  2225. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2226. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2227. if test -z "$INSTALL"; then
  2228. if ${ac_cv_path_install+:} false; then :
  2229. $as_echo_n "(cached) " >&6
  2230. else
  2231. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2232. for as_dir in $PATH
  2233. do
  2234. IFS=$as_save_IFS
  2235. test -z "$as_dir" && as_dir=.
  2236. # Account for people who put trailing slashes in PATH elements.
  2237. case $as_dir/ in #((
  2238. ./ | .// | /[cC]/* | \
  2239. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2240. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2241. /usr/ucb/* ) ;;
  2242. *)
  2243. # OSF1 and SCO ODT 3.0 have their own names for install.
  2244. # Don't use installbsd from OSF since it installs stuff as root
  2245. # by default.
  2246. for ac_prog in ginstall scoinst install; do
  2247. for ac_exec_ext in '' $ac_executable_extensions; do
  2248. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2249. if test $ac_prog = install &&
  2250. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2251. # AIX install. It has an incompatible calling convention.
  2252. :
  2253. elif test $ac_prog = install &&
  2254. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2255. # program-specific install script used by HP pwplus--don't use.
  2256. :
  2257. else
  2258. rm -rf conftest.one conftest.two conftest.dir
  2259. echo one > conftest.one
  2260. echo two > conftest.two
  2261. mkdir conftest.dir
  2262. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2263. test -s conftest.one && test -s conftest.two &&
  2264. test -s conftest.dir/conftest.one &&
  2265. test -s conftest.dir/conftest.two
  2266. then
  2267. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2268. break 3
  2269. fi
  2270. fi
  2271. fi
  2272. done
  2273. done
  2274. ;;
  2275. esac
  2276. done
  2277. IFS=$as_save_IFS
  2278. rm -rf conftest.one conftest.two conftest.dir
  2279. fi
  2280. if test "${ac_cv_path_install+set}" = set; then
  2281. INSTALL=$ac_cv_path_install
  2282. else
  2283. # As a last resort, use the slow shell script. Don't cache a
  2284. # value for INSTALL within a source directory, because that will
  2285. # break other packages using the cache if that directory is
  2286. # removed, or if the value is a relative name.
  2287. INSTALL=$ac_install_sh
  2288. fi
  2289. fi
  2290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2291. $as_echo "$INSTALL" >&6; }
  2292. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2293. # It thinks the first close brace ends the variable substitution.
  2294. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2295. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2296. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2297. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2298. $as_echo_n "checking whether build environment is sane... " >&6; }
  2299. # Just in case
  2300. sleep 1
  2301. echo timestamp > conftest.file
  2302. # Reject unsafe characters in $srcdir or the absolute working directory
  2303. # name. Accept space and tab only in the latter.
  2304. am_lf='
  2305. '
  2306. case `pwd` in
  2307. *[\\\"\#\$\&\'\`$am_lf]*)
  2308. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2309. esac
  2310. case $srcdir in
  2311. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2312. as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2313. esac
  2314. # Do `set' in a subshell so we don't clobber the current shell's
  2315. # arguments. Must try -L first in case configure is actually a
  2316. # symlink; some systems play weird games with the mod time of symlinks
  2317. # (eg FreeBSD returns the mod time of the symlink's containing
  2318. # directory).
  2319. if (
  2320. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2321. if test "$*" = "X"; then
  2322. # -L didn't work.
  2323. set X `ls -t "$srcdir/configure" conftest.file`
  2324. fi
  2325. rm -f conftest.file
  2326. if test "$*" != "X $srcdir/configure conftest.file" \
  2327. && test "$*" != "X conftest.file $srcdir/configure"; then
  2328. # If neither matched, then we have a broken ls. This can happen
  2329. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2330. # broken ls alias from the environment. This has actually
  2331. # happened. Such a system could not be considered "sane".
  2332. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2333. alias in your environment" "$LINENO" 5
  2334. fi
  2335. test "$2" = conftest.file
  2336. )
  2337. then
  2338. # Ok.
  2339. :
  2340. else
  2341. as_fn_error $? "newly created file is older than distributed files!
  2342. Check your system clock" "$LINENO" 5
  2343. fi
  2344. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2345. $as_echo "yes" >&6; }
  2346. test "$program_prefix" != NONE &&
  2347. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2348. # Use a double $ so make ignores it.
  2349. test "$program_suffix" != NONE &&
  2350. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2351. # Double any \ or $.
  2352. # By default was `s,x,x', remove it if useless.
  2353. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2354. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2355. # expand $ac_aux_dir to an absolute path
  2356. am_aux_dir=`cd $ac_aux_dir && pwd`
  2357. if test x"${MISSING+set}" != xset; then
  2358. case $am_aux_dir in
  2359. *\ * | *\ *)
  2360. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2361. *)
  2362. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2363. esac
  2364. fi
  2365. # Use eval to expand $SHELL
  2366. if eval "$MISSING --run true"; then
  2367. am_missing_run="$MISSING --run "
  2368. else
  2369. am_missing_run=
  2370. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2371. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2372. fi
  2373. if test x"${install_sh}" != xset; then
  2374. case $am_aux_dir in
  2375. *\ * | *\ *)
  2376. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2377. *)
  2378. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2379. esac
  2380. fi
  2381. # Installed binaries are usually stripped using `strip' when the user
  2382. # run `make install-strip'. However `strip' might not be the right
  2383. # tool to use in cross-compilation environments, therefore Automake
  2384. # will honor the `STRIP' environment variable to overrule this program.
  2385. if test "$cross_compiling" != no; then
  2386. if test -n "$ac_tool_prefix"; then
  2387. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2388. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2389. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2390. $as_echo_n "checking for $ac_word... " >&6; }
  2391. if ${ac_cv_prog_STRIP+:} false; then :
  2392. $as_echo_n "(cached) " >&6
  2393. else
  2394. if test -n "$STRIP"; then
  2395. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2396. else
  2397. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2398. for as_dir in $PATH
  2399. do
  2400. IFS=$as_save_IFS
  2401. test -z "$as_dir" && as_dir=.
  2402. for ac_exec_ext in '' $ac_executable_extensions; do
  2403. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2404. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2405. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2406. break 2
  2407. fi
  2408. done
  2409. done
  2410. IFS=$as_save_IFS
  2411. fi
  2412. fi
  2413. STRIP=$ac_cv_prog_STRIP
  2414. if test -n "$STRIP"; then
  2415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2416. $as_echo "$STRIP" >&6; }
  2417. else
  2418. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2419. $as_echo "no" >&6; }
  2420. fi
  2421. fi
  2422. if test -z "$ac_cv_prog_STRIP"; then
  2423. ac_ct_STRIP=$STRIP
  2424. # Extract the first word of "strip", so it can be a program name with args.
  2425. set dummy strip; ac_word=$2
  2426. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2427. $as_echo_n "checking for $ac_word... " >&6; }
  2428. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2429. $as_echo_n "(cached) " >&6
  2430. else
  2431. if test -n "$ac_ct_STRIP"; then
  2432. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2433. else
  2434. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2435. for as_dir in $PATH
  2436. do
  2437. IFS=$as_save_IFS
  2438. test -z "$as_dir" && as_dir=.
  2439. for ac_exec_ext in '' $ac_executable_extensions; do
  2440. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2441. ac_cv_prog_ac_ct_STRIP="strip"
  2442. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2443. break 2
  2444. fi
  2445. done
  2446. done
  2447. IFS=$as_save_IFS
  2448. fi
  2449. fi
  2450. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2451. if test -n "$ac_ct_STRIP"; then
  2452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2453. $as_echo "$ac_ct_STRIP" >&6; }
  2454. else
  2455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2456. $as_echo "no" >&6; }
  2457. fi
  2458. if test "x$ac_ct_STRIP" = x; then
  2459. STRIP=":"
  2460. else
  2461. case $cross_compiling:$ac_tool_warned in
  2462. yes:)
  2463. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2464. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2465. ac_tool_warned=yes ;;
  2466. esac
  2467. STRIP=$ac_ct_STRIP
  2468. fi
  2469. else
  2470. STRIP="$ac_cv_prog_STRIP"
  2471. fi
  2472. fi
  2473. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2475. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2476. if test -z "$MKDIR_P"; then
  2477. if ${ac_cv_path_mkdir+:} false; then :
  2478. $as_echo_n "(cached) " >&6
  2479. else
  2480. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2481. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2482. do
  2483. IFS=$as_save_IFS
  2484. test -z "$as_dir" && as_dir=.
  2485. for ac_prog in mkdir gmkdir; do
  2486. for ac_exec_ext in '' $ac_executable_extensions; do
  2487. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2488. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2489. 'mkdir (GNU coreutils) '* | \
  2490. 'mkdir (coreutils) '* | \
  2491. 'mkdir (fileutils) '4.1*)
  2492. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2493. break 3;;
  2494. esac
  2495. done
  2496. done
  2497. done
  2498. IFS=$as_save_IFS
  2499. fi
  2500. test -d ./--version && rmdir ./--version
  2501. if test "${ac_cv_path_mkdir+set}" = set; then
  2502. MKDIR_P="$ac_cv_path_mkdir -p"
  2503. else
  2504. # As a last resort, use the slow shell script. Don't cache a
  2505. # value for MKDIR_P within a source directory, because that will
  2506. # break other packages using the cache if that directory is
  2507. # removed, or if the value is a relative name.
  2508. MKDIR_P="$ac_install_sh -d"
  2509. fi
  2510. fi
  2511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2512. $as_echo "$MKDIR_P" >&6; }
  2513. mkdir_p="$MKDIR_P"
  2514. case $mkdir_p in
  2515. [\\/$]* | ?:[\\/]*) ;;
  2516. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2517. esac
  2518. for ac_prog in gawk mawk nawk awk
  2519. do
  2520. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2521. set dummy $ac_prog; ac_word=$2
  2522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2523. $as_echo_n "checking for $ac_word... " >&6; }
  2524. if ${ac_cv_prog_AWK+:} false; then :
  2525. $as_echo_n "(cached) " >&6
  2526. else
  2527. if test -n "$AWK"; then
  2528. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2529. else
  2530. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2531. for as_dir in $PATH
  2532. do
  2533. IFS=$as_save_IFS
  2534. test -z "$as_dir" && as_dir=.
  2535. for ac_exec_ext in '' $ac_executable_extensions; do
  2536. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2537. ac_cv_prog_AWK="$ac_prog"
  2538. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2539. break 2
  2540. fi
  2541. done
  2542. done
  2543. IFS=$as_save_IFS
  2544. fi
  2545. fi
  2546. AWK=$ac_cv_prog_AWK
  2547. if test -n "$AWK"; then
  2548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2549. $as_echo "$AWK" >&6; }
  2550. else
  2551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2552. $as_echo "no" >&6; }
  2553. fi
  2554. test -n "$AWK" && break
  2555. done
  2556. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2557. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2558. set x ${MAKE-make}
  2559. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2560. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2561. $as_echo_n "(cached) " >&6
  2562. else
  2563. cat >conftest.make <<\_ACEOF
  2564. SHELL = /bin/sh
  2565. all:
  2566. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2567. _ACEOF
  2568. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2569. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2570. *@@@%%%=?*=@@@%%%*)
  2571. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2572. *)
  2573. eval ac_cv_prog_make_${ac_make}_set=no;;
  2574. esac
  2575. rm -f conftest.make
  2576. fi
  2577. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2578. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2579. $as_echo "yes" >&6; }
  2580. SET_MAKE=
  2581. else
  2582. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2583. $as_echo "no" >&6; }
  2584. SET_MAKE="MAKE=${MAKE-make}"
  2585. fi
  2586. rm -rf .tst 2>/dev/null
  2587. mkdir .tst 2>/dev/null
  2588. if test -d .tst; then
  2589. am__leading_dot=.
  2590. else
  2591. am__leading_dot=_
  2592. fi
  2593. rmdir .tst 2>/dev/null
  2594. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2595. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2596. # is not polluted with repeated "-I."
  2597. am__isrc=' -I$(srcdir)'
  2598. # test to see if srcdir already configured
  2599. if test -f $srcdir/config.status; then
  2600. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2601. fi
  2602. fi
  2603. # test whether we have cygpath
  2604. if test -z "$CYGPATH_W"; then
  2605. if (cygpath --version) >/dev/null 2>/dev/null; then
  2606. CYGPATH_W='cygpath -w'
  2607. else
  2608. CYGPATH_W=echo
  2609. fi
  2610. fi
  2611. # Define the identity of the package.
  2612. PACKAGE=$PACKAGE_NAME
  2613. VERSION=$PACKAGE_VERSION
  2614. cat >>confdefs.h <<_ACEOF
  2615. #define PACKAGE "$PACKAGE"
  2616. _ACEOF
  2617. cat >>confdefs.h <<_ACEOF
  2618. #define VERSION "$VERSION"
  2619. _ACEOF
  2620. # Some tools Automake needs.
  2621. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2622. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2623. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2624. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2625. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2626. # We need awk for the "check" target. The system "awk" is bad on
  2627. # some platforms.
  2628. # Always define AMTAR for backward compatibility.
  2629. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2630. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2632. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2633. # Check whether --enable-maintainer-mode was given.
  2634. if test "${enable_maintainer_mode+set}" = set; then :
  2635. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2636. else
  2637. USE_MAINTAINER_MODE=no
  2638. fi
  2639. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  2640. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2641. if test $USE_MAINTAINER_MODE = yes; then
  2642. MAINTAINER_MODE_TRUE=
  2643. MAINTAINER_MODE_FALSE='#'
  2644. else
  2645. MAINTAINER_MODE_TRUE='#'
  2646. MAINTAINER_MODE_FALSE=
  2647. fi
  2648. MAINT=$MAINTAINER_MODE_TRUE
  2649. ac_config_headers="$ac_config_headers config.h"
  2650. ACLOCAL_AMFLAGS="-I m4"
  2651. V_LIB_CURRENT=4
  2652. V_LIB_REVISION=6
  2653. V_LIB_AGE=4
  2654. VF_LIB_CURRENT=6
  2655. VF_LIB_REVISION=5
  2656. VF_LIB_AGE=3
  2657. VE_LIB_CURRENT=2
  2658. VE_LIB_REVISION=9
  2659. VE_LIB_AGE=0
  2660. cflags_save="$CFLAGS"
  2661. ac_ext=c
  2662. ac_cpp='$CPP $CPPFLAGS'
  2663. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2664. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2665. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2666. if test -n "$ac_tool_prefix"; then
  2667. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2668. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2669. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2670. $as_echo_n "checking for $ac_word... " >&6; }
  2671. if ${ac_cv_prog_CC+:} false; then :
  2672. $as_echo_n "(cached) " >&6
  2673. else
  2674. if test -n "$CC"; then
  2675. ac_cv_prog_CC="$CC" # Let the user override the test.
  2676. else
  2677. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2678. for as_dir in $PATH
  2679. do
  2680. IFS=$as_save_IFS
  2681. test -z "$as_dir" && as_dir=.
  2682. for ac_exec_ext in '' $ac_executable_extensions; do
  2683. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2684. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2685. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2686. break 2
  2687. fi
  2688. done
  2689. done
  2690. IFS=$as_save_IFS
  2691. fi
  2692. fi
  2693. CC=$ac_cv_prog_CC
  2694. if test -n "$CC"; then
  2695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2696. $as_echo "$CC" >&6; }
  2697. else
  2698. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2699. $as_echo "no" >&6; }
  2700. fi
  2701. fi
  2702. if test -z "$ac_cv_prog_CC"; then
  2703. ac_ct_CC=$CC
  2704. # Extract the first word of "gcc", so it can be a program name with args.
  2705. set dummy gcc; ac_word=$2
  2706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2707. $as_echo_n "checking for $ac_word... " >&6; }
  2708. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2709. $as_echo_n "(cached) " >&6
  2710. else
  2711. if test -n "$ac_ct_CC"; then
  2712. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2713. else
  2714. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2715. for as_dir in $PATH
  2716. do
  2717. IFS=$as_save_IFS
  2718. test -z "$as_dir" && as_dir=.
  2719. for ac_exec_ext in '' $ac_executable_extensions; do
  2720. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2721. ac_cv_prog_ac_ct_CC="gcc"
  2722. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2723. break 2
  2724. fi
  2725. done
  2726. done
  2727. IFS=$as_save_IFS
  2728. fi
  2729. fi
  2730. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2731. if test -n "$ac_ct_CC"; then
  2732. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2733. $as_echo "$ac_ct_CC" >&6; }
  2734. else
  2735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2736. $as_echo "no" >&6; }
  2737. fi
  2738. if test "x$ac_ct_CC" = x; then
  2739. CC=""
  2740. else
  2741. case $cross_compiling:$ac_tool_warned in
  2742. yes:)
  2743. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2744. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2745. ac_tool_warned=yes ;;
  2746. esac
  2747. CC=$ac_ct_CC
  2748. fi
  2749. else
  2750. CC="$ac_cv_prog_CC"
  2751. fi
  2752. if test -z "$CC"; then
  2753. if test -n "$ac_tool_prefix"; then
  2754. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2755. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2756. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2757. $as_echo_n "checking for $ac_word... " >&6; }
  2758. if ${ac_cv_prog_CC+:} false; then :
  2759. $as_echo_n "(cached) " >&6
  2760. else
  2761. if test -n "$CC"; then
  2762. ac_cv_prog_CC="$CC" # Let the user override the test.
  2763. else
  2764. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2765. for as_dir in $PATH
  2766. do
  2767. IFS=$as_save_IFS
  2768. test -z "$as_dir" && as_dir=.
  2769. for ac_exec_ext in '' $ac_executable_extensions; do
  2770. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2771. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2772. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2773. break 2
  2774. fi
  2775. done
  2776. done
  2777. IFS=$as_save_IFS
  2778. fi
  2779. fi
  2780. CC=$ac_cv_prog_CC
  2781. if test -n "$CC"; then
  2782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2783. $as_echo "$CC" >&6; }
  2784. else
  2785. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2786. $as_echo "no" >&6; }
  2787. fi
  2788. fi
  2789. fi
  2790. if test -z "$CC"; then
  2791. # Extract the first word of "cc", so it can be a program name with args.
  2792. set dummy cc; ac_word=$2
  2793. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2794. $as_echo_n "checking for $ac_word... " >&6; }
  2795. if ${ac_cv_prog_CC+:} false; then :
  2796. $as_echo_n "(cached) " >&6
  2797. else
  2798. if test -n "$CC"; then
  2799. ac_cv_prog_CC="$CC" # Let the user override the test.
  2800. else
  2801. ac_prog_rejected=no
  2802. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2803. for as_dir in $PATH
  2804. do
  2805. IFS=$as_save_IFS
  2806. test -z "$as_dir" && as_dir=.
  2807. for ac_exec_ext in '' $ac_executable_extensions; do
  2808. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2809. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2810. ac_prog_rejected=yes
  2811. continue
  2812. fi
  2813. ac_cv_prog_CC="cc"
  2814. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2815. break 2
  2816. fi
  2817. done
  2818. done
  2819. IFS=$as_save_IFS
  2820. if test $ac_prog_rejected = yes; then
  2821. # We found a bogon in the path, so make sure we never use it.
  2822. set dummy $ac_cv_prog_CC
  2823. shift
  2824. if test $# != 0; then
  2825. # We chose a different compiler from the bogus one.
  2826. # However, it has the same basename, so the bogon will be chosen
  2827. # first if we set CC to just the basename; use the full file name.
  2828. shift
  2829. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2830. fi
  2831. fi
  2832. fi
  2833. fi
  2834. CC=$ac_cv_prog_CC
  2835. if test -n "$CC"; then
  2836. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2837. $as_echo "$CC" >&6; }
  2838. else
  2839. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2840. $as_echo "no" >&6; }
  2841. fi
  2842. fi
  2843. if test -z "$CC"; then
  2844. if test -n "$ac_tool_prefix"; then
  2845. for ac_prog in cl.exe
  2846. do
  2847. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2848. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2849. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2850. $as_echo_n "checking for $ac_word... " >&6; }
  2851. if ${ac_cv_prog_CC+:} false; then :
  2852. $as_echo_n "(cached) " >&6
  2853. else
  2854. if test -n "$CC"; then
  2855. ac_cv_prog_CC="$CC" # Let the user override the test.
  2856. else
  2857. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2858. for as_dir in $PATH
  2859. do
  2860. IFS=$as_save_IFS
  2861. test -z "$as_dir" && as_dir=.
  2862. for ac_exec_ext in '' $ac_executable_extensions; do
  2863. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2864. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2865. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2866. break 2
  2867. fi
  2868. done
  2869. done
  2870. IFS=$as_save_IFS
  2871. fi
  2872. fi
  2873. CC=$ac_cv_prog_CC
  2874. if test -n "$CC"; then
  2875. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2876. $as_echo "$CC" >&6; }
  2877. else
  2878. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2879. $as_echo "no" >&6; }
  2880. fi
  2881. test -n "$CC" && break
  2882. done
  2883. fi
  2884. if test -z "$CC"; then
  2885. ac_ct_CC=$CC
  2886. for ac_prog in cl.exe
  2887. do
  2888. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2889. set dummy $ac_prog; ac_word=$2
  2890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2891. $as_echo_n "checking for $ac_word... " >&6; }
  2892. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2893. $as_echo_n "(cached) " >&6
  2894. else
  2895. if test -n "$ac_ct_CC"; then
  2896. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2897. else
  2898. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2899. for as_dir in $PATH
  2900. do
  2901. IFS=$as_save_IFS
  2902. test -z "$as_dir" && as_dir=.
  2903. for ac_exec_ext in '' $ac_executable_extensions; do
  2904. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2905. ac_cv_prog_ac_ct_CC="$ac_prog"
  2906. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2907. break 2
  2908. fi
  2909. done
  2910. done
  2911. IFS=$as_save_IFS
  2912. fi
  2913. fi
  2914. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2915. if test -n "$ac_ct_CC"; then
  2916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2917. $as_echo "$ac_ct_CC" >&6; }
  2918. else
  2919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2920. $as_echo "no" >&6; }
  2921. fi
  2922. test -n "$ac_ct_CC" && break
  2923. done
  2924. if test "x$ac_ct_CC" = x; then
  2925. CC=""
  2926. else
  2927. case $cross_compiling:$ac_tool_warned in
  2928. yes:)
  2929. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2930. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2931. ac_tool_warned=yes ;;
  2932. esac
  2933. CC=$ac_ct_CC
  2934. fi
  2935. fi
  2936. fi
  2937. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2938. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2939. as_fn_error $? "no acceptable C compiler found in \$PATH
  2940. See \`config.log' for more details" "$LINENO" 5; }
  2941. # Provide some information about the compiler.
  2942. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2943. set X $ac_compile
  2944. ac_compiler=$2
  2945. for ac_option in --version -v -V -qversion; do
  2946. { { ac_try="$ac_compiler $ac_option >&5"
  2947. case "(($ac_try" in
  2948. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2949. *) ac_try_echo=$ac_try;;
  2950. esac
  2951. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2952. $as_echo "$ac_try_echo"; } >&5
  2953. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2954. ac_status=$?
  2955. if test -s conftest.err; then
  2956. sed '10a\
  2957. ... rest of stderr output deleted ...
  2958. 10q' conftest.err >conftest.er1
  2959. cat conftest.er1 >&5
  2960. fi
  2961. rm -f conftest.er1 conftest.err
  2962. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2963. test $ac_status = 0; }
  2964. done
  2965. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2966. /* end confdefs.h. */
  2967. int
  2968. main ()
  2969. {
  2970. ;
  2971. return 0;
  2972. }
  2973. _ACEOF
  2974. ac_clean_files_save=$ac_clean_files
  2975. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2976. # Try to create an executable without -o first, disregard a.out.
  2977. # It will help us diagnose broken compilers, and finding out an intuition
  2978. # of exeext.
  2979. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2980. $as_echo_n "checking whether the C compiler works... " >&6; }
  2981. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2982. # The possible output files:
  2983. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2984. ac_rmfiles=
  2985. for ac_file in $ac_files
  2986. do
  2987. case $ac_file in
  2988. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2989. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2990. esac
  2991. done
  2992. rm -f $ac_rmfiles
  2993. if { { ac_try="$ac_link_default"
  2994. case "(($ac_try" in
  2995. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2996. *) ac_try_echo=$ac_try;;
  2997. esac
  2998. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2999. $as_echo "$ac_try_echo"; } >&5
  3000. (eval "$ac_link_default") 2>&5
  3001. ac_status=$?
  3002. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3003. test $ac_status = 0; }; then :
  3004. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3005. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3006. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3007. # so that the user can short-circuit this test for compilers unknown to
  3008. # Autoconf.
  3009. for ac_file in $ac_files ''
  3010. do
  3011. test -f "$ac_file" || continue
  3012. case $ac_file in
  3013. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3014. ;;
  3015. [ab].out )
  3016. # We found the default executable, but exeext='' is most
  3017. # certainly right.
  3018. break;;
  3019. *.* )
  3020. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3021. then :; else
  3022. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3023. fi
  3024. # We set ac_cv_exeext here because the later test for it is not
  3025. # safe: cross compilers may not add the suffix if given an `-o'
  3026. # argument, so we may need to know it at that point already.
  3027. # Even if this section looks crufty: it has the advantage of
  3028. # actually working.
  3029. break;;
  3030. * )
  3031. break;;
  3032. esac
  3033. done
  3034. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3035. else
  3036. ac_file=''
  3037. fi
  3038. if test -z "$ac_file"; then :
  3039. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3040. $as_echo "no" >&6; }
  3041. $as_echo "$as_me: failed program was:" >&5
  3042. sed 's/^/| /' conftest.$ac_ext >&5
  3043. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3044. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3045. as_fn_error 77 "C compiler cannot create executables
  3046. See \`config.log' for more details" "$LINENO" 5; }
  3047. else
  3048. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3049. $as_echo "yes" >&6; }
  3050. fi
  3051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3052. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3054. $as_echo "$ac_file" >&6; }
  3055. ac_exeext=$ac_cv_exeext
  3056. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3057. ac_clean_files=$ac_clean_files_save
  3058. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3059. $as_echo_n "checking for suffix of executables... " >&6; }
  3060. if { { ac_try="$ac_link"
  3061. case "(($ac_try" in
  3062. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3063. *) ac_try_echo=$ac_try;;
  3064. esac
  3065. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3066. $as_echo "$ac_try_echo"; } >&5
  3067. (eval "$ac_link") 2>&5
  3068. ac_status=$?
  3069. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3070. test $ac_status = 0; }; then :
  3071. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3072. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3073. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3074. # `rm'.
  3075. for ac_file in conftest.exe conftest conftest.*; do
  3076. test -f "$ac_file" || continue
  3077. case $ac_file in
  3078. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3079. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3080. break;;
  3081. * ) break;;
  3082. esac
  3083. done
  3084. else
  3085. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3086. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3087. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3088. See \`config.log' for more details" "$LINENO" 5; }
  3089. fi
  3090. rm -f conftest conftest$ac_cv_exeext
  3091. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3092. $as_echo "$ac_cv_exeext" >&6; }
  3093. rm -f conftest.$ac_ext
  3094. EXEEXT=$ac_cv_exeext
  3095. ac_exeext=$EXEEXT
  3096. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3097. /* end confdefs.h. */
  3098. #include <stdio.h>
  3099. int
  3100. main ()
  3101. {
  3102. FILE *f = fopen ("conftest.out", "w");
  3103. return ferror (f) || fclose (f) != 0;
  3104. ;
  3105. return 0;
  3106. }
  3107. _ACEOF
  3108. ac_clean_files="$ac_clean_files conftest.out"
  3109. # Check that the compiler produces executables we can run. If not, either
  3110. # the compiler is broken, or we cross compile.
  3111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3112. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3113. if test "$cross_compiling" != yes; then
  3114. { { ac_try="$ac_link"
  3115. case "(($ac_try" in
  3116. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3117. *) ac_try_echo=$ac_try;;
  3118. esac
  3119. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3120. $as_echo "$ac_try_echo"; } >&5
  3121. (eval "$ac_link") 2>&5
  3122. ac_status=$?
  3123. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3124. test $ac_status = 0; }
  3125. if { ac_try='./conftest$ac_cv_exeext'
  3126. { { case "(($ac_try" in
  3127. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3128. *) ac_try_echo=$ac_try;;
  3129. esac
  3130. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3131. $as_echo "$ac_try_echo"; } >&5
  3132. (eval "$ac_try") 2>&5
  3133. ac_status=$?
  3134. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3135. test $ac_status = 0; }; }; then
  3136. cross_compiling=no
  3137. else
  3138. if test "$cross_compiling" = maybe; then
  3139. cross_compiling=yes
  3140. else
  3141. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3142. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3143. as_fn_error $? "cannot run C compiled programs.
  3144. If you meant to cross compile, use \`--host'.
  3145. See \`config.log' for more details" "$LINENO" 5; }
  3146. fi
  3147. fi
  3148. fi
  3149. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3150. $as_echo "$cross_compiling" >&6; }
  3151. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3152. ac_clean_files=$ac_clean_files_save
  3153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3154. $as_echo_n "checking for suffix of object files... " >&6; }
  3155. if ${ac_cv_objext+:} false; then :
  3156. $as_echo_n "(cached) " >&6
  3157. else
  3158. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3159. /* end confdefs.h. */
  3160. int
  3161. main ()
  3162. {
  3163. ;
  3164. return 0;
  3165. }
  3166. _ACEOF
  3167. rm -f conftest.o conftest.obj
  3168. if { { ac_try="$ac_compile"
  3169. case "(($ac_try" in
  3170. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3171. *) ac_try_echo=$ac_try;;
  3172. esac
  3173. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3174. $as_echo "$ac_try_echo"; } >&5
  3175. (eval "$ac_compile") 2>&5
  3176. ac_status=$?
  3177. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3178. test $ac_status = 0; }; then :
  3179. for ac_file in conftest.o conftest.obj conftest.*; do
  3180. test -f "$ac_file" || continue;
  3181. case $ac_file in
  3182. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3183. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3184. break;;
  3185. esac
  3186. done
  3187. else
  3188. $as_echo "$as_me: failed program was:" >&5
  3189. sed 's/^/| /' conftest.$ac_ext >&5
  3190. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3191. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3192. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3193. See \`config.log' for more details" "$LINENO" 5; }
  3194. fi
  3195. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3196. fi
  3197. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3198. $as_echo "$ac_cv_objext" >&6; }
  3199. OBJEXT=$ac_cv_objext
  3200. ac_objext=$OBJEXT
  3201. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3202. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3203. if ${ac_cv_c_compiler_gnu+:} false; then :
  3204. $as_echo_n "(cached) " >&6
  3205. else
  3206. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3207. /* end confdefs.h. */
  3208. int
  3209. main ()
  3210. {
  3211. #ifndef __GNUC__
  3212. choke me
  3213. #endif
  3214. ;
  3215. return 0;
  3216. }
  3217. _ACEOF
  3218. if ac_fn_c_try_compile "$LINENO"; then :
  3219. ac_compiler_gnu=yes
  3220. else
  3221. ac_compiler_gnu=no
  3222. fi
  3223. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3224. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3225. fi
  3226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3227. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3228. if test $ac_compiler_gnu = yes; then
  3229. GCC=yes
  3230. else
  3231. GCC=
  3232. fi
  3233. ac_test_CFLAGS=${CFLAGS+set}
  3234. ac_save_CFLAGS=$CFLAGS
  3235. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3236. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3237. if ${ac_cv_prog_cc_g+:} false; then :
  3238. $as_echo_n "(cached) " >&6
  3239. else
  3240. ac_save_c_werror_flag=$ac_c_werror_flag
  3241. ac_c_werror_flag=yes
  3242. ac_cv_prog_cc_g=no
  3243. CFLAGS="-g"
  3244. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3245. /* end confdefs.h. */
  3246. int
  3247. main ()
  3248. {
  3249. ;
  3250. return 0;
  3251. }
  3252. _ACEOF
  3253. if ac_fn_c_try_compile "$LINENO"; then :
  3254. ac_cv_prog_cc_g=yes
  3255. else
  3256. CFLAGS=""
  3257. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3258. /* end confdefs.h. */
  3259. int
  3260. main ()
  3261. {
  3262. ;
  3263. return 0;
  3264. }
  3265. _ACEOF
  3266. if ac_fn_c_try_compile "$LINENO"; then :
  3267. else
  3268. ac_c_werror_flag=$ac_save_c_werror_flag
  3269. CFLAGS="-g"
  3270. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3271. /* end confdefs.h. */
  3272. int
  3273. main ()
  3274. {
  3275. ;
  3276. return 0;
  3277. }
  3278. _ACEOF
  3279. if ac_fn_c_try_compile "$LINENO"; then :
  3280. ac_cv_prog_cc_g=yes
  3281. fi
  3282. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3283. fi
  3284. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3285. fi
  3286. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3287. ac_c_werror_flag=$ac_save_c_werror_flag
  3288. fi
  3289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3290. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3291. if test "$ac_test_CFLAGS" = set; then
  3292. CFLAGS=$ac_save_CFLAGS
  3293. elif test $ac_cv_prog_cc_g = yes; then
  3294. if test "$GCC" = yes; then
  3295. CFLAGS="-g -O2"
  3296. else
  3297. CFLAGS="-g"
  3298. fi
  3299. else
  3300. if test "$GCC" = yes; then
  3301. CFLAGS="-O2"
  3302. else
  3303. CFLAGS=
  3304. fi
  3305. fi
  3306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3307. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3308. if ${ac_cv_prog_cc_c89+:} false; then :
  3309. $as_echo_n "(cached) " >&6
  3310. else
  3311. ac_cv_prog_cc_c89=no
  3312. ac_save_CC=$CC
  3313. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3314. /* end confdefs.h. */
  3315. #include <stdarg.h>
  3316. #include <stdio.h>
  3317. #include <sys/types.h>
  3318. #include <sys/stat.h>
  3319. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3320. struct buf { int x; };
  3321. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3322. static char *e (p, i)
  3323. char **p;
  3324. int i;
  3325. {
  3326. return p[i];
  3327. }
  3328. static char *f (char * (*g) (char **, int), char **p, ...)
  3329. {
  3330. char *s;
  3331. va_list v;
  3332. va_start (v,p);
  3333. s = g (p, va_arg (v,int));
  3334. va_end (v);
  3335. return s;
  3336. }
  3337. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3338. function prototypes and stuff, but not '\xHH' hex character constants.
  3339. These don't provoke an error unfortunately, instead are silently treated
  3340. as 'x'. The following induces an error, until -std is added to get
  3341. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3342. array size at least. It's necessary to write '\x00'==0 to get something
  3343. that's true only with -std. */
  3344. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3345. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3346. inside strings and character constants. */
  3347. #define FOO(x) 'x'
  3348. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3349. int test (int i, double x);
  3350. struct s1 {int (*f) (int a);};
  3351. struct s2 {int (*f) (double a);};
  3352. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3353. int argc;
  3354. char **argv;
  3355. int
  3356. main ()
  3357. {
  3358. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3359. ;
  3360. return 0;
  3361. }
  3362. _ACEOF
  3363. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3364. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3365. do
  3366. CC="$ac_save_CC $ac_arg"
  3367. if ac_fn_c_try_compile "$LINENO"; then :
  3368. ac_cv_prog_cc_c89=$ac_arg
  3369. fi
  3370. rm -f core conftest.err conftest.$ac_objext
  3371. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3372. done
  3373. rm -f conftest.$ac_ext
  3374. CC=$ac_save_CC
  3375. fi
  3376. # AC_CACHE_VAL
  3377. case "x$ac_cv_prog_cc_c89" in
  3378. x)
  3379. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3380. $as_echo "none needed" >&6; } ;;
  3381. xno)
  3382. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3383. $as_echo "unsupported" >&6; } ;;
  3384. *)
  3385. CC="$CC $ac_cv_prog_cc_c89"
  3386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3387. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3388. esac
  3389. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3390. fi
  3391. ac_ext=c
  3392. ac_cpp='$CPP $CPPFLAGS'
  3393. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3394. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3395. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3396. DEPDIR="${am__leading_dot}deps"
  3397. ac_config_commands="$ac_config_commands depfiles"
  3398. am_make=${MAKE-make}
  3399. cat > confinc << 'END'
  3400. am__doit:
  3401. @echo this is the am__doit target
  3402. .PHONY: am__doit
  3403. END
  3404. # If we don't find an include directive, just comment out the code.
  3405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3406. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3407. am__include="#"
  3408. am__quote=
  3409. _am_result=none
  3410. # First try GNU make style include.
  3411. echo "include confinc" > confmf
  3412. # Ignore all kinds of additional output from `make'.
  3413. case `$am_make -s -f confmf 2> /dev/null` in #(
  3414. *the\ am__doit\ target*)
  3415. am__include=include
  3416. am__quote=
  3417. _am_result=GNU
  3418. ;;
  3419. esac
  3420. # Now try BSD make style include.
  3421. if test "$am__include" = "#"; then
  3422. echo '.include "confinc"' > confmf
  3423. case `$am_make -s -f confmf 2> /dev/null` in #(
  3424. *the\ am__doit\ target*)
  3425. am__include=.include
  3426. am__quote="\""
  3427. _am_result=BSD
  3428. ;;
  3429. esac
  3430. fi
  3431. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3432. $as_echo "$_am_result" >&6; }
  3433. rm -f confinc confmf
  3434. # Check whether --enable-dependency-tracking was given.
  3435. if test "${enable_dependency_tracking+set}" = set; then :
  3436. enableval=$enable_dependency_tracking;
  3437. fi
  3438. if test "x$enable_dependency_tracking" != xno; then
  3439. am_depcomp="$ac_aux_dir/depcomp"
  3440. AMDEPBACKSLASH='\'
  3441. fi
  3442. if test "x$enable_dependency_tracking" != xno; then
  3443. AMDEP_TRUE=
  3444. AMDEP_FALSE='#'
  3445. else
  3446. AMDEP_TRUE='#'
  3447. AMDEP_FALSE=
  3448. fi
  3449. depcc="$CC" am_compiler_list=
  3450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3451. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3452. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3453. $as_echo_n "(cached) " >&6
  3454. else
  3455. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3456. # We make a subdir and do the tests there. Otherwise we can end up
  3457. # making bogus files that we don't know about and never remove. For
  3458. # instance it was reported that on HP-UX the gcc test will end up
  3459. # making a dummy file named `D' -- because `-MD' means `put the output
  3460. # in D'.
  3461. mkdir conftest.dir
  3462. # Copy depcomp to subdir because otherwise we won't find it if we're
  3463. # using a relative directory.
  3464. cp "$am_depcomp" conftest.dir
  3465. cd conftest.dir
  3466. # We will build objects and dependencies in a subdirectory because
  3467. # it helps to detect inapplicable dependency modes. For instance
  3468. # both Tru64's cc and ICC support -MD to output dependencies as a
  3469. # side effect of compilation, but ICC will put the dependencies in
  3470. # the current directory while Tru64 will put them in the object
  3471. # directory.
  3472. mkdir sub
  3473. am_cv_CC_dependencies_compiler_type=none
  3474. if test "$am_compiler_list" = ""; then
  3475. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3476. fi
  3477. am__universal=false
  3478. case " $depcc " in #(
  3479. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3480. esac
  3481. for depmode in $am_compiler_list; do
  3482. # Setup a source with many dependencies, because some compilers
  3483. # like to wrap large dependency lists on column 80 (with \), and
  3484. # we should not choose a depcomp mode which is confused by this.
  3485. #
  3486. # We need to recreate these files for each test, as the compiler may
  3487. # overwrite some of them when testing with obscure command lines.
  3488. # This happens at least with the AIX C compiler.
  3489. : > sub/conftest.c
  3490. for i in 1 2 3 4 5 6; do
  3491. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3492. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3493. # Solaris 8's {/usr,}/bin/sh.
  3494. touch sub/conftst$i.h
  3495. done
  3496. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3497. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3498. # mode. It turns out that the SunPro C++ compiler does not properly
  3499. # handle `-M -o', and we need to detect this. Also, some Intel
  3500. # versions had trouble with output in subdirs
  3501. am__obj=sub/conftest.${OBJEXT-o}
  3502. am__minus_obj="-o $am__obj"
  3503. case $depmode in
  3504. gcc)
  3505. # This depmode causes a compiler race in universal mode.
  3506. test "$am__universal" = false || continue
  3507. ;;
  3508. nosideeffect)
  3509. # after this tag, mechanisms are not by side-effect, so they'll
  3510. # only be used when explicitly requested
  3511. if test "x$enable_dependency_tracking" = xyes; then
  3512. continue
  3513. else
  3514. break
  3515. fi
  3516. ;;
  3517. msvisualcpp | msvcmsys)
  3518. # This compiler won't grok `-c -o', but also, the minuso test has
  3519. # not run yet. These depmodes are late enough in the game, and
  3520. # so weak that their functioning should not be impacted.
  3521. am__obj=conftest.${OBJEXT-o}
  3522. am__minus_obj=
  3523. ;;
  3524. none) break ;;
  3525. esac
  3526. if depmode=$depmode \
  3527. source=sub/conftest.c object=$am__obj \
  3528. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3529. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3530. >/dev/null 2>conftest.err &&
  3531. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3532. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3533. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3534. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3535. # icc doesn't choke on unknown options, it will just issue warnings
  3536. # or remarks (even with -Werror). So we grep stderr for any message
  3537. # that says an option was ignored or not supported.
  3538. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3539. # icc: Command line warning: ignoring option '-M'; no argument required
  3540. # The diagnosis changed in icc 8.0:
  3541. # icc: Command line remark: option '-MP' not supported
  3542. if (grep 'ignoring option' conftest.err ||
  3543. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3544. am_cv_CC_dependencies_compiler_type=$depmode
  3545. break
  3546. fi
  3547. fi
  3548. done
  3549. cd ..
  3550. rm -rf conftest.dir
  3551. else
  3552. am_cv_CC_dependencies_compiler_type=none
  3553. fi
  3554. fi
  3555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3556. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3557. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3558. if
  3559. test "x$enable_dependency_tracking" != xno \
  3560. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3561. am__fastdepCC_TRUE=
  3562. am__fastdepCC_FALSE='#'
  3563. else
  3564. am__fastdepCC_TRUE='#'
  3565. am__fastdepCC_FALSE=
  3566. fi
  3567. ac_ext=c
  3568. ac_cpp='$CPP $CPPFLAGS'
  3569. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3570. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3571. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3572. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3573. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3574. # On Suns, sometimes $CPP names a directory.
  3575. if test -n "$CPP" && test -d "$CPP"; then
  3576. CPP=
  3577. fi
  3578. if test -z "$CPP"; then
  3579. if ${ac_cv_prog_CPP+:} false; then :
  3580. $as_echo_n "(cached) " >&6
  3581. else
  3582. # Double quotes because CPP needs to be expanded
  3583. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3584. do
  3585. ac_preproc_ok=false
  3586. for ac_c_preproc_warn_flag in '' yes
  3587. do
  3588. # Use a header file that comes with gcc, so configuring glibc
  3589. # with a fresh cross-compiler works.
  3590. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3591. # <limits.h> exists even on freestanding compilers.
  3592. # On the NeXT, cc -E runs the code through the compiler's parser,
  3593. # not just through cpp. "Syntax error" is here to catch this case.
  3594. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3595. /* end confdefs.h. */
  3596. #ifdef __STDC__
  3597. # include <limits.h>
  3598. #else
  3599. # include <assert.h>
  3600. #endif
  3601. Syntax error
  3602. _ACEOF
  3603. if ac_fn_c_try_cpp "$LINENO"; then :
  3604. else
  3605. # Broken: fails on valid input.
  3606. continue
  3607. fi
  3608. rm -f conftest.err conftest.i conftest.$ac_ext
  3609. # OK, works on sane cases. Now check whether nonexistent headers
  3610. # can be detected and how.
  3611. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3612. /* end confdefs.h. */
  3613. #include <ac_nonexistent.h>
  3614. _ACEOF
  3615. if ac_fn_c_try_cpp "$LINENO"; then :
  3616. # Broken: success on invalid input.
  3617. continue
  3618. else
  3619. # Passes both tests.
  3620. ac_preproc_ok=:
  3621. break
  3622. fi
  3623. rm -f conftest.err conftest.i conftest.$ac_ext
  3624. done
  3625. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3626. rm -f conftest.i conftest.err conftest.$ac_ext
  3627. if $ac_preproc_ok; then :
  3628. break
  3629. fi
  3630. done
  3631. ac_cv_prog_CPP=$CPP
  3632. fi
  3633. CPP=$ac_cv_prog_CPP
  3634. else
  3635. ac_cv_prog_CPP=$CPP
  3636. fi
  3637. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3638. $as_echo "$CPP" >&6; }
  3639. ac_preproc_ok=false
  3640. for ac_c_preproc_warn_flag in '' yes
  3641. do
  3642. # Use a header file that comes with gcc, so configuring glibc
  3643. # with a fresh cross-compiler works.
  3644. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3645. # <limits.h> exists even on freestanding compilers.
  3646. # On the NeXT, cc -E runs the code through the compiler's parser,
  3647. # not just through cpp. "Syntax error" is here to catch this case.
  3648. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3649. /* end confdefs.h. */
  3650. #ifdef __STDC__
  3651. # include <limits.h>
  3652. #else
  3653. # include <assert.h>
  3654. #endif
  3655. Syntax error
  3656. _ACEOF
  3657. if ac_fn_c_try_cpp "$LINENO"; then :
  3658. else
  3659. # Broken: fails on valid input.
  3660. continue
  3661. fi
  3662. rm -f conftest.err conftest.i conftest.$ac_ext
  3663. # OK, works on sane cases. Now check whether nonexistent headers
  3664. # can be detected and how.
  3665. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3666. /* end confdefs.h. */
  3667. #include <ac_nonexistent.h>
  3668. _ACEOF
  3669. if ac_fn_c_try_cpp "$LINENO"; then :
  3670. # Broken: success on invalid input.
  3671. continue
  3672. else
  3673. # Passes both tests.
  3674. ac_preproc_ok=:
  3675. break
  3676. fi
  3677. rm -f conftest.err conftest.i conftest.$ac_ext
  3678. done
  3679. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3680. rm -f conftest.i conftest.err conftest.$ac_ext
  3681. if $ac_preproc_ok; then :
  3682. else
  3683. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3684. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3685. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  3686. See \`config.log' for more details" "$LINENO" 5; }
  3687. fi
  3688. ac_ext=c
  3689. ac_cpp='$CPP $CPPFLAGS'
  3690. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3691. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3692. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3693. CFLAGS="$cflags_save"
  3694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  3695. $as_echo_n "checking for inline... " >&6; }
  3696. if ${ac_cv_c_inline+:} false; then :
  3697. $as_echo_n "(cached) " >&6
  3698. else
  3699. ac_cv_c_inline=no
  3700. for ac_kw in inline __inline__ __inline; do
  3701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3702. /* end confdefs.h. */
  3703. #ifndef __cplusplus
  3704. typedef int foo_t;
  3705. static $ac_kw foo_t static_foo () {return 0; }
  3706. $ac_kw foo_t foo () {return 0; }
  3707. #endif
  3708. _ACEOF
  3709. if ac_fn_c_try_compile "$LINENO"; then :
  3710. ac_cv_c_inline=$ac_kw
  3711. fi
  3712. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3713. test "$ac_cv_c_inline" != no && break
  3714. done
  3715. fi
  3716. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  3717. $as_echo "$ac_cv_c_inline" >&6; }
  3718. case $ac_cv_c_inline in
  3719. inline | yes) ;;
  3720. *)
  3721. case $ac_cv_c_inline in
  3722. no) ac_val=;;
  3723. *) ac_val=$ac_cv_c_inline;;
  3724. esac
  3725. cat >>confdefs.h <<_ACEOF
  3726. #ifndef __cplusplus
  3727. #define inline $ac_val
  3728. #endif
  3729. _ACEOF
  3730. ;;
  3731. esac
  3732. enable_win32_dll=yes
  3733. case $host in
  3734. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  3735. if test -n "$ac_tool_prefix"; then
  3736. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  3737. set dummy ${ac_tool_prefix}as; ac_word=$2
  3738. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3739. $as_echo_n "checking for $ac_word... " >&6; }
  3740. if ${ac_cv_prog_AS+:} false; then :
  3741. $as_echo_n "(cached) " >&6
  3742. else
  3743. if test -n "$AS"; then
  3744. ac_cv_prog_AS="$AS" # Let the user override the test.
  3745. else
  3746. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3747. for as_dir in $PATH
  3748. do
  3749. IFS=$as_save_IFS
  3750. test -z "$as_dir" && as_dir=.
  3751. for ac_exec_ext in '' $ac_executable_extensions; do
  3752. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3753. ac_cv_prog_AS="${ac_tool_prefix}as"
  3754. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3755. break 2
  3756. fi
  3757. done
  3758. done
  3759. IFS=$as_save_IFS
  3760. fi
  3761. fi
  3762. AS=$ac_cv_prog_AS
  3763. if test -n "$AS"; then
  3764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  3765. $as_echo "$AS" >&6; }
  3766. else
  3767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3768. $as_echo "no" >&6; }
  3769. fi
  3770. fi
  3771. if test -z "$ac_cv_prog_AS"; then
  3772. ac_ct_AS=$AS
  3773. # Extract the first word of "as", so it can be a program name with args.
  3774. set dummy as; ac_word=$2
  3775. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3776. $as_echo_n "checking for $ac_word... " >&6; }
  3777. if ${ac_cv_prog_ac_ct_AS+:} false; then :
  3778. $as_echo_n "(cached) " >&6
  3779. else
  3780. if test -n "$ac_ct_AS"; then
  3781. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  3782. else
  3783. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3784. for as_dir in $PATH
  3785. do
  3786. IFS=$as_save_IFS
  3787. test -z "$as_dir" && as_dir=.
  3788. for ac_exec_ext in '' $ac_executable_extensions; do
  3789. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3790. ac_cv_prog_ac_ct_AS="as"
  3791. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3792. break 2
  3793. fi
  3794. done
  3795. done
  3796. IFS=$as_save_IFS
  3797. fi
  3798. fi
  3799. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  3800. if test -n "$ac_ct_AS"; then
  3801. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  3802. $as_echo "$ac_ct_AS" >&6; }
  3803. else
  3804. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3805. $as_echo "no" >&6; }
  3806. fi
  3807. if test "x$ac_ct_AS" = x; then
  3808. AS="false"
  3809. else
  3810. case $cross_compiling:$ac_tool_warned in
  3811. yes:)
  3812. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3813. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3814. ac_tool_warned=yes ;;
  3815. esac
  3816. AS=$ac_ct_AS
  3817. fi
  3818. else
  3819. AS="$ac_cv_prog_AS"
  3820. fi
  3821. if test -n "$ac_tool_prefix"; then
  3822. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  3823. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  3824. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3825. $as_echo_n "checking for $ac_word... " >&6; }
  3826. if ${ac_cv_prog_DLLTOOL+:} false; then :
  3827. $as_echo_n "(cached) " >&6
  3828. else
  3829. if test -n "$DLLTOOL"; then
  3830. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  3831. else
  3832. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3833. for as_dir in $PATH
  3834. do
  3835. IFS=$as_save_IFS
  3836. test -z "$as_dir" && as_dir=.
  3837. for ac_exec_ext in '' $ac_executable_extensions; do
  3838. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3839. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  3840. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3841. break 2
  3842. fi
  3843. done
  3844. done
  3845. IFS=$as_save_IFS
  3846. fi
  3847. fi
  3848. DLLTOOL=$ac_cv_prog_DLLTOOL
  3849. if test -n "$DLLTOOL"; then
  3850. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  3851. $as_echo "$DLLTOOL" >&6; }
  3852. else
  3853. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3854. $as_echo "no" >&6; }
  3855. fi
  3856. fi
  3857. if test -z "$ac_cv_prog_DLLTOOL"; then
  3858. ac_ct_DLLTOOL=$DLLTOOL
  3859. # Extract the first word of "dlltool", so it can be a program name with args.
  3860. set dummy dlltool; ac_word=$2
  3861. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3862. $as_echo_n "checking for $ac_word... " >&6; }
  3863. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  3864. $as_echo_n "(cached) " >&6
  3865. else
  3866. if test -n "$ac_ct_DLLTOOL"; then
  3867. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  3868. else
  3869. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3870. for as_dir in $PATH
  3871. do
  3872. IFS=$as_save_IFS
  3873. test -z "$as_dir" && as_dir=.
  3874. for ac_exec_ext in '' $ac_executable_extensions; do
  3875. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3876. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  3877. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3878. break 2
  3879. fi
  3880. done
  3881. done
  3882. IFS=$as_save_IFS
  3883. fi
  3884. fi
  3885. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  3886. if test -n "$ac_ct_DLLTOOL"; then
  3887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  3888. $as_echo "$ac_ct_DLLTOOL" >&6; }
  3889. else
  3890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3891. $as_echo "no" >&6; }
  3892. fi
  3893. if test "x$ac_ct_DLLTOOL" = x; then
  3894. DLLTOOL="false"
  3895. else
  3896. case $cross_compiling:$ac_tool_warned in
  3897. yes:)
  3898. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3899. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3900. ac_tool_warned=yes ;;
  3901. esac
  3902. DLLTOOL=$ac_ct_DLLTOOL
  3903. fi
  3904. else
  3905. DLLTOOL="$ac_cv_prog_DLLTOOL"
  3906. fi
  3907. if test -n "$ac_tool_prefix"; then
  3908. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  3909. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  3910. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3911. $as_echo_n "checking for $ac_word... " >&6; }
  3912. if ${ac_cv_prog_OBJDUMP+:} false; then :
  3913. $as_echo_n "(cached) " >&6
  3914. else
  3915. if test -n "$OBJDUMP"; then
  3916. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  3917. else
  3918. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3919. for as_dir in $PATH
  3920. do
  3921. IFS=$as_save_IFS
  3922. test -z "$as_dir" && as_dir=.
  3923. for ac_exec_ext in '' $ac_executable_extensions; do
  3924. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3925. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  3926. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3927. break 2
  3928. fi
  3929. done
  3930. done
  3931. IFS=$as_save_IFS
  3932. fi
  3933. fi
  3934. OBJDUMP=$ac_cv_prog_OBJDUMP
  3935. if test -n "$OBJDUMP"; then
  3936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  3937. $as_echo "$OBJDUMP" >&6; }
  3938. else
  3939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3940. $as_echo "no" >&6; }
  3941. fi
  3942. fi
  3943. if test -z "$ac_cv_prog_OBJDUMP"; then
  3944. ac_ct_OBJDUMP=$OBJDUMP
  3945. # Extract the first word of "objdump", so it can be a program name with args.
  3946. set dummy objdump; ac_word=$2
  3947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3948. $as_echo_n "checking for $ac_word... " >&6; }
  3949. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  3950. $as_echo_n "(cached) " >&6
  3951. else
  3952. if test -n "$ac_ct_OBJDUMP"; then
  3953. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  3954. else
  3955. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3956. for as_dir in $PATH
  3957. do
  3958. IFS=$as_save_IFS
  3959. test -z "$as_dir" && as_dir=.
  3960. for ac_exec_ext in '' $ac_executable_extensions; do
  3961. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3962. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  3963. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3964. break 2
  3965. fi
  3966. done
  3967. done
  3968. IFS=$as_save_IFS
  3969. fi
  3970. fi
  3971. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  3972. if test -n "$ac_ct_OBJDUMP"; then
  3973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  3974. $as_echo "$ac_ct_OBJDUMP" >&6; }
  3975. else
  3976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3977. $as_echo "no" >&6; }
  3978. fi
  3979. if test "x$ac_ct_OBJDUMP" = x; then
  3980. OBJDUMP="false"
  3981. else
  3982. case $cross_compiling:$ac_tool_warned in
  3983. yes:)
  3984. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3985. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3986. ac_tool_warned=yes ;;
  3987. esac
  3988. OBJDUMP=$ac_ct_OBJDUMP
  3989. fi
  3990. else
  3991. OBJDUMP="$ac_cv_prog_OBJDUMP"
  3992. fi
  3993. ;;
  3994. esac
  3995. test -z "$AS" && AS=as
  3996. test -z "$DLLTOOL" && DLLTOOL=dlltool
  3997. test -z "$OBJDUMP" && OBJDUMP=objdump
  3998. case `pwd` in
  3999. *\ * | *\ *)
  4000. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4001. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4002. esac
  4003. macro_version='2.4'
  4004. macro_revision='1.3293'
  4005. ltmain="$ac_aux_dir/ltmain.sh"
  4006. # Backslashify metacharacters that are still active within
  4007. # double-quoted strings.
  4008. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  4009. # Same as above, but do not quote variable references.
  4010. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  4011. # Sed substitution to delay expansion of an escaped shell variable in a
  4012. # double_quote_subst'ed string.
  4013. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  4014. # Sed substitution to delay expansion of an escaped single quote.
  4015. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  4016. # Sed substitution to avoid accidental globbing in evaled expressions
  4017. no_glob_subst='s/\*/\\\*/g'
  4018. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4019. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  4020. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  4021. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  4022. $as_echo_n "checking how to print strings... " >&6; }
  4023. # Test print first, because it will be a builtin if present.
  4024. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  4025. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  4026. ECHO='print -r --'
  4027. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  4028. ECHO='printf %s\n'
  4029. else
  4030. # Use this function as a fallback that always works.
  4031. func_fallback_echo ()
  4032. {
  4033. eval 'cat <<_LTECHO_EOF
  4034. $1
  4035. _LTECHO_EOF'
  4036. }
  4037. ECHO='func_fallback_echo'
  4038. fi
  4039. # func_echo_all arg...
  4040. # Invoke $ECHO with all args, space-separated.
  4041. func_echo_all ()
  4042. {
  4043. $ECHO ""
  4044. }
  4045. case "$ECHO" in
  4046. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  4047. $as_echo "printf" >&6; } ;;
  4048. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  4049. $as_echo "print -r" >&6; } ;;
  4050. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  4051. $as_echo "cat" >&6; } ;;
  4052. esac
  4053. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4054. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4055. if ${ac_cv_path_SED+:} false; then :
  4056. $as_echo_n "(cached) " >&6
  4057. else
  4058. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4059. for ac_i in 1 2 3 4 5 6 7; do
  4060. ac_script="$ac_script$as_nl$ac_script"
  4061. done
  4062. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4063. { ac_script=; unset ac_script;}
  4064. if test -z "$SED"; then
  4065. ac_path_SED_found=false
  4066. # Loop through the user's path and test for each of PROGNAME-LIST
  4067. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4068. for as_dir in $PATH
  4069. do
  4070. IFS=$as_save_IFS
  4071. test -z "$as_dir" && as_dir=.
  4072. for ac_prog in sed gsed; do
  4073. for ac_exec_ext in '' $ac_executable_extensions; do
  4074. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4075. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  4076. # Check for GNU ac_path_SED and select it if it is found.
  4077. # Check for GNU $ac_path_SED
  4078. case `"$ac_path_SED" --version 2>&1` in
  4079. *GNU*)
  4080. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4081. *)
  4082. ac_count=0
  4083. $as_echo_n 0123456789 >"conftest.in"
  4084. while :
  4085. do
  4086. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4087. mv "conftest.tmp" "conftest.in"
  4088. cp "conftest.in" "conftest.nl"
  4089. $as_echo '' >> "conftest.nl"
  4090. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4091. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4092. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4093. if test $ac_count -gt ${ac_path_SED_max-0}; then
  4094. # Best one so far, save it but keep looking for a better one
  4095. ac_cv_path_SED="$ac_path_SED"
  4096. ac_path_SED_max=$ac_count
  4097. fi
  4098. # 10*(2^10) chars as input seems more than enough
  4099. test $ac_count -gt 10 && break
  4100. done
  4101. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4102. esac
  4103. $ac_path_SED_found && break 3
  4104. done
  4105. done
  4106. done
  4107. IFS=$as_save_IFS
  4108. if test -z "$ac_cv_path_SED"; then
  4109. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4110. fi
  4111. else
  4112. ac_cv_path_SED=$SED
  4113. fi
  4114. fi
  4115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4116. $as_echo "$ac_cv_path_SED" >&6; }
  4117. SED="$ac_cv_path_SED"
  4118. rm -f conftest.sed
  4119. test -z "$SED" && SED=sed
  4120. Xsed="$SED -e 1s/^X//"
  4121. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4122. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4123. if ${ac_cv_path_GREP+:} false; then :
  4124. $as_echo_n "(cached) " >&6
  4125. else
  4126. if test -z "$GREP"; then
  4127. ac_path_GREP_found=false
  4128. # Loop through the user's path and test for each of PROGNAME-LIST
  4129. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4130. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4131. do
  4132. IFS=$as_save_IFS
  4133. test -z "$as_dir" && as_dir=.
  4134. for ac_prog in grep ggrep; do
  4135. for ac_exec_ext in '' $ac_executable_extensions; do
  4136. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4137. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4138. # Check for GNU ac_path_GREP and select it if it is found.
  4139. # Check for GNU $ac_path_GREP
  4140. case `"$ac_path_GREP" --version 2>&1` in
  4141. *GNU*)
  4142. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4143. *)
  4144. ac_count=0
  4145. $as_echo_n 0123456789 >"conftest.in"
  4146. while :
  4147. do
  4148. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4149. mv "conftest.tmp" "conftest.in"
  4150. cp "conftest.in" "conftest.nl"
  4151. $as_echo 'GREP' >> "conftest.nl"
  4152. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4153. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4154. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4155. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4156. # Best one so far, save it but keep looking for a better one
  4157. ac_cv_path_GREP="$ac_path_GREP"
  4158. ac_path_GREP_max=$ac_count
  4159. fi
  4160. # 10*(2^10) chars as input seems more than enough
  4161. test $ac_count -gt 10 && break
  4162. done
  4163. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4164. esac
  4165. $ac_path_GREP_found && break 3
  4166. done
  4167. done
  4168. done
  4169. IFS=$as_save_IFS
  4170. if test -z "$ac_cv_path_GREP"; then
  4171. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4172. fi
  4173. else
  4174. ac_cv_path_GREP=$GREP
  4175. fi
  4176. fi
  4177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4178. $as_echo "$ac_cv_path_GREP" >&6; }
  4179. GREP="$ac_cv_path_GREP"
  4180. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4181. $as_echo_n "checking for egrep... " >&6; }
  4182. if ${ac_cv_path_EGREP+:} false; then :
  4183. $as_echo_n "(cached) " >&6
  4184. else
  4185. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4186. then ac_cv_path_EGREP="$GREP -E"
  4187. else
  4188. if test -z "$EGREP"; then
  4189. ac_path_EGREP_found=false
  4190. # Loop through the user's path and test for each of PROGNAME-LIST
  4191. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4192. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4193. do
  4194. IFS=$as_save_IFS
  4195. test -z "$as_dir" && as_dir=.
  4196. for ac_prog in egrep; do
  4197. for ac_exec_ext in '' $ac_executable_extensions; do
  4198. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4199. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4200. # Check for GNU ac_path_EGREP and select it if it is found.
  4201. # Check for GNU $ac_path_EGREP
  4202. case `"$ac_path_EGREP" --version 2>&1` in
  4203. *GNU*)
  4204. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4205. *)
  4206. ac_count=0
  4207. $as_echo_n 0123456789 >"conftest.in"
  4208. while :
  4209. do
  4210. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4211. mv "conftest.tmp" "conftest.in"
  4212. cp "conftest.in" "conftest.nl"
  4213. $as_echo 'EGREP' >> "conftest.nl"
  4214. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4215. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4216. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4217. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4218. # Best one so far, save it but keep looking for a better one
  4219. ac_cv_path_EGREP="$ac_path_EGREP"
  4220. ac_path_EGREP_max=$ac_count
  4221. fi
  4222. # 10*(2^10) chars as input seems more than enough
  4223. test $ac_count -gt 10 && break
  4224. done
  4225. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4226. esac
  4227. $ac_path_EGREP_found && break 3
  4228. done
  4229. done
  4230. done
  4231. IFS=$as_save_IFS
  4232. if test -z "$ac_cv_path_EGREP"; then
  4233. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4234. fi
  4235. else
  4236. ac_cv_path_EGREP=$EGREP
  4237. fi
  4238. fi
  4239. fi
  4240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4241. $as_echo "$ac_cv_path_EGREP" >&6; }
  4242. EGREP="$ac_cv_path_EGREP"
  4243. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  4244. $as_echo_n "checking for fgrep... " >&6; }
  4245. if ${ac_cv_path_FGREP+:} false; then :
  4246. $as_echo_n "(cached) " >&6
  4247. else
  4248. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4249. then ac_cv_path_FGREP="$GREP -F"
  4250. else
  4251. if test -z "$FGREP"; then
  4252. ac_path_FGREP_found=false
  4253. # Loop through the user's path and test for each of PROGNAME-LIST
  4254. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4255. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4256. do
  4257. IFS=$as_save_IFS
  4258. test -z "$as_dir" && as_dir=.
  4259. for ac_prog in fgrep; do
  4260. for ac_exec_ext in '' $ac_executable_extensions; do
  4261. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4262. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  4263. # Check for GNU ac_path_FGREP and select it if it is found.
  4264. # Check for GNU $ac_path_FGREP
  4265. case `"$ac_path_FGREP" --version 2>&1` in
  4266. *GNU*)
  4267. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4268. *)
  4269. ac_count=0
  4270. $as_echo_n 0123456789 >"conftest.in"
  4271. while :
  4272. do
  4273. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4274. mv "conftest.tmp" "conftest.in"
  4275. cp "conftest.in" "conftest.nl"
  4276. $as_echo 'FGREP' >> "conftest.nl"
  4277. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4278. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4279. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4280. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4281. # Best one so far, save it but keep looking for a better one
  4282. ac_cv_path_FGREP="$ac_path_FGREP"
  4283. ac_path_FGREP_max=$ac_count
  4284. fi
  4285. # 10*(2^10) chars as input seems more than enough
  4286. test $ac_count -gt 10 && break
  4287. done
  4288. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4289. esac
  4290. $ac_path_FGREP_found && break 3
  4291. done
  4292. done
  4293. done
  4294. IFS=$as_save_IFS
  4295. if test -z "$ac_cv_path_FGREP"; then
  4296. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4297. fi
  4298. else
  4299. ac_cv_path_FGREP=$FGREP
  4300. fi
  4301. fi
  4302. fi
  4303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  4304. $as_echo "$ac_cv_path_FGREP" >&6; }
  4305. FGREP="$ac_cv_path_FGREP"
  4306. test -z "$GREP" && GREP=grep
  4307. # Check whether --with-gnu-ld was given.
  4308. if test "${with_gnu_ld+set}" = set; then :
  4309. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4310. else
  4311. with_gnu_ld=no
  4312. fi
  4313. ac_prog=ld
  4314. if test "$GCC" = yes; then
  4315. # Check if gcc -print-prog-name=ld gives a path.
  4316. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4317. $as_echo_n "checking for ld used by $CC... " >&6; }
  4318. case $host in
  4319. *-*-mingw*)
  4320. # gcc leaves a trailing carriage return which upsets mingw
  4321. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4322. *)
  4323. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4324. esac
  4325. case $ac_prog in
  4326. # Accept absolute paths.
  4327. [\\/]* | ?:[\\/]*)
  4328. re_direlt='/[^/][^/]*/\.\./'
  4329. # Canonicalize the pathname of ld
  4330. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4331. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4332. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4333. done
  4334. test -z "$LD" && LD="$ac_prog"
  4335. ;;
  4336. "")
  4337. # If it fails, then pretend we aren't using GCC.
  4338. ac_prog=ld
  4339. ;;
  4340. *)
  4341. # If it is relative, then search for the first ld in PATH.
  4342. with_gnu_ld=unknown
  4343. ;;
  4344. esac
  4345. elif test "$with_gnu_ld" = yes; then
  4346. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4347. $as_echo_n "checking for GNU ld... " >&6; }
  4348. else
  4349. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4350. $as_echo_n "checking for non-GNU ld... " >&6; }
  4351. fi
  4352. if ${lt_cv_path_LD+:} false; then :
  4353. $as_echo_n "(cached) " >&6
  4354. else
  4355. if test -z "$LD"; then
  4356. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4357. for ac_dir in $PATH; do
  4358. IFS="$lt_save_ifs"
  4359. test -z "$ac_dir" && ac_dir=.
  4360. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4361. lt_cv_path_LD="$ac_dir/$ac_prog"
  4362. # Check to see if the program is GNU ld. I'd rather use --version,
  4363. # but apparently some variants of GNU ld only accept -v.
  4364. # Break only if it was the GNU/non-GNU ld that we prefer.
  4365. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4366. *GNU* | *'with BFD'*)
  4367. test "$with_gnu_ld" != no && break
  4368. ;;
  4369. *)
  4370. test "$with_gnu_ld" != yes && break
  4371. ;;
  4372. esac
  4373. fi
  4374. done
  4375. IFS="$lt_save_ifs"
  4376. else
  4377. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4378. fi
  4379. fi
  4380. LD="$lt_cv_path_LD"
  4381. if test -n "$LD"; then
  4382. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4383. $as_echo "$LD" >&6; }
  4384. else
  4385. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4386. $as_echo "no" >&6; }
  4387. fi
  4388. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4389. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4390. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4391. if ${lt_cv_prog_gnu_ld+:} false; then :
  4392. $as_echo_n "(cached) " >&6
  4393. else
  4394. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4395. case `$LD -v 2>&1 </dev/null` in
  4396. *GNU* | *'with BFD'*)
  4397. lt_cv_prog_gnu_ld=yes
  4398. ;;
  4399. *)
  4400. lt_cv_prog_gnu_ld=no
  4401. ;;
  4402. esac
  4403. fi
  4404. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4405. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4406. with_gnu_ld=$lt_cv_prog_gnu_ld
  4407. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4408. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4409. if ${lt_cv_path_NM+:} false; then :
  4410. $as_echo_n "(cached) " >&6
  4411. else
  4412. if test -n "$NM"; then
  4413. # Let the user override the test.
  4414. lt_cv_path_NM="$NM"
  4415. else
  4416. lt_nm_to_check="${ac_tool_prefix}nm"
  4417. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4418. lt_nm_to_check="$lt_nm_to_check nm"
  4419. fi
  4420. for lt_tmp_nm in $lt_nm_to_check; do
  4421. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4422. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4423. IFS="$lt_save_ifs"
  4424. test -z "$ac_dir" && ac_dir=.
  4425. tmp_nm="$ac_dir/$lt_tmp_nm"
  4426. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4427. # Check to see if the nm accepts a BSD-compat flag.
  4428. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4429. # nm: unknown option "B" ignored
  4430. # Tru64's nm complains that /dev/null is an invalid object file
  4431. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4432. */dev/null* | *'Invalid file or object type'*)
  4433. lt_cv_path_NM="$tmp_nm -B"
  4434. break
  4435. ;;
  4436. *)
  4437. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4438. */dev/null*)
  4439. lt_cv_path_NM="$tmp_nm -p"
  4440. break
  4441. ;;
  4442. *)
  4443. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4444. continue # so that we can try to find one that supports BSD flags
  4445. ;;
  4446. esac
  4447. ;;
  4448. esac
  4449. fi
  4450. done
  4451. IFS="$lt_save_ifs"
  4452. done
  4453. : ${lt_cv_path_NM=no}
  4454. fi
  4455. fi
  4456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4457. $as_echo "$lt_cv_path_NM" >&6; }
  4458. if test "$lt_cv_path_NM" != "no"; then
  4459. NM="$lt_cv_path_NM"
  4460. else
  4461. # Didn't find any BSD compatible name lister, look for dumpbin.
  4462. if test -n "$DUMPBIN"; then :
  4463. # Let the user override the test.
  4464. else
  4465. if test -n "$ac_tool_prefix"; then
  4466. for ac_prog in dumpbin "link -dump"
  4467. do
  4468. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4469. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4470. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4471. $as_echo_n "checking for $ac_word... " >&6; }
  4472. if ${ac_cv_prog_DUMPBIN+:} false; then :
  4473. $as_echo_n "(cached) " >&6
  4474. else
  4475. if test -n "$DUMPBIN"; then
  4476. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4477. else
  4478. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4479. for as_dir in $PATH
  4480. do
  4481. IFS=$as_save_IFS
  4482. test -z "$as_dir" && as_dir=.
  4483. for ac_exec_ext in '' $ac_executable_extensions; do
  4484. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4485. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4486. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4487. break 2
  4488. fi
  4489. done
  4490. done
  4491. IFS=$as_save_IFS
  4492. fi
  4493. fi
  4494. DUMPBIN=$ac_cv_prog_DUMPBIN
  4495. if test -n "$DUMPBIN"; then
  4496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4497. $as_echo "$DUMPBIN" >&6; }
  4498. else
  4499. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4500. $as_echo "no" >&6; }
  4501. fi
  4502. test -n "$DUMPBIN" && break
  4503. done
  4504. fi
  4505. if test -z "$DUMPBIN"; then
  4506. ac_ct_DUMPBIN=$DUMPBIN
  4507. for ac_prog in dumpbin "link -dump"
  4508. do
  4509. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4510. set dummy $ac_prog; ac_word=$2
  4511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4512. $as_echo_n "checking for $ac_word... " >&6; }
  4513. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4514. $as_echo_n "(cached) " >&6
  4515. else
  4516. if test -n "$ac_ct_DUMPBIN"; then
  4517. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4518. else
  4519. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4520. for as_dir in $PATH
  4521. do
  4522. IFS=$as_save_IFS
  4523. test -z "$as_dir" && as_dir=.
  4524. for ac_exec_ext in '' $ac_executable_extensions; do
  4525. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4526. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4527. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4528. break 2
  4529. fi
  4530. done
  4531. done
  4532. IFS=$as_save_IFS
  4533. fi
  4534. fi
  4535. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4536. if test -n "$ac_ct_DUMPBIN"; then
  4537. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4538. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4539. else
  4540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4541. $as_echo "no" >&6; }
  4542. fi
  4543. test -n "$ac_ct_DUMPBIN" && break
  4544. done
  4545. if test "x$ac_ct_DUMPBIN" = x; then
  4546. DUMPBIN=":"
  4547. else
  4548. case $cross_compiling:$ac_tool_warned in
  4549. yes:)
  4550. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4551. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4552. ac_tool_warned=yes ;;
  4553. esac
  4554. DUMPBIN=$ac_ct_DUMPBIN
  4555. fi
  4556. fi
  4557. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  4558. *COFF*)
  4559. DUMPBIN="$DUMPBIN -symbols"
  4560. ;;
  4561. *)
  4562. DUMPBIN=:
  4563. ;;
  4564. esac
  4565. fi
  4566. if test "$DUMPBIN" != ":"; then
  4567. NM="$DUMPBIN"
  4568. fi
  4569. fi
  4570. test -z "$NM" && NM=nm
  4571. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4572. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4573. if ${lt_cv_nm_interface+:} false; then :
  4574. $as_echo_n "(cached) " >&6
  4575. else
  4576. lt_cv_nm_interface="BSD nm"
  4577. echo "int some_variable = 0;" > conftest.$ac_ext
  4578. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4579. (eval "$ac_compile" 2>conftest.err)
  4580. cat conftest.err >&5
  4581. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4582. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4583. cat conftest.err >&5
  4584. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4585. cat conftest.out >&5
  4586. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4587. lt_cv_nm_interface="MS dumpbin"
  4588. fi
  4589. rm -f conftest*
  4590. fi
  4591. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4592. $as_echo "$lt_cv_nm_interface" >&6; }
  4593. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4594. $as_echo_n "checking whether ln -s works... " >&6; }
  4595. LN_S=$as_ln_s
  4596. if test "$LN_S" = "ln -s"; then
  4597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4598. $as_echo "yes" >&6; }
  4599. else
  4600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4601. $as_echo "no, using $LN_S" >&6; }
  4602. fi
  4603. # find the maximum length of command line arguments
  4604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4605. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4606. if ${lt_cv_sys_max_cmd_len+:} false; then :
  4607. $as_echo_n "(cached) " >&6
  4608. else
  4609. i=0
  4610. teststring="ABCD"
  4611. case $build_os in
  4612. msdosdjgpp*)
  4613. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4614. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4615. # during glob expansion). Even if it were fixed, the result of this
  4616. # check would be larger than it should be.
  4617. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4618. ;;
  4619. gnu*)
  4620. # Under GNU Hurd, this test is not required because there is
  4621. # no limit to the length of command line arguments.
  4622. # Libtool will interpret -1 as no limit whatsoever
  4623. lt_cv_sys_max_cmd_len=-1;
  4624. ;;
  4625. cygwin* | mingw* | cegcc*)
  4626. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4627. # about 5 minutes as the teststring grows exponentially.
  4628. # Worse, since 9x/ME are not pre-emptively multitasking,
  4629. # you end up with a "frozen" computer, even though with patience
  4630. # the test eventually succeeds (with a max line length of 256k).
  4631. # Instead, let's just punt: use the minimum linelength reported by
  4632. # all of the supported platforms: 8192 (on NT/2K/XP).
  4633. lt_cv_sys_max_cmd_len=8192;
  4634. ;;
  4635. mint*)
  4636. # On MiNT this can take a long time and run out of memory.
  4637. lt_cv_sys_max_cmd_len=8192;
  4638. ;;
  4639. amigaos*)
  4640. # On AmigaOS with pdksh, this test takes hours, literally.
  4641. # So we just punt and use a minimum line length of 8192.
  4642. lt_cv_sys_max_cmd_len=8192;
  4643. ;;
  4644. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4645. # This has been around since 386BSD, at least. Likely further.
  4646. if test -x /sbin/sysctl; then
  4647. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4648. elif test -x /usr/sbin/sysctl; then
  4649. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4650. else
  4651. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4652. fi
  4653. # And add a safety zone
  4654. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4655. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4656. ;;
  4657. interix*)
  4658. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4659. lt_cv_sys_max_cmd_len=196608
  4660. ;;
  4661. osf*)
  4662. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4663. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4664. # nice to cause kernel panics so lets avoid the loop below.
  4665. # First set a reasonable default.
  4666. lt_cv_sys_max_cmd_len=16384
  4667. #
  4668. if test -x /sbin/sysconfig; then
  4669. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4670. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4671. esac
  4672. fi
  4673. ;;
  4674. sco3.2v5*)
  4675. lt_cv_sys_max_cmd_len=102400
  4676. ;;
  4677. sysv5* | sco5v6* | sysv4.2uw2*)
  4678. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4679. if test -n "$kargmax"; then
  4680. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4681. else
  4682. lt_cv_sys_max_cmd_len=32768
  4683. fi
  4684. ;;
  4685. *)
  4686. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4687. if test -n "$lt_cv_sys_max_cmd_len"; then
  4688. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4689. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4690. else
  4691. # Make teststring a little bigger before we do anything with it.
  4692. # a 1K string should be a reasonable start.
  4693. for i in 1 2 3 4 5 6 7 8 ; do
  4694. teststring=$teststring$teststring
  4695. done
  4696. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4697. # If test is not a shell built-in, we'll probably end up computing a
  4698. # maximum length that is only half of the actual maximum length, but
  4699. # we can't tell.
  4700. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  4701. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  4702. test $i != 17 # 1/2 MB should be enough
  4703. do
  4704. i=`expr $i + 1`
  4705. teststring=$teststring$teststring
  4706. done
  4707. # Only check the string length outside the loop.
  4708. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4709. teststring=
  4710. # Add a significant safety factor because C++ compilers can tack on
  4711. # massive amounts of additional arguments before passing them to the
  4712. # linker. It appears as though 1/2 is a usable value.
  4713. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4714. fi
  4715. ;;
  4716. esac
  4717. fi
  4718. if test -n $lt_cv_sys_max_cmd_len ; then
  4719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4720. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4721. else
  4722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4723. $as_echo "none" >&6; }
  4724. fi
  4725. max_cmd_len=$lt_cv_sys_max_cmd_len
  4726. : ${CP="cp -f"}
  4727. : ${MV="mv -f"}
  4728. : ${RM="rm -f"}
  4729. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4730. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4731. # Try some XSI features
  4732. xsi_shell=no
  4733. ( _lt_dummy="a/b/c"
  4734. test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  4735. = c,a/b,b/c, \
  4736. && eval 'test $(( 1 + 1 )) -eq 2 \
  4737. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4738. && xsi_shell=yes
  4739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4740. $as_echo "$xsi_shell" >&6; }
  4741. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4742. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4743. lt_shell_append=no
  4744. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4745. >/dev/null 2>&1 \
  4746. && lt_shell_append=yes
  4747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4748. $as_echo "$lt_shell_append" >&6; }
  4749. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4750. lt_unset=unset
  4751. else
  4752. lt_unset=false
  4753. fi
  4754. # test EBCDIC or ASCII
  4755. case `echo X|tr X '\101'` in
  4756. A) # ASCII based system
  4757. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4758. lt_SP2NL='tr \040 \012'
  4759. lt_NL2SP='tr \015\012 \040\040'
  4760. ;;
  4761. *) # EBCDIC based system
  4762. lt_SP2NL='tr \100 \n'
  4763. lt_NL2SP='tr \r\n \100\100'
  4764. ;;
  4765. esac
  4766. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  4767. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  4768. if ${lt_cv_to_host_file_cmd+:} false; then :
  4769. $as_echo_n "(cached) " >&6
  4770. else
  4771. case $host in
  4772. *-*-mingw* )
  4773. case $build in
  4774. *-*-mingw* ) # actually msys
  4775. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  4776. ;;
  4777. *-*-cygwin* )
  4778. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  4779. ;;
  4780. * ) # otherwise, assume *nix
  4781. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  4782. ;;
  4783. esac
  4784. ;;
  4785. *-*-cygwin* )
  4786. case $build in
  4787. *-*-mingw* ) # actually msys
  4788. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  4789. ;;
  4790. *-*-cygwin* )
  4791. lt_cv_to_host_file_cmd=func_convert_file_noop
  4792. ;;
  4793. * ) # otherwise, assume *nix
  4794. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  4795. ;;
  4796. esac
  4797. ;;
  4798. * ) # unhandled hosts (and "normal" native builds)
  4799. lt_cv_to_host_file_cmd=func_convert_file_noop
  4800. ;;
  4801. esac
  4802. fi
  4803. to_host_file_cmd=$lt_cv_to_host_file_cmd
  4804. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  4805. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  4806. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  4807. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  4808. if ${lt_cv_to_tool_file_cmd+:} false; then :
  4809. $as_echo_n "(cached) " >&6
  4810. else
  4811. #assume ordinary cross tools, or native build.
  4812. lt_cv_to_tool_file_cmd=func_convert_file_noop
  4813. case $host in
  4814. *-*-mingw* )
  4815. case $build in
  4816. *-*-mingw* ) # actually msys
  4817. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  4818. ;;
  4819. esac
  4820. ;;
  4821. esac
  4822. fi
  4823. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  4824. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  4825. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  4826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4827. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4828. if ${lt_cv_ld_reload_flag+:} false; then :
  4829. $as_echo_n "(cached) " >&6
  4830. else
  4831. lt_cv_ld_reload_flag='-r'
  4832. fi
  4833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4834. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4835. reload_flag=$lt_cv_ld_reload_flag
  4836. case $reload_flag in
  4837. "" | " "*) ;;
  4838. *) reload_flag=" $reload_flag" ;;
  4839. esac
  4840. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4841. case $host_os in
  4842. cygwin* | mingw* | pw32* | cegcc*)
  4843. if test "$GCC" != yes; then
  4844. reload_cmds=false
  4845. fi
  4846. ;;
  4847. darwin*)
  4848. if test "$GCC" = yes; then
  4849. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4850. else
  4851. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4852. fi
  4853. ;;
  4854. esac
  4855. if test -n "$ac_tool_prefix"; then
  4856. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4857. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4859. $as_echo_n "checking for $ac_word... " >&6; }
  4860. if ${ac_cv_prog_OBJDUMP+:} false; then :
  4861. $as_echo_n "(cached) " >&6
  4862. else
  4863. if test -n "$OBJDUMP"; then
  4864. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4865. else
  4866. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4867. for as_dir in $PATH
  4868. do
  4869. IFS=$as_save_IFS
  4870. test -z "$as_dir" && as_dir=.
  4871. for ac_exec_ext in '' $ac_executable_extensions; do
  4872. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4873. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4874. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4875. break 2
  4876. fi
  4877. done
  4878. done
  4879. IFS=$as_save_IFS
  4880. fi
  4881. fi
  4882. OBJDUMP=$ac_cv_prog_OBJDUMP
  4883. if test -n "$OBJDUMP"; then
  4884. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4885. $as_echo "$OBJDUMP" >&6; }
  4886. else
  4887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4888. $as_echo "no" >&6; }
  4889. fi
  4890. fi
  4891. if test -z "$ac_cv_prog_OBJDUMP"; then
  4892. ac_ct_OBJDUMP=$OBJDUMP
  4893. # Extract the first word of "objdump", so it can be a program name with args.
  4894. set dummy objdump; ac_word=$2
  4895. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4896. $as_echo_n "checking for $ac_word... " >&6; }
  4897. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  4898. $as_echo_n "(cached) " >&6
  4899. else
  4900. if test -n "$ac_ct_OBJDUMP"; then
  4901. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4902. else
  4903. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4904. for as_dir in $PATH
  4905. do
  4906. IFS=$as_save_IFS
  4907. test -z "$as_dir" && as_dir=.
  4908. for ac_exec_ext in '' $ac_executable_extensions; do
  4909. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4910. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4911. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4912. break 2
  4913. fi
  4914. done
  4915. done
  4916. IFS=$as_save_IFS
  4917. fi
  4918. fi
  4919. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4920. if test -n "$ac_ct_OBJDUMP"; then
  4921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4922. $as_echo "$ac_ct_OBJDUMP" >&6; }
  4923. else
  4924. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4925. $as_echo "no" >&6; }
  4926. fi
  4927. if test "x$ac_ct_OBJDUMP" = x; then
  4928. OBJDUMP="false"
  4929. else
  4930. case $cross_compiling:$ac_tool_warned in
  4931. yes:)
  4932. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4933. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4934. ac_tool_warned=yes ;;
  4935. esac
  4936. OBJDUMP=$ac_ct_OBJDUMP
  4937. fi
  4938. else
  4939. OBJDUMP="$ac_cv_prog_OBJDUMP"
  4940. fi
  4941. test -z "$OBJDUMP" && OBJDUMP=objdump
  4942. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4943. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4944. if ${lt_cv_deplibs_check_method+:} false; then :
  4945. $as_echo_n "(cached) " >&6
  4946. else
  4947. lt_cv_file_magic_cmd='$MAGIC_CMD'
  4948. lt_cv_file_magic_test_file=
  4949. lt_cv_deplibs_check_method='unknown'
  4950. # Need to set the preceding variable on all platforms that support
  4951. # interlibrary dependencies.
  4952. # 'none' -- dependencies not supported.
  4953. # `unknown' -- same as none, but documents that we really don't know.
  4954. # 'pass_all' -- all dependencies passed with no checks.
  4955. # 'test_compile' -- check by making test program.
  4956. # 'file_magic [[regex]]' -- check by looking for files in library path
  4957. # which responds to the $file_magic_cmd with a given extended regex.
  4958. # If you have `file' or equivalent on your system and you're not sure
  4959. # whether `pass_all' will *always* work, you probably want this one.
  4960. case $host_os in
  4961. aix[4-9]*)
  4962. lt_cv_deplibs_check_method=pass_all
  4963. ;;
  4964. beos*)
  4965. lt_cv_deplibs_check_method=pass_all
  4966. ;;
  4967. bsdi[45]*)
  4968. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4969. lt_cv_file_magic_cmd='/usr/bin/file -L'
  4970. lt_cv_file_magic_test_file=/shlib/libc.so
  4971. ;;
  4972. cygwin*)
  4973. # func_win32_libid is a shell function defined in ltmain.sh
  4974. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4975. lt_cv_file_magic_cmd='func_win32_libid'
  4976. ;;
  4977. mingw* | pw32*)
  4978. # Base MSYS/MinGW do not provide the 'file' command needed by
  4979. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4980. # unless we find 'file', for example because we are cross-compiling.
  4981. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  4982. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  4983. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4984. lt_cv_file_magic_cmd='func_win32_libid'
  4985. else
  4986. # Keep this pattern in sync with the one in func_win32_libid.
  4987. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4988. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4989. fi
  4990. ;;
  4991. cegcc*)
  4992. # use the weaker test based on 'objdump'. See mingw*.
  4993. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4994. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4995. ;;
  4996. darwin* | rhapsody*)
  4997. lt_cv_deplibs_check_method=pass_all
  4998. ;;
  4999. freebsd* | dragonfly*)
  5000. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5001. case $host_cpu in
  5002. i*86 )
  5003. # Not sure whether the presence of OpenBSD here was a mistake.
  5004. # Let's accept both of them until this is cleared up.
  5005. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5006. lt_cv_file_magic_cmd=/usr/bin/file
  5007. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5008. ;;
  5009. esac
  5010. else
  5011. lt_cv_deplibs_check_method=pass_all
  5012. fi
  5013. ;;
  5014. gnu*)
  5015. lt_cv_deplibs_check_method=pass_all
  5016. ;;
  5017. haiku*)
  5018. lt_cv_deplibs_check_method=pass_all
  5019. ;;
  5020. hpux10.20* | hpux11*)
  5021. lt_cv_file_magic_cmd=/usr/bin/file
  5022. case $host_cpu in
  5023. ia64*)
  5024. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5025. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5026. ;;
  5027. hppa*64*)
  5028. 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]'
  5029. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5030. ;;
  5031. *)
  5032. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  5033. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5034. ;;
  5035. esac
  5036. ;;
  5037. interix[3-9]*)
  5038. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5039. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5040. ;;
  5041. irix5* | irix6* | nonstopux*)
  5042. case $LD in
  5043. *-32|*"-32 ") libmagic=32-bit;;
  5044. *-n32|*"-n32 ") libmagic=N32;;
  5045. *-64|*"-64 ") libmagic=64-bit;;
  5046. *) libmagic=never-match;;
  5047. esac
  5048. lt_cv_deplibs_check_method=pass_all
  5049. ;;
  5050. # This must be Linux ELF.
  5051. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5052. lt_cv_deplibs_check_method=pass_all
  5053. ;;
  5054. netbsd* | netbsdelf*-gnu)
  5055. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5056. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5057. else
  5058. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5059. fi
  5060. ;;
  5061. newos6*)
  5062. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5063. lt_cv_file_magic_cmd=/usr/bin/file
  5064. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5065. ;;
  5066. *nto* | *qnx*)
  5067. lt_cv_deplibs_check_method=pass_all
  5068. ;;
  5069. openbsd*)
  5070. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5071. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5072. else
  5073. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5074. fi
  5075. ;;
  5076. osf3* | osf4* | osf5*)
  5077. lt_cv_deplibs_check_method=pass_all
  5078. ;;
  5079. rdos*)
  5080. lt_cv_deplibs_check_method=pass_all
  5081. ;;
  5082. solaris*)
  5083. lt_cv_deplibs_check_method=pass_all
  5084. ;;
  5085. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5086. lt_cv_deplibs_check_method=pass_all
  5087. ;;
  5088. sysv4 | sysv4.3*)
  5089. case $host_vendor in
  5090. motorola)
  5091. 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]'
  5092. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5093. ;;
  5094. ncr)
  5095. lt_cv_deplibs_check_method=pass_all
  5096. ;;
  5097. sequent)
  5098. lt_cv_file_magic_cmd='/bin/file'
  5099. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5100. ;;
  5101. sni)
  5102. lt_cv_file_magic_cmd='/bin/file'
  5103. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5104. lt_cv_file_magic_test_file=/lib/libc.so
  5105. ;;
  5106. siemens)
  5107. lt_cv_deplibs_check_method=pass_all
  5108. ;;
  5109. pc)
  5110. lt_cv_deplibs_check_method=pass_all
  5111. ;;
  5112. esac
  5113. ;;
  5114. tpf*)
  5115. lt_cv_deplibs_check_method=pass_all
  5116. ;;
  5117. esac
  5118. fi
  5119. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  5120. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5121. file_magic_glob=
  5122. want_nocaseglob=no
  5123. if test "$build" = "$host"; then
  5124. case $host_os in
  5125. mingw* | pw32*)
  5126. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  5127. want_nocaseglob=yes
  5128. else
  5129. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  5130. fi
  5131. ;;
  5132. esac
  5133. fi
  5134. file_magic_cmd=$lt_cv_file_magic_cmd
  5135. deplibs_check_method=$lt_cv_deplibs_check_method
  5136. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5137. if test -n "$ac_tool_prefix"; then
  5138. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  5139. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  5140. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5141. $as_echo_n "checking for $ac_word... " >&6; }
  5142. if ${ac_cv_prog_DLLTOOL+:} false; then :
  5143. $as_echo_n "(cached) " >&6
  5144. else
  5145. if test -n "$DLLTOOL"; then
  5146. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  5147. else
  5148. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5149. for as_dir in $PATH
  5150. do
  5151. IFS=$as_save_IFS
  5152. test -z "$as_dir" && as_dir=.
  5153. for ac_exec_ext in '' $ac_executable_extensions; do
  5154. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5155. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  5156. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5157. break 2
  5158. fi
  5159. done
  5160. done
  5161. IFS=$as_save_IFS
  5162. fi
  5163. fi
  5164. DLLTOOL=$ac_cv_prog_DLLTOOL
  5165. if test -n "$DLLTOOL"; then
  5166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  5167. $as_echo "$DLLTOOL" >&6; }
  5168. else
  5169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5170. $as_echo "no" >&6; }
  5171. fi
  5172. fi
  5173. if test -z "$ac_cv_prog_DLLTOOL"; then
  5174. ac_ct_DLLTOOL=$DLLTOOL
  5175. # Extract the first word of "dlltool", so it can be a program name with args.
  5176. set dummy dlltool; ac_word=$2
  5177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5178. $as_echo_n "checking for $ac_word... " >&6; }
  5179. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  5180. $as_echo_n "(cached) " >&6
  5181. else
  5182. if test -n "$ac_ct_DLLTOOL"; then
  5183. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  5184. else
  5185. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5186. for as_dir in $PATH
  5187. do
  5188. IFS=$as_save_IFS
  5189. test -z "$as_dir" && as_dir=.
  5190. for ac_exec_ext in '' $ac_executable_extensions; do
  5191. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5192. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  5193. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5194. break 2
  5195. fi
  5196. done
  5197. done
  5198. IFS=$as_save_IFS
  5199. fi
  5200. fi
  5201. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  5202. if test -n "$ac_ct_DLLTOOL"; then
  5203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  5204. $as_echo "$ac_ct_DLLTOOL" >&6; }
  5205. else
  5206. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5207. $as_echo "no" >&6; }
  5208. fi
  5209. if test "x$ac_ct_DLLTOOL" = x; then
  5210. DLLTOOL="false"
  5211. else
  5212. case $cross_compiling:$ac_tool_warned in
  5213. yes:)
  5214. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5215. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5216. ac_tool_warned=yes ;;
  5217. esac
  5218. DLLTOOL=$ac_ct_DLLTOOL
  5219. fi
  5220. else
  5221. DLLTOOL="$ac_cv_prog_DLLTOOL"
  5222. fi
  5223. test -z "$DLLTOOL" && DLLTOOL=dlltool
  5224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  5225. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  5226. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  5227. $as_echo_n "(cached) " >&6
  5228. else
  5229. lt_cv_sharedlib_from_linklib_cmd='unknown'
  5230. case $host_os in
  5231. cygwin* | mingw* | pw32* | cegcc*)
  5232. # two different shell functions defined in ltmain.sh
  5233. # decide which to use based on capabilities of $DLLTOOL
  5234. case `$DLLTOOL --help 2>&1` in
  5235. *--identify-strict*)
  5236. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  5237. ;;
  5238. *)
  5239. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  5240. ;;
  5241. esac
  5242. ;;
  5243. *)
  5244. # fallback: assume linklib IS sharedlib
  5245. lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  5246. ;;
  5247. esac
  5248. fi
  5249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  5250. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  5251. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  5252. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  5253. if test -n "$ac_tool_prefix"; then
  5254. for ac_prog in ar
  5255. do
  5256. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5257. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5258. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5259. $as_echo_n "checking for $ac_word... " >&6; }
  5260. if ${ac_cv_prog_AR+:} false; then :
  5261. $as_echo_n "(cached) " >&6
  5262. else
  5263. if test -n "$AR"; then
  5264. ac_cv_prog_AR="$AR" # Let the user override the test.
  5265. else
  5266. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5267. for as_dir in $PATH
  5268. do
  5269. IFS=$as_save_IFS
  5270. test -z "$as_dir" && as_dir=.
  5271. for ac_exec_ext in '' $ac_executable_extensions; do
  5272. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5273. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5274. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5275. break 2
  5276. fi
  5277. done
  5278. done
  5279. IFS=$as_save_IFS
  5280. fi
  5281. fi
  5282. AR=$ac_cv_prog_AR
  5283. if test -n "$AR"; then
  5284. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5285. $as_echo "$AR" >&6; }
  5286. else
  5287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5288. $as_echo "no" >&6; }
  5289. fi
  5290. test -n "$AR" && break
  5291. done
  5292. fi
  5293. if test -z "$AR"; then
  5294. ac_ct_AR=$AR
  5295. for ac_prog in ar
  5296. do
  5297. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5298. set dummy $ac_prog; ac_word=$2
  5299. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5300. $as_echo_n "checking for $ac_word... " >&6; }
  5301. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5302. $as_echo_n "(cached) " >&6
  5303. else
  5304. if test -n "$ac_ct_AR"; then
  5305. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5306. else
  5307. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5308. for as_dir in $PATH
  5309. do
  5310. IFS=$as_save_IFS
  5311. test -z "$as_dir" && as_dir=.
  5312. for ac_exec_ext in '' $ac_executable_extensions; do
  5313. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5314. ac_cv_prog_ac_ct_AR="$ac_prog"
  5315. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5316. break 2
  5317. fi
  5318. done
  5319. done
  5320. IFS=$as_save_IFS
  5321. fi
  5322. fi
  5323. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5324. if test -n "$ac_ct_AR"; then
  5325. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5326. $as_echo "$ac_ct_AR" >&6; }
  5327. else
  5328. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5329. $as_echo "no" >&6; }
  5330. fi
  5331. test -n "$ac_ct_AR" && break
  5332. done
  5333. if test "x$ac_ct_AR" = x; then
  5334. AR="false"
  5335. else
  5336. case $cross_compiling:$ac_tool_warned in
  5337. yes:)
  5338. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5339. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5340. ac_tool_warned=yes ;;
  5341. esac
  5342. AR=$ac_ct_AR
  5343. fi
  5344. fi
  5345. : ${AR=ar}
  5346. : ${AR_FLAGS=cru}
  5347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  5348. $as_echo_n "checking for archiver @FILE support... " >&6; }
  5349. if ${lt_cv_ar_at_file+:} false; then :
  5350. $as_echo_n "(cached) " >&6
  5351. else
  5352. lt_cv_ar_at_file=no
  5353. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5354. /* end confdefs.h. */
  5355. int
  5356. main ()
  5357. {
  5358. ;
  5359. return 0;
  5360. }
  5361. _ACEOF
  5362. if ac_fn_c_try_compile "$LINENO"; then :
  5363. echo conftest.$ac_objext > conftest.lst
  5364. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  5365. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5366. (eval $lt_ar_try) 2>&5
  5367. ac_status=$?
  5368. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5369. test $ac_status = 0; }
  5370. if test "$ac_status" -eq 0; then
  5371. # Ensure the archiver fails upon bogus file names.
  5372. rm -f conftest.$ac_objext libconftest.a
  5373. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5374. (eval $lt_ar_try) 2>&5
  5375. ac_status=$?
  5376. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5377. test $ac_status = 0; }
  5378. if test "$ac_status" -ne 0; then
  5379. lt_cv_ar_at_file=@
  5380. fi
  5381. fi
  5382. rm -f conftest.* libconftest.a
  5383. fi
  5384. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5385. fi
  5386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  5387. $as_echo "$lt_cv_ar_at_file" >&6; }
  5388. if test "x$lt_cv_ar_at_file" = xno; then
  5389. archiver_list_spec=
  5390. else
  5391. archiver_list_spec=$lt_cv_ar_at_file
  5392. fi
  5393. if test -n "$ac_tool_prefix"; then
  5394. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5395. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5397. $as_echo_n "checking for $ac_word... " >&6; }
  5398. if ${ac_cv_prog_STRIP+:} false; then :
  5399. $as_echo_n "(cached) " >&6
  5400. else
  5401. if test -n "$STRIP"; then
  5402. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5403. else
  5404. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5405. for as_dir in $PATH
  5406. do
  5407. IFS=$as_save_IFS
  5408. test -z "$as_dir" && as_dir=.
  5409. for ac_exec_ext in '' $ac_executable_extensions; do
  5410. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5411. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5412. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5413. break 2
  5414. fi
  5415. done
  5416. done
  5417. IFS=$as_save_IFS
  5418. fi
  5419. fi
  5420. STRIP=$ac_cv_prog_STRIP
  5421. if test -n "$STRIP"; then
  5422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5423. $as_echo "$STRIP" >&6; }
  5424. else
  5425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5426. $as_echo "no" >&6; }
  5427. fi
  5428. fi
  5429. if test -z "$ac_cv_prog_STRIP"; then
  5430. ac_ct_STRIP=$STRIP
  5431. # Extract the first word of "strip", so it can be a program name with args.
  5432. set dummy strip; ac_word=$2
  5433. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5434. $as_echo_n "checking for $ac_word... " >&6; }
  5435. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5436. $as_echo_n "(cached) " >&6
  5437. else
  5438. if test -n "$ac_ct_STRIP"; then
  5439. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5440. else
  5441. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5442. for as_dir in $PATH
  5443. do
  5444. IFS=$as_save_IFS
  5445. test -z "$as_dir" && as_dir=.
  5446. for ac_exec_ext in '' $ac_executable_extensions; do
  5447. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5448. ac_cv_prog_ac_ct_STRIP="strip"
  5449. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5450. break 2
  5451. fi
  5452. done
  5453. done
  5454. IFS=$as_save_IFS
  5455. fi
  5456. fi
  5457. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5458. if test -n "$ac_ct_STRIP"; then
  5459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5460. $as_echo "$ac_ct_STRIP" >&6; }
  5461. else
  5462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5463. $as_echo "no" >&6; }
  5464. fi
  5465. if test "x$ac_ct_STRIP" = x; then
  5466. STRIP=":"
  5467. else
  5468. case $cross_compiling:$ac_tool_warned in
  5469. yes:)
  5470. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5471. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5472. ac_tool_warned=yes ;;
  5473. esac
  5474. STRIP=$ac_ct_STRIP
  5475. fi
  5476. else
  5477. STRIP="$ac_cv_prog_STRIP"
  5478. fi
  5479. test -z "$STRIP" && STRIP=:
  5480. if test -n "$ac_tool_prefix"; then
  5481. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5482. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5483. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5484. $as_echo_n "checking for $ac_word... " >&6; }
  5485. if ${ac_cv_prog_RANLIB+:} false; then :
  5486. $as_echo_n "(cached) " >&6
  5487. else
  5488. if test -n "$RANLIB"; then
  5489. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5490. else
  5491. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5492. for as_dir in $PATH
  5493. do
  5494. IFS=$as_save_IFS
  5495. test -z "$as_dir" && as_dir=.
  5496. for ac_exec_ext in '' $ac_executable_extensions; do
  5497. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5498. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5499. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5500. break 2
  5501. fi
  5502. done
  5503. done
  5504. IFS=$as_save_IFS
  5505. fi
  5506. fi
  5507. RANLIB=$ac_cv_prog_RANLIB
  5508. if test -n "$RANLIB"; then
  5509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5510. $as_echo "$RANLIB" >&6; }
  5511. else
  5512. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5513. $as_echo "no" >&6; }
  5514. fi
  5515. fi
  5516. if test -z "$ac_cv_prog_RANLIB"; then
  5517. ac_ct_RANLIB=$RANLIB
  5518. # Extract the first word of "ranlib", so it can be a program name with args.
  5519. set dummy ranlib; ac_word=$2
  5520. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5521. $as_echo_n "checking for $ac_word... " >&6; }
  5522. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5523. $as_echo_n "(cached) " >&6
  5524. else
  5525. if test -n "$ac_ct_RANLIB"; then
  5526. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5527. else
  5528. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5529. for as_dir in $PATH
  5530. do
  5531. IFS=$as_save_IFS
  5532. test -z "$as_dir" && as_dir=.
  5533. for ac_exec_ext in '' $ac_executable_extensions; do
  5534. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5535. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5536. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5537. break 2
  5538. fi
  5539. done
  5540. done
  5541. IFS=$as_save_IFS
  5542. fi
  5543. fi
  5544. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5545. if test -n "$ac_ct_RANLIB"; then
  5546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5547. $as_echo "$ac_ct_RANLIB" >&6; }
  5548. else
  5549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5550. $as_echo "no" >&6; }
  5551. fi
  5552. if test "x$ac_ct_RANLIB" = x; then
  5553. RANLIB=":"
  5554. else
  5555. case $cross_compiling:$ac_tool_warned in
  5556. yes:)
  5557. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5558. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5559. ac_tool_warned=yes ;;
  5560. esac
  5561. RANLIB=$ac_ct_RANLIB
  5562. fi
  5563. else
  5564. RANLIB="$ac_cv_prog_RANLIB"
  5565. fi
  5566. test -z "$RANLIB" && RANLIB=:
  5567. # Determine commands to create old-style static archives.
  5568. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5569. old_postinstall_cmds='chmod 644 $oldlib'
  5570. old_postuninstall_cmds=
  5571. if test -n "$RANLIB"; then
  5572. case $host_os in
  5573. openbsd*)
  5574. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  5575. ;;
  5576. *)
  5577. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  5578. ;;
  5579. esac
  5580. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  5581. fi
  5582. case $host_os in
  5583. darwin*)
  5584. lock_old_archive_extraction=yes ;;
  5585. *)
  5586. lock_old_archive_extraction=no ;;
  5587. esac
  5588. # If no C compiler was specified, use CC.
  5589. LTCC=${LTCC-"$CC"}
  5590. # If no C compiler flags were specified, use CFLAGS.
  5591. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5592. # Allow CC to be a program name with arguments.
  5593. compiler=$CC
  5594. # Check for command to grab the raw symbol name followed by C symbol from nm.
  5595. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5596. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5597. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5598. $as_echo_n "(cached) " >&6
  5599. else
  5600. # These are sane defaults that work on at least a few old systems.
  5601. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  5602. # Character class describing NM global symbol codes.
  5603. symcode='[BCDEGRST]'
  5604. # Regexp to match symbols that can be accessed directly from C.
  5605. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5606. # Define system-specific variables.
  5607. case $host_os in
  5608. aix*)
  5609. symcode='[BCDT]'
  5610. ;;
  5611. cygwin* | mingw* | pw32* | cegcc*)
  5612. symcode='[ABCDGISTW]'
  5613. ;;
  5614. hpux*)
  5615. if test "$host_cpu" = ia64; then
  5616. symcode='[ABCDEGRST]'
  5617. fi
  5618. ;;
  5619. irix* | nonstopux*)
  5620. symcode='[BCDEGRST]'
  5621. ;;
  5622. osf*)
  5623. symcode='[BCDEGQRST]'
  5624. ;;
  5625. solaris*)
  5626. symcode='[BDRT]'
  5627. ;;
  5628. sco3.2v5*)
  5629. symcode='[DT]'
  5630. ;;
  5631. sysv4.2uw2*)
  5632. symcode='[DT]'
  5633. ;;
  5634. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5635. symcode='[ABDT]'
  5636. ;;
  5637. sysv4)
  5638. symcode='[DFNSTU]'
  5639. ;;
  5640. esac
  5641. # If we're using GNU nm, then use its standard symbol codes.
  5642. case `$NM -V 2>&1` in
  5643. *GNU* | *'with BFD'*)
  5644. symcode='[ABCDGIRSTW]' ;;
  5645. esac
  5646. # Transform an extracted symbol line into a proper C declaration.
  5647. # Some systems (esp. on ia64) link data and code symbols differently,
  5648. # so use this general approach.
  5649. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5650. # Transform an extracted symbol line into symbol name and symbol address
  5651. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  5652. 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'"
  5653. # Handle CRLF in mingw tool chain
  5654. opt_cr=
  5655. case $build_os in
  5656. mingw*)
  5657. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5658. ;;
  5659. esac
  5660. # Try without a prefix underscore, then with it.
  5661. for ac_symprfx in "" "_"; do
  5662. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5663. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5664. # Write the raw and C identifiers.
  5665. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5666. # Fake it for dumpbin and say T for any non-static function
  5667. # and D for any global variable.
  5668. # Also find C++ and __fastcall symbols from MSVC++,
  5669. # which start with @ or ?.
  5670. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5671. " {last_section=section; section=\$ 3};"\
  5672. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5673. " \$ 0!~/External *\|/{next};"\
  5674. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5675. " {if(hide[section]) next};"\
  5676. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5677. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5678. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5679. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5680. " ' prfx=^$ac_symprfx"
  5681. else
  5682. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5683. fi
  5684. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5685. # Check to see that the pipe works correctly.
  5686. pipe_works=no
  5687. rm -f conftest*
  5688. cat > conftest.$ac_ext <<_LT_EOF
  5689. #ifdef __cplusplus
  5690. extern "C" {
  5691. #endif
  5692. char nm_test_var;
  5693. void nm_test_func(void);
  5694. void nm_test_func(void){}
  5695. #ifdef __cplusplus
  5696. }
  5697. #endif
  5698. int main(){nm_test_var='a';nm_test_func();return(0);}
  5699. _LT_EOF
  5700. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5701. (eval $ac_compile) 2>&5
  5702. ac_status=$?
  5703. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5704. test $ac_status = 0; }; then
  5705. # Now try to grab the symbols.
  5706. nlist=conftest.nm
  5707. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5708. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5709. ac_status=$?
  5710. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5711. test $ac_status = 0; } && test -s "$nlist"; then
  5712. # Try sorting and uniquifying the output.
  5713. if sort "$nlist" | uniq > "$nlist"T; then
  5714. mv -f "$nlist"T "$nlist"
  5715. else
  5716. rm -f "$nlist"T
  5717. fi
  5718. # Make sure that we snagged all the symbols we need.
  5719. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5720. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5721. cat <<_LT_EOF > conftest.$ac_ext
  5722. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  5723. #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  5724. /* DATA imports from DLLs on WIN32 con't be const, because runtime
  5725. relocations are performed -- see ld's documentation on pseudo-relocs. */
  5726. # define LT_DLSYM_CONST
  5727. #elif defined(__osf__)
  5728. /* This system does not cope well with relocations in const data. */
  5729. # define LT_DLSYM_CONST
  5730. #else
  5731. # define LT_DLSYM_CONST const
  5732. #endif
  5733. #ifdef __cplusplus
  5734. extern "C" {
  5735. #endif
  5736. _LT_EOF
  5737. # Now generate the symbol file.
  5738. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5739. cat <<_LT_EOF >> conftest.$ac_ext
  5740. /* The mapping between symbol names and symbols. */
  5741. LT_DLSYM_CONST struct {
  5742. const char *name;
  5743. void *address;
  5744. }
  5745. lt__PROGRAM__LTX_preloaded_symbols[] =
  5746. {
  5747. { "@PROGRAM@", (void *) 0 },
  5748. _LT_EOF
  5749. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5750. cat <<\_LT_EOF >> conftest.$ac_ext
  5751. {0, (void *) 0}
  5752. };
  5753. /* This works around a problem in FreeBSD linker */
  5754. #ifdef FREEBSD_WORKAROUND
  5755. static const void *lt_preloaded_setup() {
  5756. return lt__PROGRAM__LTX_preloaded_symbols;
  5757. }
  5758. #endif
  5759. #ifdef __cplusplus
  5760. }
  5761. #endif
  5762. _LT_EOF
  5763. # Now try linking the two files.
  5764. mv conftest.$ac_objext conftstm.$ac_objext
  5765. lt_globsym_save_LIBS=$LIBS
  5766. lt_globsym_save_CFLAGS=$CFLAGS
  5767. LIBS="conftstm.$ac_objext"
  5768. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5769. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5770. (eval $ac_link) 2>&5
  5771. ac_status=$?
  5772. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5773. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5774. pipe_works=yes
  5775. fi
  5776. LIBS=$lt_globsym_save_LIBS
  5777. CFLAGS=$lt_globsym_save_CFLAGS
  5778. else
  5779. echo "cannot find nm_test_func in $nlist" >&5
  5780. fi
  5781. else
  5782. echo "cannot find nm_test_var in $nlist" >&5
  5783. fi
  5784. else
  5785. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5786. fi
  5787. else
  5788. echo "$progname: failed program was:" >&5
  5789. cat conftest.$ac_ext >&5
  5790. fi
  5791. rm -rf conftest* conftst*
  5792. # Do not use the global_symbol_pipe unless it works.
  5793. if test "$pipe_works" = yes; then
  5794. break
  5795. else
  5796. lt_cv_sys_global_symbol_pipe=
  5797. fi
  5798. done
  5799. fi
  5800. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5801. lt_cv_sys_global_symbol_to_cdecl=
  5802. fi
  5803. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5804. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5805. $as_echo "failed" >&6; }
  5806. else
  5807. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5808. $as_echo "ok" >&6; }
  5809. fi
  5810. # Response file support.
  5811. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5812. nm_file_list_spec='@'
  5813. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  5814. nm_file_list_spec='@'
  5815. fi
  5816. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  5817. $as_echo_n "checking for sysroot... " >&6; }
  5818. # Check whether --with-sysroot was given.
  5819. if test "${with_sysroot+set}" = set; then :
  5820. withval=$with_sysroot;
  5821. else
  5822. with_sysroot=no
  5823. fi
  5824. lt_sysroot=
  5825. case ${with_sysroot} in #(
  5826. yes)
  5827. if test "$GCC" = yes; then
  5828. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  5829. fi
  5830. ;; #(
  5831. /*)
  5832. lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  5833. ;; #(
  5834. no|'')
  5835. ;; #(
  5836. *)
  5837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  5838. $as_echo "${with_sysroot}" >&6; }
  5839. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  5840. ;;
  5841. esac
  5842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  5843. $as_echo "${lt_sysroot:-no}" >&6; }
  5844. # Check whether --enable-libtool-lock was given.
  5845. if test "${enable_libtool_lock+set}" = set; then :
  5846. enableval=$enable_libtool_lock;
  5847. fi
  5848. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5849. # Some flags need to be propagated to the compiler or linker for good
  5850. # libtool support.
  5851. case $host in
  5852. ia64-*-hpux*)
  5853. # Find out which ABI we are using.
  5854. echo 'int i;' > conftest.$ac_ext
  5855. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5856. (eval $ac_compile) 2>&5
  5857. ac_status=$?
  5858. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5859. test $ac_status = 0; }; then
  5860. case `/usr/bin/file conftest.$ac_objext` in
  5861. *ELF-32*)
  5862. HPUX_IA64_MODE="32"
  5863. ;;
  5864. *ELF-64*)
  5865. HPUX_IA64_MODE="64"
  5866. ;;
  5867. esac
  5868. fi
  5869. rm -rf conftest*
  5870. ;;
  5871. *-*-irix6*)
  5872. # Find out which ABI we are using.
  5873. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5874. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5875. (eval $ac_compile) 2>&5
  5876. ac_status=$?
  5877. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5878. test $ac_status = 0; }; then
  5879. if test "$lt_cv_prog_gnu_ld" = yes; then
  5880. case `/usr/bin/file conftest.$ac_objext` in
  5881. *32-bit*)
  5882. LD="${LD-ld} -melf32bsmip"
  5883. ;;
  5884. *N32*)
  5885. LD="${LD-ld} -melf32bmipn32"
  5886. ;;
  5887. *64-bit*)
  5888. LD="${LD-ld} -melf64bmip"
  5889. ;;
  5890. esac
  5891. else
  5892. case `/usr/bin/file conftest.$ac_objext` in
  5893. *32-bit*)
  5894. LD="${LD-ld} -32"
  5895. ;;
  5896. *N32*)
  5897. LD="${LD-ld} -n32"
  5898. ;;
  5899. *64-bit*)
  5900. LD="${LD-ld} -64"
  5901. ;;
  5902. esac
  5903. fi
  5904. fi
  5905. rm -rf conftest*
  5906. ;;
  5907. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5908. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5909. # Find out which ABI we are using.
  5910. echo 'int i;' > conftest.$ac_ext
  5911. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5912. (eval $ac_compile) 2>&5
  5913. ac_status=$?
  5914. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5915. test $ac_status = 0; }; then
  5916. case `/usr/bin/file conftest.o` in
  5917. *32-bit*)
  5918. case $host in
  5919. x86_64-*kfreebsd*-gnu)
  5920. LD="${LD-ld} -m elf_i386_fbsd"
  5921. ;;
  5922. x86_64-*linux*)
  5923. LD="${LD-ld} -m elf_i386"
  5924. ;;
  5925. ppc64-*linux*|powerpc64-*linux*)
  5926. LD="${LD-ld} -m elf32ppclinux"
  5927. ;;
  5928. s390x-*linux*)
  5929. LD="${LD-ld} -m elf_s390"
  5930. ;;
  5931. sparc64-*linux*)
  5932. LD="${LD-ld} -m elf32_sparc"
  5933. ;;
  5934. esac
  5935. ;;
  5936. *64-bit*)
  5937. case $host in
  5938. x86_64-*kfreebsd*-gnu)
  5939. LD="${LD-ld} -m elf_x86_64_fbsd"
  5940. ;;
  5941. x86_64-*linux*)
  5942. LD="${LD-ld} -m elf_x86_64"
  5943. ;;
  5944. ppc*-*linux*|powerpc*-*linux*)
  5945. LD="${LD-ld} -m elf64ppc"
  5946. ;;
  5947. s390*-*linux*|s390*-*tpf*)
  5948. LD="${LD-ld} -m elf64_s390"
  5949. ;;
  5950. sparc*-*linux*)
  5951. LD="${LD-ld} -m elf64_sparc"
  5952. ;;
  5953. esac
  5954. ;;
  5955. esac
  5956. fi
  5957. rm -rf conftest*
  5958. ;;
  5959. *-*-sco3.2v5*)
  5960. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5961. SAVE_CFLAGS="$CFLAGS"
  5962. CFLAGS="$CFLAGS -belf"
  5963. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  5964. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5965. if ${lt_cv_cc_needs_belf+:} false; then :
  5966. $as_echo_n "(cached) " >&6
  5967. else
  5968. ac_ext=c
  5969. ac_cpp='$CPP $CPPFLAGS'
  5970. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5971. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5972. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5973. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5974. /* end confdefs.h. */
  5975. int
  5976. main ()
  5977. {
  5978. ;
  5979. return 0;
  5980. }
  5981. _ACEOF
  5982. if ac_fn_c_try_link "$LINENO"; then :
  5983. lt_cv_cc_needs_belf=yes
  5984. else
  5985. lt_cv_cc_needs_belf=no
  5986. fi
  5987. rm -f core conftest.err conftest.$ac_objext \
  5988. conftest$ac_exeext conftest.$ac_ext
  5989. ac_ext=c
  5990. ac_cpp='$CPP $CPPFLAGS'
  5991. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5992. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5993. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5994. fi
  5995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  5996. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5997. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5998. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5999. CFLAGS="$SAVE_CFLAGS"
  6000. fi
  6001. ;;
  6002. sparc*-*solaris*)
  6003. # Find out which ABI we are using.
  6004. echo 'int i;' > conftest.$ac_ext
  6005. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6006. (eval $ac_compile) 2>&5
  6007. ac_status=$?
  6008. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6009. test $ac_status = 0; }; then
  6010. case `/usr/bin/file conftest.o` in
  6011. *64-bit*)
  6012. case $lt_cv_prog_gnu_ld in
  6013. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6014. *)
  6015. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6016. LD="${LD-ld} -64"
  6017. fi
  6018. ;;
  6019. esac
  6020. ;;
  6021. esac
  6022. fi
  6023. rm -rf conftest*
  6024. ;;
  6025. esac
  6026. need_locks="$enable_libtool_lock"
  6027. if test -n "$ac_tool_prefix"; then
  6028. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  6029. set dummy ${ac_tool_prefix}mt; ac_word=$2
  6030. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6031. $as_echo_n "checking for $ac_word... " >&6; }
  6032. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  6033. $as_echo_n "(cached) " >&6
  6034. else
  6035. if test -n "$MANIFEST_TOOL"; then
  6036. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  6037. else
  6038. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6039. for as_dir in $PATH
  6040. do
  6041. IFS=$as_save_IFS
  6042. test -z "$as_dir" && as_dir=.
  6043. for ac_exec_ext in '' $ac_executable_extensions; do
  6044. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6045. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  6046. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6047. break 2
  6048. fi
  6049. done
  6050. done
  6051. IFS=$as_save_IFS
  6052. fi
  6053. fi
  6054. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  6055. if test -n "$MANIFEST_TOOL"; then
  6056. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  6057. $as_echo "$MANIFEST_TOOL" >&6; }
  6058. else
  6059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6060. $as_echo "no" >&6; }
  6061. fi
  6062. fi
  6063. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  6064. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  6065. # Extract the first word of "mt", so it can be a program name with args.
  6066. set dummy mt; ac_word=$2
  6067. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6068. $as_echo_n "checking for $ac_word... " >&6; }
  6069. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  6070. $as_echo_n "(cached) " >&6
  6071. else
  6072. if test -n "$ac_ct_MANIFEST_TOOL"; then
  6073. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  6074. else
  6075. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6076. for as_dir in $PATH
  6077. do
  6078. IFS=$as_save_IFS
  6079. test -z "$as_dir" && as_dir=.
  6080. for ac_exec_ext in '' $ac_executable_extensions; do
  6081. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6082. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  6083. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6084. break 2
  6085. fi
  6086. done
  6087. done
  6088. IFS=$as_save_IFS
  6089. fi
  6090. fi
  6091. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  6092. if test -n "$ac_ct_MANIFEST_TOOL"; then
  6093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  6094. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  6095. else
  6096. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6097. $as_echo "no" >&6; }
  6098. fi
  6099. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  6100. MANIFEST_TOOL=":"
  6101. else
  6102. case $cross_compiling:$ac_tool_warned in
  6103. yes:)
  6104. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6105. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6106. ac_tool_warned=yes ;;
  6107. esac
  6108. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  6109. fi
  6110. else
  6111. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  6112. fi
  6113. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  6114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  6115. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  6116. if ${lt_cv_path_mainfest_tool+:} false; then :
  6117. $as_echo_n "(cached) " >&6
  6118. else
  6119. lt_cv_path_mainfest_tool=no
  6120. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  6121. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  6122. cat conftest.err >&5
  6123. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  6124. lt_cv_path_mainfest_tool=yes
  6125. fi
  6126. rm -f conftest*
  6127. fi
  6128. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  6129. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  6130. if test "x$lt_cv_path_mainfest_tool" != xyes; then
  6131. MANIFEST_TOOL=:
  6132. fi
  6133. case $host_os in
  6134. rhapsody* | darwin*)
  6135. if test -n "$ac_tool_prefix"; then
  6136. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6137. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6139. $as_echo_n "checking for $ac_word... " >&6; }
  6140. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  6141. $as_echo_n "(cached) " >&6
  6142. else
  6143. if test -n "$DSYMUTIL"; then
  6144. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6145. else
  6146. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6147. for as_dir in $PATH
  6148. do
  6149. IFS=$as_save_IFS
  6150. test -z "$as_dir" && as_dir=.
  6151. for ac_exec_ext in '' $ac_executable_extensions; do
  6152. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6153. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6154. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6155. break 2
  6156. fi
  6157. done
  6158. done
  6159. IFS=$as_save_IFS
  6160. fi
  6161. fi
  6162. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6163. if test -n "$DSYMUTIL"; then
  6164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  6165. $as_echo "$DSYMUTIL" >&6; }
  6166. else
  6167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6168. $as_echo "no" >&6; }
  6169. fi
  6170. fi
  6171. if test -z "$ac_cv_prog_DSYMUTIL"; then
  6172. ac_ct_DSYMUTIL=$DSYMUTIL
  6173. # Extract the first word of "dsymutil", so it can be a program name with args.
  6174. set dummy dsymutil; ac_word=$2
  6175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6176. $as_echo_n "checking for $ac_word... " >&6; }
  6177. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  6178. $as_echo_n "(cached) " >&6
  6179. else
  6180. if test -n "$ac_ct_DSYMUTIL"; then
  6181. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6182. else
  6183. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6184. for as_dir in $PATH
  6185. do
  6186. IFS=$as_save_IFS
  6187. test -z "$as_dir" && as_dir=.
  6188. for ac_exec_ext in '' $ac_executable_extensions; do
  6189. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6190. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6191. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6192. break 2
  6193. fi
  6194. done
  6195. done
  6196. IFS=$as_save_IFS
  6197. fi
  6198. fi
  6199. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6200. if test -n "$ac_ct_DSYMUTIL"; then
  6201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  6202. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6203. else
  6204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6205. $as_echo "no" >&6; }
  6206. fi
  6207. if test "x$ac_ct_DSYMUTIL" = x; then
  6208. DSYMUTIL=":"
  6209. else
  6210. case $cross_compiling:$ac_tool_warned in
  6211. yes:)
  6212. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6213. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6214. ac_tool_warned=yes ;;
  6215. esac
  6216. DSYMUTIL=$ac_ct_DSYMUTIL
  6217. fi
  6218. else
  6219. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6220. fi
  6221. if test -n "$ac_tool_prefix"; then
  6222. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6223. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6225. $as_echo_n "checking for $ac_word... " >&6; }
  6226. if ${ac_cv_prog_NMEDIT+:} false; then :
  6227. $as_echo_n "(cached) " >&6
  6228. else
  6229. if test -n "$NMEDIT"; then
  6230. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6231. else
  6232. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6233. for as_dir in $PATH
  6234. do
  6235. IFS=$as_save_IFS
  6236. test -z "$as_dir" && as_dir=.
  6237. for ac_exec_ext in '' $ac_executable_extensions; do
  6238. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6239. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6240. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6241. break 2
  6242. fi
  6243. done
  6244. done
  6245. IFS=$as_save_IFS
  6246. fi
  6247. fi
  6248. NMEDIT=$ac_cv_prog_NMEDIT
  6249. if test -n "$NMEDIT"; then
  6250. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6251. $as_echo "$NMEDIT" >&6; }
  6252. else
  6253. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6254. $as_echo "no" >&6; }
  6255. fi
  6256. fi
  6257. if test -z "$ac_cv_prog_NMEDIT"; then
  6258. ac_ct_NMEDIT=$NMEDIT
  6259. # Extract the first word of "nmedit", so it can be a program name with args.
  6260. set dummy nmedit; ac_word=$2
  6261. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6262. $as_echo_n "checking for $ac_word... " >&6; }
  6263. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  6264. $as_echo_n "(cached) " >&6
  6265. else
  6266. if test -n "$ac_ct_NMEDIT"; then
  6267. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6268. else
  6269. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6270. for as_dir in $PATH
  6271. do
  6272. IFS=$as_save_IFS
  6273. test -z "$as_dir" && as_dir=.
  6274. for ac_exec_ext in '' $ac_executable_extensions; do
  6275. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6276. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6277. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6278. break 2
  6279. fi
  6280. done
  6281. done
  6282. IFS=$as_save_IFS
  6283. fi
  6284. fi
  6285. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6286. if test -n "$ac_ct_NMEDIT"; then
  6287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6288. $as_echo "$ac_ct_NMEDIT" >&6; }
  6289. else
  6290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6291. $as_echo "no" >&6; }
  6292. fi
  6293. if test "x$ac_ct_NMEDIT" = x; then
  6294. NMEDIT=":"
  6295. else
  6296. case $cross_compiling:$ac_tool_warned in
  6297. yes:)
  6298. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6299. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6300. ac_tool_warned=yes ;;
  6301. esac
  6302. NMEDIT=$ac_ct_NMEDIT
  6303. fi
  6304. else
  6305. NMEDIT="$ac_cv_prog_NMEDIT"
  6306. fi
  6307. if test -n "$ac_tool_prefix"; then
  6308. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6309. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6311. $as_echo_n "checking for $ac_word... " >&6; }
  6312. if ${ac_cv_prog_LIPO+:} false; then :
  6313. $as_echo_n "(cached) " >&6
  6314. else
  6315. if test -n "$LIPO"; then
  6316. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6317. else
  6318. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6319. for as_dir in $PATH
  6320. do
  6321. IFS=$as_save_IFS
  6322. test -z "$as_dir" && as_dir=.
  6323. for ac_exec_ext in '' $ac_executable_extensions; do
  6324. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6325. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6326. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6327. break 2
  6328. fi
  6329. done
  6330. done
  6331. IFS=$as_save_IFS
  6332. fi
  6333. fi
  6334. LIPO=$ac_cv_prog_LIPO
  6335. if test -n "$LIPO"; then
  6336. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6337. $as_echo "$LIPO" >&6; }
  6338. else
  6339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6340. $as_echo "no" >&6; }
  6341. fi
  6342. fi
  6343. if test -z "$ac_cv_prog_LIPO"; then
  6344. ac_ct_LIPO=$LIPO
  6345. # Extract the first word of "lipo", so it can be a program name with args.
  6346. set dummy lipo; ac_word=$2
  6347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6348. $as_echo_n "checking for $ac_word... " >&6; }
  6349. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6350. $as_echo_n "(cached) " >&6
  6351. else
  6352. if test -n "$ac_ct_LIPO"; then
  6353. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6354. else
  6355. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6356. for as_dir in $PATH
  6357. do
  6358. IFS=$as_save_IFS
  6359. test -z "$as_dir" && as_dir=.
  6360. for ac_exec_ext in '' $ac_executable_extensions; do
  6361. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6362. ac_cv_prog_ac_ct_LIPO="lipo"
  6363. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6364. break 2
  6365. fi
  6366. done
  6367. done
  6368. IFS=$as_save_IFS
  6369. fi
  6370. fi
  6371. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6372. if test -n "$ac_ct_LIPO"; then
  6373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6374. $as_echo "$ac_ct_LIPO" >&6; }
  6375. else
  6376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6377. $as_echo "no" >&6; }
  6378. fi
  6379. if test "x$ac_ct_LIPO" = x; then
  6380. LIPO=":"
  6381. else
  6382. case $cross_compiling:$ac_tool_warned in
  6383. yes:)
  6384. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6385. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6386. ac_tool_warned=yes ;;
  6387. esac
  6388. LIPO=$ac_ct_LIPO
  6389. fi
  6390. else
  6391. LIPO="$ac_cv_prog_LIPO"
  6392. fi
  6393. if test -n "$ac_tool_prefix"; then
  6394. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6395. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6397. $as_echo_n "checking for $ac_word... " >&6; }
  6398. if ${ac_cv_prog_OTOOL+:} false; then :
  6399. $as_echo_n "(cached) " >&6
  6400. else
  6401. if test -n "$OTOOL"; then
  6402. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6403. else
  6404. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6405. for as_dir in $PATH
  6406. do
  6407. IFS=$as_save_IFS
  6408. test -z "$as_dir" && as_dir=.
  6409. for ac_exec_ext in '' $ac_executable_extensions; do
  6410. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6411. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6412. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6413. break 2
  6414. fi
  6415. done
  6416. done
  6417. IFS=$as_save_IFS
  6418. fi
  6419. fi
  6420. OTOOL=$ac_cv_prog_OTOOL
  6421. if test -n "$OTOOL"; then
  6422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6423. $as_echo "$OTOOL" >&6; }
  6424. else
  6425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6426. $as_echo "no" >&6; }
  6427. fi
  6428. fi
  6429. if test -z "$ac_cv_prog_OTOOL"; then
  6430. ac_ct_OTOOL=$OTOOL
  6431. # Extract the first word of "otool", so it can be a program name with args.
  6432. set dummy otool; ac_word=$2
  6433. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6434. $as_echo_n "checking for $ac_word... " >&6; }
  6435. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  6436. $as_echo_n "(cached) " >&6
  6437. else
  6438. if test -n "$ac_ct_OTOOL"; then
  6439. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6440. else
  6441. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6442. for as_dir in $PATH
  6443. do
  6444. IFS=$as_save_IFS
  6445. test -z "$as_dir" && as_dir=.
  6446. for ac_exec_ext in '' $ac_executable_extensions; do
  6447. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6448. ac_cv_prog_ac_ct_OTOOL="otool"
  6449. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6450. break 2
  6451. fi
  6452. done
  6453. done
  6454. IFS=$as_save_IFS
  6455. fi
  6456. fi
  6457. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6458. if test -n "$ac_ct_OTOOL"; then
  6459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6460. $as_echo "$ac_ct_OTOOL" >&6; }
  6461. else
  6462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6463. $as_echo "no" >&6; }
  6464. fi
  6465. if test "x$ac_ct_OTOOL" = x; then
  6466. OTOOL=":"
  6467. else
  6468. case $cross_compiling:$ac_tool_warned in
  6469. yes:)
  6470. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6471. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6472. ac_tool_warned=yes ;;
  6473. esac
  6474. OTOOL=$ac_ct_OTOOL
  6475. fi
  6476. else
  6477. OTOOL="$ac_cv_prog_OTOOL"
  6478. fi
  6479. if test -n "$ac_tool_prefix"; then
  6480. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6481. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6483. $as_echo_n "checking for $ac_word... " >&6; }
  6484. if ${ac_cv_prog_OTOOL64+:} false; then :
  6485. $as_echo_n "(cached) " >&6
  6486. else
  6487. if test -n "$OTOOL64"; then
  6488. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6489. else
  6490. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6491. for as_dir in $PATH
  6492. do
  6493. IFS=$as_save_IFS
  6494. test -z "$as_dir" && as_dir=.
  6495. for ac_exec_ext in '' $ac_executable_extensions; do
  6496. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6497. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6498. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6499. break 2
  6500. fi
  6501. done
  6502. done
  6503. IFS=$as_save_IFS
  6504. fi
  6505. fi
  6506. OTOOL64=$ac_cv_prog_OTOOL64
  6507. if test -n "$OTOOL64"; then
  6508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6509. $as_echo "$OTOOL64" >&6; }
  6510. else
  6511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6512. $as_echo "no" >&6; }
  6513. fi
  6514. fi
  6515. if test -z "$ac_cv_prog_OTOOL64"; then
  6516. ac_ct_OTOOL64=$OTOOL64
  6517. # Extract the first word of "otool64", so it can be a program name with args.
  6518. set dummy otool64; ac_word=$2
  6519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6520. $as_echo_n "checking for $ac_word... " >&6; }
  6521. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  6522. $as_echo_n "(cached) " >&6
  6523. else
  6524. if test -n "$ac_ct_OTOOL64"; then
  6525. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6526. else
  6527. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6528. for as_dir in $PATH
  6529. do
  6530. IFS=$as_save_IFS
  6531. test -z "$as_dir" && as_dir=.
  6532. for ac_exec_ext in '' $ac_executable_extensions; do
  6533. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6534. ac_cv_prog_ac_ct_OTOOL64="otool64"
  6535. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6536. break 2
  6537. fi
  6538. done
  6539. done
  6540. IFS=$as_save_IFS
  6541. fi
  6542. fi
  6543. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6544. if test -n "$ac_ct_OTOOL64"; then
  6545. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  6546. $as_echo "$ac_ct_OTOOL64" >&6; }
  6547. else
  6548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6549. $as_echo "no" >&6; }
  6550. fi
  6551. if test "x$ac_ct_OTOOL64" = x; then
  6552. OTOOL64=":"
  6553. else
  6554. case $cross_compiling:$ac_tool_warned in
  6555. yes:)
  6556. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6557. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6558. ac_tool_warned=yes ;;
  6559. esac
  6560. OTOOL64=$ac_ct_OTOOL64
  6561. fi
  6562. else
  6563. OTOOL64="$ac_cv_prog_OTOOL64"
  6564. fi
  6565. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  6566. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6567. if ${lt_cv_apple_cc_single_mod+:} false; then :
  6568. $as_echo_n "(cached) " >&6
  6569. else
  6570. lt_cv_apple_cc_single_mod=no
  6571. if test -z "${LT_MULTI_MODULE}"; then
  6572. # By default we will add the -single_module flag. You can override
  6573. # by either setting the environment variable LT_MULTI_MODULE
  6574. # non-empty at configure time, or by adding -multi_module to the
  6575. # link flags.
  6576. rm -rf libconftest.dylib*
  6577. echo "int foo(void){return 1;}" > conftest.c
  6578. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6579. -dynamiclib -Wl,-single_module conftest.c" >&5
  6580. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6581. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6582. _lt_result=$?
  6583. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  6584. lt_cv_apple_cc_single_mod=yes
  6585. else
  6586. cat conftest.err >&5
  6587. fi
  6588. rm -rf libconftest.dylib*
  6589. rm -f conftest.*
  6590. fi
  6591. fi
  6592. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  6593. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6594. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  6595. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6596. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  6597. $as_echo_n "(cached) " >&6
  6598. else
  6599. lt_cv_ld_exported_symbols_list=no
  6600. save_LDFLAGS=$LDFLAGS
  6601. echo "_main" > conftest.sym
  6602. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6604. /* end confdefs.h. */
  6605. int
  6606. main ()
  6607. {
  6608. ;
  6609. return 0;
  6610. }
  6611. _ACEOF
  6612. if ac_fn_c_try_link "$LINENO"; then :
  6613. lt_cv_ld_exported_symbols_list=yes
  6614. else
  6615. lt_cv_ld_exported_symbols_list=no
  6616. fi
  6617. rm -f core conftest.err conftest.$ac_objext \
  6618. conftest$ac_exeext conftest.$ac_ext
  6619. LDFLAGS="$save_LDFLAGS"
  6620. fi
  6621. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  6622. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6623. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  6624. $as_echo_n "checking for -force_load linker flag... " >&6; }
  6625. if ${lt_cv_ld_force_load+:} false; then :
  6626. $as_echo_n "(cached) " >&6
  6627. else
  6628. lt_cv_ld_force_load=no
  6629. cat > conftest.c << _LT_EOF
  6630. int forced_loaded() { return 2;}
  6631. _LT_EOF
  6632. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  6633. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  6634. echo "$AR cru libconftest.a conftest.o" >&5
  6635. $AR cru libconftest.a conftest.o 2>&5
  6636. echo "$RANLIB libconftest.a" >&5
  6637. $RANLIB libconftest.a 2>&5
  6638. cat > conftest.c << _LT_EOF
  6639. int main() { return 0;}
  6640. _LT_EOF
  6641. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  6642. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  6643. _lt_result=$?
  6644. if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  6645. lt_cv_ld_force_load=yes
  6646. else
  6647. cat conftest.err >&5
  6648. fi
  6649. rm -f conftest.err libconftest.a conftest conftest.c
  6650. rm -rf conftest.dSYM
  6651. fi
  6652. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  6653. $as_echo "$lt_cv_ld_force_load" >&6; }
  6654. case $host_os in
  6655. rhapsody* | darwin1.[012])
  6656. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6657. darwin1.*)
  6658. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6659. darwin*) # darwin 5.x on
  6660. # if running on 10.5 or later, the deployment target defaults
  6661. # to the OS version, if on x86, and 10.4, the deployment
  6662. # target defaults to 10.4. Don't you love it?
  6663. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6664. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6665. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6666. 10.[012]*)
  6667. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6668. 10.*)
  6669. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6670. esac
  6671. ;;
  6672. esac
  6673. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  6674. _lt_dar_single_mod='$single_module'
  6675. fi
  6676. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  6677. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  6678. else
  6679. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  6680. fi
  6681. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  6682. _lt_dsymutil='~$DSYMUTIL $lib || :'
  6683. else
  6684. _lt_dsymutil=
  6685. fi
  6686. ;;
  6687. esac
  6688. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6689. $as_echo_n "checking for ANSI C header files... " >&6; }
  6690. if ${ac_cv_header_stdc+:} false; then :
  6691. $as_echo_n "(cached) " >&6
  6692. else
  6693. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6694. /* end confdefs.h. */
  6695. #include <stdlib.h>
  6696. #include <stdarg.h>
  6697. #include <string.h>
  6698. #include <float.h>
  6699. int
  6700. main ()
  6701. {
  6702. ;
  6703. return 0;
  6704. }
  6705. _ACEOF
  6706. if ac_fn_c_try_compile "$LINENO"; then :
  6707. ac_cv_header_stdc=yes
  6708. else
  6709. ac_cv_header_stdc=no
  6710. fi
  6711. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6712. if test $ac_cv_header_stdc = yes; then
  6713. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6714. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6715. /* end confdefs.h. */
  6716. #include <string.h>
  6717. _ACEOF
  6718. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6719. $EGREP "memchr" >/dev/null 2>&1; then :
  6720. else
  6721. ac_cv_header_stdc=no
  6722. fi
  6723. rm -f conftest*
  6724. fi
  6725. if test $ac_cv_header_stdc = yes; then
  6726. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6727. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6728. /* end confdefs.h. */
  6729. #include <stdlib.h>
  6730. _ACEOF
  6731. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6732. $EGREP "free" >/dev/null 2>&1; then :
  6733. else
  6734. ac_cv_header_stdc=no
  6735. fi
  6736. rm -f conftest*
  6737. fi
  6738. if test $ac_cv_header_stdc = yes; then
  6739. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6740. if test "$cross_compiling" = yes; then :
  6741. :
  6742. else
  6743. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6744. /* end confdefs.h. */
  6745. #include <ctype.h>
  6746. #include <stdlib.h>
  6747. #if ((' ' & 0x0FF) == 0x020)
  6748. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6749. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6750. #else
  6751. # define ISLOWER(c) \
  6752. (('a' <= (c) && (c) <= 'i') \
  6753. || ('j' <= (c) && (c) <= 'r') \
  6754. || ('s' <= (c) && (c) <= 'z'))
  6755. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6756. #endif
  6757. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6758. int
  6759. main ()
  6760. {
  6761. int i;
  6762. for (i = 0; i < 256; i++)
  6763. if (XOR (islower (i), ISLOWER (i))
  6764. || toupper (i) != TOUPPER (i))
  6765. return 2;
  6766. return 0;
  6767. }
  6768. _ACEOF
  6769. if ac_fn_c_try_run "$LINENO"; then :
  6770. else
  6771. ac_cv_header_stdc=no
  6772. fi
  6773. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6774. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6775. fi
  6776. fi
  6777. fi
  6778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6779. $as_echo "$ac_cv_header_stdc" >&6; }
  6780. if test $ac_cv_header_stdc = yes; then
  6781. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6782. fi
  6783. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6784. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6785. inttypes.h stdint.h unistd.h
  6786. do :
  6787. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6788. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6789. "
  6790. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6791. cat >>confdefs.h <<_ACEOF
  6792. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6793. _ACEOF
  6794. fi
  6795. done
  6796. for ac_header in dlfcn.h
  6797. do :
  6798. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6799. "
  6800. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  6801. cat >>confdefs.h <<_ACEOF
  6802. #define HAVE_DLFCN_H 1
  6803. _ACEOF
  6804. fi
  6805. done
  6806. # Set options
  6807. enable_dlopen=no
  6808. # Check whether --enable-shared was given.
  6809. if test "${enable_shared+set}" = set; then :
  6810. enableval=$enable_shared; p=${PACKAGE-default}
  6811. case $enableval in
  6812. yes) enable_shared=yes ;;
  6813. no) enable_shared=no ;;
  6814. *)
  6815. enable_shared=no
  6816. # Look at the argument we got. We use all the common list separators.
  6817. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6818. for pkg in $enableval; do
  6819. IFS="$lt_save_ifs"
  6820. if test "X$pkg" = "X$p"; then
  6821. enable_shared=yes
  6822. fi
  6823. done
  6824. IFS="$lt_save_ifs"
  6825. ;;
  6826. esac
  6827. else
  6828. enable_shared=yes
  6829. fi
  6830. # Check whether --enable-static was given.
  6831. if test "${enable_static+set}" = set; then :
  6832. enableval=$enable_static; p=${PACKAGE-default}
  6833. case $enableval in
  6834. yes) enable_static=yes ;;
  6835. no) enable_static=no ;;
  6836. *)
  6837. enable_static=no
  6838. # Look at the argument we got. We use all the common list separators.
  6839. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6840. for pkg in $enableval; do
  6841. IFS="$lt_save_ifs"
  6842. if test "X$pkg" = "X$p"; then
  6843. enable_static=yes
  6844. fi
  6845. done
  6846. IFS="$lt_save_ifs"
  6847. ;;
  6848. esac
  6849. else
  6850. enable_static=yes
  6851. fi
  6852. # Check whether --with-pic was given.
  6853. if test "${with_pic+set}" = set; then :
  6854. withval=$with_pic; pic_mode="$withval"
  6855. else
  6856. pic_mode=default
  6857. fi
  6858. test -z "$pic_mode" && pic_mode=default
  6859. # Check whether --enable-fast-install was given.
  6860. if test "${enable_fast_install+set}" = set; then :
  6861. enableval=$enable_fast_install; p=${PACKAGE-default}
  6862. case $enableval in
  6863. yes) enable_fast_install=yes ;;
  6864. no) enable_fast_install=no ;;
  6865. *)
  6866. enable_fast_install=no
  6867. # Look at the argument we got. We use all the common list separators.
  6868. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6869. for pkg in $enableval; do
  6870. IFS="$lt_save_ifs"
  6871. if test "X$pkg" = "X$p"; then
  6872. enable_fast_install=yes
  6873. fi
  6874. done
  6875. IFS="$lt_save_ifs"
  6876. ;;
  6877. esac
  6878. else
  6879. enable_fast_install=yes
  6880. fi
  6881. # This can be used to rebuild libtool when needed
  6882. LIBTOOL_DEPS="$ltmain"
  6883. # Always use our own libtool.
  6884. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  6885. test -z "$LN_S" && LN_S="ln -s"
  6886. if test -n "${ZSH_VERSION+set}" ; then
  6887. setopt NO_GLOB_SUBST
  6888. fi
  6889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  6890. $as_echo_n "checking for objdir... " >&6; }
  6891. if ${lt_cv_objdir+:} false; then :
  6892. $as_echo_n "(cached) " >&6
  6893. else
  6894. rm -f .libs 2>/dev/null
  6895. mkdir .libs 2>/dev/null
  6896. if test -d .libs; then
  6897. lt_cv_objdir=.libs
  6898. else
  6899. # MS-DOS does not allow filenames that begin with a dot.
  6900. lt_cv_objdir=_libs
  6901. fi
  6902. rmdir .libs 2>/dev/null
  6903. fi
  6904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  6905. $as_echo "$lt_cv_objdir" >&6; }
  6906. objdir=$lt_cv_objdir
  6907. cat >>confdefs.h <<_ACEOF
  6908. #define LT_OBJDIR "$lt_cv_objdir/"
  6909. _ACEOF
  6910. case $host_os in
  6911. aix3*)
  6912. # AIX sometimes has problems with the GCC collect2 program. For some
  6913. # reason, if we set the COLLECT_NAMES environment variable, the problems
  6914. # vanish in a puff of smoke.
  6915. if test "X${COLLECT_NAMES+set}" != Xset; then
  6916. COLLECT_NAMES=
  6917. export COLLECT_NAMES
  6918. fi
  6919. ;;
  6920. esac
  6921. # Global variables:
  6922. ofile=libtool
  6923. can_build_shared=yes
  6924. # All known linkers require a `.a' archive for static linking (except MSVC,
  6925. # which needs '.lib').
  6926. libext=a
  6927. with_gnu_ld="$lt_cv_prog_gnu_ld"
  6928. old_CC="$CC"
  6929. old_CFLAGS="$CFLAGS"
  6930. # Set sane defaults for various variables
  6931. test -z "$CC" && CC=cc
  6932. test -z "$LTCC" && LTCC=$CC
  6933. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  6934. test -z "$LD" && LD=ld
  6935. test -z "$ac_objext" && ac_objext=o
  6936. for cc_temp in $compiler""; do
  6937. case $cc_temp in
  6938. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  6939. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  6940. \-*) ;;
  6941. *) break;;
  6942. esac
  6943. done
  6944. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  6945. # Only perform the check for file, if the check method requires it
  6946. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  6947. case $deplibs_check_method in
  6948. file_magic*)
  6949. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  6950. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  6951. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  6952. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  6953. $as_echo_n "(cached) " >&6
  6954. else
  6955. case $MAGIC_CMD in
  6956. [\\/*] | ?:[\\/]*)
  6957. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6958. ;;
  6959. *)
  6960. lt_save_MAGIC_CMD="$MAGIC_CMD"
  6961. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6962. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6963. for ac_dir in $ac_dummy; do
  6964. IFS="$lt_save_ifs"
  6965. test -z "$ac_dir" && ac_dir=.
  6966. if test -f $ac_dir/${ac_tool_prefix}file; then
  6967. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  6968. if test -n "$file_magic_test_file"; then
  6969. case $deplibs_check_method in
  6970. "file_magic "*)
  6971. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6972. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6973. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6974. $EGREP "$file_magic_regex" > /dev/null; then
  6975. :
  6976. else
  6977. cat <<_LT_EOF 1>&2
  6978. *** Warning: the command libtool uses to detect shared libraries,
  6979. *** $file_magic_cmd, produces output that libtool cannot recognize.
  6980. *** The result is that libtool may fail to recognize shared libraries
  6981. *** as such. This will affect the creation of libtool libraries that
  6982. *** depend on shared libraries, but programs linked with such libtool
  6983. *** libraries will work regardless of this problem. Nevertheless, you
  6984. *** may want to report the problem to your system manager and/or to
  6985. *** [email protected]
  6986. _LT_EOF
  6987. fi ;;
  6988. esac
  6989. fi
  6990. break
  6991. fi
  6992. done
  6993. IFS="$lt_save_ifs"
  6994. MAGIC_CMD="$lt_save_MAGIC_CMD"
  6995. ;;
  6996. esac
  6997. fi
  6998. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6999. if test -n "$MAGIC_CMD"; then
  7000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7001. $as_echo "$MAGIC_CMD" >&6; }
  7002. else
  7003. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7004. $as_echo "no" >&6; }
  7005. fi
  7006. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7007. if test -n "$ac_tool_prefix"; then
  7008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  7009. $as_echo_n "checking for file... " >&6; }
  7010. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7011. $as_echo_n "(cached) " >&6
  7012. else
  7013. case $MAGIC_CMD in
  7014. [\\/*] | ?:[\\/]*)
  7015. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7016. ;;
  7017. *)
  7018. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7019. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7020. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7021. for ac_dir in $ac_dummy; do
  7022. IFS="$lt_save_ifs"
  7023. test -z "$ac_dir" && ac_dir=.
  7024. if test -f $ac_dir/file; then
  7025. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  7026. if test -n "$file_magic_test_file"; then
  7027. case $deplibs_check_method in
  7028. "file_magic "*)
  7029. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7030. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7031. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7032. $EGREP "$file_magic_regex" > /dev/null; then
  7033. :
  7034. else
  7035. cat <<_LT_EOF 1>&2
  7036. *** Warning: the command libtool uses to detect shared libraries,
  7037. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7038. *** The result is that libtool may fail to recognize shared libraries
  7039. *** as such. This will affect the creation of libtool libraries that
  7040. *** depend on shared libraries, but programs linked with such libtool
  7041. *** libraries will work regardless of this problem. Nevertheless, you
  7042. *** may want to report the problem to your system manager and/or to
  7043. *** [email protected]
  7044. _LT_EOF
  7045. fi ;;
  7046. esac
  7047. fi
  7048. break
  7049. fi
  7050. done
  7051. IFS="$lt_save_ifs"
  7052. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7053. ;;
  7054. esac
  7055. fi
  7056. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7057. if test -n "$MAGIC_CMD"; then
  7058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7059. $as_echo "$MAGIC_CMD" >&6; }
  7060. else
  7061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7062. $as_echo "no" >&6; }
  7063. fi
  7064. else
  7065. MAGIC_CMD=:
  7066. fi
  7067. fi
  7068. fi
  7069. ;;
  7070. esac
  7071. # Use C for the default configuration in the libtool script
  7072. lt_save_CC="$CC"
  7073. ac_ext=c
  7074. ac_cpp='$CPP $CPPFLAGS'
  7075. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7076. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7077. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7078. # Source file extension for C test sources.
  7079. ac_ext=c
  7080. # Object file extension for compiled C test sources.
  7081. objext=o
  7082. objext=$objext
  7083. # Code to be used in simple compile tests
  7084. lt_simple_compile_test_code="int some_variable = 0;"
  7085. # Code to be used in simple link tests
  7086. lt_simple_link_test_code='int main(){return(0);}'
  7087. # If no C compiler was specified, use CC.
  7088. LTCC=${LTCC-"$CC"}
  7089. # If no C compiler flags were specified, use CFLAGS.
  7090. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7091. # Allow CC to be a program name with arguments.
  7092. compiler=$CC
  7093. # Save the default compiler, since it gets overwritten when the other
  7094. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7095. compiler_DEFAULT=$CC
  7096. # save warnings/boilerplate of simple test code
  7097. ac_outfile=conftest.$ac_objext
  7098. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7099. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7100. _lt_compiler_boilerplate=`cat conftest.err`
  7101. $RM conftest*
  7102. ac_outfile=conftest.$ac_objext
  7103. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7104. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7105. _lt_linker_boilerplate=`cat conftest.err`
  7106. $RM -r conftest*
  7107. if test -n "$compiler"; then
  7108. lt_prog_compiler_no_builtin_flag=
  7109. if test "$GCC" = yes; then
  7110. case $cc_basename in
  7111. nvcc*)
  7112. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7113. *)
  7114. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7115. esac
  7116. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7117. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7118. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  7119. $as_echo_n "(cached) " >&6
  7120. else
  7121. lt_cv_prog_compiler_rtti_exceptions=no
  7122. ac_outfile=conftest.$ac_objext
  7123. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7124. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7125. # Insert the option either (1) after the last *FLAGS variable, or
  7126. # (2) before a word containing "conftest.", or (3) at the end.
  7127. # Note that $ac_compile itself does not contain backslashes and begins
  7128. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7129. # The option is referenced via a variable to avoid confusing sed.
  7130. lt_compile=`echo "$ac_compile" | $SED \
  7131. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7132. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7133. -e 's:$: $lt_compiler_flag:'`
  7134. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7135. (eval "$lt_compile" 2>conftest.err)
  7136. ac_status=$?
  7137. cat conftest.err >&5
  7138. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7139. if (exit $ac_status) && test -s "$ac_outfile"; then
  7140. # The compiler can only warn and ignore the option if not recognized
  7141. # So say no if there are warnings other than the usual output.
  7142. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7143. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7144. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7145. lt_cv_prog_compiler_rtti_exceptions=yes
  7146. fi
  7147. fi
  7148. $RM conftest*
  7149. fi
  7150. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7151. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7152. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  7153. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7154. else
  7155. :
  7156. fi
  7157. fi
  7158. lt_prog_compiler_wl=
  7159. lt_prog_compiler_pic=
  7160. lt_prog_compiler_static=
  7161. if test "$GCC" = yes; then
  7162. lt_prog_compiler_wl='-Wl,'
  7163. lt_prog_compiler_static='-static'
  7164. case $host_os in
  7165. aix*)
  7166. # All AIX code is PIC.
  7167. if test "$host_cpu" = ia64; then
  7168. # AIX 5 now supports IA64 processor
  7169. lt_prog_compiler_static='-Bstatic'
  7170. fi
  7171. ;;
  7172. amigaos*)
  7173. case $host_cpu in
  7174. powerpc)
  7175. # see comment about AmigaOS4 .so support
  7176. lt_prog_compiler_pic='-fPIC'
  7177. ;;
  7178. m68k)
  7179. # FIXME: we need at least 68020 code to build shared libraries, but
  7180. # adding the `-m68020' flag to GCC prevents building anything better,
  7181. # like `-m68040'.
  7182. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7183. ;;
  7184. esac
  7185. ;;
  7186. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7187. # PIC is the default for these OSes.
  7188. ;;
  7189. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7190. # This hack is so that the source file can tell whether it is being
  7191. # built for inclusion in a dll (and should export symbols for example).
  7192. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7193. # (--disable-auto-import) libraries
  7194. lt_prog_compiler_pic='-DDLL_EXPORT'
  7195. ;;
  7196. darwin* | rhapsody*)
  7197. # PIC is the default on this platform
  7198. # Common symbols not allowed in MH_DYLIB files
  7199. lt_prog_compiler_pic='-fno-common'
  7200. ;;
  7201. haiku*)
  7202. # PIC is the default for Haiku.
  7203. # The "-static" flag exists, but is broken.
  7204. lt_prog_compiler_static=
  7205. ;;
  7206. hpux*)
  7207. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7208. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7209. # sets the default TLS model and affects inlining.
  7210. case $host_cpu in
  7211. hppa*64*)
  7212. # +Z the default
  7213. ;;
  7214. *)
  7215. lt_prog_compiler_pic='-fPIC'
  7216. ;;
  7217. esac
  7218. ;;
  7219. interix[3-9]*)
  7220. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7221. # Instead, we relocate shared libraries at runtime.
  7222. ;;
  7223. msdosdjgpp*)
  7224. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7225. # on systems that don't support them.
  7226. lt_prog_compiler_can_build_shared=no
  7227. enable_shared=no
  7228. ;;
  7229. *nto* | *qnx*)
  7230. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7231. # it will coredump.
  7232. lt_prog_compiler_pic='-fPIC -shared'
  7233. ;;
  7234. sysv4*MP*)
  7235. if test -d /usr/nec; then
  7236. lt_prog_compiler_pic=-Kconform_pic
  7237. fi
  7238. ;;
  7239. *)
  7240. lt_prog_compiler_pic='-fPIC'
  7241. ;;
  7242. esac
  7243. case $cc_basename in
  7244. nvcc*) # Cuda Compiler Driver 2.2
  7245. lt_prog_compiler_wl='-Xlinker '
  7246. lt_prog_compiler_pic='-Xcompiler -fPIC'
  7247. ;;
  7248. esac
  7249. else
  7250. # PORTME Check for flag to pass linker flags through the system compiler.
  7251. case $host_os in
  7252. aix*)
  7253. lt_prog_compiler_wl='-Wl,'
  7254. if test "$host_cpu" = ia64; then
  7255. # AIX 5 now supports IA64 processor
  7256. lt_prog_compiler_static='-Bstatic'
  7257. else
  7258. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7259. fi
  7260. ;;
  7261. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7262. # This hack is so that the source file can tell whether it is being
  7263. # built for inclusion in a dll (and should export symbols for example).
  7264. lt_prog_compiler_pic='-DDLL_EXPORT'
  7265. ;;
  7266. hpux9* | hpux10* | hpux11*)
  7267. lt_prog_compiler_wl='-Wl,'
  7268. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7269. # not for PA HP-UX.
  7270. case $host_cpu in
  7271. hppa*64*|ia64*)
  7272. # +Z the default
  7273. ;;
  7274. *)
  7275. lt_prog_compiler_pic='+Z'
  7276. ;;
  7277. esac
  7278. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7279. lt_prog_compiler_static='${wl}-a ${wl}archive'
  7280. ;;
  7281. irix5* | irix6* | nonstopux*)
  7282. lt_prog_compiler_wl='-Wl,'
  7283. # PIC (with -KPIC) is the default.
  7284. lt_prog_compiler_static='-non_shared'
  7285. ;;
  7286. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  7287. case $cc_basename in
  7288. # old Intel for x86_64 which still supported -KPIC.
  7289. ecc*)
  7290. lt_prog_compiler_wl='-Wl,'
  7291. lt_prog_compiler_pic='-KPIC'
  7292. lt_prog_compiler_static='-static'
  7293. ;;
  7294. # icc used to be incompatible with GCC.
  7295. # ICC 10 doesn't accept -KPIC any more.
  7296. icc* | ifort*)
  7297. lt_prog_compiler_wl='-Wl,'
  7298. lt_prog_compiler_pic='-fPIC'
  7299. lt_prog_compiler_static='-static'
  7300. ;;
  7301. # Lahey Fortran 8.1.
  7302. lf95*)
  7303. lt_prog_compiler_wl='-Wl,'
  7304. lt_prog_compiler_pic='--shared'
  7305. lt_prog_compiler_static='--static'
  7306. ;;
  7307. nagfor*)
  7308. # NAG Fortran compiler
  7309. lt_prog_compiler_wl='-Wl,-Wl,,'
  7310. lt_prog_compiler_pic='-PIC'
  7311. lt_prog_compiler_static='-Bstatic'
  7312. ;;
  7313. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  7314. # Portland Group compilers (*not* the Pentium gcc compiler,
  7315. # which looks to be a dead project)
  7316. lt_prog_compiler_wl='-Wl,'
  7317. lt_prog_compiler_pic='-fpic'
  7318. lt_prog_compiler_static='-Bstatic'
  7319. ;;
  7320. ccc*)
  7321. lt_prog_compiler_wl='-Wl,'
  7322. # All Alpha code is PIC.
  7323. lt_prog_compiler_static='-non_shared'
  7324. ;;
  7325. xl* | bgxl* | bgf* | mpixl*)
  7326. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  7327. lt_prog_compiler_wl='-Wl,'
  7328. lt_prog_compiler_pic='-qpic'
  7329. lt_prog_compiler_static='-qstaticlink'
  7330. ;;
  7331. *)
  7332. case `$CC -V 2>&1 | sed 5q` in
  7333. *Sun\ F* | *Sun*Fortran*)
  7334. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7335. lt_prog_compiler_pic='-KPIC'
  7336. lt_prog_compiler_static='-Bstatic'
  7337. lt_prog_compiler_wl=''
  7338. ;;
  7339. *Sun\ C*)
  7340. # Sun C 5.9
  7341. lt_prog_compiler_pic='-KPIC'
  7342. lt_prog_compiler_static='-Bstatic'
  7343. lt_prog_compiler_wl='-Wl,'
  7344. ;;
  7345. esac
  7346. ;;
  7347. esac
  7348. ;;
  7349. newsos6)
  7350. lt_prog_compiler_pic='-KPIC'
  7351. lt_prog_compiler_static='-Bstatic'
  7352. ;;
  7353. *nto* | *qnx*)
  7354. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7355. # it will coredump.
  7356. lt_prog_compiler_pic='-fPIC -shared'
  7357. ;;
  7358. osf3* | osf4* | osf5*)
  7359. lt_prog_compiler_wl='-Wl,'
  7360. # All OSF/1 code is PIC.
  7361. lt_prog_compiler_static='-non_shared'
  7362. ;;
  7363. rdos*)
  7364. lt_prog_compiler_static='-non_shared'
  7365. ;;
  7366. solaris*)
  7367. lt_prog_compiler_pic='-KPIC'
  7368. lt_prog_compiler_static='-Bstatic'
  7369. case $cc_basename in
  7370. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  7371. lt_prog_compiler_wl='-Qoption ld ';;
  7372. *)
  7373. lt_prog_compiler_wl='-Wl,';;
  7374. esac
  7375. ;;
  7376. sunos4*)
  7377. lt_prog_compiler_wl='-Qoption ld '
  7378. lt_prog_compiler_pic='-PIC'
  7379. lt_prog_compiler_static='-Bstatic'
  7380. ;;
  7381. sysv4 | sysv4.2uw2* | sysv4.3*)
  7382. lt_prog_compiler_wl='-Wl,'
  7383. lt_prog_compiler_pic='-KPIC'
  7384. lt_prog_compiler_static='-Bstatic'
  7385. ;;
  7386. sysv4*MP*)
  7387. if test -d /usr/nec ;then
  7388. lt_prog_compiler_pic='-Kconform_pic'
  7389. lt_prog_compiler_static='-Bstatic'
  7390. fi
  7391. ;;
  7392. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7393. lt_prog_compiler_wl='-Wl,'
  7394. lt_prog_compiler_pic='-KPIC'
  7395. lt_prog_compiler_static='-Bstatic'
  7396. ;;
  7397. unicos*)
  7398. lt_prog_compiler_wl='-Wl,'
  7399. lt_prog_compiler_can_build_shared=no
  7400. ;;
  7401. uts4*)
  7402. lt_prog_compiler_pic='-pic'
  7403. lt_prog_compiler_static='-Bstatic'
  7404. ;;
  7405. *)
  7406. lt_prog_compiler_can_build_shared=no
  7407. ;;
  7408. esac
  7409. fi
  7410. case $host_os in
  7411. # For platforms which do not support PIC, -DPIC is meaningless:
  7412. *djgpp*)
  7413. lt_prog_compiler_pic=
  7414. ;;
  7415. *)
  7416. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7417. ;;
  7418. esac
  7419. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  7420. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7421. if ${lt_cv_prog_compiler_pic+:} false; then :
  7422. $as_echo_n "(cached) " >&6
  7423. else
  7424. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  7425. fi
  7426. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  7427. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  7428. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  7429. #
  7430. # Check to make sure the PIC flag actually works.
  7431. #
  7432. if test -n "$lt_prog_compiler_pic"; then
  7433. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7434. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7435. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  7436. $as_echo_n "(cached) " >&6
  7437. else
  7438. lt_cv_prog_compiler_pic_works=no
  7439. ac_outfile=conftest.$ac_objext
  7440. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7441. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7442. # Insert the option either (1) after the last *FLAGS variable, or
  7443. # (2) before a word containing "conftest.", or (3) at the end.
  7444. # Note that $ac_compile itself does not contain backslashes and begins
  7445. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7446. # The option is referenced via a variable to avoid confusing sed.
  7447. lt_compile=`echo "$ac_compile" | $SED \
  7448. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7449. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7450. -e 's:$: $lt_compiler_flag:'`
  7451. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7452. (eval "$lt_compile" 2>conftest.err)
  7453. ac_status=$?
  7454. cat conftest.err >&5
  7455. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7456. if (exit $ac_status) && test -s "$ac_outfile"; then
  7457. # The compiler can only warn and ignore the option if not recognized
  7458. # So say no if there are warnings other than the usual output.
  7459. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7460. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7461. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7462. lt_cv_prog_compiler_pic_works=yes
  7463. fi
  7464. fi
  7465. $RM conftest*
  7466. fi
  7467. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7468. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7469. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7470. case $lt_prog_compiler_pic in
  7471. "" | " "*) ;;
  7472. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7473. esac
  7474. else
  7475. lt_prog_compiler_pic=
  7476. lt_prog_compiler_can_build_shared=no
  7477. fi
  7478. fi
  7479. #
  7480. # Check to make sure the static flag actually works.
  7481. #
  7482. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7483. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7484. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7485. if ${lt_cv_prog_compiler_static_works+:} false; then :
  7486. $as_echo_n "(cached) " >&6
  7487. else
  7488. lt_cv_prog_compiler_static_works=no
  7489. save_LDFLAGS="$LDFLAGS"
  7490. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7491. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7492. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7493. # The linker can only warn and ignore the option if not recognized
  7494. # So say no if there are warnings
  7495. if test -s conftest.err; then
  7496. # Append any errors to the config.log.
  7497. cat conftest.err 1>&5
  7498. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  7499. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7500. if diff conftest.exp conftest.er2 >/dev/null; then
  7501. lt_cv_prog_compiler_static_works=yes
  7502. fi
  7503. else
  7504. lt_cv_prog_compiler_static_works=yes
  7505. fi
  7506. fi
  7507. $RM -r conftest*
  7508. LDFLAGS="$save_LDFLAGS"
  7509. fi
  7510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7511. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7512. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7513. :
  7514. else
  7515. lt_prog_compiler_static=
  7516. fi
  7517. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7518. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7519. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7520. $as_echo_n "(cached) " >&6
  7521. else
  7522. lt_cv_prog_compiler_c_o=no
  7523. $RM -r conftest 2>/dev/null
  7524. mkdir conftest
  7525. cd conftest
  7526. mkdir out
  7527. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7528. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7529. # Insert the option either (1) after the last *FLAGS variable, or
  7530. # (2) before a word containing "conftest.", or (3) at the end.
  7531. # Note that $ac_compile itself does not contain backslashes and begins
  7532. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7533. lt_compile=`echo "$ac_compile" | $SED \
  7534. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7535. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7536. -e 's:$: $lt_compiler_flag:'`
  7537. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7538. (eval "$lt_compile" 2>out/conftest.err)
  7539. ac_status=$?
  7540. cat out/conftest.err >&5
  7541. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7542. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7543. then
  7544. # The compiler can only warn and ignore the option if not recognized
  7545. # So say no if there are warnings
  7546. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7547. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7548. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7549. lt_cv_prog_compiler_c_o=yes
  7550. fi
  7551. fi
  7552. chmod u+w . 2>&5
  7553. $RM conftest*
  7554. # SGI C++ compiler will create directory out/ii_files/ for
  7555. # template instantiation
  7556. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7557. $RM out/* && rmdir out
  7558. cd ..
  7559. $RM -r conftest
  7560. $RM conftest*
  7561. fi
  7562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7563. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7564. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7565. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7566. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7567. $as_echo_n "(cached) " >&6
  7568. else
  7569. lt_cv_prog_compiler_c_o=no
  7570. $RM -r conftest 2>/dev/null
  7571. mkdir conftest
  7572. cd conftest
  7573. mkdir out
  7574. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7575. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7576. # Insert the option either (1) after the last *FLAGS variable, or
  7577. # (2) before a word containing "conftest.", or (3) at the end.
  7578. # Note that $ac_compile itself does not contain backslashes and begins
  7579. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7580. lt_compile=`echo "$ac_compile" | $SED \
  7581. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7582. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7583. -e 's:$: $lt_compiler_flag:'`
  7584. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7585. (eval "$lt_compile" 2>out/conftest.err)
  7586. ac_status=$?
  7587. cat out/conftest.err >&5
  7588. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7589. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7590. then
  7591. # The compiler can only warn and ignore the option if not recognized
  7592. # So say no if there are warnings
  7593. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7594. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7595. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7596. lt_cv_prog_compiler_c_o=yes
  7597. fi
  7598. fi
  7599. chmod u+w . 2>&5
  7600. $RM conftest*
  7601. # SGI C++ compiler will create directory out/ii_files/ for
  7602. # template instantiation
  7603. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7604. $RM out/* && rmdir out
  7605. cd ..
  7606. $RM -r conftest
  7607. $RM conftest*
  7608. fi
  7609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7610. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7611. hard_links="nottested"
  7612. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  7613. # do not overwrite the value of need_locks provided by the user
  7614. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  7615. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7616. hard_links=yes
  7617. $RM conftest*
  7618. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7619. touch conftest.a
  7620. ln conftest.a conftest.b 2>&5 || hard_links=no
  7621. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  7623. $as_echo "$hard_links" >&6; }
  7624. if test "$hard_links" = no; then
  7625. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  7626. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  7627. need_locks=warn
  7628. fi
  7629. else
  7630. need_locks=no
  7631. fi
  7632. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7633. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7634. runpath_var=
  7635. allow_undefined_flag=
  7636. always_export_symbols=no
  7637. archive_cmds=
  7638. archive_expsym_cmds=
  7639. compiler_needs_object=no
  7640. enable_shared_with_static_runtimes=no
  7641. export_dynamic_flag_spec=
  7642. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7643. hardcode_automatic=no
  7644. hardcode_direct=no
  7645. hardcode_direct_absolute=no
  7646. hardcode_libdir_flag_spec=
  7647. hardcode_libdir_flag_spec_ld=
  7648. hardcode_libdir_separator=
  7649. hardcode_minus_L=no
  7650. hardcode_shlibpath_var=unsupported
  7651. inherit_rpath=no
  7652. link_all_deplibs=unknown
  7653. module_cmds=
  7654. module_expsym_cmds=
  7655. old_archive_from_new_cmds=
  7656. old_archive_from_expsyms_cmds=
  7657. thread_safe_flag_spec=
  7658. whole_archive_flag_spec=
  7659. # include_expsyms should be a list of space-separated symbols to be *always*
  7660. # included in the symbol list
  7661. include_expsyms=
  7662. # exclude_expsyms can be an extended regexp of symbols to exclude
  7663. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  7664. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  7665. # as well as any symbol that contains `d'.
  7666. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7667. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7668. # platforms (ab)use it in PIC code, but their linkers get confused if
  7669. # the symbol is explicitly referenced. Since portable code cannot
  7670. # rely on this symbol name, it's probably fine to never include it in
  7671. # preloaded symbol tables.
  7672. # Exclude shared library initialization/finalization symbols.
  7673. extract_expsyms_cmds=
  7674. case $host_os in
  7675. cygwin* | mingw* | pw32* | cegcc*)
  7676. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7677. # When not using gcc, we currently assume that we are using
  7678. # Microsoft Visual C++.
  7679. if test "$GCC" != yes; then
  7680. with_gnu_ld=no
  7681. fi
  7682. ;;
  7683. interix*)
  7684. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7685. with_gnu_ld=yes
  7686. ;;
  7687. openbsd*)
  7688. with_gnu_ld=no
  7689. ;;
  7690. linux* | k*bsd*-gnu | gnu*)
  7691. link_all_deplibs=no
  7692. ;;
  7693. esac
  7694. ld_shlibs=yes
  7695. # On some targets, GNU ld is compatible enough with the native linker
  7696. # that we're better off using the native interface for both.
  7697. lt_use_gnu_ld_interface=no
  7698. if test "$with_gnu_ld" = yes; then
  7699. case $host_os in
  7700. aix*)
  7701. # The AIX port of GNU ld has always aspired to compatibility
  7702. # with the native linker. However, as the warning in the GNU ld
  7703. # block says, versions before 2.19.5* couldn't really create working
  7704. # shared libraries, regardless of the interface used.
  7705. case `$LD -v 2>&1` in
  7706. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  7707. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  7708. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  7709. *)
  7710. lt_use_gnu_ld_interface=yes
  7711. ;;
  7712. esac
  7713. ;;
  7714. *)
  7715. lt_use_gnu_ld_interface=yes
  7716. ;;
  7717. esac
  7718. fi
  7719. if test "$lt_use_gnu_ld_interface" = yes; then
  7720. # If archive_cmds runs LD, not CC, wlarc should be empty
  7721. wlarc='${wl}'
  7722. # Set some defaults for GNU ld with shared library support. These
  7723. # are reset later if shared libraries are not supported. Putting them
  7724. # here allows them to be overridden if necessary.
  7725. runpath_var=LD_RUN_PATH
  7726. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7727. export_dynamic_flag_spec='${wl}--export-dynamic'
  7728. # ancient GNU ld didn't support --whole-archive et. al.
  7729. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7730. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7731. else
  7732. whole_archive_flag_spec=
  7733. fi
  7734. supports_anon_versioning=no
  7735. case `$LD -v 2>&1` in
  7736. *GNU\ gold*) supports_anon_versioning=yes ;;
  7737. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7738. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7739. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7740. *\ 2.11.*) ;; # other 2.11 versions
  7741. *) supports_anon_versioning=yes ;;
  7742. esac
  7743. # See if GNU ld supports shared libraries.
  7744. case $host_os in
  7745. aix[3-9]*)
  7746. # On AIX/PPC, the GNU linker is very broken
  7747. if test "$host_cpu" != ia64; then
  7748. ld_shlibs=no
  7749. cat <<_LT_EOF 1>&2
  7750. *** Warning: the GNU linker, at least up to release 2.19, is reported
  7751. *** to be unable to reliably create shared libraries on AIX.
  7752. *** Therefore, libtool is disabling shared libraries support. If you
  7753. *** really care for shared libraries, you may want to install binutils
  7754. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  7755. *** You will then need to restart the configuration process.
  7756. _LT_EOF
  7757. fi
  7758. ;;
  7759. amigaos*)
  7760. case $host_cpu in
  7761. powerpc)
  7762. # see comment about AmigaOS4 .so support
  7763. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7764. archive_expsym_cmds=''
  7765. ;;
  7766. m68k)
  7767. 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)'
  7768. hardcode_libdir_flag_spec='-L$libdir'
  7769. hardcode_minus_L=yes
  7770. ;;
  7771. esac
  7772. ;;
  7773. beos*)
  7774. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7775. allow_undefined_flag=unsupported
  7776. # Joseph Beckenbach <[email protected]> says some releases of gcc
  7777. # support --undefined. This deserves some investigation. FIXME
  7778. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7779. else
  7780. ld_shlibs=no
  7781. fi
  7782. ;;
  7783. cygwin* | mingw* | pw32* | cegcc*)
  7784. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  7785. # as there is no search path for DLLs.
  7786. hardcode_libdir_flag_spec='-L$libdir'
  7787. export_dynamic_flag_spec='${wl}--export-all-symbols'
  7788. allow_undefined_flag=unsupported
  7789. always_export_symbols=no
  7790. enable_shared_with_static_runtimes=yes
  7791. 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'
  7792. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  7793. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  7794. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7795. # If the export-symbols file already is a .def file (1st line
  7796. # is EXPORTS), use it as is; otherwise, prepend...
  7797. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  7798. cp $export_symbols $output_objdir/$soname.def;
  7799. else
  7800. echo EXPORTS > $output_objdir/$soname.def;
  7801. cat $export_symbols >> $output_objdir/$soname.def;
  7802. fi~
  7803. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7804. else
  7805. ld_shlibs=no
  7806. fi
  7807. ;;
  7808. haiku*)
  7809. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7810. link_all_deplibs=yes
  7811. ;;
  7812. interix[3-9]*)
  7813. hardcode_direct=no
  7814. hardcode_shlibpath_var=no
  7815. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7816. export_dynamic_flag_spec='${wl}-E'
  7817. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  7818. # Instead, shared libraries are loaded at an image base (0x10000000 by
  7819. # default) and relocated if they conflict, which is a slow very memory
  7820. # consuming and fragmenting process. To avoid this, we pick a random,
  7821. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  7822. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  7823. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  7824. 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'
  7825. ;;
  7826. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  7827. tmp_diet=no
  7828. if test "$host_os" = linux-dietlibc; then
  7829. case $cc_basename in
  7830. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  7831. esac
  7832. fi
  7833. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  7834. && test "$tmp_diet" = no
  7835. then
  7836. tmp_addflag=' $pic_flag'
  7837. tmp_sharedflag='-shared'
  7838. case $cc_basename,$host_cpu in
  7839. pgcc*) # Portland Group C compiler
  7840. 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'
  7841. tmp_addflag=' $pic_flag'
  7842. ;;
  7843. pgf77* | pgf90* | pgf95* | pgfortran*)
  7844. # Portland Group f77 and f90 compilers
  7845. 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'
  7846. tmp_addflag=' $pic_flag -Mnomain' ;;
  7847. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  7848. tmp_addflag=' -i_dynamic' ;;
  7849. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  7850. tmp_addflag=' -i_dynamic -nofor_main' ;;
  7851. ifc* | ifort*) # Intel Fortran compiler
  7852. tmp_addflag=' -nofor_main' ;;
  7853. lf95*) # Lahey Fortran 8.1
  7854. whole_archive_flag_spec=
  7855. tmp_sharedflag='--shared' ;;
  7856. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  7857. tmp_sharedflag='-qmkshrobj'
  7858. tmp_addflag= ;;
  7859. nvcc*) # Cuda Compiler Driver 2.2
  7860. 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'
  7861. compiler_needs_object=yes
  7862. ;;
  7863. esac
  7864. case `$CC -V 2>&1 | sed 5q` in
  7865. *Sun\ C*) # Sun C 5.9
  7866. 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'
  7867. compiler_needs_object=yes
  7868. tmp_sharedflag='-G' ;;
  7869. *Sun\ F*) # Sun Fortran 8.3
  7870. tmp_sharedflag='-G' ;;
  7871. esac
  7872. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7873. if test "x$supports_anon_versioning" = xyes; then
  7874. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7875. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7876. echo "local: *; };" >> $output_objdir/$libname.ver~
  7877. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  7878. fi
  7879. case $cc_basename in
  7880. xlf* | bgf* | bgxlf* | mpixlf*)
  7881. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  7882. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  7883. hardcode_libdir_flag_spec=
  7884. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  7885. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  7886. if test "x$supports_anon_versioning" = xyes; then
  7887. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7888. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7889. echo "local: *; };" >> $output_objdir/$libname.ver~
  7890. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  7891. fi
  7892. ;;
  7893. esac
  7894. else
  7895. ld_shlibs=no
  7896. fi
  7897. ;;
  7898. netbsd* | netbsdelf*-gnu)
  7899. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  7900. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  7901. wlarc=
  7902. else
  7903. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7904. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7905. fi
  7906. ;;
  7907. solaris*)
  7908. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  7909. ld_shlibs=no
  7910. cat <<_LT_EOF 1>&2
  7911. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  7912. *** create shared libraries on Solaris systems. Therefore, libtool
  7913. *** is disabling shared libraries support. We urge you to upgrade GNU
  7914. *** binutils to release 2.9.1 or newer. Another option is to modify
  7915. *** your PATH or compiler configuration so that the native linker is
  7916. *** used, and then restart.
  7917. _LT_EOF
  7918. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7919. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7920. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7921. else
  7922. ld_shlibs=no
  7923. fi
  7924. ;;
  7925. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  7926. case `$LD -v 2>&1` in
  7927. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  7928. ld_shlibs=no
  7929. cat <<_LT_EOF 1>&2
  7930. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  7931. *** reliably create shared libraries on SCO systems. Therefore, libtool
  7932. *** is disabling shared libraries support. We urge you to upgrade GNU
  7933. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  7934. *** your PATH or compiler configuration so that the native linker is
  7935. *** used, and then restart.
  7936. _LT_EOF
  7937. ;;
  7938. *)
  7939. # For security reasons, it is highly recommended that you always
  7940. # use absolute paths for naming shared libraries, and exclude the
  7941. # DT_RUNPATH tag from executables and libraries. But doing so
  7942. # requires that you compile everything twice, which is a pain.
  7943. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7944. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7945. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7946. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7947. else
  7948. ld_shlibs=no
  7949. fi
  7950. ;;
  7951. esac
  7952. ;;
  7953. sunos4*)
  7954. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7955. wlarc=
  7956. hardcode_direct=yes
  7957. hardcode_shlibpath_var=no
  7958. ;;
  7959. *)
  7960. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7961. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7962. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7963. else
  7964. ld_shlibs=no
  7965. fi
  7966. ;;
  7967. esac
  7968. if test "$ld_shlibs" = no; then
  7969. runpath_var=
  7970. hardcode_libdir_flag_spec=
  7971. export_dynamic_flag_spec=
  7972. whole_archive_flag_spec=
  7973. fi
  7974. else
  7975. # PORTME fill in a description of your system's linker (not GNU ld)
  7976. case $host_os in
  7977. aix3*)
  7978. allow_undefined_flag=unsupported
  7979. always_export_symbols=yes
  7980. 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'
  7981. # Note: this linker hardcodes the directories in LIBPATH if there
  7982. # are no directories specified by -L.
  7983. hardcode_minus_L=yes
  7984. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  7985. # Neither direct hardcoding nor static linking is supported with a
  7986. # broken collect2.
  7987. hardcode_direct=unsupported
  7988. fi
  7989. ;;
  7990. aix[4-9]*)
  7991. if test "$host_cpu" = ia64; then
  7992. # On IA64, the linker does run time linking by default, so we don't
  7993. # have to do anything special.
  7994. aix_use_runtimelinking=no
  7995. exp_sym_flag='-Bexport'
  7996. no_entry_flag=""
  7997. else
  7998. # If we're using GNU nm, then we don't want the "-C" option.
  7999. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8000. # Also, AIX nm treats weak defined symbols like other global
  8001. # defined symbols, whereas GNU nm marks them as "W".
  8002. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8003. 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'
  8004. else
  8005. 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'
  8006. fi
  8007. aix_use_runtimelinking=no
  8008. # Test if we are trying to use run time linking or normal
  8009. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8010. # need to do runtime linking.
  8011. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8012. for ld_flag in $LDFLAGS; do
  8013. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8014. aix_use_runtimelinking=yes
  8015. break
  8016. fi
  8017. done
  8018. ;;
  8019. esac
  8020. exp_sym_flag='-bexport'
  8021. no_entry_flag='-bnoentry'
  8022. fi
  8023. # When large executables or shared objects are built, AIX ld can
  8024. # have problems creating the table of contents. If linking a library
  8025. # or program results in "error TOC overflow" add -mminimal-toc to
  8026. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8027. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8028. archive_cmds=''
  8029. hardcode_direct=yes
  8030. hardcode_direct_absolute=yes
  8031. hardcode_libdir_separator=':'
  8032. link_all_deplibs=yes
  8033. file_list_spec='${wl}-f,'
  8034. if test "$GCC" = yes; then
  8035. case $host_os in aix4.[012]|aix4.[012].*)
  8036. # We only want to do this on AIX 4.2 and lower, the check
  8037. # below for broken collect2 doesn't work under 4.3+
  8038. collect2name=`${CC} -print-prog-name=collect2`
  8039. if test -f "$collect2name" &&
  8040. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8041. then
  8042. # We have reworked collect2
  8043. :
  8044. else
  8045. # We have old collect2
  8046. hardcode_direct=unsupported
  8047. # It fails to find uninstalled libraries when the uninstalled
  8048. # path is not listed in the libpath. Setting hardcode_minus_L
  8049. # to unsupported forces relinking
  8050. hardcode_minus_L=yes
  8051. hardcode_libdir_flag_spec='-L$libdir'
  8052. hardcode_libdir_separator=
  8053. fi
  8054. ;;
  8055. esac
  8056. shared_flag='-shared'
  8057. if test "$aix_use_runtimelinking" = yes; then
  8058. shared_flag="$shared_flag "'${wl}-G'
  8059. fi
  8060. link_all_deplibs=no
  8061. else
  8062. # not using gcc
  8063. if test "$host_cpu" = ia64; then
  8064. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8065. # chokes on -Wl,-G. The following line is correct:
  8066. shared_flag='-G'
  8067. else
  8068. if test "$aix_use_runtimelinking" = yes; then
  8069. shared_flag='${wl}-G'
  8070. else
  8071. shared_flag='${wl}-bM:SRE'
  8072. fi
  8073. fi
  8074. fi
  8075. export_dynamic_flag_spec='${wl}-bexpall'
  8076. # It seems that -bexpall does not export symbols beginning with
  8077. # underscore (_), so it is better to generate a list of symbols to export.
  8078. always_export_symbols=yes
  8079. if test "$aix_use_runtimelinking" = yes; then
  8080. # Warning - without using the other runtime loading flags (-brtl),
  8081. # -berok will link without error, but may produce a broken library.
  8082. allow_undefined_flag='-berok'
  8083. # Determine the default libpath from the value encoded in an
  8084. # empty executable.
  8085. if test "${lt_cv_aix_libpath+set}" = set; then
  8086. aix_libpath=$lt_cv_aix_libpath
  8087. else
  8088. if ${lt_cv_aix_libpath_+:} false; then :
  8089. $as_echo_n "(cached) " >&6
  8090. else
  8091. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8092. /* end confdefs.h. */
  8093. int
  8094. main ()
  8095. {
  8096. ;
  8097. return 0;
  8098. }
  8099. _ACEOF
  8100. if ac_fn_c_try_link "$LINENO"; then :
  8101. lt_aix_libpath_sed='
  8102. /Import File Strings/,/^$/ {
  8103. /^0/ {
  8104. s/^0 *\([^ ]*\) *$/\1/
  8105. p
  8106. }
  8107. }'
  8108. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8109. # Check for a 64-bit object if we didn't find anything.
  8110. if test -z "$lt_cv_aix_libpath_"; then
  8111. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8112. fi
  8113. fi
  8114. rm -f core conftest.err conftest.$ac_objext \
  8115. conftest$ac_exeext conftest.$ac_ext
  8116. if test -z "$lt_cv_aix_libpath_"; then
  8117. lt_cv_aix_libpath_="/usr/lib:/lib"
  8118. fi
  8119. fi
  8120. aix_libpath=$lt_cv_aix_libpath_
  8121. fi
  8122. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8123. 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"
  8124. else
  8125. if test "$host_cpu" = ia64; then
  8126. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8127. allow_undefined_flag="-z nodefs"
  8128. 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"
  8129. else
  8130. # Determine the default libpath from the value encoded in an
  8131. # empty executable.
  8132. if test "${lt_cv_aix_libpath+set}" = set; then
  8133. aix_libpath=$lt_cv_aix_libpath
  8134. else
  8135. if ${lt_cv_aix_libpath_+:} false; then :
  8136. $as_echo_n "(cached) " >&6
  8137. else
  8138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8139. /* end confdefs.h. */
  8140. int
  8141. main ()
  8142. {
  8143. ;
  8144. return 0;
  8145. }
  8146. _ACEOF
  8147. if ac_fn_c_try_link "$LINENO"; then :
  8148. lt_aix_libpath_sed='
  8149. /Import File Strings/,/^$/ {
  8150. /^0/ {
  8151. s/^0 *\([^ ]*\) *$/\1/
  8152. p
  8153. }
  8154. }'
  8155. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8156. # Check for a 64-bit object if we didn't find anything.
  8157. if test -z "$lt_cv_aix_libpath_"; then
  8158. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8159. fi
  8160. fi
  8161. rm -f core conftest.err conftest.$ac_objext \
  8162. conftest$ac_exeext conftest.$ac_ext
  8163. if test -z "$lt_cv_aix_libpath_"; then
  8164. lt_cv_aix_libpath_="/usr/lib:/lib"
  8165. fi
  8166. fi
  8167. aix_libpath=$lt_cv_aix_libpath_
  8168. fi
  8169. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8170. # Warning - without using the other run time loading flags,
  8171. # -berok will link without error, but may produce a broken library.
  8172. no_undefined_flag=' ${wl}-bernotok'
  8173. allow_undefined_flag=' ${wl}-berok'
  8174. if test "$with_gnu_ld" = yes; then
  8175. # We only use this code for GNU lds that support --whole-archive.
  8176. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  8177. else
  8178. # Exported symbols can be pulled into shared objects from archives
  8179. whole_archive_flag_spec='$convenience'
  8180. fi
  8181. archive_cmds_need_lc=yes
  8182. # This is similar to how AIX traditionally builds its shared libraries.
  8183. 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'
  8184. fi
  8185. fi
  8186. ;;
  8187. amigaos*)
  8188. case $host_cpu in
  8189. powerpc)
  8190. # see comment about AmigaOS4 .so support
  8191. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8192. archive_expsym_cmds=''
  8193. ;;
  8194. m68k)
  8195. 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)'
  8196. hardcode_libdir_flag_spec='-L$libdir'
  8197. hardcode_minus_L=yes
  8198. ;;
  8199. esac
  8200. ;;
  8201. bsdi[45]*)
  8202. export_dynamic_flag_spec=-rdynamic
  8203. ;;
  8204. cygwin* | mingw* | pw32* | cegcc*)
  8205. # When not using gcc, we currently assume that we are using
  8206. # Microsoft Visual C++.
  8207. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8208. # no search path for DLLs.
  8209. case $cc_basename in
  8210. cl*)
  8211. # Native MSVC
  8212. hardcode_libdir_flag_spec=' '
  8213. allow_undefined_flag=unsupported
  8214. always_export_symbols=yes
  8215. file_list_spec='@'
  8216. # Tell ltmain to make .lib files, not .a files.
  8217. libext=lib
  8218. # Tell ltmain to make .dll files, not .so files.
  8219. shrext_cmds=".dll"
  8220. # FIXME: Setting linknames here is a bad hack.
  8221. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  8222. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8223. sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  8224. else
  8225. sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  8226. fi~
  8227. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  8228. linknames='
  8229. # The linker will not automatically build a static lib if we build a DLL.
  8230. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  8231. enable_shared_with_static_runtimes=yes
  8232. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8233. # Don't use ranlib
  8234. old_postinstall_cmds='chmod 644 $oldlib'
  8235. postlink_cmds='lt_outputfile="@OUTPUT@"~
  8236. lt_tool_outputfile="@TOOL_OUTPUT@"~
  8237. case $lt_outputfile in
  8238. *.exe|*.EXE) ;;
  8239. *)
  8240. lt_outputfile="$lt_outputfile.exe"
  8241. lt_tool_outputfile="$lt_tool_outputfile.exe"
  8242. ;;
  8243. esac~
  8244. if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  8245. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  8246. $RM "$lt_outputfile.manifest";
  8247. fi'
  8248. ;;
  8249. *)
  8250. # Assume MSVC wrapper
  8251. hardcode_libdir_flag_spec=' '
  8252. allow_undefined_flag=unsupported
  8253. # Tell ltmain to make .lib files, not .a files.
  8254. libext=lib
  8255. # Tell ltmain to make .dll files, not .so files.
  8256. shrext_cmds=".dll"
  8257. # FIXME: Setting linknames here is a bad hack.
  8258. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  8259. # The linker will automatically build a .lib file if we build a DLL.
  8260. old_archive_from_new_cmds='true'
  8261. # FIXME: Should let the user specify the lib program.
  8262. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8263. enable_shared_with_static_runtimes=yes
  8264. ;;
  8265. esac
  8266. ;;
  8267. darwin* | rhapsody*)
  8268. archive_cmds_need_lc=no
  8269. hardcode_direct=no
  8270. hardcode_automatic=yes
  8271. hardcode_shlibpath_var=unsupported
  8272. if test "$lt_cv_ld_force_load" = "yes"; then
  8273. 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\"`'
  8274. else
  8275. whole_archive_flag_spec=''
  8276. fi
  8277. link_all_deplibs=yes
  8278. allow_undefined_flag="$_lt_dar_allow_undefined"
  8279. case $cc_basename in
  8280. ifort*) _lt_dar_can_shared=yes ;;
  8281. *) _lt_dar_can_shared=$GCC ;;
  8282. esac
  8283. if test "$_lt_dar_can_shared" = "yes"; then
  8284. output_verbose_link_cmd=func_echo_all
  8285. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  8286. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8287. 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}"
  8288. 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}"
  8289. else
  8290. ld_shlibs=no
  8291. fi
  8292. ;;
  8293. dgux*)
  8294. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8295. hardcode_libdir_flag_spec='-L$libdir'
  8296. hardcode_shlibpath_var=no
  8297. ;;
  8298. freebsd1*)
  8299. ld_shlibs=no
  8300. ;;
  8301. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8302. # support. Future versions do this automatically, but an explicit c++rt0.o
  8303. # does not break anything, and helps significantly (at the cost of a little
  8304. # extra space).
  8305. freebsd2.2*)
  8306. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8307. hardcode_libdir_flag_spec='-R$libdir'
  8308. hardcode_direct=yes
  8309. hardcode_shlibpath_var=no
  8310. ;;
  8311. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8312. freebsd2*)
  8313. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8314. hardcode_direct=yes
  8315. hardcode_minus_L=yes
  8316. hardcode_shlibpath_var=no
  8317. ;;
  8318. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8319. freebsd* | dragonfly*)
  8320. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8321. hardcode_libdir_flag_spec='-R$libdir'
  8322. hardcode_direct=yes
  8323. hardcode_shlibpath_var=no
  8324. ;;
  8325. hpux9*)
  8326. if test "$GCC" = yes; then
  8327. 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'
  8328. else
  8329. 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'
  8330. fi
  8331. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8332. hardcode_libdir_separator=:
  8333. hardcode_direct=yes
  8334. # hardcode_minus_L: Not really in the search PATH,
  8335. # but as the default location of the library.
  8336. hardcode_minus_L=yes
  8337. export_dynamic_flag_spec='${wl}-E'
  8338. ;;
  8339. hpux10*)
  8340. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8341. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8342. else
  8343. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8344. fi
  8345. if test "$with_gnu_ld" = no; then
  8346. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8347. hardcode_libdir_flag_spec_ld='+b $libdir'
  8348. hardcode_libdir_separator=:
  8349. hardcode_direct=yes
  8350. hardcode_direct_absolute=yes
  8351. export_dynamic_flag_spec='${wl}-E'
  8352. # hardcode_minus_L: Not really in the search PATH,
  8353. # but as the default location of the library.
  8354. hardcode_minus_L=yes
  8355. fi
  8356. ;;
  8357. hpux11*)
  8358. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8359. case $host_cpu in
  8360. hppa*64*)
  8361. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8362. ;;
  8363. ia64*)
  8364. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8365. ;;
  8366. *)
  8367. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8368. ;;
  8369. esac
  8370. else
  8371. case $host_cpu in
  8372. hppa*64*)
  8373. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8374. ;;
  8375. ia64*)
  8376. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8377. ;;
  8378. *)
  8379. # Older versions of the 11.00 compiler do not understand -b yet
  8380. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  8381. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  8382. $as_echo_n "checking if $CC understands -b... " >&6; }
  8383. if ${lt_cv_prog_compiler__b+:} false; then :
  8384. $as_echo_n "(cached) " >&6
  8385. else
  8386. lt_cv_prog_compiler__b=no
  8387. save_LDFLAGS="$LDFLAGS"
  8388. LDFLAGS="$LDFLAGS -b"
  8389. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8390. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8391. # The linker can only warn and ignore the option if not recognized
  8392. # So say no if there are warnings
  8393. if test -s conftest.err; then
  8394. # Append any errors to the config.log.
  8395. cat conftest.err 1>&5
  8396. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8397. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8398. if diff conftest.exp conftest.er2 >/dev/null; then
  8399. lt_cv_prog_compiler__b=yes
  8400. fi
  8401. else
  8402. lt_cv_prog_compiler__b=yes
  8403. fi
  8404. fi
  8405. $RM -r conftest*
  8406. LDFLAGS="$save_LDFLAGS"
  8407. fi
  8408. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  8409. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  8410. if test x"$lt_cv_prog_compiler__b" = xyes; then
  8411. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8412. else
  8413. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8414. fi
  8415. ;;
  8416. esac
  8417. fi
  8418. if test "$with_gnu_ld" = no; then
  8419. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8420. hardcode_libdir_separator=:
  8421. case $host_cpu in
  8422. hppa*64*|ia64*)
  8423. hardcode_direct=no
  8424. hardcode_shlibpath_var=no
  8425. ;;
  8426. *)
  8427. hardcode_direct=yes
  8428. hardcode_direct_absolute=yes
  8429. export_dynamic_flag_spec='${wl}-E'
  8430. # hardcode_minus_L: Not really in the search PATH,
  8431. # but as the default location of the library.
  8432. hardcode_minus_L=yes
  8433. ;;
  8434. esac
  8435. fi
  8436. ;;
  8437. irix5* | irix6* | nonstopux*)
  8438. if test "$GCC" = yes; then
  8439. 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'
  8440. # Try to use the -exported_symbol ld option, if it does not
  8441. # work, assume that -exports_file does not work either and
  8442. # implicitly export all symbols.
  8443. # This should be the same for all languages, so no per-tag cache variable.
  8444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  8445. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  8446. if ${lt_cv_irix_exported_symbol+:} false; then :
  8447. $as_echo_n "(cached) " >&6
  8448. else
  8449. save_LDFLAGS="$LDFLAGS"
  8450. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  8451. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8452. /* end confdefs.h. */
  8453. int foo (void) { return 0; }
  8454. _ACEOF
  8455. if ac_fn_c_try_link "$LINENO"; then :
  8456. lt_cv_irix_exported_symbol=yes
  8457. else
  8458. lt_cv_irix_exported_symbol=no
  8459. fi
  8460. rm -f core conftest.err conftest.$ac_objext \
  8461. conftest$ac_exeext conftest.$ac_ext
  8462. LDFLAGS="$save_LDFLAGS"
  8463. fi
  8464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  8465. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  8466. if test "$lt_cv_irix_exported_symbol" = yes; then
  8467. 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'
  8468. fi
  8469. else
  8470. 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'
  8471. 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'
  8472. fi
  8473. archive_cmds_need_lc='no'
  8474. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8475. hardcode_libdir_separator=:
  8476. inherit_rpath=yes
  8477. link_all_deplibs=yes
  8478. ;;
  8479. netbsd* | netbsdelf*-gnu)
  8480. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8481. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8482. else
  8483. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8484. fi
  8485. hardcode_libdir_flag_spec='-R$libdir'
  8486. hardcode_direct=yes
  8487. hardcode_shlibpath_var=no
  8488. ;;
  8489. newsos6)
  8490. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8491. hardcode_direct=yes
  8492. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8493. hardcode_libdir_separator=:
  8494. hardcode_shlibpath_var=no
  8495. ;;
  8496. *nto* | *qnx*)
  8497. ;;
  8498. openbsd*)
  8499. if test -f /usr/libexec/ld.so; then
  8500. hardcode_direct=yes
  8501. hardcode_shlibpath_var=no
  8502. hardcode_direct_absolute=yes
  8503. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8504. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8505. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8506. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8507. export_dynamic_flag_spec='${wl}-E'
  8508. else
  8509. case $host_os in
  8510. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8511. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8512. hardcode_libdir_flag_spec='-R$libdir'
  8513. ;;
  8514. *)
  8515. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8516. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8517. ;;
  8518. esac
  8519. fi
  8520. else
  8521. ld_shlibs=no
  8522. fi
  8523. ;;
  8524. os2*)
  8525. hardcode_libdir_flag_spec='-L$libdir'
  8526. hardcode_minus_L=yes
  8527. allow_undefined_flag=unsupported
  8528. 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'
  8529. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8530. ;;
  8531. osf3*)
  8532. if test "$GCC" = yes; then
  8533. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8534. 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'
  8535. else
  8536. allow_undefined_flag=' -expect_unresolved \*'
  8537. 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'
  8538. fi
  8539. archive_cmds_need_lc='no'
  8540. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8541. hardcode_libdir_separator=:
  8542. ;;
  8543. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8544. if test "$GCC" = yes; then
  8545. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8546. 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'
  8547. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8548. else
  8549. allow_undefined_flag=' -expect_unresolved \*'
  8550. 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'
  8551. 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~
  8552. $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'
  8553. # Both c and cxx compiler support -rpath directly
  8554. hardcode_libdir_flag_spec='-rpath $libdir'
  8555. fi
  8556. archive_cmds_need_lc='no'
  8557. hardcode_libdir_separator=:
  8558. ;;
  8559. solaris*)
  8560. no_undefined_flag=' -z defs'
  8561. if test "$GCC" = yes; then
  8562. wlarc='${wl}'
  8563. archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8564. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8565. $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'
  8566. else
  8567. case `$CC -V 2>&1` in
  8568. *"Compilers 5.0"*)
  8569. wlarc=''
  8570. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8571. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8572. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8573. ;;
  8574. *)
  8575. wlarc='${wl}'
  8576. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8577. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8578. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8579. ;;
  8580. esac
  8581. fi
  8582. hardcode_libdir_flag_spec='-R$libdir'
  8583. hardcode_shlibpath_var=no
  8584. case $host_os in
  8585. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8586. *)
  8587. # The compiler driver will combine and reorder linker options,
  8588. # but understands `-z linker_flag'. GCC discards it without `$wl',
  8589. # but is careful enough not to reorder.
  8590. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8591. if test "$GCC" = yes; then
  8592. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8593. else
  8594. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8595. fi
  8596. ;;
  8597. esac
  8598. link_all_deplibs=yes
  8599. ;;
  8600. sunos4*)
  8601. if test "x$host_vendor" = xsequent; then
  8602. # Use $CC to link under sequent, because it throws in some extra .o
  8603. # files that make .init and .fini sections work.
  8604. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8605. else
  8606. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8607. fi
  8608. hardcode_libdir_flag_spec='-L$libdir'
  8609. hardcode_direct=yes
  8610. hardcode_minus_L=yes
  8611. hardcode_shlibpath_var=no
  8612. ;;
  8613. sysv4)
  8614. case $host_vendor in
  8615. sni)
  8616. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8617. hardcode_direct=yes # is this really true???
  8618. ;;
  8619. siemens)
  8620. ## LD is ld it makes a PLAMLIB
  8621. ## CC just makes a GrossModule.
  8622. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8623. reload_cmds='$CC -r -o $output$reload_objs'
  8624. hardcode_direct=no
  8625. ;;
  8626. motorola)
  8627. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8628. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8629. ;;
  8630. esac
  8631. runpath_var='LD_RUN_PATH'
  8632. hardcode_shlibpath_var=no
  8633. ;;
  8634. sysv4.3*)
  8635. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8636. hardcode_shlibpath_var=no
  8637. export_dynamic_flag_spec='-Bexport'
  8638. ;;
  8639. sysv4*MP*)
  8640. if test -d /usr/nec; then
  8641. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8642. hardcode_shlibpath_var=no
  8643. runpath_var=LD_RUN_PATH
  8644. hardcode_runpath_var=yes
  8645. ld_shlibs=yes
  8646. fi
  8647. ;;
  8648. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  8649. no_undefined_flag='${wl}-z,text'
  8650. archive_cmds_need_lc=no
  8651. hardcode_shlibpath_var=no
  8652. runpath_var='LD_RUN_PATH'
  8653. if test "$GCC" = yes; then
  8654. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8655. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8656. else
  8657. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8658. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8659. fi
  8660. ;;
  8661. sysv5* | sco3.2v5* | sco5v6*)
  8662. # Note: We can NOT use -z defs as we might desire, because we do not
  8663. # link with -lc, and that would cause any symbols used from libc to
  8664. # always be unresolved, which means just about no library would
  8665. # ever link correctly. If we're not using GNU ld we use -z text
  8666. # though, which does catch some bad symbols but isn't as heavy-handed
  8667. # as -z defs.
  8668. no_undefined_flag='${wl}-z,text'
  8669. allow_undefined_flag='${wl}-z,nodefs'
  8670. archive_cmds_need_lc=no
  8671. hardcode_shlibpath_var=no
  8672. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  8673. hardcode_libdir_separator=':'
  8674. link_all_deplibs=yes
  8675. export_dynamic_flag_spec='${wl}-Bexport'
  8676. runpath_var='LD_RUN_PATH'
  8677. if test "$GCC" = yes; then
  8678. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8679. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8680. else
  8681. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8682. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8683. fi
  8684. ;;
  8685. uts4*)
  8686. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8687. hardcode_libdir_flag_spec='-L$libdir'
  8688. hardcode_shlibpath_var=no
  8689. ;;
  8690. *)
  8691. ld_shlibs=no
  8692. ;;
  8693. esac
  8694. if test x$host_vendor = xsni; then
  8695. case $host in
  8696. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8697. export_dynamic_flag_spec='${wl}-Blargedynsym'
  8698. ;;
  8699. esac
  8700. fi
  8701. fi
  8702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  8703. $as_echo "$ld_shlibs" >&6; }
  8704. test "$ld_shlibs" = no && can_build_shared=no
  8705. with_gnu_ld=$with_gnu_ld
  8706. #
  8707. # Do we need to explicitly link libc?
  8708. #
  8709. case "x$archive_cmds_need_lc" in
  8710. x|xyes)
  8711. # Assume -lc should be added
  8712. archive_cmds_need_lc=yes
  8713. if test "$enable_shared" = yes && test "$GCC" = yes; then
  8714. case $archive_cmds in
  8715. *'~'*)
  8716. # FIXME: we may have to deal with multi-command sequences.
  8717. ;;
  8718. '$CC '*)
  8719. # Test whether the compiler implicitly links with -lc since on some
  8720. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  8721. # to ld, don't add -lc before -lgcc.
  8722. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  8723. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  8724. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  8725. $as_echo_n "(cached) " >&6
  8726. else
  8727. $RM conftest*
  8728. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8729. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8730. (eval $ac_compile) 2>&5
  8731. ac_status=$?
  8732. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8733. test $ac_status = 0; } 2>conftest.err; then
  8734. soname=conftest
  8735. lib=conftest
  8736. libobjs=conftest.$ac_objext
  8737. deplibs=
  8738. wl=$lt_prog_compiler_wl
  8739. pic_flag=$lt_prog_compiler_pic
  8740. compiler_flags=-v
  8741. linker_flags=-v
  8742. verstring=
  8743. output_objdir=.
  8744. libname=conftest
  8745. lt_save_allow_undefined_flag=$allow_undefined_flag
  8746. allow_undefined_flag=
  8747. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  8748. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  8749. ac_status=$?
  8750. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8751. test $ac_status = 0; }
  8752. then
  8753. lt_cv_archive_cmds_need_lc=no
  8754. else
  8755. lt_cv_archive_cmds_need_lc=yes
  8756. fi
  8757. allow_undefined_flag=$lt_save_allow_undefined_flag
  8758. else
  8759. cat conftest.err 1>&5
  8760. fi
  8761. $RM conftest*
  8762. fi
  8763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  8764. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  8765. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  8766. ;;
  8767. esac
  8768. fi
  8769. ;;
  8770. esac
  8771. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  8772. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  8773. if test "$GCC" = yes; then
  8774. case $host_os in
  8775. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8776. *) lt_awk_arg="/^libraries:/" ;;
  8777. esac
  8778. case $host_os in
  8779. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  8780. *) lt_sed_strip_eq="s,=/,/,g" ;;
  8781. esac
  8782. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  8783. case $lt_search_path_spec in
  8784. *\;*)
  8785. # if the path contains ";" then we assume it to be the separator
  8786. # otherwise default to the standard path separator (i.e. ":") - it is
  8787. # assumed that no part of a normal pathname contains ";" but that should
  8788. # okay in the real world where ";" in dirpaths is itself problematic.
  8789. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  8790. ;;
  8791. *)
  8792. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  8793. ;;
  8794. esac
  8795. # Ok, now we have the path, separated by spaces, we can step through it
  8796. # and add multilib dir if necessary.
  8797. lt_tmp_lt_search_path_spec=
  8798. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  8799. for lt_sys_path in $lt_search_path_spec; do
  8800. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  8801. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  8802. else
  8803. test -d "$lt_sys_path" && \
  8804. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  8805. fi
  8806. done
  8807. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  8808. BEGIN {RS=" "; FS="/|\n";} {
  8809. lt_foo="";
  8810. lt_count=0;
  8811. for (lt_i = NF; lt_i > 0; lt_i--) {
  8812. if ($lt_i != "" && $lt_i != ".") {
  8813. if ($lt_i == "..") {
  8814. lt_count++;
  8815. } else {
  8816. if (lt_count == 0) {
  8817. lt_foo="/" $lt_i lt_foo;
  8818. } else {
  8819. lt_count--;
  8820. }
  8821. }
  8822. }
  8823. }
  8824. if (lt_foo != "") { lt_freq[lt_foo]++; }
  8825. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  8826. }'`
  8827. # AWK program above erroneously prepends '/' to C:/dos/paths
  8828. # for these hosts.
  8829. case $host_os in
  8830. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  8831. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  8832. esac
  8833. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  8834. else
  8835. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  8836. fi
  8837. library_names_spec=
  8838. libname_spec='lib$name'
  8839. soname_spec=
  8840. shrext_cmds=".so"
  8841. postinstall_cmds=
  8842. postuninstall_cmds=
  8843. finish_cmds=
  8844. finish_eval=
  8845. shlibpath_var=
  8846. shlibpath_overrides_runpath=unknown
  8847. version_type=none
  8848. dynamic_linker="$host_os ld.so"
  8849. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  8850. need_lib_prefix=unknown
  8851. hardcode_into_libs=no
  8852. # when you set need_version to no, make sure it does not cause -set_version
  8853. # flags to be left without arguments
  8854. need_version=unknown
  8855. case $host_os in
  8856. aix3*)
  8857. version_type=linux
  8858. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  8859. shlibpath_var=LIBPATH
  8860. # AIX 3 has no versioning support, so we append a major version to the name.
  8861. soname_spec='${libname}${release}${shared_ext}$major'
  8862. ;;
  8863. aix[4-9]*)
  8864. version_type=linux
  8865. need_lib_prefix=no
  8866. need_version=no
  8867. hardcode_into_libs=yes
  8868. if test "$host_cpu" = ia64; then
  8869. # AIX 5 supports IA64
  8870. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  8871. shlibpath_var=LD_LIBRARY_PATH
  8872. else
  8873. # With GCC up to 2.95.x, collect2 would create an import file
  8874. # for dependence libraries. The import file would start with
  8875. # the line `#! .'. This would cause the generated library to
  8876. # depend on `.', always an invalid library. This was fixed in
  8877. # development snapshots of GCC prior to 3.0.
  8878. case $host_os in
  8879. aix4 | aix4.[01] | aix4.[01].*)
  8880. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  8881. echo ' yes '
  8882. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  8883. :
  8884. else
  8885. can_build_shared=no
  8886. fi
  8887. ;;
  8888. esac
  8889. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  8890. # soname into executable. Probably we can add versioning support to
  8891. # collect2, so additional links can be useful in future.
  8892. if test "$aix_use_runtimelinking" = yes; then
  8893. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  8894. # instead of lib<name>.a to let people know that these are not
  8895. # typical AIX shared libraries.
  8896. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8897. else
  8898. # We preserve .a as extension for shared libraries through AIX4.2
  8899. # and later when we are not doing run time linking.
  8900. library_names_spec='${libname}${release}.a $libname.a'
  8901. soname_spec='${libname}${release}${shared_ext}$major'
  8902. fi
  8903. shlibpath_var=LIBPATH
  8904. fi
  8905. ;;
  8906. amigaos*)
  8907. case $host_cpu in
  8908. powerpc)
  8909. # Since July 2007 AmigaOS4 officially supports .so libraries.
  8910. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  8911. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8912. ;;
  8913. m68k)
  8914. library_names_spec='$libname.ixlibrary $libname.a'
  8915. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  8916. 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'
  8917. ;;
  8918. esac
  8919. ;;
  8920. beos*)
  8921. library_names_spec='${libname}${shared_ext}'
  8922. dynamic_linker="$host_os ld.so"
  8923. shlibpath_var=LIBRARY_PATH
  8924. ;;
  8925. bsdi[45]*)
  8926. version_type=linux
  8927. need_version=no
  8928. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8929. soname_spec='${libname}${release}${shared_ext}$major'
  8930. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  8931. shlibpath_var=LD_LIBRARY_PATH
  8932. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  8933. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  8934. # the default ld.so.conf also contains /usr/contrib/lib and
  8935. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  8936. # libtool to hard-code these into programs
  8937. ;;
  8938. cygwin* | mingw* | pw32* | cegcc*)
  8939. version_type=windows
  8940. shrext_cmds=".dll"
  8941. need_version=no
  8942. need_lib_prefix=no
  8943. case $GCC,$cc_basename in
  8944. yes,*)
  8945. # gcc
  8946. library_names_spec='$libname.dll.a'
  8947. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  8948. postinstall_cmds='base_file=`basename \${file}`~
  8949. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  8950. dldir=$destdir/`dirname \$dlpath`~
  8951. test -d \$dldir || mkdir -p \$dldir~
  8952. $install_prog $dir/$dlname \$dldir/$dlname~
  8953. chmod a+x \$dldir/$dlname~
  8954. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  8955. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  8956. fi'
  8957. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  8958. dlpath=$dir/\$dldll~
  8959. $RM \$dlpath'
  8960. shlibpath_overrides_runpath=yes
  8961. case $host_os in
  8962. cygwin*)
  8963. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  8964. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8965. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  8966. ;;
  8967. mingw* | cegcc*)
  8968. # MinGW DLLs use traditional 'lib' prefix
  8969. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8970. ;;
  8971. pw32*)
  8972. # pw32 DLLs use 'pw' prefix rather than 'lib'
  8973. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8974. ;;
  8975. esac
  8976. dynamic_linker='Win32 ld.exe'
  8977. ;;
  8978. *,cl*)
  8979. # Native MSVC
  8980. libname_spec='$name'
  8981. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8982. library_names_spec='${libname}.dll.lib'
  8983. case $build_os in
  8984. mingw*)
  8985. sys_lib_search_path_spec=
  8986. lt_save_ifs=$IFS
  8987. IFS=';'
  8988. for lt_path in $LIB
  8989. do
  8990. IFS=$lt_save_ifs
  8991. # Let DOS variable expansion print the short 8.3 style file name.
  8992. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  8993. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  8994. done
  8995. IFS=$lt_save_ifs
  8996. # Convert to MSYS style.
  8997. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  8998. ;;
  8999. cygwin*)
  9000. # Convert to unix form, then to dos form, then back to unix form
  9001. # but this time dos style (no spaces!) so that the unix form looks
  9002. # like /cygdrive/c/PROGRA~1:/cygdr...
  9003. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  9004. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  9005. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9006. ;;
  9007. *)
  9008. sys_lib_search_path_spec="$LIB"
  9009. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9010. # It is most probably a Windows format PATH.
  9011. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9012. else
  9013. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9014. fi
  9015. # FIXME: find the short name or the path components, as spaces are
  9016. # common. (e.g. "Program Files" -> "PROGRA~1")
  9017. ;;
  9018. esac
  9019. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9020. postinstall_cmds='base_file=`basename \${file}`~
  9021. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9022. dldir=$destdir/`dirname \$dlpath`~
  9023. test -d \$dldir || mkdir -p \$dldir~
  9024. $install_prog $dir/$dlname \$dldir/$dlname'
  9025. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9026. dlpath=$dir/\$dldll~
  9027. $RM \$dlpath'
  9028. shlibpath_overrides_runpath=yes
  9029. dynamic_linker='Win32 link.exe'
  9030. ;;
  9031. *)
  9032. # Assume MSVC wrapper
  9033. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9034. dynamic_linker='Win32 ld.exe'
  9035. ;;
  9036. esac
  9037. # FIXME: first we should search . and the directory the executable is in
  9038. shlibpath_var=PATH
  9039. ;;
  9040. darwin* | rhapsody*)
  9041. dynamic_linker="$host_os dyld"
  9042. version_type=darwin
  9043. need_lib_prefix=no
  9044. need_version=no
  9045. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9046. soname_spec='${libname}${release}${major}$shared_ext'
  9047. shlibpath_overrides_runpath=yes
  9048. shlibpath_var=DYLD_LIBRARY_PATH
  9049. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9050. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9051. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9052. ;;
  9053. dgux*)
  9054. version_type=linux
  9055. need_lib_prefix=no
  9056. need_version=no
  9057. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9058. soname_spec='${libname}${release}${shared_ext}$major'
  9059. shlibpath_var=LD_LIBRARY_PATH
  9060. ;;
  9061. freebsd1*)
  9062. dynamic_linker=no
  9063. ;;
  9064. freebsd* | dragonfly*)
  9065. # DragonFly does not have aout. When/if they implement a new
  9066. # versioning mechanism, adjust this.
  9067. if test -x /usr/bin/objformat; then
  9068. objformat=`/usr/bin/objformat`
  9069. else
  9070. case $host_os in
  9071. freebsd[123]*) objformat=aout ;;
  9072. *) objformat=elf ;;
  9073. esac
  9074. fi
  9075. version_type=freebsd-$objformat
  9076. case $version_type in
  9077. freebsd-elf*)
  9078. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9079. need_version=no
  9080. need_lib_prefix=no
  9081. ;;
  9082. freebsd-*)
  9083. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9084. need_version=yes
  9085. ;;
  9086. esac
  9087. shlibpath_var=LD_LIBRARY_PATH
  9088. case $host_os in
  9089. freebsd2*)
  9090. shlibpath_overrides_runpath=yes
  9091. ;;
  9092. freebsd3.[01]* | freebsdelf3.[01]*)
  9093. shlibpath_overrides_runpath=yes
  9094. hardcode_into_libs=yes
  9095. ;;
  9096. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9097. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9098. shlibpath_overrides_runpath=no
  9099. hardcode_into_libs=yes
  9100. ;;
  9101. *) # from 4.6 on, and DragonFly
  9102. shlibpath_overrides_runpath=yes
  9103. hardcode_into_libs=yes
  9104. ;;
  9105. esac
  9106. ;;
  9107. gnu*)
  9108. version_type=linux
  9109. need_lib_prefix=no
  9110. need_version=no
  9111. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9112. soname_spec='${libname}${release}${shared_ext}$major'
  9113. shlibpath_var=LD_LIBRARY_PATH
  9114. shlibpath_overrides_runpath=no
  9115. hardcode_into_libs=yes
  9116. ;;
  9117. haiku*)
  9118. version_type=linux
  9119. need_lib_prefix=no
  9120. need_version=no
  9121. dynamic_linker="$host_os runtime_loader"
  9122. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9123. soname_spec='${libname}${release}${shared_ext}$major'
  9124. shlibpath_var=LIBRARY_PATH
  9125. shlibpath_overrides_runpath=yes
  9126. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  9127. hardcode_into_libs=yes
  9128. ;;
  9129. hpux9* | hpux10* | hpux11*)
  9130. # Give a soname corresponding to the major version so that dld.sl refuses to
  9131. # link against other versions.
  9132. version_type=sunos
  9133. need_lib_prefix=no
  9134. need_version=no
  9135. case $host_cpu in
  9136. ia64*)
  9137. shrext_cmds='.so'
  9138. hardcode_into_libs=yes
  9139. dynamic_linker="$host_os dld.so"
  9140. shlibpath_var=LD_LIBRARY_PATH
  9141. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9142. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9143. soname_spec='${libname}${release}${shared_ext}$major'
  9144. if test "X$HPUX_IA64_MODE" = X32; then
  9145. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9146. else
  9147. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9148. fi
  9149. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9150. ;;
  9151. hppa*64*)
  9152. shrext_cmds='.sl'
  9153. hardcode_into_libs=yes
  9154. dynamic_linker="$host_os dld.sl"
  9155. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9156. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9157. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9158. soname_spec='${libname}${release}${shared_ext}$major'
  9159. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9160. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9161. ;;
  9162. *)
  9163. shrext_cmds='.sl'
  9164. dynamic_linker="$host_os dld.sl"
  9165. shlibpath_var=SHLIB_PATH
  9166. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9167. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9168. soname_spec='${libname}${release}${shared_ext}$major'
  9169. ;;
  9170. esac
  9171. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  9172. postinstall_cmds='chmod 555 $lib'
  9173. # or fails outright, so override atomically:
  9174. install_override_mode=555
  9175. ;;
  9176. interix[3-9]*)
  9177. version_type=linux
  9178. need_lib_prefix=no
  9179. need_version=no
  9180. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9181. soname_spec='${libname}${release}${shared_ext}$major'
  9182. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9183. shlibpath_var=LD_LIBRARY_PATH
  9184. shlibpath_overrides_runpath=no
  9185. hardcode_into_libs=yes
  9186. ;;
  9187. irix5* | irix6* | nonstopux*)
  9188. case $host_os in
  9189. nonstopux*) version_type=nonstopux ;;
  9190. *)
  9191. if test "$lt_cv_prog_gnu_ld" = yes; then
  9192. version_type=linux
  9193. else
  9194. version_type=irix
  9195. fi ;;
  9196. esac
  9197. need_lib_prefix=no
  9198. need_version=no
  9199. soname_spec='${libname}${release}${shared_ext}$major'
  9200. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9201. case $host_os in
  9202. irix5* | nonstopux*)
  9203. libsuff= shlibsuff=
  9204. ;;
  9205. *)
  9206. case $LD in # libtool.m4 will add one of these switches to LD
  9207. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9208. libsuff= shlibsuff= libmagic=32-bit;;
  9209. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9210. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9211. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9212. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9213. *) libsuff= shlibsuff= libmagic=never-match;;
  9214. esac
  9215. ;;
  9216. esac
  9217. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9218. shlibpath_overrides_runpath=no
  9219. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9220. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9221. hardcode_into_libs=yes
  9222. ;;
  9223. # No shared lib support for Linux oldld, aout, or coff.
  9224. linux*oldld* | linux*aout* | linux*coff*)
  9225. dynamic_linker=no
  9226. ;;
  9227. # This must be Linux ELF.
  9228. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  9229. version_type=linux
  9230. need_lib_prefix=no
  9231. need_version=no
  9232. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9233. soname_spec='${libname}${release}${shared_ext}$major'
  9234. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9235. shlibpath_var=LD_LIBRARY_PATH
  9236. shlibpath_overrides_runpath=no
  9237. # Some binutils ld are patched to set DT_RUNPATH
  9238. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  9239. $as_echo_n "(cached) " >&6
  9240. else
  9241. lt_cv_shlibpath_overrides_runpath=no
  9242. save_LDFLAGS=$LDFLAGS
  9243. save_libdir=$libdir
  9244. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9245. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9246. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9247. /* end confdefs.h. */
  9248. int
  9249. main ()
  9250. {
  9251. ;
  9252. return 0;
  9253. }
  9254. _ACEOF
  9255. if ac_fn_c_try_link "$LINENO"; then :
  9256. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  9257. lt_cv_shlibpath_overrides_runpath=yes
  9258. fi
  9259. fi
  9260. rm -f core conftest.err conftest.$ac_objext \
  9261. conftest$ac_exeext conftest.$ac_ext
  9262. LDFLAGS=$save_LDFLAGS
  9263. libdir=$save_libdir
  9264. fi
  9265. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9266. # This implies no fast_install, which is unacceptable.
  9267. # Some rework will be needed to allow for fast_install
  9268. # before this can be enabled.
  9269. hardcode_into_libs=yes
  9270. # Append ld.so.conf contents to the search path
  9271. if test -f /etc/ld.so.conf; then
  9272. 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' ' '`
  9273. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9274. fi
  9275. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9276. # powerpc, because MkLinux only supported shared libraries with the
  9277. # GNU dynamic linker. Since this was broken with cross compilers,
  9278. # most powerpc-linux boxes support dynamic linking these days and
  9279. # people can always --disable-shared, the test was removed, and we
  9280. # assume the GNU/Linux dynamic linker is in use.
  9281. dynamic_linker='GNU/Linux ld.so'
  9282. ;;
  9283. netbsdelf*-gnu)
  9284. version_type=linux
  9285. need_lib_prefix=no
  9286. need_version=no
  9287. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9288. soname_spec='${libname}${release}${shared_ext}$major'
  9289. shlibpath_var=LD_LIBRARY_PATH
  9290. shlibpath_overrides_runpath=no
  9291. hardcode_into_libs=yes
  9292. dynamic_linker='NetBSD ld.elf_so'
  9293. ;;
  9294. netbsd*)
  9295. version_type=sunos
  9296. need_lib_prefix=no
  9297. need_version=no
  9298. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9299. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9300. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9301. dynamic_linker='NetBSD (a.out) ld.so'
  9302. else
  9303. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9304. soname_spec='${libname}${release}${shared_ext}$major'
  9305. dynamic_linker='NetBSD ld.elf_so'
  9306. fi
  9307. shlibpath_var=LD_LIBRARY_PATH
  9308. shlibpath_overrides_runpath=yes
  9309. hardcode_into_libs=yes
  9310. ;;
  9311. newsos6)
  9312. version_type=linux
  9313. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9314. shlibpath_var=LD_LIBRARY_PATH
  9315. shlibpath_overrides_runpath=yes
  9316. ;;
  9317. *nto* | *qnx*)
  9318. version_type=qnx
  9319. need_lib_prefix=no
  9320. need_version=no
  9321. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9322. soname_spec='${libname}${release}${shared_ext}$major'
  9323. shlibpath_var=LD_LIBRARY_PATH
  9324. shlibpath_overrides_runpath=no
  9325. hardcode_into_libs=yes
  9326. dynamic_linker='ldqnx.so'
  9327. ;;
  9328. openbsd*)
  9329. version_type=sunos
  9330. sys_lib_dlsearch_path_spec="/usr/lib"
  9331. need_lib_prefix=no
  9332. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9333. case $host_os in
  9334. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  9335. *) need_version=no ;;
  9336. esac
  9337. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9338. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9339. shlibpath_var=LD_LIBRARY_PATH
  9340. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9341. case $host_os in
  9342. openbsd2.[89] | openbsd2.[89].*)
  9343. shlibpath_overrides_runpath=no
  9344. ;;
  9345. *)
  9346. shlibpath_overrides_runpath=yes
  9347. ;;
  9348. esac
  9349. else
  9350. shlibpath_overrides_runpath=yes
  9351. fi
  9352. ;;
  9353. os2*)
  9354. libname_spec='$name'
  9355. shrext_cmds=".dll"
  9356. need_lib_prefix=no
  9357. library_names_spec='$libname${shared_ext} $libname.a'
  9358. dynamic_linker='OS/2 ld.exe'
  9359. shlibpath_var=LIBPATH
  9360. ;;
  9361. osf3* | osf4* | osf5*)
  9362. version_type=osf
  9363. need_lib_prefix=no
  9364. need_version=no
  9365. soname_spec='${libname}${release}${shared_ext}$major'
  9366. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9367. shlibpath_var=LD_LIBRARY_PATH
  9368. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9369. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9370. ;;
  9371. rdos*)
  9372. dynamic_linker=no
  9373. ;;
  9374. solaris*)
  9375. version_type=linux
  9376. need_lib_prefix=no
  9377. need_version=no
  9378. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9379. soname_spec='${libname}${release}${shared_ext}$major'
  9380. shlibpath_var=LD_LIBRARY_PATH
  9381. shlibpath_overrides_runpath=yes
  9382. hardcode_into_libs=yes
  9383. # ldd complains unless libraries are executable
  9384. postinstall_cmds='chmod +x $lib'
  9385. ;;
  9386. sunos4*)
  9387. version_type=sunos
  9388. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9389. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9390. shlibpath_var=LD_LIBRARY_PATH
  9391. shlibpath_overrides_runpath=yes
  9392. if test "$with_gnu_ld" = yes; then
  9393. need_lib_prefix=no
  9394. fi
  9395. need_version=yes
  9396. ;;
  9397. sysv4 | sysv4.3*)
  9398. version_type=linux
  9399. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9400. soname_spec='${libname}${release}${shared_ext}$major'
  9401. shlibpath_var=LD_LIBRARY_PATH
  9402. case $host_vendor in
  9403. sni)
  9404. shlibpath_overrides_runpath=no
  9405. need_lib_prefix=no
  9406. runpath_var=LD_RUN_PATH
  9407. ;;
  9408. siemens)
  9409. need_lib_prefix=no
  9410. ;;
  9411. motorola)
  9412. need_lib_prefix=no
  9413. need_version=no
  9414. shlibpath_overrides_runpath=no
  9415. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9416. ;;
  9417. esac
  9418. ;;
  9419. sysv4*MP*)
  9420. if test -d /usr/nec ;then
  9421. version_type=linux
  9422. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9423. soname_spec='$libname${shared_ext}.$major'
  9424. shlibpath_var=LD_LIBRARY_PATH
  9425. fi
  9426. ;;
  9427. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9428. version_type=freebsd-elf
  9429. need_lib_prefix=no
  9430. need_version=no
  9431. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9432. soname_spec='${libname}${release}${shared_ext}$major'
  9433. shlibpath_var=LD_LIBRARY_PATH
  9434. shlibpath_overrides_runpath=yes
  9435. hardcode_into_libs=yes
  9436. if test "$with_gnu_ld" = yes; then
  9437. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9438. else
  9439. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9440. case $host_os in
  9441. sco3.2v5*)
  9442. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9443. ;;
  9444. esac
  9445. fi
  9446. sys_lib_dlsearch_path_spec='/usr/lib'
  9447. ;;
  9448. tpf*)
  9449. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9450. version_type=linux
  9451. need_lib_prefix=no
  9452. need_version=no
  9453. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9454. shlibpath_var=LD_LIBRARY_PATH
  9455. shlibpath_overrides_runpath=no
  9456. hardcode_into_libs=yes
  9457. ;;
  9458. uts4*)
  9459. version_type=linux
  9460. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9461. soname_spec='${libname}${release}${shared_ext}$major'
  9462. shlibpath_var=LD_LIBRARY_PATH
  9463. ;;
  9464. *)
  9465. dynamic_linker=no
  9466. ;;
  9467. esac
  9468. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  9469. $as_echo "$dynamic_linker" >&6; }
  9470. test "$dynamic_linker" = no && can_build_shared=no
  9471. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9472. if test "$GCC" = yes; then
  9473. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9474. fi
  9475. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9476. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9477. fi
  9478. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9479. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9480. fi
  9481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  9482. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9483. hardcode_action=
  9484. if test -n "$hardcode_libdir_flag_spec" ||
  9485. test -n "$runpath_var" ||
  9486. test "X$hardcode_automatic" = "Xyes" ; then
  9487. # We can hardcode non-existent directories.
  9488. if test "$hardcode_direct" != no &&
  9489. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9490. # have to relink, otherwise we might link with an installed library
  9491. # when we should be linking with a yet-to-be-installed one
  9492. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  9493. test "$hardcode_minus_L" != no; then
  9494. # Linking always hardcodes the temporary library directory.
  9495. hardcode_action=relink
  9496. else
  9497. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9498. hardcode_action=immediate
  9499. fi
  9500. else
  9501. # We cannot hardcode anything, or else we can only hardcode existing
  9502. # directories.
  9503. hardcode_action=unsupported
  9504. fi
  9505. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  9506. $as_echo "$hardcode_action" >&6; }
  9507. if test "$hardcode_action" = relink ||
  9508. test "$inherit_rpath" = yes; then
  9509. # Fast installation is not supported
  9510. enable_fast_install=no
  9511. elif test "$shlibpath_overrides_runpath" = yes ||
  9512. test "$enable_shared" = no; then
  9513. # Fast installation is not necessary
  9514. enable_fast_install=needless
  9515. fi
  9516. if test "x$enable_dlopen" != xyes; then
  9517. enable_dlopen=unknown
  9518. enable_dlopen_self=unknown
  9519. enable_dlopen_self_static=unknown
  9520. else
  9521. lt_cv_dlopen=no
  9522. lt_cv_dlopen_libs=
  9523. case $host_os in
  9524. beos*)
  9525. lt_cv_dlopen="load_add_on"
  9526. lt_cv_dlopen_libs=
  9527. lt_cv_dlopen_self=yes
  9528. ;;
  9529. mingw* | pw32* | cegcc*)
  9530. lt_cv_dlopen="LoadLibrary"
  9531. lt_cv_dlopen_libs=
  9532. ;;
  9533. cygwin*)
  9534. lt_cv_dlopen="dlopen"
  9535. lt_cv_dlopen_libs=
  9536. ;;
  9537. darwin*)
  9538. # if libdl is installed we need to link against it
  9539. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9540. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9541. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9542. $as_echo_n "(cached) " >&6
  9543. else
  9544. ac_check_lib_save_LIBS=$LIBS
  9545. LIBS="-ldl $LIBS"
  9546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9547. /* end confdefs.h. */
  9548. /* Override any GCC internal prototype to avoid an error.
  9549. Use char because int might match the return type of a GCC
  9550. builtin and then its argument prototype would still apply. */
  9551. #ifdef __cplusplus
  9552. extern "C"
  9553. #endif
  9554. char dlopen ();
  9555. int
  9556. main ()
  9557. {
  9558. return dlopen ();
  9559. ;
  9560. return 0;
  9561. }
  9562. _ACEOF
  9563. if ac_fn_c_try_link "$LINENO"; then :
  9564. ac_cv_lib_dl_dlopen=yes
  9565. else
  9566. ac_cv_lib_dl_dlopen=no
  9567. fi
  9568. rm -f core conftest.err conftest.$ac_objext \
  9569. conftest$ac_exeext conftest.$ac_ext
  9570. LIBS=$ac_check_lib_save_LIBS
  9571. fi
  9572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9573. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9574. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9575. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9576. else
  9577. lt_cv_dlopen="dyld"
  9578. lt_cv_dlopen_libs=
  9579. lt_cv_dlopen_self=yes
  9580. fi
  9581. ;;
  9582. *)
  9583. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  9584. if test "x$ac_cv_func_shl_load" = xyes; then :
  9585. lt_cv_dlopen="shl_load"
  9586. else
  9587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  9588. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  9589. if ${ac_cv_lib_dld_shl_load+:} false; then :
  9590. $as_echo_n "(cached) " >&6
  9591. else
  9592. ac_check_lib_save_LIBS=$LIBS
  9593. LIBS="-ldld $LIBS"
  9594. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9595. /* end confdefs.h. */
  9596. /* Override any GCC internal prototype to avoid an error.
  9597. Use char because int might match the return type of a GCC
  9598. builtin and then its argument prototype would still apply. */
  9599. #ifdef __cplusplus
  9600. extern "C"
  9601. #endif
  9602. char shl_load ();
  9603. int
  9604. main ()
  9605. {
  9606. return shl_load ();
  9607. ;
  9608. return 0;
  9609. }
  9610. _ACEOF
  9611. if ac_fn_c_try_link "$LINENO"; then :
  9612. ac_cv_lib_dld_shl_load=yes
  9613. else
  9614. ac_cv_lib_dld_shl_load=no
  9615. fi
  9616. rm -f core conftest.err conftest.$ac_objext \
  9617. conftest$ac_exeext conftest.$ac_ext
  9618. LIBS=$ac_check_lib_save_LIBS
  9619. fi
  9620. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  9621. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  9622. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  9623. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  9624. else
  9625. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  9626. if test "x$ac_cv_func_dlopen" = xyes; then :
  9627. lt_cv_dlopen="dlopen"
  9628. else
  9629. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9630. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9631. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9632. $as_echo_n "(cached) " >&6
  9633. else
  9634. ac_check_lib_save_LIBS=$LIBS
  9635. LIBS="-ldl $LIBS"
  9636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9637. /* end confdefs.h. */
  9638. /* Override any GCC internal prototype to avoid an error.
  9639. Use char because int might match the return type of a GCC
  9640. builtin and then its argument prototype would still apply. */
  9641. #ifdef __cplusplus
  9642. extern "C"
  9643. #endif
  9644. char dlopen ();
  9645. int
  9646. main ()
  9647. {
  9648. return dlopen ();
  9649. ;
  9650. return 0;
  9651. }
  9652. _ACEOF
  9653. if ac_fn_c_try_link "$LINENO"; then :
  9654. ac_cv_lib_dl_dlopen=yes
  9655. else
  9656. ac_cv_lib_dl_dlopen=no
  9657. fi
  9658. rm -f core conftest.err conftest.$ac_objext \
  9659. conftest$ac_exeext conftest.$ac_ext
  9660. LIBS=$ac_check_lib_save_LIBS
  9661. fi
  9662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9663. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9664. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9665. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9666. else
  9667. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  9668. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  9669. if ${ac_cv_lib_svld_dlopen+:} false; then :
  9670. $as_echo_n "(cached) " >&6
  9671. else
  9672. ac_check_lib_save_LIBS=$LIBS
  9673. LIBS="-lsvld $LIBS"
  9674. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9675. /* end confdefs.h. */
  9676. /* Override any GCC internal prototype to avoid an error.
  9677. Use char because int might match the return type of a GCC
  9678. builtin and then its argument prototype would still apply. */
  9679. #ifdef __cplusplus
  9680. extern "C"
  9681. #endif
  9682. char dlopen ();
  9683. int
  9684. main ()
  9685. {
  9686. return dlopen ();
  9687. ;
  9688. return 0;
  9689. }
  9690. _ACEOF
  9691. if ac_fn_c_try_link "$LINENO"; then :
  9692. ac_cv_lib_svld_dlopen=yes
  9693. else
  9694. ac_cv_lib_svld_dlopen=no
  9695. fi
  9696. rm -f core conftest.err conftest.$ac_objext \
  9697. conftest$ac_exeext conftest.$ac_ext
  9698. LIBS=$ac_check_lib_save_LIBS
  9699. fi
  9700. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  9701. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  9702. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  9703. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  9704. else
  9705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  9706. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  9707. if ${ac_cv_lib_dld_dld_link+:} false; then :
  9708. $as_echo_n "(cached) " >&6
  9709. else
  9710. ac_check_lib_save_LIBS=$LIBS
  9711. LIBS="-ldld $LIBS"
  9712. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9713. /* end confdefs.h. */
  9714. /* Override any GCC internal prototype to avoid an error.
  9715. Use char because int might match the return type of a GCC
  9716. builtin and then its argument prototype would still apply. */
  9717. #ifdef __cplusplus
  9718. extern "C"
  9719. #endif
  9720. char dld_link ();
  9721. int
  9722. main ()
  9723. {
  9724. return dld_link ();
  9725. ;
  9726. return 0;
  9727. }
  9728. _ACEOF
  9729. if ac_fn_c_try_link "$LINENO"; then :
  9730. ac_cv_lib_dld_dld_link=yes
  9731. else
  9732. ac_cv_lib_dld_dld_link=no
  9733. fi
  9734. rm -f core conftest.err conftest.$ac_objext \
  9735. conftest$ac_exeext conftest.$ac_ext
  9736. LIBS=$ac_check_lib_save_LIBS
  9737. fi
  9738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  9739. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  9740. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  9741. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  9742. fi
  9743. fi
  9744. fi
  9745. fi
  9746. fi
  9747. fi
  9748. ;;
  9749. esac
  9750. if test "x$lt_cv_dlopen" != xno; then
  9751. enable_dlopen=yes
  9752. else
  9753. enable_dlopen=no
  9754. fi
  9755. case $lt_cv_dlopen in
  9756. dlopen)
  9757. save_CPPFLAGS="$CPPFLAGS"
  9758. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  9759. save_LDFLAGS="$LDFLAGS"
  9760. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  9761. save_LIBS="$LIBS"
  9762. LIBS="$lt_cv_dlopen_libs $LIBS"
  9763. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  9764. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  9765. if ${lt_cv_dlopen_self+:} false; then :
  9766. $as_echo_n "(cached) " >&6
  9767. else
  9768. if test "$cross_compiling" = yes; then :
  9769. lt_cv_dlopen_self=cross
  9770. else
  9771. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9772. lt_status=$lt_dlunknown
  9773. cat > conftest.$ac_ext <<_LT_EOF
  9774. #line $LINENO "configure"
  9775. #include "confdefs.h"
  9776. #if HAVE_DLFCN_H
  9777. #include <dlfcn.h>
  9778. #endif
  9779. #include <stdio.h>
  9780. #ifdef RTLD_GLOBAL
  9781. # define LT_DLGLOBAL RTLD_GLOBAL
  9782. #else
  9783. # ifdef DL_GLOBAL
  9784. # define LT_DLGLOBAL DL_GLOBAL
  9785. # else
  9786. # define LT_DLGLOBAL 0
  9787. # endif
  9788. #endif
  9789. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9790. find out it does not work in some platform. */
  9791. #ifndef LT_DLLAZY_OR_NOW
  9792. # ifdef RTLD_LAZY
  9793. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  9794. # else
  9795. # ifdef DL_LAZY
  9796. # define LT_DLLAZY_OR_NOW DL_LAZY
  9797. # else
  9798. # ifdef RTLD_NOW
  9799. # define LT_DLLAZY_OR_NOW RTLD_NOW
  9800. # else
  9801. # ifdef DL_NOW
  9802. # define LT_DLLAZY_OR_NOW DL_NOW
  9803. # else
  9804. # define LT_DLLAZY_OR_NOW 0
  9805. # endif
  9806. # endif
  9807. # endif
  9808. # endif
  9809. #endif
  9810. /* When -fvisbility=hidden is used, assume the code has been annotated
  9811. correspondingly for the symbols needed. */
  9812. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  9813. int fnord () __attribute__((visibility("default")));
  9814. #endif
  9815. int fnord () { return 42; }
  9816. int main ()
  9817. {
  9818. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9819. int status = $lt_dlunknown;
  9820. if (self)
  9821. {
  9822. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  9823. else
  9824. {
  9825. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9826. else puts (dlerror ());
  9827. }
  9828. /* dlclose (self); */
  9829. }
  9830. else
  9831. puts (dlerror ());
  9832. return status;
  9833. }
  9834. _LT_EOF
  9835. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  9836. (eval $ac_link) 2>&5
  9837. ac_status=$?
  9838. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9839. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  9840. (./conftest; exit; ) >&5 2>/dev/null
  9841. lt_status=$?
  9842. case x$lt_status in
  9843. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  9844. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  9845. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  9846. esac
  9847. else :
  9848. # compilation failed
  9849. lt_cv_dlopen_self=no
  9850. fi
  9851. fi
  9852. rm -fr conftest*
  9853. fi
  9854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  9855. $as_echo "$lt_cv_dlopen_self" >&6; }
  9856. if test "x$lt_cv_dlopen_self" = xyes; then
  9857. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  9858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  9859. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  9860. if ${lt_cv_dlopen_self_static+:} false; then :
  9861. $as_echo_n "(cached) " >&6
  9862. else
  9863. if test "$cross_compiling" = yes; then :
  9864. lt_cv_dlopen_self_static=cross
  9865. else
  9866. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9867. lt_status=$lt_dlunknown
  9868. cat > conftest.$ac_ext <<_LT_EOF
  9869. #line $LINENO "configure"
  9870. #include "confdefs.h"
  9871. #if HAVE_DLFCN_H
  9872. #include <dlfcn.h>
  9873. #endif
  9874. #include <stdio.h>
  9875. #ifdef RTLD_GLOBAL
  9876. # define LT_DLGLOBAL RTLD_GLOBAL
  9877. #else
  9878. # ifdef DL_GLOBAL
  9879. # define LT_DLGLOBAL DL_GLOBAL
  9880. # else
  9881. # define LT_DLGLOBAL 0
  9882. # endif
  9883. #endif
  9884. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9885. find out it does not work in some platform. */
  9886. #ifndef LT_DLLAZY_OR_NOW
  9887. # ifdef RTLD_LAZY
  9888. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  9889. # else
  9890. # ifdef DL_LAZY
  9891. # define LT_DLLAZY_OR_NOW DL_LAZY
  9892. # else
  9893. # ifdef RTLD_NOW
  9894. # define LT_DLLAZY_OR_NOW RTLD_NOW
  9895. # else
  9896. # ifdef DL_NOW
  9897. # define LT_DLLAZY_OR_NOW DL_NOW
  9898. # else
  9899. # define LT_DLLAZY_OR_NOW 0
  9900. # endif
  9901. # endif
  9902. # endif
  9903. # endif
  9904. #endif
  9905. /* When -fvisbility=hidden is used, assume the code has been annotated
  9906. correspondingly for the symbols needed. */
  9907. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  9908. int fnord () __attribute__((visibility("default")));
  9909. #endif
  9910. int fnord () { return 42; }
  9911. int main ()
  9912. {
  9913. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9914. int status = $lt_dlunknown;
  9915. if (self)
  9916. {
  9917. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  9918. else
  9919. {
  9920. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9921. else puts (dlerror ());
  9922. }
  9923. /* dlclose (self); */
  9924. }
  9925. else
  9926. puts (dlerror ());
  9927. return status;
  9928. }
  9929. _LT_EOF
  9930. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  9931. (eval $ac_link) 2>&5
  9932. ac_status=$?
  9933. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9934. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  9935. (./conftest; exit; ) >&5 2>/dev/null
  9936. lt_status=$?
  9937. case x$lt_status in
  9938. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  9939. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  9940. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  9941. esac
  9942. else :
  9943. # compilation failed
  9944. lt_cv_dlopen_self_static=no
  9945. fi
  9946. fi
  9947. rm -fr conftest*
  9948. fi
  9949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  9950. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  9951. fi
  9952. CPPFLAGS="$save_CPPFLAGS"
  9953. LDFLAGS="$save_LDFLAGS"
  9954. LIBS="$save_LIBS"
  9955. ;;
  9956. esac
  9957. case $lt_cv_dlopen_self in
  9958. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  9959. *) enable_dlopen_self=unknown ;;
  9960. esac
  9961. case $lt_cv_dlopen_self_static in
  9962. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  9963. *) enable_dlopen_self_static=unknown ;;
  9964. esac
  9965. fi
  9966. striplib=
  9967. old_striplib=
  9968. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  9969. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  9970. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  9971. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  9972. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  9973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9974. $as_echo "yes" >&6; }
  9975. else
  9976. # FIXME - insert some real tests, host_os isn't really good enough
  9977. case $host_os in
  9978. darwin*)
  9979. if test -n "$STRIP" ; then
  9980. striplib="$STRIP -x"
  9981. old_striplib="$STRIP -S"
  9982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9983. $as_echo "yes" >&6; }
  9984. else
  9985. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9986. $as_echo "no" >&6; }
  9987. fi
  9988. ;;
  9989. *)
  9990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9991. $as_echo "no" >&6; }
  9992. ;;
  9993. esac
  9994. fi
  9995. # Report which library types will actually be built
  9996. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  9997. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  9998. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  9999. $as_echo "$can_build_shared" >&6; }
  10000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10001. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10002. test "$can_build_shared" = "no" && enable_shared=no
  10003. # On AIX, shared libraries and static libraries use the same namespace, and
  10004. # are all built from PIC.
  10005. case $host_os in
  10006. aix3*)
  10007. test "$enable_shared" = yes && enable_static=no
  10008. if test -n "$RANLIB"; then
  10009. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10010. postinstall_cmds='$RANLIB $lib'
  10011. fi
  10012. ;;
  10013. aix[4-9]*)
  10014. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10015. test "$enable_shared" = yes && enable_static=no
  10016. fi
  10017. ;;
  10018. esac
  10019. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10020. $as_echo "$enable_shared" >&6; }
  10021. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10022. $as_echo_n "checking whether to build static libraries... " >&6; }
  10023. # Make sure either enable_shared or enable_static is yes.
  10024. test "$enable_shared" = yes || enable_static=yes
  10025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10026. $as_echo "$enable_static" >&6; }
  10027. fi
  10028. ac_ext=c
  10029. ac_cpp='$CPP $CPPFLAGS'
  10030. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10031. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10032. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10033. CC="$lt_save_CC"
  10034. ac_config_commands="$ac_config_commands libtool"
  10035. # Only expand once:
  10036. if test "x$CC" != xcc; then
  10037. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  10038. $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  10039. else
  10040. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  10041. $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  10042. fi
  10043. set dummy $CC; ac_cc=`$as_echo "$2" |
  10044. sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  10045. if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
  10046. $as_echo_n "(cached) " >&6
  10047. else
  10048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10049. /* end confdefs.h. */
  10050. int
  10051. main ()
  10052. {
  10053. ;
  10054. return 0;
  10055. }
  10056. _ACEOF
  10057. # Make sure it works both with $CC and with simple cc.
  10058. # We do the test twice because some compilers refuse to overwrite an
  10059. # existing .o file with -o, though they will create one.
  10060. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  10061. rm -f conftest2.*
  10062. if { { case "(($ac_try" in
  10063. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10064. *) ac_try_echo=$ac_try;;
  10065. esac
  10066. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10067. $as_echo "$ac_try_echo"; } >&5
  10068. (eval "$ac_try") 2>&5
  10069. ac_status=$?
  10070. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10071. test $ac_status = 0; } &&
  10072. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  10073. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10074. *) ac_try_echo=$ac_try;;
  10075. esac
  10076. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10077. $as_echo "$ac_try_echo"; } >&5
  10078. (eval "$ac_try") 2>&5
  10079. ac_status=$?
  10080. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10081. test $ac_status = 0; };
  10082. then
  10083. eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  10084. if test "x$CC" != xcc; then
  10085. # Test first that cc exists at all.
  10086. if { ac_try='cc -c conftest.$ac_ext >&5'
  10087. { { case "(($ac_try" in
  10088. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10089. *) ac_try_echo=$ac_try;;
  10090. esac
  10091. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10092. $as_echo "$ac_try_echo"; } >&5
  10093. (eval "$ac_try") 2>&5
  10094. ac_status=$?
  10095. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10096. test $ac_status = 0; }; }; then
  10097. ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  10098. rm -f conftest2.*
  10099. if { { case "(($ac_try" in
  10100. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10101. *) ac_try_echo=$ac_try;;
  10102. esac
  10103. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10104. $as_echo "$ac_try_echo"; } >&5
  10105. (eval "$ac_try") 2>&5
  10106. ac_status=$?
  10107. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10108. test $ac_status = 0; } &&
  10109. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  10110. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10111. *) ac_try_echo=$ac_try;;
  10112. esac
  10113. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10114. $as_echo "$ac_try_echo"; } >&5
  10115. (eval "$ac_try") 2>&5
  10116. ac_status=$?
  10117. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10118. test $ac_status = 0; };
  10119. then
  10120. # cc works too.
  10121. :
  10122. else
  10123. # cc exists but doesn't like -o.
  10124. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  10125. fi
  10126. fi
  10127. fi
  10128. else
  10129. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  10130. fi
  10131. rm -f core conftest*
  10132. fi
  10133. if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  10134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10135. $as_echo "yes" >&6; }
  10136. else
  10137. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10138. $as_echo "no" >&6; }
  10139. $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  10140. fi
  10141. # FIXME: we rely on the cache variable name because
  10142. # there is no other way.
  10143. set dummy $CC
  10144. am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  10145. eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  10146. if test "$am_t" != yes; then
  10147. # Losing compiler, so override with the script.
  10148. # FIXME: It is wrong to rewrite CC.
  10149. # But if we don't then we get into trouble of one sort or another.
  10150. # A longer-term fix would be to have automake use am__CC in this case,
  10151. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  10152. CC="$am_aux_dir/compile $CC"
  10153. fi
  10154. if test "x$enable_docs" = xyes; then
  10155. # Extract the first word of "doxygen", so it can be a program name with args.
  10156. set dummy doxygen; ac_word=$2
  10157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10158. $as_echo_n "checking for $ac_word... " >&6; }
  10159. if ${ac_cv_prog_HAVE_DOXYGEN+:} false; then :
  10160. $as_echo_n "(cached) " >&6
  10161. else
  10162. if test -n "$HAVE_DOXYGEN"; then
  10163. ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # Let the user override the test.
  10164. else
  10165. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10166. for as_dir in $PATH
  10167. do
  10168. IFS=$as_save_IFS
  10169. test -z "$as_dir" && as_dir=.
  10170. for ac_exec_ext in '' $ac_executable_extensions; do
  10171. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10172. ac_cv_prog_HAVE_DOXYGEN="true"
  10173. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10174. break 2
  10175. fi
  10176. done
  10177. done
  10178. IFS=$as_save_IFS
  10179. test -z "$ac_cv_prog_HAVE_DOXYGEN" && ac_cv_prog_HAVE_DOXYGEN="false"
  10180. fi
  10181. fi
  10182. HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN
  10183. if test -n "$HAVE_DOXYGEN"; then
  10184. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOXYGEN" >&5
  10185. $as_echo "$HAVE_DOXYGEN" >&6; }
  10186. else
  10187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10188. $as_echo "no" >&6; }
  10189. fi
  10190. if test $HAVE_DOXYGEN = "false"; then
  10191. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** doxygen not found, API documentation will not be built" >&5
  10192. $as_echo "$as_me: WARNING: *** doxygen not found, API documentation will not be built" >&2;}
  10193. fi
  10194. else
  10195. HAVE_DOXYGEN=false
  10196. fi
  10197. if $HAVE_DOXYGEN; then
  10198. HAVE_DOXYGEN_TRUE=
  10199. HAVE_DOXYGEN_FALSE='#'
  10200. else
  10201. HAVE_DOXYGEN_TRUE='#'
  10202. HAVE_DOXYGEN_FALSE=
  10203. fi
  10204. # Check whether --enable-docs was given.
  10205. if test "${enable_docs+set}" = set; then :
  10206. enableval=$enable_docs;
  10207. fi
  10208. if test "x$enable_docs" = xyes; then
  10209. for ac_prog in pdflatex
  10210. do
  10211. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10212. set dummy $ac_prog; ac_word=$2
  10213. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10214. $as_echo_n "checking for $ac_word... " >&6; }
  10215. if ${ac_cv_prog_PDFLATEX+:} false; then :
  10216. $as_echo_n "(cached) " >&6
  10217. else
  10218. if test -n "$PDFLATEX"; then
  10219. ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
  10220. else
  10221. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10222. for as_dir in $PATH
  10223. do
  10224. IFS=$as_save_IFS
  10225. test -z "$as_dir" && as_dir=.
  10226. for ac_exec_ext in '' $ac_executable_extensions; do
  10227. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10228. ac_cv_prog_PDFLATEX="$ac_prog"
  10229. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10230. break 2
  10231. fi
  10232. done
  10233. done
  10234. IFS=$as_save_IFS
  10235. fi
  10236. fi
  10237. PDFLATEX=$ac_cv_prog_PDFLATEX
  10238. if test -n "$PDFLATEX"; then
  10239. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
  10240. $as_echo "$PDFLATEX" >&6; }
  10241. else
  10242. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10243. $as_echo "no" >&6; }
  10244. fi
  10245. test -n "$PDFLATEX" && break
  10246. done
  10247. test -n "$PDFLATEX" || PDFLATEX="/bin/false"
  10248. for ac_prog in htlatex
  10249. do
  10250. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10251. set dummy $ac_prog; ac_word=$2
  10252. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10253. $as_echo_n "checking for $ac_word... " >&6; }
  10254. if ${ac_cv_prog_HTLATEX+:} false; then :
  10255. $as_echo_n "(cached) " >&6
  10256. else
  10257. if test -n "$HTLATEX"; then
  10258. ac_cv_prog_HTLATEX="$HTLATEX" # Let the user override the test.
  10259. else
  10260. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10261. for as_dir in $PATH
  10262. do
  10263. IFS=$as_save_IFS
  10264. test -z "$as_dir" && as_dir=.
  10265. for ac_exec_ext in '' $ac_executable_extensions; do
  10266. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10267. ac_cv_prog_HTLATEX="$ac_prog"
  10268. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10269. break 2
  10270. fi
  10271. done
  10272. done
  10273. IFS=$as_save_IFS
  10274. fi
  10275. fi
  10276. HTLATEX=$ac_cv_prog_HTLATEX
  10277. if test -n "$HTLATEX"; then
  10278. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HTLATEX" >&5
  10279. $as_echo "$HTLATEX" >&6; }
  10280. else
  10281. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10282. $as_echo "no" >&6; }
  10283. fi
  10284. test -n "$HTLATEX" && break
  10285. done
  10286. test -n "$HTLATEX" || HTLATEX="/bin/false"
  10287. if test "x$PDFLATEX" = x/bin/false || test "x$HTLATEX" = x/bin/false; then
  10288. enable_docs=no
  10289. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Documentation will not be built!" >&5
  10290. $as_echo "$as_me: WARNING: Documentation will not be built!" >&2;}
  10291. fi
  10292. fi
  10293. if test "x$enable_docs" = xyes; then
  10294. BUILD_DOCS_TRUE=
  10295. BUILD_DOCS_FALSE='#'
  10296. else
  10297. BUILD_DOCS_TRUE='#'
  10298. BUILD_DOCS_FALSE=
  10299. fi
  10300. # Check whether --enable-examples was given.
  10301. if test "${enable_examples+set}" = set; then :
  10302. enableval=$enable_examples;
  10303. fi
  10304. if test "x$enable_examples" = xyes; then
  10305. BUILD_EXAMPLES_TRUE=
  10306. BUILD_EXAMPLES_FALSE='#'
  10307. else
  10308. BUILD_EXAMPLES_TRUE='#'
  10309. BUILD_EXAMPLES_FALSE=
  10310. fi
  10311. cflags_save="$CFLAGS"
  10312. if test -z "$GCC"; then
  10313. case $host in
  10314. *-*-irix*)
  10315. if test -z "$CC"; then
  10316. CC=cc
  10317. fi
  10318. DEBUG="-g -signed"
  10319. CFLAGS="-O2 -w -signed"
  10320. PROFILE="-p -g3 -O2 -signed" ;;
  10321. sparc-sun-solaris*)
  10322. DEBUG="-v -g"
  10323. CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
  10324. PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
  10325. *)
  10326. DEBUG="-g"
  10327. CFLAGS="-O"
  10328. PROFILE="-g -p" ;;
  10329. esac
  10330. else
  10331. { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC version" >&5
  10332. $as_echo_n "checking GCC version... " >&6; }
  10333. GCC_VERSION=`$CC -dumpversion`
  10334. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
  10335. $as_echo "$GCC_VERSION" >&6; }
  10336. case $host in
  10337. *86-*-linux*)
  10338. DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
  10339. CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
  10340. # PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
  10341. PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
  10342. # glibc < 2.1.3 has a serious FP bug in the math inline header
  10343. # that will cripple Vorbis. Look to see if the magic FP stack
  10344. # clobber is missing in the mathinline header, thus indicating
  10345. # the buggy version
  10346. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10347. /* end confdefs.h. */
  10348. #define __LIBC_INTERNAL_MATH_INLINES 1
  10349. #define __OPTIMIZE__
  10350. #include <math.h>
  10351. _ACEOF
  10352. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10353. $EGREP "log10.*fldlg2.*fxch" >/dev/null 2>&1; then :
  10354. bad=maybe
  10355. else
  10356. bad=no
  10357. fi
  10358. rm -f conftest*
  10359. if test ${bad} = "maybe" ;then
  10360. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10361. /* end confdefs.h. */
  10362. #define __LIBC_INTERNAL_MATH_INLINES 1
  10363. #define __OPTIMIZE__
  10364. #include <math.h>
  10365. _ACEOF
  10366. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10367. $EGREP "log10.*fldlg2.*fxch.*st\([0123456789]*\)" >/dev/null 2>&1; then :
  10368. bad=no
  10369. else
  10370. bad=yes
  10371. fi
  10372. rm -f conftest*
  10373. fi
  10374. if test ${bad} = "yes" ;then
  10375. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
  10376. $as_echo "$as_me: WARNING: " >&2;}
  10377. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ********************************************************" >&5
  10378. $as_echo "$as_me: WARNING: ********************************************************" >&2;}
  10379. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * The glibc headers on this machine have a serious bug *" >&5
  10380. $as_echo "$as_me: WARNING: * The glibc headers on this machine have a serious bug *" >&2;}
  10381. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * in /usr/include/bits/mathinline.h This bug affects *" >&5
  10382. $as_echo "$as_me: WARNING: * in /usr/include/bits/mathinline.h This bug affects *" >&2;}
  10383. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * all floating point code, not just Ogg, built on this *" >&5
  10384. $as_echo "$as_me: WARNING: * all floating point code, not just Ogg, built on this *" >&2;}
  10385. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * machine. Upgrading to glibc 2.1.3 is strongly urged *" >&5
  10386. $as_echo "$as_me: WARNING: * machine. Upgrading to glibc 2.1.3 is strongly urged *" >&2;}
  10387. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * to correct the problem. Note that upgrading glibc *" >&5
  10388. $as_echo "$as_me: WARNING: * to correct the problem. Note that upgrading glibc *" >&2;}
  10389. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * will not fix any previously built programs; this is *" >&5
  10390. $as_echo "$as_me: WARNING: * will not fix any previously built programs; this is *" >&2;}
  10391. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * a compile-time time bug. *" >&5
  10392. $as_echo "$as_me: WARNING: * a compile-time time bug. *" >&2;}
  10393. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * To work around the problem for this build of Ogg, *" >&5
  10394. $as_echo "$as_me: WARNING: * To work around the problem for this build of Ogg, *" >&2;}
  10395. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * autoconf is disabling all math inlining. This will *" >&5
  10396. $as_echo "$as_me: WARNING: * autoconf is disabling all math inlining. This will *" >&2;}
  10397. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&5
  10398. $as_echo "$as_me: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&2;}
  10399. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * will actually work. Once glibc is upgraded, rerun *" >&5
  10400. $as_echo "$as_me: WARNING: * will actually work. Once glibc is upgraded, rerun *" >&2;}
  10401. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * configure and make to build with inlining. *" >&5
  10402. $as_echo "$as_me: WARNING: * configure and make to build with inlining. *" >&2;}
  10403. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ********************************************************" >&5
  10404. $as_echo "$as_me: WARNING: ********************************************************" >&2;}
  10405. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
  10406. $as_echo "$as_me: WARNING: " >&2;}
  10407. CFLAGS=${OPT}" -D__NO_MATH_INLINES"
  10408. PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
  10409. fi;;
  10410. powerpc-*-linux*spe)
  10411. DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
  10412. CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT"
  10413. PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";;
  10414. powerpc-*-linux*)
  10415. DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
  10416. CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
  10417. PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT";;
  10418. *-*-linux*)
  10419. DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
  10420. CFLAGS="-O20 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"
  10421. PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
  10422. sparc-sun-*)
  10423. sparc_cpu=""
  10424. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc supports -mv8" >&5
  10425. $as_echo_n "checking if gcc supports -mv8... " >&6; }
  10426. old_cflags="$CFLAGS"
  10427. CFLAGS="$CFLAGS -mv8"
  10428. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10429. /* end confdefs.h. */
  10430. int
  10431. main ()
  10432. {
  10433. return 0;
  10434. ;
  10435. return 0;
  10436. }
  10437. _ACEOF
  10438. if ac_fn_c_try_compile "$LINENO"; then :
  10439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10440. $as_echo "yes" >&6; }
  10441. sparc_cpu="-mv8"
  10442. fi
  10443. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10444. CFLAGS="$old_cflags"
  10445. DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
  10446. CFLAGS="-O20 -Wall -Wextra -ffast-math -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
  10447. PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char $sparc_cpu" ;;
  10448. *-*-darwin*)
  10449. DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
  10450. CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
  10451. PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
  10452. *-*-os2*)
  10453. # Use -W instead of -Wextra because gcc on OS/2 is an old version.
  10454. DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
  10455. CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
  10456. PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
  10457. *)
  10458. DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
  10459. CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
  10460. PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
  10461. esac
  10462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wdeclaration-after-statement" >&5
  10463. $as_echo_n "checking if $CC accepts -Wdeclaration-after-statement... " >&6; }
  10464. ac_add_cflags__old_cflags="$CFLAGS"
  10465. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  10466. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10467. /* end confdefs.h. */
  10468. #include <stdio.h>
  10469. int
  10470. main ()
  10471. {
  10472. puts("Hello, World!"); return 0;
  10473. ;
  10474. return 0;
  10475. }
  10476. _ACEOF
  10477. if ac_fn_c_try_link "$LINENO"; then :
  10478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10479. $as_echo "yes" >&6; }
  10480. else
  10481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10482. $as_echo "no" >&6; }
  10483. CFLAGS="$ac_add_cflags__old_cflags"
  10484. fi
  10485. rm -f core conftest.err conftest.$ac_objext \
  10486. conftest$ac_exeext conftest.$ac_ext
  10487. fi
  10488. CFLAGS="$CFLAGS $cflags_save"
  10489. ac_fn_c_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
  10490. if test "x$ac_cv_header_memory_h" = xyes; then :
  10491. CFLAGS="$CFLAGS -DUSE_MEMORY_H"
  10492. else
  10493. :
  10494. fi
  10495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  10496. $as_echo_n "checking for cos in -lm... " >&6; }
  10497. if ${ac_cv_lib_m_cos+:} false; then :
  10498. $as_echo_n "(cached) " >&6
  10499. else
  10500. ac_check_lib_save_LIBS=$LIBS
  10501. LIBS="-lm $LIBS"
  10502. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10503. /* end confdefs.h. */
  10504. /* Override any GCC internal prototype to avoid an error.
  10505. Use char because int might match the return type of a GCC
  10506. builtin and then its argument prototype would still apply. */
  10507. #ifdef __cplusplus
  10508. extern "C"
  10509. #endif
  10510. char cos ();
  10511. int
  10512. main ()
  10513. {
  10514. return cos ();
  10515. ;
  10516. return 0;
  10517. }
  10518. _ACEOF
  10519. if ac_fn_c_try_link "$LINENO"; then :
  10520. ac_cv_lib_m_cos=yes
  10521. else
  10522. ac_cv_lib_m_cos=no
  10523. fi
  10524. rm -f core conftest.err conftest.$ac_objext \
  10525. conftest$ac_exeext conftest.$ac_ext
  10526. LIBS=$ac_check_lib_save_LIBS
  10527. fi
  10528. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  10529. $as_echo "$ac_cv_lib_m_cos" >&6; }
  10530. if test "x$ac_cv_lib_m_cos" = xyes; then :
  10531. VORBIS_LIBS="-lm"
  10532. else
  10533. VORBIS_LIBS=""
  10534. fi
  10535. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  10536. $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  10537. if ${ac_cv_lib_pthread_pthread_create+:} false; then :
  10538. $as_echo_n "(cached) " >&6
  10539. else
  10540. ac_check_lib_save_LIBS=$LIBS
  10541. LIBS="-lpthread $LIBS"
  10542. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10543. /* end confdefs.h. */
  10544. /* Override any GCC internal prototype to avoid an error.
  10545. Use char because int might match the return type of a GCC
  10546. builtin and then its argument prototype would still apply. */
  10547. #ifdef __cplusplus
  10548. extern "C"
  10549. #endif
  10550. char pthread_create ();
  10551. int
  10552. main ()
  10553. {
  10554. return pthread_create ();
  10555. ;
  10556. return 0;
  10557. }
  10558. _ACEOF
  10559. if ac_fn_c_try_link "$LINENO"; then :
  10560. ac_cv_lib_pthread_pthread_create=yes
  10561. else
  10562. ac_cv_lib_pthread_pthread_create=no
  10563. fi
  10564. rm -f core conftest.err conftest.$ac_objext \
  10565. conftest$ac_exeext conftest.$ac_ext
  10566. LIBS=$ac_check_lib_save_LIBS
  10567. fi
  10568. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  10569. $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  10570. if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
  10571. pthread_lib="-lpthread"
  10572. else
  10573. :
  10574. fi
  10575. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  10576. if test -n "$ac_tool_prefix"; then
  10577. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  10578. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  10579. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10580. $as_echo_n "checking for $ac_word... " >&6; }
  10581. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  10582. $as_echo_n "(cached) " >&6
  10583. else
  10584. case $PKG_CONFIG in
  10585. [\\/]* | ?:[\\/]*)
  10586. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  10587. ;;
  10588. *)
  10589. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10590. for as_dir in $PATH
  10591. do
  10592. IFS=$as_save_IFS
  10593. test -z "$as_dir" && as_dir=.
  10594. for ac_exec_ext in '' $ac_executable_extensions; do
  10595. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10596. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  10597. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10598. break 2
  10599. fi
  10600. done
  10601. done
  10602. IFS=$as_save_IFS
  10603. ;;
  10604. esac
  10605. fi
  10606. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  10607. if test -n "$PKG_CONFIG"; then
  10608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  10609. $as_echo "$PKG_CONFIG" >&6; }
  10610. else
  10611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10612. $as_echo "no" >&6; }
  10613. fi
  10614. fi
  10615. if test -z "$ac_cv_path_PKG_CONFIG"; then
  10616. ac_pt_PKG_CONFIG=$PKG_CONFIG
  10617. # Extract the first word of "pkg-config", so it can be a program name with args.
  10618. set dummy pkg-config; ac_word=$2
  10619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10620. $as_echo_n "checking for $ac_word... " >&6; }
  10621. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  10622. $as_echo_n "(cached) " >&6
  10623. else
  10624. case $ac_pt_PKG_CONFIG in
  10625. [\\/]* | ?:[\\/]*)
  10626. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  10627. ;;
  10628. *)
  10629. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10630. for as_dir in $PATH
  10631. do
  10632. IFS=$as_save_IFS
  10633. test -z "$as_dir" && as_dir=.
  10634. for ac_exec_ext in '' $ac_executable_extensions; do
  10635. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10636. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  10637. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10638. break 2
  10639. fi
  10640. done
  10641. done
  10642. IFS=$as_save_IFS
  10643. ;;
  10644. esac
  10645. fi
  10646. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  10647. if test -n "$ac_pt_PKG_CONFIG"; then
  10648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  10649. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  10650. else
  10651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10652. $as_echo "no" >&6; }
  10653. fi
  10654. if test "x$ac_pt_PKG_CONFIG" = x; then
  10655. PKG_CONFIG=""
  10656. else
  10657. case $cross_compiling:$ac_tool_warned in
  10658. yes:)
  10659. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10660. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10661. ac_tool_warned=yes ;;
  10662. esac
  10663. PKG_CONFIG=$ac_pt_PKG_CONFIG
  10664. fi
  10665. else
  10666. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  10667. fi
  10668. fi
  10669. if test -n "$PKG_CONFIG"; then
  10670. _pkg_min_version=0.9.0
  10671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  10672. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  10673. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  10674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10675. $as_echo "yes" >&6; }
  10676. else
  10677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10678. $as_echo "no" >&6; }
  10679. PKG_CONFIG=""
  10680. fi
  10681. fi
  10682. HAVE_OGG=no
  10683. if test "x$PKG_CONFIG" != "x"
  10684. then
  10685. pkg_failed=no
  10686. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5
  10687. $as_echo_n "checking for OGG... " >&6; }
  10688. if test -n "$PKG_CONFIG"; then
  10689. if test -n "$OGG_CFLAGS"; then
  10690. pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
  10691. else
  10692. if test -n "$PKG_CONFIG" && \
  10693. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5
  10694. ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
  10695. ac_status=$?
  10696. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10697. test $ac_status = 0; }; then
  10698. pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null`
  10699. else
  10700. pkg_failed=yes
  10701. fi
  10702. fi
  10703. else
  10704. pkg_failed=untried
  10705. fi
  10706. if test -n "$PKG_CONFIG"; then
  10707. if test -n "$OGG_LIBS"; then
  10708. pkg_cv_OGG_LIBS="$OGG_LIBS"
  10709. else
  10710. if test -n "$PKG_CONFIG" && \
  10711. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\""; } >&5
  10712. ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
  10713. ac_status=$?
  10714. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10715. test $ac_status = 0; }; then
  10716. pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null`
  10717. else
  10718. pkg_failed=yes
  10719. fi
  10720. fi
  10721. else
  10722. pkg_failed=untried
  10723. fi
  10724. if test $pkg_failed = yes; then
  10725. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  10726. _pkg_short_errors_supported=yes
  10727. else
  10728. _pkg_short_errors_supported=no
  10729. fi
  10730. if test $_pkg_short_errors_supported = yes; then
  10731. OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.0"`
  10732. else
  10733. OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"`
  10734. fi
  10735. # Put the nasty error message in config.log where it belongs
  10736. echo "$OGG_PKG_ERRORS" >&5
  10737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10738. $as_echo "no" >&6; }
  10739. HAVE_OGG=no
  10740. elif test $pkg_failed = untried; then
  10741. HAVE_OGG=no
  10742. else
  10743. OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
  10744. OGG_LIBS=$pkg_cv_OGG_LIBS
  10745. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10746. $as_echo "yes" >&6; }
  10747. HAVE_OGG=yes
  10748. fi
  10749. fi
  10750. if test "x$HAVE_OGG" = "xno"
  10751. then
  10752. # Check whether --with-ogg was given.
  10753. if test "${with_ogg+set}" = set; then :
  10754. withval=$with_ogg; ogg_prefix="$withval"
  10755. else
  10756. ogg_prefix=""
  10757. fi
  10758. # Check whether --with-ogg-libraries was given.
  10759. if test "${with_ogg_libraries+set}" = set; then :
  10760. withval=$with_ogg_libraries; ogg_libraries="$withval"
  10761. else
  10762. ogg_libraries=""
  10763. fi
  10764. # Check whether --with-ogg-includes was given.
  10765. if test "${with_ogg_includes+set}" = set; then :
  10766. withval=$with_ogg_includes; ogg_includes="$withval"
  10767. else
  10768. ogg_includes=""
  10769. fi
  10770. # Check whether --enable-oggtest was given.
  10771. if test "${enable_oggtest+set}" = set; then :
  10772. enableval=$enable_oggtest;
  10773. else
  10774. enable_oggtest=yes
  10775. fi
  10776. if test "x$ogg_libraries" != "x" ; then
  10777. OGG_LIBS="-L$ogg_libraries"
  10778. elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
  10779. OGG_LIBS=""
  10780. elif test "x$ogg_prefix" != "x" ; then
  10781. OGG_LIBS="-L$ogg_prefix/lib"
  10782. elif test "x$prefix" != "xNONE" ; then
  10783. OGG_LIBS="-L$prefix/lib"
  10784. fi
  10785. if test "x$ogg_prefix" != "xno" ; then
  10786. OGG_LIBS="$OGG_LIBS -logg"
  10787. fi
  10788. if test "x$ogg_includes" != "x" ; then
  10789. OGG_CFLAGS="-I$ogg_includes"
  10790. elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
  10791. OGG_CFLAGS=""
  10792. elif test "x$ogg_prefix" != "x" ; then
  10793. OGG_CFLAGS="-I$ogg_prefix/include"
  10794. elif test "x$prefix" != "xNONE"; then
  10795. OGG_CFLAGS="-I$prefix/include"
  10796. fi
  10797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5
  10798. $as_echo_n "checking for Ogg... " >&6; }
  10799. if test "x$ogg_prefix" = "xno" ; then
  10800. no_ogg="disabled"
  10801. enable_oggtest="no"
  10802. else
  10803. no_ogg=""
  10804. fi
  10805. if test "x$enable_oggtest" = "xyes" ; then
  10806. ac_save_CFLAGS="$CFLAGS"
  10807. ac_save_LIBS="$LIBS"
  10808. CFLAGS="$CFLAGS $OGG_CFLAGS"
  10809. LIBS="$LIBS $OGG_LIBS"
  10810. rm -f conf.oggtest
  10811. if test "$cross_compiling" = yes; then :
  10812. echo $ac_n "cross compiling; assumed OK... $ac_c"
  10813. else
  10814. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10815. /* end confdefs.h. */
  10816. #include <stdio.h>
  10817. #include <stdlib.h>
  10818. #include <string.h>
  10819. #include <ogg/ogg.h>
  10820. int main ()
  10821. {
  10822. system("touch conf.oggtest");
  10823. return 0;
  10824. }
  10825. _ACEOF
  10826. if ac_fn_c_try_run "$LINENO"; then :
  10827. else
  10828. no_ogg=yes
  10829. fi
  10830. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  10831. conftest.$ac_objext conftest.beam conftest.$ac_ext
  10832. fi
  10833. CFLAGS="$ac_save_CFLAGS"
  10834. LIBS="$ac_save_LIBS"
  10835. fi
  10836. if test "x$no_ogg" = "xdisabled" ; then
  10837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10838. $as_echo "no" >&6; }
  10839. as_fn_error $? "must have Ogg installed!" "$LINENO" 5
  10840. elif test "x$no_ogg" = "x" ; then
  10841. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10842. $as_echo "yes" >&6; }
  10843. :
  10844. else
  10845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10846. $as_echo "no" >&6; }
  10847. if test -f conf.oggtest ; then
  10848. :
  10849. else
  10850. echo "*** Could not run Ogg test program, checking why..."
  10851. CFLAGS="$CFLAGS $OGG_CFLAGS"
  10852. LIBS="$LIBS $OGG_LIBS"
  10853. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10854. /* end confdefs.h. */
  10855. #include <stdio.h>
  10856. #include <ogg/ogg.h>
  10857. int
  10858. main ()
  10859. {
  10860. return 0;
  10861. ;
  10862. return 0;
  10863. }
  10864. _ACEOF
  10865. if ac_fn_c_try_link "$LINENO"; then :
  10866. echo "*** The test program compiled, but did not run. This usually means"
  10867. echo "*** that the run-time linker is not finding Ogg or finding the wrong"
  10868. echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
  10869. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  10870. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  10871. echo "*** is required on your system"
  10872. echo "***"
  10873. echo "*** If you have an old version installed, it is best to remove it, although"
  10874. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  10875. else
  10876. echo "*** The test program failed to compile or link. See the file config.log for the"
  10877. echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
  10878. echo "*** or that you have moved Ogg since it was installed."
  10879. fi
  10880. rm -f core conftest.err conftest.$ac_objext \
  10881. conftest$ac_exeext conftest.$ac_ext
  10882. CFLAGS="$ac_save_CFLAGS"
  10883. LIBS="$ac_save_LIBS"
  10884. fi
  10885. OGG_CFLAGS=""
  10886. OGG_LIBS=""
  10887. as_fn_error $? "must have Ogg installed!" "$LINENO" 5
  10888. fi
  10889. rm -f conf.oggtest
  10890. libs_save=$LIBS
  10891. LIBS="$OGG_LIBS $VORBIS_LIBS"
  10892. ac_fn_c_check_func "$LINENO" "oggpack_writealign" "ac_cv_func_oggpack_writealign"
  10893. if test "x$ac_cv_func_oggpack_writealign" = xyes; then :
  10894. else
  10895. as_fn_error $? "Ogg >= 1.0 required !" "$LINENO" 5
  10896. fi
  10897. LIBS=$libs_save
  10898. fi
  10899. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  10900. if test "x$ac_cv_type_size_t" = xyes; then :
  10901. else
  10902. cat >>confdefs.h <<_ACEOF
  10903. #define size_t unsigned int
  10904. _ACEOF
  10905. fi
  10906. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  10907. # for constant arguments. Useless!
  10908. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  10909. $as_echo_n "checking for working alloca.h... " >&6; }
  10910. if ${ac_cv_working_alloca_h+:} false; then :
  10911. $as_echo_n "(cached) " >&6
  10912. else
  10913. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10914. /* end confdefs.h. */
  10915. #include <alloca.h>
  10916. int
  10917. main ()
  10918. {
  10919. char *p = (char *) alloca (2 * sizeof (int));
  10920. if (p) return 0;
  10921. ;
  10922. return 0;
  10923. }
  10924. _ACEOF
  10925. if ac_fn_c_try_link "$LINENO"; then :
  10926. ac_cv_working_alloca_h=yes
  10927. else
  10928. ac_cv_working_alloca_h=no
  10929. fi
  10930. rm -f core conftest.err conftest.$ac_objext \
  10931. conftest$ac_exeext conftest.$ac_ext
  10932. fi
  10933. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  10934. $as_echo "$ac_cv_working_alloca_h" >&6; }
  10935. if test $ac_cv_working_alloca_h = yes; then
  10936. $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
  10937. fi
  10938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  10939. $as_echo_n "checking for alloca... " >&6; }
  10940. if ${ac_cv_func_alloca_works+:} false; then :
  10941. $as_echo_n "(cached) " >&6
  10942. else
  10943. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10944. /* end confdefs.h. */
  10945. #ifdef __GNUC__
  10946. # define alloca __builtin_alloca
  10947. #else
  10948. # ifdef _MSC_VER
  10949. # include <malloc.h>
  10950. # define alloca _alloca
  10951. # else
  10952. # ifdef HAVE_ALLOCA_H
  10953. # include <alloca.h>
  10954. # else
  10955. # ifdef _AIX
  10956. #pragma alloca
  10957. # else
  10958. # ifndef alloca /* predefined by HP cc +Olibcalls */
  10959. void *alloca (size_t);
  10960. # endif
  10961. # endif
  10962. # endif
  10963. # endif
  10964. #endif
  10965. int
  10966. main ()
  10967. {
  10968. char *p = (char *) alloca (1);
  10969. if (p) return 0;
  10970. ;
  10971. return 0;
  10972. }
  10973. _ACEOF
  10974. if ac_fn_c_try_link "$LINENO"; then :
  10975. ac_cv_func_alloca_works=yes
  10976. else
  10977. ac_cv_func_alloca_works=no
  10978. fi
  10979. rm -f core conftest.err conftest.$ac_objext \
  10980. conftest$ac_exeext conftest.$ac_ext
  10981. fi
  10982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  10983. $as_echo "$ac_cv_func_alloca_works" >&6; }
  10984. if test $ac_cv_func_alloca_works = yes; then
  10985. $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
  10986. else
  10987. # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  10988. # that cause trouble. Some versions do not even contain alloca or
  10989. # contain a buggy version. If you still want to use their alloca,
  10990. # use ar to extract alloca.o from them instead of compiling alloca.c.
  10991. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  10992. $as_echo "#define C_ALLOCA 1" >>confdefs.h
  10993. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  10994. $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  10995. if ${ac_cv_os_cray+:} false; then :
  10996. $as_echo_n "(cached) " >&6
  10997. else
  10998. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10999. /* end confdefs.h. */
  11000. #if defined CRAY && ! defined CRAY2
  11001. webecray
  11002. #else
  11003. wenotbecray
  11004. #endif
  11005. _ACEOF
  11006. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11007. $EGREP "webecray" >/dev/null 2>&1; then :
  11008. ac_cv_os_cray=yes
  11009. else
  11010. ac_cv_os_cray=no
  11011. fi
  11012. rm -f conftest*
  11013. fi
  11014. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  11015. $as_echo "$ac_cv_os_cray" >&6; }
  11016. if test $ac_cv_os_cray = yes; then
  11017. for ac_func in _getb67 GETB67 getb67; do
  11018. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11019. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11020. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11021. cat >>confdefs.h <<_ACEOF
  11022. #define CRAY_STACKSEG_END $ac_func
  11023. _ACEOF
  11024. break
  11025. fi
  11026. done
  11027. fi
  11028. { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  11029. $as_echo_n "checking stack direction for C alloca... " >&6; }
  11030. if ${ac_cv_c_stack_direction+:} false; then :
  11031. $as_echo_n "(cached) " >&6
  11032. else
  11033. if test "$cross_compiling" = yes; then :
  11034. ac_cv_c_stack_direction=0
  11035. else
  11036. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11037. /* end confdefs.h. */
  11038. $ac_includes_default
  11039. int
  11040. find_stack_direction ()
  11041. {
  11042. static char *addr = 0;
  11043. auto char dummy;
  11044. if (addr == 0)
  11045. {
  11046. addr = &dummy;
  11047. return find_stack_direction ();
  11048. }
  11049. else
  11050. return (&dummy > addr) ? 1 : -1;
  11051. }
  11052. int
  11053. main ()
  11054. {
  11055. return find_stack_direction () < 0;
  11056. }
  11057. _ACEOF
  11058. if ac_fn_c_try_run "$LINENO"; then :
  11059. ac_cv_c_stack_direction=1
  11060. else
  11061. ac_cv_c_stack_direction=-1
  11062. fi
  11063. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11064. conftest.$ac_objext conftest.beam conftest.$ac_ext
  11065. fi
  11066. fi
  11067. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  11068. $as_echo "$ac_cv_c_stack_direction" >&6; }
  11069. cat >>confdefs.h <<_ACEOF
  11070. #define STACK_DIRECTION $ac_cv_c_stack_direction
  11071. _ACEOF
  11072. fi
  11073. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
  11074. $as_echo_n "checking for working memcmp... " >&6; }
  11075. if ${ac_cv_func_memcmp_working+:} false; then :
  11076. $as_echo_n "(cached) " >&6
  11077. else
  11078. if test "$cross_compiling" = yes; then :
  11079. ac_cv_func_memcmp_working=no
  11080. else
  11081. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11082. /* end confdefs.h. */
  11083. $ac_includes_default
  11084. int
  11085. main ()
  11086. {
  11087. /* Some versions of memcmp are not 8-bit clean. */
  11088. char c0 = '\100', c1 = '\200', c2 = '\201';
  11089. if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
  11090. return 1;
  11091. /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
  11092. or more and with at least one buffer not starting on a 4-byte boundary.
  11093. William Lewis provided this test program. */
  11094. {
  11095. char foo[21];
  11096. char bar[21];
  11097. int i;
  11098. for (i = 0; i < 4; i++)
  11099. {
  11100. char *a = foo + i;
  11101. char *b = bar + i;
  11102. strcpy (a, "--------01111111");
  11103. strcpy (b, "--------10000000");
  11104. if (memcmp (a, b, 16) >= 0)
  11105. return 1;
  11106. }
  11107. return 0;
  11108. }
  11109. ;
  11110. return 0;
  11111. }
  11112. _ACEOF
  11113. if ac_fn_c_try_run "$LINENO"; then :
  11114. ac_cv_func_memcmp_working=yes
  11115. else
  11116. ac_cv_func_memcmp_working=no
  11117. fi
  11118. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11119. conftest.$ac_objext conftest.beam conftest.$ac_ext
  11120. fi
  11121. fi
  11122. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
  11123. $as_echo "$ac_cv_func_memcmp_working" >&6; }
  11124. test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
  11125. *" memcmp.$ac_objext "* ) ;;
  11126. *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
  11127. ;;
  11128. esac
  11129. ac_config_files="$ac_config_files Makefile m4/Makefile lib/Makefile lib/modes/Makefile lib/books/Makefile lib/books/coupled/Makefile lib/books/uncoupled/Makefile lib/books/floor/Makefile doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile doc/libvorbis/Makefile doc/Doxyfile include/Makefile include/vorbis/Makefile examples/Makefile test/Makefile vq/Makefile libvorbis.spec vorbis.pc vorbisenc.pc vorbisfile.pc vorbis-uninstalled.pc vorbisenc-uninstalled.pc vorbisfile-uninstalled.pc"
  11130. cat >confcache <<\_ACEOF
  11131. # This file is a shell script that caches the results of configure
  11132. # tests run on this system so they can be shared between configure
  11133. # scripts and configure runs, see configure's option --config-cache.
  11134. # It is not useful on other systems. If it contains results you don't
  11135. # want to keep, you may remove or edit it.
  11136. #
  11137. # config.status only pays attention to the cache file if you give it
  11138. # the --recheck option to rerun configure.
  11139. #
  11140. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  11141. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  11142. # following values.
  11143. _ACEOF
  11144. # The following way of writing the cache mishandles newlines in values,
  11145. # but we know of no workaround that is simple, portable, and efficient.
  11146. # So, we kill variables containing newlines.
  11147. # Ultrix sh set writes to stderr and can't be redirected directly,
  11148. # and sets the high bit in the cache file unless we assign to the vars.
  11149. (
  11150. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  11151. eval ac_val=\$$ac_var
  11152. case $ac_val in #(
  11153. *${as_nl}*)
  11154. case $ac_var in #(
  11155. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11156. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11157. esac
  11158. case $ac_var in #(
  11159. _ | IFS | as_nl) ;; #(
  11160. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11161. *) { eval $ac_var=; unset $ac_var;} ;;
  11162. esac ;;
  11163. esac
  11164. done
  11165. (set) 2>&1 |
  11166. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  11167. *${as_nl}ac_space=\ *)
  11168. # `set' does not quote correctly, so add quotes: double-quote
  11169. # substitution turns \\\\ into \\, and sed turns \\ into \.
  11170. sed -n \
  11171. "s/'/'\\\\''/g;
  11172. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  11173. ;; #(
  11174. *)
  11175. # `set' quotes correctly as required by POSIX, so do not add quotes.
  11176. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  11177. ;;
  11178. esac |
  11179. sort
  11180. ) |
  11181. sed '
  11182. /^ac_cv_env_/b end
  11183. t clear
  11184. :clear
  11185. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  11186. t end
  11187. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  11188. :end' >>confcache
  11189. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  11190. if test -w "$cache_file"; then
  11191. if test "x$cache_file" != "x/dev/null"; then
  11192. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  11193. $as_echo "$as_me: updating cache $cache_file" >&6;}
  11194. if test ! -f "$cache_file" || test -h "$cache_file"; then
  11195. cat confcache >"$cache_file"
  11196. else
  11197. case $cache_file in #(
  11198. */* | ?:*)
  11199. mv -f confcache "$cache_file"$$ &&
  11200. mv -f "$cache_file"$$ "$cache_file" ;; #(
  11201. *)
  11202. mv -f confcache "$cache_file" ;;
  11203. esac
  11204. fi
  11205. fi
  11206. else
  11207. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  11208. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  11209. fi
  11210. fi
  11211. rm -f confcache
  11212. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  11213. # Let make expand exec_prefix.
  11214. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  11215. DEFS=-DHAVE_CONFIG_H
  11216. ac_libobjs=
  11217. ac_ltlibobjs=
  11218. U=
  11219. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  11220. # 1. Remove the extension, and $U if already installed.
  11221. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  11222. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  11223. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  11224. # will be set to the directory where LIBOBJS objects are built.
  11225. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  11226. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  11227. done
  11228. LIBOBJS=$ac_libobjs
  11229. LTLIBOBJS=$ac_ltlibobjs
  11230. if test -n "$EXEEXT"; then
  11231. am__EXEEXT_TRUE=
  11232. am__EXEEXT_FALSE='#'
  11233. else
  11234. am__EXEEXT_TRUE='#'
  11235. am__EXEEXT_FALSE=
  11236. fi
  11237. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  11238. as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  11239. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11240. fi
  11241. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  11242. as_fn_error $? "conditional \"AMDEP\" was never defined.
  11243. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11244. fi
  11245. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  11246. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  11247. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11248. fi
  11249. if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
  11250. as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
  11251. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11252. fi
  11253. if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
  11254. as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
  11255. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11256. fi
  11257. if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
  11258. as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
  11259. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11260. fi
  11261. : "${CONFIG_STATUS=./config.status}"
  11262. ac_write_fail=0
  11263. ac_clean_files_save=$ac_clean_files
  11264. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  11265. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  11266. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  11267. as_write_fail=0
  11268. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  11269. #! $SHELL
  11270. # Generated by $as_me.
  11271. # Run this file to recreate the current configuration.
  11272. # Compiler output produced by configure, useful for debugging
  11273. # configure, is in config.log if it exists.
  11274. debug=false
  11275. ac_cs_recheck=false
  11276. ac_cs_silent=false
  11277. SHELL=\${CONFIG_SHELL-$SHELL}
  11278. export SHELL
  11279. _ASEOF
  11280. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  11281. ## -------------------- ##
  11282. ## M4sh Initialization. ##
  11283. ## -------------------- ##
  11284. # Be more Bourne compatible
  11285. DUALCASE=1; export DUALCASE # for MKS sh
  11286. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  11287. emulate sh
  11288. NULLCMD=:
  11289. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  11290. # is contrary to our usage. Disable this feature.
  11291. alias -g '${1+"$@"}'='"$@"'
  11292. setopt NO_GLOB_SUBST
  11293. else
  11294. case `(set -o) 2>/dev/null` in #(
  11295. *posix*) :
  11296. set -o posix ;; #(
  11297. *) :
  11298. ;;
  11299. esac
  11300. fi
  11301. as_nl='
  11302. '
  11303. export as_nl
  11304. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  11305. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  11306. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  11307. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  11308. # Prefer a ksh shell builtin over an external printf program on Solaris,
  11309. # but without wasting forks for bash or zsh.
  11310. if test -z "$BASH_VERSION$ZSH_VERSION" \
  11311. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  11312. as_echo='print -r --'
  11313. as_echo_n='print -rn --'
  11314. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  11315. as_echo='printf %s\n'
  11316. as_echo_n='printf %s'
  11317. else
  11318. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  11319. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  11320. as_echo_n='/usr/ucb/echo -n'
  11321. else
  11322. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  11323. as_echo_n_body='eval
  11324. arg=$1;
  11325. case $arg in #(
  11326. *"$as_nl"*)
  11327. expr "X$arg" : "X\\(.*\\)$as_nl";
  11328. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  11329. esac;
  11330. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  11331. '
  11332. export as_echo_n_body
  11333. as_echo_n='sh -c $as_echo_n_body as_echo'
  11334. fi
  11335. export as_echo_body
  11336. as_echo='sh -c $as_echo_body as_echo'
  11337. fi
  11338. # The user is always right.
  11339. if test "${PATH_SEPARATOR+set}" != set; then
  11340. PATH_SEPARATOR=:
  11341. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  11342. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  11343. PATH_SEPARATOR=';'
  11344. }
  11345. fi
  11346. # IFS
  11347. # We need space, tab and new line, in precisely that order. Quoting is
  11348. # there to prevent editors from complaining about space-tab.
  11349. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  11350. # splitting by setting IFS to empty value.)
  11351. IFS=" "" $as_nl"
  11352. # Find who we are. Look in the path if we contain no directory separator.
  11353. as_myself=
  11354. case $0 in #((
  11355. *[\\/]* ) as_myself=$0 ;;
  11356. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11357. for as_dir in $PATH
  11358. do
  11359. IFS=$as_save_IFS
  11360. test -z "$as_dir" && as_dir=.
  11361. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  11362. done
  11363. IFS=$as_save_IFS
  11364. ;;
  11365. esac
  11366. # We did not find ourselves, most probably we were run as `sh COMMAND'
  11367. # in which case we are not to be found in the path.
  11368. if test "x$as_myself" = x; then
  11369. as_myself=$0
  11370. fi
  11371. if test ! -f "$as_myself"; then
  11372. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  11373. exit 1
  11374. fi
  11375. # Unset variables that we do not need and which cause bugs (e.g. in
  11376. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  11377. # suppresses any "Segmentation fault" message there. '((' could
  11378. # trigger a bug in pdksh 5.2.14.
  11379. for as_var in BASH_ENV ENV MAIL MAILPATH
  11380. do eval test x\${$as_var+set} = xset \
  11381. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  11382. done
  11383. PS1='$ '
  11384. PS2='> '
  11385. PS4='+ '
  11386. # NLS nuisances.
  11387. LC_ALL=C
  11388. export LC_ALL
  11389. LANGUAGE=C
  11390. export LANGUAGE
  11391. # CDPATH.
  11392. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11393. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  11394. # ----------------------------------------
  11395. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  11396. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  11397. # script with STATUS, using 1 if that was 0.
  11398. as_fn_error ()
  11399. {
  11400. as_status=$1; test $as_status -eq 0 && as_status=1
  11401. if test "$4"; then
  11402. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11403. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  11404. fi
  11405. $as_echo "$as_me: error: $2" >&2
  11406. as_fn_exit $as_status
  11407. } # as_fn_error
  11408. # as_fn_set_status STATUS
  11409. # -----------------------
  11410. # Set $? to STATUS, without forking.
  11411. as_fn_set_status ()
  11412. {
  11413. return $1
  11414. } # as_fn_set_status
  11415. # as_fn_exit STATUS
  11416. # -----------------
  11417. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  11418. as_fn_exit ()
  11419. {
  11420. set +e
  11421. as_fn_set_status $1
  11422. exit $1
  11423. } # as_fn_exit
  11424. # as_fn_unset VAR
  11425. # ---------------
  11426. # Portably unset VAR.
  11427. as_fn_unset ()
  11428. {
  11429. { eval $1=; unset $1;}
  11430. }
  11431. as_unset=as_fn_unset
  11432. # as_fn_append VAR VALUE
  11433. # ----------------------
  11434. # Append the text in VALUE to the end of the definition contained in VAR. Take
  11435. # advantage of any shell optimizations that allow amortized linear growth over
  11436. # repeated appends, instead of the typical quadratic growth present in naive
  11437. # implementations.
  11438. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  11439. eval 'as_fn_append ()
  11440. {
  11441. eval $1+=\$2
  11442. }'
  11443. else
  11444. as_fn_append ()
  11445. {
  11446. eval $1=\$$1\$2
  11447. }
  11448. fi # as_fn_append
  11449. # as_fn_arith ARG...
  11450. # ------------------
  11451. # Perform arithmetic evaluation on the ARGs, and store the result in the
  11452. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  11453. # must be portable across $(()) and expr.
  11454. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  11455. eval 'as_fn_arith ()
  11456. {
  11457. as_val=$(( $* ))
  11458. }'
  11459. else
  11460. as_fn_arith ()
  11461. {
  11462. as_val=`expr "$@" || test $? -eq 1`
  11463. }
  11464. fi # as_fn_arith
  11465. if expr a : '\(a\)' >/dev/null 2>&1 &&
  11466. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  11467. as_expr=expr
  11468. else
  11469. as_expr=false
  11470. fi
  11471. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  11472. as_basename=basename
  11473. else
  11474. as_basename=false
  11475. fi
  11476. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  11477. as_dirname=dirname
  11478. else
  11479. as_dirname=false
  11480. fi
  11481. as_me=`$as_basename -- "$0" ||
  11482. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  11483. X"$0" : 'X\(//\)$' \| \
  11484. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  11485. $as_echo X/"$0" |
  11486. sed '/^.*\/\([^/][^/]*\)\/*$/{
  11487. s//\1/
  11488. q
  11489. }
  11490. /^X\/\(\/\/\)$/{
  11491. s//\1/
  11492. q
  11493. }
  11494. /^X\/\(\/\).*/{
  11495. s//\1/
  11496. q
  11497. }
  11498. s/.*/./; q'`
  11499. # Avoid depending upon Character Ranges.
  11500. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  11501. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  11502. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  11503. as_cr_digits='0123456789'
  11504. as_cr_alnum=$as_cr_Letters$as_cr_digits
  11505. ECHO_C= ECHO_N= ECHO_T=
  11506. case `echo -n x` in #(((((
  11507. -n*)
  11508. case `echo 'xy\c'` in
  11509. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  11510. xy) ECHO_C='\c';;
  11511. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  11512. ECHO_T=' ';;
  11513. esac;;
  11514. *)
  11515. ECHO_N='-n';;
  11516. esac
  11517. rm -f conf$$ conf$$.exe conf$$.file
  11518. if test -d conf$$.dir; then
  11519. rm -f conf$$.dir/conf$$.file
  11520. else
  11521. rm -f conf$$.dir
  11522. mkdir conf$$.dir 2>/dev/null
  11523. fi
  11524. if (echo >conf$$.file) 2>/dev/null; then
  11525. if ln -s conf$$.file conf$$ 2>/dev/null; then
  11526. as_ln_s='ln -s'
  11527. # ... but there are two gotchas:
  11528. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  11529. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  11530. # In both cases, we have to default to `cp -p'.
  11531. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  11532. as_ln_s='cp -p'
  11533. elif ln conf$$.file conf$$ 2>/dev/null; then
  11534. as_ln_s=ln
  11535. else
  11536. as_ln_s='cp -p'
  11537. fi
  11538. else
  11539. as_ln_s='cp -p'
  11540. fi
  11541. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  11542. rmdir conf$$.dir 2>/dev/null
  11543. # as_fn_mkdir_p
  11544. # -------------
  11545. # Create "$as_dir" as a directory, including parents if necessary.
  11546. as_fn_mkdir_p ()
  11547. {
  11548. case $as_dir in #(
  11549. -*) as_dir=./$as_dir;;
  11550. esac
  11551. test -d "$as_dir" || eval $as_mkdir_p || {
  11552. as_dirs=
  11553. while :; do
  11554. case $as_dir in #(
  11555. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  11556. *) as_qdir=$as_dir;;
  11557. esac
  11558. as_dirs="'$as_qdir' $as_dirs"
  11559. as_dir=`$as_dirname -- "$as_dir" ||
  11560. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  11561. X"$as_dir" : 'X\(//\)[^/]' \| \
  11562. X"$as_dir" : 'X\(//\)$' \| \
  11563. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  11564. $as_echo X"$as_dir" |
  11565. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  11566. s//\1/
  11567. q
  11568. }
  11569. /^X\(\/\/\)[^/].*/{
  11570. s//\1/
  11571. q
  11572. }
  11573. /^X\(\/\/\)$/{
  11574. s//\1/
  11575. q
  11576. }
  11577. /^X\(\/\).*/{
  11578. s//\1/
  11579. q
  11580. }
  11581. s/.*/./; q'`
  11582. test -d "$as_dir" && break
  11583. done
  11584. test -z "$as_dirs" || eval "mkdir $as_dirs"
  11585. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  11586. } # as_fn_mkdir_p
  11587. if mkdir -p . 2>/dev/null; then
  11588. as_mkdir_p='mkdir -p "$as_dir"'
  11589. else
  11590. test -d ./-p && rmdir ./-p
  11591. as_mkdir_p=false
  11592. fi
  11593. if test -x / >/dev/null 2>&1; then
  11594. as_test_x='test -x'
  11595. else
  11596. if ls -dL / >/dev/null 2>&1; then
  11597. as_ls_L_option=L
  11598. else
  11599. as_ls_L_option=
  11600. fi
  11601. as_test_x='
  11602. eval sh -c '\''
  11603. if test -d "$1"; then
  11604. test -d "$1/.";
  11605. else
  11606. case $1 in #(
  11607. -*)set "./$1";;
  11608. esac;
  11609. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  11610. ???[sx]*):;;*)false;;esac;fi
  11611. '\'' sh
  11612. '
  11613. fi
  11614. as_executable_p=$as_test_x
  11615. # Sed expression to map a string onto a valid CPP name.
  11616. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  11617. # Sed expression to map a string onto a valid variable name.
  11618. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  11619. exec 6>&1
  11620. ## ----------------------------------- ##
  11621. ## Main body of $CONFIG_STATUS script. ##
  11622. ## ----------------------------------- ##
  11623. _ASEOF
  11624. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  11625. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11626. # Save the log message, to keep $0 and so on meaningful, and to
  11627. # report actual input values of CONFIG_FILES etc. instead of their
  11628. # values after options handling.
  11629. ac_log="
  11630. This file was extended by libvorbis $as_me 1.3.3, which was
  11631. generated by GNU Autoconf 2.68. Invocation command line was
  11632. CONFIG_FILES = $CONFIG_FILES
  11633. CONFIG_HEADERS = $CONFIG_HEADERS
  11634. CONFIG_LINKS = $CONFIG_LINKS
  11635. CONFIG_COMMANDS = $CONFIG_COMMANDS
  11636. $ $0 $@
  11637. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  11638. "
  11639. _ACEOF
  11640. case $ac_config_files in *"
  11641. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  11642. esac
  11643. case $ac_config_headers in *"
  11644. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  11645. esac
  11646. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11647. # Files that config.status was made for.
  11648. config_files="$ac_config_files"
  11649. config_headers="$ac_config_headers"
  11650. config_commands="$ac_config_commands"
  11651. _ACEOF
  11652. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11653. ac_cs_usage="\
  11654. \`$as_me' instantiates files and other configuration actions
  11655. from templates according to the current configuration. Unless the files
  11656. and actions are specified as TAGs, all are instantiated by default.
  11657. Usage: $0 [OPTION]... [TAG]...
  11658. -h, --help print this help, then exit
  11659. -V, --version print version number and configuration settings, then exit
  11660. --config print configuration, then exit
  11661. -q, --quiet, --silent
  11662. do not print progress messages
  11663. -d, --debug don't remove temporary files
  11664. --recheck update $as_me by reconfiguring in the same conditions
  11665. --file=FILE[:TEMPLATE]
  11666. instantiate the configuration file FILE
  11667. --header=FILE[:TEMPLATE]
  11668. instantiate the configuration header FILE
  11669. Configuration files:
  11670. $config_files
  11671. Configuration headers:
  11672. $config_headers
  11673. Configuration commands:
  11674. $config_commands
  11675. Report bugs to <[email protected]>."
  11676. _ACEOF
  11677. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11678. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  11679. ac_cs_version="\\
  11680. libvorbis config.status 1.3.3
  11681. configured by $0, generated by GNU Autoconf 2.68,
  11682. with options \\"\$ac_cs_config\\"
  11683. Copyright (C) 2010 Free Software Foundation, Inc.
  11684. This config.status script is free software; the Free Software Foundation
  11685. gives unlimited permission to copy, distribute and modify it."
  11686. ac_pwd='$ac_pwd'
  11687. srcdir='$srcdir'
  11688. INSTALL='$INSTALL'
  11689. MKDIR_P='$MKDIR_P'
  11690. AWK='$AWK'
  11691. test -n "\$AWK" || AWK=awk
  11692. _ACEOF
  11693. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11694. # The default lists apply if the user does not specify any file.
  11695. ac_need_defaults=:
  11696. while test $# != 0
  11697. do
  11698. case $1 in
  11699. --*=?*)
  11700. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11701. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  11702. ac_shift=:
  11703. ;;
  11704. --*=)
  11705. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11706. ac_optarg=
  11707. ac_shift=:
  11708. ;;
  11709. *)
  11710. ac_option=$1
  11711. ac_optarg=$2
  11712. ac_shift=shift
  11713. ;;
  11714. esac
  11715. case $ac_option in
  11716. # Handling of the options.
  11717. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  11718. ac_cs_recheck=: ;;
  11719. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  11720. $as_echo "$ac_cs_version"; exit ;;
  11721. --config | --confi | --conf | --con | --co | --c )
  11722. $as_echo "$ac_cs_config"; exit ;;
  11723. --debug | --debu | --deb | --de | --d | -d )
  11724. debug=: ;;
  11725. --file | --fil | --fi | --f )
  11726. $ac_shift
  11727. case $ac_optarg in
  11728. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11729. '') as_fn_error $? "missing file argument" ;;
  11730. esac
  11731. as_fn_append CONFIG_FILES " '$ac_optarg'"
  11732. ac_need_defaults=false;;
  11733. --header | --heade | --head | --hea )
  11734. $ac_shift
  11735. case $ac_optarg in
  11736. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11737. esac
  11738. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  11739. ac_need_defaults=false;;
  11740. --he | --h)
  11741. # Conflict between --help and --header
  11742. as_fn_error $? "ambiguous option: \`$1'
  11743. Try \`$0 --help' for more information.";;
  11744. --help | --hel | -h )
  11745. $as_echo "$ac_cs_usage"; exit ;;
  11746. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11747. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  11748. ac_cs_silent=: ;;
  11749. # This is an error.
  11750. -*) as_fn_error $? "unrecognized option: \`$1'
  11751. Try \`$0 --help' for more information." ;;
  11752. *) as_fn_append ac_config_targets " $1"
  11753. ac_need_defaults=false ;;
  11754. esac
  11755. shift
  11756. done
  11757. ac_configure_extra_args=
  11758. if $ac_cs_silent; then
  11759. exec 6>/dev/null
  11760. ac_configure_extra_args="$ac_configure_extra_args --silent"
  11761. fi
  11762. _ACEOF
  11763. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11764. if \$ac_cs_recheck; then
  11765. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  11766. shift
  11767. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  11768. CONFIG_SHELL='$SHELL'
  11769. export CONFIG_SHELL
  11770. exec "\$@"
  11771. fi
  11772. _ACEOF
  11773. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11774. exec 5>>config.log
  11775. {
  11776. echo
  11777. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  11778. ## Running $as_me. ##
  11779. _ASBOX
  11780. $as_echo "$ac_log"
  11781. } >&5
  11782. _ACEOF
  11783. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11784. #
  11785. # INIT-COMMANDS
  11786. #
  11787. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  11788. # The HP-UX ksh and POSIX shell print the target directory to stdout
  11789. # if CDPATH is set.
  11790. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11791. sed_quote_subst='$sed_quote_subst'
  11792. double_quote_subst='$double_quote_subst'
  11793. delay_variable_subst='$delay_variable_subst'
  11794. AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
  11795. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  11796. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  11797. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  11798. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  11799. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  11800. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  11801. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  11802. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  11803. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  11804. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  11805. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  11806. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  11807. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  11808. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  11809. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  11810. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  11811. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  11812. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  11813. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  11814. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  11815. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  11816. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  11817. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  11818. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  11819. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  11820. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  11821. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  11822. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  11823. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  11824. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  11825. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  11826. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  11827. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  11828. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  11829. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  11830. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  11831. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  11832. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  11833. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  11834. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  11835. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  11836. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  11837. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  11838. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  11839. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11840. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11841. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  11842. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  11843. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  11844. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  11845. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  11846. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  11847. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  11848. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  11849. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  11850. 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"`'
  11851. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  11852. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  11853. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  11854. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  11855. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  11856. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  11857. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  11858. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  11859. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  11860. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  11861. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  11862. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  11863. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  11864. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  11865. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  11866. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  11867. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  11868. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  11869. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11870. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  11871. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  11872. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  11873. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  11874. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  11875. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  11876. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11877. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  11878. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11879. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  11880. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11881. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  11882. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11883. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11884. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  11885. hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  11886. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  11887. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  11888. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  11889. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  11890. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11891. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  11892. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  11893. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  11894. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  11895. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  11896. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  11897. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  11898. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  11899. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  11900. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  11901. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  11902. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  11903. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  11904. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  11905. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  11906. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11907. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  11908. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  11909. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  11910. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  11911. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  11912. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11913. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11914. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  11915. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  11916. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  11917. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  11918. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  11919. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  11920. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  11921. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  11922. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  11923. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  11924. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  11925. LTCC='$LTCC'
  11926. LTCFLAGS='$LTCFLAGS'
  11927. compiler='$compiler_DEFAULT'
  11928. # A function that is used when there is no print builtin or printf.
  11929. func_fallback_echo ()
  11930. {
  11931. eval 'cat <<_LTECHO_EOF
  11932. \$1
  11933. _LTECHO_EOF'
  11934. }
  11935. # Quote evaled strings.
  11936. for var in AS \
  11937. DLLTOOL \
  11938. OBJDUMP \
  11939. SHELL \
  11940. ECHO \
  11941. SED \
  11942. GREP \
  11943. EGREP \
  11944. FGREP \
  11945. LD \
  11946. NM \
  11947. LN_S \
  11948. lt_SP2NL \
  11949. lt_NL2SP \
  11950. reload_flag \
  11951. deplibs_check_method \
  11952. file_magic_cmd \
  11953. file_magic_glob \
  11954. want_nocaseglob \
  11955. sharedlib_from_linklib_cmd \
  11956. AR \
  11957. AR_FLAGS \
  11958. archiver_list_spec \
  11959. STRIP \
  11960. RANLIB \
  11961. CC \
  11962. CFLAGS \
  11963. compiler \
  11964. lt_cv_sys_global_symbol_pipe \
  11965. lt_cv_sys_global_symbol_to_cdecl \
  11966. lt_cv_sys_global_symbol_to_c_name_address \
  11967. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  11968. nm_file_list_spec \
  11969. lt_prog_compiler_no_builtin_flag \
  11970. lt_prog_compiler_pic \
  11971. lt_prog_compiler_wl \
  11972. lt_prog_compiler_static \
  11973. lt_cv_prog_compiler_c_o \
  11974. need_locks \
  11975. MANIFEST_TOOL \
  11976. DSYMUTIL \
  11977. NMEDIT \
  11978. LIPO \
  11979. OTOOL \
  11980. OTOOL64 \
  11981. shrext_cmds \
  11982. export_dynamic_flag_spec \
  11983. whole_archive_flag_spec \
  11984. compiler_needs_object \
  11985. with_gnu_ld \
  11986. allow_undefined_flag \
  11987. no_undefined_flag \
  11988. hardcode_libdir_flag_spec \
  11989. hardcode_libdir_flag_spec_ld \
  11990. hardcode_libdir_separator \
  11991. exclude_expsyms \
  11992. include_expsyms \
  11993. file_list_spec \
  11994. variables_saved_for_relink \
  11995. libname_spec \
  11996. library_names_spec \
  11997. soname_spec \
  11998. install_override_mode \
  11999. finish_eval \
  12000. old_striplib \
  12001. striplib; do
  12002. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12003. *[\\\\\\\`\\"\\\$]*)
  12004. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  12005. ;;
  12006. *)
  12007. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12008. ;;
  12009. esac
  12010. done
  12011. # Double-quote double-evaled strings.
  12012. for var in reload_cmds \
  12013. old_postinstall_cmds \
  12014. old_postuninstall_cmds \
  12015. old_archive_cmds \
  12016. extract_expsyms_cmds \
  12017. old_archive_from_new_cmds \
  12018. old_archive_from_expsyms_cmds \
  12019. archive_cmds \
  12020. archive_expsym_cmds \
  12021. module_cmds \
  12022. module_expsym_cmds \
  12023. export_symbols_cmds \
  12024. prelink_cmds \
  12025. postlink_cmds \
  12026. postinstall_cmds \
  12027. postuninstall_cmds \
  12028. finish_cmds \
  12029. sys_lib_search_path_spec \
  12030. sys_lib_dlsearch_path_spec; do
  12031. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12032. *[\\\\\\\`\\"\\\$]*)
  12033. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  12034. ;;
  12035. *)
  12036. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12037. ;;
  12038. esac
  12039. done
  12040. ac_aux_dir='$ac_aux_dir'
  12041. xsi_shell='$xsi_shell'
  12042. lt_shell_append='$lt_shell_append'
  12043. # See if we are running on zsh, and set the options which allow our
  12044. # commands through without removal of \ escapes INIT.
  12045. if test -n "\${ZSH_VERSION+set}" ; then
  12046. setopt NO_GLOB_SUBST
  12047. fi
  12048. PACKAGE='$PACKAGE'
  12049. VERSION='$VERSION'
  12050. TIMESTAMP='$TIMESTAMP'
  12051. RM='$RM'
  12052. ofile='$ofile'
  12053. _ACEOF
  12054. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12055. # Handling of arguments.
  12056. for ac_config_target in $ac_config_targets
  12057. do
  12058. case $ac_config_target in
  12059. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  12060. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  12061. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  12062. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  12063. "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
  12064. "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  12065. "lib/modes/Makefile") CONFIG_FILES="$CONFIG_FILES lib/modes/Makefile" ;;
  12066. "lib/books/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/Makefile" ;;
  12067. "lib/books/coupled/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/coupled/Makefile" ;;
  12068. "lib/books/uncoupled/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/uncoupled/Makefile" ;;
  12069. "lib/books/floor/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/floor/Makefile" ;;
  12070. "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  12071. "doc/vorbisfile/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vorbisfile/Makefile" ;;
  12072. "doc/vorbisenc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vorbisenc/Makefile" ;;
  12073. "doc/libvorbis/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libvorbis/Makefile" ;;
  12074. "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
  12075. "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  12076. "include/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES include/vorbis/Makefile" ;;
  12077. "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
  12078. "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  12079. "vq/Makefile") CONFIG_FILES="$CONFIG_FILES vq/Makefile" ;;
  12080. "libvorbis.spec") CONFIG_FILES="$CONFIG_FILES libvorbis.spec" ;;
  12081. "vorbis.pc") CONFIG_FILES="$CONFIG_FILES vorbis.pc" ;;
  12082. "vorbisenc.pc") CONFIG_FILES="$CONFIG_FILES vorbisenc.pc" ;;
  12083. "vorbisfile.pc") CONFIG_FILES="$CONFIG_FILES vorbisfile.pc" ;;
  12084. "vorbis-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbis-uninstalled.pc" ;;
  12085. "vorbisenc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbisenc-uninstalled.pc" ;;
  12086. "vorbisfile-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbisfile-uninstalled.pc" ;;
  12087. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  12088. esac
  12089. done
  12090. # If the user did not use the arguments to specify the items to instantiate,
  12091. # then the envvar interface is used. Set only those that are not.
  12092. # We use the long form for the default assignment because of an extremely
  12093. # bizarre bug on SunOS 4.1.3.
  12094. if $ac_need_defaults; then
  12095. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  12096. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  12097. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  12098. fi
  12099. # Have a temporary directory for convenience. Make it in the build tree
  12100. # simply because there is no reason against having it here, and in addition,
  12101. # creating and moving files from /tmp can sometimes cause problems.
  12102. # Hook for its removal unless debugging.
  12103. # Note that there is a small window in which the directory will not be cleaned:
  12104. # after its creation but before its name has been assigned to `$tmp'.
  12105. $debug ||
  12106. {
  12107. tmp= ac_tmp=
  12108. trap 'exit_status=$?
  12109. : "${ac_tmp:=$tmp}"
  12110. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  12111. ' 0
  12112. trap 'as_fn_exit 1' 1 2 13 15
  12113. }
  12114. # Create a (secure) tmp directory for tmp files.
  12115. {
  12116. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  12117. test -d "$tmp"
  12118. } ||
  12119. {
  12120. tmp=./conf$$-$RANDOM
  12121. (umask 077 && mkdir "$tmp")
  12122. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  12123. ac_tmp=$tmp
  12124. # Set up the scripts for CONFIG_FILES section.
  12125. # No need to generate them if there are no CONFIG_FILES.
  12126. # This happens for instance with `./config.status config.h'.
  12127. if test -n "$CONFIG_FILES"; then
  12128. ac_cr=`echo X | tr X '\015'`
  12129. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  12130. # But we know of no other shell where ac_cr would be empty at this
  12131. # point, so we can use a bashism as a fallback.
  12132. if test "x$ac_cr" = x; then
  12133. eval ac_cr=\$\'\\r\'
  12134. fi
  12135. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  12136. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  12137. ac_cs_awk_cr='\\r'
  12138. else
  12139. ac_cs_awk_cr=$ac_cr
  12140. fi
  12141. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  12142. _ACEOF
  12143. {
  12144. echo "cat >conf$$subs.awk <<_ACEOF" &&
  12145. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  12146. echo "_ACEOF"
  12147. } >conf$$subs.sh ||
  12148. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12149. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  12150. ac_delim='%!_!# '
  12151. for ac_last_try in false false false false false :; do
  12152. . ./conf$$subs.sh ||
  12153. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12154. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  12155. if test $ac_delim_n = $ac_delim_num; then
  12156. break
  12157. elif $ac_last_try; then
  12158. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12159. else
  12160. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12161. fi
  12162. done
  12163. rm -f conf$$subs.sh
  12164. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12165. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  12166. _ACEOF
  12167. sed -n '
  12168. h
  12169. s/^/S["/; s/!.*/"]=/
  12170. p
  12171. g
  12172. s/^[^!]*!//
  12173. :repl
  12174. t repl
  12175. s/'"$ac_delim"'$//
  12176. t delim
  12177. :nl
  12178. h
  12179. s/\(.\{148\}\)..*/\1/
  12180. t more1
  12181. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  12182. p
  12183. n
  12184. b repl
  12185. :more1
  12186. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12187. p
  12188. g
  12189. s/.\{148\}//
  12190. t nl
  12191. :delim
  12192. h
  12193. s/\(.\{148\}\)..*/\1/
  12194. t more2
  12195. s/["\\]/\\&/g; s/^/"/; s/$/"/
  12196. p
  12197. b
  12198. :more2
  12199. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12200. p
  12201. g
  12202. s/.\{148\}//
  12203. t delim
  12204. ' <conf$$subs.awk | sed '
  12205. /^[^""]/{
  12206. N
  12207. s/\n//
  12208. }
  12209. ' >>$CONFIG_STATUS || ac_write_fail=1
  12210. rm -f conf$$subs.awk
  12211. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12212. _ACAWK
  12213. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  12214. for (key in S) S_is_set[key] = 1
  12215. FS = ""
  12216. }
  12217. {
  12218. line = $ 0
  12219. nfields = split(line, field, "@")
  12220. substed = 0
  12221. len = length(field[1])
  12222. for (i = 2; i < nfields; i++) {
  12223. key = field[i]
  12224. keylen = length(key)
  12225. if (S_is_set[key]) {
  12226. value = S[key]
  12227. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  12228. len += length(value) + length(field[++i])
  12229. substed = 1
  12230. } else
  12231. len += 1 + keylen
  12232. }
  12233. print line
  12234. }
  12235. _ACAWK
  12236. _ACEOF
  12237. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12238. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  12239. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  12240. else
  12241. cat
  12242. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  12243. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  12244. _ACEOF
  12245. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  12246. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  12247. # trailing colons and then remove the whole line if VPATH becomes empty
  12248. # (actually we leave an empty line to preserve line numbers).
  12249. if test "x$srcdir" = x.; then
  12250. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  12251. h
  12252. s///
  12253. s/^/:/
  12254. s/[ ]*$/:/
  12255. s/:\$(srcdir):/:/g
  12256. s/:\${srcdir}:/:/g
  12257. s/:@srcdir@:/:/g
  12258. s/^:*//
  12259. s/:*$//
  12260. x
  12261. s/\(=[ ]*\).*/\1/
  12262. G
  12263. s/\n//
  12264. s/^[^=]*=[ ]*$//
  12265. }'
  12266. fi
  12267. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12268. fi # test -n "$CONFIG_FILES"
  12269. # Set up the scripts for CONFIG_HEADERS section.
  12270. # No need to generate them if there are no CONFIG_HEADERS.
  12271. # This happens for instance with `./config.status Makefile'.
  12272. if test -n "$CONFIG_HEADERS"; then
  12273. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  12274. BEGIN {
  12275. _ACEOF
  12276. # Transform confdefs.h into an awk script `defines.awk', embedded as
  12277. # here-document in config.status, that substitutes the proper values into
  12278. # config.h.in to produce config.h.
  12279. # Create a delimiter string that does not exist in confdefs.h, to ease
  12280. # handling of long lines.
  12281. ac_delim='%!_!# '
  12282. for ac_last_try in false false :; do
  12283. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  12284. if test -z "$ac_tt"; then
  12285. break
  12286. elif $ac_last_try; then
  12287. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  12288. else
  12289. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12290. fi
  12291. done
  12292. # For the awk script, D is an array of macro values keyed by name,
  12293. # likewise P contains macro parameters if any. Preserve backslash
  12294. # newline sequences.
  12295. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  12296. sed -n '
  12297. s/.\{148\}/&'"$ac_delim"'/g
  12298. t rset
  12299. :rset
  12300. s/^[ ]*#[ ]*define[ ][ ]*/ /
  12301. t def
  12302. d
  12303. :def
  12304. s/\\$//
  12305. t bsnl
  12306. s/["\\]/\\&/g
  12307. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12308. D["\1"]=" \3"/p
  12309. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  12310. d
  12311. :bsnl
  12312. s/["\\]/\\&/g
  12313. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12314. D["\1"]=" \3\\\\\\n"\\/p
  12315. t cont
  12316. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  12317. t cont
  12318. d
  12319. :cont
  12320. n
  12321. s/.\{148\}/&'"$ac_delim"'/g
  12322. t clear
  12323. :clear
  12324. s/\\$//
  12325. t bsnlc
  12326. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  12327. d
  12328. :bsnlc
  12329. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  12330. b cont
  12331. ' <confdefs.h | sed '
  12332. s/'"$ac_delim"'/"\\\
  12333. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  12334. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12335. for (key in D) D_is_set[key] = 1
  12336. FS = ""
  12337. }
  12338. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  12339. line = \$ 0
  12340. split(line, arg, " ")
  12341. if (arg[1] == "#") {
  12342. defundef = arg[2]
  12343. mac1 = arg[3]
  12344. } else {
  12345. defundef = substr(arg[1], 2)
  12346. mac1 = arg[2]
  12347. }
  12348. split(mac1, mac2, "(") #)
  12349. macro = mac2[1]
  12350. prefix = substr(line, 1, index(line, defundef) - 1)
  12351. if (D_is_set[macro]) {
  12352. # Preserve the white space surrounding the "#".
  12353. print prefix "define", macro P[macro] D[macro]
  12354. next
  12355. } else {
  12356. # Replace #undef with comments. This is necessary, for example,
  12357. # in the case of _POSIX_SOURCE, which is predefined and required
  12358. # on some systems where configure will not decide to define it.
  12359. if (defundef == "undef") {
  12360. print "/*", prefix defundef, macro, "*/"
  12361. next
  12362. }
  12363. }
  12364. }
  12365. { print }
  12366. _ACAWK
  12367. _ACEOF
  12368. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12369. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  12370. fi # test -n "$CONFIG_HEADERS"
  12371. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  12372. shift
  12373. for ac_tag
  12374. do
  12375. case $ac_tag in
  12376. :[FHLC]) ac_mode=$ac_tag; continue;;
  12377. esac
  12378. case $ac_mode$ac_tag in
  12379. :[FHL]*:*);;
  12380. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  12381. :[FH]-) ac_tag=-:-;;
  12382. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  12383. esac
  12384. ac_save_IFS=$IFS
  12385. IFS=:
  12386. set x $ac_tag
  12387. IFS=$ac_save_IFS
  12388. shift
  12389. ac_file=$1
  12390. shift
  12391. case $ac_mode in
  12392. :L) ac_source=$1;;
  12393. :[FH])
  12394. ac_file_inputs=
  12395. for ac_f
  12396. do
  12397. case $ac_f in
  12398. -) ac_f="$ac_tmp/stdin";;
  12399. *) # Look for the file first in the build tree, then in the source tree
  12400. # (if the path is not absolute). The absolute path cannot be DOS-style,
  12401. # because $ac_f cannot contain `:'.
  12402. test -f "$ac_f" ||
  12403. case $ac_f in
  12404. [\\/$]*) false;;
  12405. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  12406. esac ||
  12407. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  12408. esac
  12409. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  12410. as_fn_append ac_file_inputs " '$ac_f'"
  12411. done
  12412. # Let's still pretend it is `configure' which instantiates (i.e., don't
  12413. # use $as_me), people would be surprised to read:
  12414. # /* config.h. Generated by config.status. */
  12415. configure_input='Generated from '`
  12416. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  12417. `' by configure.'
  12418. if test x"$ac_file" != x-; then
  12419. configure_input="$ac_file. $configure_input"
  12420. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  12421. $as_echo "$as_me: creating $ac_file" >&6;}
  12422. fi
  12423. # Neutralize special characters interpreted by sed in replacement strings.
  12424. case $configure_input in #(
  12425. *\&* | *\|* | *\\* )
  12426. ac_sed_conf_input=`$as_echo "$configure_input" |
  12427. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  12428. *) ac_sed_conf_input=$configure_input;;
  12429. esac
  12430. case $ac_tag in
  12431. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  12432. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  12433. esac
  12434. ;;
  12435. esac
  12436. ac_dir=`$as_dirname -- "$ac_file" ||
  12437. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12438. X"$ac_file" : 'X\(//\)[^/]' \| \
  12439. X"$ac_file" : 'X\(//\)$' \| \
  12440. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  12441. $as_echo X"$ac_file" |
  12442. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12443. s//\1/
  12444. q
  12445. }
  12446. /^X\(\/\/\)[^/].*/{
  12447. s//\1/
  12448. q
  12449. }
  12450. /^X\(\/\/\)$/{
  12451. s//\1/
  12452. q
  12453. }
  12454. /^X\(\/\).*/{
  12455. s//\1/
  12456. q
  12457. }
  12458. s/.*/./; q'`
  12459. as_dir="$ac_dir"; as_fn_mkdir_p
  12460. ac_builddir=.
  12461. case "$ac_dir" in
  12462. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12463. *)
  12464. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  12465. # A ".." for each directory in $ac_dir_suffix.
  12466. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  12467. case $ac_top_builddir_sub in
  12468. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12469. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  12470. esac ;;
  12471. esac
  12472. ac_abs_top_builddir=$ac_pwd
  12473. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  12474. # for backward compatibility:
  12475. ac_top_builddir=$ac_top_build_prefix
  12476. case $srcdir in
  12477. .) # We are building in place.
  12478. ac_srcdir=.
  12479. ac_top_srcdir=$ac_top_builddir_sub
  12480. ac_abs_top_srcdir=$ac_pwd ;;
  12481. [\\/]* | ?:[\\/]* ) # Absolute name.
  12482. ac_srcdir=$srcdir$ac_dir_suffix;
  12483. ac_top_srcdir=$srcdir
  12484. ac_abs_top_srcdir=$srcdir ;;
  12485. *) # Relative name.
  12486. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  12487. ac_top_srcdir=$ac_top_build_prefix$srcdir
  12488. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  12489. esac
  12490. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  12491. case $ac_mode in
  12492. :F)
  12493. #
  12494. # CONFIG_FILE
  12495. #
  12496. case $INSTALL in
  12497. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  12498. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  12499. esac
  12500. ac_MKDIR_P=$MKDIR_P
  12501. case $MKDIR_P in
  12502. [\\/$]* | ?:[\\/]* ) ;;
  12503. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  12504. esac
  12505. _ACEOF
  12506. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12507. # If the template does not know about datarootdir, expand it.
  12508. # FIXME: This hack should be removed a few years after 2.60.
  12509. ac_datarootdir_hack=; ac_datarootdir_seen=
  12510. ac_sed_dataroot='
  12511. /datarootdir/ {
  12512. p
  12513. q
  12514. }
  12515. /@datadir@/p
  12516. /@docdir@/p
  12517. /@infodir@/p
  12518. /@localedir@/p
  12519. /@mandir@/p'
  12520. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  12521. *datarootdir*) ac_datarootdir_seen=yes;;
  12522. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  12523. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  12524. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  12525. _ACEOF
  12526. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12527. ac_datarootdir_hack='
  12528. s&@datadir@&$datadir&g
  12529. s&@docdir@&$docdir&g
  12530. s&@infodir@&$infodir&g
  12531. s&@localedir@&$localedir&g
  12532. s&@mandir@&$mandir&g
  12533. s&\\\${datarootdir}&$datarootdir&g' ;;
  12534. esac
  12535. _ACEOF
  12536. # Neutralize VPATH when `$srcdir' = `.'.
  12537. # Shell code in configure.ac might set extrasub.
  12538. # FIXME: do we really want to maintain this feature?
  12539. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12540. ac_sed_extra="$ac_vpsub
  12541. $extrasub
  12542. _ACEOF
  12543. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12544. :t
  12545. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  12546. s|@configure_input@|$ac_sed_conf_input|;t t
  12547. s&@top_builddir@&$ac_top_builddir_sub&;t t
  12548. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  12549. s&@srcdir@&$ac_srcdir&;t t
  12550. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  12551. s&@top_srcdir@&$ac_top_srcdir&;t t
  12552. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  12553. s&@builddir@&$ac_builddir&;t t
  12554. s&@abs_builddir@&$ac_abs_builddir&;t t
  12555. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  12556. s&@INSTALL@&$ac_INSTALL&;t t
  12557. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  12558. $ac_datarootdir_hack
  12559. "
  12560. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  12561. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12562. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  12563. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  12564. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  12565. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  12566. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12567. which seems to be undefined. Please make sure it is defined" >&5
  12568. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12569. which seems to be undefined. Please make sure it is defined" >&2;}
  12570. rm -f "$ac_tmp/stdin"
  12571. case $ac_file in
  12572. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  12573. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  12574. esac \
  12575. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12576. ;;
  12577. :H)
  12578. #
  12579. # CONFIG_HEADER
  12580. #
  12581. if test x"$ac_file" != x-; then
  12582. {
  12583. $as_echo "/* $configure_input */" \
  12584. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  12585. } >"$ac_tmp/config.h" \
  12586. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12587. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  12588. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  12589. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  12590. else
  12591. rm -f "$ac_file"
  12592. mv "$ac_tmp/config.h" "$ac_file" \
  12593. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12594. fi
  12595. else
  12596. $as_echo "/* $configure_input */" \
  12597. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  12598. || as_fn_error $? "could not create -" "$LINENO" 5
  12599. fi
  12600. # Compute "$ac_file"'s index in $config_headers.
  12601. _am_arg="$ac_file"
  12602. _am_stamp_count=1
  12603. for _am_header in $config_headers :; do
  12604. case $_am_header in
  12605. $_am_arg | $_am_arg:* )
  12606. break ;;
  12607. * )
  12608. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  12609. esac
  12610. done
  12611. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  12612. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12613. X"$_am_arg" : 'X\(//\)[^/]' \| \
  12614. X"$_am_arg" : 'X\(//\)$' \| \
  12615. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  12616. $as_echo X"$_am_arg" |
  12617. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12618. s//\1/
  12619. q
  12620. }
  12621. /^X\(\/\/\)[^/].*/{
  12622. s//\1/
  12623. q
  12624. }
  12625. /^X\(\/\/\)$/{
  12626. s//\1/
  12627. q
  12628. }
  12629. /^X\(\/\).*/{
  12630. s//\1/
  12631. q
  12632. }
  12633. s/.*/./; q'`/stamp-h$_am_stamp_count
  12634. ;;
  12635. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  12636. $as_echo "$as_me: executing $ac_file commands" >&6;}
  12637. ;;
  12638. esac
  12639. case $ac_file$ac_mode in
  12640. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  12641. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  12642. # are listed without --file. Let's play safe and only enable the eval
  12643. # if we detect the quoting.
  12644. case $CONFIG_FILES in
  12645. *\'*) eval set x "$CONFIG_FILES" ;;
  12646. *) set x $CONFIG_FILES ;;
  12647. esac
  12648. shift
  12649. for mf
  12650. do
  12651. # Strip MF so we end up with the name of the file.
  12652. mf=`echo "$mf" | sed -e 's/:.*$//'`
  12653. # Check whether this is an Automake generated Makefile or not.
  12654. # We used to match only the files named `Makefile.in', but
  12655. # some people rename them; so instead we look at the file content.
  12656. # Grep'ing the first line is not enough: some people post-process
  12657. # each Makefile.in and add a new line on top of each file to say so.
  12658. # Grep'ing the whole file is not good either: AIX grep has a line
  12659. # limit of 2048, but all sed's we know have understand at least 4000.
  12660. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  12661. dirpart=`$as_dirname -- "$mf" ||
  12662. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12663. X"$mf" : 'X\(//\)[^/]' \| \
  12664. X"$mf" : 'X\(//\)$' \| \
  12665. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  12666. $as_echo X"$mf" |
  12667. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12668. s//\1/
  12669. q
  12670. }
  12671. /^X\(\/\/\)[^/].*/{
  12672. s//\1/
  12673. q
  12674. }
  12675. /^X\(\/\/\)$/{
  12676. s//\1/
  12677. q
  12678. }
  12679. /^X\(\/\).*/{
  12680. s//\1/
  12681. q
  12682. }
  12683. s/.*/./; q'`
  12684. else
  12685. continue
  12686. fi
  12687. # Extract the definition of DEPDIR, am__include, and am__quote
  12688. # from the Makefile without running `make'.
  12689. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  12690. test -z "$DEPDIR" && continue
  12691. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  12692. test -z "am__include" && continue
  12693. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  12694. # When using ansi2knr, U may be empty or an underscore; expand it
  12695. U=`sed -n 's/^U = //p' < "$mf"`
  12696. # Find all dependency output files, they are included files with
  12697. # $(DEPDIR) in their names. We invoke sed twice because it is the
  12698. # simplest approach to changing $(DEPDIR) to its actual value in the
  12699. # expansion.
  12700. for file in `sed -n "
  12701. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  12702. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  12703. # Make sure the directory exists.
  12704. test -f "$dirpart/$file" && continue
  12705. fdir=`$as_dirname -- "$file" ||
  12706. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12707. X"$file" : 'X\(//\)[^/]' \| \
  12708. X"$file" : 'X\(//\)$' \| \
  12709. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  12710. $as_echo X"$file" |
  12711. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12712. s//\1/
  12713. q
  12714. }
  12715. /^X\(\/\/\)[^/].*/{
  12716. s//\1/
  12717. q
  12718. }
  12719. /^X\(\/\/\)$/{
  12720. s//\1/
  12721. q
  12722. }
  12723. /^X\(\/\).*/{
  12724. s//\1/
  12725. q
  12726. }
  12727. s/.*/./; q'`
  12728. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  12729. # echo "creating $dirpart/$file"
  12730. echo '# dummy' > "$dirpart/$file"
  12731. done
  12732. done
  12733. }
  12734. ;;
  12735. "libtool":C)
  12736. # See if we are running on zsh, and set the options which allow our
  12737. # commands through without removal of \ escapes.
  12738. if test -n "${ZSH_VERSION+set}" ; then
  12739. setopt NO_GLOB_SUBST
  12740. fi
  12741. cfgfile="${ofile}T"
  12742. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  12743. $RM "$cfgfile"
  12744. cat <<_LT_EOF >> "$cfgfile"
  12745. #! $SHELL
  12746. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  12747. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  12748. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  12749. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  12750. #
  12751. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  12752. # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  12753. # Inc.
  12754. # Written by Gordon Matzigkeit, 1996
  12755. #
  12756. # This file is part of GNU Libtool.
  12757. #
  12758. # GNU Libtool is free software; you can redistribute it and/or
  12759. # modify it under the terms of the GNU General Public License as
  12760. # published by the Free Software Foundation; either version 2 of
  12761. # the License, or (at your option) any later version.
  12762. #
  12763. # As a special exception to the GNU General Public License,
  12764. # if you distribute this file as part of a program or library that
  12765. # is built using GNU Libtool, you may include this file under the
  12766. # same distribution terms that you use for the rest of that program.
  12767. #
  12768. # GNU Libtool is distributed in the hope that it will be useful,
  12769. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12770. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12771. # GNU General Public License for more details.
  12772. #
  12773. # You should have received a copy of the GNU General Public License
  12774. # along with GNU Libtool; see the file COPYING. If not, a copy
  12775. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  12776. # obtained by writing to the Free Software Foundation, Inc.,
  12777. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  12778. # The names of the tagged configurations supported by this script.
  12779. available_tags=""
  12780. # ### BEGIN LIBTOOL CONFIG
  12781. # Assembler program.
  12782. AS=$lt_AS
  12783. # DLL creation program.
  12784. DLLTOOL=$lt_DLLTOOL
  12785. # Object dumper program.
  12786. OBJDUMP=$lt_OBJDUMP
  12787. # Which release of libtool.m4 was used?
  12788. macro_version=$macro_version
  12789. macro_revision=$macro_revision
  12790. # Whether or not to build shared libraries.
  12791. build_libtool_libs=$enable_shared
  12792. # Whether or not to build static libraries.
  12793. build_old_libs=$enable_static
  12794. # What type of objects to build.
  12795. pic_mode=$pic_mode
  12796. # Whether or not to optimize for fast installation.
  12797. fast_install=$enable_fast_install
  12798. # Shell to use when invoking shell scripts.
  12799. SHELL=$lt_SHELL
  12800. # An echo program that protects backslashes.
  12801. ECHO=$lt_ECHO
  12802. # The host system.
  12803. host_alias=$host_alias
  12804. host=$host
  12805. host_os=$host_os
  12806. # The build system.
  12807. build_alias=$build_alias
  12808. build=$build
  12809. build_os=$build_os
  12810. # A sed program that does not truncate output.
  12811. SED=$lt_SED
  12812. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  12813. Xsed="\$SED -e 1s/^X//"
  12814. # A grep program that handles long lines.
  12815. GREP=$lt_GREP
  12816. # An ERE matcher.
  12817. EGREP=$lt_EGREP
  12818. # A literal string matcher.
  12819. FGREP=$lt_FGREP
  12820. # A BSD- or MS-compatible name lister.
  12821. NM=$lt_NM
  12822. # Whether we need soft or hard links.
  12823. LN_S=$lt_LN_S
  12824. # What is the maximum length of a command?
  12825. max_cmd_len=$max_cmd_len
  12826. # Object file suffix (normally "o").
  12827. objext=$ac_objext
  12828. # Executable file suffix (normally "").
  12829. exeext=$exeext
  12830. # whether the shell understands "unset".
  12831. lt_unset=$lt_unset
  12832. # turn spaces into newlines.
  12833. SP2NL=$lt_lt_SP2NL
  12834. # turn newlines into spaces.
  12835. NL2SP=$lt_lt_NL2SP
  12836. # convert \$build file names to \$host format.
  12837. to_host_file_cmd=$lt_cv_to_host_file_cmd
  12838. # convert \$build files to toolchain format.
  12839. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  12840. # Method to check whether dependent libraries are shared objects.
  12841. deplibs_check_method=$lt_deplibs_check_method
  12842. # Command to use when deplibs_check_method = "file_magic".
  12843. file_magic_cmd=$lt_file_magic_cmd
  12844. # How to find potential files when deplibs_check_method = "file_magic".
  12845. file_magic_glob=$lt_file_magic_glob
  12846. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  12847. want_nocaseglob=$lt_want_nocaseglob
  12848. # Command to associate shared and link libraries.
  12849. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  12850. # The archiver.
  12851. AR=$lt_AR
  12852. # Flags to create an archive.
  12853. AR_FLAGS=$lt_AR_FLAGS
  12854. # How to feed a file listing to the archiver.
  12855. archiver_list_spec=$lt_archiver_list_spec
  12856. # A symbol stripping program.
  12857. STRIP=$lt_STRIP
  12858. # Commands used to install an old-style archive.
  12859. RANLIB=$lt_RANLIB
  12860. old_postinstall_cmds=$lt_old_postinstall_cmds
  12861. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  12862. # Whether to use a lock for old archive extraction.
  12863. lock_old_archive_extraction=$lock_old_archive_extraction
  12864. # A C compiler.
  12865. LTCC=$lt_CC
  12866. # LTCC compiler flags.
  12867. LTCFLAGS=$lt_CFLAGS
  12868. # Take the output of nm and produce a listing of raw symbols and C names.
  12869. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  12870. # Transform the output of nm in a proper C declaration.
  12871. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  12872. # Transform the output of nm in a C name address pair.
  12873. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  12874. # Transform the output of nm in a C name address pair when lib prefix is needed.
  12875. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  12876. # Specify filename containing input files for \$NM.
  12877. nm_file_list_spec=$lt_nm_file_list_spec
  12878. # The root where to search for dependent libraries,and in which our libraries should be installed.
  12879. lt_sysroot=$lt_sysroot
  12880. # The name of the directory that contains temporary libtool files.
  12881. objdir=$objdir
  12882. # Used to examine libraries when file_magic_cmd begins with "file".
  12883. MAGIC_CMD=$MAGIC_CMD
  12884. # Must we lock files when doing compilation?
  12885. need_locks=$lt_need_locks
  12886. # Manifest tool.
  12887. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  12888. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  12889. DSYMUTIL=$lt_DSYMUTIL
  12890. # Tool to change global to local symbols on Mac OS X.
  12891. NMEDIT=$lt_NMEDIT
  12892. # Tool to manipulate fat objects and archives on Mac OS X.
  12893. LIPO=$lt_LIPO
  12894. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  12895. OTOOL=$lt_OTOOL
  12896. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  12897. OTOOL64=$lt_OTOOL64
  12898. # Old archive suffix (normally "a").
  12899. libext=$libext
  12900. # Shared library suffix (normally ".so").
  12901. shrext_cmds=$lt_shrext_cmds
  12902. # The commands to extract the exported symbol list from a shared archive.
  12903. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  12904. # Variables whose values should be saved in libtool wrapper scripts and
  12905. # restored at link time.
  12906. variables_saved_for_relink=$lt_variables_saved_for_relink
  12907. # Do we need the "lib" prefix for modules?
  12908. need_lib_prefix=$need_lib_prefix
  12909. # Do we need a version for libraries?
  12910. need_version=$need_version
  12911. # Library versioning type.
  12912. version_type=$version_type
  12913. # Shared library runtime path variable.
  12914. runpath_var=$runpath_var
  12915. # Shared library path variable.
  12916. shlibpath_var=$shlibpath_var
  12917. # Is shlibpath searched before the hard-coded library search path?
  12918. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  12919. # Format of library name prefix.
  12920. libname_spec=$lt_libname_spec
  12921. # List of archive names. First name is the real one, the rest are links.
  12922. # The last name is the one that the linker finds with -lNAME
  12923. library_names_spec=$lt_library_names_spec
  12924. # The coded name of the library, if different from the real name.
  12925. soname_spec=$lt_soname_spec
  12926. # Permission mode override for installation of shared libraries.
  12927. install_override_mode=$lt_install_override_mode
  12928. # Command to use after installation of a shared archive.
  12929. postinstall_cmds=$lt_postinstall_cmds
  12930. # Command to use after uninstallation of a shared archive.
  12931. postuninstall_cmds=$lt_postuninstall_cmds
  12932. # Commands used to finish a libtool library installation in a directory.
  12933. finish_cmds=$lt_finish_cmds
  12934. # As "finish_cmds", except a single script fragment to be evaled but
  12935. # not shown.
  12936. finish_eval=$lt_finish_eval
  12937. # Whether we should hardcode library paths into libraries.
  12938. hardcode_into_libs=$hardcode_into_libs
  12939. # Compile-time system search path for libraries.
  12940. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  12941. # Run-time system search path for libraries.
  12942. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  12943. # Whether dlopen is supported.
  12944. dlopen_support=$enable_dlopen
  12945. # Whether dlopen of programs is supported.
  12946. dlopen_self=$enable_dlopen_self
  12947. # Whether dlopen of statically linked programs is supported.
  12948. dlopen_self_static=$enable_dlopen_self_static
  12949. # Commands to strip libraries.
  12950. old_striplib=$lt_old_striplib
  12951. striplib=$lt_striplib
  12952. # The linker used to build libraries.
  12953. LD=$lt_LD
  12954. # How to create reloadable object files.
  12955. reload_flag=$lt_reload_flag
  12956. reload_cmds=$lt_reload_cmds
  12957. # Commands used to build an old-style archive.
  12958. old_archive_cmds=$lt_old_archive_cmds
  12959. # A language specific compiler.
  12960. CC=$lt_compiler
  12961. # Is the compiler the GNU compiler?
  12962. with_gcc=$GCC
  12963. # Compiler flag to turn off builtin functions.
  12964. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  12965. # Additional compiler flags for building library objects.
  12966. pic_flag=$lt_lt_prog_compiler_pic
  12967. # How to pass a linker flag through the compiler.
  12968. wl=$lt_lt_prog_compiler_wl
  12969. # Compiler flag to prevent dynamic linking.
  12970. link_static_flag=$lt_lt_prog_compiler_static
  12971. # Does compiler simultaneously support -c and -o options?
  12972. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  12973. # Whether or not to add -lc for building shared libraries.
  12974. build_libtool_need_lc=$archive_cmds_need_lc
  12975. # Whether or not to disallow shared libs when runtime libs are static.
  12976. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  12977. # Compiler flag to allow reflexive dlopens.
  12978. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  12979. # Compiler flag to generate shared objects directly from archives.
  12980. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  12981. # Whether the compiler copes with passing no objects directly.
  12982. compiler_needs_object=$lt_compiler_needs_object
  12983. # Create an old-style archive from a shared archive.
  12984. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  12985. # Create a temporary old-style archive to link instead of a shared archive.
  12986. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  12987. # Commands used to build a shared archive.
  12988. archive_cmds=$lt_archive_cmds
  12989. archive_expsym_cmds=$lt_archive_expsym_cmds
  12990. # Commands used to build a loadable module if different from building
  12991. # a shared archive.
  12992. module_cmds=$lt_module_cmds
  12993. module_expsym_cmds=$lt_module_expsym_cmds
  12994. # Whether we are building with GNU ld or not.
  12995. with_gnu_ld=$lt_with_gnu_ld
  12996. # Flag that allows shared libraries with undefined symbols to be built.
  12997. allow_undefined_flag=$lt_allow_undefined_flag
  12998. # Flag that enforces no undefined symbols.
  12999. no_undefined_flag=$lt_no_undefined_flag
  13000. # Flag to hardcode \$libdir into a binary during linking.
  13001. # This must work even if \$libdir does not exist
  13002. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  13003. # If ld is used when linking, flag to hardcode \$libdir into a binary
  13004. # during linking. This must work even if \$libdir does not exist.
  13005. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  13006. # Whether we need a single "-rpath" flag with a separated argument.
  13007. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  13008. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  13009. # DIR into the resulting binary.
  13010. hardcode_direct=$hardcode_direct
  13011. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  13012. # DIR into the resulting binary and the resulting library dependency is
  13013. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  13014. # library is relocated.
  13015. hardcode_direct_absolute=$hardcode_direct_absolute
  13016. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  13017. # into the resulting binary.
  13018. hardcode_minus_L=$hardcode_minus_L
  13019. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  13020. # into the resulting binary.
  13021. hardcode_shlibpath_var=$hardcode_shlibpath_var
  13022. # Set to "yes" if building a shared library automatically hardcodes DIR
  13023. # into the library and all subsequent libraries and executables linked
  13024. # against it.
  13025. hardcode_automatic=$hardcode_automatic
  13026. # Set to yes if linker adds runtime paths of dependent libraries
  13027. # to runtime path list.
  13028. inherit_rpath=$inherit_rpath
  13029. # Whether libtool must link a program against all its dependency libraries.
  13030. link_all_deplibs=$link_all_deplibs
  13031. # Set to "yes" if exported symbols are required.
  13032. always_export_symbols=$always_export_symbols
  13033. # The commands to list exported symbols.
  13034. export_symbols_cmds=$lt_export_symbols_cmds
  13035. # Symbols that should not be listed in the preloaded symbols.
  13036. exclude_expsyms=$lt_exclude_expsyms
  13037. # Symbols that must always be exported.
  13038. include_expsyms=$lt_include_expsyms
  13039. # Commands necessary for linking programs (against libraries) with templates.
  13040. prelink_cmds=$lt_prelink_cmds
  13041. # Commands necessary for finishing linking programs.
  13042. postlink_cmds=$lt_postlink_cmds
  13043. # Specify filename containing input files.
  13044. file_list_spec=$lt_file_list_spec
  13045. # How to hardcode a shared library path into an executable.
  13046. hardcode_action=$hardcode_action
  13047. # ### END LIBTOOL CONFIG
  13048. _LT_EOF
  13049. case $host_os in
  13050. aix3*)
  13051. cat <<\_LT_EOF >> "$cfgfile"
  13052. # AIX sometimes has problems with the GCC collect2 program. For some
  13053. # reason, if we set the COLLECT_NAMES environment variable, the problems
  13054. # vanish in a puff of smoke.
  13055. if test "X${COLLECT_NAMES+set}" != Xset; then
  13056. COLLECT_NAMES=
  13057. export COLLECT_NAMES
  13058. fi
  13059. _LT_EOF
  13060. ;;
  13061. esac
  13062. ltmain="$ac_aux_dir/ltmain.sh"
  13063. # We use sed instead of cat because bash on DJGPP gets confused if
  13064. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  13065. # text mode, it properly converts lines to CR/LF. This bash problem
  13066. # is reportedly fixed, but why not run on old versions too?
  13067. sed '$q' "$ltmain" >> "$cfgfile" \
  13068. || (rm -f "$cfgfile"; exit 1)
  13069. if test x"$xsi_shell" = xyes; then
  13070. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  13071. func_dirname ()\
  13072. {\
  13073. \ case ${1} in\
  13074. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  13075. \ * ) func_dirname_result="${3}" ;;\
  13076. \ esac\
  13077. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  13078. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13079. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13080. test 0 -eq $? || _lt_function_replace_fail=:
  13081. sed -e '/^func_basename ()$/,/^} # func_basename /c\
  13082. func_basename ()\
  13083. {\
  13084. \ func_basename_result="${1##*/}"\
  13085. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  13086. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13087. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13088. test 0 -eq $? || _lt_function_replace_fail=:
  13089. sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  13090. func_dirname_and_basename ()\
  13091. {\
  13092. \ case ${1} in\
  13093. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  13094. \ * ) func_dirname_result="${3}" ;;\
  13095. \ esac\
  13096. \ func_basename_result="${1##*/}"\
  13097. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  13098. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13099. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13100. test 0 -eq $? || _lt_function_replace_fail=:
  13101. sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  13102. func_stripname ()\
  13103. {\
  13104. \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  13105. \ # positional parameters, so assign one to ordinary parameter first.\
  13106. \ func_stripname_result=${3}\
  13107. \ func_stripname_result=${func_stripname_result#"${1}"}\
  13108. \ func_stripname_result=${func_stripname_result%"${2}"}\
  13109. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  13110. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13111. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13112. test 0 -eq $? || _lt_function_replace_fail=:
  13113. sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  13114. func_split_long_opt ()\
  13115. {\
  13116. \ func_split_long_opt_name=${1%%=*}\
  13117. \ func_split_long_opt_arg=${1#*=}\
  13118. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  13119. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13120. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13121. test 0 -eq $? || _lt_function_replace_fail=:
  13122. sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  13123. func_split_short_opt ()\
  13124. {\
  13125. \ func_split_short_opt_arg=${1#??}\
  13126. \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  13127. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  13128. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13129. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13130. test 0 -eq $? || _lt_function_replace_fail=:
  13131. sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  13132. func_lo2o ()\
  13133. {\
  13134. \ case ${1} in\
  13135. \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  13136. \ *) func_lo2o_result=${1} ;;\
  13137. \ esac\
  13138. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  13139. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13140. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13141. test 0 -eq $? || _lt_function_replace_fail=:
  13142. sed -e '/^func_xform ()$/,/^} # func_xform /c\
  13143. func_xform ()\
  13144. {\
  13145. func_xform_result=${1%.*}.lo\
  13146. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  13147. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13148. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13149. test 0 -eq $? || _lt_function_replace_fail=:
  13150. sed -e '/^func_arith ()$/,/^} # func_arith /c\
  13151. func_arith ()\
  13152. {\
  13153. func_arith_result=$(( $* ))\
  13154. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  13155. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13156. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13157. test 0 -eq $? || _lt_function_replace_fail=:
  13158. sed -e '/^func_len ()$/,/^} # func_len /c\
  13159. func_len ()\
  13160. {\
  13161. func_len_result=${#1}\
  13162. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  13163. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13164. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13165. test 0 -eq $? || _lt_function_replace_fail=:
  13166. fi
  13167. if test x"$lt_shell_append" = xyes; then
  13168. sed -e '/^func_append ()$/,/^} # func_append /c\
  13169. func_append ()\
  13170. {\
  13171. eval "${1}+=\\${2}"\
  13172. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  13173. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13174. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13175. test 0 -eq $? || _lt_function_replace_fail=:
  13176. sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  13177. func_append_quoted ()\
  13178. {\
  13179. \ func_quote_for_eval "${2}"\
  13180. \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  13181. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  13182. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13183. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13184. test 0 -eq $? || _lt_function_replace_fail=:
  13185. # Save a `func_append' function call where possible by direct use of '+='
  13186. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  13187. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13188. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13189. test 0 -eq $? || _lt_function_replace_fail=:
  13190. else
  13191. # Save a `func_append' function call even when '+=' is not available
  13192. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  13193. && mv -f "$cfgfile.tmp" "$cfgfile" \
  13194. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  13195. test 0 -eq $? || _lt_function_replace_fail=:
  13196. fi
  13197. if test x"$_lt_function_replace_fail" = x":"; then
  13198. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  13199. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  13200. fi
  13201. mv -f "$cfgfile" "$ofile" ||
  13202. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  13203. chmod +x "$ofile"
  13204. ;;
  13205. esac
  13206. done # for ac_tag
  13207. as_fn_exit 0
  13208. _ACEOF
  13209. ac_clean_files=$ac_clean_files_save
  13210. test $ac_write_fail = 0 ||
  13211. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  13212. # configure is writing to config.log, and then calls config.status.
  13213. # config.status does its own redirection, appending to config.log.
  13214. # Unfortunately, on DOS this fails, as config.log is still kept open
  13215. # by configure, so config.status won't be able to write to it; its
  13216. # output is simply discarded. So we exec the FD to /dev/null,
  13217. # effectively closing config.log, so it can be properly (re)opened and
  13218. # appended to by config.status. When coming back to configure, we
  13219. # need to make the FD available again.
  13220. if test "$no_create" != yes; then
  13221. ac_cs_success=:
  13222. ac_config_status_args=
  13223. test "$silent" = yes &&
  13224. ac_config_status_args="$ac_config_status_args --quiet"
  13225. exec 5>/dev/null
  13226. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  13227. exec 5>>config.log
  13228. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  13229. # would make configure fail if this is the last instruction.
  13230. $ac_cs_success || as_fn_exit 1
  13231. fi
  13232. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  13233. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  13234. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  13235. fi