configure 477 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for LZO 2.09.
  4. #
  5. # Report bugs to <markus@oberhumer.com>.
  6. #
  7. # Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer.
  8. # All Rights Reserved.
  9. # This configure script may be copied, distributed and modified under the
  10. # terms of the GNU General Public License; see COPYING for more details.
  11. #
  12. #
  13. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  14. #
  15. #
  16. # This configure script is free software; the Free Software Foundation
  17. # gives unlimited permission to copy, distribute and modify it.
  18. ## -------------------- ##
  19. ## M4sh Initialization. ##
  20. ## -------------------- ##
  21. # Be more Bourne compatible
  22. DUALCASE=1; export DUALCASE # for MKS sh
  23. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  24. emulate sh
  25. NULLCMD=:
  26. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  27. # is contrary to our usage. Disable this feature.
  28. alias -g '${1+"$@"}'='"$@"'
  29. setopt NO_GLOB_SUBST
  30. else
  31. case `(set -o) 2>/dev/null` in #(
  32. *posix*) :
  33. set -o posix ;; #(
  34. *) :
  35. ;;
  36. esac
  37. fi
  38. as_nl='
  39. '
  40. export as_nl
  41. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  42. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  43. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  44. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  45. # Prefer a ksh shell builtin over an external printf program on Solaris,
  46. # but without wasting forks for bash or zsh.
  47. if test -z "$BASH_VERSION$ZSH_VERSION" \
  48. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  49. as_echo='print -r --'
  50. as_echo_n='print -rn --'
  51. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  52. as_echo='printf %s\n'
  53. as_echo_n='printf %s'
  54. else
  55. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  56. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  57. as_echo_n='/usr/ucb/echo -n'
  58. else
  59. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  60. as_echo_n_body='eval
  61. arg=$1;
  62. case $arg in #(
  63. *"$as_nl"*)
  64. expr "X$arg" : "X\\(.*\\)$as_nl";
  65. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  66. esac;
  67. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  68. '
  69. export as_echo_n_body
  70. as_echo_n='sh -c $as_echo_n_body as_echo'
  71. fi
  72. export as_echo_body
  73. as_echo='sh -c $as_echo_body as_echo'
  74. fi
  75. # The user is always right.
  76. if test "${PATH_SEPARATOR+set}" != set; then
  77. PATH_SEPARATOR=:
  78. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  79. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  80. PATH_SEPARATOR=';'
  81. }
  82. fi
  83. # IFS
  84. # We need space, tab and new line, in precisely that order. Quoting is
  85. # there to prevent editors from complaining about space-tab.
  86. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  87. # splitting by setting IFS to empty value.)
  88. IFS=" "" $as_nl"
  89. # Find who we are. Look in the path if we contain no directory separator.
  90. as_myself=
  91. case $0 in #((
  92. *[\\/]* ) as_myself=$0 ;;
  93. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  94. for as_dir in $PATH
  95. do
  96. IFS=$as_save_IFS
  97. test -z "$as_dir" && as_dir=.
  98. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  99. done
  100. IFS=$as_save_IFS
  101. ;;
  102. esac
  103. # We did not find ourselves, most probably we were run as `sh COMMAND'
  104. # in which case we are not to be found in the path.
  105. if test "x$as_myself" = x; then
  106. as_myself=$0
  107. fi
  108. if test ! -f "$as_myself"; then
  109. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  110. exit 1
  111. fi
  112. # Unset variables that we do not need and which cause bugs (e.g. in
  113. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  114. # suppresses any "Segmentation fault" message there. '((' could
  115. # trigger a bug in pdksh 5.2.14.
  116. for as_var in BASH_ENV ENV MAIL MAILPATH
  117. do eval test x\${$as_var+set} = xset \
  118. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  119. done
  120. PS1='$ '
  121. PS2='> '
  122. PS4='+ '
  123. # NLS nuisances.
  124. LC_ALL=C
  125. export LC_ALL
  126. LANGUAGE=C
  127. export LANGUAGE
  128. # CDPATH.
  129. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  130. # Use a proper internal environment variable to ensure we don't fall
  131. # into an infinite loop, continuously re-executing ourselves.
  132. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  133. _as_can_reexec=no; export _as_can_reexec;
  134. # We cannot yet assume a decent shell, so we have to provide a
  135. # neutralization value for shells without unset; and this also
  136. # works around shells that cannot unset nonexistent variables.
  137. # Preserve -v and -x to the replacement shell.
  138. BASH_ENV=/dev/null
  139. ENV=/dev/null
  140. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  141. case $- in # ((((
  142. *v*x* | *x*v* ) as_opts=-vx ;;
  143. *v* ) as_opts=-v ;;
  144. *x* ) as_opts=-x ;;
  145. * ) as_opts= ;;
  146. esac
  147. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  148. # Admittedly, this is quite paranoid, since all the known shells bail
  149. # out after a failed `exec'.
  150. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  151. as_fn_exit 255
  152. fi
  153. # We don't want this to propagate to other subprocesses.
  154. { _as_can_reexec=; unset _as_can_reexec;}
  155. if test "x$CONFIG_SHELL" = x; then
  156. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  157. emulate sh
  158. NULLCMD=:
  159. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  160. # is contrary to our usage. Disable this feature.
  161. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  162. setopt NO_GLOB_SUBST
  163. else
  164. case \`(set -o) 2>/dev/null\` in #(
  165. *posix*) :
  166. set -o posix ;; #(
  167. *) :
  168. ;;
  169. esac
  170. fi
  171. "
  172. as_required="as_fn_return () { (exit \$1); }
  173. as_fn_success () { as_fn_return 0; }
  174. as_fn_failure () { as_fn_return 1; }
  175. as_fn_ret_success () { return 0; }
  176. as_fn_ret_failure () { return 1; }
  177. exitcode=0
  178. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  179. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  180. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  181. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  182. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  183. else
  184. exitcode=1; echo positional parameters were not saved.
  185. fi
  186. test x\$exitcode = x0 || exit 1
  187. test -x / || exit 1"
  188. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  189. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  190. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  191. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  192. test \$(( 1 + 1 )) = 2 || exit 1
  193. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  194. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  195. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  196. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  197. PATH=/empty FPATH=/empty; export PATH FPATH
  198. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  199. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  200. if (eval "$as_required") 2>/dev/null; then :
  201. as_have_required=yes
  202. else
  203. as_have_required=no
  204. fi
  205. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  206. else
  207. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  208. as_found=false
  209. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  210. do
  211. IFS=$as_save_IFS
  212. test -z "$as_dir" && as_dir=.
  213. as_found=:
  214. case $as_dir in #(
  215. /*)
  216. for as_base in sh bash ksh sh5; do
  217. # Try only shells that exist, to save several forks.
  218. as_shell=$as_dir/$as_base
  219. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  220. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  221. CONFIG_SHELL=$as_shell as_have_required=yes
  222. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  223. break 2
  224. fi
  225. fi
  226. done;;
  227. esac
  228. as_found=false
  229. done
  230. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  231. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  232. CONFIG_SHELL=$SHELL as_have_required=yes
  233. fi; }
  234. IFS=$as_save_IFS
  235. if test "x$CONFIG_SHELL" != x; then :
  236. export CONFIG_SHELL
  237. # We cannot yet assume a decent shell, so we have to provide a
  238. # neutralization value for shells without unset; and this also
  239. # works around shells that cannot unset nonexistent variables.
  240. # Preserve -v and -x to the replacement shell.
  241. BASH_ENV=/dev/null
  242. ENV=/dev/null
  243. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  244. case $- in # ((((
  245. *v*x* | *x*v* ) as_opts=-vx ;;
  246. *v* ) as_opts=-v ;;
  247. *x* ) as_opts=-x ;;
  248. * ) as_opts= ;;
  249. esac
  250. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  251. # Admittedly, this is quite paranoid, since all the known shells bail
  252. # out after a failed `exec'.
  253. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  254. exit 255
  255. fi
  256. if test x$as_have_required = xno; then :
  257. $as_echo "$0: This script requires a shell more modern than all"
  258. $as_echo "$0: the shells that I found on your system."
  259. if test x${ZSH_VERSION+set} = xset ; then
  260. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  261. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  262. else
  263. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  264. $0: markus@oberhumer.com about your system, including any
  265. $0: error possibly output before this message. Then install
  266. $0: a modern shell, or manually run the script under such a
  267. $0: shell if you do have one."
  268. fi
  269. exit 1
  270. fi
  271. fi
  272. fi
  273. SHELL=${CONFIG_SHELL-/bin/sh}
  274. export SHELL
  275. # Unset more variables known to interfere with behavior of common tools.
  276. CLICOLOR_FORCE= GREP_OPTIONS=
  277. unset CLICOLOR_FORCE GREP_OPTIONS
  278. ## --------------------- ##
  279. ## M4sh Shell Functions. ##
  280. ## --------------------- ##
  281. # as_fn_unset VAR
  282. # ---------------
  283. # Portably unset VAR.
  284. as_fn_unset ()
  285. {
  286. { eval $1=; unset $1;}
  287. }
  288. as_unset=as_fn_unset
  289. # as_fn_set_status STATUS
  290. # -----------------------
  291. # Set $? to STATUS, without forking.
  292. as_fn_set_status ()
  293. {
  294. return $1
  295. } # as_fn_set_status
  296. # as_fn_exit STATUS
  297. # -----------------
  298. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  299. as_fn_exit ()
  300. {
  301. set +e
  302. as_fn_set_status $1
  303. exit $1
  304. } # as_fn_exit
  305. # as_fn_mkdir_p
  306. # -------------
  307. # Create "$as_dir" as a directory, including parents if necessary.
  308. as_fn_mkdir_p ()
  309. {
  310. case $as_dir in #(
  311. -*) as_dir=./$as_dir;;
  312. esac
  313. test -d "$as_dir" || eval $as_mkdir_p || {
  314. as_dirs=
  315. while :; do
  316. case $as_dir in #(
  317. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  318. *) as_qdir=$as_dir;;
  319. esac
  320. as_dirs="'$as_qdir' $as_dirs"
  321. as_dir=`$as_dirname -- "$as_dir" ||
  322. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  323. X"$as_dir" : 'X\(//\)[^/]' \| \
  324. X"$as_dir" : 'X\(//\)$' \| \
  325. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  326. $as_echo X"$as_dir" |
  327. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  328. s//\1/
  329. q
  330. }
  331. /^X\(\/\/\)[^/].*/{
  332. s//\1/
  333. q
  334. }
  335. /^X\(\/\/\)$/{
  336. s//\1/
  337. q
  338. }
  339. /^X\(\/\).*/{
  340. s//\1/
  341. q
  342. }
  343. s/.*/./; q'`
  344. test -d "$as_dir" && break
  345. done
  346. test -z "$as_dirs" || eval "mkdir $as_dirs"
  347. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  348. } # as_fn_mkdir_p
  349. # as_fn_executable_p FILE
  350. # -----------------------
  351. # Test if FILE is an executable regular file.
  352. as_fn_executable_p ()
  353. {
  354. test -f "$1" && test -x "$1"
  355. } # as_fn_executable_p
  356. # as_fn_append VAR VALUE
  357. # ----------------------
  358. # Append the text in VALUE to the end of the definition contained in VAR. Take
  359. # advantage of any shell optimizations that allow amortized linear growth over
  360. # repeated appends, instead of the typical quadratic growth present in naive
  361. # implementations.
  362. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  363. eval 'as_fn_append ()
  364. {
  365. eval $1+=\$2
  366. }'
  367. else
  368. as_fn_append ()
  369. {
  370. eval $1=\$$1\$2
  371. }
  372. fi # as_fn_append
  373. # as_fn_arith ARG...
  374. # ------------------
  375. # Perform arithmetic evaluation on the ARGs, and store the result in the
  376. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  377. # must be portable across $(()) and expr.
  378. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  379. eval 'as_fn_arith ()
  380. {
  381. as_val=$(( $* ))
  382. }'
  383. else
  384. as_fn_arith ()
  385. {
  386. as_val=`expr "$@" || test $? -eq 1`
  387. }
  388. fi # as_fn_arith
  389. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  390. # ----------------------------------------
  391. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  392. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  393. # script with STATUS, using 1 if that was 0.
  394. as_fn_error ()
  395. {
  396. as_status=$1; test $as_status -eq 0 && as_status=1
  397. if test "$4"; then
  398. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  399. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  400. fi
  401. $as_echo "$as_me: error: $2" >&2
  402. as_fn_exit $as_status
  403. } # as_fn_error
  404. if expr a : '\(a\)' >/dev/null 2>&1 &&
  405. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  406. as_expr=expr
  407. else
  408. as_expr=false
  409. fi
  410. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  411. as_basename=basename
  412. else
  413. as_basename=false
  414. fi
  415. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  416. as_dirname=dirname
  417. else
  418. as_dirname=false
  419. fi
  420. as_me=`$as_basename -- "$0" ||
  421. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  422. X"$0" : 'X\(//\)$' \| \
  423. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  424. $as_echo X/"$0" |
  425. sed '/^.*\/\([^/][^/]*\)\/*$/{
  426. s//\1/
  427. q
  428. }
  429. /^X\/\(\/\/\)$/{
  430. s//\1/
  431. q
  432. }
  433. /^X\/\(\/\).*/{
  434. s//\1/
  435. q
  436. }
  437. s/.*/./; q'`
  438. # Avoid depending upon Character Ranges.
  439. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  440. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  441. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  442. as_cr_digits='0123456789'
  443. as_cr_alnum=$as_cr_Letters$as_cr_digits
  444. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  445. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  446. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  447. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  448. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  449. sed -n '
  450. p
  451. /[$]LINENO/=
  452. ' <$as_myself |
  453. sed '
  454. s/[$]LINENO.*/&-/
  455. t lineno
  456. b
  457. :lineno
  458. N
  459. :loop
  460. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  461. t loop
  462. s/-\n.*//
  463. ' >$as_me.lineno &&
  464. chmod +x "$as_me.lineno" ||
  465. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  466. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  467. # already done that, so ensure we don't try to do so again and fall
  468. # in an infinite loop. This has already happened in practice.
  469. _as_can_reexec=no; export _as_can_reexec
  470. # Don't try to exec as it changes $[0], causing all sort of problems
  471. # (the dirname of $[0] is not the place where we might find the
  472. # original and so on. Autoconf is especially sensitive to this).
  473. . "./$as_me.lineno"
  474. # Exit status is that of the last command.
  475. exit
  476. }
  477. ECHO_C= ECHO_N= ECHO_T=
  478. case `echo -n x` in #(((((
  479. -n*)
  480. case `echo 'xy\c'` in
  481. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  482. xy) ECHO_C='\c';;
  483. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  484. ECHO_T=' ';;
  485. esac;;
  486. *)
  487. ECHO_N='-n';;
  488. esac
  489. rm -f conf$$ conf$$.exe conf$$.file
  490. if test -d conf$$.dir; then
  491. rm -f conf$$.dir/conf$$.file
  492. else
  493. rm -f conf$$.dir
  494. mkdir conf$$.dir 2>/dev/null
  495. fi
  496. if (echo >conf$$.file) 2>/dev/null; then
  497. if ln -s conf$$.file conf$$ 2>/dev/null; then
  498. as_ln_s='ln -s'
  499. # ... but there are two gotchas:
  500. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  501. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  502. # In both cases, we have to default to `cp -pR'.
  503. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  504. as_ln_s='cp -pR'
  505. elif ln conf$$.file conf$$ 2>/dev/null; then
  506. as_ln_s=ln
  507. else
  508. as_ln_s='cp -pR'
  509. fi
  510. else
  511. as_ln_s='cp -pR'
  512. fi
  513. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  514. rmdir conf$$.dir 2>/dev/null
  515. if mkdir -p . 2>/dev/null; then
  516. as_mkdir_p='mkdir -p "$as_dir"'
  517. else
  518. test -d ./-p && rmdir ./-p
  519. as_mkdir_p=false
  520. fi
  521. as_test_x='test -x'
  522. as_executable_p=as_fn_executable_p
  523. # Sed expression to map a string onto a valid CPP name.
  524. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  525. # Sed expression to map a string onto a valid variable name.
  526. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  527. SHELL=${CONFIG_SHELL-/bin/sh}
  528. test -n "$DJDIR" || exec 7<&0 </dev/null
  529. exec 6>&1
  530. # Name of the host.
  531. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  532. # so uname gets run too.
  533. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  534. #
  535. # Initializations.
  536. #
  537. ac_default_prefix=/usr/local
  538. ac_clean_files=
  539. ac_config_libobj_dir=.
  540. LIBOBJS=
  541. cross_compiling=no
  542. subdirs=
  543. MFLAGS=
  544. MAKEFLAGS=
  545. # Identity of this package.
  546. PACKAGE_NAME='LZO'
  547. PACKAGE_TARNAME='lzo'
  548. PACKAGE_VERSION='2.09'
  549. PACKAGE_STRING='LZO 2.09'
  550. PACKAGE_BUGREPORT='markus@oberhumer.com'
  551. PACKAGE_URL='http://www.oberhumer.com/opensource/lzo/'
  552. ac_unique_file="src/lzo_init.c"
  553. ac_default_prefix=/usr/local
  554. # Factoring default headers for most tests.
  555. ac_includes_default="\
  556. #include <stdio.h>
  557. #ifdef HAVE_SYS_TYPES_H
  558. # include <sys/types.h>
  559. #endif
  560. #ifdef HAVE_SYS_STAT_H
  561. # include <sys/stat.h>
  562. #endif
  563. #ifdef STDC_HEADERS
  564. # include <stdlib.h>
  565. # include <stddef.h>
  566. #else
  567. # ifdef HAVE_STDLIB_H
  568. # include <stdlib.h>
  569. # endif
  570. #endif
  571. #ifdef HAVE_STRING_H
  572. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  573. # include <memory.h>
  574. # endif
  575. # include <string.h>
  576. #endif
  577. #ifdef HAVE_STRINGS_H
  578. # include <strings.h>
  579. #endif
  580. #ifdef HAVE_INTTYPES_H
  581. # include <inttypes.h>
  582. #endif
  583. #ifdef HAVE_STDINT_H
  584. # include <stdint.h>
  585. #endif
  586. #ifdef HAVE_UNISTD_H
  587. # include <unistd.h>
  588. #endif"
  589. ac_subst_vars='am__EXEEXT_FALSE
  590. am__EXEEXT_TRUE
  591. LTLIBOBJS
  592. LIBOBJS
  593. LZO_USE_ASM_i386_obj_elf32_FALSE
  594. LZO_USE_ASM_i386_obj_elf32_TRUE
  595. LZO_USE_ASM_i386_src_gas_FALSE
  596. LZO_USE_ASM_i386_src_gas_TRUE
  597. OTOOL64
  598. OTOOL
  599. LIPO
  600. NMEDIT
  601. DSYMUTIL
  602. MANIFEST_TOOL
  603. RANLIB
  604. DLLTOOL
  605. OBJDUMP
  606. LN_S
  607. NM
  608. ac_ct_DUMPBIN
  609. DUMPBIN
  610. LD
  611. FGREP
  612. SED
  613. LIBTOOL
  614. AM_BACKSLASH
  615. AM_DEFAULT_VERBOSITY
  616. AM_DEFAULT_V
  617. AM_V
  618. am__fastdepCC_FALSE
  619. am__fastdepCC_TRUE
  620. CCDEPMODE
  621. am__untar
  622. am__tar
  623. AMTAR
  624. SET_MAKE
  625. AWK
  626. mkdir_p
  627. MKDIR_P
  628. INSTALL_STRIP_PROGRAM
  629. STRIP
  630. install_sh
  631. MAKEINFO
  632. AUTOHEADER
  633. AUTOMAKE
  634. AUTOCONF
  635. ACLOCAL
  636. VERSION
  637. PACKAGE
  638. CYGPATH_W
  639. am__isrc
  640. INSTALL_DATA
  641. INSTALL_SCRIPT
  642. INSTALL_PROGRAM
  643. EGREP
  644. GREP
  645. CPP
  646. am__fastdepCCAS_FALSE
  647. am__fastdepCCAS_TRUE
  648. CCASDEPMODE
  649. am__nodep
  650. AMDEPBACKSLASH
  651. AMDEP_FALSE
  652. AMDEP_TRUE
  653. am__quote
  654. am__include
  655. DEPDIR
  656. am__leading_dot
  657. CCASFLAGS
  658. CCAS
  659. ac_ct_AR
  660. AR
  661. OBJEXT
  662. EXEEXT
  663. ac_ct_CC
  664. CPPFLAGS
  665. LDFLAGS
  666. CFLAGS
  667. CC
  668. MAINT
  669. MAINTAINER_MODE_FALSE
  670. MAINTAINER_MODE_TRUE
  671. target_os
  672. target_vendor
  673. target_cpu
  674. target
  675. host_os
  676. host_vendor
  677. host_cpu
  678. host
  679. build_os
  680. build_vendor
  681. build_cpu
  682. build
  683. target_alias
  684. host_alias
  685. build_alias
  686. LIBS
  687. ECHO_T
  688. ECHO_N
  689. ECHO_C
  690. DEFS
  691. mandir
  692. localedir
  693. libdir
  694. psdir
  695. pdfdir
  696. dvidir
  697. htmldir
  698. infodir
  699. docdir
  700. oldincludedir
  701. includedir
  702. localstatedir
  703. sharedstatedir
  704. sysconfdir
  705. datadir
  706. datarootdir
  707. libexecdir
  708. sbindir
  709. bindir
  710. program_transform_name
  711. prefix
  712. exec_prefix
  713. PACKAGE_URL
  714. PACKAGE_BUGREPORT
  715. PACKAGE_STRING
  716. PACKAGE_VERSION
  717. PACKAGE_TARNAME
  718. PACKAGE_NAME
  719. PATH_SEPARATOR
  720. SHELL'
  721. ac_subst_files=''
  722. ac_user_opts='
  723. enable_option_checking
  724. enable_maintainer_mode
  725. enable_dependency_tracking
  726. enable_largefile
  727. enable_silent_rules
  728. enable_static
  729. enable_shared
  730. with_pic
  731. enable_fast_install
  732. with_gnu_ld
  733. with_sysroot
  734. enable_libtool_lock
  735. enable_asm
  736. '
  737. ac_precious_vars='build_alias
  738. host_alias
  739. target_alias
  740. CC
  741. CFLAGS
  742. LDFLAGS
  743. LIBS
  744. CPPFLAGS
  745. CCAS
  746. CCASFLAGS
  747. CPP'
  748. # Initialize some variables set by options.
  749. ac_init_help=
  750. ac_init_version=false
  751. ac_unrecognized_opts=
  752. ac_unrecognized_sep=
  753. # The variables have the same names as the options, with
  754. # dashes changed to underlines.
  755. cache_file=/dev/null
  756. exec_prefix=NONE
  757. no_create=
  758. no_recursion=
  759. prefix=NONE
  760. program_prefix=NONE
  761. program_suffix=NONE
  762. program_transform_name=s,x,x,
  763. silent=
  764. site=
  765. srcdir=
  766. verbose=
  767. x_includes=NONE
  768. x_libraries=NONE
  769. # Installation directory options.
  770. # These are left unexpanded so users can "make install exec_prefix=/foo"
  771. # and all the variables that are supposed to be based on exec_prefix
  772. # by default will actually change.
  773. # Use braces instead of parens because sh, perl, etc. also accept them.
  774. # (The list follows the same order as the GNU Coding Standards.)
  775. bindir='${exec_prefix}/bin'
  776. sbindir='${exec_prefix}/sbin'
  777. libexecdir='${exec_prefix}/libexec'
  778. datarootdir='${prefix}/share'
  779. datadir='${datarootdir}'
  780. sysconfdir='${prefix}/etc'
  781. sharedstatedir='${prefix}/com'
  782. localstatedir='${prefix}/var'
  783. includedir='${prefix}/include'
  784. oldincludedir='/usr/include'
  785. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  786. infodir='${datarootdir}/info'
  787. htmldir='${docdir}'
  788. dvidir='${docdir}'
  789. pdfdir='${docdir}'
  790. psdir='${docdir}'
  791. libdir='${exec_prefix}/lib'
  792. localedir='${datarootdir}/locale'
  793. mandir='${datarootdir}/man'
  794. ac_prev=
  795. ac_dashdash=
  796. for ac_option
  797. do
  798. # If the previous option needs an argument, assign it.
  799. if test -n "$ac_prev"; then
  800. eval $ac_prev=\$ac_option
  801. ac_prev=
  802. continue
  803. fi
  804. case $ac_option in
  805. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  806. *=) ac_optarg= ;;
  807. *) ac_optarg=yes ;;
  808. esac
  809. # Accept the important Cygnus configure options, so we can diagnose typos.
  810. case $ac_dashdash$ac_option in
  811. --)
  812. ac_dashdash=yes ;;
  813. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  814. ac_prev=bindir ;;
  815. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  816. bindir=$ac_optarg ;;
  817. -build | --build | --buil | --bui | --bu)
  818. ac_prev=build_alias ;;
  819. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  820. build_alias=$ac_optarg ;;
  821. -cache-file | --cache-file | --cache-fil | --cache-fi \
  822. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  823. ac_prev=cache_file ;;
  824. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  825. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  826. cache_file=$ac_optarg ;;
  827. --config-cache | -C)
  828. cache_file=config.cache ;;
  829. -datadir | --datadir | --datadi | --datad)
  830. ac_prev=datadir ;;
  831. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  832. datadir=$ac_optarg ;;
  833. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  834. | --dataroo | --dataro | --datar)
  835. ac_prev=datarootdir ;;
  836. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  837. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  838. datarootdir=$ac_optarg ;;
  839. -disable-* | --disable-*)
  840. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  841. # Reject names that are not valid shell variable names.
  842. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  843. as_fn_error $? "invalid feature name: $ac_useropt"
  844. ac_useropt_orig=$ac_useropt
  845. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  846. case $ac_user_opts in
  847. *"
  848. "enable_$ac_useropt"
  849. "*) ;;
  850. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  851. ac_unrecognized_sep=', ';;
  852. esac
  853. eval enable_$ac_useropt=no ;;
  854. -docdir | --docdir | --docdi | --doc | --do)
  855. ac_prev=docdir ;;
  856. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  857. docdir=$ac_optarg ;;
  858. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  859. ac_prev=dvidir ;;
  860. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  861. dvidir=$ac_optarg ;;
  862. -enable-* | --enable-*)
  863. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  864. # Reject names that are not valid shell variable names.
  865. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  866. as_fn_error $? "invalid feature name: $ac_useropt"
  867. ac_useropt_orig=$ac_useropt
  868. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  869. case $ac_user_opts in
  870. *"
  871. "enable_$ac_useropt"
  872. "*) ;;
  873. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  874. ac_unrecognized_sep=', ';;
  875. esac
  876. eval enable_$ac_useropt=\$ac_optarg ;;
  877. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  878. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  879. | --exec | --exe | --ex)
  880. ac_prev=exec_prefix ;;
  881. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  882. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  883. | --exec=* | --exe=* | --ex=*)
  884. exec_prefix=$ac_optarg ;;
  885. -gas | --gas | --ga | --g)
  886. # Obsolete; use --with-gas.
  887. with_gas=yes ;;
  888. -help | --help | --hel | --he | -h)
  889. ac_init_help=long ;;
  890. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  891. ac_init_help=recursive ;;
  892. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  893. ac_init_help=short ;;
  894. -host | --host | --hos | --ho)
  895. ac_prev=host_alias ;;
  896. -host=* | --host=* | --hos=* | --ho=*)
  897. host_alias=$ac_optarg ;;
  898. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  899. ac_prev=htmldir ;;
  900. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  901. | --ht=*)
  902. htmldir=$ac_optarg ;;
  903. -includedir | --includedir | --includedi | --included | --include \
  904. | --includ | --inclu | --incl | --inc)
  905. ac_prev=includedir ;;
  906. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  907. | --includ=* | --inclu=* | --incl=* | --inc=*)
  908. includedir=$ac_optarg ;;
  909. -infodir | --infodir | --infodi | --infod | --info | --inf)
  910. ac_prev=infodir ;;
  911. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  912. infodir=$ac_optarg ;;
  913. -libdir | --libdir | --libdi | --libd)
  914. ac_prev=libdir ;;
  915. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  916. libdir=$ac_optarg ;;
  917. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  918. | --libexe | --libex | --libe)
  919. ac_prev=libexecdir ;;
  920. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  921. | --libexe=* | --libex=* | --libe=*)
  922. libexecdir=$ac_optarg ;;
  923. -localedir | --localedir | --localedi | --localed | --locale)
  924. ac_prev=localedir ;;
  925. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  926. localedir=$ac_optarg ;;
  927. -localstatedir | --localstatedir | --localstatedi | --localstated \
  928. | --localstate | --localstat | --localsta | --localst | --locals)
  929. ac_prev=localstatedir ;;
  930. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  931. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  932. localstatedir=$ac_optarg ;;
  933. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  934. ac_prev=mandir ;;
  935. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  936. mandir=$ac_optarg ;;
  937. -nfp | --nfp | --nf)
  938. # Obsolete; use --without-fp.
  939. with_fp=no ;;
  940. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  941. | --no-cr | --no-c | -n)
  942. no_create=yes ;;
  943. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  944. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  945. no_recursion=yes ;;
  946. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  947. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  948. | --oldin | --oldi | --old | --ol | --o)
  949. ac_prev=oldincludedir ;;
  950. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  951. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  952. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  953. oldincludedir=$ac_optarg ;;
  954. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  955. ac_prev=prefix ;;
  956. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  957. prefix=$ac_optarg ;;
  958. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  959. | --program-pre | --program-pr | --program-p)
  960. ac_prev=program_prefix ;;
  961. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  962. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  963. program_prefix=$ac_optarg ;;
  964. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  965. | --program-suf | --program-su | --program-s)
  966. ac_prev=program_suffix ;;
  967. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  968. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  969. program_suffix=$ac_optarg ;;
  970. -program-transform-name | --program-transform-name \
  971. | --program-transform-nam | --program-transform-na \
  972. | --program-transform-n | --program-transform- \
  973. | --program-transform | --program-transfor \
  974. | --program-transfo | --program-transf \
  975. | --program-trans | --program-tran \
  976. | --progr-tra | --program-tr | --program-t)
  977. ac_prev=program_transform_name ;;
  978. -program-transform-name=* | --program-transform-name=* \
  979. | --program-transform-nam=* | --program-transform-na=* \
  980. | --program-transform-n=* | --program-transform-=* \
  981. | --program-transform=* | --program-transfor=* \
  982. | --program-transfo=* | --program-transf=* \
  983. | --program-trans=* | --program-tran=* \
  984. | --progr-tra=* | --program-tr=* | --program-t=*)
  985. program_transform_name=$ac_optarg ;;
  986. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  987. ac_prev=pdfdir ;;
  988. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  989. pdfdir=$ac_optarg ;;
  990. -psdir | --psdir | --psdi | --psd | --ps)
  991. ac_prev=psdir ;;
  992. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  993. psdir=$ac_optarg ;;
  994. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  995. | -silent | --silent | --silen | --sile | --sil)
  996. silent=yes ;;
  997. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  998. ac_prev=sbindir ;;
  999. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1000. | --sbi=* | --sb=*)
  1001. sbindir=$ac_optarg ;;
  1002. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1003. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1004. | --sharedst | --shareds | --shared | --share | --shar \
  1005. | --sha | --sh)
  1006. ac_prev=sharedstatedir ;;
  1007. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1008. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1009. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1010. | --sha=* | --sh=*)
  1011. sharedstatedir=$ac_optarg ;;
  1012. -site | --site | --sit)
  1013. ac_prev=site ;;
  1014. -site=* | --site=* | --sit=*)
  1015. site=$ac_optarg ;;
  1016. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1017. ac_prev=srcdir ;;
  1018. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1019. srcdir=$ac_optarg ;;
  1020. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1021. | --syscon | --sysco | --sysc | --sys | --sy)
  1022. ac_prev=sysconfdir ;;
  1023. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1024. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1025. sysconfdir=$ac_optarg ;;
  1026. -target | --target | --targe | --targ | --tar | --ta | --t)
  1027. ac_prev=target_alias ;;
  1028. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1029. target_alias=$ac_optarg ;;
  1030. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1031. verbose=yes ;;
  1032. -version | --version | --versio | --versi | --vers | -V)
  1033. ac_init_version=: ;;
  1034. -with-* | --with-*)
  1035. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1036. # Reject names that are not valid shell variable names.
  1037. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1038. as_fn_error $? "invalid package name: $ac_useropt"
  1039. ac_useropt_orig=$ac_useropt
  1040. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1041. case $ac_user_opts in
  1042. *"
  1043. "with_$ac_useropt"
  1044. "*) ;;
  1045. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1046. ac_unrecognized_sep=', ';;
  1047. esac
  1048. eval with_$ac_useropt=\$ac_optarg ;;
  1049. -without-* | --without-*)
  1050. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1051. # Reject names that are not valid shell variable names.
  1052. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1053. as_fn_error $? "invalid package name: $ac_useropt"
  1054. ac_useropt_orig=$ac_useropt
  1055. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1056. case $ac_user_opts in
  1057. *"
  1058. "with_$ac_useropt"
  1059. "*) ;;
  1060. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1061. ac_unrecognized_sep=', ';;
  1062. esac
  1063. eval with_$ac_useropt=no ;;
  1064. --x)
  1065. # Obsolete; use --with-x.
  1066. with_x=yes ;;
  1067. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1068. | --x-incl | --x-inc | --x-in | --x-i)
  1069. ac_prev=x_includes ;;
  1070. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1071. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1072. x_includes=$ac_optarg ;;
  1073. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1074. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1075. ac_prev=x_libraries ;;
  1076. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1077. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1078. x_libraries=$ac_optarg ;;
  1079. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1080. Try \`$0 --help' for more information"
  1081. ;;
  1082. *=*)
  1083. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1084. # Reject names that are not valid shell variable names.
  1085. case $ac_envvar in #(
  1086. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1087. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1088. esac
  1089. eval $ac_envvar=\$ac_optarg
  1090. export $ac_envvar ;;
  1091. *)
  1092. # FIXME: should be removed in autoconf 3.0.
  1093. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1094. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1095. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1096. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1097. ;;
  1098. esac
  1099. done
  1100. if test -n "$ac_prev"; then
  1101. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1102. as_fn_error $? "missing argument to $ac_option"
  1103. fi
  1104. if test -n "$ac_unrecognized_opts"; then
  1105. case $enable_option_checking in
  1106. no) ;;
  1107. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1108. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1109. esac
  1110. fi
  1111. # Check all directory arguments for consistency.
  1112. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1113. datadir sysconfdir sharedstatedir localstatedir includedir \
  1114. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1115. libdir localedir mandir
  1116. do
  1117. eval ac_val=\$$ac_var
  1118. # Remove trailing slashes.
  1119. case $ac_val in
  1120. */ )
  1121. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1122. eval $ac_var=\$ac_val;;
  1123. esac
  1124. # Be sure to have absolute directory names.
  1125. case $ac_val in
  1126. [\\/$]* | ?:[\\/]* ) continue;;
  1127. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1128. esac
  1129. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1130. done
  1131. # There might be people who depend on the old broken behavior: `$host'
  1132. # used to hold the argument of --host etc.
  1133. # FIXME: To remove some day.
  1134. build=$build_alias
  1135. host=$host_alias
  1136. target=$target_alias
  1137. # FIXME: To remove some day.
  1138. if test "x$host_alias" != x; then
  1139. if test "x$build_alias" = x; then
  1140. cross_compiling=maybe
  1141. elif test "x$build_alias" != "x$host_alias"; then
  1142. cross_compiling=yes
  1143. fi
  1144. fi
  1145. ac_tool_prefix=
  1146. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1147. test "$silent" = yes && exec 6>/dev/null
  1148. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1149. ac_ls_di=`ls -di .` &&
  1150. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1151. as_fn_error $? "working directory cannot be determined"
  1152. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1153. as_fn_error $? "pwd does not report name of working directory"
  1154. # Find the source files, if location was not specified.
  1155. if test -z "$srcdir"; then
  1156. ac_srcdir_defaulted=yes
  1157. # Try the directory containing this script, then the parent directory.
  1158. ac_confdir=`$as_dirname -- "$as_myself" ||
  1159. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1160. X"$as_myself" : 'X\(//\)[^/]' \| \
  1161. X"$as_myself" : 'X\(//\)$' \| \
  1162. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1163. $as_echo X"$as_myself" |
  1164. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1165. s//\1/
  1166. q
  1167. }
  1168. /^X\(\/\/\)[^/].*/{
  1169. s//\1/
  1170. q
  1171. }
  1172. /^X\(\/\/\)$/{
  1173. s//\1/
  1174. q
  1175. }
  1176. /^X\(\/\).*/{
  1177. s//\1/
  1178. q
  1179. }
  1180. s/.*/./; q'`
  1181. srcdir=$ac_confdir
  1182. if test ! -r "$srcdir/$ac_unique_file"; then
  1183. srcdir=..
  1184. fi
  1185. else
  1186. ac_srcdir_defaulted=no
  1187. fi
  1188. if test ! -r "$srcdir/$ac_unique_file"; then
  1189. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1190. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1191. fi
  1192. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1193. ac_abs_confdir=`(
  1194. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1195. pwd)`
  1196. # When building in place, set srcdir=.
  1197. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1198. srcdir=.
  1199. fi
  1200. # Remove unnecessary trailing slashes from srcdir.
  1201. # Double slashes in file names in object file debugging info
  1202. # mess up M-x gdb in Emacs.
  1203. case $srcdir in
  1204. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1205. esac
  1206. for ac_var in $ac_precious_vars; do
  1207. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1208. eval ac_env_${ac_var}_value=\$${ac_var}
  1209. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1210. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1211. done
  1212. #
  1213. # Report the --help message.
  1214. #
  1215. if test "$ac_init_help" = "long"; then
  1216. # Omit some internal or obsolete options to make the list less imposing.
  1217. # This message is too long to be a string in the A/UX 3.1 sh.
  1218. cat <<_ACEOF
  1219. \`configure' configures LZO 2.09 to adapt to many kinds of systems.
  1220. Usage: $0 [OPTION]... [VAR=VALUE]...
  1221. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1222. VAR=VALUE. See below for descriptions of some of the useful variables.
  1223. Defaults for the options are specified in brackets.
  1224. Configuration:
  1225. -h, --help display this help and exit
  1226. --help=short display options specific to this package
  1227. --help=recursive display the short help of all the included packages
  1228. -V, --version display version information and exit
  1229. -q, --quiet, --silent do not print \`checking ...' messages
  1230. --cache-file=FILE cache test results in FILE [disabled]
  1231. -C, --config-cache alias for \`--cache-file=config.cache'
  1232. -n, --no-create do not create output files
  1233. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1234. Installation directories:
  1235. --prefix=PREFIX install architecture-independent files in PREFIX
  1236. [$ac_default_prefix]
  1237. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1238. [PREFIX]
  1239. By default, \`make install' will install all the files in
  1240. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1241. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1242. for instance \`--prefix=\$HOME'.
  1243. For better control, use the options below.
  1244. Fine tuning of the installation directories:
  1245. --bindir=DIR user executables [EPREFIX/bin]
  1246. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1247. --libexecdir=DIR program executables [EPREFIX/libexec]
  1248. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1249. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1250. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1251. --libdir=DIR object code libraries [EPREFIX/lib]
  1252. --includedir=DIR C header files [PREFIX/include]
  1253. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1254. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1255. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1256. --infodir=DIR info documentation [DATAROOTDIR/info]
  1257. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1258. --mandir=DIR man documentation [DATAROOTDIR/man]
  1259. --docdir=DIR documentation root [DATAROOTDIR/doc/lzo]
  1260. --htmldir=DIR html documentation [DOCDIR]
  1261. --dvidir=DIR dvi documentation [DOCDIR]
  1262. --pdfdir=DIR pdf documentation [DOCDIR]
  1263. --psdir=DIR ps documentation [DOCDIR]
  1264. _ACEOF
  1265. cat <<\_ACEOF
  1266. Program names:
  1267. --program-prefix=PREFIX prepend PREFIX to installed program names
  1268. --program-suffix=SUFFIX append SUFFIX to installed program names
  1269. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1270. System types:
  1271. --build=BUILD configure for building on BUILD [guessed]
  1272. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1273. --target=TARGET configure for building compilers for TARGET [HOST]
  1274. _ACEOF
  1275. fi
  1276. if test -n "$ac_init_help"; then
  1277. case $ac_init_help in
  1278. short | recursive ) echo "Configuration of LZO 2.09:";;
  1279. esac
  1280. cat <<\_ACEOF
  1281. Optional Features:
  1282. --disable-option-checking ignore unrecognized --enable/--with options
  1283. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1284. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1285. --enable-maintainer-mode
  1286. enable make rules and dependencies not useful (and
  1287. sometimes confusing) to the casual installer
  1288. --enable-dependency-tracking
  1289. do not reject slow dependency extractors
  1290. --disable-dependency-tracking
  1291. speeds up one-time build
  1292. --disable-largefile omit support for large files
  1293. --enable-silent-rules less verbose build output (undo: "make V=1")
  1294. --disable-silent-rules verbose build output (undo: "make V=0")
  1295. --enable-static[=PKGS] build static libraries [default=yes]
  1296. --enable-shared[=PKGS] build shared libraries [default=no]
  1297. --enable-fast-install[=PKGS]
  1298. optimize for fast installation [default=yes]
  1299. --disable-libtool-lock avoid locking (might break parallel builds)
  1300. --disable-asm disable assembly versions
  1301. Optional Packages:
  1302. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1303. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1304. --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
  1305. both]
  1306. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1307. --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
  1308. compiler's sysroot if not specified).
  1309. Some influential environment variables:
  1310. CC C compiler command
  1311. CFLAGS C compiler flags
  1312. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1313. nonstandard directory <lib dir>
  1314. LIBS libraries to pass to the linker, e.g. -l<library>
  1315. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1316. you have headers in a nonstandard directory <include dir>
  1317. CCAS assembler compiler command (defaults to CC)
  1318. CCASFLAGS assembler compiler flags (defaults to CFLAGS)
  1319. CPP C preprocessor
  1320. Use these variables to override the choices made by `configure' or to help
  1321. it to find libraries and programs with nonstandard names/locations.
  1322. Report bugs to <markus@oberhumer.com>.
  1323. LZO home page: <http://www.oberhumer.com/opensource/lzo/>.
  1324. _ACEOF
  1325. ac_status=$?
  1326. fi
  1327. if test "$ac_init_help" = "recursive"; then
  1328. # If there are subdirs, report their specific --help.
  1329. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1330. test -d "$ac_dir" ||
  1331. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1332. continue
  1333. ac_builddir=.
  1334. case "$ac_dir" in
  1335. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1336. *)
  1337. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1338. # A ".." for each directory in $ac_dir_suffix.
  1339. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1340. case $ac_top_builddir_sub in
  1341. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1342. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1343. esac ;;
  1344. esac
  1345. ac_abs_top_builddir=$ac_pwd
  1346. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1347. # for backward compatibility:
  1348. ac_top_builddir=$ac_top_build_prefix
  1349. case $srcdir in
  1350. .) # We are building in place.
  1351. ac_srcdir=.
  1352. ac_top_srcdir=$ac_top_builddir_sub
  1353. ac_abs_top_srcdir=$ac_pwd ;;
  1354. [\\/]* | ?:[\\/]* ) # Absolute name.
  1355. ac_srcdir=$srcdir$ac_dir_suffix;
  1356. ac_top_srcdir=$srcdir
  1357. ac_abs_top_srcdir=$srcdir ;;
  1358. *) # Relative name.
  1359. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1360. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1361. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1362. esac
  1363. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1364. cd "$ac_dir" || { ac_status=$?; continue; }
  1365. # Check for guested configure.
  1366. if test -f "$ac_srcdir/configure.gnu"; then
  1367. echo &&
  1368. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1369. elif test -f "$ac_srcdir/configure"; then
  1370. echo &&
  1371. $SHELL "$ac_srcdir/configure" --help=recursive
  1372. else
  1373. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1374. fi || ac_status=$?
  1375. cd "$ac_pwd" || { ac_status=$?; break; }
  1376. done
  1377. fi
  1378. test -n "$ac_init_help" && exit $ac_status
  1379. if $ac_init_version; then
  1380. cat <<\_ACEOF
  1381. LZO configure 2.09
  1382. generated by GNU Autoconf 2.69
  1383. Copyright (C) 2012 Free Software Foundation, Inc.
  1384. This configure script is free software; the Free Software Foundation
  1385. gives unlimited permission to copy, distribute and modify it.
  1386. Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer.
  1387. All Rights Reserved.
  1388. This configure script may be copied, distributed and modified under the
  1389. terms of the GNU General Public License; see COPYING for more details.
  1390. _ACEOF
  1391. exit
  1392. fi
  1393. ## ------------------------ ##
  1394. ## Autoconf initialization. ##
  1395. ## ------------------------ ##
  1396. # ac_fn_c_try_compile LINENO
  1397. # --------------------------
  1398. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1399. ac_fn_c_try_compile ()
  1400. {
  1401. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1402. rm -f conftest.$ac_objext
  1403. if { { ac_try="$ac_compile"
  1404. case "(($ac_try" in
  1405. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1406. *) ac_try_echo=$ac_try;;
  1407. esac
  1408. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1409. $as_echo "$ac_try_echo"; } >&5
  1410. (eval "$ac_compile") 2>conftest.err
  1411. ac_status=$?
  1412. if test -s conftest.err; then
  1413. grep -v '^ *+' conftest.err >conftest.er1
  1414. cat conftest.er1 >&5
  1415. mv -f conftest.er1 conftest.err
  1416. fi
  1417. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1418. test $ac_status = 0; } && {
  1419. test -z "$ac_c_werror_flag" ||
  1420. test ! -s conftest.err
  1421. } && test -s conftest.$ac_objext; then :
  1422. ac_retval=0
  1423. else
  1424. $as_echo "$as_me: failed program was:" >&5
  1425. sed 's/^/| /' conftest.$ac_ext >&5
  1426. ac_retval=1
  1427. fi
  1428. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1429. as_fn_set_status $ac_retval
  1430. } # ac_fn_c_try_compile
  1431. # ac_fn_c_try_cpp LINENO
  1432. # ----------------------
  1433. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1434. ac_fn_c_try_cpp ()
  1435. {
  1436. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1437. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1438. case "(($ac_try" in
  1439. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1440. *) ac_try_echo=$ac_try;;
  1441. esac
  1442. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1443. $as_echo "$ac_try_echo"; } >&5
  1444. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1445. ac_status=$?
  1446. if test -s conftest.err; then
  1447. grep -v '^ *+' conftest.err >conftest.er1
  1448. cat conftest.er1 >&5
  1449. mv -f conftest.er1 conftest.err
  1450. fi
  1451. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1452. test $ac_status = 0; } > conftest.i && {
  1453. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1454. test ! -s conftest.err
  1455. }; then :
  1456. ac_retval=0
  1457. else
  1458. $as_echo "$as_me: failed program was:" >&5
  1459. sed 's/^/| /' conftest.$ac_ext >&5
  1460. ac_retval=1
  1461. fi
  1462. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1463. as_fn_set_status $ac_retval
  1464. } # ac_fn_c_try_cpp
  1465. # ac_fn_c_try_run LINENO
  1466. # ----------------------
  1467. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1468. # that executables *can* be run.
  1469. ac_fn_c_try_run ()
  1470. {
  1471. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1472. if { { ac_try="$ac_link"
  1473. case "(($ac_try" in
  1474. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1475. *) ac_try_echo=$ac_try;;
  1476. esac
  1477. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1478. $as_echo "$ac_try_echo"; } >&5
  1479. (eval "$ac_link") 2>&5
  1480. ac_status=$?
  1481. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1482. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1483. { { case "(($ac_try" in
  1484. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1485. *) ac_try_echo=$ac_try;;
  1486. esac
  1487. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1488. $as_echo "$ac_try_echo"; } >&5
  1489. (eval "$ac_try") 2>&5
  1490. ac_status=$?
  1491. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1492. test $ac_status = 0; }; }; then :
  1493. ac_retval=0
  1494. else
  1495. $as_echo "$as_me: program exited with status $ac_status" >&5
  1496. $as_echo "$as_me: failed program was:" >&5
  1497. sed 's/^/| /' conftest.$ac_ext >&5
  1498. ac_retval=$ac_status
  1499. fi
  1500. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1501. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1502. as_fn_set_status $ac_retval
  1503. } # ac_fn_c_try_run
  1504. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1505. # -------------------------------------------------------
  1506. # Tests whether HEADER exists and can be compiled using the include files in
  1507. # INCLUDES, setting the cache variable VAR accordingly.
  1508. ac_fn_c_check_header_compile ()
  1509. {
  1510. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1512. $as_echo_n "checking for $2... " >&6; }
  1513. if eval \${$3+:} false; then :
  1514. $as_echo_n "(cached) " >&6
  1515. else
  1516. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1517. /* end confdefs.h. */
  1518. $4
  1519. #include <$2>
  1520. _ACEOF
  1521. if ac_fn_c_try_compile "$LINENO"; then :
  1522. eval "$3=yes"
  1523. else
  1524. eval "$3=no"
  1525. fi
  1526. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1527. fi
  1528. eval ac_res=\$$3
  1529. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1530. $as_echo "$ac_res" >&6; }
  1531. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1532. } # ac_fn_c_check_header_compile
  1533. # ac_fn_c_try_link LINENO
  1534. # -----------------------
  1535. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1536. ac_fn_c_try_link ()
  1537. {
  1538. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1539. rm -f conftest.$ac_objext conftest$ac_exeext
  1540. if { { ac_try="$ac_link"
  1541. case "(($ac_try" in
  1542. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1543. *) ac_try_echo=$ac_try;;
  1544. esac
  1545. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1546. $as_echo "$ac_try_echo"; } >&5
  1547. (eval "$ac_link") 2>conftest.err
  1548. ac_status=$?
  1549. if test -s conftest.err; then
  1550. grep -v '^ *+' conftest.err >conftest.er1
  1551. cat conftest.er1 >&5
  1552. mv -f conftest.er1 conftest.err
  1553. fi
  1554. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1555. test $ac_status = 0; } && {
  1556. test -z "$ac_c_werror_flag" ||
  1557. test ! -s conftest.err
  1558. } && test -s conftest$ac_exeext && {
  1559. test "$cross_compiling" = yes ||
  1560. test -x conftest$ac_exeext
  1561. }; then :
  1562. ac_retval=0
  1563. else
  1564. $as_echo "$as_me: failed program was:" >&5
  1565. sed 's/^/| /' conftest.$ac_ext >&5
  1566. ac_retval=1
  1567. fi
  1568. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1569. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1570. # interfere with the next link command; also delete a directory that is
  1571. # left behind by Apple's compiler. We do this before executing the actions.
  1572. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1573. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1574. as_fn_set_status $ac_retval
  1575. } # ac_fn_c_try_link
  1576. # ac_fn_c_check_func LINENO FUNC VAR
  1577. # ----------------------------------
  1578. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1579. ac_fn_c_check_func ()
  1580. {
  1581. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1583. $as_echo_n "checking for $2... " >&6; }
  1584. if eval \${$3+:} false; then :
  1585. $as_echo_n "(cached) " >&6
  1586. else
  1587. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1588. /* end confdefs.h. */
  1589. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1590. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1591. #define $2 innocuous_$2
  1592. /* System header to define __stub macros and hopefully few prototypes,
  1593. which can conflict with char $2 (); below.
  1594. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1595. <limits.h> exists even on freestanding compilers. */
  1596. #ifdef __STDC__
  1597. # include <limits.h>
  1598. #else
  1599. # include <assert.h>
  1600. #endif
  1601. #undef $2
  1602. /* Override any GCC internal prototype to avoid an error.
  1603. Use char because int might match the return type of a GCC
  1604. builtin and then its argument prototype would still apply. */
  1605. #ifdef __cplusplus
  1606. extern "C"
  1607. #endif
  1608. char $2 ();
  1609. /* The GNU C library defines this for functions which it implements
  1610. to always fail with ENOSYS. Some functions are actually named
  1611. something starting with __ and the normal name is an alias. */
  1612. #if defined __stub_$2 || defined __stub___$2
  1613. choke me
  1614. #endif
  1615. int
  1616. main ()
  1617. {
  1618. return $2 ();
  1619. ;
  1620. return 0;
  1621. }
  1622. _ACEOF
  1623. if ac_fn_c_try_link "$LINENO"; then :
  1624. eval "$3=yes"
  1625. else
  1626. eval "$3=no"
  1627. fi
  1628. rm -f core conftest.err conftest.$ac_objext \
  1629. conftest$ac_exeext conftest.$ac_ext
  1630. fi
  1631. eval ac_res=\$$3
  1632. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1633. $as_echo "$ac_res" >&6; }
  1634. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1635. } # ac_fn_c_check_func
  1636. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1637. # -------------------------------------------------------
  1638. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1639. # the include files in INCLUDES and setting the cache variable VAR
  1640. # accordingly.
  1641. ac_fn_c_check_header_mongrel ()
  1642. {
  1643. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1644. if eval \${$3+:} false; then :
  1645. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1646. $as_echo_n "checking for $2... " >&6; }
  1647. if eval \${$3+:} false; then :
  1648. $as_echo_n "(cached) " >&6
  1649. fi
  1650. eval ac_res=\$$3
  1651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1652. $as_echo "$ac_res" >&6; }
  1653. else
  1654. # Is the header compilable?
  1655. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1656. $as_echo_n "checking $2 usability... " >&6; }
  1657. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1658. /* end confdefs.h. */
  1659. $4
  1660. #include <$2>
  1661. _ACEOF
  1662. if ac_fn_c_try_compile "$LINENO"; then :
  1663. ac_header_compiler=yes
  1664. else
  1665. ac_header_compiler=no
  1666. fi
  1667. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1668. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1669. $as_echo "$ac_header_compiler" >&6; }
  1670. # Is the header present?
  1671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1672. $as_echo_n "checking $2 presence... " >&6; }
  1673. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1674. /* end confdefs.h. */
  1675. #include <$2>
  1676. _ACEOF
  1677. if ac_fn_c_try_cpp "$LINENO"; then :
  1678. ac_header_preproc=yes
  1679. else
  1680. ac_header_preproc=no
  1681. fi
  1682. rm -f conftest.err conftest.i conftest.$ac_ext
  1683. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1684. $as_echo "$ac_header_preproc" >&6; }
  1685. # So? What about this header?
  1686. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1687. yes:no: )
  1688. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1689. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1690. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1691. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1692. ;;
  1693. no:yes:* )
  1694. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1695. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1696. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1697. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1698. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1699. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1700. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1701. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1702. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1703. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1704. ( $as_echo "## ----------------------------------- ##
  1705. ## Report this to markus@oberhumer.com ##
  1706. ## ----------------------------------- ##"
  1707. ) | sed "s/^/$as_me: WARNING: /" >&2
  1708. ;;
  1709. esac
  1710. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1711. $as_echo_n "checking for $2... " >&6; }
  1712. if eval \${$3+:} false; then :
  1713. $as_echo_n "(cached) " >&6
  1714. else
  1715. eval "$3=\$ac_header_compiler"
  1716. fi
  1717. eval ac_res=\$$3
  1718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1719. $as_echo "$ac_res" >&6; }
  1720. fi
  1721. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1722. } # ac_fn_c_check_header_mongrel
  1723. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1724. # -------------------------------------------
  1725. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1726. # variable VAR accordingly.
  1727. ac_fn_c_check_type ()
  1728. {
  1729. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1730. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1731. $as_echo_n "checking for $2... " >&6; }
  1732. if eval \${$3+:} false; then :
  1733. $as_echo_n "(cached) " >&6
  1734. else
  1735. eval "$3=no"
  1736. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1737. /* end confdefs.h. */
  1738. $4
  1739. int
  1740. main ()
  1741. {
  1742. if (sizeof ($2))
  1743. return 0;
  1744. ;
  1745. return 0;
  1746. }
  1747. _ACEOF
  1748. if ac_fn_c_try_compile "$LINENO"; then :
  1749. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1750. /* end confdefs.h. */
  1751. $4
  1752. int
  1753. main ()
  1754. {
  1755. if (sizeof (($2)))
  1756. return 0;
  1757. ;
  1758. return 0;
  1759. }
  1760. _ACEOF
  1761. if ac_fn_c_try_compile "$LINENO"; then :
  1762. else
  1763. eval "$3=yes"
  1764. fi
  1765. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1766. fi
  1767. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1768. fi
  1769. eval ac_res=\$$3
  1770. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1771. $as_echo "$ac_res" >&6; }
  1772. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1773. } # ac_fn_c_check_type
  1774. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1775. # --------------------------------------------
  1776. # Tries to find the compile-time value of EXPR in a program that includes
  1777. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  1778. # computed
  1779. ac_fn_c_compute_int ()
  1780. {
  1781. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1782. if test "$cross_compiling" = yes; then
  1783. # Depending upon the size, compute the lo and hi bounds.
  1784. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1785. /* end confdefs.h. */
  1786. $4
  1787. int
  1788. main ()
  1789. {
  1790. static int test_array [1 - 2 * !(($2) >= 0)];
  1791. test_array [0] = 0;
  1792. return test_array [0];
  1793. ;
  1794. return 0;
  1795. }
  1796. _ACEOF
  1797. if ac_fn_c_try_compile "$LINENO"; then :
  1798. ac_lo=0 ac_mid=0
  1799. while :; do
  1800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1801. /* end confdefs.h. */
  1802. $4
  1803. int
  1804. main ()
  1805. {
  1806. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1807. test_array [0] = 0;
  1808. return test_array [0];
  1809. ;
  1810. return 0;
  1811. }
  1812. _ACEOF
  1813. if ac_fn_c_try_compile "$LINENO"; then :
  1814. ac_hi=$ac_mid; break
  1815. else
  1816. as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1817. if test $ac_lo -le $ac_mid; then
  1818. ac_lo= ac_hi=
  1819. break
  1820. fi
  1821. as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1822. fi
  1823. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1824. done
  1825. else
  1826. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1827. /* end confdefs.h. */
  1828. $4
  1829. int
  1830. main ()
  1831. {
  1832. static int test_array [1 - 2 * !(($2) < 0)];
  1833. test_array [0] = 0;
  1834. return test_array [0];
  1835. ;
  1836. return 0;
  1837. }
  1838. _ACEOF
  1839. if ac_fn_c_try_compile "$LINENO"; then :
  1840. ac_hi=-1 ac_mid=-1
  1841. while :; do
  1842. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1843. /* end confdefs.h. */
  1844. $4
  1845. int
  1846. main ()
  1847. {
  1848. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1849. test_array [0] = 0;
  1850. return test_array [0];
  1851. ;
  1852. return 0;
  1853. }
  1854. _ACEOF
  1855. if ac_fn_c_try_compile "$LINENO"; then :
  1856. ac_lo=$ac_mid; break
  1857. else
  1858. as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1859. if test $ac_mid -le $ac_hi; then
  1860. ac_lo= ac_hi=
  1861. break
  1862. fi
  1863. as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1864. fi
  1865. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1866. done
  1867. else
  1868. ac_lo= ac_hi=
  1869. fi
  1870. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1871. fi
  1872. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1873. # Binary search between lo and hi bounds.
  1874. while test "x$ac_lo" != "x$ac_hi"; do
  1875. as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1876. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1877. /* end confdefs.h. */
  1878. $4
  1879. int
  1880. main ()
  1881. {
  1882. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1883. test_array [0] = 0;
  1884. return test_array [0];
  1885. ;
  1886. return 0;
  1887. }
  1888. _ACEOF
  1889. if ac_fn_c_try_compile "$LINENO"; then :
  1890. ac_hi=$ac_mid
  1891. else
  1892. as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1893. fi
  1894. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1895. done
  1896. case $ac_lo in #((
  1897. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1898. '') ac_retval=1 ;;
  1899. esac
  1900. else
  1901. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1902. /* end confdefs.h. */
  1903. $4
  1904. static long int longval () { return $2; }
  1905. static unsigned long int ulongval () { return $2; }
  1906. #include <stdio.h>
  1907. #include <stdlib.h>
  1908. int
  1909. main ()
  1910. {
  1911. FILE *f = fopen ("conftest.val", "w");
  1912. if (! f)
  1913. return 1;
  1914. if (($2) < 0)
  1915. {
  1916. long int i = longval ();
  1917. if (i != ($2))
  1918. return 1;
  1919. fprintf (f, "%ld", i);
  1920. }
  1921. else
  1922. {
  1923. unsigned long int i = ulongval ();
  1924. if (i != ($2))
  1925. return 1;
  1926. fprintf (f, "%lu", i);
  1927. }
  1928. /* Do not output a trailing newline, as this causes \r\n confusion
  1929. on some platforms. */
  1930. return ferror (f) || fclose (f) != 0;
  1931. ;
  1932. return 0;
  1933. }
  1934. _ACEOF
  1935. if ac_fn_c_try_run "$LINENO"; then :
  1936. echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  1937. else
  1938. ac_retval=1
  1939. fi
  1940. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1941. conftest.$ac_objext conftest.beam conftest.$ac_ext
  1942. rm -f conftest.val
  1943. fi
  1944. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1945. as_fn_set_status $ac_retval
  1946. } # ac_fn_c_compute_int
  1947. cat >config.log <<_ACEOF
  1948. This file contains any messages produced by compilers while
  1949. running configure, to aid debugging if configure makes a mistake.
  1950. It was created by LZO $as_me 2.09, which was
  1951. generated by GNU Autoconf 2.69. Invocation command line was
  1952. $ $0 $@
  1953. _ACEOF
  1954. exec 5>>config.log
  1955. {
  1956. cat <<_ASUNAME
  1957. ## --------- ##
  1958. ## Platform. ##
  1959. ## --------- ##
  1960. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1961. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1962. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1963. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1964. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1965. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1966. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1967. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1968. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1969. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1970. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1971. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1972. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1973. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1974. _ASUNAME
  1975. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1976. for as_dir in $PATH
  1977. do
  1978. IFS=$as_save_IFS
  1979. test -z "$as_dir" && as_dir=.
  1980. $as_echo "PATH: $as_dir"
  1981. done
  1982. IFS=$as_save_IFS
  1983. } >&5
  1984. cat >&5 <<_ACEOF
  1985. ## ----------- ##
  1986. ## Core tests. ##
  1987. ## ----------- ##
  1988. _ACEOF
  1989. # Keep a trace of the command line.
  1990. # Strip out --no-create and --no-recursion so they do not pile up.
  1991. # Strip out --silent because we don't want to record it for future runs.
  1992. # Also quote any args containing shell meta-characters.
  1993. # Make two passes to allow for proper duplicate-argument suppression.
  1994. ac_configure_args=
  1995. ac_configure_args0=
  1996. ac_configure_args1=
  1997. ac_must_keep_next=false
  1998. for ac_pass in 1 2
  1999. do
  2000. for ac_arg
  2001. do
  2002. case $ac_arg in
  2003. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2004. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2005. | -silent | --silent | --silen | --sile | --sil)
  2006. continue ;;
  2007. *\'*)
  2008. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2009. esac
  2010. case $ac_pass in
  2011. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2012. 2)
  2013. as_fn_append ac_configure_args1 " '$ac_arg'"
  2014. if test $ac_must_keep_next = true; then
  2015. ac_must_keep_next=false # Got value, back to normal.
  2016. else
  2017. case $ac_arg in
  2018. *=* | --config-cache | -C | -disable-* | --disable-* \
  2019. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2020. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2021. | -with-* | --with-* | -without-* | --without-* | --x)
  2022. case "$ac_configure_args0 " in
  2023. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2024. esac
  2025. ;;
  2026. -* ) ac_must_keep_next=true ;;
  2027. esac
  2028. fi
  2029. as_fn_append ac_configure_args " '$ac_arg'"
  2030. ;;
  2031. esac
  2032. done
  2033. done
  2034. { ac_configure_args0=; unset ac_configure_args0;}
  2035. { ac_configure_args1=; unset ac_configure_args1;}
  2036. # When interrupted or exit'd, cleanup temporary files, and complete
  2037. # config.log. We remove comments because anyway the quotes in there
  2038. # would cause problems or look ugly.
  2039. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2040. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2041. trap 'exit_status=$?
  2042. # Save into config.log some information that might help in debugging.
  2043. {
  2044. echo
  2045. $as_echo "## ---------------- ##
  2046. ## Cache variables. ##
  2047. ## ---------------- ##"
  2048. echo
  2049. # The following way of writing the cache mishandles newlines in values,
  2050. (
  2051. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2052. eval ac_val=\$$ac_var
  2053. case $ac_val in #(
  2054. *${as_nl}*)
  2055. case $ac_var in #(
  2056. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2057. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2058. esac
  2059. case $ac_var in #(
  2060. _ | IFS | as_nl) ;; #(
  2061. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2062. *) { eval $ac_var=; unset $ac_var;} ;;
  2063. esac ;;
  2064. esac
  2065. done
  2066. (set) 2>&1 |
  2067. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2068. *${as_nl}ac_space=\ *)
  2069. sed -n \
  2070. "s/'\''/'\''\\\\'\'''\''/g;
  2071. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2072. ;; #(
  2073. *)
  2074. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2075. ;;
  2076. esac |
  2077. sort
  2078. )
  2079. echo
  2080. $as_echo "## ----------------- ##
  2081. ## Output variables. ##
  2082. ## ----------------- ##"
  2083. echo
  2084. for ac_var in $ac_subst_vars
  2085. do
  2086. eval ac_val=\$$ac_var
  2087. case $ac_val in
  2088. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2089. esac
  2090. $as_echo "$ac_var='\''$ac_val'\''"
  2091. done | sort
  2092. echo
  2093. if test -n "$ac_subst_files"; then
  2094. $as_echo "## ------------------- ##
  2095. ## File substitutions. ##
  2096. ## ------------------- ##"
  2097. echo
  2098. for ac_var in $ac_subst_files
  2099. do
  2100. eval ac_val=\$$ac_var
  2101. case $ac_val in
  2102. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2103. esac
  2104. $as_echo "$ac_var='\''$ac_val'\''"
  2105. done | sort
  2106. echo
  2107. fi
  2108. if test -s confdefs.h; then
  2109. $as_echo "## ----------- ##
  2110. ## confdefs.h. ##
  2111. ## ----------- ##"
  2112. echo
  2113. cat confdefs.h
  2114. echo
  2115. fi
  2116. test "$ac_signal" != 0 &&
  2117. $as_echo "$as_me: caught signal $ac_signal"
  2118. $as_echo "$as_me: exit $exit_status"
  2119. } >&5
  2120. rm -f core *.core core.conftest.* &&
  2121. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2122. exit $exit_status
  2123. ' 0
  2124. for ac_signal in 1 2 13 15; do
  2125. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2126. done
  2127. ac_signal=0
  2128. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2129. rm -f -r conftest* confdefs.h
  2130. $as_echo "/* confdefs.h */" > confdefs.h
  2131. # Predefined preprocessor variables.
  2132. cat >>confdefs.h <<_ACEOF
  2133. #define PACKAGE_NAME "$PACKAGE_NAME"
  2134. _ACEOF
  2135. cat >>confdefs.h <<_ACEOF
  2136. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2137. _ACEOF
  2138. cat >>confdefs.h <<_ACEOF
  2139. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2140. _ACEOF
  2141. cat >>confdefs.h <<_ACEOF
  2142. #define PACKAGE_STRING "$PACKAGE_STRING"
  2143. _ACEOF
  2144. cat >>confdefs.h <<_ACEOF
  2145. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2146. _ACEOF
  2147. cat >>confdefs.h <<_ACEOF
  2148. #define PACKAGE_URL "$PACKAGE_URL"
  2149. _ACEOF
  2150. # Let the site file select an alternate cache file if it wants to.
  2151. # Prefer an explicitly selected file to automatically selected ones.
  2152. ac_site_file1=NONE
  2153. ac_site_file2=NONE
  2154. if test -n "$CONFIG_SITE"; then
  2155. # We do not want a PATH search for config.site.
  2156. case $CONFIG_SITE in #((
  2157. -*) ac_site_file1=./$CONFIG_SITE;;
  2158. */*) ac_site_file1=$CONFIG_SITE;;
  2159. *) ac_site_file1=./$CONFIG_SITE;;
  2160. esac
  2161. elif test "x$prefix" != xNONE; then
  2162. ac_site_file1=$prefix/share/config.site
  2163. ac_site_file2=$prefix/etc/config.site
  2164. else
  2165. ac_site_file1=$ac_default_prefix/share/config.site
  2166. ac_site_file2=$ac_default_prefix/etc/config.site
  2167. fi
  2168. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2169. do
  2170. test "x$ac_site_file" = xNONE && continue
  2171. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2172. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2173. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2174. sed 's/^/| /' "$ac_site_file" >&5
  2175. . "$ac_site_file" \
  2176. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2177. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2178. as_fn_error $? "failed to load site script $ac_site_file
  2179. See \`config.log' for more details" "$LINENO" 5; }
  2180. fi
  2181. done
  2182. if test -r "$cache_file"; then
  2183. # Some versions of bash will fail to source /dev/null (special files
  2184. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2185. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2186. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2187. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2188. case $cache_file in
  2189. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2190. *) . "./$cache_file";;
  2191. esac
  2192. fi
  2193. else
  2194. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2195. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2196. >$cache_file
  2197. fi
  2198. # Check that the precious variables saved in the cache have kept the same
  2199. # value.
  2200. ac_cache_corrupted=false
  2201. for ac_var in $ac_precious_vars; do
  2202. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2203. eval ac_new_set=\$ac_env_${ac_var}_set
  2204. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2205. eval ac_new_val=\$ac_env_${ac_var}_value
  2206. case $ac_old_set,$ac_new_set in
  2207. set,)
  2208. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2209. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2210. ac_cache_corrupted=: ;;
  2211. ,set)
  2212. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2213. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2214. ac_cache_corrupted=: ;;
  2215. ,);;
  2216. *)
  2217. if test "x$ac_old_val" != "x$ac_new_val"; then
  2218. # differences in whitespace do not lead to failure.
  2219. ac_old_val_w=`echo x $ac_old_val`
  2220. ac_new_val_w=`echo x $ac_new_val`
  2221. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2222. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2223. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2224. ac_cache_corrupted=:
  2225. else
  2226. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2227. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2228. eval $ac_var=\$ac_old_val
  2229. fi
  2230. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2231. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2232. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2233. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2234. fi;;
  2235. esac
  2236. # Pass precious variables to config.status.
  2237. if test "$ac_new_set" = set; then
  2238. case $ac_new_val in
  2239. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2240. *) ac_arg=$ac_var=$ac_new_val ;;
  2241. esac
  2242. case " $ac_configure_args " in
  2243. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2244. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2245. esac
  2246. fi
  2247. done
  2248. if $ac_cache_corrupted; then
  2249. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2250. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2251. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2252. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2253. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2254. fi
  2255. ## -------------------- ##
  2256. ## Main body of script. ##
  2257. ## -------------------- ##
  2258. ac_ext=c
  2259. ac_cpp='$CPP $CPPFLAGS'
  2260. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2261. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2262. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2263. { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring LZO $PACKAGE_VERSION" >&5
  2264. $as_echo "$as_me: Configuring LZO $PACKAGE_VERSION" >&6;}
  2265. ac_aux_dir=
  2266. for ac_dir in autoconf "$srcdir"/autoconf; do
  2267. if test -f "$ac_dir/install-sh"; then
  2268. ac_aux_dir=$ac_dir
  2269. ac_install_sh="$ac_aux_dir/install-sh -c"
  2270. break
  2271. elif test -f "$ac_dir/install.sh"; then
  2272. ac_aux_dir=$ac_dir
  2273. ac_install_sh="$ac_aux_dir/install.sh -c"
  2274. break
  2275. elif test -f "$ac_dir/shtool"; then
  2276. ac_aux_dir=$ac_dir
  2277. ac_install_sh="$ac_aux_dir/shtool install -c"
  2278. break
  2279. fi
  2280. done
  2281. if test -z "$ac_aux_dir"; then
  2282. as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
  2283. fi
  2284. # These three variables are undocumented and unsupported,
  2285. # and are intended to be withdrawn in a future Autoconf release.
  2286. # They can cause serious problems if a builder's source tree is in a directory
  2287. # whose full name contains unusual characters.
  2288. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2289. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2290. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2291. # Enable extensions on systems that normally disable them.
  2292. # Copyright (C) 2003, 2006-2015 Free Software Foundation, Inc.
  2293. # This file is free software; the Free Software Foundation
  2294. # gives unlimited permission to copy and/or distribute it,
  2295. # with or without modifications, as long as this notice is preserved.
  2296. # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git
  2297. # Autoconf. Perhaps we can remove this once we can assume Autoconf
  2298. # 2.70 or later everywhere, but since Autoconf mutates rapidly
  2299. # enough in this area it's likely we'll need to redefine
  2300. # AC_USE_SYSTEM_EXTENSIONS for quite some time.
  2301. # If autoconf reports a warning
  2302. # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
  2303. # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
  2304. # the fix is
  2305. # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
  2306. # but always AC_REQUIREd,
  2307. # 2) to ensure that for each occurrence of
  2308. # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  2309. # or
  2310. # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  2311. # the corresponding gnulib module description has 'extensions' among
  2312. # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS
  2313. # invocation occurs in gl_EARLY, not in gl_INIT.
  2314. # AC_USE_SYSTEM_EXTENSIONS
  2315. # ------------------------
  2316. # Enable extensions on systems that normally disable them,
  2317. # typically due to standards-conformance issues.
  2318. #
  2319. # Remember that #undef in AH_VERBATIM gets replaced with #define by
  2320. # AC_DEFINE. The goal here is to define all known feature-enabling
  2321. # macros, then, if reports of conflicts are made, disable macros that
  2322. # cause problems on some platforms (such as __EXTENSIONS__).
  2323. # AC_USE_SYSTEM_EXTENSIONS
  2324. # gl_USE_SYSTEM_EXTENSIONS
  2325. # ------------------------
  2326. # Enable extensions on systems that normally disable them,
  2327. # typically due to standards-conformance issues.
  2328. #
  2329. # Checks for stat-related time functions.
  2330. # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2015 Free Software
  2331. # Foundation, Inc.
  2332. # This file is free software; the Free Software Foundation
  2333. # gives unlimited permission to copy and/or distribute it,
  2334. # with or without modifications, as long as this notice is preserved.
  2335. # st_atim.tv_nsec - Linux, Solaris, Cygwin
  2336. # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE
  2337. # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE
  2338. # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1)
  2339. # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway)
  2340. # st_birthtim - Cygwin 1.7.0+
  2341. # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.)
  2342. # and NTFS (Cygwin).
  2343. # There was a time when this field was named st_createtime (21 June
  2344. # 2002 to 16 July 2002) But that window is very small and applied only
  2345. # to development code, so systems still using that configuration are
  2346. # not supported. See revisions 1.10 and 1.11 of FreeBSD's
  2347. # src/sys/ufs/ufs/dinode.h.
  2348. #
  2349. # Make sure we can run config.sub.
  2350. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2351. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2352. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2353. $as_echo_n "checking build system type... " >&6; }
  2354. if ${ac_cv_build+:} false; then :
  2355. $as_echo_n "(cached) " >&6
  2356. else
  2357. ac_build_alias=$build_alias
  2358. test "x$ac_build_alias" = x &&
  2359. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2360. test "x$ac_build_alias" = x &&
  2361. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2362. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2363. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2364. fi
  2365. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2366. $as_echo "$ac_cv_build" >&6; }
  2367. case $ac_cv_build in
  2368. *-*-*) ;;
  2369. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2370. esac
  2371. build=$ac_cv_build
  2372. ac_save_IFS=$IFS; IFS='-'
  2373. set x $ac_cv_build
  2374. shift
  2375. build_cpu=$1
  2376. build_vendor=$2
  2377. shift; shift
  2378. # Remember, the first character of IFS is used to create $*,
  2379. # except with old shells:
  2380. build_os=$*
  2381. IFS=$ac_save_IFS
  2382. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2383. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2384. $as_echo_n "checking host system type... " >&6; }
  2385. if ${ac_cv_host+:} false; then :
  2386. $as_echo_n "(cached) " >&6
  2387. else
  2388. if test "x$host_alias" = x; then
  2389. ac_cv_host=$ac_cv_build
  2390. else
  2391. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2392. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2393. fi
  2394. fi
  2395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2396. $as_echo "$ac_cv_host" >&6; }
  2397. case $ac_cv_host in
  2398. *-*-*) ;;
  2399. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2400. esac
  2401. host=$ac_cv_host
  2402. ac_save_IFS=$IFS; IFS='-'
  2403. set x $ac_cv_host
  2404. shift
  2405. host_cpu=$1
  2406. host_vendor=$2
  2407. shift; shift
  2408. # Remember, the first character of IFS is used to create $*,
  2409. # except with old shells:
  2410. host_os=$*
  2411. IFS=$ac_save_IFS
  2412. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2413. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2414. $as_echo_n "checking target system type... " >&6; }
  2415. if ${ac_cv_target+:} false; then :
  2416. $as_echo_n "(cached) " >&6
  2417. else
  2418. if test "x$target_alias" = x; then
  2419. ac_cv_target=$ac_cv_host
  2420. else
  2421. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2422. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2423. fi
  2424. fi
  2425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2426. $as_echo "$ac_cv_target" >&6; }
  2427. case $ac_cv_target in
  2428. *-*-*) ;;
  2429. *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  2430. esac
  2431. target=$ac_cv_target
  2432. ac_save_IFS=$IFS; IFS='-'
  2433. set x $ac_cv_target
  2434. shift
  2435. target_cpu=$1
  2436. target_vendor=$2
  2437. shift; shift
  2438. # Remember, the first character of IFS is used to create $*,
  2439. # except with old shells:
  2440. target_os=$*
  2441. IFS=$ac_save_IFS
  2442. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2443. # The aliases save the names the user supplied, while $host etc.
  2444. # will get canonicalized.
  2445. test -n "$target_alias" &&
  2446. test "$program_prefix$program_suffix$program_transform_name" = \
  2447. NONENONEs,x,x, &&
  2448. program_prefix=${target_alias}-
  2449. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2450. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2451. # Check whether --enable-maintainer-mode was given.
  2452. if test "${enable_maintainer_mode+set}" = set; then :
  2453. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2454. else
  2455. USE_MAINTAINER_MODE=no
  2456. fi
  2457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  2458. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2459. if test $USE_MAINTAINER_MODE = yes; then
  2460. MAINTAINER_MODE_TRUE=
  2461. MAINTAINER_MODE_FALSE='#'
  2462. else
  2463. MAINTAINER_MODE_TRUE='#'
  2464. MAINTAINER_MODE_FALSE=
  2465. fi
  2466. MAINT=$MAINTAINER_MODE_TRUE
  2467. if test -z "$ac_abs_top_srcdir"; then
  2468. ac_builddir=.
  2469. case . in
  2470. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2471. *)
  2472. ac_dir_suffix=/`$as_echo . | sed 's|^\.[\\/]||'`
  2473. # A ".." for each directory in $ac_dir_suffix.
  2474. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2475. case $ac_top_builddir_sub in
  2476. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2477. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2478. esac ;;
  2479. esac
  2480. ac_abs_top_builddir=$ac_pwd
  2481. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2482. # for backward compatibility:
  2483. ac_top_builddir=$ac_top_build_prefix
  2484. case $srcdir in
  2485. .) # We are building in place.
  2486. ac_srcdir=.
  2487. ac_top_srcdir=$ac_top_builddir_sub
  2488. ac_abs_top_srcdir=$ac_pwd ;;
  2489. [\\/]* | ?:[\\/]* ) # Absolute name.
  2490. ac_srcdir=$srcdir$ac_dir_suffix;
  2491. ac_top_srcdir=$srcdir
  2492. ac_abs_top_srcdir=$srcdir ;;
  2493. *) # Relative name.
  2494. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2495. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2496. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2497. esac
  2498. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2499. fi
  2500. if test -z "$ac_abs_top_srcdir"; then
  2501. as_fn_error 1 "internal error: ac_abs_top_srcdir is not set"
  2502. fi
  2503. if test -r .Conf.settings1; then
  2504. . ./.Conf.settings1
  2505. fi
  2506. ac_ext=c
  2507. ac_cpp='$CPP $CPPFLAGS'
  2508. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2509. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2510. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2511. if test -n "$ac_tool_prefix"; then
  2512. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2513. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2514. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2515. $as_echo_n "checking for $ac_word... " >&6; }
  2516. if ${ac_cv_prog_CC+:} false; then :
  2517. $as_echo_n "(cached) " >&6
  2518. else
  2519. if test -n "$CC"; then
  2520. ac_cv_prog_CC="$CC" # Let the user override the test.
  2521. else
  2522. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2523. for as_dir in $PATH
  2524. do
  2525. IFS=$as_save_IFS
  2526. test -z "$as_dir" && as_dir=.
  2527. for ac_exec_ext in '' $ac_executable_extensions; do
  2528. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2529. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2530. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2531. break 2
  2532. fi
  2533. done
  2534. done
  2535. IFS=$as_save_IFS
  2536. fi
  2537. fi
  2538. CC=$ac_cv_prog_CC
  2539. if test -n "$CC"; then
  2540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2541. $as_echo "$CC" >&6; }
  2542. else
  2543. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2544. $as_echo "no" >&6; }
  2545. fi
  2546. fi
  2547. if test -z "$ac_cv_prog_CC"; then
  2548. ac_ct_CC=$CC
  2549. # Extract the first word of "gcc", so it can be a program name with args.
  2550. set dummy gcc; ac_word=$2
  2551. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2552. $as_echo_n "checking for $ac_word... " >&6; }
  2553. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2554. $as_echo_n "(cached) " >&6
  2555. else
  2556. if test -n "$ac_ct_CC"; then
  2557. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2558. else
  2559. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2560. for as_dir in $PATH
  2561. do
  2562. IFS=$as_save_IFS
  2563. test -z "$as_dir" && as_dir=.
  2564. for ac_exec_ext in '' $ac_executable_extensions; do
  2565. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2566. ac_cv_prog_ac_ct_CC="gcc"
  2567. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2568. break 2
  2569. fi
  2570. done
  2571. done
  2572. IFS=$as_save_IFS
  2573. fi
  2574. fi
  2575. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2576. if test -n "$ac_ct_CC"; then
  2577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2578. $as_echo "$ac_ct_CC" >&6; }
  2579. else
  2580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2581. $as_echo "no" >&6; }
  2582. fi
  2583. if test "x$ac_ct_CC" = x; then
  2584. CC=""
  2585. else
  2586. case $cross_compiling:$ac_tool_warned in
  2587. yes:)
  2588. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2589. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2590. ac_tool_warned=yes ;;
  2591. esac
  2592. CC=$ac_ct_CC
  2593. fi
  2594. else
  2595. CC="$ac_cv_prog_CC"
  2596. fi
  2597. if test -z "$CC"; then
  2598. if test -n "$ac_tool_prefix"; then
  2599. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2600. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2601. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2602. $as_echo_n "checking for $ac_word... " >&6; }
  2603. if ${ac_cv_prog_CC+:} false; then :
  2604. $as_echo_n "(cached) " >&6
  2605. else
  2606. if test -n "$CC"; then
  2607. ac_cv_prog_CC="$CC" # Let the user override the test.
  2608. else
  2609. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2610. for as_dir in $PATH
  2611. do
  2612. IFS=$as_save_IFS
  2613. test -z "$as_dir" && as_dir=.
  2614. for ac_exec_ext in '' $ac_executable_extensions; do
  2615. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2616. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2617. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2618. break 2
  2619. fi
  2620. done
  2621. done
  2622. IFS=$as_save_IFS
  2623. fi
  2624. fi
  2625. CC=$ac_cv_prog_CC
  2626. if test -n "$CC"; then
  2627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2628. $as_echo "$CC" >&6; }
  2629. else
  2630. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2631. $as_echo "no" >&6; }
  2632. fi
  2633. fi
  2634. fi
  2635. if test -z "$CC"; then
  2636. # Extract the first word of "cc", so it can be a program name with args.
  2637. set dummy cc; ac_word=$2
  2638. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2639. $as_echo_n "checking for $ac_word... " >&6; }
  2640. if ${ac_cv_prog_CC+:} false; then :
  2641. $as_echo_n "(cached) " >&6
  2642. else
  2643. if test -n "$CC"; then
  2644. ac_cv_prog_CC="$CC" # Let the user override the test.
  2645. else
  2646. ac_prog_rejected=no
  2647. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2648. for as_dir in $PATH
  2649. do
  2650. IFS=$as_save_IFS
  2651. test -z "$as_dir" && as_dir=.
  2652. for ac_exec_ext in '' $ac_executable_extensions; do
  2653. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2654. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2655. ac_prog_rejected=yes
  2656. continue
  2657. fi
  2658. ac_cv_prog_CC="cc"
  2659. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2660. break 2
  2661. fi
  2662. done
  2663. done
  2664. IFS=$as_save_IFS
  2665. if test $ac_prog_rejected = yes; then
  2666. # We found a bogon in the path, so make sure we never use it.
  2667. set dummy $ac_cv_prog_CC
  2668. shift
  2669. if test $# != 0; then
  2670. # We chose a different compiler from the bogus one.
  2671. # However, it has the same basename, so the bogon will be chosen
  2672. # first if we set CC to just the basename; use the full file name.
  2673. shift
  2674. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2675. fi
  2676. fi
  2677. fi
  2678. fi
  2679. CC=$ac_cv_prog_CC
  2680. if test -n "$CC"; then
  2681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2682. $as_echo "$CC" >&6; }
  2683. else
  2684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2685. $as_echo "no" >&6; }
  2686. fi
  2687. fi
  2688. if test -z "$CC"; then
  2689. if test -n "$ac_tool_prefix"; then
  2690. for ac_prog in cl.exe
  2691. do
  2692. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2693. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2695. $as_echo_n "checking for $ac_word... " >&6; }
  2696. if ${ac_cv_prog_CC+:} false; then :
  2697. $as_echo_n "(cached) " >&6
  2698. else
  2699. if test -n "$CC"; then
  2700. ac_cv_prog_CC="$CC" # Let the user override the test.
  2701. else
  2702. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2703. for as_dir in $PATH
  2704. do
  2705. IFS=$as_save_IFS
  2706. test -z "$as_dir" && as_dir=.
  2707. for ac_exec_ext in '' $ac_executable_extensions; do
  2708. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2709. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2710. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2711. break 2
  2712. fi
  2713. done
  2714. done
  2715. IFS=$as_save_IFS
  2716. fi
  2717. fi
  2718. CC=$ac_cv_prog_CC
  2719. if test -n "$CC"; then
  2720. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2721. $as_echo "$CC" >&6; }
  2722. else
  2723. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2724. $as_echo "no" >&6; }
  2725. fi
  2726. test -n "$CC" && break
  2727. done
  2728. fi
  2729. if test -z "$CC"; then
  2730. ac_ct_CC=$CC
  2731. for ac_prog in cl.exe
  2732. do
  2733. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2734. set dummy $ac_prog; ac_word=$2
  2735. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2736. $as_echo_n "checking for $ac_word... " >&6; }
  2737. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2738. $as_echo_n "(cached) " >&6
  2739. else
  2740. if test -n "$ac_ct_CC"; then
  2741. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2742. else
  2743. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2744. for as_dir in $PATH
  2745. do
  2746. IFS=$as_save_IFS
  2747. test -z "$as_dir" && as_dir=.
  2748. for ac_exec_ext in '' $ac_executable_extensions; do
  2749. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2750. ac_cv_prog_ac_ct_CC="$ac_prog"
  2751. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2752. break 2
  2753. fi
  2754. done
  2755. done
  2756. IFS=$as_save_IFS
  2757. fi
  2758. fi
  2759. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2760. if test -n "$ac_ct_CC"; then
  2761. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2762. $as_echo "$ac_ct_CC" >&6; }
  2763. else
  2764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2765. $as_echo "no" >&6; }
  2766. fi
  2767. test -n "$ac_ct_CC" && break
  2768. done
  2769. if test "x$ac_ct_CC" = x; then
  2770. CC=""
  2771. else
  2772. case $cross_compiling:$ac_tool_warned in
  2773. yes:)
  2774. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2775. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2776. ac_tool_warned=yes ;;
  2777. esac
  2778. CC=$ac_ct_CC
  2779. fi
  2780. fi
  2781. fi
  2782. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2783. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2784. as_fn_error $? "no acceptable C compiler found in \$PATH
  2785. See \`config.log' for more details" "$LINENO" 5; }
  2786. # Provide some information about the compiler.
  2787. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2788. set X $ac_compile
  2789. ac_compiler=$2
  2790. for ac_option in --version -v -V -qversion; do
  2791. { { ac_try="$ac_compiler $ac_option >&5"
  2792. case "(($ac_try" in
  2793. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2794. *) ac_try_echo=$ac_try;;
  2795. esac
  2796. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2797. $as_echo "$ac_try_echo"; } >&5
  2798. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2799. ac_status=$?
  2800. if test -s conftest.err; then
  2801. sed '10a\
  2802. ... rest of stderr output deleted ...
  2803. 10q' conftest.err >conftest.er1
  2804. cat conftest.er1 >&5
  2805. fi
  2806. rm -f conftest.er1 conftest.err
  2807. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2808. test $ac_status = 0; }
  2809. done
  2810. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2811. /* end confdefs.h. */
  2812. int
  2813. main ()
  2814. {
  2815. ;
  2816. return 0;
  2817. }
  2818. _ACEOF
  2819. ac_clean_files_save=$ac_clean_files
  2820. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2821. # Try to create an executable without -o first, disregard a.out.
  2822. # It will help us diagnose broken compilers, and finding out an intuition
  2823. # of exeext.
  2824. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2825. $as_echo_n "checking whether the C compiler works... " >&6; }
  2826. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2827. # The possible output files:
  2828. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2829. ac_rmfiles=
  2830. for ac_file in $ac_files
  2831. do
  2832. case $ac_file in
  2833. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2834. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2835. esac
  2836. done
  2837. rm -f $ac_rmfiles
  2838. if { { ac_try="$ac_link_default"
  2839. case "(($ac_try" in
  2840. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2841. *) ac_try_echo=$ac_try;;
  2842. esac
  2843. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2844. $as_echo "$ac_try_echo"; } >&5
  2845. (eval "$ac_link_default") 2>&5
  2846. ac_status=$?
  2847. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2848. test $ac_status = 0; }; then :
  2849. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2850. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2851. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2852. # so that the user can short-circuit this test for compilers unknown to
  2853. # Autoconf.
  2854. for ac_file in $ac_files ''
  2855. do
  2856. test -f "$ac_file" || continue
  2857. case $ac_file in
  2858. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2859. ;;
  2860. [ab].out )
  2861. # We found the default executable, but exeext='' is most
  2862. # certainly right.
  2863. break;;
  2864. *.* )
  2865. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2866. then :; else
  2867. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2868. fi
  2869. # We set ac_cv_exeext here because the later test for it is not
  2870. # safe: cross compilers may not add the suffix if given an `-o'
  2871. # argument, so we may need to know it at that point already.
  2872. # Even if this section looks crufty: it has the advantage of
  2873. # actually working.
  2874. break;;
  2875. * )
  2876. break;;
  2877. esac
  2878. done
  2879. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2880. else
  2881. ac_file=''
  2882. fi
  2883. if test -z "$ac_file"; then :
  2884. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2885. $as_echo "no" >&6; }
  2886. $as_echo "$as_me: failed program was:" >&5
  2887. sed 's/^/| /' conftest.$ac_ext >&5
  2888. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2889. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2890. as_fn_error 77 "C compiler cannot create executables
  2891. See \`config.log' for more details" "$LINENO" 5; }
  2892. else
  2893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2894. $as_echo "yes" >&6; }
  2895. fi
  2896. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2897. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2898. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2899. $as_echo "$ac_file" >&6; }
  2900. ac_exeext=$ac_cv_exeext
  2901. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2902. ac_clean_files=$ac_clean_files_save
  2903. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2904. $as_echo_n "checking for suffix of executables... " >&6; }
  2905. if { { ac_try="$ac_link"
  2906. case "(($ac_try" in
  2907. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2908. *) ac_try_echo=$ac_try;;
  2909. esac
  2910. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2911. $as_echo "$ac_try_echo"; } >&5
  2912. (eval "$ac_link") 2>&5
  2913. ac_status=$?
  2914. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2915. test $ac_status = 0; }; then :
  2916. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2917. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2918. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2919. # `rm'.
  2920. for ac_file in conftest.exe conftest conftest.*; do
  2921. test -f "$ac_file" || continue
  2922. case $ac_file in
  2923. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2924. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2925. break;;
  2926. * ) break;;
  2927. esac
  2928. done
  2929. else
  2930. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2931. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2932. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  2933. See \`config.log' for more details" "$LINENO" 5; }
  2934. fi
  2935. rm -f conftest conftest$ac_cv_exeext
  2936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2937. $as_echo "$ac_cv_exeext" >&6; }
  2938. rm -f conftest.$ac_ext
  2939. EXEEXT=$ac_cv_exeext
  2940. ac_exeext=$EXEEXT
  2941. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2942. /* end confdefs.h. */
  2943. #include <stdio.h>
  2944. int
  2945. main ()
  2946. {
  2947. FILE *f = fopen ("conftest.out", "w");
  2948. return ferror (f) || fclose (f) != 0;
  2949. ;
  2950. return 0;
  2951. }
  2952. _ACEOF
  2953. ac_clean_files="$ac_clean_files conftest.out"
  2954. # Check that the compiler produces executables we can run. If not, either
  2955. # the compiler is broken, or we cross compile.
  2956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2957. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2958. if test "$cross_compiling" != yes; then
  2959. { { ac_try="$ac_link"
  2960. case "(($ac_try" in
  2961. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2962. *) ac_try_echo=$ac_try;;
  2963. esac
  2964. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2965. $as_echo "$ac_try_echo"; } >&5
  2966. (eval "$ac_link") 2>&5
  2967. ac_status=$?
  2968. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2969. test $ac_status = 0; }
  2970. if { ac_try='./conftest$ac_cv_exeext'
  2971. { { case "(($ac_try" in
  2972. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2973. *) ac_try_echo=$ac_try;;
  2974. esac
  2975. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2976. $as_echo "$ac_try_echo"; } >&5
  2977. (eval "$ac_try") 2>&5
  2978. ac_status=$?
  2979. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2980. test $ac_status = 0; }; }; then
  2981. cross_compiling=no
  2982. else
  2983. if test "$cross_compiling" = maybe; then
  2984. cross_compiling=yes
  2985. else
  2986. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2987. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2988. as_fn_error $? "cannot run C compiled programs.
  2989. If you meant to cross compile, use \`--host'.
  2990. See \`config.log' for more details" "$LINENO" 5; }
  2991. fi
  2992. fi
  2993. fi
  2994. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2995. $as_echo "$cross_compiling" >&6; }
  2996. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  2997. ac_clean_files=$ac_clean_files_save
  2998. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2999. $as_echo_n "checking for suffix of object files... " >&6; }
  3000. if ${ac_cv_objext+:} false; then :
  3001. $as_echo_n "(cached) " >&6
  3002. else
  3003. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3004. /* end confdefs.h. */
  3005. int
  3006. main ()
  3007. {
  3008. ;
  3009. return 0;
  3010. }
  3011. _ACEOF
  3012. rm -f conftest.o conftest.obj
  3013. if { { ac_try="$ac_compile"
  3014. case "(($ac_try" in
  3015. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3016. *) ac_try_echo=$ac_try;;
  3017. esac
  3018. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3019. $as_echo "$ac_try_echo"; } >&5
  3020. (eval "$ac_compile") 2>&5
  3021. ac_status=$?
  3022. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3023. test $ac_status = 0; }; then :
  3024. for ac_file in conftest.o conftest.obj conftest.*; do
  3025. test -f "$ac_file" || continue;
  3026. case $ac_file in
  3027. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3028. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3029. break;;
  3030. esac
  3031. done
  3032. else
  3033. $as_echo "$as_me: failed program was:" >&5
  3034. sed 's/^/| /' conftest.$ac_ext >&5
  3035. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3036. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3037. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3038. See \`config.log' for more details" "$LINENO" 5; }
  3039. fi
  3040. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3041. fi
  3042. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3043. $as_echo "$ac_cv_objext" >&6; }
  3044. OBJEXT=$ac_cv_objext
  3045. ac_objext=$OBJEXT
  3046. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3047. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3048. if ${ac_cv_c_compiler_gnu+:} false; then :
  3049. $as_echo_n "(cached) " >&6
  3050. else
  3051. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3052. /* end confdefs.h. */
  3053. int
  3054. main ()
  3055. {
  3056. #ifndef __GNUC__
  3057. choke me
  3058. #endif
  3059. ;
  3060. return 0;
  3061. }
  3062. _ACEOF
  3063. if ac_fn_c_try_compile "$LINENO"; then :
  3064. ac_compiler_gnu=yes
  3065. else
  3066. ac_compiler_gnu=no
  3067. fi
  3068. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3069. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3070. fi
  3071. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3072. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3073. if test $ac_compiler_gnu = yes; then
  3074. GCC=yes
  3075. else
  3076. GCC=
  3077. fi
  3078. ac_test_CFLAGS=${CFLAGS+set}
  3079. ac_save_CFLAGS=$CFLAGS
  3080. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3081. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3082. if ${ac_cv_prog_cc_g+:} false; then :
  3083. $as_echo_n "(cached) " >&6
  3084. else
  3085. ac_save_c_werror_flag=$ac_c_werror_flag
  3086. ac_c_werror_flag=yes
  3087. ac_cv_prog_cc_g=no
  3088. CFLAGS="-g"
  3089. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3090. /* end confdefs.h. */
  3091. int
  3092. main ()
  3093. {
  3094. ;
  3095. return 0;
  3096. }
  3097. _ACEOF
  3098. if ac_fn_c_try_compile "$LINENO"; then :
  3099. ac_cv_prog_cc_g=yes
  3100. else
  3101. CFLAGS=""
  3102. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3103. /* end confdefs.h. */
  3104. int
  3105. main ()
  3106. {
  3107. ;
  3108. return 0;
  3109. }
  3110. _ACEOF
  3111. if ac_fn_c_try_compile "$LINENO"; then :
  3112. else
  3113. ac_c_werror_flag=$ac_save_c_werror_flag
  3114. CFLAGS="-g"
  3115. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3116. /* end confdefs.h. */
  3117. int
  3118. main ()
  3119. {
  3120. ;
  3121. return 0;
  3122. }
  3123. _ACEOF
  3124. if ac_fn_c_try_compile "$LINENO"; then :
  3125. ac_cv_prog_cc_g=yes
  3126. fi
  3127. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3128. fi
  3129. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3130. fi
  3131. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3132. ac_c_werror_flag=$ac_save_c_werror_flag
  3133. fi
  3134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3135. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3136. if test "$ac_test_CFLAGS" = set; then
  3137. CFLAGS=$ac_save_CFLAGS
  3138. elif test $ac_cv_prog_cc_g = yes; then
  3139. if test "$GCC" = yes; then
  3140. CFLAGS="-g -O2"
  3141. else
  3142. CFLAGS="-g"
  3143. fi
  3144. else
  3145. if test "$GCC" = yes; then
  3146. CFLAGS="-O2"
  3147. else
  3148. CFLAGS=
  3149. fi
  3150. fi
  3151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3152. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3153. if ${ac_cv_prog_cc_c89+:} false; then :
  3154. $as_echo_n "(cached) " >&6
  3155. else
  3156. ac_cv_prog_cc_c89=no
  3157. ac_save_CC=$CC
  3158. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3159. /* end confdefs.h. */
  3160. #include <stdarg.h>
  3161. #include <stdio.h>
  3162. struct stat;
  3163. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3164. struct buf { int x; };
  3165. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3166. static char *e (p, i)
  3167. char **p;
  3168. int i;
  3169. {
  3170. return p[i];
  3171. }
  3172. static char *f (char * (*g) (char **, int), char **p, ...)
  3173. {
  3174. char *s;
  3175. va_list v;
  3176. va_start (v,p);
  3177. s = g (p, va_arg (v,int));
  3178. va_end (v);
  3179. return s;
  3180. }
  3181. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3182. function prototypes and stuff, but not '\xHH' hex character constants.
  3183. These don't provoke an error unfortunately, instead are silently treated
  3184. as 'x'. The following induces an error, until -std is added to get
  3185. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3186. array size at least. It's necessary to write '\x00'==0 to get something
  3187. that's true only with -std. */
  3188. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3189. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3190. inside strings and character constants. */
  3191. #define FOO(x) 'x'
  3192. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3193. int test (int i, double x);
  3194. struct s1 {int (*f) (int a);};
  3195. struct s2 {int (*f) (double a);};
  3196. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3197. int argc;
  3198. char **argv;
  3199. int
  3200. main ()
  3201. {
  3202. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3203. ;
  3204. return 0;
  3205. }
  3206. _ACEOF
  3207. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3208. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3209. do
  3210. CC="$ac_save_CC $ac_arg"
  3211. if ac_fn_c_try_compile "$LINENO"; then :
  3212. ac_cv_prog_cc_c89=$ac_arg
  3213. fi
  3214. rm -f core conftest.err conftest.$ac_objext
  3215. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3216. done
  3217. rm -f conftest.$ac_ext
  3218. CC=$ac_save_CC
  3219. fi
  3220. # AC_CACHE_VAL
  3221. case "x$ac_cv_prog_cc_c89" in
  3222. x)
  3223. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3224. $as_echo "none needed" >&6; } ;;
  3225. xno)
  3226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3227. $as_echo "unsupported" >&6; } ;;
  3228. *)
  3229. CC="$CC $ac_cv_prog_cc_c89"
  3230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3231. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3232. esac
  3233. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3234. fi
  3235. ac_ext=c
  3236. ac_cpp='$CPP $CPPFLAGS'
  3237. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3238. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3239. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3240. # Expand $ac_aux_dir to an absolute path.
  3241. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  3242. ac_ext=c
  3243. ac_cpp='$CPP $CPPFLAGS'
  3244. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3245. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3246. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3247. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  3248. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  3249. if ${am_cv_prog_cc_c_o+:} false; then :
  3250. $as_echo_n "(cached) " >&6
  3251. else
  3252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3253. /* end confdefs.h. */
  3254. int
  3255. main ()
  3256. {
  3257. ;
  3258. return 0;
  3259. }
  3260. _ACEOF
  3261. # Make sure it works both with $CC and with simple cc.
  3262. # Following AC_PROG_CC_C_O, we do the test twice because some
  3263. # compilers refuse to overwrite an existing .o file with -o,
  3264. # though they will create one.
  3265. am_cv_prog_cc_c_o=yes
  3266. for am_i in 1 2; do
  3267. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  3268. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  3269. ac_status=$?
  3270. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3271. (exit $ac_status); } \
  3272. && test -f conftest2.$ac_objext; then
  3273. : OK
  3274. else
  3275. am_cv_prog_cc_c_o=no
  3276. break
  3277. fi
  3278. done
  3279. rm -f core conftest*
  3280. unset am_i
  3281. fi
  3282. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  3283. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  3284. if test "$am_cv_prog_cc_c_o" != yes; then
  3285. # Losing compiler, so override with the script.
  3286. # FIXME: It is wrong to rewrite CC.
  3287. # But if we don't then we get into trouble of one sort or another.
  3288. # A longer-term fix would be to have automake use am__CC in this case,
  3289. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  3290. CC="$am_aux_dir/compile $CC"
  3291. fi
  3292. ac_ext=c
  3293. ac_cpp='$CPP $CPPFLAGS'
  3294. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3295. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3296. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3297. if test -n "$ac_tool_prefix"; then
  3298. for ac_prog in ar lib "link -lib"
  3299. do
  3300. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3301. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3303. $as_echo_n "checking for $ac_word... " >&6; }
  3304. if ${ac_cv_prog_AR+:} false; then :
  3305. $as_echo_n "(cached) " >&6
  3306. else
  3307. if test -n "$AR"; then
  3308. ac_cv_prog_AR="$AR" # Let the user override the test.
  3309. else
  3310. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3311. for as_dir in $PATH
  3312. do
  3313. IFS=$as_save_IFS
  3314. test -z "$as_dir" && as_dir=.
  3315. for ac_exec_ext in '' $ac_executable_extensions; do
  3316. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3317. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  3318. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3319. break 2
  3320. fi
  3321. done
  3322. done
  3323. IFS=$as_save_IFS
  3324. fi
  3325. fi
  3326. AR=$ac_cv_prog_AR
  3327. if test -n "$AR"; then
  3328. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  3329. $as_echo "$AR" >&6; }
  3330. else
  3331. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3332. $as_echo "no" >&6; }
  3333. fi
  3334. test -n "$AR" && break
  3335. done
  3336. fi
  3337. if test -z "$AR"; then
  3338. ac_ct_AR=$AR
  3339. for ac_prog in ar lib "link -lib"
  3340. do
  3341. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3342. set dummy $ac_prog; ac_word=$2
  3343. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3344. $as_echo_n "checking for $ac_word... " >&6; }
  3345. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  3346. $as_echo_n "(cached) " >&6
  3347. else
  3348. if test -n "$ac_ct_AR"; then
  3349. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  3350. else
  3351. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3352. for as_dir in $PATH
  3353. do
  3354. IFS=$as_save_IFS
  3355. test -z "$as_dir" && as_dir=.
  3356. for ac_exec_ext in '' $ac_executable_extensions; do
  3357. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3358. ac_cv_prog_ac_ct_AR="$ac_prog"
  3359. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3360. break 2
  3361. fi
  3362. done
  3363. done
  3364. IFS=$as_save_IFS
  3365. fi
  3366. fi
  3367. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  3368. if test -n "$ac_ct_AR"; then
  3369. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  3370. $as_echo "$ac_ct_AR" >&6; }
  3371. else
  3372. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3373. $as_echo "no" >&6; }
  3374. fi
  3375. test -n "$ac_ct_AR" && break
  3376. done
  3377. if test "x$ac_ct_AR" = x; then
  3378. AR="false"
  3379. else
  3380. case $cross_compiling:$ac_tool_warned in
  3381. yes:)
  3382. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3383. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3384. ac_tool_warned=yes ;;
  3385. esac
  3386. AR=$ac_ct_AR
  3387. fi
  3388. fi
  3389. : ${AR=ar}
  3390. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
  3391. $as_echo_n "checking the archiver ($AR) interface... " >&6; }
  3392. if ${am_cv_ar_interface+:} false; then :
  3393. $as_echo_n "(cached) " >&6
  3394. else
  3395. ac_ext=c
  3396. ac_cpp='$CPP $CPPFLAGS'
  3397. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3398. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3399. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3400. am_cv_ar_interface=ar
  3401. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3402. /* end confdefs.h. */
  3403. int some_variable = 0;
  3404. _ACEOF
  3405. if ac_fn_c_try_compile "$LINENO"; then :
  3406. am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
  3407. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  3408. (eval $am_ar_try) 2>&5
  3409. ac_status=$?
  3410. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3411. test $ac_status = 0; }
  3412. if test "$ac_status" -eq 0; then
  3413. am_cv_ar_interface=ar
  3414. else
  3415. am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
  3416. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  3417. (eval $am_ar_try) 2>&5
  3418. ac_status=$?
  3419. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3420. test $ac_status = 0; }
  3421. if test "$ac_status" -eq 0; then
  3422. am_cv_ar_interface=lib
  3423. else
  3424. am_cv_ar_interface=unknown
  3425. fi
  3426. fi
  3427. rm -f conftest.lib libconftest.a
  3428. fi
  3429. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3430. ac_ext=c
  3431. ac_cpp='$CPP $CPPFLAGS'
  3432. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3433. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3434. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3435. fi
  3436. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
  3437. $as_echo "$am_cv_ar_interface" >&6; }
  3438. case $am_cv_ar_interface in
  3439. ar)
  3440. ;;
  3441. lib)
  3442. # Microsoft lib, so override with the ar-lib wrapper script.
  3443. # FIXME: It is wrong to rewrite AR.
  3444. # But if we don't then we get into trouble of one sort or another.
  3445. # A longer-term fix would be to have automake use am__AR in this case,
  3446. # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
  3447. # similar.
  3448. AR="$am_aux_dir/ar-lib $AR"
  3449. ;;
  3450. unknown)
  3451. as_fn_error $? "could not determine $AR interface" "$LINENO" 5
  3452. ;;
  3453. esac
  3454. rm -rf .tst 2>/dev/null
  3455. mkdir .tst 2>/dev/null
  3456. if test -d .tst; then
  3457. am__leading_dot=.
  3458. else
  3459. am__leading_dot=_
  3460. fi
  3461. rmdir .tst 2>/dev/null
  3462. DEPDIR="${am__leading_dot}deps"
  3463. ac_config_commands="$ac_config_commands depfiles"
  3464. am_make=${MAKE-make}
  3465. cat > confinc << 'END'
  3466. am__doit:
  3467. @echo this is the am__doit target
  3468. .PHONY: am__doit
  3469. END
  3470. # If we don't find an include directive, just comment out the code.
  3471. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3472. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3473. am__include="#"
  3474. am__quote=
  3475. _am_result=none
  3476. # First try GNU make style include.
  3477. echo "include confinc" > confmf
  3478. # Ignore all kinds of additional output from 'make'.
  3479. case `$am_make -s -f confmf 2> /dev/null` in #(
  3480. *the\ am__doit\ target*)
  3481. am__include=include
  3482. am__quote=
  3483. _am_result=GNU
  3484. ;;
  3485. esac
  3486. # Now try BSD make style include.
  3487. if test "$am__include" = "#"; then
  3488. echo '.include "confinc"' > confmf
  3489. case `$am_make -s -f confmf 2> /dev/null` in #(
  3490. *the\ am__doit\ target*)
  3491. am__include=.include
  3492. am__quote="\""
  3493. _am_result=BSD
  3494. ;;
  3495. esac
  3496. fi
  3497. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3498. $as_echo "$_am_result" >&6; }
  3499. rm -f confinc confmf
  3500. # Check whether --enable-dependency-tracking was given.
  3501. if test "${enable_dependency_tracking+set}" = set; then :
  3502. enableval=$enable_dependency_tracking;
  3503. fi
  3504. if test "x$enable_dependency_tracking" != xno; then
  3505. am_depcomp="$ac_aux_dir/depcomp"
  3506. AMDEPBACKSLASH='\'
  3507. am__nodep='_no'
  3508. fi
  3509. if test "x$enable_dependency_tracking" != xno; then
  3510. AMDEP_TRUE=
  3511. AMDEP_FALSE='#'
  3512. else
  3513. AMDEP_TRUE='#'
  3514. AMDEP_FALSE=
  3515. fi
  3516. # By default we simply use the C compiler to build assembly code.
  3517. test "${CCAS+set}" = set || CCAS=$CC
  3518. test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  3519. depcc="$CCAS" am_compiler_list=
  3520. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3521. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3522. if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
  3523. $as_echo_n "(cached) " >&6
  3524. else
  3525. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3526. # We make a subdir and do the tests there. Otherwise we can end up
  3527. # making bogus files that we don't know about and never remove. For
  3528. # instance it was reported that on HP-UX the gcc test will end up
  3529. # making a dummy file named 'D' -- because '-MD' means "put the output
  3530. # in D".
  3531. rm -rf conftest.dir
  3532. mkdir conftest.dir
  3533. # Copy depcomp to subdir because otherwise we won't find it if we're
  3534. # using a relative directory.
  3535. cp "$am_depcomp" conftest.dir
  3536. cd conftest.dir
  3537. # We will build objects and dependencies in a subdirectory because
  3538. # it helps to detect inapplicable dependency modes. For instance
  3539. # both Tru64's cc and ICC support -MD to output dependencies as a
  3540. # side effect of compilation, but ICC will put the dependencies in
  3541. # the current directory while Tru64 will put them in the object
  3542. # directory.
  3543. mkdir sub
  3544. am_cv_CCAS_dependencies_compiler_type=none
  3545. if test "$am_compiler_list" = ""; then
  3546. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3547. fi
  3548. am__universal=false
  3549. for depmode in $am_compiler_list; do
  3550. # Setup a source with many dependencies, because some compilers
  3551. # like to wrap large dependency lists on column 80 (with \), and
  3552. # we should not choose a depcomp mode which is confused by this.
  3553. #
  3554. # We need to recreate these files for each test, as the compiler may
  3555. # overwrite some of them when testing with obscure command lines.
  3556. # This happens at least with the AIX C compiler.
  3557. : > sub/conftest.c
  3558. for i in 1 2 3 4 5 6; do
  3559. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3560. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3561. # Solaris 10 /bin/sh.
  3562. echo '/* dummy */' > sub/conftst$i.h
  3563. done
  3564. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3565. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3566. # mode. It turns out that the SunPro C++ compiler does not properly
  3567. # handle '-M -o', and we need to detect this. Also, some Intel
  3568. # versions had trouble with output in subdirs.
  3569. am__obj=sub/conftest.${OBJEXT-o}
  3570. am__minus_obj="-o $am__obj"
  3571. case $depmode in
  3572. gcc)
  3573. # This depmode causes a compiler race in universal mode.
  3574. test "$am__universal" = false || continue
  3575. ;;
  3576. nosideeffect)
  3577. # After this tag, mechanisms are not by side-effect, so they'll
  3578. # only be used when explicitly requested.
  3579. if test "x$enable_dependency_tracking" = xyes; then
  3580. continue
  3581. else
  3582. break
  3583. fi
  3584. ;;
  3585. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3586. # This compiler won't grok '-c -o', but also, the minuso test has
  3587. # not run yet. These depmodes are late enough in the game, and
  3588. # so weak that their functioning should not be impacted.
  3589. am__obj=conftest.${OBJEXT-o}
  3590. am__minus_obj=
  3591. ;;
  3592. none) break ;;
  3593. esac
  3594. if depmode=$depmode \
  3595. source=sub/conftest.c object=$am__obj \
  3596. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3597. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3598. >/dev/null 2>conftest.err &&
  3599. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3600. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3601. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3602. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3603. # icc doesn't choke on unknown options, it will just issue warnings
  3604. # or remarks (even with -Werror). So we grep stderr for any message
  3605. # that says an option was ignored or not supported.
  3606. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3607. # icc: Command line warning: ignoring option '-M'; no argument required
  3608. # The diagnosis changed in icc 8.0:
  3609. # icc: Command line remark: option '-MP' not supported
  3610. if (grep 'ignoring option' conftest.err ||
  3611. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3612. am_cv_CCAS_dependencies_compiler_type=$depmode
  3613. break
  3614. fi
  3615. fi
  3616. done
  3617. cd ..
  3618. rm -rf conftest.dir
  3619. else
  3620. am_cv_CCAS_dependencies_compiler_type=none
  3621. fi
  3622. fi
  3623. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
  3624. $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
  3625. CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
  3626. if
  3627. test "x$enable_dependency_tracking" != xno \
  3628. && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
  3629. am__fastdepCCAS_TRUE=
  3630. am__fastdepCCAS_FALSE='#'
  3631. else
  3632. am__fastdepCCAS_TRUE='#'
  3633. am__fastdepCCAS_FALSE=
  3634. fi
  3635. ac_ext=c
  3636. ac_cpp='$CPP $CPPFLAGS'
  3637. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3638. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3639. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3640. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3641. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3642. # On Suns, sometimes $CPP names a directory.
  3643. if test -n "$CPP" && test -d "$CPP"; then
  3644. CPP=
  3645. fi
  3646. if test -z "$CPP"; then
  3647. if ${ac_cv_prog_CPP+:} false; then :
  3648. $as_echo_n "(cached) " >&6
  3649. else
  3650. # Double quotes because CPP needs to be expanded
  3651. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3652. do
  3653. ac_preproc_ok=false
  3654. for ac_c_preproc_warn_flag in '' yes
  3655. do
  3656. # Use a header file that comes with gcc, so configuring glibc
  3657. # with a fresh cross-compiler works.
  3658. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3659. # <limits.h> exists even on freestanding compilers.
  3660. # On the NeXT, cc -E runs the code through the compiler's parser,
  3661. # not just through cpp. "Syntax error" is here to catch this case.
  3662. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3663. /* end confdefs.h. */
  3664. #ifdef __STDC__
  3665. # include <limits.h>
  3666. #else
  3667. # include <assert.h>
  3668. #endif
  3669. Syntax error
  3670. _ACEOF
  3671. if ac_fn_c_try_cpp "$LINENO"; then :
  3672. else
  3673. # Broken: fails on valid input.
  3674. continue
  3675. fi
  3676. rm -f conftest.err conftest.i conftest.$ac_ext
  3677. # OK, works on sane cases. Now check whether nonexistent headers
  3678. # can be detected and how.
  3679. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3680. /* end confdefs.h. */
  3681. #include <ac_nonexistent.h>
  3682. _ACEOF
  3683. if ac_fn_c_try_cpp "$LINENO"; then :
  3684. # Broken: success on invalid input.
  3685. continue
  3686. else
  3687. # Passes both tests.
  3688. ac_preproc_ok=:
  3689. break
  3690. fi
  3691. rm -f conftest.err conftest.i conftest.$ac_ext
  3692. done
  3693. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3694. rm -f conftest.i conftest.err conftest.$ac_ext
  3695. if $ac_preproc_ok; then :
  3696. break
  3697. fi
  3698. done
  3699. ac_cv_prog_CPP=$CPP
  3700. fi
  3701. CPP=$ac_cv_prog_CPP
  3702. else
  3703. ac_cv_prog_CPP=$CPP
  3704. fi
  3705. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3706. $as_echo "$CPP" >&6; }
  3707. ac_preproc_ok=false
  3708. for ac_c_preproc_warn_flag in '' yes
  3709. do
  3710. # Use a header file that comes with gcc, so configuring glibc
  3711. # with a fresh cross-compiler works.
  3712. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3713. # <limits.h> exists even on freestanding compilers.
  3714. # On the NeXT, cc -E runs the code through the compiler's parser,
  3715. # not just through cpp. "Syntax error" is here to catch this case.
  3716. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3717. /* end confdefs.h. */
  3718. #ifdef __STDC__
  3719. # include <limits.h>
  3720. #else
  3721. # include <assert.h>
  3722. #endif
  3723. Syntax error
  3724. _ACEOF
  3725. if ac_fn_c_try_cpp "$LINENO"; then :
  3726. else
  3727. # Broken: fails on valid input.
  3728. continue
  3729. fi
  3730. rm -f conftest.err conftest.i conftest.$ac_ext
  3731. # OK, works on sane cases. Now check whether nonexistent headers
  3732. # can be detected and how.
  3733. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3734. /* end confdefs.h. */
  3735. #include <ac_nonexistent.h>
  3736. _ACEOF
  3737. if ac_fn_c_try_cpp "$LINENO"; then :
  3738. # Broken: success on invalid input.
  3739. continue
  3740. else
  3741. # Passes both tests.
  3742. ac_preproc_ok=:
  3743. break
  3744. fi
  3745. rm -f conftest.err conftest.i conftest.$ac_ext
  3746. done
  3747. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3748. rm -f conftest.i conftest.err conftest.$ac_ext
  3749. if $ac_preproc_ok; then :
  3750. else
  3751. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3752. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3753. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  3754. See \`config.log' for more details" "$LINENO" 5; }
  3755. fi
  3756. ac_ext=c
  3757. ac_cpp='$CPP $CPPFLAGS'
  3758. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3759. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3760. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3761. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C preprocessor needs special flags" >&5
  3762. $as_echo_n "checking whether the C preprocessor needs special flags... " >&6; }
  3763. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3764. /* end confdefs.h. */
  3765. #include <limits.h>
  3766. #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
  3767. # include "your C preprocessor is broken 1"
  3768. #elif (0xffffu == 0xfffffffful)
  3769. # include "your C preprocessor is broken 2"
  3770. #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
  3771. # include "your C preprocessor is broken 3"
  3772. #endif
  3773. int
  3774. main ()
  3775. {
  3776. ;
  3777. return 0;
  3778. }
  3779. _ACEOF
  3780. mfx_save_CPPFLAGS=$CPPFLAGS
  3781. mfx_tmp=ERROR
  3782. for mfx_arg in "" -no-cpp-precomp
  3783. do
  3784. CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS"
  3785. if ac_fn_c_try_compile "$LINENO"; then :
  3786. mfx_tmp=$mfx_arg
  3787. break
  3788. fi
  3789. rm -f core conftest.err conftest.$ac_objext
  3790. done
  3791. CPPFLAGS=$mfx_save_CPPFLAGS
  3792. rm -f conftest.$ac_ext conftest.$ac_objext
  3793. case x$mfx_tmp in
  3794. x)
  3795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3796. $as_echo "none needed" >&6; } ;;
  3797. xERROR)
  3798. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5
  3799. $as_echo "ERROR" >&6; }
  3800. as_fn_error $? "your C preprocessor is broken - for details see config.log" "$LINENO" 5
  3801. ;;
  3802. *)
  3803. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
  3804. $as_echo "$mfx_tmp" >&6; }
  3805. CPPFLAGS="$mfx_tmp $CPPFLAGS"
  3806. ;;
  3807. esac
  3808. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  3809. $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  3810. if ${ac_cv_c_const+:} false; then :
  3811. $as_echo_n "(cached) " >&6
  3812. else
  3813. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3814. /* end confdefs.h. */
  3815. int
  3816. main ()
  3817. {
  3818. #ifndef __cplusplus
  3819. /* Ultrix mips cc rejects this sort of thing. */
  3820. typedef int charset[2];
  3821. const charset cs = { 0, 0 };
  3822. /* SunOS 4.1.1 cc rejects this. */
  3823. char const *const *pcpcc;
  3824. char **ppc;
  3825. /* NEC SVR4.0.2 mips cc rejects this. */
  3826. struct point {int x, y;};
  3827. static struct point const zero = {0,0};
  3828. /* AIX XL C 1.02.0.0 rejects this.
  3829. It does not let you subtract one const X* pointer from another in
  3830. an arm of an if-expression whose if-part is not a constant
  3831. expression */
  3832. const char *g = "string";
  3833. pcpcc = &g + (g ? g-g : 0);
  3834. /* HPUX 7.0 cc rejects these. */
  3835. ++pcpcc;
  3836. ppc = (char**) pcpcc;
  3837. pcpcc = (char const *const *) ppc;
  3838. { /* SCO 3.2v4 cc rejects this sort of thing. */
  3839. char tx;
  3840. char *t = &tx;
  3841. char const *s = 0 ? (char *) 0 : (char const *) 0;
  3842. *t++ = 0;
  3843. if (s) return 0;
  3844. }
  3845. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  3846. int x[] = {25, 17};
  3847. const int *foo = &x[0];
  3848. ++foo;
  3849. }
  3850. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  3851. typedef const int *iptr;
  3852. iptr p = 0;
  3853. ++p;
  3854. }
  3855. { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  3856. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  3857. struct s { int j; const int *ap[3]; } bx;
  3858. struct s *b = &bx; b->j = 5;
  3859. }
  3860. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  3861. const int foo = 10;
  3862. if (!foo) return 0;
  3863. }
  3864. return !cs[0] && !zero.x;
  3865. #endif
  3866. ;
  3867. return 0;
  3868. }
  3869. _ACEOF
  3870. if ac_fn_c_try_compile "$LINENO"; then :
  3871. ac_cv_c_const=yes
  3872. else
  3873. ac_cv_c_const=no
  3874. fi
  3875. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3876. fi
  3877. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  3878. $as_echo "$ac_cv_c_const" >&6; }
  3879. if test $ac_cv_c_const = no; then
  3880. $as_echo "#define const /**/" >>confdefs.h
  3881. fi
  3882. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3883. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3884. if ${ac_cv_path_GREP+:} false; then :
  3885. $as_echo_n "(cached) " >&6
  3886. else
  3887. if test -z "$GREP"; then
  3888. ac_path_GREP_found=false
  3889. # Loop through the user's path and test for each of PROGNAME-LIST
  3890. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3891. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3892. do
  3893. IFS=$as_save_IFS
  3894. test -z "$as_dir" && as_dir=.
  3895. for ac_prog in grep ggrep; do
  3896. for ac_exec_ext in '' $ac_executable_extensions; do
  3897. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3898. as_fn_executable_p "$ac_path_GREP" || continue
  3899. # Check for GNU ac_path_GREP and select it if it is found.
  3900. # Check for GNU $ac_path_GREP
  3901. case `"$ac_path_GREP" --version 2>&1` in
  3902. *GNU*)
  3903. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3904. *)
  3905. ac_count=0
  3906. $as_echo_n 0123456789 >"conftest.in"
  3907. while :
  3908. do
  3909. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3910. mv "conftest.tmp" "conftest.in"
  3911. cp "conftest.in" "conftest.nl"
  3912. $as_echo 'GREP' >> "conftest.nl"
  3913. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3914. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3915. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3916. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3917. # Best one so far, save it but keep looking for a better one
  3918. ac_cv_path_GREP="$ac_path_GREP"
  3919. ac_path_GREP_max=$ac_count
  3920. fi
  3921. # 10*(2^10) chars as input seems more than enough
  3922. test $ac_count -gt 10 && break
  3923. done
  3924. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3925. esac
  3926. $ac_path_GREP_found && break 3
  3927. done
  3928. done
  3929. done
  3930. IFS=$as_save_IFS
  3931. if test -z "$ac_cv_path_GREP"; then
  3932. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3933. fi
  3934. else
  3935. ac_cv_path_GREP=$GREP
  3936. fi
  3937. fi
  3938. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3939. $as_echo "$ac_cv_path_GREP" >&6; }
  3940. GREP="$ac_cv_path_GREP"
  3941. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3942. $as_echo_n "checking for egrep... " >&6; }
  3943. if ${ac_cv_path_EGREP+:} false; then :
  3944. $as_echo_n "(cached) " >&6
  3945. else
  3946. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3947. then ac_cv_path_EGREP="$GREP -E"
  3948. else
  3949. if test -z "$EGREP"; then
  3950. ac_path_EGREP_found=false
  3951. # Loop through the user's path and test for each of PROGNAME-LIST
  3952. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3953. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3954. do
  3955. IFS=$as_save_IFS
  3956. test -z "$as_dir" && as_dir=.
  3957. for ac_prog in egrep; do
  3958. for ac_exec_ext in '' $ac_executable_extensions; do
  3959. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3960. as_fn_executable_p "$ac_path_EGREP" || continue
  3961. # Check for GNU ac_path_EGREP and select it if it is found.
  3962. # Check for GNU $ac_path_EGREP
  3963. case `"$ac_path_EGREP" --version 2>&1` in
  3964. *GNU*)
  3965. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3966. *)
  3967. ac_count=0
  3968. $as_echo_n 0123456789 >"conftest.in"
  3969. while :
  3970. do
  3971. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3972. mv "conftest.tmp" "conftest.in"
  3973. cp "conftest.in" "conftest.nl"
  3974. $as_echo 'EGREP' >> "conftest.nl"
  3975. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3976. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3977. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3978. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3979. # Best one so far, save it but keep looking for a better one
  3980. ac_cv_path_EGREP="$ac_path_EGREP"
  3981. ac_path_EGREP_max=$ac_count
  3982. fi
  3983. # 10*(2^10) chars as input seems more than enough
  3984. test $ac_count -gt 10 && break
  3985. done
  3986. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3987. esac
  3988. $ac_path_EGREP_found && break 3
  3989. done
  3990. done
  3991. done
  3992. IFS=$as_save_IFS
  3993. if test -z "$ac_cv_path_EGREP"; then
  3994. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3995. fi
  3996. else
  3997. ac_cv_path_EGREP=$EGREP
  3998. fi
  3999. fi
  4000. fi
  4001. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4002. $as_echo "$ac_cv_path_EGREP" >&6; }
  4003. EGREP="$ac_cv_path_EGREP"
  4004. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4005. $as_echo_n "checking for ANSI C header files... " >&6; }
  4006. if ${ac_cv_header_stdc+:} false; then :
  4007. $as_echo_n "(cached) " >&6
  4008. else
  4009. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4010. /* end confdefs.h. */
  4011. #include <stdlib.h>
  4012. #include <stdarg.h>
  4013. #include <string.h>
  4014. #include <float.h>
  4015. int
  4016. main ()
  4017. {
  4018. ;
  4019. return 0;
  4020. }
  4021. _ACEOF
  4022. if ac_fn_c_try_compile "$LINENO"; then :
  4023. ac_cv_header_stdc=yes
  4024. else
  4025. ac_cv_header_stdc=no
  4026. fi
  4027. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4028. if test $ac_cv_header_stdc = yes; then
  4029. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4030. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4031. /* end confdefs.h. */
  4032. #include <string.h>
  4033. _ACEOF
  4034. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4035. $EGREP "memchr" >/dev/null 2>&1; then :
  4036. else
  4037. ac_cv_header_stdc=no
  4038. fi
  4039. rm -f conftest*
  4040. fi
  4041. if test $ac_cv_header_stdc = yes; then
  4042. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4043. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4044. /* end confdefs.h. */
  4045. #include <stdlib.h>
  4046. _ACEOF
  4047. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4048. $EGREP "free" >/dev/null 2>&1; then :
  4049. else
  4050. ac_cv_header_stdc=no
  4051. fi
  4052. rm -f conftest*
  4053. fi
  4054. if test $ac_cv_header_stdc = yes; then
  4055. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4056. if test "$cross_compiling" = yes; then :
  4057. :
  4058. else
  4059. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4060. /* end confdefs.h. */
  4061. #include <ctype.h>
  4062. #include <stdlib.h>
  4063. #if ((' ' & 0x0FF) == 0x020)
  4064. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4065. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4066. #else
  4067. # define ISLOWER(c) \
  4068. (('a' <= (c) && (c) <= 'i') \
  4069. || ('j' <= (c) && (c) <= 'r') \
  4070. || ('s' <= (c) && (c) <= 'z'))
  4071. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4072. #endif
  4073. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4074. int
  4075. main ()
  4076. {
  4077. int i;
  4078. for (i = 0; i < 256; i++)
  4079. if (XOR (islower (i), ISLOWER (i))
  4080. || toupper (i) != TOUPPER (i))
  4081. return 2;
  4082. return 0;
  4083. }
  4084. _ACEOF
  4085. if ac_fn_c_try_run "$LINENO"; then :
  4086. else
  4087. ac_cv_header_stdc=no
  4088. fi
  4089. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4090. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4091. fi
  4092. fi
  4093. fi
  4094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4095. $as_echo "$ac_cv_header_stdc" >&6; }
  4096. if test $ac_cv_header_stdc = yes; then
  4097. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4098. fi
  4099. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4100. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4101. inttypes.h stdint.h unistd.h
  4102. do :
  4103. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4104. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4105. "
  4106. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4107. cat >>confdefs.h <<_ACEOF
  4108. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4109. _ACEOF
  4110. fi
  4111. done
  4112. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  4113. $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  4114. if ${ac_cv_c_bigendian+:} false; then :
  4115. $as_echo_n "(cached) " >&6
  4116. else
  4117. ac_cv_c_bigendian=unknown
  4118. # See if we're dealing with a universal compiler.
  4119. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4120. /* end confdefs.h. */
  4121. #ifndef __APPLE_CC__
  4122. not a universal capable compiler
  4123. #endif
  4124. typedef int dummy;
  4125. _ACEOF
  4126. if ac_fn_c_try_compile "$LINENO"; then :
  4127. # Check for potential -arch flags. It is not universal unless
  4128. # there are at least two -arch flags with different values.
  4129. ac_arch=
  4130. ac_prev=
  4131. for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  4132. if test -n "$ac_prev"; then
  4133. case $ac_word in
  4134. i?86 | x86_64 | ppc | ppc64)
  4135. if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  4136. ac_arch=$ac_word
  4137. else
  4138. ac_cv_c_bigendian=universal
  4139. break
  4140. fi
  4141. ;;
  4142. esac
  4143. ac_prev=
  4144. elif test "x$ac_word" = "x-arch"; then
  4145. ac_prev=arch
  4146. fi
  4147. done
  4148. fi
  4149. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4150. if test $ac_cv_c_bigendian = unknown; then
  4151. # See if sys/param.h defines the BYTE_ORDER macro.
  4152. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4153. /* end confdefs.h. */
  4154. #include <sys/types.h>
  4155. #include <sys/param.h>
  4156. int
  4157. main ()
  4158. {
  4159. #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  4160. && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  4161. && LITTLE_ENDIAN)
  4162. bogus endian macros
  4163. #endif
  4164. ;
  4165. return 0;
  4166. }
  4167. _ACEOF
  4168. if ac_fn_c_try_compile "$LINENO"; then :
  4169. # It does; now see whether it defined to BIG_ENDIAN or not.
  4170. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4171. /* end confdefs.h. */
  4172. #include <sys/types.h>
  4173. #include <sys/param.h>
  4174. int
  4175. main ()
  4176. {
  4177. #if BYTE_ORDER != BIG_ENDIAN
  4178. not big endian
  4179. #endif
  4180. ;
  4181. return 0;
  4182. }
  4183. _ACEOF
  4184. if ac_fn_c_try_compile "$LINENO"; then :
  4185. ac_cv_c_bigendian=yes
  4186. else
  4187. ac_cv_c_bigendian=no
  4188. fi
  4189. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4190. fi
  4191. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4192. fi
  4193. if test $ac_cv_c_bigendian = unknown; then
  4194. # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  4195. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4196. /* end confdefs.h. */
  4197. #include <limits.h>
  4198. int
  4199. main ()
  4200. {
  4201. #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  4202. bogus endian macros
  4203. #endif
  4204. ;
  4205. return 0;
  4206. }
  4207. _ACEOF
  4208. if ac_fn_c_try_compile "$LINENO"; then :
  4209. # It does; now see whether it defined to _BIG_ENDIAN or not.
  4210. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4211. /* end confdefs.h. */
  4212. #include <limits.h>
  4213. int
  4214. main ()
  4215. {
  4216. #ifndef _BIG_ENDIAN
  4217. not big endian
  4218. #endif
  4219. ;
  4220. return 0;
  4221. }
  4222. _ACEOF
  4223. if ac_fn_c_try_compile "$LINENO"; then :
  4224. ac_cv_c_bigendian=yes
  4225. else
  4226. ac_cv_c_bigendian=no
  4227. fi
  4228. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4229. fi
  4230. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4231. fi
  4232. if test $ac_cv_c_bigendian = unknown; then
  4233. # Compile a test program.
  4234. if test "$cross_compiling" = yes; then :
  4235. # Try to guess by grepping values from an object file.
  4236. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4237. /* end confdefs.h. */
  4238. short int ascii_mm[] =
  4239. { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  4240. short int ascii_ii[] =
  4241. { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  4242. int use_ascii (int i) {
  4243. return ascii_mm[i] + ascii_ii[i];
  4244. }
  4245. short int ebcdic_ii[] =
  4246. { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  4247. short int ebcdic_mm[] =
  4248. { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  4249. int use_ebcdic (int i) {
  4250. return ebcdic_mm[i] + ebcdic_ii[i];
  4251. }
  4252. extern int foo;
  4253. int
  4254. main ()
  4255. {
  4256. return use_ascii (foo) == use_ebcdic (foo);
  4257. ;
  4258. return 0;
  4259. }
  4260. _ACEOF
  4261. if ac_fn_c_try_compile "$LINENO"; then :
  4262. if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  4263. ac_cv_c_bigendian=yes
  4264. fi
  4265. if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  4266. if test "$ac_cv_c_bigendian" = unknown; then
  4267. ac_cv_c_bigendian=no
  4268. else
  4269. # finding both strings is unlikely to happen, but who knows?
  4270. ac_cv_c_bigendian=unknown
  4271. fi
  4272. fi
  4273. fi
  4274. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4275. else
  4276. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4277. /* end confdefs.h. */
  4278. $ac_includes_default
  4279. int
  4280. main ()
  4281. {
  4282. /* Are we little or big endian? From Harbison&Steele. */
  4283. union
  4284. {
  4285. long int l;
  4286. char c[sizeof (long int)];
  4287. } u;
  4288. u.l = 1;
  4289. return u.c[sizeof (long int) - 1] == 1;
  4290. ;
  4291. return 0;
  4292. }
  4293. _ACEOF
  4294. if ac_fn_c_try_run "$LINENO"; then :
  4295. ac_cv_c_bigendian=no
  4296. else
  4297. ac_cv_c_bigendian=yes
  4298. fi
  4299. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4300. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4301. fi
  4302. fi
  4303. fi
  4304. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  4305. $as_echo "$ac_cv_c_bigendian" >&6; }
  4306. case $ac_cv_c_bigendian in #(
  4307. yes)
  4308. $as_echo "#define LZO_ABI_BIG_ENDIAN 1" >>confdefs.h
  4309. ;; #(
  4310. no)
  4311. $as_echo "#define LZO_ABI_LITTLE_ENDIAN 1" >>confdefs.h
  4312. ;; #(
  4313. universal)
  4314. $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  4315. ;; #(
  4316. *)
  4317. as_fn_error $? "unknown endianness
  4318. presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  4319. esac
  4320. # Check whether --enable-largefile was given.
  4321. if test "${enable_largefile+set}" = set; then :
  4322. enableval=$enable_largefile;
  4323. fi
  4324. if test "$enable_largefile" != no; then
  4325. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  4326. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  4327. if ${ac_cv_sys_largefile_CC+:} false; then :
  4328. $as_echo_n "(cached) " >&6
  4329. else
  4330. ac_cv_sys_largefile_CC=no
  4331. if test "$GCC" != yes; then
  4332. ac_save_CC=$CC
  4333. while :; do
  4334. # IRIX 6.2 and later do not support large files by default,
  4335. # so use the C compiler's -n32 option if that helps.
  4336. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4337. /* end confdefs.h. */
  4338. #include <sys/types.h>
  4339. /* Check that off_t can represent 2**63 - 1 correctly.
  4340. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4341. since some C++ compilers masquerading as C compilers
  4342. incorrectly reject 9223372036854775807. */
  4343. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4344. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4345. && LARGE_OFF_T % 2147483647 == 1)
  4346. ? 1 : -1];
  4347. int
  4348. main ()
  4349. {
  4350. ;
  4351. return 0;
  4352. }
  4353. _ACEOF
  4354. if ac_fn_c_try_compile "$LINENO"; then :
  4355. break
  4356. fi
  4357. rm -f core conftest.err conftest.$ac_objext
  4358. CC="$CC -n32"
  4359. if ac_fn_c_try_compile "$LINENO"; then :
  4360. ac_cv_sys_largefile_CC=' -n32'; break
  4361. fi
  4362. rm -f core conftest.err conftest.$ac_objext
  4363. break
  4364. done
  4365. CC=$ac_save_CC
  4366. rm -f conftest.$ac_ext
  4367. fi
  4368. fi
  4369. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  4370. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  4371. if test "$ac_cv_sys_largefile_CC" != no; then
  4372. CC=$CC$ac_cv_sys_largefile_CC
  4373. fi
  4374. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  4375. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  4376. if ${ac_cv_sys_file_offset_bits+:} false; then :
  4377. $as_echo_n "(cached) " >&6
  4378. else
  4379. while :; do
  4380. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4381. /* end confdefs.h. */
  4382. #include <sys/types.h>
  4383. /* Check that off_t can represent 2**63 - 1 correctly.
  4384. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4385. since some C++ compilers masquerading as C compilers
  4386. incorrectly reject 9223372036854775807. */
  4387. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4388. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4389. && LARGE_OFF_T % 2147483647 == 1)
  4390. ? 1 : -1];
  4391. int
  4392. main ()
  4393. {
  4394. ;
  4395. return 0;
  4396. }
  4397. _ACEOF
  4398. if ac_fn_c_try_compile "$LINENO"; then :
  4399. ac_cv_sys_file_offset_bits=no; break
  4400. fi
  4401. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4402. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4403. /* end confdefs.h. */
  4404. #define _FILE_OFFSET_BITS 64
  4405. #include <sys/types.h>
  4406. /* Check that off_t can represent 2**63 - 1 correctly.
  4407. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4408. since some C++ compilers masquerading as C compilers
  4409. incorrectly reject 9223372036854775807. */
  4410. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4411. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4412. && LARGE_OFF_T % 2147483647 == 1)
  4413. ? 1 : -1];
  4414. int
  4415. main ()
  4416. {
  4417. ;
  4418. return 0;
  4419. }
  4420. _ACEOF
  4421. if ac_fn_c_try_compile "$LINENO"; then :
  4422. ac_cv_sys_file_offset_bits=64; break
  4423. fi
  4424. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4425. ac_cv_sys_file_offset_bits=unknown
  4426. break
  4427. done
  4428. fi
  4429. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  4430. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  4431. case $ac_cv_sys_file_offset_bits in #(
  4432. no | unknown) ;;
  4433. *)
  4434. cat >>confdefs.h <<_ACEOF
  4435. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  4436. _ACEOF
  4437. ;;
  4438. esac
  4439. rm -rf conftest*
  4440. if test $ac_cv_sys_file_offset_bits = unknown; then
  4441. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  4442. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  4443. if ${ac_cv_sys_large_files+:} false; then :
  4444. $as_echo_n "(cached) " >&6
  4445. else
  4446. while :; do
  4447. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4448. /* end confdefs.h. */
  4449. #include <sys/types.h>
  4450. /* Check that off_t can represent 2**63 - 1 correctly.
  4451. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4452. since some C++ compilers masquerading as C compilers
  4453. incorrectly reject 9223372036854775807. */
  4454. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4455. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4456. && LARGE_OFF_T % 2147483647 == 1)
  4457. ? 1 : -1];
  4458. int
  4459. main ()
  4460. {
  4461. ;
  4462. return 0;
  4463. }
  4464. _ACEOF
  4465. if ac_fn_c_try_compile "$LINENO"; then :
  4466. ac_cv_sys_large_files=no; break
  4467. fi
  4468. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4469. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4470. /* end confdefs.h. */
  4471. #define _LARGE_FILES 1
  4472. #include <sys/types.h>
  4473. /* Check that off_t can represent 2**63 - 1 correctly.
  4474. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4475. since some C++ compilers masquerading as C compilers
  4476. incorrectly reject 9223372036854775807. */
  4477. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4478. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4479. && LARGE_OFF_T % 2147483647 == 1)
  4480. ? 1 : -1];
  4481. int
  4482. main ()
  4483. {
  4484. ;
  4485. return 0;
  4486. }
  4487. _ACEOF
  4488. if ac_fn_c_try_compile "$LINENO"; then :
  4489. ac_cv_sys_large_files=1; break
  4490. fi
  4491. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4492. ac_cv_sys_large_files=unknown
  4493. break
  4494. done
  4495. fi
  4496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  4497. $as_echo "$ac_cv_sys_large_files" >&6; }
  4498. case $ac_cv_sys_large_files in #(
  4499. no | unknown) ;;
  4500. *)
  4501. cat >>confdefs.h <<_ACEOF
  4502. #define _LARGE_FILES $ac_cv_sys_large_files
  4503. _ACEOF
  4504. ;;
  4505. esac
  4506. rm -rf conftest*
  4507. fi
  4508. fi
  4509. am__api_version='1.15'
  4510. # Find a good install program. We prefer a C program (faster),
  4511. # so one script is as good as another. But avoid the broken or
  4512. # incompatible versions:
  4513. # SysV /etc/install, /usr/sbin/install
  4514. # SunOS /usr/etc/install
  4515. # IRIX /sbin/install
  4516. # AIX /bin/install
  4517. # AmigaOS /C/install, which installs bootblocks on floppy discs
  4518. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  4519. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  4520. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  4521. # OS/2's system install, which has a completely different semantic
  4522. # ./install, which can be erroneously created by make from ./install.sh.
  4523. # Reject install programs that cannot install multiple files.
  4524. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  4525. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  4526. if test -z "$INSTALL"; then
  4527. if ${ac_cv_path_install+:} false; then :
  4528. $as_echo_n "(cached) " >&6
  4529. else
  4530. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4531. for as_dir in $PATH
  4532. do
  4533. IFS=$as_save_IFS
  4534. test -z "$as_dir" && as_dir=.
  4535. # Account for people who put trailing slashes in PATH elements.
  4536. case $as_dir/ in #((
  4537. ./ | .// | /[cC]/* | \
  4538. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  4539. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  4540. /usr/ucb/* ) ;;
  4541. *)
  4542. # OSF1 and SCO ODT 3.0 have their own names for install.
  4543. # Don't use installbsd from OSF since it installs stuff as root
  4544. # by default.
  4545. for ac_prog in ginstall scoinst install; do
  4546. for ac_exec_ext in '' $ac_executable_extensions; do
  4547. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  4548. if test $ac_prog = install &&
  4549. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4550. # AIX install. It has an incompatible calling convention.
  4551. :
  4552. elif test $ac_prog = install &&
  4553. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4554. # program-specific install script used by HP pwplus--don't use.
  4555. :
  4556. else
  4557. rm -rf conftest.one conftest.two conftest.dir
  4558. echo one > conftest.one
  4559. echo two > conftest.two
  4560. mkdir conftest.dir
  4561. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  4562. test -s conftest.one && test -s conftest.two &&
  4563. test -s conftest.dir/conftest.one &&
  4564. test -s conftest.dir/conftest.two
  4565. then
  4566. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  4567. break 3
  4568. fi
  4569. fi
  4570. fi
  4571. done
  4572. done
  4573. ;;
  4574. esac
  4575. done
  4576. IFS=$as_save_IFS
  4577. rm -rf conftest.one conftest.two conftest.dir
  4578. fi
  4579. if test "${ac_cv_path_install+set}" = set; then
  4580. INSTALL=$ac_cv_path_install
  4581. else
  4582. # As a last resort, use the slow shell script. Don't cache a
  4583. # value for INSTALL within a source directory, because that will
  4584. # break other packages using the cache if that directory is
  4585. # removed, or if the value is a relative name.
  4586. INSTALL=$ac_install_sh
  4587. fi
  4588. fi
  4589. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  4590. $as_echo "$INSTALL" >&6; }
  4591. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  4592. # It thinks the first close brace ends the variable substitution.
  4593. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  4594. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  4595. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  4596. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  4597. $as_echo_n "checking whether build environment is sane... " >&6; }
  4598. # Reject unsafe characters in $srcdir or the absolute working directory
  4599. # name. Accept space and tab only in the latter.
  4600. am_lf='
  4601. '
  4602. case `pwd` in
  4603. *[\\\"\#\$\&\'\`$am_lf]*)
  4604. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  4605. esac
  4606. case $srcdir in
  4607. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  4608. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  4609. esac
  4610. # Do 'set' in a subshell so we don't clobber the current shell's
  4611. # arguments. Must try -L first in case configure is actually a
  4612. # symlink; some systems play weird games with the mod time of symlinks
  4613. # (eg FreeBSD returns the mod time of the symlink's containing
  4614. # directory).
  4615. if (
  4616. am_has_slept=no
  4617. for am_try in 1 2; do
  4618. echo "timestamp, slept: $am_has_slept" > conftest.file
  4619. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  4620. if test "$*" = "X"; then
  4621. # -L didn't work.
  4622. set X `ls -t "$srcdir/configure" conftest.file`
  4623. fi
  4624. if test "$*" != "X $srcdir/configure conftest.file" \
  4625. && test "$*" != "X conftest.file $srcdir/configure"; then
  4626. # If neither matched, then we have a broken ls. This can happen
  4627. # if, for instance, CONFIG_SHELL is bash and it inherits a
  4628. # broken ls alias from the environment. This has actually
  4629. # happened. Such a system could not be considered "sane".
  4630. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  4631. alias in your environment" "$LINENO" 5
  4632. fi
  4633. if test "$2" = conftest.file || test $am_try -eq 2; then
  4634. break
  4635. fi
  4636. # Just in case.
  4637. sleep 1
  4638. am_has_slept=yes
  4639. done
  4640. test "$2" = conftest.file
  4641. )
  4642. then
  4643. # Ok.
  4644. :
  4645. else
  4646. as_fn_error $? "newly created file is older than distributed files!
  4647. Check your system clock" "$LINENO" 5
  4648. fi
  4649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4650. $as_echo "yes" >&6; }
  4651. # If we didn't sleep, we still need to ensure time stamps of config.status and
  4652. # generated files are strictly newer.
  4653. am_sleep_pid=
  4654. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  4655. ( sleep 1 ) &
  4656. am_sleep_pid=$!
  4657. fi
  4658. rm -f conftest.file
  4659. test "$program_prefix" != NONE &&
  4660. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  4661. # Use a double $ so make ignores it.
  4662. test "$program_suffix" != NONE &&
  4663. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  4664. # Double any \ or $.
  4665. # By default was `s,x,x', remove it if useless.
  4666. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  4667. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  4668. if test x"${MISSING+set}" != xset; then
  4669. case $am_aux_dir in
  4670. *\ * | *\ *)
  4671. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  4672. *)
  4673. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  4674. esac
  4675. fi
  4676. # Use eval to expand $SHELL
  4677. if eval "$MISSING --is-lightweight"; then
  4678. am_missing_run="$MISSING "
  4679. else
  4680. am_missing_run=
  4681. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  4682. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  4683. fi
  4684. if test x"${install_sh+set}" != xset; then
  4685. case $am_aux_dir in
  4686. *\ * | *\ *)
  4687. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  4688. *)
  4689. install_sh="\${SHELL} $am_aux_dir/install-sh"
  4690. esac
  4691. fi
  4692. # Installed binaries are usually stripped using 'strip' when the user
  4693. # run "make install-strip". However 'strip' might not be the right
  4694. # tool to use in cross-compilation environments, therefore Automake
  4695. # will honor the 'STRIP' environment variable to overrule this program.
  4696. if test "$cross_compiling" != no; then
  4697. if test -n "$ac_tool_prefix"; then
  4698. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4699. set dummy ${ac_tool_prefix}strip; ac_word=$2
  4700. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4701. $as_echo_n "checking for $ac_word... " >&6; }
  4702. if ${ac_cv_prog_STRIP+:} false; then :
  4703. $as_echo_n "(cached) " >&6
  4704. else
  4705. if test -n "$STRIP"; then
  4706. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4707. else
  4708. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4709. for as_dir in $PATH
  4710. do
  4711. IFS=$as_save_IFS
  4712. test -z "$as_dir" && as_dir=.
  4713. for ac_exec_ext in '' $ac_executable_extensions; do
  4714. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4715. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4716. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4717. break 2
  4718. fi
  4719. done
  4720. done
  4721. IFS=$as_save_IFS
  4722. fi
  4723. fi
  4724. STRIP=$ac_cv_prog_STRIP
  4725. if test -n "$STRIP"; then
  4726. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  4727. $as_echo "$STRIP" >&6; }
  4728. else
  4729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4730. $as_echo "no" >&6; }
  4731. fi
  4732. fi
  4733. if test -z "$ac_cv_prog_STRIP"; then
  4734. ac_ct_STRIP=$STRIP
  4735. # Extract the first word of "strip", so it can be a program name with args.
  4736. set dummy strip; ac_word=$2
  4737. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4738. $as_echo_n "checking for $ac_word... " >&6; }
  4739. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  4740. $as_echo_n "(cached) " >&6
  4741. else
  4742. if test -n "$ac_ct_STRIP"; then
  4743. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4744. else
  4745. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4746. for as_dir in $PATH
  4747. do
  4748. IFS=$as_save_IFS
  4749. test -z "$as_dir" && as_dir=.
  4750. for ac_exec_ext in '' $ac_executable_extensions; do
  4751. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4752. ac_cv_prog_ac_ct_STRIP="strip"
  4753. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4754. break 2
  4755. fi
  4756. done
  4757. done
  4758. IFS=$as_save_IFS
  4759. fi
  4760. fi
  4761. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  4762. if test -n "$ac_ct_STRIP"; then
  4763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  4764. $as_echo "$ac_ct_STRIP" >&6; }
  4765. else
  4766. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4767. $as_echo "no" >&6; }
  4768. fi
  4769. if test "x$ac_ct_STRIP" = x; then
  4770. STRIP=":"
  4771. else
  4772. case $cross_compiling:$ac_tool_warned in
  4773. yes:)
  4774. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4775. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4776. ac_tool_warned=yes ;;
  4777. esac
  4778. STRIP=$ac_ct_STRIP
  4779. fi
  4780. else
  4781. STRIP="$ac_cv_prog_STRIP"
  4782. fi
  4783. fi
  4784. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  4785. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  4786. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  4787. if test -z "$MKDIR_P"; then
  4788. if ${ac_cv_path_mkdir+:} false; then :
  4789. $as_echo_n "(cached) " >&6
  4790. else
  4791. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4792. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  4793. do
  4794. IFS=$as_save_IFS
  4795. test -z "$as_dir" && as_dir=.
  4796. for ac_prog in mkdir gmkdir; do
  4797. for ac_exec_ext in '' $ac_executable_extensions; do
  4798. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  4799. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  4800. 'mkdir (GNU coreutils) '* | \
  4801. 'mkdir (coreutils) '* | \
  4802. 'mkdir (fileutils) '4.1*)
  4803. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  4804. break 3;;
  4805. esac
  4806. done
  4807. done
  4808. done
  4809. IFS=$as_save_IFS
  4810. fi
  4811. test -d ./--version && rmdir ./--version
  4812. if test "${ac_cv_path_mkdir+set}" = set; then
  4813. MKDIR_P="$ac_cv_path_mkdir -p"
  4814. else
  4815. # As a last resort, use the slow shell script. Don't cache a
  4816. # value for MKDIR_P within a source directory, because that will
  4817. # break other packages using the cache if that directory is
  4818. # removed, or if the value is a relative name.
  4819. MKDIR_P="$ac_install_sh -d"
  4820. fi
  4821. fi
  4822. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  4823. $as_echo "$MKDIR_P" >&6; }
  4824. for ac_prog in gawk mawk nawk awk
  4825. do
  4826. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4827. set dummy $ac_prog; ac_word=$2
  4828. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4829. $as_echo_n "checking for $ac_word... " >&6; }
  4830. if ${ac_cv_prog_AWK+:} false; then :
  4831. $as_echo_n "(cached) " >&6
  4832. else
  4833. if test -n "$AWK"; then
  4834. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  4835. else
  4836. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4837. for as_dir in $PATH
  4838. do
  4839. IFS=$as_save_IFS
  4840. test -z "$as_dir" && as_dir=.
  4841. for ac_exec_ext in '' $ac_executable_extensions; do
  4842. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4843. ac_cv_prog_AWK="$ac_prog"
  4844. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4845. break 2
  4846. fi
  4847. done
  4848. done
  4849. IFS=$as_save_IFS
  4850. fi
  4851. fi
  4852. AWK=$ac_cv_prog_AWK
  4853. if test -n "$AWK"; then
  4854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  4855. $as_echo "$AWK" >&6; }
  4856. else
  4857. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4858. $as_echo "no" >&6; }
  4859. fi
  4860. test -n "$AWK" && break
  4861. done
  4862. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4863. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  4864. set x ${MAKE-make}
  4865. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  4866. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  4867. $as_echo_n "(cached) " >&6
  4868. else
  4869. cat >conftest.make <<\_ACEOF
  4870. SHELL = /bin/sh
  4871. all:
  4872. @echo '@@@%%%=$(MAKE)=@@@%%%'
  4873. _ACEOF
  4874. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  4875. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  4876. *@@@%%%=?*=@@@%%%*)
  4877. eval ac_cv_prog_make_${ac_make}_set=yes;;
  4878. *)
  4879. eval ac_cv_prog_make_${ac_make}_set=no;;
  4880. esac
  4881. rm -f conftest.make
  4882. fi
  4883. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4884. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4885. $as_echo "yes" >&6; }
  4886. SET_MAKE=
  4887. else
  4888. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4889. $as_echo "no" >&6; }
  4890. SET_MAKE="MAKE=${MAKE-make}"
  4891. fi
  4892. # Check whether --enable-silent-rules was given.
  4893. if test "${enable_silent_rules+set}" = set; then :
  4894. enableval=$enable_silent_rules;
  4895. fi
  4896. case $enable_silent_rules in # (((
  4897. yes) AM_DEFAULT_VERBOSITY=0;;
  4898. no) AM_DEFAULT_VERBOSITY=1;;
  4899. *) AM_DEFAULT_VERBOSITY=1;;
  4900. esac
  4901. am_make=${MAKE-make}
  4902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  4903. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  4904. if ${am_cv_make_support_nested_variables+:} false; then :
  4905. $as_echo_n "(cached) " >&6
  4906. else
  4907. if $as_echo 'TRUE=$(BAR$(V))
  4908. BAR0=false
  4909. BAR1=true
  4910. V=1
  4911. am__doit:
  4912. @$(TRUE)
  4913. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  4914. am_cv_make_support_nested_variables=yes
  4915. else
  4916. am_cv_make_support_nested_variables=no
  4917. fi
  4918. fi
  4919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  4920. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  4921. if test $am_cv_make_support_nested_variables = yes; then
  4922. AM_V='$(V)'
  4923. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  4924. else
  4925. AM_V=$AM_DEFAULT_VERBOSITY
  4926. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  4927. fi
  4928. AM_BACKSLASH='\'
  4929. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  4930. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  4931. # is not polluted with repeated "-I."
  4932. am__isrc=' -I$(srcdir)'
  4933. # test to see if srcdir already configured
  4934. if test -f $srcdir/config.status; then
  4935. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  4936. fi
  4937. fi
  4938. # test whether we have cygpath
  4939. if test -z "$CYGPATH_W"; then
  4940. if (cygpath --version) >/dev/null 2>/dev/null; then
  4941. CYGPATH_W='cygpath -w'
  4942. else
  4943. CYGPATH_W=echo
  4944. fi
  4945. fi
  4946. # Define the identity of the package.
  4947. PACKAGE='lzo'
  4948. VERSION='2.09'
  4949. cat >>confdefs.h <<_ACEOF
  4950. #define PACKAGE "$PACKAGE"
  4951. _ACEOF
  4952. cat >>confdefs.h <<_ACEOF
  4953. #define VERSION "$VERSION"
  4954. _ACEOF
  4955. # Some tools Automake needs.
  4956. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  4957. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  4958. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  4959. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  4960. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  4961. # For better backward compatibility. To be removed once Automake 1.9.x
  4962. # dies out for good. For more background, see:
  4963. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  4964. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  4965. mkdir_p='$(MKDIR_P)'
  4966. # We need awk for the "check" target (and possibly the TAP driver). The
  4967. # system "awk" is bad on some platforms.
  4968. # Always define AMTAR for backward compatibility. Yes, it's still used
  4969. # in the wild :-( We should find a proper way to deprecate it ...
  4970. AMTAR='$${TAR-tar}'
  4971. # We'll loop over all known methods to create a tar archive until one works.
  4972. _am_tools='gnutar pax cpio none'
  4973. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  4974. depcc="$CC" am_compiler_list=
  4975. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4976. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4977. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4978. $as_echo_n "(cached) " >&6
  4979. else
  4980. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4981. # We make a subdir and do the tests there. Otherwise we can end up
  4982. # making bogus files that we don't know about and never remove. For
  4983. # instance it was reported that on HP-UX the gcc test will end up
  4984. # making a dummy file named 'D' -- because '-MD' means "put the output
  4985. # in D".
  4986. rm -rf conftest.dir
  4987. mkdir conftest.dir
  4988. # Copy depcomp to subdir because otherwise we won't find it if we're
  4989. # using a relative directory.
  4990. cp "$am_depcomp" conftest.dir
  4991. cd conftest.dir
  4992. # We will build objects and dependencies in a subdirectory because
  4993. # it helps to detect inapplicable dependency modes. For instance
  4994. # both Tru64's cc and ICC support -MD to output dependencies as a
  4995. # side effect of compilation, but ICC will put the dependencies in
  4996. # the current directory while Tru64 will put them in the object
  4997. # directory.
  4998. mkdir sub
  4999. am_cv_CC_dependencies_compiler_type=none
  5000. if test "$am_compiler_list" = ""; then
  5001. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5002. fi
  5003. am__universal=false
  5004. case " $depcc " in #(
  5005. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  5006. esac
  5007. for depmode in $am_compiler_list; do
  5008. # Setup a source with many dependencies, because some compilers
  5009. # like to wrap large dependency lists on column 80 (with \), and
  5010. # we should not choose a depcomp mode which is confused by this.
  5011. #
  5012. # We need to recreate these files for each test, as the compiler may
  5013. # overwrite some of them when testing with obscure command lines.
  5014. # This happens at least with the AIX C compiler.
  5015. : > sub/conftest.c
  5016. for i in 1 2 3 4 5 6; do
  5017. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5018. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  5019. # Solaris 10 /bin/sh.
  5020. echo '/* dummy */' > sub/conftst$i.h
  5021. done
  5022. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5023. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  5024. # mode. It turns out that the SunPro C++ compiler does not properly
  5025. # handle '-M -o', and we need to detect this. Also, some Intel
  5026. # versions had trouble with output in subdirs.
  5027. am__obj=sub/conftest.${OBJEXT-o}
  5028. am__minus_obj="-o $am__obj"
  5029. case $depmode in
  5030. gcc)
  5031. # This depmode causes a compiler race in universal mode.
  5032. test "$am__universal" = false || continue
  5033. ;;
  5034. nosideeffect)
  5035. # After this tag, mechanisms are not by side-effect, so they'll
  5036. # only be used when explicitly requested.
  5037. if test "x$enable_dependency_tracking" = xyes; then
  5038. continue
  5039. else
  5040. break
  5041. fi
  5042. ;;
  5043. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  5044. # This compiler won't grok '-c -o', but also, the minuso test has
  5045. # not run yet. These depmodes are late enough in the game, and
  5046. # so weak that their functioning should not be impacted.
  5047. am__obj=conftest.${OBJEXT-o}
  5048. am__minus_obj=
  5049. ;;
  5050. none) break ;;
  5051. esac
  5052. if depmode=$depmode \
  5053. source=sub/conftest.c object=$am__obj \
  5054. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5055. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  5056. >/dev/null 2>conftest.err &&
  5057. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  5058. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5059. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  5060. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5061. # icc doesn't choke on unknown options, it will just issue warnings
  5062. # or remarks (even with -Werror). So we grep stderr for any message
  5063. # that says an option was ignored or not supported.
  5064. # When given -MP, icc 7.0 and 7.1 complain thusly:
  5065. # icc: Command line warning: ignoring option '-M'; no argument required
  5066. # The diagnosis changed in icc 8.0:
  5067. # icc: Command line remark: option '-MP' not supported
  5068. if (grep 'ignoring option' conftest.err ||
  5069. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5070. am_cv_CC_dependencies_compiler_type=$depmode
  5071. break
  5072. fi
  5073. fi
  5074. done
  5075. cd ..
  5076. rm -rf conftest.dir
  5077. else
  5078. am_cv_CC_dependencies_compiler_type=none
  5079. fi
  5080. fi
  5081. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  5082. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5083. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5084. if
  5085. test "x$enable_dependency_tracking" != xno \
  5086. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5087. am__fastdepCC_TRUE=
  5088. am__fastdepCC_FALSE='#'
  5089. else
  5090. am__fastdepCC_TRUE='#'
  5091. am__fastdepCC_FALSE=
  5092. fi
  5093. # POSIX will say in a future version that running "rm -f" with no argument
  5094. # is OK; and we want to be able to make that assumption in our Makefile
  5095. # recipes. So use an aggressive probe to check that the usage we want is
  5096. # actually supported "in the wild" to an acceptable degree.
  5097. # See automake bug#10828.
  5098. # To make any issue more visible, cause the running configure to be aborted
  5099. # by default if the 'rm' program in use doesn't match our expectations; the
  5100. # user can still override this though.
  5101. if rm -f && rm -fr && rm -rf; then : OK; else
  5102. cat >&2 <<'END'
  5103. Oops!
  5104. Your 'rm' program seems unable to run without file operands specified
  5105. on the command line, even when the '-f' option is present. This is contrary
  5106. to the behaviour of most rm programs out there, and not conforming with
  5107. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  5108. Please tell bug-automake@gnu.org about your system, including the value
  5109. of your $PATH and any error possibly output before this message. This
  5110. can help us improve future automake versions.
  5111. END
  5112. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  5113. echo 'Configuration will proceed anyway, since you have set the' >&2
  5114. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  5115. echo >&2
  5116. else
  5117. cat >&2 <<'END'
  5118. Aborting the configuration process, to ensure you take notice of the issue.
  5119. You can download and install GNU coreutils to get an 'rm' implementation
  5120. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  5121. If you want to complete the configuration process using your problematic
  5122. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  5123. to "yes", and re-run configure.
  5124. END
  5125. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  5126. fi
  5127. fi
  5128. # Check whether --enable-silent-rules was given.
  5129. if test "${enable_silent_rules+set}" = set; then :
  5130. enableval=$enable_silent_rules;
  5131. fi
  5132. case $enable_silent_rules in # (((
  5133. yes) AM_DEFAULT_VERBOSITY=0;;
  5134. no) AM_DEFAULT_VERBOSITY=1;;
  5135. *) AM_DEFAULT_VERBOSITY=0;;
  5136. esac
  5137. am_make=${MAKE-make}
  5138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  5139. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  5140. if ${am_cv_make_support_nested_variables+:} false; then :
  5141. $as_echo_n "(cached) " >&6
  5142. else
  5143. if $as_echo 'TRUE=$(BAR$(V))
  5144. BAR0=false
  5145. BAR1=true
  5146. V=1
  5147. am__doit:
  5148. @$(TRUE)
  5149. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  5150. am_cv_make_support_nested_variables=yes
  5151. else
  5152. am_cv_make_support_nested_variables=no
  5153. fi
  5154. fi
  5155. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  5156. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  5157. if test $am_cv_make_support_nested_variables = yes; then
  5158. AM_V='$(V)'
  5159. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  5160. else
  5161. AM_V=$AM_DEFAULT_VERBOSITY
  5162. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  5163. fi
  5164. AM_BACKSLASH='\'
  5165. ac_config_headers="$ac_config_headers config.h:config.hin"
  5166. # Check whether --enable-static was given.
  5167. if test "${enable_static+set}" = set; then :
  5168. enableval=$enable_static; p=${PACKAGE-default}
  5169. case $enableval in
  5170. yes) enable_static=yes ;;
  5171. no) enable_static=no ;;
  5172. *)
  5173. enable_static=no
  5174. # Look at the argument we got. We use all the common list separators.
  5175. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  5176. for pkg in $enableval; do
  5177. IFS=$lt_save_ifs
  5178. if test "X$pkg" = "X$p"; then
  5179. enable_static=yes
  5180. fi
  5181. done
  5182. IFS=$lt_save_ifs
  5183. ;;
  5184. esac
  5185. else
  5186. enable_static=yes
  5187. fi
  5188. # Check whether --enable-shared was given.
  5189. if test "${enable_shared+set}" = set; then :
  5190. enableval=$enable_shared; p=${PACKAGE-default}
  5191. case $enableval in
  5192. yes) enable_shared=yes ;;
  5193. no) enable_shared=no ;;
  5194. *)
  5195. enable_shared=no
  5196. # Look at the argument we got. We use all the common list separators.
  5197. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  5198. for pkg in $enableval; do
  5199. IFS=$lt_save_ifs
  5200. if test "X$pkg" = "X$p"; then
  5201. enable_shared=yes
  5202. fi
  5203. done
  5204. IFS=$lt_save_ifs
  5205. ;;
  5206. esac
  5207. else
  5208. enable_shared=no
  5209. fi
  5210. case `pwd` in
  5211. *\ * | *\ *)
  5212. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  5213. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  5214. esac
  5215. macro_version='2.4.2.418'
  5216. macro_revision='2.4.2.418'
  5217. ltmain=$ac_aux_dir/ltmain.sh
  5218. # Backslashify metacharacters that are still active within
  5219. # double-quoted strings.
  5220. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  5221. # Same as above, but do not quote variable references.
  5222. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  5223. # Sed substitution to delay expansion of an escaped shell variable in a
  5224. # double_quote_subst'ed string.
  5225. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  5226. # Sed substitution to delay expansion of an escaped single quote.
  5227. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  5228. # Sed substitution to avoid accidental globbing in evaled expressions
  5229. no_glob_subst='s/\*/\\\*/g'
  5230. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5231. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  5232. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  5233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  5234. $as_echo_n "checking how to print strings... " >&6; }
  5235. # Test print first, because it will be a builtin if present.
  5236. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  5237. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  5238. ECHO='print -r --'
  5239. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  5240. ECHO='printf %s\n'
  5241. else
  5242. # Use this function as a fallback that always works.
  5243. func_fallback_echo ()
  5244. {
  5245. eval 'cat <<_LTECHO_EOF
  5246. $1
  5247. _LTECHO_EOF'
  5248. }
  5249. ECHO='func_fallback_echo'
  5250. fi
  5251. # func_echo_all arg...
  5252. # Invoke $ECHO with all args, space-separated.
  5253. func_echo_all ()
  5254. {
  5255. $ECHO ""
  5256. }
  5257. case $ECHO in
  5258. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  5259. $as_echo "printf" >&6; } ;;
  5260. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  5261. $as_echo "print -r" >&6; } ;;
  5262. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  5263. $as_echo "cat" >&6; } ;;
  5264. esac
  5265. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  5266. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5267. if ${ac_cv_path_SED+:} false; then :
  5268. $as_echo_n "(cached) " >&6
  5269. else
  5270. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5271. for ac_i in 1 2 3 4 5 6 7; do
  5272. ac_script="$ac_script$as_nl$ac_script"
  5273. done
  5274. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5275. { ac_script=; unset ac_script;}
  5276. if test -z "$SED"; then
  5277. ac_path_SED_found=false
  5278. # Loop through the user's path and test for each of PROGNAME-LIST
  5279. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5280. for as_dir in $PATH
  5281. do
  5282. IFS=$as_save_IFS
  5283. test -z "$as_dir" && as_dir=.
  5284. for ac_prog in sed gsed; do
  5285. for ac_exec_ext in '' $ac_executable_extensions; do
  5286. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5287. as_fn_executable_p "$ac_path_SED" || continue
  5288. # Check for GNU ac_path_SED and select it if it is found.
  5289. # Check for GNU $ac_path_SED
  5290. case `"$ac_path_SED" --version 2>&1` in
  5291. *GNU*)
  5292. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5293. *)
  5294. ac_count=0
  5295. $as_echo_n 0123456789 >"conftest.in"
  5296. while :
  5297. do
  5298. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5299. mv "conftest.tmp" "conftest.in"
  5300. cp "conftest.in" "conftest.nl"
  5301. $as_echo '' >> "conftest.nl"
  5302. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5303. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5304. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5305. if test $ac_count -gt ${ac_path_SED_max-0}; then
  5306. # Best one so far, save it but keep looking for a better one
  5307. ac_cv_path_SED="$ac_path_SED"
  5308. ac_path_SED_max=$ac_count
  5309. fi
  5310. # 10*(2^10) chars as input seems more than enough
  5311. test $ac_count -gt 10 && break
  5312. done
  5313. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5314. esac
  5315. $ac_path_SED_found && break 3
  5316. done
  5317. done
  5318. done
  5319. IFS=$as_save_IFS
  5320. if test -z "$ac_cv_path_SED"; then
  5321. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  5322. fi
  5323. else
  5324. ac_cv_path_SED=$SED
  5325. fi
  5326. fi
  5327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  5328. $as_echo "$ac_cv_path_SED" >&6; }
  5329. SED="$ac_cv_path_SED"
  5330. rm -f conftest.sed
  5331. test -z "$SED" && SED=sed
  5332. Xsed="$SED -e 1s/^X//"
  5333. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  5334. $as_echo_n "checking for fgrep... " >&6; }
  5335. if ${ac_cv_path_FGREP+:} false; then :
  5336. $as_echo_n "(cached) " >&6
  5337. else
  5338. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  5339. then ac_cv_path_FGREP="$GREP -F"
  5340. else
  5341. if test -z "$FGREP"; then
  5342. ac_path_FGREP_found=false
  5343. # Loop through the user's path and test for each of PROGNAME-LIST
  5344. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5345. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5346. do
  5347. IFS=$as_save_IFS
  5348. test -z "$as_dir" && as_dir=.
  5349. for ac_prog in fgrep; do
  5350. for ac_exec_ext in '' $ac_executable_extensions; do
  5351. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5352. as_fn_executable_p "$ac_path_FGREP" || continue
  5353. # Check for GNU ac_path_FGREP and select it if it is found.
  5354. # Check for GNU $ac_path_FGREP
  5355. case `"$ac_path_FGREP" --version 2>&1` in
  5356. *GNU*)
  5357. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5358. *)
  5359. ac_count=0
  5360. $as_echo_n 0123456789 >"conftest.in"
  5361. while :
  5362. do
  5363. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5364. mv "conftest.tmp" "conftest.in"
  5365. cp "conftest.in" "conftest.nl"
  5366. $as_echo 'FGREP' >> "conftest.nl"
  5367. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5368. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5369. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5370. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5371. # Best one so far, save it but keep looking for a better one
  5372. ac_cv_path_FGREP="$ac_path_FGREP"
  5373. ac_path_FGREP_max=$ac_count
  5374. fi
  5375. # 10*(2^10) chars as input seems more than enough
  5376. test $ac_count -gt 10 && break
  5377. done
  5378. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5379. esac
  5380. $ac_path_FGREP_found && break 3
  5381. done
  5382. done
  5383. done
  5384. IFS=$as_save_IFS
  5385. if test -z "$ac_cv_path_FGREP"; then
  5386. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5387. fi
  5388. else
  5389. ac_cv_path_FGREP=$FGREP
  5390. fi
  5391. fi
  5392. fi
  5393. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  5394. $as_echo "$ac_cv_path_FGREP" >&6; }
  5395. FGREP="$ac_cv_path_FGREP"
  5396. test -z "$GREP" && GREP=grep
  5397. # Check whether --with-gnu-ld was given.
  5398. if test "${with_gnu_ld+set}" = set; then :
  5399. withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  5400. else
  5401. with_gnu_ld=no
  5402. fi
  5403. ac_prog=ld
  5404. if test yes = "$GCC"; then
  5405. # Check if gcc -print-prog-name=ld gives a path.
  5406. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  5407. $as_echo_n "checking for ld used by $CC... " >&6; }
  5408. case $host in
  5409. *-*-mingw*)
  5410. # gcc leaves a trailing carriage return, which upsets mingw
  5411. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5412. *)
  5413. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5414. esac
  5415. case $ac_prog in
  5416. # Accept absolute paths.
  5417. [\\/]* | ?:[\\/]*)
  5418. re_direlt='/[^/][^/]*/\.\./'
  5419. # Canonicalize the pathname of ld
  5420. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5421. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5422. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5423. done
  5424. test -z "$LD" && LD=$ac_prog
  5425. ;;
  5426. "")
  5427. # If it fails, then pretend we aren't using GCC.
  5428. ac_prog=ld
  5429. ;;
  5430. *)
  5431. # If it is relative, then search for the first ld in PATH.
  5432. with_gnu_ld=unknown
  5433. ;;
  5434. esac
  5435. elif test yes = "$with_gnu_ld"; then
  5436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  5437. $as_echo_n "checking for GNU ld... " >&6; }
  5438. else
  5439. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  5440. $as_echo_n "checking for non-GNU ld... " >&6; }
  5441. fi
  5442. if ${lt_cv_path_LD+:} false; then :
  5443. $as_echo_n "(cached) " >&6
  5444. else
  5445. if test -z "$LD"; then
  5446. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  5447. for ac_dir in $PATH; do
  5448. IFS=$lt_save_ifs
  5449. test -z "$ac_dir" && ac_dir=.
  5450. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5451. lt_cv_path_LD=$ac_dir/$ac_prog
  5452. # Check to see if the program is GNU ld. I'd rather use --version,
  5453. # but apparently some variants of GNU ld only accept -v.
  5454. # Break only if it was the GNU/non-GNU ld that we prefer.
  5455. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5456. *GNU* | *'with BFD'*)
  5457. test no != "$with_gnu_ld" && break
  5458. ;;
  5459. *)
  5460. test yes != "$with_gnu_ld" && break
  5461. ;;
  5462. esac
  5463. fi
  5464. done
  5465. IFS=$lt_save_ifs
  5466. else
  5467. lt_cv_path_LD=$LD # Let the user override the test with a path.
  5468. fi
  5469. fi
  5470. LD=$lt_cv_path_LD
  5471. if test -n "$LD"; then
  5472. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5473. $as_echo "$LD" >&6; }
  5474. else
  5475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5476. $as_echo "no" >&6; }
  5477. fi
  5478. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  5479. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  5480. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5481. if ${lt_cv_prog_gnu_ld+:} false; then :
  5482. $as_echo_n "(cached) " >&6
  5483. else
  5484. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5485. case `$LD -v 2>&1 </dev/null` in
  5486. *GNU* | *'with BFD'*)
  5487. lt_cv_prog_gnu_ld=yes
  5488. ;;
  5489. *)
  5490. lt_cv_prog_gnu_ld=no
  5491. ;;
  5492. esac
  5493. fi
  5494. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  5495. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5496. with_gnu_ld=$lt_cv_prog_gnu_ld
  5497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  5498. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5499. if ${lt_cv_path_NM+:} false; then :
  5500. $as_echo_n "(cached) " >&6
  5501. else
  5502. if test -n "$NM"; then
  5503. # Let the user override the test.
  5504. lt_cv_path_NM=$NM
  5505. else
  5506. lt_nm_to_check=${ac_tool_prefix}nm
  5507. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5508. lt_nm_to_check="$lt_nm_to_check nm"
  5509. fi
  5510. for lt_tmp_nm in $lt_nm_to_check; do
  5511. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  5512. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5513. IFS=$lt_save_ifs
  5514. test -z "$ac_dir" && ac_dir=.
  5515. tmp_nm=$ac_dir/$lt_tmp_nm
  5516. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  5517. # Check to see if the nm accepts a BSD-compat flag.
  5518. # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  5519. # nm: unknown option "B" ignored
  5520. # Tru64's nm complains that /dev/null is an invalid object file
  5521. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5522. */dev/null* | *'Invalid file or object type'*)
  5523. lt_cv_path_NM="$tmp_nm -B"
  5524. break 2
  5525. ;;
  5526. *)
  5527. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5528. */dev/null*)
  5529. lt_cv_path_NM="$tmp_nm -p"
  5530. break 2
  5531. ;;
  5532. *)
  5533. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5534. continue # so that we can try to find one that supports BSD flags
  5535. ;;
  5536. esac
  5537. ;;
  5538. esac
  5539. fi
  5540. done
  5541. IFS=$lt_save_ifs
  5542. done
  5543. : ${lt_cv_path_NM=no}
  5544. fi
  5545. fi
  5546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  5547. $as_echo "$lt_cv_path_NM" >&6; }
  5548. if test no != "$lt_cv_path_NM"; then
  5549. NM=$lt_cv_path_NM
  5550. else
  5551. # Didn't find any BSD compatible name lister, look for dumpbin.
  5552. if test -n "$DUMPBIN"; then :
  5553. # Let the user override the test.
  5554. else
  5555. if test -n "$ac_tool_prefix"; then
  5556. for ac_prog in dumpbin "link -dump"
  5557. do
  5558. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5559. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5560. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5561. $as_echo_n "checking for $ac_word... " >&6; }
  5562. if ${ac_cv_prog_DUMPBIN+:} false; then :
  5563. $as_echo_n "(cached) " >&6
  5564. else
  5565. if test -n "$DUMPBIN"; then
  5566. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5567. else
  5568. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5569. for as_dir in $PATH
  5570. do
  5571. IFS=$as_save_IFS
  5572. test -z "$as_dir" && as_dir=.
  5573. for ac_exec_ext in '' $ac_executable_extensions; do
  5574. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5575. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5576. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5577. break 2
  5578. fi
  5579. done
  5580. done
  5581. IFS=$as_save_IFS
  5582. fi
  5583. fi
  5584. DUMPBIN=$ac_cv_prog_DUMPBIN
  5585. if test -n "$DUMPBIN"; then
  5586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  5587. $as_echo "$DUMPBIN" >&6; }
  5588. else
  5589. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5590. $as_echo "no" >&6; }
  5591. fi
  5592. test -n "$DUMPBIN" && break
  5593. done
  5594. fi
  5595. if test -z "$DUMPBIN"; then
  5596. ac_ct_DUMPBIN=$DUMPBIN
  5597. for ac_prog in dumpbin "link -dump"
  5598. do
  5599. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5600. set dummy $ac_prog; ac_word=$2
  5601. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5602. $as_echo_n "checking for $ac_word... " >&6; }
  5603. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  5604. $as_echo_n "(cached) " >&6
  5605. else
  5606. if test -n "$ac_ct_DUMPBIN"; then
  5607. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5608. else
  5609. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5610. for as_dir in $PATH
  5611. do
  5612. IFS=$as_save_IFS
  5613. test -z "$as_dir" && as_dir=.
  5614. for ac_exec_ext in '' $ac_executable_extensions; do
  5615. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5616. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5617. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5618. break 2
  5619. fi
  5620. done
  5621. done
  5622. IFS=$as_save_IFS
  5623. fi
  5624. fi
  5625. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5626. if test -n "$ac_ct_DUMPBIN"; then
  5627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  5628. $as_echo "$ac_ct_DUMPBIN" >&6; }
  5629. else
  5630. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5631. $as_echo "no" >&6; }
  5632. fi
  5633. test -n "$ac_ct_DUMPBIN" && break
  5634. done
  5635. if test "x$ac_ct_DUMPBIN" = x; then
  5636. DUMPBIN=":"
  5637. else
  5638. case $cross_compiling:$ac_tool_warned in
  5639. yes:)
  5640. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5641. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5642. ac_tool_warned=yes ;;
  5643. esac
  5644. DUMPBIN=$ac_ct_DUMPBIN
  5645. fi
  5646. fi
  5647. case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  5648. *COFF*)
  5649. DUMPBIN="$DUMPBIN -symbols -headers"
  5650. ;;
  5651. *)
  5652. DUMPBIN=:
  5653. ;;
  5654. esac
  5655. fi
  5656. if test : != "$DUMPBIN"; then
  5657. NM=$DUMPBIN
  5658. fi
  5659. fi
  5660. test -z "$NM" && NM=nm
  5661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  5662. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5663. if ${lt_cv_nm_interface+:} false; then :
  5664. $as_echo_n "(cached) " >&6
  5665. else
  5666. lt_cv_nm_interface="BSD nm"
  5667. echo "int some_variable = 0;" > conftest.$ac_ext
  5668. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  5669. (eval "$ac_compile" 2>conftest.err)
  5670. cat conftest.err >&5
  5671. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5672. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5673. cat conftest.err >&5
  5674. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  5675. cat conftest.out >&5
  5676. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5677. lt_cv_nm_interface="MS dumpbin"
  5678. fi
  5679. rm -f conftest*
  5680. fi
  5681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  5682. $as_echo "$lt_cv_nm_interface" >&6; }
  5683. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5684. $as_echo_n "checking whether ln -s works... " >&6; }
  5685. LN_S=$as_ln_s
  5686. if test "$LN_S" = "ln -s"; then
  5687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5688. $as_echo "yes" >&6; }
  5689. else
  5690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5691. $as_echo "no, using $LN_S" >&6; }
  5692. fi
  5693. # find the maximum length of command line arguments
  5694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  5695. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5696. if ${lt_cv_sys_max_cmd_len+:} false; then :
  5697. $as_echo_n "(cached) " >&6
  5698. else
  5699. i=0
  5700. teststring=ABCD
  5701. case $build_os in
  5702. msdosdjgpp*)
  5703. # On DJGPP, this test can blow up pretty badly due to problems in libc
  5704. # (any single argument exceeding 2000 bytes causes a buffer overrun
  5705. # during glob expansion). Even if it were fixed, the result of this
  5706. # check would be larger than it should be.
  5707. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  5708. ;;
  5709. gnu*)
  5710. # Under GNU Hurd, this test is not required because there is
  5711. # no limit to the length of command line arguments.
  5712. # Libtool will interpret -1 as no limit whatsoever
  5713. lt_cv_sys_max_cmd_len=-1;
  5714. ;;
  5715. cygwin* | mingw* | cegcc*)
  5716. # On Win9x/ME, this test blows up -- it succeeds, but takes
  5717. # about 5 minutes as the teststring grows exponentially.
  5718. # Worse, since 9x/ME are not pre-emptively multitasking,
  5719. # you end up with a "frozen" computer, even though with patience
  5720. # the test eventually succeeds (with a max line length of 256k).
  5721. # Instead, let's just punt: use the minimum linelength reported by
  5722. # all of the supported platforms: 8192 (on NT/2K/XP).
  5723. lt_cv_sys_max_cmd_len=8192;
  5724. ;;
  5725. mint*)
  5726. # On MiNT this can take a long time and run out of memory.
  5727. lt_cv_sys_max_cmd_len=8192;
  5728. ;;
  5729. amigaos*)
  5730. # On AmigaOS with pdksh, this test takes hours, literally.
  5731. # So we just punt and use a minimum line length of 8192.
  5732. lt_cv_sys_max_cmd_len=8192;
  5733. ;;
  5734. bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  5735. # This has been around since 386BSD, at least. Likely further.
  5736. if test -x /sbin/sysctl; then
  5737. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5738. elif test -x /usr/sbin/sysctl; then
  5739. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5740. else
  5741. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  5742. fi
  5743. # And add a safety zone
  5744. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5745. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5746. ;;
  5747. interix*)
  5748. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5749. lt_cv_sys_max_cmd_len=196608
  5750. ;;
  5751. os2*)
  5752. # The test takes a long time on OS/2.
  5753. lt_cv_sys_max_cmd_len=8192
  5754. ;;
  5755. osf*)
  5756. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5757. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5758. # nice to cause kernel panics so lets avoid the loop below.
  5759. # First set a reasonable default.
  5760. lt_cv_sys_max_cmd_len=16384
  5761. #
  5762. if test -x /sbin/sysconfig; then
  5763. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5764. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5765. esac
  5766. fi
  5767. ;;
  5768. sco3.2v5*)
  5769. lt_cv_sys_max_cmd_len=102400
  5770. ;;
  5771. sysv5* | sco5v6* | sysv4.2uw2*)
  5772. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5773. if test -n "$kargmax"; then
  5774. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  5775. else
  5776. lt_cv_sys_max_cmd_len=32768
  5777. fi
  5778. ;;
  5779. *)
  5780. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5781. if test -n "$lt_cv_sys_max_cmd_len" && \
  5782. test undefined != "$lt_cv_sys_max_cmd_len"; then
  5783. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5784. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5785. else
  5786. # Make teststring a little bigger before we do anything with it.
  5787. # a 1K string should be a reasonable start.
  5788. for i in 1 2 3 4 5 6 7 8; do
  5789. teststring=$teststring$teststring
  5790. done
  5791. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5792. # If test is not a shell built-in, we'll probably end up computing a
  5793. # maximum length that is only half of the actual maximum length, but
  5794. # we can't tell.
  5795. while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  5796. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  5797. test 17 != "$i" # 1/2 MB should be enough
  5798. do
  5799. i=`expr $i + 1`
  5800. teststring=$teststring$teststring
  5801. done
  5802. # Only check the string length outside the loop.
  5803. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5804. teststring=
  5805. # Add a significant safety factor because C++ compilers can tack on
  5806. # massive amounts of additional arguments before passing them to the
  5807. # linker. It appears as though 1/2 is a usable value.
  5808. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5809. fi
  5810. ;;
  5811. esac
  5812. fi
  5813. if test -n "$lt_cv_sys_max_cmd_len"; then
  5814. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  5815. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5816. else
  5817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  5818. $as_echo "none" >&6; }
  5819. fi
  5820. max_cmd_len=$lt_cv_sys_max_cmd_len
  5821. : ${CP="cp -f"}
  5822. : ${MV="mv -f"}
  5823. : ${RM="rm -f"}
  5824. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5825. lt_unset=unset
  5826. else
  5827. lt_unset=false
  5828. fi
  5829. # test EBCDIC or ASCII
  5830. case `echo X|tr X '\101'` in
  5831. A) # ASCII based system
  5832. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5833. lt_SP2NL='tr \040 \012'
  5834. lt_NL2SP='tr \015\012 \040\040'
  5835. ;;
  5836. *) # EBCDIC based system
  5837. lt_SP2NL='tr \100 \n'
  5838. lt_NL2SP='tr \r\n \100\100'
  5839. ;;
  5840. esac
  5841. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  5842. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  5843. if ${lt_cv_to_host_file_cmd+:} false; then :
  5844. $as_echo_n "(cached) " >&6
  5845. else
  5846. case $host in
  5847. *-*-mingw* )
  5848. case $build in
  5849. *-*-mingw* ) # actually msys
  5850. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  5851. ;;
  5852. *-*-cygwin* )
  5853. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  5854. ;;
  5855. * ) # otherwise, assume *nix
  5856. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  5857. ;;
  5858. esac
  5859. ;;
  5860. *-*-cygwin* )
  5861. case $build in
  5862. *-*-mingw* ) # actually msys
  5863. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  5864. ;;
  5865. *-*-cygwin* )
  5866. lt_cv_to_host_file_cmd=func_convert_file_noop
  5867. ;;
  5868. * ) # otherwise, assume *nix
  5869. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  5870. ;;
  5871. esac
  5872. ;;
  5873. * ) # unhandled hosts (and "normal" native builds)
  5874. lt_cv_to_host_file_cmd=func_convert_file_noop
  5875. ;;
  5876. esac
  5877. fi
  5878. to_host_file_cmd=$lt_cv_to_host_file_cmd
  5879. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  5880. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  5881. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  5882. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  5883. if ${lt_cv_to_tool_file_cmd+:} false; then :
  5884. $as_echo_n "(cached) " >&6
  5885. else
  5886. #assume ordinary cross tools, or native build.
  5887. lt_cv_to_tool_file_cmd=func_convert_file_noop
  5888. case $host in
  5889. *-*-mingw* )
  5890. case $build in
  5891. *-*-mingw* ) # actually msys
  5892. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  5893. ;;
  5894. esac
  5895. ;;
  5896. esac
  5897. fi
  5898. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  5899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  5900. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  5901. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  5902. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5903. if ${lt_cv_ld_reload_flag+:} false; then :
  5904. $as_echo_n "(cached) " >&6
  5905. else
  5906. lt_cv_ld_reload_flag='-r'
  5907. fi
  5908. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  5909. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5910. reload_flag=$lt_cv_ld_reload_flag
  5911. case $reload_flag in
  5912. "" | " "*) ;;
  5913. *) reload_flag=" $reload_flag" ;;
  5914. esac
  5915. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5916. case $host_os in
  5917. cygwin* | mingw* | pw32* | cegcc*)
  5918. if test yes != "$GCC"; then
  5919. reload_cmds=false
  5920. fi
  5921. ;;
  5922. darwin*)
  5923. if test yes = "$GCC"; then
  5924. reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  5925. else
  5926. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5927. fi
  5928. ;;
  5929. esac
  5930. if test -n "$ac_tool_prefix"; then
  5931. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5932. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5933. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5934. $as_echo_n "checking for $ac_word... " >&6; }
  5935. if ${ac_cv_prog_OBJDUMP+:} false; then :
  5936. $as_echo_n "(cached) " >&6
  5937. else
  5938. if test -n "$OBJDUMP"; then
  5939. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5940. else
  5941. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5942. for as_dir in $PATH
  5943. do
  5944. IFS=$as_save_IFS
  5945. test -z "$as_dir" && as_dir=.
  5946. for ac_exec_ext in '' $ac_executable_extensions; do
  5947. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5948. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5949. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5950. break 2
  5951. fi
  5952. done
  5953. done
  5954. IFS=$as_save_IFS
  5955. fi
  5956. fi
  5957. OBJDUMP=$ac_cv_prog_OBJDUMP
  5958. if test -n "$OBJDUMP"; then
  5959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  5960. $as_echo "$OBJDUMP" >&6; }
  5961. else
  5962. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5963. $as_echo "no" >&6; }
  5964. fi
  5965. fi
  5966. if test -z "$ac_cv_prog_OBJDUMP"; then
  5967. ac_ct_OBJDUMP=$OBJDUMP
  5968. # Extract the first word of "objdump", so it can be a program name with args.
  5969. set dummy objdump; ac_word=$2
  5970. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5971. $as_echo_n "checking for $ac_word... " >&6; }
  5972. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  5973. $as_echo_n "(cached) " >&6
  5974. else
  5975. if test -n "$ac_ct_OBJDUMP"; then
  5976. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5977. else
  5978. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5979. for as_dir in $PATH
  5980. do
  5981. IFS=$as_save_IFS
  5982. test -z "$as_dir" && as_dir=.
  5983. for ac_exec_ext in '' $ac_executable_extensions; do
  5984. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5985. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5986. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5987. break 2
  5988. fi
  5989. done
  5990. done
  5991. IFS=$as_save_IFS
  5992. fi
  5993. fi
  5994. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5995. if test -n "$ac_ct_OBJDUMP"; then
  5996. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  5997. $as_echo "$ac_ct_OBJDUMP" >&6; }
  5998. else
  5999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6000. $as_echo "no" >&6; }
  6001. fi
  6002. if test "x$ac_ct_OBJDUMP" = x; then
  6003. OBJDUMP="false"
  6004. else
  6005. case $cross_compiling:$ac_tool_warned in
  6006. yes:)
  6007. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6008. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6009. ac_tool_warned=yes ;;
  6010. esac
  6011. OBJDUMP=$ac_ct_OBJDUMP
  6012. fi
  6013. else
  6014. OBJDUMP="$ac_cv_prog_OBJDUMP"
  6015. fi
  6016. test -z "$OBJDUMP" && OBJDUMP=objdump
  6017. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  6018. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  6019. if ${lt_cv_deplibs_check_method+:} false; then :
  6020. $as_echo_n "(cached) " >&6
  6021. else
  6022. lt_cv_file_magic_cmd='$MAGIC_CMD'
  6023. lt_cv_file_magic_test_file=
  6024. lt_cv_deplibs_check_method='unknown'
  6025. # Need to set the preceding variable on all platforms that support
  6026. # interlibrary dependencies.
  6027. # 'none' -- dependencies not supported.
  6028. # 'unknown' -- same as none, but documents that we really don't know.
  6029. # 'pass_all' -- all dependencies passed with no checks.
  6030. # 'test_compile' -- check by making test program.
  6031. # 'file_magic [[regex]]' -- check by looking for files in library path
  6032. # that responds to the $file_magic_cmd with a given extended regex.
  6033. # If you have 'file' or equivalent on your system and you're not sure
  6034. # whether 'pass_all' will *always* work, you probably want this one.
  6035. case $host_os in
  6036. aix[4-9]*)
  6037. lt_cv_deplibs_check_method=pass_all
  6038. ;;
  6039. beos*)
  6040. lt_cv_deplibs_check_method=pass_all
  6041. ;;
  6042. bsdi[45]*)
  6043. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  6044. lt_cv_file_magic_cmd='/usr/bin/file -L'
  6045. lt_cv_file_magic_test_file=/shlib/libc.so
  6046. ;;
  6047. cygwin*)
  6048. # func_win32_libid is a shell function defined in ltmain.sh
  6049. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6050. lt_cv_file_magic_cmd='func_win32_libid'
  6051. ;;
  6052. mingw* | pw32*)
  6053. # Base MSYS/MinGW do not provide the 'file' command needed by
  6054. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  6055. # unless we find 'file', for example because we are cross-compiling.
  6056. if ( file / ) >/dev/null 2>&1; then
  6057. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6058. lt_cv_file_magic_cmd='func_win32_libid'
  6059. else
  6060. # Keep this pattern in sync with the one in func_win32_libid.
  6061. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  6062. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6063. fi
  6064. ;;
  6065. cegcc*)
  6066. # use the weaker test based on 'objdump'. See mingw*.
  6067. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  6068. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6069. ;;
  6070. darwin* | rhapsody*)
  6071. lt_cv_deplibs_check_method=pass_all
  6072. ;;
  6073. freebsd* | dragonfly*)
  6074. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6075. case $host_cpu in
  6076. i*86 )
  6077. # Not sure whether the presence of OpenBSD here was a mistake.
  6078. # Let's accept both of them until this is cleared up.
  6079. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  6080. lt_cv_file_magic_cmd=/usr/bin/file
  6081. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  6082. ;;
  6083. esac
  6084. else
  6085. lt_cv_deplibs_check_method=pass_all
  6086. fi
  6087. ;;
  6088. haiku*)
  6089. lt_cv_deplibs_check_method=pass_all
  6090. ;;
  6091. hpux10.20* | hpux11*)
  6092. lt_cv_file_magic_cmd=/usr/bin/file
  6093. case $host_cpu in
  6094. ia64*)
  6095. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  6096. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  6097. ;;
  6098. hppa*64*)
  6099. 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]'
  6100. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  6101. ;;
  6102. *)
  6103. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  6104. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  6105. ;;
  6106. esac
  6107. ;;
  6108. interix[3-9]*)
  6109. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  6110. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  6111. ;;
  6112. irix5* | irix6* | nonstopux*)
  6113. case $LD in
  6114. *-32|*"-32 ") libmagic=32-bit;;
  6115. *-n32|*"-n32 ") libmagic=N32;;
  6116. *-64|*"-64 ") libmagic=64-bit;;
  6117. *) libmagic=never-match;;
  6118. esac
  6119. lt_cv_deplibs_check_method=pass_all
  6120. ;;
  6121. # This must be glibc/ELF.
  6122. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  6123. lt_cv_deplibs_check_method=pass_all
  6124. ;;
  6125. netbsd*)
  6126. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6127. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6128. else
  6129. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  6130. fi
  6131. ;;
  6132. newos6*)
  6133. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  6134. lt_cv_file_magic_cmd=/usr/bin/file
  6135. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  6136. ;;
  6137. *nto* | *qnx*)
  6138. lt_cv_deplibs_check_method=pass_all
  6139. ;;
  6140. openbsd* | bitrig*)
  6141. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  6142. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  6143. else
  6144. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6145. fi
  6146. ;;
  6147. osf3* | osf4* | osf5*)
  6148. lt_cv_deplibs_check_method=pass_all
  6149. ;;
  6150. rdos*)
  6151. lt_cv_deplibs_check_method=pass_all
  6152. ;;
  6153. solaris*)
  6154. lt_cv_deplibs_check_method=pass_all
  6155. ;;
  6156. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  6157. lt_cv_deplibs_check_method=pass_all
  6158. ;;
  6159. sysv4 | sysv4.3*)
  6160. case $host_vendor in
  6161. motorola)
  6162. 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]'
  6163. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  6164. ;;
  6165. ncr)
  6166. lt_cv_deplibs_check_method=pass_all
  6167. ;;
  6168. sequent)
  6169. lt_cv_file_magic_cmd='/bin/file'
  6170. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  6171. ;;
  6172. sni)
  6173. lt_cv_file_magic_cmd='/bin/file'
  6174. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  6175. lt_cv_file_magic_test_file=/lib/libc.so
  6176. ;;
  6177. siemens)
  6178. lt_cv_deplibs_check_method=pass_all
  6179. ;;
  6180. pc)
  6181. lt_cv_deplibs_check_method=pass_all
  6182. ;;
  6183. esac
  6184. ;;
  6185. tpf*)
  6186. lt_cv_deplibs_check_method=pass_all
  6187. ;;
  6188. esac
  6189. fi
  6190. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  6191. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  6192. file_magic_glob=
  6193. want_nocaseglob=no
  6194. if test "$build" = "$host"; then
  6195. case $host_os in
  6196. mingw* | pw32*)
  6197. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  6198. want_nocaseglob=yes
  6199. else
  6200. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  6201. fi
  6202. ;;
  6203. esac
  6204. fi
  6205. file_magic_cmd=$lt_cv_file_magic_cmd
  6206. deplibs_check_method=$lt_cv_deplibs_check_method
  6207. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  6208. if test -n "$ac_tool_prefix"; then
  6209. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  6210. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  6211. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6212. $as_echo_n "checking for $ac_word... " >&6; }
  6213. if ${ac_cv_prog_DLLTOOL+:} false; then :
  6214. $as_echo_n "(cached) " >&6
  6215. else
  6216. if test -n "$DLLTOOL"; then
  6217. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  6218. else
  6219. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6220. for as_dir in $PATH
  6221. do
  6222. IFS=$as_save_IFS
  6223. test -z "$as_dir" && as_dir=.
  6224. for ac_exec_ext in '' $ac_executable_extensions; do
  6225. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6226. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  6227. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6228. break 2
  6229. fi
  6230. done
  6231. done
  6232. IFS=$as_save_IFS
  6233. fi
  6234. fi
  6235. DLLTOOL=$ac_cv_prog_DLLTOOL
  6236. if test -n "$DLLTOOL"; then
  6237. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  6238. $as_echo "$DLLTOOL" >&6; }
  6239. else
  6240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6241. $as_echo "no" >&6; }
  6242. fi
  6243. fi
  6244. if test -z "$ac_cv_prog_DLLTOOL"; then
  6245. ac_ct_DLLTOOL=$DLLTOOL
  6246. # Extract the first word of "dlltool", so it can be a program name with args.
  6247. set dummy dlltool; ac_word=$2
  6248. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6249. $as_echo_n "checking for $ac_word... " >&6; }
  6250. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  6251. $as_echo_n "(cached) " >&6
  6252. else
  6253. if test -n "$ac_ct_DLLTOOL"; then
  6254. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  6255. else
  6256. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6257. for as_dir in $PATH
  6258. do
  6259. IFS=$as_save_IFS
  6260. test -z "$as_dir" && as_dir=.
  6261. for ac_exec_ext in '' $ac_executable_extensions; do
  6262. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6263. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  6264. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6265. break 2
  6266. fi
  6267. done
  6268. done
  6269. IFS=$as_save_IFS
  6270. fi
  6271. fi
  6272. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  6273. if test -n "$ac_ct_DLLTOOL"; then
  6274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  6275. $as_echo "$ac_ct_DLLTOOL" >&6; }
  6276. else
  6277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6278. $as_echo "no" >&6; }
  6279. fi
  6280. if test "x$ac_ct_DLLTOOL" = x; then
  6281. DLLTOOL="false"
  6282. else
  6283. case $cross_compiling:$ac_tool_warned in
  6284. yes:)
  6285. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6286. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6287. ac_tool_warned=yes ;;
  6288. esac
  6289. DLLTOOL=$ac_ct_DLLTOOL
  6290. fi
  6291. else
  6292. DLLTOOL="$ac_cv_prog_DLLTOOL"
  6293. fi
  6294. test -z "$DLLTOOL" && DLLTOOL=dlltool
  6295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  6296. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  6297. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  6298. $as_echo_n "(cached) " >&6
  6299. else
  6300. lt_cv_sharedlib_from_linklib_cmd='unknown'
  6301. case $host_os in
  6302. cygwin* | mingw* | pw32* | cegcc*)
  6303. # two different shell functions defined in ltmain.sh;
  6304. # decide which one to use based on capabilities of $DLLTOOL
  6305. case `$DLLTOOL --help 2>&1` in
  6306. *--identify-strict*)
  6307. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  6308. ;;
  6309. *)
  6310. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  6311. ;;
  6312. esac
  6313. ;;
  6314. *)
  6315. # fallback: assume linklib IS sharedlib
  6316. lt_cv_sharedlib_from_linklib_cmd=$ECHO
  6317. ;;
  6318. esac
  6319. fi
  6320. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  6321. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  6322. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  6323. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  6324. if test -n "$ac_tool_prefix"; then
  6325. for ac_prog in ar
  6326. do
  6327. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6328. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6329. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6330. $as_echo_n "checking for $ac_word... " >&6; }
  6331. if ${ac_cv_prog_AR+:} false; then :
  6332. $as_echo_n "(cached) " >&6
  6333. else
  6334. if test -n "$AR"; then
  6335. ac_cv_prog_AR="$AR" # Let the user override the test.
  6336. else
  6337. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6338. for as_dir in $PATH
  6339. do
  6340. IFS=$as_save_IFS
  6341. test -z "$as_dir" && as_dir=.
  6342. for ac_exec_ext in '' $ac_executable_extensions; do
  6343. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6344. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  6345. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6346. break 2
  6347. fi
  6348. done
  6349. done
  6350. IFS=$as_save_IFS
  6351. fi
  6352. fi
  6353. AR=$ac_cv_prog_AR
  6354. if test -n "$AR"; then
  6355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6356. $as_echo "$AR" >&6; }
  6357. else
  6358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6359. $as_echo "no" >&6; }
  6360. fi
  6361. test -n "$AR" && break
  6362. done
  6363. fi
  6364. if test -z "$AR"; then
  6365. ac_ct_AR=$AR
  6366. for ac_prog in ar
  6367. do
  6368. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6369. set dummy $ac_prog; ac_word=$2
  6370. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6371. $as_echo_n "checking for $ac_word... " >&6; }
  6372. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  6373. $as_echo_n "(cached) " >&6
  6374. else
  6375. if test -n "$ac_ct_AR"; then
  6376. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6377. else
  6378. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6379. for as_dir in $PATH
  6380. do
  6381. IFS=$as_save_IFS
  6382. test -z "$as_dir" && as_dir=.
  6383. for ac_exec_ext in '' $ac_executable_extensions; do
  6384. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6385. ac_cv_prog_ac_ct_AR="$ac_prog"
  6386. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6387. break 2
  6388. fi
  6389. done
  6390. done
  6391. IFS=$as_save_IFS
  6392. fi
  6393. fi
  6394. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6395. if test -n "$ac_ct_AR"; then
  6396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6397. $as_echo "$ac_ct_AR" >&6; }
  6398. else
  6399. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6400. $as_echo "no" >&6; }
  6401. fi
  6402. test -n "$ac_ct_AR" && break
  6403. done
  6404. if test "x$ac_ct_AR" = x; then
  6405. AR="false"
  6406. else
  6407. case $cross_compiling:$ac_tool_warned in
  6408. yes:)
  6409. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6410. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6411. ac_tool_warned=yes ;;
  6412. esac
  6413. AR=$ac_ct_AR
  6414. fi
  6415. fi
  6416. : ${AR=ar}
  6417. : ${AR_FLAGS=cru}
  6418. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  6419. $as_echo_n "checking for archiver @FILE support... " >&6; }
  6420. if ${lt_cv_ar_at_file+:} false; then :
  6421. $as_echo_n "(cached) " >&6
  6422. else
  6423. lt_cv_ar_at_file=no
  6424. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6425. /* end confdefs.h. */
  6426. int
  6427. main ()
  6428. {
  6429. ;
  6430. return 0;
  6431. }
  6432. _ACEOF
  6433. if ac_fn_c_try_compile "$LINENO"; then :
  6434. echo conftest.$ac_objext > conftest.lst
  6435. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  6436. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  6437. (eval $lt_ar_try) 2>&5
  6438. ac_status=$?
  6439. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6440. test $ac_status = 0; }
  6441. if test 0 -eq "$ac_status"; then
  6442. # Ensure the archiver fails upon bogus file names.
  6443. rm -f conftest.$ac_objext libconftest.a
  6444. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  6445. (eval $lt_ar_try) 2>&5
  6446. ac_status=$?
  6447. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6448. test $ac_status = 0; }
  6449. if test 0 -ne "$ac_status"; then
  6450. lt_cv_ar_at_file=@
  6451. fi
  6452. fi
  6453. rm -f conftest.* libconftest.a
  6454. fi
  6455. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6456. fi
  6457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  6458. $as_echo "$lt_cv_ar_at_file" >&6; }
  6459. if test no = "$lt_cv_ar_at_file"; then
  6460. archiver_list_spec=
  6461. else
  6462. archiver_list_spec=$lt_cv_ar_at_file
  6463. fi
  6464. if test -n "$ac_tool_prefix"; then
  6465. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6466. set dummy ${ac_tool_prefix}strip; ac_word=$2
  6467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6468. $as_echo_n "checking for $ac_word... " >&6; }
  6469. if ${ac_cv_prog_STRIP+:} false; then :
  6470. $as_echo_n "(cached) " >&6
  6471. else
  6472. if test -n "$STRIP"; then
  6473. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6474. else
  6475. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6476. for as_dir in $PATH
  6477. do
  6478. IFS=$as_save_IFS
  6479. test -z "$as_dir" && as_dir=.
  6480. for ac_exec_ext in '' $ac_executable_extensions; do
  6481. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6482. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6483. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6484. break 2
  6485. fi
  6486. done
  6487. done
  6488. IFS=$as_save_IFS
  6489. fi
  6490. fi
  6491. STRIP=$ac_cv_prog_STRIP
  6492. if test -n "$STRIP"; then
  6493. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6494. $as_echo "$STRIP" >&6; }
  6495. else
  6496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6497. $as_echo "no" >&6; }
  6498. fi
  6499. fi
  6500. if test -z "$ac_cv_prog_STRIP"; then
  6501. ac_ct_STRIP=$STRIP
  6502. # Extract the first word of "strip", so it can be a program name with args.
  6503. set dummy strip; ac_word=$2
  6504. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6505. $as_echo_n "checking for $ac_word... " >&6; }
  6506. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  6507. $as_echo_n "(cached) " >&6
  6508. else
  6509. if test -n "$ac_ct_STRIP"; then
  6510. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6511. else
  6512. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6513. for as_dir in $PATH
  6514. do
  6515. IFS=$as_save_IFS
  6516. test -z "$as_dir" && as_dir=.
  6517. for ac_exec_ext in '' $ac_executable_extensions; do
  6518. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6519. ac_cv_prog_ac_ct_STRIP="strip"
  6520. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6521. break 2
  6522. fi
  6523. done
  6524. done
  6525. IFS=$as_save_IFS
  6526. fi
  6527. fi
  6528. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6529. if test -n "$ac_ct_STRIP"; then
  6530. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6531. $as_echo "$ac_ct_STRIP" >&6; }
  6532. else
  6533. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6534. $as_echo "no" >&6; }
  6535. fi
  6536. if test "x$ac_ct_STRIP" = x; then
  6537. STRIP=":"
  6538. else
  6539. case $cross_compiling:$ac_tool_warned in
  6540. yes:)
  6541. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6542. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6543. ac_tool_warned=yes ;;
  6544. esac
  6545. STRIP=$ac_ct_STRIP
  6546. fi
  6547. else
  6548. STRIP="$ac_cv_prog_STRIP"
  6549. fi
  6550. test -z "$STRIP" && STRIP=:
  6551. if test -n "$ac_tool_prefix"; then
  6552. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6553. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6554. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6555. $as_echo_n "checking for $ac_word... " >&6; }
  6556. if ${ac_cv_prog_RANLIB+:} false; then :
  6557. $as_echo_n "(cached) " >&6
  6558. else
  6559. if test -n "$RANLIB"; then
  6560. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6561. else
  6562. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6563. for as_dir in $PATH
  6564. do
  6565. IFS=$as_save_IFS
  6566. test -z "$as_dir" && as_dir=.
  6567. for ac_exec_ext in '' $ac_executable_extensions; do
  6568. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6569. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6570. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6571. break 2
  6572. fi
  6573. done
  6574. done
  6575. IFS=$as_save_IFS
  6576. fi
  6577. fi
  6578. RANLIB=$ac_cv_prog_RANLIB
  6579. if test -n "$RANLIB"; then
  6580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6581. $as_echo "$RANLIB" >&6; }
  6582. else
  6583. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6584. $as_echo "no" >&6; }
  6585. fi
  6586. fi
  6587. if test -z "$ac_cv_prog_RANLIB"; then
  6588. ac_ct_RANLIB=$RANLIB
  6589. # Extract the first word of "ranlib", so it can be a program name with args.
  6590. set dummy ranlib; ac_word=$2
  6591. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6592. $as_echo_n "checking for $ac_word... " >&6; }
  6593. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  6594. $as_echo_n "(cached) " >&6
  6595. else
  6596. if test -n "$ac_ct_RANLIB"; then
  6597. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6598. else
  6599. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6600. for as_dir in $PATH
  6601. do
  6602. IFS=$as_save_IFS
  6603. test -z "$as_dir" && as_dir=.
  6604. for ac_exec_ext in '' $ac_executable_extensions; do
  6605. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6606. ac_cv_prog_ac_ct_RANLIB="ranlib"
  6607. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6608. break 2
  6609. fi
  6610. done
  6611. done
  6612. IFS=$as_save_IFS
  6613. fi
  6614. fi
  6615. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6616. if test -n "$ac_ct_RANLIB"; then
  6617. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6618. $as_echo "$ac_ct_RANLIB" >&6; }
  6619. else
  6620. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6621. $as_echo "no" >&6; }
  6622. fi
  6623. if test "x$ac_ct_RANLIB" = x; then
  6624. RANLIB=":"
  6625. else
  6626. case $cross_compiling:$ac_tool_warned in
  6627. yes:)
  6628. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6629. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6630. ac_tool_warned=yes ;;
  6631. esac
  6632. RANLIB=$ac_ct_RANLIB
  6633. fi
  6634. else
  6635. RANLIB="$ac_cv_prog_RANLIB"
  6636. fi
  6637. test -z "$RANLIB" && RANLIB=:
  6638. # Determine commands to create old-style static archives.
  6639. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6640. old_postinstall_cmds='chmod 644 $oldlib'
  6641. old_postuninstall_cmds=
  6642. if test -n "$RANLIB"; then
  6643. case $host_os in
  6644. bitrig* | openbsd*)
  6645. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  6646. ;;
  6647. *)
  6648. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  6649. ;;
  6650. esac
  6651. old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  6652. fi
  6653. case $host_os in
  6654. darwin*)
  6655. lock_old_archive_extraction=yes ;;
  6656. *)
  6657. lock_old_archive_extraction=no ;;
  6658. esac
  6659. # If no C compiler was specified, use CC.
  6660. LTCC=${LTCC-"$CC"}
  6661. # If no C compiler flags were specified, use CFLAGS.
  6662. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6663. # Allow CC to be a program name with arguments.
  6664. compiler=$CC
  6665. # Check for command to grab the raw symbol name followed by C symbol from nm.
  6666. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  6667. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6668. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  6669. $as_echo_n "(cached) " >&6
  6670. else
  6671. # These are sane defaults that work on at least a few old systems.
  6672. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  6673. # Character class describing NM global symbol codes.
  6674. symcode='[BCDEGRST]'
  6675. # Regexp to match symbols that can be accessed directly from C.
  6676. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6677. # Define system-specific variables.
  6678. case $host_os in
  6679. aix*)
  6680. symcode='[BCDT]'
  6681. ;;
  6682. cygwin* | mingw* | pw32* | cegcc*)
  6683. symcode='[ABCDGISTW]'
  6684. ;;
  6685. hpux*)
  6686. if test ia64 = "$host_cpu"; then
  6687. symcode='[ABCDEGRST]'
  6688. fi
  6689. ;;
  6690. irix* | nonstopux*)
  6691. symcode='[BCDEGRST]'
  6692. ;;
  6693. osf*)
  6694. symcode='[BCDEGQRST]'
  6695. ;;
  6696. solaris*)
  6697. symcode='[BDRT]'
  6698. ;;
  6699. sco3.2v5*)
  6700. symcode='[DT]'
  6701. ;;
  6702. sysv4.2uw2*)
  6703. symcode='[DT]'
  6704. ;;
  6705. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6706. symcode='[ABDT]'
  6707. ;;
  6708. sysv4)
  6709. symcode='[DFNSTU]'
  6710. ;;
  6711. esac
  6712. # If we're using GNU nm, then use its standard symbol codes.
  6713. case `$NM -V 2>&1` in
  6714. *GNU* | *'with BFD'*)
  6715. symcode='[ABCDGIRSTW]' ;;
  6716. esac
  6717. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6718. # Gets list of data symbols to import.
  6719. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  6720. # Adjust the below global symbol transforms to fixup imported variables.
  6721. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  6722. lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  6723. lt_c_name_lib_hook="\
  6724. -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  6725. -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  6726. else
  6727. # Disable hooks by default.
  6728. lt_cv_sys_global_symbol_to_import=
  6729. lt_cdecl_hook=
  6730. lt_c_name_hook=
  6731. lt_c_name_lib_hook=
  6732. fi
  6733. # Transform an extracted symbol line into a proper C declaration.
  6734. # Some systems (esp. on ia64) link data and code symbols differently,
  6735. # so use this general approach.
  6736. lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  6737. $lt_cdecl_hook\
  6738. " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  6739. " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  6740. # Transform an extracted symbol line into symbol name and symbol address
  6741. lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  6742. $lt_c_name_hook\
  6743. " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  6744. " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  6745. # Transform an extracted symbol line into symbol name with lib prefix and
  6746. # symbol address.
  6747. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  6748. $lt_c_name_lib_hook\
  6749. " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  6750. " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  6751. " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  6752. # Handle CRLF in mingw tool chain
  6753. opt_cr=
  6754. case $build_os in
  6755. mingw*)
  6756. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6757. ;;
  6758. esac
  6759. # Try without a prefix underscore, then with it.
  6760. for ac_symprfx in "" "_"; do
  6761. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6762. symxfrm="\\1 $ac_symprfx\\2 \\2"
  6763. # Write the raw and C identifiers.
  6764. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6765. # Fake it for dumpbin and say T for any non-static function,
  6766. # D for any global variable and I for any imported variable.
  6767. # Also find C++ and __fastcall symbols from MSVC++,
  6768. # which start with @ or ?.
  6769. lt_cv_sys_global_symbol_pipe="$AWK '"\
  6770. " {last_section=section; section=\$ 3};"\
  6771. " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  6772. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6773. " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  6774. " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  6775. " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  6776. " \$ 0!~/External *\|/{next};"\
  6777. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6778. " {if(hide[section]) next};"\
  6779. " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  6780. " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  6781. " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  6782. " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  6783. " ' prfx=^$ac_symprfx"
  6784. else
  6785. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6786. fi
  6787. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  6788. # Check to see that the pipe works correctly.
  6789. pipe_works=no
  6790. rm -f conftest*
  6791. cat > conftest.$ac_ext <<_LT_EOF
  6792. #ifdef __cplusplus
  6793. extern "C" {
  6794. #endif
  6795. char nm_test_var;
  6796. void nm_test_func(void);
  6797. void nm_test_func(void){}
  6798. #ifdef __cplusplus
  6799. }
  6800. #endif
  6801. int main(){nm_test_var='a';nm_test_func();return(0);}
  6802. _LT_EOF
  6803. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6804. (eval $ac_compile) 2>&5
  6805. ac_status=$?
  6806. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6807. test $ac_status = 0; }; then
  6808. # Now try to grab the symbols.
  6809. nlist=conftest.nm
  6810. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  6811. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  6812. ac_status=$?
  6813. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6814. test $ac_status = 0; } && test -s "$nlist"; then
  6815. # Try sorting and uniquifying the output.
  6816. if sort "$nlist" | uniq > "$nlist"T; then
  6817. mv -f "$nlist"T "$nlist"
  6818. else
  6819. rm -f "$nlist"T
  6820. fi
  6821. # Make sure that we snagged all the symbols we need.
  6822. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6823. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6824. cat <<_LT_EOF > conftest.$ac_ext
  6825. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  6826. #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  6827. /* DATA imports from DLLs on WIN32 can't be const, because runtime
  6828. relocations are performed -- see ld's documentation on pseudo-relocs. */
  6829. # define LT_DLSYM_CONST
  6830. #elif defined __osf__
  6831. /* This system does not cope well with relocations in const data. */
  6832. # define LT_DLSYM_CONST
  6833. #else
  6834. # define LT_DLSYM_CONST const
  6835. #endif
  6836. #ifdef __cplusplus
  6837. extern "C" {
  6838. #endif
  6839. _LT_EOF
  6840. # Now generate the symbol file.
  6841. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6842. cat <<_LT_EOF >> conftest.$ac_ext
  6843. /* The mapping between symbol names and symbols. */
  6844. LT_DLSYM_CONST struct {
  6845. const char *name;
  6846. void *address;
  6847. }
  6848. lt__PROGRAM__LTX_preloaded_symbols[] =
  6849. {
  6850. { "@PROGRAM@", (void *) 0 },
  6851. _LT_EOF
  6852. $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6853. cat <<\_LT_EOF >> conftest.$ac_ext
  6854. {0, (void *) 0}
  6855. };
  6856. /* This works around a problem in FreeBSD linker */
  6857. #ifdef FREEBSD_WORKAROUND
  6858. static const void *lt_preloaded_setup() {
  6859. return lt__PROGRAM__LTX_preloaded_symbols;
  6860. }
  6861. #endif
  6862. #ifdef __cplusplus
  6863. }
  6864. #endif
  6865. _LT_EOF
  6866. # Now try linking the two files.
  6867. mv conftest.$ac_objext conftstm.$ac_objext
  6868. lt_globsym_save_LIBS=$LIBS
  6869. lt_globsym_save_CFLAGS=$CFLAGS
  6870. LIBS=conftstm.$ac_objext
  6871. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6872. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  6873. (eval $ac_link) 2>&5
  6874. ac_status=$?
  6875. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6876. test $ac_status = 0; } && test -s conftest$ac_exeext; then
  6877. pipe_works=yes
  6878. fi
  6879. LIBS=$lt_globsym_save_LIBS
  6880. CFLAGS=$lt_globsym_save_CFLAGS
  6881. else
  6882. echo "cannot find nm_test_func in $nlist" >&5
  6883. fi
  6884. else
  6885. echo "cannot find nm_test_var in $nlist" >&5
  6886. fi
  6887. else
  6888. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6889. fi
  6890. else
  6891. echo "$progname: failed program was:" >&5
  6892. cat conftest.$ac_ext >&5
  6893. fi
  6894. rm -rf conftest* conftst*
  6895. # Do not use the global_symbol_pipe unless it works.
  6896. if test yes = "$pipe_works"; then
  6897. break
  6898. else
  6899. lt_cv_sys_global_symbol_pipe=
  6900. fi
  6901. done
  6902. fi
  6903. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6904. lt_cv_sys_global_symbol_to_cdecl=
  6905. fi
  6906. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6907. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  6908. $as_echo "failed" >&6; }
  6909. else
  6910. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  6911. $as_echo "ok" >&6; }
  6912. fi
  6913. # Response file support.
  6914. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6915. nm_file_list_spec='@'
  6916. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  6917. nm_file_list_spec='@'
  6918. fi
  6919. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  6920. $as_echo_n "checking for sysroot... " >&6; }
  6921. # Check whether --with-sysroot was given.
  6922. if test "${with_sysroot+set}" = set; then :
  6923. withval=$with_sysroot;
  6924. else
  6925. with_sysroot=no
  6926. fi
  6927. lt_sysroot=
  6928. case $with_sysroot in #(
  6929. yes)
  6930. if test yes = "$GCC"; then
  6931. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  6932. fi
  6933. ;; #(
  6934. /*)
  6935. lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  6936. ;; #(
  6937. no|'')
  6938. ;; #(
  6939. *)
  6940. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  6941. $as_echo "$with_sysroot" >&6; }
  6942. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  6943. ;;
  6944. esac
  6945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  6946. $as_echo "${lt_sysroot:-no}" >&6; }
  6947. # Check whether --enable-libtool-lock was given.
  6948. if test "${enable_libtool_lock+set}" = set; then :
  6949. enableval=$enable_libtool_lock;
  6950. fi
  6951. test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  6952. # Some flags need to be propagated to the compiler or linker for good
  6953. # libtool support.
  6954. case $host in
  6955. ia64-*-hpux*)
  6956. # Find out what ABI is being produced by ac_compile, and set mode
  6957. # options accordingly.
  6958. echo 'int i;' > conftest.$ac_ext
  6959. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6960. (eval $ac_compile) 2>&5
  6961. ac_status=$?
  6962. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6963. test $ac_status = 0; }; then
  6964. case `/usr/bin/file conftest.$ac_objext` in
  6965. *ELF-32*)
  6966. HPUX_IA64_MODE=32
  6967. ;;
  6968. *ELF-64*)
  6969. HPUX_IA64_MODE=64
  6970. ;;
  6971. esac
  6972. fi
  6973. rm -rf conftest*
  6974. ;;
  6975. *-*-irix6*)
  6976. # Find out what ABI is being produced by ac_compile, and set linker
  6977. # options accordingly.
  6978. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  6979. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6980. (eval $ac_compile) 2>&5
  6981. ac_status=$?
  6982. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6983. test $ac_status = 0; }; then
  6984. if test yes = "$lt_cv_prog_gnu_ld"; then
  6985. case `/usr/bin/file conftest.$ac_objext` in
  6986. *32-bit*)
  6987. LD="${LD-ld} -melf32bsmip"
  6988. ;;
  6989. *N32*)
  6990. LD="${LD-ld} -melf32bmipn32"
  6991. ;;
  6992. *64-bit*)
  6993. LD="${LD-ld} -melf64bmip"
  6994. ;;
  6995. esac
  6996. else
  6997. case `/usr/bin/file conftest.$ac_objext` in
  6998. *32-bit*)
  6999. LD="${LD-ld} -32"
  7000. ;;
  7001. *N32*)
  7002. LD="${LD-ld} -n32"
  7003. ;;
  7004. *64-bit*)
  7005. LD="${LD-ld} -64"
  7006. ;;
  7007. esac
  7008. fi
  7009. fi
  7010. rm -rf conftest*
  7011. ;;
  7012. mips64*-*linux*)
  7013. # Find out what ABI is being produced by ac_compile, and set linker
  7014. # options accordingly.
  7015. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  7016. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7017. (eval $ac_compile) 2>&5
  7018. ac_status=$?
  7019. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7020. test $ac_status = 0; }; then
  7021. emul=elf
  7022. case `/usr/bin/file conftest.$ac_objext` in
  7023. *32-bit*)
  7024. emul="${emul}32"
  7025. ;;
  7026. *64-bit*)
  7027. emul="${emul}64"
  7028. ;;
  7029. esac
  7030. case `/usr/bin/file conftest.$ac_objext` in
  7031. *MSB*)
  7032. emul="${emul}btsmip"
  7033. ;;
  7034. *LSB*)
  7035. emul="${emul}ltsmip"
  7036. ;;
  7037. esac
  7038. case `/usr/bin/file conftest.$ac_objext` in
  7039. *N32*)
  7040. emul="${emul}n32"
  7041. ;;
  7042. esac
  7043. LD="${LD-ld} -m $emul"
  7044. fi
  7045. rm -rf conftest*
  7046. ;;
  7047. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  7048. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  7049. # Find out what ABI is being produced by ac_compile, and set linker
  7050. # options accordingly. Note that the listed cases only cover the
  7051. # situations where additional linker options are needed (such as when
  7052. # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  7053. # vice versa); the common cases where no linker options are needed do
  7054. # not appear in the list.
  7055. echo 'int i;' > conftest.$ac_ext
  7056. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7057. (eval $ac_compile) 2>&5
  7058. ac_status=$?
  7059. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7060. test $ac_status = 0; }; then
  7061. case `/usr/bin/file conftest.o` in
  7062. *32-bit*)
  7063. case $host in
  7064. x86_64-*kfreebsd*-gnu)
  7065. LD="${LD-ld} -m elf_i386_fbsd"
  7066. ;;
  7067. x86_64-*linux*)
  7068. case `/usr/bin/file conftest.o` in
  7069. *x86-64*)
  7070. LD="${LD-ld} -m elf32_x86_64"
  7071. ;;
  7072. *)
  7073. LD="${LD-ld} -m elf_i386"
  7074. ;;
  7075. esac
  7076. ;;
  7077. powerpc64le-*linux*)
  7078. LD="${LD-ld} -m elf32lppclinux"
  7079. ;;
  7080. powerpc64-*linux*)
  7081. LD="${LD-ld} -m elf32ppclinux"
  7082. ;;
  7083. s390x-*linux*)
  7084. LD="${LD-ld} -m elf_s390"
  7085. ;;
  7086. sparc64-*linux*)
  7087. LD="${LD-ld} -m elf32_sparc"
  7088. ;;
  7089. esac
  7090. ;;
  7091. *64-bit*)
  7092. case $host in
  7093. x86_64-*kfreebsd*-gnu)
  7094. LD="${LD-ld} -m elf_x86_64_fbsd"
  7095. ;;
  7096. x86_64-*linux*)
  7097. LD="${LD-ld} -m elf_x86_64"
  7098. ;;
  7099. powerpcle-*linux*)
  7100. LD="${LD-ld} -m elf64lppc"
  7101. ;;
  7102. powerpc-*linux*)
  7103. LD="${LD-ld} -m elf64ppc"
  7104. ;;
  7105. s390*-*linux*|s390*-*tpf*)
  7106. LD="${LD-ld} -m elf64_s390"
  7107. ;;
  7108. sparc*-*linux*)
  7109. LD="${LD-ld} -m elf64_sparc"
  7110. ;;
  7111. esac
  7112. ;;
  7113. esac
  7114. fi
  7115. rm -rf conftest*
  7116. ;;
  7117. *-*-sco3.2v5*)
  7118. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  7119. SAVE_CFLAGS=$CFLAGS
  7120. CFLAGS="$CFLAGS -belf"
  7121. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  7122. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  7123. if ${lt_cv_cc_needs_belf+:} false; then :
  7124. $as_echo_n "(cached) " >&6
  7125. else
  7126. ac_ext=c
  7127. ac_cpp='$CPP $CPPFLAGS'
  7128. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7129. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7130. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7131. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7132. /* end confdefs.h. */
  7133. int
  7134. main ()
  7135. {
  7136. ;
  7137. return 0;
  7138. }
  7139. _ACEOF
  7140. if ac_fn_c_try_link "$LINENO"; then :
  7141. lt_cv_cc_needs_belf=yes
  7142. else
  7143. lt_cv_cc_needs_belf=no
  7144. fi
  7145. rm -f core conftest.err conftest.$ac_objext \
  7146. conftest$ac_exeext conftest.$ac_ext
  7147. ac_ext=c
  7148. ac_cpp='$CPP $CPPFLAGS'
  7149. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7150. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7151. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7152. fi
  7153. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  7154. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  7155. if test yes != "$lt_cv_cc_needs_belf"; then
  7156. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  7157. CFLAGS=$SAVE_CFLAGS
  7158. fi
  7159. ;;
  7160. *-*solaris*)
  7161. # Find out what ABI is being produced by ac_compile, and set linker
  7162. # options accordingly.
  7163. echo 'int i;' > conftest.$ac_ext
  7164. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7165. (eval $ac_compile) 2>&5
  7166. ac_status=$?
  7167. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7168. test $ac_status = 0; }; then
  7169. case `/usr/bin/file conftest.o` in
  7170. *64-bit*)
  7171. case $lt_cv_prog_gnu_ld in
  7172. yes*)
  7173. case $host in
  7174. i?86-*-solaris*|x86_64-*-solaris*)
  7175. LD="${LD-ld} -m elf_x86_64"
  7176. ;;
  7177. sparc*-*-solaris*)
  7178. LD="${LD-ld} -m elf64_sparc"
  7179. ;;
  7180. esac
  7181. # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  7182. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  7183. LD=${LD-ld}_sol2
  7184. fi
  7185. ;;
  7186. *)
  7187. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  7188. LD="${LD-ld} -64"
  7189. fi
  7190. ;;
  7191. esac
  7192. ;;
  7193. esac
  7194. fi
  7195. rm -rf conftest*
  7196. ;;
  7197. esac
  7198. need_locks=$enable_libtool_lock
  7199. if test -n "$ac_tool_prefix"; then
  7200. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  7201. set dummy ${ac_tool_prefix}mt; ac_word=$2
  7202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7203. $as_echo_n "checking for $ac_word... " >&6; }
  7204. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  7205. $as_echo_n "(cached) " >&6
  7206. else
  7207. if test -n "$MANIFEST_TOOL"; then
  7208. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  7209. else
  7210. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7211. for as_dir in $PATH
  7212. do
  7213. IFS=$as_save_IFS
  7214. test -z "$as_dir" && as_dir=.
  7215. for ac_exec_ext in '' $ac_executable_extensions; do
  7216. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7217. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  7218. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7219. break 2
  7220. fi
  7221. done
  7222. done
  7223. IFS=$as_save_IFS
  7224. fi
  7225. fi
  7226. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  7227. if test -n "$MANIFEST_TOOL"; then
  7228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  7229. $as_echo "$MANIFEST_TOOL" >&6; }
  7230. else
  7231. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7232. $as_echo "no" >&6; }
  7233. fi
  7234. fi
  7235. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  7236. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  7237. # Extract the first word of "mt", so it can be a program name with args.
  7238. set dummy mt; ac_word=$2
  7239. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7240. $as_echo_n "checking for $ac_word... " >&6; }
  7241. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  7242. $as_echo_n "(cached) " >&6
  7243. else
  7244. if test -n "$ac_ct_MANIFEST_TOOL"; then
  7245. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  7246. else
  7247. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7248. for as_dir in $PATH
  7249. do
  7250. IFS=$as_save_IFS
  7251. test -z "$as_dir" && as_dir=.
  7252. for ac_exec_ext in '' $ac_executable_extensions; do
  7253. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7254. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  7255. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7256. break 2
  7257. fi
  7258. done
  7259. done
  7260. IFS=$as_save_IFS
  7261. fi
  7262. fi
  7263. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  7264. if test -n "$ac_ct_MANIFEST_TOOL"; then
  7265. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  7266. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  7267. else
  7268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7269. $as_echo "no" >&6; }
  7270. fi
  7271. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  7272. MANIFEST_TOOL=":"
  7273. else
  7274. case $cross_compiling:$ac_tool_warned in
  7275. yes:)
  7276. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7277. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7278. ac_tool_warned=yes ;;
  7279. esac
  7280. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  7281. fi
  7282. else
  7283. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  7284. fi
  7285. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  7286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  7287. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  7288. if ${lt_cv_path_mainfest_tool+:} false; then :
  7289. $as_echo_n "(cached) " >&6
  7290. else
  7291. lt_cv_path_mainfest_tool=no
  7292. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  7293. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  7294. cat conftest.err >&5
  7295. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  7296. lt_cv_path_mainfest_tool=yes
  7297. fi
  7298. rm -f conftest*
  7299. fi
  7300. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  7301. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  7302. if test yes != "$lt_cv_path_mainfest_tool"; then
  7303. MANIFEST_TOOL=:
  7304. fi
  7305. case $host_os in
  7306. rhapsody* | darwin*)
  7307. if test -n "$ac_tool_prefix"; then
  7308. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7309. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7311. $as_echo_n "checking for $ac_word... " >&6; }
  7312. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  7313. $as_echo_n "(cached) " >&6
  7314. else
  7315. if test -n "$DSYMUTIL"; then
  7316. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7317. else
  7318. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7319. for as_dir in $PATH
  7320. do
  7321. IFS=$as_save_IFS
  7322. test -z "$as_dir" && as_dir=.
  7323. for ac_exec_ext in '' $ac_executable_extensions; do
  7324. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7325. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7326. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7327. break 2
  7328. fi
  7329. done
  7330. done
  7331. IFS=$as_save_IFS
  7332. fi
  7333. fi
  7334. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7335. if test -n "$DSYMUTIL"; then
  7336. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  7337. $as_echo "$DSYMUTIL" >&6; }
  7338. else
  7339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7340. $as_echo "no" >&6; }
  7341. fi
  7342. fi
  7343. if test -z "$ac_cv_prog_DSYMUTIL"; then
  7344. ac_ct_DSYMUTIL=$DSYMUTIL
  7345. # Extract the first word of "dsymutil", so it can be a program name with args.
  7346. set dummy dsymutil; ac_word=$2
  7347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7348. $as_echo_n "checking for $ac_word... " >&6; }
  7349. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  7350. $as_echo_n "(cached) " >&6
  7351. else
  7352. if test -n "$ac_ct_DSYMUTIL"; then
  7353. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7354. else
  7355. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7356. for as_dir in $PATH
  7357. do
  7358. IFS=$as_save_IFS
  7359. test -z "$as_dir" && as_dir=.
  7360. for ac_exec_ext in '' $ac_executable_extensions; do
  7361. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7362. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7363. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7364. break 2
  7365. fi
  7366. done
  7367. done
  7368. IFS=$as_save_IFS
  7369. fi
  7370. fi
  7371. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7372. if test -n "$ac_ct_DSYMUTIL"; then
  7373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  7374. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  7375. else
  7376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7377. $as_echo "no" >&6; }
  7378. fi
  7379. if test "x$ac_ct_DSYMUTIL" = x; then
  7380. DSYMUTIL=":"
  7381. else
  7382. case $cross_compiling:$ac_tool_warned in
  7383. yes:)
  7384. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7385. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7386. ac_tool_warned=yes ;;
  7387. esac
  7388. DSYMUTIL=$ac_ct_DSYMUTIL
  7389. fi
  7390. else
  7391. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7392. fi
  7393. if test -n "$ac_tool_prefix"; then
  7394. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7395. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7397. $as_echo_n "checking for $ac_word... " >&6; }
  7398. if ${ac_cv_prog_NMEDIT+:} false; then :
  7399. $as_echo_n "(cached) " >&6
  7400. else
  7401. if test -n "$NMEDIT"; then
  7402. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7403. else
  7404. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7405. for as_dir in $PATH
  7406. do
  7407. IFS=$as_save_IFS
  7408. test -z "$as_dir" && as_dir=.
  7409. for ac_exec_ext in '' $ac_executable_extensions; do
  7410. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7411. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7412. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7413. break 2
  7414. fi
  7415. done
  7416. done
  7417. IFS=$as_save_IFS
  7418. fi
  7419. fi
  7420. NMEDIT=$ac_cv_prog_NMEDIT
  7421. if test -n "$NMEDIT"; then
  7422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  7423. $as_echo "$NMEDIT" >&6; }
  7424. else
  7425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7426. $as_echo "no" >&6; }
  7427. fi
  7428. fi
  7429. if test -z "$ac_cv_prog_NMEDIT"; then
  7430. ac_ct_NMEDIT=$NMEDIT
  7431. # Extract the first word of "nmedit", so it can be a program name with args.
  7432. set dummy nmedit; ac_word=$2
  7433. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7434. $as_echo_n "checking for $ac_word... " >&6; }
  7435. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  7436. $as_echo_n "(cached) " >&6
  7437. else
  7438. if test -n "$ac_ct_NMEDIT"; then
  7439. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7440. else
  7441. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7442. for as_dir in $PATH
  7443. do
  7444. IFS=$as_save_IFS
  7445. test -z "$as_dir" && as_dir=.
  7446. for ac_exec_ext in '' $ac_executable_extensions; do
  7447. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7448. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7449. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7450. break 2
  7451. fi
  7452. done
  7453. done
  7454. IFS=$as_save_IFS
  7455. fi
  7456. fi
  7457. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7458. if test -n "$ac_ct_NMEDIT"; then
  7459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  7460. $as_echo "$ac_ct_NMEDIT" >&6; }
  7461. else
  7462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7463. $as_echo "no" >&6; }
  7464. fi
  7465. if test "x$ac_ct_NMEDIT" = x; then
  7466. NMEDIT=":"
  7467. else
  7468. case $cross_compiling:$ac_tool_warned in
  7469. yes:)
  7470. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7471. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7472. ac_tool_warned=yes ;;
  7473. esac
  7474. NMEDIT=$ac_ct_NMEDIT
  7475. fi
  7476. else
  7477. NMEDIT="$ac_cv_prog_NMEDIT"
  7478. fi
  7479. if test -n "$ac_tool_prefix"; then
  7480. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  7481. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  7482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7483. $as_echo_n "checking for $ac_word... " >&6; }
  7484. if ${ac_cv_prog_LIPO+:} false; then :
  7485. $as_echo_n "(cached) " >&6
  7486. else
  7487. if test -n "$LIPO"; then
  7488. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7489. else
  7490. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7491. for as_dir in $PATH
  7492. do
  7493. IFS=$as_save_IFS
  7494. test -z "$as_dir" && as_dir=.
  7495. for ac_exec_ext in '' $ac_executable_extensions; do
  7496. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7497. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7498. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7499. break 2
  7500. fi
  7501. done
  7502. done
  7503. IFS=$as_save_IFS
  7504. fi
  7505. fi
  7506. LIPO=$ac_cv_prog_LIPO
  7507. if test -n "$LIPO"; then
  7508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7509. $as_echo "$LIPO" >&6; }
  7510. else
  7511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7512. $as_echo "no" >&6; }
  7513. fi
  7514. fi
  7515. if test -z "$ac_cv_prog_LIPO"; then
  7516. ac_ct_LIPO=$LIPO
  7517. # Extract the first word of "lipo", so it can be a program name with args.
  7518. set dummy lipo; ac_word=$2
  7519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7520. $as_echo_n "checking for $ac_word... " >&6; }
  7521. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  7522. $as_echo_n "(cached) " >&6
  7523. else
  7524. if test -n "$ac_ct_LIPO"; then
  7525. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7526. else
  7527. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7528. for as_dir in $PATH
  7529. do
  7530. IFS=$as_save_IFS
  7531. test -z "$as_dir" && as_dir=.
  7532. for ac_exec_ext in '' $ac_executable_extensions; do
  7533. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7534. ac_cv_prog_ac_ct_LIPO="lipo"
  7535. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7536. break 2
  7537. fi
  7538. done
  7539. done
  7540. IFS=$as_save_IFS
  7541. fi
  7542. fi
  7543. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7544. if test -n "$ac_ct_LIPO"; then
  7545. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7546. $as_echo "$ac_ct_LIPO" >&6; }
  7547. else
  7548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7549. $as_echo "no" >&6; }
  7550. fi
  7551. if test "x$ac_ct_LIPO" = x; then
  7552. LIPO=":"
  7553. else
  7554. case $cross_compiling:$ac_tool_warned in
  7555. yes:)
  7556. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7557. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7558. ac_tool_warned=yes ;;
  7559. esac
  7560. LIPO=$ac_ct_LIPO
  7561. fi
  7562. else
  7563. LIPO="$ac_cv_prog_LIPO"
  7564. fi
  7565. if test -n "$ac_tool_prefix"; then
  7566. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7567. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7569. $as_echo_n "checking for $ac_word... " >&6; }
  7570. if ${ac_cv_prog_OTOOL+:} false; then :
  7571. $as_echo_n "(cached) " >&6
  7572. else
  7573. if test -n "$OTOOL"; then
  7574. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7575. else
  7576. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7577. for as_dir in $PATH
  7578. do
  7579. IFS=$as_save_IFS
  7580. test -z "$as_dir" && as_dir=.
  7581. for ac_exec_ext in '' $ac_executable_extensions; do
  7582. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7583. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7584. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7585. break 2
  7586. fi
  7587. done
  7588. done
  7589. IFS=$as_save_IFS
  7590. fi
  7591. fi
  7592. OTOOL=$ac_cv_prog_OTOOL
  7593. if test -n "$OTOOL"; then
  7594. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7595. $as_echo "$OTOOL" >&6; }
  7596. else
  7597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7598. $as_echo "no" >&6; }
  7599. fi
  7600. fi
  7601. if test -z "$ac_cv_prog_OTOOL"; then
  7602. ac_ct_OTOOL=$OTOOL
  7603. # Extract the first word of "otool", so it can be a program name with args.
  7604. set dummy otool; ac_word=$2
  7605. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7606. $as_echo_n "checking for $ac_word... " >&6; }
  7607. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7608. $as_echo_n "(cached) " >&6
  7609. else
  7610. if test -n "$ac_ct_OTOOL"; then
  7611. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7612. else
  7613. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7614. for as_dir in $PATH
  7615. do
  7616. IFS=$as_save_IFS
  7617. test -z "$as_dir" && as_dir=.
  7618. for ac_exec_ext in '' $ac_executable_extensions; do
  7619. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7620. ac_cv_prog_ac_ct_OTOOL="otool"
  7621. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7622. break 2
  7623. fi
  7624. done
  7625. done
  7626. IFS=$as_save_IFS
  7627. fi
  7628. fi
  7629. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7630. if test -n "$ac_ct_OTOOL"; then
  7631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7632. $as_echo "$ac_ct_OTOOL" >&6; }
  7633. else
  7634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7635. $as_echo "no" >&6; }
  7636. fi
  7637. if test "x$ac_ct_OTOOL" = x; then
  7638. OTOOL=":"
  7639. else
  7640. case $cross_compiling:$ac_tool_warned in
  7641. yes:)
  7642. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7643. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7644. ac_tool_warned=yes ;;
  7645. esac
  7646. OTOOL=$ac_ct_OTOOL
  7647. fi
  7648. else
  7649. OTOOL="$ac_cv_prog_OTOOL"
  7650. fi
  7651. if test -n "$ac_tool_prefix"; then
  7652. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7653. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7655. $as_echo_n "checking for $ac_word... " >&6; }
  7656. if ${ac_cv_prog_OTOOL64+:} false; then :
  7657. $as_echo_n "(cached) " >&6
  7658. else
  7659. if test -n "$OTOOL64"; then
  7660. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7661. else
  7662. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7663. for as_dir in $PATH
  7664. do
  7665. IFS=$as_save_IFS
  7666. test -z "$as_dir" && as_dir=.
  7667. for ac_exec_ext in '' $ac_executable_extensions; do
  7668. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7669. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7670. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7671. break 2
  7672. fi
  7673. done
  7674. done
  7675. IFS=$as_save_IFS
  7676. fi
  7677. fi
  7678. OTOOL64=$ac_cv_prog_OTOOL64
  7679. if test -n "$OTOOL64"; then
  7680. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  7681. $as_echo "$OTOOL64" >&6; }
  7682. else
  7683. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7684. $as_echo "no" >&6; }
  7685. fi
  7686. fi
  7687. if test -z "$ac_cv_prog_OTOOL64"; then
  7688. ac_ct_OTOOL64=$OTOOL64
  7689. # Extract the first word of "otool64", so it can be a program name with args.
  7690. set dummy otool64; ac_word=$2
  7691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7692. $as_echo_n "checking for $ac_word... " >&6; }
  7693. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  7694. $as_echo_n "(cached) " >&6
  7695. else
  7696. if test -n "$ac_ct_OTOOL64"; then
  7697. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7698. else
  7699. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7700. for as_dir in $PATH
  7701. do
  7702. IFS=$as_save_IFS
  7703. test -z "$as_dir" && as_dir=.
  7704. for ac_exec_ext in '' $ac_executable_extensions; do
  7705. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7706. ac_cv_prog_ac_ct_OTOOL64="otool64"
  7707. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7708. break 2
  7709. fi
  7710. done
  7711. done
  7712. IFS=$as_save_IFS
  7713. fi
  7714. fi
  7715. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7716. if test -n "$ac_ct_OTOOL64"; then
  7717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  7718. $as_echo "$ac_ct_OTOOL64" >&6; }
  7719. else
  7720. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7721. $as_echo "no" >&6; }
  7722. fi
  7723. if test "x$ac_ct_OTOOL64" = x; then
  7724. OTOOL64=":"
  7725. else
  7726. case $cross_compiling:$ac_tool_warned in
  7727. yes:)
  7728. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7729. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7730. ac_tool_warned=yes ;;
  7731. esac
  7732. OTOOL64=$ac_ct_OTOOL64
  7733. fi
  7734. else
  7735. OTOOL64="$ac_cv_prog_OTOOL64"
  7736. fi
  7737. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  7738. $as_echo_n "checking for -single_module linker flag... " >&6; }
  7739. if ${lt_cv_apple_cc_single_mod+:} false; then :
  7740. $as_echo_n "(cached) " >&6
  7741. else
  7742. lt_cv_apple_cc_single_mod=no
  7743. if test -z "$LT_MULTI_MODULE"; then
  7744. # By default we will add the -single_module flag. You can override
  7745. # by either setting the environment variable LT_MULTI_MODULE
  7746. # non-empty at configure time, or by adding -multi_module to the
  7747. # link flags.
  7748. rm -rf libconftest.dylib*
  7749. echo "int foo(void){return 1;}" > conftest.c
  7750. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7751. -dynamiclib -Wl,-single_module conftest.c" >&5
  7752. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7753. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7754. _lt_result=$?
  7755. # If there is a non-empty error log, and "single_module"
  7756. # appears in it, assume the flag caused a linker warning
  7757. if test -s conftest.err && $GREP single_module conftest.err; then
  7758. cat conftest.err >&5
  7759. # Otherwise, if the output was created with a 0 exit code from
  7760. # the compiler, it worked.
  7761. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  7762. lt_cv_apple_cc_single_mod=yes
  7763. else
  7764. cat conftest.err >&5
  7765. fi
  7766. rm -rf libconftest.dylib*
  7767. rm -f conftest.*
  7768. fi
  7769. fi
  7770. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  7771. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7772. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  7773. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7774. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  7775. $as_echo_n "(cached) " >&6
  7776. else
  7777. lt_cv_ld_exported_symbols_list=no
  7778. save_LDFLAGS=$LDFLAGS
  7779. echo "_main" > conftest.sym
  7780. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7781. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7782. /* end confdefs.h. */
  7783. int
  7784. main ()
  7785. {
  7786. ;
  7787. return 0;
  7788. }
  7789. _ACEOF
  7790. if ac_fn_c_try_link "$LINENO"; then :
  7791. lt_cv_ld_exported_symbols_list=yes
  7792. else
  7793. lt_cv_ld_exported_symbols_list=no
  7794. fi
  7795. rm -f core conftest.err conftest.$ac_objext \
  7796. conftest$ac_exeext conftest.$ac_ext
  7797. LDFLAGS=$save_LDFLAGS
  7798. fi
  7799. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  7800. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7801. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  7802. $as_echo_n "checking for -force_load linker flag... " >&6; }
  7803. if ${lt_cv_ld_force_load+:} false; then :
  7804. $as_echo_n "(cached) " >&6
  7805. else
  7806. lt_cv_ld_force_load=no
  7807. cat > conftest.c << _LT_EOF
  7808. int forced_loaded() { return 2;}
  7809. _LT_EOF
  7810. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  7811. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  7812. echo "$AR cru libconftest.a conftest.o" >&5
  7813. $AR cru libconftest.a conftest.o 2>&5
  7814. echo "$RANLIB libconftest.a" >&5
  7815. $RANLIB libconftest.a 2>&5
  7816. cat > conftest.c << _LT_EOF
  7817. int main() { return 0;}
  7818. _LT_EOF
  7819. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  7820. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  7821. _lt_result=$?
  7822. if test -s conftest.err && $GREP force_load conftest.err; then
  7823. cat conftest.err >&5
  7824. elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  7825. lt_cv_ld_force_load=yes
  7826. else
  7827. cat conftest.err >&5
  7828. fi
  7829. rm -f conftest.err libconftest.a conftest conftest.c
  7830. rm -rf conftest.dSYM
  7831. fi
  7832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  7833. $as_echo "$lt_cv_ld_force_load" >&6; }
  7834. case $host_os in
  7835. rhapsody* | darwin1.[012])
  7836. _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  7837. darwin1.*)
  7838. _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  7839. darwin*) # darwin 5.x on
  7840. # if running on 10.5 or later, the deployment target defaults
  7841. # to the OS version, if on x86, and 10.4, the deployment
  7842. # target defaults to 10.4. Don't you love it?
  7843. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7844. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7845. _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  7846. 10.[012]*)
  7847. _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  7848. 10.*)
  7849. _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  7850. esac
  7851. ;;
  7852. esac
  7853. if test yes = "$lt_cv_apple_cc_single_mod"; then
  7854. _lt_dar_single_mod='$single_module'
  7855. fi
  7856. if test yes = "$lt_cv_ld_exported_symbols_list"; then
  7857. _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  7858. else
  7859. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  7860. fi
  7861. if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  7862. _lt_dsymutil='~$DSYMUTIL $lib || :'
  7863. else
  7864. _lt_dsymutil=
  7865. fi
  7866. ;;
  7867. esac
  7868. for ac_header in dlfcn.h
  7869. do :
  7870. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7871. "
  7872. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  7873. cat >>confdefs.h <<_ACEOF
  7874. #define HAVE_DLFCN_H 1
  7875. _ACEOF
  7876. fi
  7877. done
  7878. # Set options
  7879. enable_dlopen=no
  7880. enable_win32_dll=no
  7881. # Check whether --with-pic was given.
  7882. if test "${with_pic+set}" = set; then :
  7883. withval=$with_pic; lt_p=${PACKAGE-default}
  7884. case $withval in
  7885. yes|no) pic_mode=$withval ;;
  7886. *)
  7887. pic_mode=default
  7888. # Look at the argument we got. We use all the common list separators.
  7889. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  7890. for lt_pkg in $withval; do
  7891. IFS=$lt_save_ifs
  7892. if test "X$lt_pkg" = "X$lt_p"; then
  7893. pic_mode=yes
  7894. fi
  7895. done
  7896. IFS=$lt_save_ifs
  7897. ;;
  7898. esac
  7899. else
  7900. pic_mode=default
  7901. fi
  7902. # Check whether --enable-fast-install was given.
  7903. if test "${enable_fast_install+set}" = set; then :
  7904. enableval=$enable_fast_install; p=${PACKAGE-default}
  7905. case $enableval in
  7906. yes) enable_fast_install=yes ;;
  7907. no) enable_fast_install=no ;;
  7908. *)
  7909. enable_fast_install=no
  7910. # Look at the argument we got. We use all the common list separators.
  7911. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  7912. for pkg in $enableval; do
  7913. IFS=$lt_save_ifs
  7914. if test "X$pkg" = "X$p"; then
  7915. enable_fast_install=yes
  7916. fi
  7917. done
  7918. IFS=$lt_save_ifs
  7919. ;;
  7920. esac
  7921. else
  7922. enable_fast_install=yes
  7923. fi
  7924. # This can be used to rebuild libtool when needed
  7925. LIBTOOL_DEPS=$ltmain
  7926. # Always use our own libtool.
  7927. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7928. test -z "$LN_S" && LN_S="ln -s"
  7929. if test -n "${ZSH_VERSION+set}"; then
  7930. setopt NO_GLOB_SUBST
  7931. fi
  7932. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7933. $as_echo_n "checking for objdir... " >&6; }
  7934. if ${lt_cv_objdir+:} false; then :
  7935. $as_echo_n "(cached) " >&6
  7936. else
  7937. rm -f .libs 2>/dev/null
  7938. mkdir .libs 2>/dev/null
  7939. if test -d .libs; then
  7940. lt_cv_objdir=.libs
  7941. else
  7942. # MS-DOS does not allow filenames that begin with a dot.
  7943. lt_cv_objdir=_libs
  7944. fi
  7945. rmdir .libs 2>/dev/null
  7946. fi
  7947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7948. $as_echo "$lt_cv_objdir" >&6; }
  7949. objdir=$lt_cv_objdir
  7950. cat >>confdefs.h <<_ACEOF
  7951. #define LT_OBJDIR "$lt_cv_objdir/"
  7952. _ACEOF
  7953. case $host_os in
  7954. aix3*)
  7955. # AIX sometimes has problems with the GCC collect2 program. For some
  7956. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7957. # vanish in a puff of smoke.
  7958. if test set != "${COLLECT_NAMES+set}"; then
  7959. COLLECT_NAMES=
  7960. export COLLECT_NAMES
  7961. fi
  7962. ;;
  7963. esac
  7964. # Global variables:
  7965. ofile=libtool
  7966. can_build_shared=yes
  7967. # All known linkers require a '.a' archive for static linking (except MSVC,
  7968. # which needs '.lib').
  7969. libext=a
  7970. with_gnu_ld=$lt_cv_prog_gnu_ld
  7971. old_CC=$CC
  7972. old_CFLAGS=$CFLAGS
  7973. # Set sane defaults for various variables
  7974. test -z "$CC" && CC=cc
  7975. test -z "$LTCC" && LTCC=$CC
  7976. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7977. test -z "$LD" && LD=ld
  7978. test -z "$ac_objext" && ac_objext=o
  7979. for cc_temp in $compiler""; do
  7980. case $cc_temp in
  7981. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7982. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7983. \-*) ;;
  7984. *) break;;
  7985. esac
  7986. done
  7987. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  7988. # Only perform the check for file, if the check method requires it
  7989. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7990. case $deplibs_check_method in
  7991. file_magic*)
  7992. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7993. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7994. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7995. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7996. $as_echo_n "(cached) " >&6
  7997. else
  7998. case $MAGIC_CMD in
  7999. [\\/*] | ?:[\\/]*)
  8000. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  8001. ;;
  8002. *)
  8003. lt_save_MAGIC_CMD=$MAGIC_CMD
  8004. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  8005. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8006. for ac_dir in $ac_dummy; do
  8007. IFS=$lt_save_ifs
  8008. test -z "$ac_dir" && ac_dir=.
  8009. if test -f "$ac_dir/${ac_tool_prefix}file"; then
  8010. lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  8011. if test -n "$file_magic_test_file"; then
  8012. case $deplibs_check_method in
  8013. "file_magic "*)
  8014. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8015. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  8016. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8017. $EGREP "$file_magic_regex" > /dev/null; then
  8018. :
  8019. else
  8020. cat <<_LT_EOF 1>&2
  8021. *** Warning: the command libtool uses to detect shared libraries,
  8022. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8023. *** The result is that libtool may fail to recognize shared libraries
  8024. *** as such. This will affect the creation of libtool libraries that
  8025. *** depend on shared libraries, but programs linked with such libtool
  8026. *** libraries will work regardless of this problem. Nevertheless, you
  8027. *** may want to report the problem to your system manager and/or to
  8028. *** bug-libtool@gnu.org
  8029. _LT_EOF
  8030. fi ;;
  8031. esac
  8032. fi
  8033. break
  8034. fi
  8035. done
  8036. IFS=$lt_save_ifs
  8037. MAGIC_CMD=$lt_save_MAGIC_CMD
  8038. ;;
  8039. esac
  8040. fi
  8041. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  8042. if test -n "$MAGIC_CMD"; then
  8043. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8044. $as_echo "$MAGIC_CMD" >&6; }
  8045. else
  8046. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8047. $as_echo "no" >&6; }
  8048. fi
  8049. if test -z "$lt_cv_path_MAGIC_CMD"; then
  8050. if test -n "$ac_tool_prefix"; then
  8051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  8052. $as_echo_n "checking for file... " >&6; }
  8053. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8054. $as_echo_n "(cached) " >&6
  8055. else
  8056. case $MAGIC_CMD in
  8057. [\\/*] | ?:[\\/]*)
  8058. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  8059. ;;
  8060. *)
  8061. lt_save_MAGIC_CMD=$MAGIC_CMD
  8062. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  8063. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8064. for ac_dir in $ac_dummy; do
  8065. IFS=$lt_save_ifs
  8066. test -z "$ac_dir" && ac_dir=.
  8067. if test -f "$ac_dir/file"; then
  8068. lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  8069. if test -n "$file_magic_test_file"; then
  8070. case $deplibs_check_method in
  8071. "file_magic "*)
  8072. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8073. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  8074. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8075. $EGREP "$file_magic_regex" > /dev/null; then
  8076. :
  8077. else
  8078. cat <<_LT_EOF 1>&2
  8079. *** Warning: the command libtool uses to detect shared libraries,
  8080. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8081. *** The result is that libtool may fail to recognize shared libraries
  8082. *** as such. This will affect the creation of libtool libraries that
  8083. *** depend on shared libraries, but programs linked with such libtool
  8084. *** libraries will work regardless of this problem. Nevertheless, you
  8085. *** may want to report the problem to your system manager and/or to
  8086. *** bug-libtool@gnu.org
  8087. _LT_EOF
  8088. fi ;;
  8089. esac
  8090. fi
  8091. break
  8092. fi
  8093. done
  8094. IFS=$lt_save_ifs
  8095. MAGIC_CMD=$lt_save_MAGIC_CMD
  8096. ;;
  8097. esac
  8098. fi
  8099. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  8100. if test -n "$MAGIC_CMD"; then
  8101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8102. $as_echo "$MAGIC_CMD" >&6; }
  8103. else
  8104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8105. $as_echo "no" >&6; }
  8106. fi
  8107. else
  8108. MAGIC_CMD=:
  8109. fi
  8110. fi
  8111. fi
  8112. ;;
  8113. esac
  8114. # Use C for the default configuration in the libtool script
  8115. lt_save_CC=$CC
  8116. ac_ext=c
  8117. ac_cpp='$CPP $CPPFLAGS'
  8118. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8119. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8120. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8121. # Source file extension for C test sources.
  8122. ac_ext=c
  8123. # Object file extension for compiled C test sources.
  8124. objext=o
  8125. objext=$objext
  8126. # Code to be used in simple compile tests
  8127. lt_simple_compile_test_code="int some_variable = 0;"
  8128. # Code to be used in simple link tests
  8129. lt_simple_link_test_code='int main(){return(0);}'
  8130. # If no C compiler was specified, use CC.
  8131. LTCC=${LTCC-"$CC"}
  8132. # If no C compiler flags were specified, use CFLAGS.
  8133. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8134. # Allow CC to be a program name with arguments.
  8135. compiler=$CC
  8136. # Save the default compiler, since it gets overwritten when the other
  8137. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8138. compiler_DEFAULT=$CC
  8139. # save warnings/boilerplate of simple test code
  8140. ac_outfile=conftest.$ac_objext
  8141. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8142. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8143. _lt_compiler_boilerplate=`cat conftest.err`
  8144. $RM conftest*
  8145. ac_outfile=conftest.$ac_objext
  8146. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8147. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8148. _lt_linker_boilerplate=`cat conftest.err`
  8149. $RM -r conftest*
  8150. if test -n "$compiler"; then
  8151. lt_prog_compiler_no_builtin_flag=
  8152. if test yes = "$GCC"; then
  8153. case $cc_basename in
  8154. nvcc*)
  8155. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  8156. *)
  8157. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  8158. esac
  8159. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8160. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8161. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  8162. $as_echo_n "(cached) " >&6
  8163. else
  8164. lt_cv_prog_compiler_rtti_exceptions=no
  8165. ac_outfile=conftest.$ac_objext
  8166. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8167. lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  8168. # Insert the option either (1) after the last *FLAGS variable, or
  8169. # (2) before a word containing "conftest.", or (3) at the end.
  8170. # Note that $ac_compile itself does not contain backslashes and begins
  8171. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8172. # The option is referenced via a variable to avoid confusing sed.
  8173. lt_compile=`echo "$ac_compile" | $SED \
  8174. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8175. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8176. -e 's:$: $lt_compiler_flag:'`
  8177. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8178. (eval "$lt_compile" 2>conftest.err)
  8179. ac_status=$?
  8180. cat conftest.err >&5
  8181. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8182. if (exit $ac_status) && test -s "$ac_outfile"; then
  8183. # The compiler can only warn and ignore the option if not recognized
  8184. # So say no if there are warnings other than the usual output.
  8185. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8186. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8187. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8188. lt_cv_prog_compiler_rtti_exceptions=yes
  8189. fi
  8190. fi
  8191. $RM conftest*
  8192. fi
  8193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8194. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8195. if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  8196. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8197. else
  8198. :
  8199. fi
  8200. fi
  8201. lt_prog_compiler_wl=
  8202. lt_prog_compiler_pic=
  8203. lt_prog_compiler_static=
  8204. if test yes = "$GCC"; then
  8205. lt_prog_compiler_wl='-Wl,'
  8206. lt_prog_compiler_static='-static'
  8207. case $host_os in
  8208. aix*)
  8209. # All AIX code is PIC.
  8210. if test ia64 = "$host_cpu"; then
  8211. # AIX 5 now supports IA64 processor
  8212. lt_prog_compiler_static='-Bstatic'
  8213. fi
  8214. lt_prog_compiler_pic='-fPIC'
  8215. ;;
  8216. amigaos*)
  8217. case $host_cpu in
  8218. powerpc)
  8219. # see comment about AmigaOS4 .so support
  8220. lt_prog_compiler_pic='-fPIC'
  8221. ;;
  8222. m68k)
  8223. # FIXME: we need at least 68020 code to build shared libraries, but
  8224. # adding the '-m68020' flag to GCC prevents building anything better,
  8225. # like '-m68040'.
  8226. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8227. ;;
  8228. esac
  8229. ;;
  8230. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8231. # PIC is the default for these OSes.
  8232. ;;
  8233. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8234. # This hack is so that the source file can tell whether it is being
  8235. # built for inclusion in a dll (and should export symbols for example).
  8236. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8237. # (--disable-auto-import) libraries
  8238. lt_prog_compiler_pic='-DDLL_EXPORT'
  8239. ;;
  8240. darwin* | rhapsody*)
  8241. # PIC is the default on this platform
  8242. # Common symbols not allowed in MH_DYLIB files
  8243. lt_prog_compiler_pic='-fno-common'
  8244. ;;
  8245. haiku*)
  8246. # PIC is the default for Haiku.
  8247. # The "-static" flag exists, but is broken.
  8248. lt_prog_compiler_static=
  8249. ;;
  8250. hpux*)
  8251. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8252. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  8253. # sets the default TLS model and affects inlining.
  8254. case $host_cpu in
  8255. hppa*64*)
  8256. # +Z the default
  8257. ;;
  8258. *)
  8259. lt_prog_compiler_pic='-fPIC'
  8260. ;;
  8261. esac
  8262. ;;
  8263. interix[3-9]*)
  8264. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8265. # Instead, we relocate shared libraries at runtime.
  8266. ;;
  8267. msdosdjgpp*)
  8268. # Just because we use GCC doesn't mean we suddenly get shared libraries
  8269. # on systems that don't support them.
  8270. lt_prog_compiler_can_build_shared=no
  8271. enable_shared=no
  8272. ;;
  8273. *nto* | *qnx*)
  8274. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8275. # it will coredump.
  8276. lt_prog_compiler_pic='-fPIC -shared'
  8277. ;;
  8278. sysv4*MP*)
  8279. if test -d /usr/nec; then
  8280. lt_prog_compiler_pic=-Kconform_pic
  8281. fi
  8282. ;;
  8283. *)
  8284. lt_prog_compiler_pic='-fPIC'
  8285. ;;
  8286. esac
  8287. case $cc_basename in
  8288. nvcc*) # Cuda Compiler Driver 2.2
  8289. lt_prog_compiler_wl='-Xlinker '
  8290. if test -n "$lt_prog_compiler_pic"; then
  8291. lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  8292. fi
  8293. ;;
  8294. esac
  8295. else
  8296. # PORTME Check for flag to pass linker flags through the system compiler.
  8297. case $host_os in
  8298. aix*)
  8299. lt_prog_compiler_wl='-Wl,'
  8300. if test ia64 = "$host_cpu"; then
  8301. # AIX 5 now supports IA64 processor
  8302. lt_prog_compiler_static='-Bstatic'
  8303. else
  8304. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8305. fi
  8306. ;;
  8307. darwin* | rhapsody*)
  8308. # PIC is the default on this platform
  8309. # Common symbols not allowed in MH_DYLIB files
  8310. lt_prog_compiler_pic='-fno-common'
  8311. case $cc_basename in
  8312. nagfor*)
  8313. # NAG Fortran compiler
  8314. lt_prog_compiler_wl='-Wl,-Wl,,'
  8315. lt_prog_compiler_pic='-PIC'
  8316. lt_prog_compiler_static='-Bstatic'
  8317. ;;
  8318. esac
  8319. ;;
  8320. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8321. # This hack is so that the source file can tell whether it is being
  8322. # built for inclusion in a dll (and should export symbols for example).
  8323. lt_prog_compiler_pic='-DDLL_EXPORT'
  8324. ;;
  8325. hpux9* | hpux10* | hpux11*)
  8326. lt_prog_compiler_wl='-Wl,'
  8327. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8328. # not for PA HP-UX.
  8329. case $host_cpu in
  8330. hppa*64*|ia64*)
  8331. # +Z the default
  8332. ;;
  8333. *)
  8334. lt_prog_compiler_pic='+Z'
  8335. ;;
  8336. esac
  8337. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8338. lt_prog_compiler_static='$wl-a ${wl}archive'
  8339. ;;
  8340. irix5* | irix6* | nonstopux*)
  8341. lt_prog_compiler_wl='-Wl,'
  8342. # PIC (with -KPIC) is the default.
  8343. lt_prog_compiler_static='-non_shared'
  8344. ;;
  8345. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  8346. case $cc_basename in
  8347. # old Intel for x86_64, which still supported -KPIC.
  8348. ecc*)
  8349. lt_prog_compiler_wl='-Wl,'
  8350. lt_prog_compiler_pic='-KPIC'
  8351. lt_prog_compiler_static='-static'
  8352. ;;
  8353. # icc used to be incompatible with GCC.
  8354. # ICC 10 doesn't accept -KPIC any more.
  8355. icc* | ifort*)
  8356. lt_prog_compiler_wl='-Wl,'
  8357. lt_prog_compiler_pic='-fPIC'
  8358. lt_prog_compiler_static='-static'
  8359. ;;
  8360. # Lahey Fortran 8.1.
  8361. lf95*)
  8362. lt_prog_compiler_wl='-Wl,'
  8363. lt_prog_compiler_pic='--shared'
  8364. lt_prog_compiler_static='--static'
  8365. ;;
  8366. nagfor*)
  8367. # NAG Fortran compiler
  8368. lt_prog_compiler_wl='-Wl,-Wl,,'
  8369. lt_prog_compiler_pic='-PIC'
  8370. lt_prog_compiler_static='-Bstatic'
  8371. ;;
  8372. tcc*)
  8373. # Fabrice Bellard et al's Tiny C Compiler
  8374. lt_prog_compiler_wl='-Wl,'
  8375. lt_prog_compiler_pic='-fPIC'
  8376. lt_prog_compiler_static='-static'
  8377. ;;
  8378. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  8379. # Portland Group compilers (*not* the Pentium gcc compiler,
  8380. # which looks to be a dead project)
  8381. lt_prog_compiler_wl='-Wl,'
  8382. lt_prog_compiler_pic='-fpic'
  8383. lt_prog_compiler_static='-Bstatic'
  8384. ;;
  8385. ccc*)
  8386. lt_prog_compiler_wl='-Wl,'
  8387. # All Alpha code is PIC.
  8388. lt_prog_compiler_static='-non_shared'
  8389. ;;
  8390. xl* | bgxl* | bgf* | mpixl*)
  8391. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  8392. lt_prog_compiler_wl='-Wl,'
  8393. lt_prog_compiler_pic='-qpic'
  8394. lt_prog_compiler_static='-qstaticlink'
  8395. ;;
  8396. *)
  8397. case `$CC -V 2>&1 | sed 5q` in
  8398. *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  8399. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8400. lt_prog_compiler_pic='-KPIC'
  8401. lt_prog_compiler_static='-Bstatic'
  8402. lt_prog_compiler_wl=''
  8403. ;;
  8404. *Sun\ F* | *Sun*Fortran*)
  8405. lt_prog_compiler_pic='-KPIC'
  8406. lt_prog_compiler_static='-Bstatic'
  8407. lt_prog_compiler_wl='-Qoption ld '
  8408. ;;
  8409. *Sun\ C*)
  8410. # Sun C 5.9
  8411. lt_prog_compiler_pic='-KPIC'
  8412. lt_prog_compiler_static='-Bstatic'
  8413. lt_prog_compiler_wl='-Wl,'
  8414. ;;
  8415. *Intel*\ [CF]*Compiler*)
  8416. lt_prog_compiler_wl='-Wl,'
  8417. lt_prog_compiler_pic='-fPIC'
  8418. lt_prog_compiler_static='-static'
  8419. ;;
  8420. *Portland\ Group*)
  8421. lt_prog_compiler_wl='-Wl,'
  8422. lt_prog_compiler_pic='-fpic'
  8423. lt_prog_compiler_static='-Bstatic'
  8424. ;;
  8425. esac
  8426. ;;
  8427. esac
  8428. ;;
  8429. newsos6)
  8430. lt_prog_compiler_pic='-KPIC'
  8431. lt_prog_compiler_static='-Bstatic'
  8432. ;;
  8433. *nto* | *qnx*)
  8434. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8435. # it will coredump.
  8436. lt_prog_compiler_pic='-fPIC -shared'
  8437. ;;
  8438. osf3* | osf4* | osf5*)
  8439. lt_prog_compiler_wl='-Wl,'
  8440. # All OSF/1 code is PIC.
  8441. lt_prog_compiler_static='-non_shared'
  8442. ;;
  8443. rdos*)
  8444. lt_prog_compiler_static='-non_shared'
  8445. ;;
  8446. solaris*)
  8447. lt_prog_compiler_pic='-KPIC'
  8448. lt_prog_compiler_static='-Bstatic'
  8449. case $cc_basename in
  8450. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  8451. lt_prog_compiler_wl='-Qoption ld ';;
  8452. *)
  8453. lt_prog_compiler_wl='-Wl,';;
  8454. esac
  8455. ;;
  8456. sunos4*)
  8457. lt_prog_compiler_wl='-Qoption ld '
  8458. lt_prog_compiler_pic='-PIC'
  8459. lt_prog_compiler_static='-Bstatic'
  8460. ;;
  8461. sysv4 | sysv4.2uw2* | sysv4.3*)
  8462. lt_prog_compiler_wl='-Wl,'
  8463. lt_prog_compiler_pic='-KPIC'
  8464. lt_prog_compiler_static='-Bstatic'
  8465. ;;
  8466. sysv4*MP*)
  8467. if test -d /usr/nec; then
  8468. lt_prog_compiler_pic='-Kconform_pic'
  8469. lt_prog_compiler_static='-Bstatic'
  8470. fi
  8471. ;;
  8472. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8473. lt_prog_compiler_wl='-Wl,'
  8474. lt_prog_compiler_pic='-KPIC'
  8475. lt_prog_compiler_static='-Bstatic'
  8476. ;;
  8477. unicos*)
  8478. lt_prog_compiler_wl='-Wl,'
  8479. lt_prog_compiler_can_build_shared=no
  8480. ;;
  8481. uts4*)
  8482. lt_prog_compiler_pic='-pic'
  8483. lt_prog_compiler_static='-Bstatic'
  8484. ;;
  8485. *)
  8486. lt_prog_compiler_can_build_shared=no
  8487. ;;
  8488. esac
  8489. fi
  8490. case $host_os in
  8491. # For platforms that do not support PIC, -DPIC is meaningless:
  8492. *djgpp*)
  8493. lt_prog_compiler_pic=
  8494. ;;
  8495. *)
  8496. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8497. ;;
  8498. esac
  8499. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  8500. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8501. if ${lt_cv_prog_compiler_pic+:} false; then :
  8502. $as_echo_n "(cached) " >&6
  8503. else
  8504. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  8505. fi
  8506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  8507. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  8508. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  8509. #
  8510. # Check to make sure the PIC flag actually works.
  8511. #
  8512. if test -n "$lt_prog_compiler_pic"; then
  8513. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8514. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8515. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  8516. $as_echo_n "(cached) " >&6
  8517. else
  8518. lt_cv_prog_compiler_pic_works=no
  8519. ac_outfile=conftest.$ac_objext
  8520. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8521. lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
  8522. # Insert the option either (1) after the last *FLAGS variable, or
  8523. # (2) before a word containing "conftest.", or (3) at the end.
  8524. # Note that $ac_compile itself does not contain backslashes and begins
  8525. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8526. # The option is referenced via a variable to avoid confusing sed.
  8527. lt_compile=`echo "$ac_compile" | $SED \
  8528. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8529. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8530. -e 's:$: $lt_compiler_flag:'`
  8531. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8532. (eval "$lt_compile" 2>conftest.err)
  8533. ac_status=$?
  8534. cat conftest.err >&5
  8535. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8536. if (exit $ac_status) && test -s "$ac_outfile"; then
  8537. # The compiler can only warn and ignore the option if not recognized
  8538. # So say no if there are warnings other than the usual output.
  8539. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8540. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8541. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8542. lt_cv_prog_compiler_pic_works=yes
  8543. fi
  8544. fi
  8545. $RM conftest*
  8546. fi
  8547. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  8548. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8549. if test yes = "$lt_cv_prog_compiler_pic_works"; then
  8550. case $lt_prog_compiler_pic in
  8551. "" | " "*) ;;
  8552. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8553. esac
  8554. else
  8555. lt_prog_compiler_pic=
  8556. lt_prog_compiler_can_build_shared=no
  8557. fi
  8558. fi
  8559. #
  8560. # Check to make sure the static flag actually works.
  8561. #
  8562. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8563. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8564. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8565. if ${lt_cv_prog_compiler_static_works+:} false; then :
  8566. $as_echo_n "(cached) " >&6
  8567. else
  8568. lt_cv_prog_compiler_static_works=no
  8569. save_LDFLAGS=$LDFLAGS
  8570. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8571. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8572. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8573. # The linker can only warn and ignore the option if not recognized
  8574. # So say no if there are warnings
  8575. if test -s conftest.err; then
  8576. # Append any errors to the config.log.
  8577. cat conftest.err 1>&5
  8578. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8579. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8580. if diff conftest.exp conftest.er2 >/dev/null; then
  8581. lt_cv_prog_compiler_static_works=yes
  8582. fi
  8583. else
  8584. lt_cv_prog_compiler_static_works=yes
  8585. fi
  8586. fi
  8587. $RM -r conftest*
  8588. LDFLAGS=$save_LDFLAGS
  8589. fi
  8590. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  8591. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8592. if test yes = "$lt_cv_prog_compiler_static_works"; then
  8593. :
  8594. else
  8595. lt_prog_compiler_static=
  8596. fi
  8597. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8598. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8599. if ${lt_cv_prog_compiler_c_o+:} false; then :
  8600. $as_echo_n "(cached) " >&6
  8601. else
  8602. lt_cv_prog_compiler_c_o=no
  8603. $RM -r conftest 2>/dev/null
  8604. mkdir conftest
  8605. cd conftest
  8606. mkdir out
  8607. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8608. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8609. # Insert the option either (1) after the last *FLAGS variable, or
  8610. # (2) before a word containing "conftest.", or (3) at the end.
  8611. # Note that $ac_compile itself does not contain backslashes and begins
  8612. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8613. lt_compile=`echo "$ac_compile" | $SED \
  8614. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8615. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8616. -e 's:$: $lt_compiler_flag:'`
  8617. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8618. (eval "$lt_compile" 2>out/conftest.err)
  8619. ac_status=$?
  8620. cat out/conftest.err >&5
  8621. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8622. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8623. then
  8624. # The compiler can only warn and ignore the option if not recognized
  8625. # So say no if there are warnings
  8626. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8627. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8628. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8629. lt_cv_prog_compiler_c_o=yes
  8630. fi
  8631. fi
  8632. chmod u+w . 2>&5
  8633. $RM conftest*
  8634. # SGI C++ compiler will create directory out/ii_files/ for
  8635. # template instantiation
  8636. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8637. $RM out/* && rmdir out
  8638. cd ..
  8639. $RM -r conftest
  8640. $RM conftest*
  8641. fi
  8642. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8643. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8644. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8645. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8646. if ${lt_cv_prog_compiler_c_o+:} false; then :
  8647. $as_echo_n "(cached) " >&6
  8648. else
  8649. lt_cv_prog_compiler_c_o=no
  8650. $RM -r conftest 2>/dev/null
  8651. mkdir conftest
  8652. cd conftest
  8653. mkdir out
  8654. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8655. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8656. # Insert the option either (1) after the last *FLAGS variable, or
  8657. # (2) before a word containing "conftest.", or (3) at the end.
  8658. # Note that $ac_compile itself does not contain backslashes and begins
  8659. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8660. lt_compile=`echo "$ac_compile" | $SED \
  8661. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8662. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8663. -e 's:$: $lt_compiler_flag:'`
  8664. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8665. (eval "$lt_compile" 2>out/conftest.err)
  8666. ac_status=$?
  8667. cat out/conftest.err >&5
  8668. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8669. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8670. then
  8671. # The compiler can only warn and ignore the option if not recognized
  8672. # So say no if there are warnings
  8673. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8674. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8675. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8676. lt_cv_prog_compiler_c_o=yes
  8677. fi
  8678. fi
  8679. chmod u+w . 2>&5
  8680. $RM conftest*
  8681. # SGI C++ compiler will create directory out/ii_files/ for
  8682. # template instantiation
  8683. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8684. $RM out/* && rmdir out
  8685. cd ..
  8686. $RM -r conftest
  8687. $RM conftest*
  8688. fi
  8689. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8690. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8691. hard_links=nottested
  8692. if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  8693. # do not overwrite the value of need_locks provided by the user
  8694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  8695. $as_echo_n "checking if we can lock with hard links... " >&6; }
  8696. hard_links=yes
  8697. $RM conftest*
  8698. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8699. touch conftest.a
  8700. ln conftest.a conftest.b 2>&5 || hard_links=no
  8701. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  8703. $as_echo "$hard_links" >&6; }
  8704. if test no = "$hard_links"; then
  8705. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  8706. $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  8707. need_locks=warn
  8708. fi
  8709. else
  8710. need_locks=no
  8711. fi
  8712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8713. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8714. runpath_var=
  8715. allow_undefined_flag=
  8716. always_export_symbols=no
  8717. archive_cmds=
  8718. archive_expsym_cmds=
  8719. compiler_needs_object=no
  8720. enable_shared_with_static_runtimes=no
  8721. export_dynamic_flag_spec=
  8722. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8723. hardcode_automatic=no
  8724. hardcode_direct=no
  8725. hardcode_direct_absolute=no
  8726. hardcode_libdir_flag_spec=
  8727. hardcode_libdir_separator=
  8728. hardcode_minus_L=no
  8729. hardcode_shlibpath_var=unsupported
  8730. inherit_rpath=no
  8731. link_all_deplibs=unknown
  8732. module_cmds=
  8733. module_expsym_cmds=
  8734. old_archive_from_new_cmds=
  8735. old_archive_from_expsyms_cmds=
  8736. thread_safe_flag_spec=
  8737. whole_archive_flag_spec=
  8738. # include_expsyms should be a list of space-separated symbols to be *always*
  8739. # included in the symbol list
  8740. include_expsyms=
  8741. # exclude_expsyms can be an extended regexp of symbols to exclude
  8742. # it will be wrapped by ' (' and ')$', so one must not match beginning or
  8743. # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  8744. # as well as any symbol that contains 'd'.
  8745. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  8746. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8747. # platforms (ab)use it in PIC code, but their linkers get confused if
  8748. # the symbol is explicitly referenced. Since portable code cannot
  8749. # rely on this symbol name, it's probably fine to never include it in
  8750. # preloaded symbol tables.
  8751. # Exclude shared library initialization/finalization symbols.
  8752. extract_expsyms_cmds=
  8753. case $host_os in
  8754. cygwin* | mingw* | pw32* | cegcc*)
  8755. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8756. # When not using gcc, we currently assume that we are using
  8757. # Microsoft Visual C++.
  8758. if test yes != "$GCC"; then
  8759. with_gnu_ld=no
  8760. fi
  8761. ;;
  8762. interix*)
  8763. # we just hope/assume this is gcc and not c89 (= MSVC++)
  8764. with_gnu_ld=yes
  8765. ;;
  8766. openbsd* | bitrig*)
  8767. with_gnu_ld=no
  8768. ;;
  8769. esac
  8770. ld_shlibs=yes
  8771. # On some targets, GNU ld is compatible enough with the native linker
  8772. # that we're better off using the native interface for both.
  8773. lt_use_gnu_ld_interface=no
  8774. if test yes = "$with_gnu_ld"; then
  8775. case $host_os in
  8776. aix*)
  8777. # The AIX port of GNU ld has always aspired to compatibility
  8778. # with the native linker. However, as the warning in the GNU ld
  8779. # block says, versions before 2.19.5* couldn't really create working
  8780. # shared libraries, regardless of the interface used.
  8781. case `$LD -v 2>&1` in
  8782. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  8783. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  8784. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  8785. *)
  8786. lt_use_gnu_ld_interface=yes
  8787. ;;
  8788. esac
  8789. ;;
  8790. *)
  8791. lt_use_gnu_ld_interface=yes
  8792. ;;
  8793. esac
  8794. fi
  8795. if test yes = "$lt_use_gnu_ld_interface"; then
  8796. # If archive_cmds runs LD, not CC, wlarc should be empty
  8797. wlarc='$wl'
  8798. # Set some defaults for GNU ld with shared library support. These
  8799. # are reset later if shared libraries are not supported. Putting them
  8800. # here allows them to be overridden if necessary.
  8801. runpath_var=LD_RUN_PATH
  8802. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8803. export_dynamic_flag_spec='$wl--export-dynamic'
  8804. # ancient GNU ld didn't support --whole-archive et. al.
  8805. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  8806. whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  8807. else
  8808. whole_archive_flag_spec=
  8809. fi
  8810. supports_anon_versioning=no
  8811. case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  8812. *GNU\ gold*) supports_anon_versioning=yes ;;
  8813. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  8814. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8815. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8816. *\ 2.11.*) ;; # other 2.11 versions
  8817. *) supports_anon_versioning=yes ;;
  8818. esac
  8819. # See if GNU ld supports shared libraries.
  8820. case $host_os in
  8821. aix[3-9]*)
  8822. # On AIX/PPC, the GNU linker is very broken
  8823. if test ia64 != "$host_cpu"; then
  8824. ld_shlibs=no
  8825. cat <<_LT_EOF 1>&2
  8826. *** Warning: the GNU linker, at least up to release 2.19, is reported
  8827. *** to be unable to reliably create shared libraries on AIX.
  8828. *** Therefore, libtool is disabling shared libraries support. If you
  8829. *** really care for shared libraries, you may want to install binutils
  8830. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8831. *** You will then need to restart the configuration process.
  8832. _LT_EOF
  8833. fi
  8834. ;;
  8835. amigaos*)
  8836. case $host_cpu in
  8837. powerpc)
  8838. # see comment about AmigaOS4 .so support
  8839. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8840. archive_expsym_cmds=''
  8841. ;;
  8842. m68k)
  8843. 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)'
  8844. hardcode_libdir_flag_spec='-L$libdir'
  8845. hardcode_minus_L=yes
  8846. ;;
  8847. esac
  8848. ;;
  8849. beos*)
  8850. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8851. allow_undefined_flag=unsupported
  8852. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8853. # support --undefined. This deserves some investigation. FIXME
  8854. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8855. else
  8856. ld_shlibs=no
  8857. fi
  8858. ;;
  8859. cygwin* | mingw* | pw32* | cegcc*)
  8860. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8861. # as there is no search path for DLLs.
  8862. hardcode_libdir_flag_spec='-L$libdir'
  8863. export_dynamic_flag_spec='$wl--export-all-symbols'
  8864. allow_undefined_flag=unsupported
  8865. always_export_symbols=no
  8866. enable_shared_with_static_runtimes=yes
  8867. 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'
  8868. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  8869. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8870. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8871. # If the export-symbols file already is a .def file, use it as
  8872. # is; otherwise, prepend EXPORTS...
  8873. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  8874. cp $export_symbols $output_objdir/$soname.def;
  8875. else
  8876. echo EXPORTS > $output_objdir/$soname.def;
  8877. cat $export_symbols >> $output_objdir/$soname.def;
  8878. fi~
  8879. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8880. else
  8881. ld_shlibs=no
  8882. fi
  8883. ;;
  8884. haiku*)
  8885. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8886. link_all_deplibs=yes
  8887. ;;
  8888. interix[3-9]*)
  8889. hardcode_direct=no
  8890. hardcode_shlibpath_var=no
  8891. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  8892. export_dynamic_flag_spec='$wl-E'
  8893. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8894. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8895. # default) and relocated if they conflict, which is a slow very memory
  8896. # consuming and fragmenting process. To avoid this, we pick a random,
  8897. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8898. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8899. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8900. 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'
  8901. ;;
  8902. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8903. tmp_diet=no
  8904. if test linux-dietlibc = "$host_os"; then
  8905. case $cc_basename in
  8906. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8907. esac
  8908. fi
  8909. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8910. && test no = "$tmp_diet"
  8911. then
  8912. tmp_addflag=' $pic_flag'
  8913. tmp_sharedflag='-shared'
  8914. case $cc_basename,$host_cpu in
  8915. pgcc*) # Portland Group C compiler
  8916. 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'
  8917. tmp_addflag=' $pic_flag'
  8918. ;;
  8919. pgf77* | pgf90* | pgf95* | pgfortran*)
  8920. # Portland Group f77 and f90 compilers
  8921. 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'
  8922. tmp_addflag=' $pic_flag -Mnomain' ;;
  8923. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8924. tmp_addflag=' -i_dynamic' ;;
  8925. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8926. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8927. ifc* | ifort*) # Intel Fortran compiler
  8928. tmp_addflag=' -nofor_main' ;;
  8929. lf95*) # Lahey Fortran 8.1
  8930. whole_archive_flag_spec=
  8931. tmp_sharedflag='--shared' ;;
  8932. nagfor*) # NAGFOR 5.3
  8933. tmp_sharedflag='-Wl,-shared' ;;
  8934. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8935. tmp_sharedflag='-qmkshrobj'
  8936. tmp_addflag= ;;
  8937. nvcc*) # Cuda Compiler Driver 2.2
  8938. 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'
  8939. compiler_needs_object=yes
  8940. ;;
  8941. esac
  8942. case `$CC -V 2>&1 | sed 5q` in
  8943. *Sun\ C*) # Sun C 5.9
  8944. 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'
  8945. compiler_needs_object=yes
  8946. tmp_sharedflag='-G' ;;
  8947. *Sun\ F*) # Sun Fortran 8.3
  8948. tmp_sharedflag='-G' ;;
  8949. esac
  8950. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8951. if test yes = "$supports_anon_versioning"; then
  8952. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8953. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8954. echo "local: *; };" >> $output_objdir/$libname.ver~
  8955. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  8956. fi
  8957. case $cc_basename in
  8958. xlf* | bgf* | bgxlf* | mpixlf*)
  8959. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8960. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8961. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8962. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  8963. if test yes = "$supports_anon_versioning"; then
  8964. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8965. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8966. echo "local: *; };" >> $output_objdir/$libname.ver~
  8967. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8968. fi
  8969. ;;
  8970. esac
  8971. else
  8972. ld_shlibs=no
  8973. fi
  8974. ;;
  8975. netbsd*)
  8976. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8977. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8978. wlarc=
  8979. else
  8980. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8981. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8982. fi
  8983. ;;
  8984. solaris*)
  8985. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8986. ld_shlibs=no
  8987. cat <<_LT_EOF 1>&2
  8988. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8989. *** create shared libraries on Solaris systems. Therefore, libtool
  8990. *** is disabling shared libraries support. We urge you to upgrade GNU
  8991. *** binutils to release 2.9.1 or newer. Another option is to modify
  8992. *** your PATH or compiler configuration so that the native linker is
  8993. *** used, and then restart.
  8994. _LT_EOF
  8995. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8996. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8997. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8998. else
  8999. ld_shlibs=no
  9000. fi
  9001. ;;
  9002. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9003. case `$LD -v 2>&1` in
  9004. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9005. ld_shlibs=no
  9006. cat <<_LT_EOF 1>&2
  9007. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  9008. *** reliably create shared libraries on SCO systems. Therefore, libtool
  9009. *** is disabling shared libraries support. We urge you to upgrade GNU
  9010. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  9011. *** your PATH or compiler configuration so that the native linker is
  9012. *** used, and then restart.
  9013. _LT_EOF
  9014. ;;
  9015. *)
  9016. # For security reasons, it is highly recommended that you always
  9017. # use absolute paths for naming shared libraries, and exclude the
  9018. # DT_RUNPATH tag from executables and libraries. But doing so
  9019. # requires that you compile everything twice, which is a pain.
  9020. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9021. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  9022. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  9023. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  9024. else
  9025. ld_shlibs=no
  9026. fi
  9027. ;;
  9028. esac
  9029. ;;
  9030. sunos4*)
  9031. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9032. wlarc=
  9033. hardcode_direct=yes
  9034. hardcode_shlibpath_var=no
  9035. ;;
  9036. *)
  9037. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9038. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  9039. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  9040. else
  9041. ld_shlibs=no
  9042. fi
  9043. ;;
  9044. esac
  9045. if test no = "$ld_shlibs"; then
  9046. runpath_var=
  9047. hardcode_libdir_flag_spec=
  9048. export_dynamic_flag_spec=
  9049. whole_archive_flag_spec=
  9050. fi
  9051. else
  9052. # PORTME fill in a description of your system's linker (not GNU ld)
  9053. case $host_os in
  9054. aix3*)
  9055. allow_undefined_flag=unsupported
  9056. always_export_symbols=yes
  9057. 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'
  9058. # Note: this linker hardcodes the directories in LIBPATH if there
  9059. # are no directories specified by -L.
  9060. hardcode_minus_L=yes
  9061. if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  9062. # Neither direct hardcoding nor static linking is supported with a
  9063. # broken collect2.
  9064. hardcode_direct=unsupported
  9065. fi
  9066. ;;
  9067. aix[4-9]*)
  9068. if test ia64 = "$host_cpu"; then
  9069. # On IA64, the linker does run time linking by default, so we don't
  9070. # have to do anything special.
  9071. aix_use_runtimelinking=no
  9072. exp_sym_flag='-Bexport'
  9073. no_entry_flag=
  9074. else
  9075. # If we're using GNU nm, then we don't want the "-C" option.
  9076. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9077. # Also, AIX nm treats weak defined symbols like other global
  9078. # defined symbols, whereas GNU nm marks them as "W".
  9079. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9080. 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'
  9081. else
  9082. 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'
  9083. fi
  9084. aix_use_runtimelinking=no
  9085. # Test if we are trying to use run time linking or normal
  9086. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9087. # need to do runtime linking.
  9088. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9089. for ld_flag in $LDFLAGS; do
  9090. if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  9091. aix_use_runtimelinking=yes
  9092. break
  9093. fi
  9094. done
  9095. ;;
  9096. esac
  9097. exp_sym_flag='-bexport'
  9098. no_entry_flag='-bnoentry'
  9099. fi
  9100. # When large executables or shared objects are built, AIX ld can
  9101. # have problems creating the table of contents. If linking a library
  9102. # or program results in "error TOC overflow" add -mminimal-toc to
  9103. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  9104. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9105. archive_cmds=''
  9106. hardcode_direct=yes
  9107. hardcode_direct_absolute=yes
  9108. hardcode_libdir_separator=':'
  9109. link_all_deplibs=yes
  9110. file_list_spec='$wl-f,'
  9111. if test yes = "$GCC"; then
  9112. case $host_os in aix4.[012]|aix4.[012].*)
  9113. # We only want to do this on AIX 4.2 and lower, the check
  9114. # below for broken collect2 doesn't work under 4.3+
  9115. collect2name=`$CC -print-prog-name=collect2`
  9116. if test -f "$collect2name" &&
  9117. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9118. then
  9119. # We have reworked collect2
  9120. :
  9121. else
  9122. # We have old collect2
  9123. hardcode_direct=unsupported
  9124. # It fails to find uninstalled libraries when the uninstalled
  9125. # path is not listed in the libpath. Setting hardcode_minus_L
  9126. # to unsupported forces relinking
  9127. hardcode_minus_L=yes
  9128. hardcode_libdir_flag_spec='-L$libdir'
  9129. hardcode_libdir_separator=
  9130. fi
  9131. ;;
  9132. esac
  9133. shared_flag='-shared'
  9134. if test yes = "$aix_use_runtimelinking"; then
  9135. shared_flag="$shared_flag "'$wl-G'
  9136. fi
  9137. else
  9138. # not using gcc
  9139. if test ia64 = "$host_cpu"; then
  9140. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9141. # chokes on -Wl,-G. The following line is correct:
  9142. shared_flag='-G'
  9143. else
  9144. if test yes = "$aix_use_runtimelinking"; then
  9145. shared_flag='$wl-G'
  9146. else
  9147. shared_flag='$wl-bM:SRE'
  9148. fi
  9149. fi
  9150. fi
  9151. export_dynamic_flag_spec='$wl-bexpall'
  9152. # It seems that -bexpall does not export symbols beginning with
  9153. # underscore (_), so it is better to generate a list of symbols to export.
  9154. always_export_symbols=yes
  9155. if test yes = "$aix_use_runtimelinking"; then
  9156. # Warning - without using the other runtime loading flags (-brtl),
  9157. # -berok will link without error, but may produce a broken library.
  9158. allow_undefined_flag='-berok'
  9159. # Determine the default libpath from the value encoded in an
  9160. # empty executable.
  9161. if test set = "${lt_cv_aix_libpath+set}"; then
  9162. aix_libpath=$lt_cv_aix_libpath
  9163. else
  9164. if ${lt_cv_aix_libpath_+:} false; then :
  9165. $as_echo_n "(cached) " >&6
  9166. else
  9167. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9168. /* end confdefs.h. */
  9169. int
  9170. main ()
  9171. {
  9172. ;
  9173. return 0;
  9174. }
  9175. _ACEOF
  9176. if ac_fn_c_try_link "$LINENO"; then :
  9177. lt_aix_libpath_sed='
  9178. /Import File Strings/,/^$/ {
  9179. /^0/ {
  9180. s/^0 *\([^ ]*\) *$/\1/
  9181. p
  9182. }
  9183. }'
  9184. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9185. # Check for a 64-bit object if we didn't find anything.
  9186. if test -z "$lt_cv_aix_libpath_"; then
  9187. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9188. fi
  9189. fi
  9190. rm -f core conftest.err conftest.$ac_objext \
  9191. conftest$ac_exeext conftest.$ac_ext
  9192. if test -z "$lt_cv_aix_libpath_"; then
  9193. lt_cv_aix_libpath_=/usr/lib:/lib
  9194. fi
  9195. fi
  9196. aix_libpath=$lt_cv_aix_libpath_
  9197. fi
  9198. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  9199. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  9200. else
  9201. if test ia64 = "$host_cpu"; then
  9202. hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  9203. allow_undefined_flag="-z nodefs"
  9204. 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"
  9205. else
  9206. # Determine the default libpath from the value encoded in an
  9207. # empty executable.
  9208. if test set = "${lt_cv_aix_libpath+set}"; then
  9209. aix_libpath=$lt_cv_aix_libpath
  9210. else
  9211. if ${lt_cv_aix_libpath_+:} false; then :
  9212. $as_echo_n "(cached) " >&6
  9213. else
  9214. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9215. /* end confdefs.h. */
  9216. int
  9217. main ()
  9218. {
  9219. ;
  9220. return 0;
  9221. }
  9222. _ACEOF
  9223. if ac_fn_c_try_link "$LINENO"; then :
  9224. lt_aix_libpath_sed='
  9225. /Import File Strings/,/^$/ {
  9226. /^0/ {
  9227. s/^0 *\([^ ]*\) *$/\1/
  9228. p
  9229. }
  9230. }'
  9231. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9232. # Check for a 64-bit object if we didn't find anything.
  9233. if test -z "$lt_cv_aix_libpath_"; then
  9234. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9235. fi
  9236. fi
  9237. rm -f core conftest.err conftest.$ac_objext \
  9238. conftest$ac_exeext conftest.$ac_ext
  9239. if test -z "$lt_cv_aix_libpath_"; then
  9240. lt_cv_aix_libpath_=/usr/lib:/lib
  9241. fi
  9242. fi
  9243. aix_libpath=$lt_cv_aix_libpath_
  9244. fi
  9245. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  9246. # Warning - without using the other run time loading flags,
  9247. # -berok will link without error, but may produce a broken library.
  9248. no_undefined_flag=' $wl-bernotok'
  9249. allow_undefined_flag=' $wl-berok'
  9250. if test yes = "$with_gnu_ld"; then
  9251. # We only use this code for GNU lds that support --whole-archive.
  9252. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  9253. else
  9254. # Exported symbols can be pulled into shared objects from archives
  9255. whole_archive_flag_spec='$convenience'
  9256. fi
  9257. archive_cmds_need_lc=yes
  9258. # This is similar to how AIX traditionally builds its shared libraries.
  9259. 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'
  9260. fi
  9261. fi
  9262. ;;
  9263. amigaos*)
  9264. case $host_cpu in
  9265. powerpc)
  9266. # see comment about AmigaOS4 .so support
  9267. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  9268. archive_expsym_cmds=''
  9269. ;;
  9270. m68k)
  9271. 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)'
  9272. hardcode_libdir_flag_spec='-L$libdir'
  9273. hardcode_minus_L=yes
  9274. ;;
  9275. esac
  9276. ;;
  9277. bsdi[45]*)
  9278. export_dynamic_flag_spec=-rdynamic
  9279. ;;
  9280. cygwin* | mingw* | pw32* | cegcc*)
  9281. # When not using gcc, we currently assume that we are using
  9282. # Microsoft Visual C++.
  9283. # hardcode_libdir_flag_spec is actually meaningless, as there is
  9284. # no search path for DLLs.
  9285. case $cc_basename in
  9286. cl*)
  9287. # Native MSVC
  9288. hardcode_libdir_flag_spec=' '
  9289. allow_undefined_flag=unsupported
  9290. always_export_symbols=yes
  9291. file_list_spec='@'
  9292. # Tell ltmain to make .lib files, not .a files.
  9293. libext=lib
  9294. # Tell ltmain to make .dll files, not .so files.
  9295. shrext_cmds=.dll
  9296. # FIXME: Setting linknames here is a bad hack.
  9297. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  9298. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  9299. cp "$export_symbols" "$output_objdir/$soname.def";
  9300. echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  9301. else
  9302. $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  9303. fi~
  9304. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  9305. linknames='
  9306. # The linker will not automatically build a static lib if we build a DLL.
  9307. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  9308. enable_shared_with_static_runtimes=yes
  9309. exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  9310. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  9311. # Don't use ranlib
  9312. old_postinstall_cmds='chmod 644 $oldlib'
  9313. postlink_cmds='lt_outputfile="@OUTPUT@"~
  9314. lt_tool_outputfile="@TOOL_OUTPUT@"~
  9315. case $lt_outputfile in
  9316. *.exe|*.EXE) ;;
  9317. *)
  9318. lt_outputfile=$lt_outputfile.exe
  9319. lt_tool_outputfile=$lt_tool_outputfile.exe
  9320. ;;
  9321. esac~
  9322. if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  9323. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  9324. $RM "$lt_outputfile.manifest";
  9325. fi'
  9326. ;;
  9327. *)
  9328. # Assume MSVC wrapper
  9329. hardcode_libdir_flag_spec=' '
  9330. allow_undefined_flag=unsupported
  9331. # Tell ltmain to make .lib files, not .a files.
  9332. libext=lib
  9333. # Tell ltmain to make .dll files, not .so files.
  9334. shrext_cmds=.dll
  9335. # FIXME: Setting linknames here is a bad hack.
  9336. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9337. # The linker will automatically build a .lib file if we build a DLL.
  9338. old_archive_from_new_cmds='true'
  9339. # FIXME: Should let the user specify the lib program.
  9340. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9341. enable_shared_with_static_runtimes=yes
  9342. ;;
  9343. esac
  9344. ;;
  9345. darwin* | rhapsody*)
  9346. archive_cmds_need_lc=no
  9347. hardcode_direct=no
  9348. hardcode_automatic=yes
  9349. hardcode_shlibpath_var=unsupported
  9350. if test yes = "$lt_cv_ld_force_load"; then
  9351. 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\"`'
  9352. else
  9353. whole_archive_flag_spec=''
  9354. fi
  9355. link_all_deplibs=yes
  9356. allow_undefined_flag=$_lt_dar_allow_undefined
  9357. case $cc_basename in
  9358. ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  9359. *) _lt_dar_can_shared=$GCC ;;
  9360. esac
  9361. if test yes = "$_lt_dar_can_shared"; then
  9362. output_verbose_link_cmd=func_echo_all
  9363. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  9364. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  9365. 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"
  9366. 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"
  9367. else
  9368. ld_shlibs=no
  9369. fi
  9370. ;;
  9371. dgux*)
  9372. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9373. hardcode_libdir_flag_spec='-L$libdir'
  9374. hardcode_shlibpath_var=no
  9375. ;;
  9376. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9377. # support. Future versions do this automatically, but an explicit c++rt0.o
  9378. # does not break anything, and helps significantly (at the cost of a little
  9379. # extra space).
  9380. freebsd2.2*)
  9381. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9382. hardcode_libdir_flag_spec='-R$libdir'
  9383. hardcode_direct=yes
  9384. hardcode_shlibpath_var=no
  9385. ;;
  9386. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9387. freebsd2.*)
  9388. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9389. hardcode_direct=yes
  9390. hardcode_minus_L=yes
  9391. hardcode_shlibpath_var=no
  9392. ;;
  9393. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9394. freebsd* | dragonfly*)
  9395. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9396. hardcode_libdir_flag_spec='-R$libdir'
  9397. hardcode_direct=yes
  9398. hardcode_shlibpath_var=no
  9399. ;;
  9400. hpux9*)
  9401. if test yes = "$GCC"; then
  9402. archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  9403. else
  9404. archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  9405. fi
  9406. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  9407. hardcode_libdir_separator=:
  9408. hardcode_direct=yes
  9409. # hardcode_minus_L: Not really in the search PATH,
  9410. # but as the default location of the library.
  9411. hardcode_minus_L=yes
  9412. export_dynamic_flag_spec='$wl-E'
  9413. ;;
  9414. hpux10*)
  9415. if test yes,no = "$GCC,$with_gnu_ld"; then
  9416. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9417. else
  9418. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9419. fi
  9420. if test no = "$with_gnu_ld"; then
  9421. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  9422. hardcode_libdir_separator=:
  9423. hardcode_direct=yes
  9424. hardcode_direct_absolute=yes
  9425. export_dynamic_flag_spec='$wl-E'
  9426. # hardcode_minus_L: Not really in the search PATH,
  9427. # but as the default location of the library.
  9428. hardcode_minus_L=yes
  9429. fi
  9430. ;;
  9431. hpux11*)
  9432. if test yes,no = "$GCC,$with_gnu_ld"; then
  9433. case $host_cpu in
  9434. hppa*64*)
  9435. archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  9436. ;;
  9437. ia64*)
  9438. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9439. ;;
  9440. *)
  9441. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9442. ;;
  9443. esac
  9444. else
  9445. case $host_cpu in
  9446. hppa*64*)
  9447. archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  9448. ;;
  9449. ia64*)
  9450. archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9451. ;;
  9452. *)
  9453. # Older versions of the 11.00 compiler do not understand -b yet
  9454. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  9456. $as_echo_n "checking if $CC understands -b... " >&6; }
  9457. if ${lt_cv_prog_compiler__b+:} false; then :
  9458. $as_echo_n "(cached) " >&6
  9459. else
  9460. lt_cv_prog_compiler__b=no
  9461. save_LDFLAGS=$LDFLAGS
  9462. LDFLAGS="$LDFLAGS -b"
  9463. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9464. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9465. # The linker can only warn and ignore the option if not recognized
  9466. # So say no if there are warnings
  9467. if test -s conftest.err; then
  9468. # Append any errors to the config.log.
  9469. cat conftest.err 1>&5
  9470. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9471. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9472. if diff conftest.exp conftest.er2 >/dev/null; then
  9473. lt_cv_prog_compiler__b=yes
  9474. fi
  9475. else
  9476. lt_cv_prog_compiler__b=yes
  9477. fi
  9478. fi
  9479. $RM -r conftest*
  9480. LDFLAGS=$save_LDFLAGS
  9481. fi
  9482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  9483. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  9484. if test yes = "$lt_cv_prog_compiler__b"; then
  9485. archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9486. else
  9487. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9488. fi
  9489. ;;
  9490. esac
  9491. fi
  9492. if test no = "$with_gnu_ld"; then
  9493. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  9494. hardcode_libdir_separator=:
  9495. case $host_cpu in
  9496. hppa*64*|ia64*)
  9497. hardcode_direct=no
  9498. hardcode_shlibpath_var=no
  9499. ;;
  9500. *)
  9501. hardcode_direct=yes
  9502. hardcode_direct_absolute=yes
  9503. export_dynamic_flag_spec='$wl-E'
  9504. # hardcode_minus_L: Not really in the search PATH,
  9505. # but as the default location of the library.
  9506. hardcode_minus_L=yes
  9507. ;;
  9508. esac
  9509. fi
  9510. ;;
  9511. irix5* | irix6* | nonstopux*)
  9512. if test yes = "$GCC"; then
  9513. 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'
  9514. # Try to use the -exported_symbol ld option, if it does not
  9515. # work, assume that -exports_file does not work either and
  9516. # implicitly export all symbols.
  9517. # This should be the same for all languages, so no per-tag cache variable.
  9518. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  9519. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  9520. if ${lt_cv_irix_exported_symbol+:} false; then :
  9521. $as_echo_n "(cached) " >&6
  9522. else
  9523. save_LDFLAGS=$LDFLAGS
  9524. LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  9525. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9526. /* end confdefs.h. */
  9527. int foo (void) { return 0; }
  9528. _ACEOF
  9529. if ac_fn_c_try_link "$LINENO"; then :
  9530. lt_cv_irix_exported_symbol=yes
  9531. else
  9532. lt_cv_irix_exported_symbol=no
  9533. fi
  9534. rm -f core conftest.err conftest.$ac_objext \
  9535. conftest$ac_exeext conftest.$ac_ext
  9536. LDFLAGS=$save_LDFLAGS
  9537. fi
  9538. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  9539. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  9540. if test yes = "$lt_cv_irix_exported_symbol"; then
  9541. 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'
  9542. fi
  9543. else
  9544. 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'
  9545. 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'
  9546. fi
  9547. archive_cmds_need_lc='no'
  9548. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  9549. hardcode_libdir_separator=:
  9550. inherit_rpath=yes
  9551. link_all_deplibs=yes
  9552. ;;
  9553. netbsd*)
  9554. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9555. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  9556. else
  9557. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  9558. fi
  9559. hardcode_libdir_flag_spec='-R$libdir'
  9560. hardcode_direct=yes
  9561. hardcode_shlibpath_var=no
  9562. ;;
  9563. newsos6)
  9564. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9565. hardcode_direct=yes
  9566. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  9567. hardcode_libdir_separator=:
  9568. hardcode_shlibpath_var=no
  9569. ;;
  9570. *nto* | *qnx*)
  9571. ;;
  9572. openbsd* | bitrig*)
  9573. if test -f /usr/libexec/ld.so; then
  9574. hardcode_direct=yes
  9575. hardcode_shlibpath_var=no
  9576. hardcode_direct_absolute=yes
  9577. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  9578. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9579. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  9580. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  9581. export_dynamic_flag_spec='$wl-E'
  9582. else
  9583. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9584. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  9585. fi
  9586. else
  9587. ld_shlibs=no
  9588. fi
  9589. ;;
  9590. os2*)
  9591. hardcode_libdir_flag_spec='-L$libdir'
  9592. hardcode_minus_L=yes
  9593. allow_undefined_flag=unsupported
  9594. 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'
  9595. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9596. ;;
  9597. osf3*)
  9598. if test yes = "$GCC"; then
  9599. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  9600. 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'
  9601. else
  9602. allow_undefined_flag=' -expect_unresolved \*'
  9603. 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'
  9604. fi
  9605. archive_cmds_need_lc='no'
  9606. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  9607. hardcode_libdir_separator=:
  9608. ;;
  9609. osf4* | osf5*) # as osf3* with the addition of -msym flag
  9610. if test yes = "$GCC"; then
  9611. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  9612. 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'
  9613. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  9614. else
  9615. allow_undefined_flag=' -expect_unresolved \*'
  9616. 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'
  9617. 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~
  9618. $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'
  9619. # Both c and cxx compiler support -rpath directly
  9620. hardcode_libdir_flag_spec='-rpath $libdir'
  9621. fi
  9622. archive_cmds_need_lc='no'
  9623. hardcode_libdir_separator=:
  9624. ;;
  9625. solaris*)
  9626. no_undefined_flag=' -z defs'
  9627. if test yes = "$GCC"; then
  9628. wlarc='$wl'
  9629. archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  9630. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9631. $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'
  9632. else
  9633. case `$CC -V 2>&1` in
  9634. *"Compilers 5.0"*)
  9635. wlarc=''
  9636. archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9637. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9638. $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9639. ;;
  9640. *)
  9641. wlarc='$wl'
  9642. archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9643. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9644. $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9645. ;;
  9646. esac
  9647. fi
  9648. hardcode_libdir_flag_spec='-R$libdir'
  9649. hardcode_shlibpath_var=no
  9650. case $host_os in
  9651. solaris2.[0-5] | solaris2.[0-5].*) ;;
  9652. *)
  9653. # The compiler driver will combine and reorder linker options,
  9654. # but understands '-z linker_flag'. GCC discards it without '$wl',
  9655. # but is careful enough not to reorder.
  9656. # Supported since Solaris 2.6 (maybe 2.5.1?)
  9657. if test yes = "$GCC"; then
  9658. whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  9659. else
  9660. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9661. fi
  9662. ;;
  9663. esac
  9664. link_all_deplibs=yes
  9665. ;;
  9666. sunos4*)
  9667. if test sequent = "$host_vendor"; then
  9668. # Use $CC to link under sequent, because it throws in some extra .o
  9669. # files that make .init and .fini sections work.
  9670. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9671. else
  9672. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9673. fi
  9674. hardcode_libdir_flag_spec='-L$libdir'
  9675. hardcode_direct=yes
  9676. hardcode_minus_L=yes
  9677. hardcode_shlibpath_var=no
  9678. ;;
  9679. sysv4)
  9680. case $host_vendor in
  9681. sni)
  9682. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9683. hardcode_direct=yes # is this really true???
  9684. ;;
  9685. siemens)
  9686. ## LD is ld it makes a PLAMLIB
  9687. ## CC just makes a GrossModule.
  9688. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9689. reload_cmds='$CC -r -o $output$reload_objs'
  9690. hardcode_direct=no
  9691. ;;
  9692. motorola)
  9693. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9694. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9695. ;;
  9696. esac
  9697. runpath_var='LD_RUN_PATH'
  9698. hardcode_shlibpath_var=no
  9699. ;;
  9700. sysv4.3*)
  9701. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9702. hardcode_shlibpath_var=no
  9703. export_dynamic_flag_spec='-Bexport'
  9704. ;;
  9705. sysv4*MP*)
  9706. if test -d /usr/nec; then
  9707. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9708. hardcode_shlibpath_var=no
  9709. runpath_var=LD_RUN_PATH
  9710. hardcode_runpath_var=yes
  9711. ld_shlibs=yes
  9712. fi
  9713. ;;
  9714. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9715. no_undefined_flag='$wl-z,text'
  9716. archive_cmds_need_lc=no
  9717. hardcode_shlibpath_var=no
  9718. runpath_var='LD_RUN_PATH'
  9719. if test yes = "$GCC"; then
  9720. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9721. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9722. else
  9723. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9724. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9725. fi
  9726. ;;
  9727. sysv5* | sco3.2v5* | sco5v6*)
  9728. # Note: We CANNOT use -z defs as we might desire, because we do not
  9729. # link with -lc, and that would cause any symbols used from libc to
  9730. # always be unresolved, which means just about no library would
  9731. # ever link correctly. If we're not using GNU ld we use -z text
  9732. # though, which does catch some bad symbols but isn't as heavy-handed
  9733. # as -z defs.
  9734. no_undefined_flag='$wl-z,text'
  9735. allow_undefined_flag='$wl-z,nodefs'
  9736. archive_cmds_need_lc=no
  9737. hardcode_shlibpath_var=no
  9738. hardcode_libdir_flag_spec='$wl-R,$libdir'
  9739. hardcode_libdir_separator=':'
  9740. link_all_deplibs=yes
  9741. export_dynamic_flag_spec='$wl-Bexport'
  9742. runpath_var='LD_RUN_PATH'
  9743. if test yes = "$GCC"; then
  9744. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9745. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9746. else
  9747. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9748. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9749. fi
  9750. ;;
  9751. uts4*)
  9752. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9753. hardcode_libdir_flag_spec='-L$libdir'
  9754. hardcode_shlibpath_var=no
  9755. ;;
  9756. *)
  9757. ld_shlibs=no
  9758. ;;
  9759. esac
  9760. if test sni = "$host_vendor"; then
  9761. case $host in
  9762. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9763. export_dynamic_flag_spec='$wl-Blargedynsym'
  9764. ;;
  9765. esac
  9766. fi
  9767. fi
  9768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  9769. $as_echo "$ld_shlibs" >&6; }
  9770. test no = "$ld_shlibs" && can_build_shared=no
  9771. with_gnu_ld=$with_gnu_ld
  9772. #
  9773. # Do we need to explicitly link libc?
  9774. #
  9775. case "x$archive_cmds_need_lc" in
  9776. x|xyes)
  9777. # Assume -lc should be added
  9778. archive_cmds_need_lc=yes
  9779. if test yes,yes = "$GCC,$enable_shared"; then
  9780. case $archive_cmds in
  9781. *'~'*)
  9782. # FIXME: we may have to deal with multi-command sequences.
  9783. ;;
  9784. '$CC '*)
  9785. # Test whether the compiler implicitly links with -lc since on some
  9786. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9787. # to ld, don't add -lc before -lgcc.
  9788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  9789. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9790. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  9791. $as_echo_n "(cached) " >&6
  9792. else
  9793. $RM conftest*
  9794. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9795. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9796. (eval $ac_compile) 2>&5
  9797. ac_status=$?
  9798. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9799. test $ac_status = 0; } 2>conftest.err; then
  9800. soname=conftest
  9801. lib=conftest
  9802. libobjs=conftest.$ac_objext
  9803. deplibs=
  9804. wl=$lt_prog_compiler_wl
  9805. pic_flag=$lt_prog_compiler_pic
  9806. compiler_flags=-v
  9807. linker_flags=-v
  9808. verstring=
  9809. output_objdir=.
  9810. libname=conftest
  9811. lt_save_allow_undefined_flag=$allow_undefined_flag
  9812. allow_undefined_flag=
  9813. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  9814. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9815. ac_status=$?
  9816. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9817. test $ac_status = 0; }
  9818. then
  9819. lt_cv_archive_cmds_need_lc=no
  9820. else
  9821. lt_cv_archive_cmds_need_lc=yes
  9822. fi
  9823. allow_undefined_flag=$lt_save_allow_undefined_flag
  9824. else
  9825. cat conftest.err 1>&5
  9826. fi
  9827. $RM conftest*
  9828. fi
  9829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  9830. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  9831. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  9832. ;;
  9833. esac
  9834. fi
  9835. ;;
  9836. esac
  9837. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  9838. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  9839. if test yes = "$GCC"; then
  9840. case $host_os in
  9841. darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  9842. *) lt_awk_arg='/^libraries:/' ;;
  9843. esac
  9844. case $host_os in
  9845. mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  9846. *) lt_sed_strip_eq='s|=/|/|g' ;;
  9847. esac
  9848. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  9849. case $lt_search_path_spec in
  9850. *\;*)
  9851. # if the path contains ";" then we assume it to be the separator
  9852. # otherwise default to the standard path separator (i.e. ":") - it is
  9853. # assumed that no part of a normal pathname contains ";" but that should
  9854. # okay in the real world where ";" in dirpaths is itself problematic.
  9855. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  9856. ;;
  9857. *)
  9858. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9859. ;;
  9860. esac
  9861. # Ok, now we have the path, separated by spaces, we can step through it
  9862. # and add multilib dir if necessary...
  9863. lt_tmp_lt_search_path_spec=
  9864. lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9865. # ...but if some path component already ends with the multilib dir we assume
  9866. # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  9867. case "$lt_multi_os_dir; $lt_search_path_spec " in
  9868. "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  9869. lt_multi_os_dir=
  9870. ;;
  9871. esac
  9872. for lt_sys_path in $lt_search_path_spec; do
  9873. if test -d "$lt_sys_path$lt_multi_os_dir"; then
  9874. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  9875. elif test -n "$lt_multi_os_dir"; then
  9876. test -d "$lt_sys_path" && \
  9877. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9878. fi
  9879. done
  9880. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9881. BEGIN {RS = " "; FS = "/|\n";} {
  9882. lt_foo = "";
  9883. lt_count = 0;
  9884. for (lt_i = NF; lt_i > 0; lt_i--) {
  9885. if ($lt_i != "" && $lt_i != ".") {
  9886. if ($lt_i == "..") {
  9887. lt_count++;
  9888. } else {
  9889. if (lt_count == 0) {
  9890. lt_foo = "/" $lt_i lt_foo;
  9891. } else {
  9892. lt_count--;
  9893. }
  9894. }
  9895. }
  9896. }
  9897. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9898. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9899. }'`
  9900. # AWK program above erroneously prepends '/' to C:/dos/paths
  9901. # for these hosts.
  9902. case $host_os in
  9903. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9904. $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  9905. esac
  9906. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9907. else
  9908. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9909. fi
  9910. library_names_spec=
  9911. libname_spec='lib$name'
  9912. soname_spec=
  9913. shrext_cmds=.so
  9914. postinstall_cmds=
  9915. postuninstall_cmds=
  9916. finish_cmds=
  9917. finish_eval=
  9918. shlibpath_var=
  9919. shlibpath_overrides_runpath=unknown
  9920. version_type=none
  9921. dynamic_linker="$host_os ld.so"
  9922. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9923. need_lib_prefix=unknown
  9924. hardcode_into_libs=no
  9925. # when you set need_version to no, make sure it does not cause -set_version
  9926. # flags to be left without arguments
  9927. need_version=unknown
  9928. case $host_os in
  9929. aix3*)
  9930. version_type=linux # correct to gnu/linux during the next big refactor
  9931. library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  9932. shlibpath_var=LIBPATH
  9933. # AIX 3 has no versioning support, so we append a major version to the name.
  9934. soname_spec='$libname$release$shared_ext$major'
  9935. ;;
  9936. aix[4-9]*)
  9937. version_type=linux # correct to gnu/linux during the next big refactor
  9938. need_lib_prefix=no
  9939. need_version=no
  9940. hardcode_into_libs=yes
  9941. if test ia64 = "$host_cpu"; then
  9942. # AIX 5 supports IA64
  9943. library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  9944. shlibpath_var=LD_LIBRARY_PATH
  9945. else
  9946. # With GCC up to 2.95.x, collect2 would create an import file
  9947. # for dependence libraries. The import file would start with
  9948. # the line '#! .'. This would cause the generated library to
  9949. # depend on '.', always an invalid library. This was fixed in
  9950. # development snapshots of GCC prior to 3.0.
  9951. case $host_os in
  9952. aix4 | aix4.[01] | aix4.[01].*)
  9953. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9954. echo ' yes '
  9955. echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  9956. :
  9957. else
  9958. can_build_shared=no
  9959. fi
  9960. ;;
  9961. esac
  9962. # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  9963. # soname into executable. Probably we can add versioning support to
  9964. # collect2, so additional links can be useful in future.
  9965. if test yes = "$aix_use_runtimelinking"; then
  9966. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9967. # instead of lib<name>.a to let people know that these are not
  9968. # typical AIX shared libraries.
  9969. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9970. else
  9971. # We preserve .a as extension for shared libraries through AIX4.2
  9972. # and later when we are not doing run time linking.
  9973. library_names_spec='$libname$release.a $libname.a'
  9974. soname_spec='$libname$release$shared_ext$major'
  9975. fi
  9976. shlibpath_var=LIBPATH
  9977. fi
  9978. ;;
  9979. amigaos*)
  9980. case $host_cpu in
  9981. powerpc)
  9982. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9983. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9984. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9985. ;;
  9986. m68k)
  9987. library_names_spec='$libname.ixlibrary $libname.a'
  9988. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9989. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  9990. ;;
  9991. esac
  9992. ;;
  9993. beos*)
  9994. library_names_spec='$libname$shared_ext'
  9995. dynamic_linker="$host_os ld.so"
  9996. shlibpath_var=LIBRARY_PATH
  9997. ;;
  9998. bsdi[45]*)
  9999. version_type=linux # correct to gnu/linux during the next big refactor
  10000. need_version=no
  10001. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10002. soname_spec='$libname$release$shared_ext$major'
  10003. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  10004. shlibpath_var=LD_LIBRARY_PATH
  10005. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  10006. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  10007. # the default ld.so.conf also contains /usr/contrib/lib and
  10008. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  10009. # libtool to hard-code these into programs
  10010. ;;
  10011. cygwin* | mingw* | pw32* | cegcc*)
  10012. version_type=windows
  10013. shrext_cmds=.dll
  10014. need_version=no
  10015. need_lib_prefix=no
  10016. case $GCC,$cc_basename in
  10017. yes,*)
  10018. # gcc
  10019. library_names_spec='$libname.dll.a'
  10020. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  10021. postinstall_cmds='base_file=`basename \$file`~
  10022. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  10023. dldir=$destdir/`dirname \$dlpath`~
  10024. test -d \$dldir || mkdir -p \$dldir~
  10025. $install_prog $dir/$dlname \$dldir/$dlname~
  10026. chmod a+x \$dldir/$dlname~
  10027. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  10028. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  10029. fi'
  10030. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  10031. dlpath=$dir/\$dldll~
  10032. $RM \$dlpath'
  10033. shlibpath_overrides_runpath=yes
  10034. case $host_os in
  10035. cygwin*)
  10036. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  10037. soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  10038. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  10039. ;;
  10040. mingw* | cegcc*)
  10041. # MinGW DLLs use traditional 'lib' prefix
  10042. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  10043. ;;
  10044. pw32*)
  10045. # pw32 DLLs use 'pw' prefix rather than 'lib'
  10046. library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  10047. ;;
  10048. esac
  10049. dynamic_linker='Win32 ld.exe'
  10050. ;;
  10051. *,cl*)
  10052. # Native MSVC
  10053. libname_spec='$name'
  10054. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  10055. library_names_spec='$libname.dll.lib'
  10056. case $build_os in
  10057. mingw*)
  10058. sys_lib_search_path_spec=
  10059. lt_save_ifs=$IFS
  10060. IFS=';'
  10061. for lt_path in $LIB
  10062. do
  10063. IFS=$lt_save_ifs
  10064. # Let DOS variable expansion print the short 8.3 style file name.
  10065. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  10066. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  10067. done
  10068. IFS=$lt_save_ifs
  10069. # Convert to MSYS style.
  10070. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  10071. ;;
  10072. cygwin*)
  10073. # Convert to unix form, then to dos form, then back to unix form
  10074. # but this time dos style (no spaces!) so that the unix form looks
  10075. # like /cygdrive/c/PROGRA~1:/cygdr...
  10076. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  10077. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  10078. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  10079. ;;
  10080. *)
  10081. sys_lib_search_path_spec=$LIB
  10082. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  10083. # It is most probably a Windows format PATH.
  10084. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  10085. else
  10086. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  10087. fi
  10088. # FIXME: find the short name or the path components, as spaces are
  10089. # common. (e.g. "Program Files" -> "PROGRA~1")
  10090. ;;
  10091. esac
  10092. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  10093. postinstall_cmds='base_file=`basename \$file`~
  10094. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  10095. dldir=$destdir/`dirname \$dlpath`~
  10096. test -d \$dldir || mkdir -p \$dldir~
  10097. $install_prog $dir/$dlname \$dldir/$dlname'
  10098. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  10099. dlpath=$dir/\$dldll~
  10100. $RM \$dlpath'
  10101. shlibpath_overrides_runpath=yes
  10102. dynamic_linker='Win32 link.exe'
  10103. ;;
  10104. *)
  10105. # Assume MSVC wrapper
  10106. library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  10107. dynamic_linker='Win32 ld.exe'
  10108. ;;
  10109. esac
  10110. # FIXME: first we should search . and the directory the executable is in
  10111. shlibpath_var=PATH
  10112. ;;
  10113. darwin* | rhapsody*)
  10114. dynamic_linker="$host_os dyld"
  10115. version_type=darwin
  10116. need_lib_prefix=no
  10117. need_version=no
  10118. library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  10119. soname_spec='$libname$release$major$shared_ext'
  10120. shlibpath_overrides_runpath=yes
  10121. shlibpath_var=DYLD_LIBRARY_PATH
  10122. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  10123. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  10124. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  10125. ;;
  10126. dgux*)
  10127. version_type=linux # correct to gnu/linux during the next big refactor
  10128. need_lib_prefix=no
  10129. need_version=no
  10130. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10131. soname_spec='$libname$release$shared_ext$major'
  10132. shlibpath_var=LD_LIBRARY_PATH
  10133. ;;
  10134. freebsd* | dragonfly*)
  10135. # DragonFly does not have aout. When/if they implement a new
  10136. # versioning mechanism, adjust this.
  10137. if test -x /usr/bin/objformat; then
  10138. objformat=`/usr/bin/objformat`
  10139. else
  10140. case $host_os in
  10141. freebsd[23].*) objformat=aout ;;
  10142. *) objformat=elf ;;
  10143. esac
  10144. fi
  10145. version_type=freebsd-$objformat
  10146. case $version_type in
  10147. freebsd-elf*)
  10148. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  10149. need_version=no
  10150. need_lib_prefix=no
  10151. ;;
  10152. freebsd-*)
  10153. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  10154. need_version=yes
  10155. ;;
  10156. esac
  10157. shlibpath_var=LD_LIBRARY_PATH
  10158. case $host_os in
  10159. freebsd2.*)
  10160. shlibpath_overrides_runpath=yes
  10161. ;;
  10162. freebsd3.[01]* | freebsdelf3.[01]*)
  10163. shlibpath_overrides_runpath=yes
  10164. hardcode_into_libs=yes
  10165. ;;
  10166. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  10167. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  10168. shlibpath_overrides_runpath=no
  10169. hardcode_into_libs=yes
  10170. ;;
  10171. *) # from 4.6 on, and DragonFly
  10172. shlibpath_overrides_runpath=yes
  10173. hardcode_into_libs=yes
  10174. ;;
  10175. esac
  10176. ;;
  10177. haiku*)
  10178. version_type=linux # correct to gnu/linux during the next big refactor
  10179. need_lib_prefix=no
  10180. need_version=no
  10181. dynamic_linker="$host_os runtime_loader"
  10182. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10183. soname_spec='$libname$release$shared_ext$major'
  10184. shlibpath_var=LIBRARY_PATH
  10185. shlibpath_overrides_runpath=no
  10186. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  10187. hardcode_into_libs=yes
  10188. ;;
  10189. hpux9* | hpux10* | hpux11*)
  10190. # Give a soname corresponding to the major version so that dld.sl refuses to
  10191. # link against other versions.
  10192. version_type=sunos
  10193. need_lib_prefix=no
  10194. need_version=no
  10195. case $host_cpu in
  10196. ia64*)
  10197. shrext_cmds='.so'
  10198. hardcode_into_libs=yes
  10199. dynamic_linker="$host_os dld.so"
  10200. shlibpath_var=LD_LIBRARY_PATH
  10201. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10202. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10203. soname_spec='$libname$release$shared_ext$major'
  10204. if test 32 = "$HPUX_IA64_MODE"; then
  10205. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  10206. else
  10207. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  10208. fi
  10209. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10210. ;;
  10211. hppa*64*)
  10212. shrext_cmds='.sl'
  10213. hardcode_into_libs=yes
  10214. dynamic_linker="$host_os dld.sl"
  10215. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  10216. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10217. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10218. soname_spec='$libname$release$shared_ext$major'
  10219. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  10220. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10221. ;;
  10222. *)
  10223. shrext_cmds='.sl'
  10224. dynamic_linker="$host_os dld.sl"
  10225. shlibpath_var=SHLIB_PATH
  10226. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  10227. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10228. soname_spec='$libname$release$shared_ext$major'
  10229. ;;
  10230. esac
  10231. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  10232. postinstall_cmds='chmod 555 $lib'
  10233. # or fails outright, so override atomically:
  10234. install_override_mode=555
  10235. ;;
  10236. interix[3-9]*)
  10237. version_type=linux # correct to gnu/linux during the next big refactor
  10238. need_lib_prefix=no
  10239. need_version=no
  10240. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10241. soname_spec='$libname$release$shared_ext$major'
  10242. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  10243. shlibpath_var=LD_LIBRARY_PATH
  10244. shlibpath_overrides_runpath=no
  10245. hardcode_into_libs=yes
  10246. ;;
  10247. irix5* | irix6* | nonstopux*)
  10248. case $host_os in
  10249. nonstopux*) version_type=nonstopux ;;
  10250. *)
  10251. if test yes = "$lt_cv_prog_gnu_ld"; then
  10252. version_type=linux # correct to gnu/linux during the next big refactor
  10253. else
  10254. version_type=irix
  10255. fi ;;
  10256. esac
  10257. need_lib_prefix=no
  10258. need_version=no
  10259. soname_spec='$libname$release$shared_ext$major'
  10260. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  10261. case $host_os in
  10262. irix5* | nonstopux*)
  10263. libsuff= shlibsuff=
  10264. ;;
  10265. *)
  10266. case $LD in # libtool.m4 will add one of these switches to LD
  10267. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  10268. libsuff= shlibsuff= libmagic=32-bit;;
  10269. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  10270. libsuff=32 shlibsuff=N32 libmagic=N32;;
  10271. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  10272. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  10273. *) libsuff= shlibsuff= libmagic=never-match;;
  10274. esac
  10275. ;;
  10276. esac
  10277. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  10278. shlibpath_overrides_runpath=no
  10279. sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  10280. sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  10281. hardcode_into_libs=yes
  10282. ;;
  10283. # No shared lib support for Linux oldld, aout, or coff.
  10284. linux*oldld* | linux*aout* | linux*coff*)
  10285. dynamic_linker=no
  10286. ;;
  10287. linux*android*)
  10288. version_type=none # Android doesn't support versioned libraries.
  10289. need_lib_prefix=no
  10290. need_version=no
  10291. library_names_spec='$libname$release$shared_ext'
  10292. soname_spec='$libname$release$shared_ext'
  10293. finish_cmds=
  10294. shlibpath_var=LD_LIBRARY_PATH
  10295. shlibpath_overrides_runpath=yes
  10296. # This implies no fast_install, which is unacceptable.
  10297. # Some rework will be needed to allow for fast_install
  10298. # before this can be enabled.
  10299. hardcode_into_libs=yes
  10300. dynamic_linker='Android linker'
  10301. # Don't embed -rpath directories since the linker doesn't support them.
  10302. hardcode_libdir_flag_spec='-L$libdir'
  10303. ;;
  10304. # This must be glibc/ELF.
  10305. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  10306. version_type=linux # correct to gnu/linux during the next big refactor
  10307. need_lib_prefix=no
  10308. need_version=no
  10309. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10310. soname_spec='$libname$release$shared_ext$major'
  10311. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  10312. shlibpath_var=LD_LIBRARY_PATH
  10313. shlibpath_overrides_runpath=no
  10314. # Some binutils ld are patched to set DT_RUNPATH
  10315. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  10316. $as_echo_n "(cached) " >&6
  10317. else
  10318. lt_cv_shlibpath_overrides_runpath=no
  10319. save_LDFLAGS=$LDFLAGS
  10320. save_libdir=$libdir
  10321. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  10322. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  10323. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10324. /* end confdefs.h. */
  10325. int
  10326. main ()
  10327. {
  10328. ;
  10329. return 0;
  10330. }
  10331. _ACEOF
  10332. if ac_fn_c_try_link "$LINENO"; then :
  10333. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  10334. lt_cv_shlibpath_overrides_runpath=yes
  10335. fi
  10336. fi
  10337. rm -f core conftest.err conftest.$ac_objext \
  10338. conftest$ac_exeext conftest.$ac_ext
  10339. LDFLAGS=$save_LDFLAGS
  10340. libdir=$save_libdir
  10341. fi
  10342. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  10343. # This implies no fast_install, which is unacceptable.
  10344. # Some rework will be needed to allow for fast_install
  10345. # before this can be enabled.
  10346. hardcode_into_libs=yes
  10347. # Add ABI-specific directories to the system library path.
  10348. sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  10349. # Append ld.so.conf contents to the search path
  10350. if test -f /etc/ld.so.conf; then
  10351. 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' ' '`
  10352. sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  10353. fi
  10354. # We used to test for /lib/ld.so.1 and disable shared libraries on
  10355. # powerpc, because MkLinux only supported shared libraries with the
  10356. # GNU dynamic linker. Since this was broken with cross compilers,
  10357. # most powerpc-linux boxes support dynamic linking these days and
  10358. # people can always --disable-shared, the test was removed, and we
  10359. # assume the GNU/Linux dynamic linker is in use.
  10360. dynamic_linker='GNU/Linux ld.so'
  10361. ;;
  10362. netbsd*)
  10363. version_type=sunos
  10364. need_lib_prefix=no
  10365. need_version=no
  10366. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10367. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  10368. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10369. dynamic_linker='NetBSD (a.out) ld.so'
  10370. else
  10371. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10372. soname_spec='$libname$release$shared_ext$major'
  10373. dynamic_linker='NetBSD ld.elf_so'
  10374. fi
  10375. shlibpath_var=LD_LIBRARY_PATH
  10376. shlibpath_overrides_runpath=yes
  10377. hardcode_into_libs=yes
  10378. ;;
  10379. newsos6)
  10380. version_type=linux # correct to gnu/linux during the next big refactor
  10381. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10382. shlibpath_var=LD_LIBRARY_PATH
  10383. shlibpath_overrides_runpath=yes
  10384. ;;
  10385. *nto* | *qnx*)
  10386. version_type=qnx
  10387. need_lib_prefix=no
  10388. need_version=no
  10389. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10390. soname_spec='$libname$release$shared_ext$major'
  10391. shlibpath_var=LD_LIBRARY_PATH
  10392. shlibpath_overrides_runpath=no
  10393. hardcode_into_libs=yes
  10394. dynamic_linker='ldqnx.so'
  10395. ;;
  10396. openbsd* | bitrig*)
  10397. version_type=sunos
  10398. sys_lib_dlsearch_path_spec=/usr/lib
  10399. need_lib_prefix=no
  10400. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  10401. need_version=no
  10402. else
  10403. need_version=yes
  10404. fi
  10405. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  10406. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10407. shlibpath_var=LD_LIBRARY_PATH
  10408. shlibpath_overrides_runpath=yes
  10409. ;;
  10410. os2*)
  10411. libname_spec='$name'
  10412. shrext_cmds=.dll
  10413. need_lib_prefix=no
  10414. library_names_spec='$libname$shared_ext $libname.a'
  10415. dynamic_linker='OS/2 ld.exe'
  10416. shlibpath_var=LIBPATH
  10417. ;;
  10418. osf3* | osf4* | osf5*)
  10419. version_type=osf
  10420. need_lib_prefix=no
  10421. need_version=no
  10422. soname_spec='$libname$release$shared_ext$major'
  10423. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10424. shlibpath_var=LD_LIBRARY_PATH
  10425. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  10426. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10427. ;;
  10428. rdos*)
  10429. dynamic_linker=no
  10430. ;;
  10431. solaris*)
  10432. version_type=linux # correct to gnu/linux during the next big refactor
  10433. need_lib_prefix=no
  10434. need_version=no
  10435. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10436. soname_spec='$libname$release$shared_ext$major'
  10437. shlibpath_var=LD_LIBRARY_PATH
  10438. shlibpath_overrides_runpath=yes
  10439. hardcode_into_libs=yes
  10440. # ldd complains unless libraries are executable
  10441. postinstall_cmds='chmod +x $lib'
  10442. ;;
  10443. sunos4*)
  10444. version_type=sunos
  10445. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  10446. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  10447. shlibpath_var=LD_LIBRARY_PATH
  10448. shlibpath_overrides_runpath=yes
  10449. if test yes = "$with_gnu_ld"; then
  10450. need_lib_prefix=no
  10451. fi
  10452. need_version=yes
  10453. ;;
  10454. sysv4 | sysv4.3*)
  10455. version_type=linux # correct to gnu/linux during the next big refactor
  10456. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10457. soname_spec='$libname$release$shared_ext$major'
  10458. shlibpath_var=LD_LIBRARY_PATH
  10459. case $host_vendor in
  10460. sni)
  10461. shlibpath_overrides_runpath=no
  10462. need_lib_prefix=no
  10463. runpath_var=LD_RUN_PATH
  10464. ;;
  10465. siemens)
  10466. need_lib_prefix=no
  10467. ;;
  10468. motorola)
  10469. need_lib_prefix=no
  10470. need_version=no
  10471. shlibpath_overrides_runpath=no
  10472. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  10473. ;;
  10474. esac
  10475. ;;
  10476. sysv4*MP*)
  10477. if test -d /usr/nec; then
  10478. version_type=linux # correct to gnu/linux during the next big refactor
  10479. library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  10480. soname_spec='$libname$shared_ext.$major'
  10481. shlibpath_var=LD_LIBRARY_PATH
  10482. fi
  10483. ;;
  10484. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  10485. version_type=freebsd-elf
  10486. need_lib_prefix=no
  10487. need_version=no
  10488. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  10489. soname_spec='$libname$release$shared_ext$major'
  10490. shlibpath_var=LD_LIBRARY_PATH
  10491. shlibpath_overrides_runpath=yes
  10492. hardcode_into_libs=yes
  10493. if test yes = "$with_gnu_ld"; then
  10494. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  10495. else
  10496. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  10497. case $host_os in
  10498. sco3.2v5*)
  10499. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  10500. ;;
  10501. esac
  10502. fi
  10503. sys_lib_dlsearch_path_spec='/usr/lib'
  10504. ;;
  10505. tpf*)
  10506. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  10507. version_type=linux # correct to gnu/linux during the next big refactor
  10508. need_lib_prefix=no
  10509. need_version=no
  10510. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10511. shlibpath_var=LD_LIBRARY_PATH
  10512. shlibpath_overrides_runpath=no
  10513. hardcode_into_libs=yes
  10514. ;;
  10515. uts4*)
  10516. version_type=linux # correct to gnu/linux during the next big refactor
  10517. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  10518. soname_spec='$libname$release$shared_ext$major'
  10519. shlibpath_var=LD_LIBRARY_PATH
  10520. ;;
  10521. *)
  10522. dynamic_linker=no
  10523. ;;
  10524. esac
  10525. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  10526. $as_echo "$dynamic_linker" >&6; }
  10527. test no = "$dynamic_linker" && can_build_shared=no
  10528. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  10529. if test yes = "$GCC"; then
  10530. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  10531. fi
  10532. if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  10533. sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  10534. fi
  10535. if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  10536. sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  10537. fi
  10538. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  10539. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  10540. hardcode_action=
  10541. if test -n "$hardcode_libdir_flag_spec" ||
  10542. test -n "$runpath_var" ||
  10543. test yes = "$hardcode_automatic"; then
  10544. # We can hardcode non-existent directories.
  10545. if test no != "$hardcode_direct" &&
  10546. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  10547. # have to relink, otherwise we might link with an installed library
  10548. # when we should be linking with a yet-to-be-installed one
  10549. ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  10550. test no != "$hardcode_minus_L"; then
  10551. # Linking always hardcodes the temporary library directory.
  10552. hardcode_action=relink
  10553. else
  10554. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  10555. hardcode_action=immediate
  10556. fi
  10557. else
  10558. # We cannot hardcode anything, or else we can only hardcode existing
  10559. # directories.
  10560. hardcode_action=unsupported
  10561. fi
  10562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  10563. $as_echo "$hardcode_action" >&6; }
  10564. if test relink = "$hardcode_action" ||
  10565. test yes = "$inherit_rpath"; then
  10566. # Fast installation is not supported
  10567. enable_fast_install=no
  10568. elif test yes = "$shlibpath_overrides_runpath" ||
  10569. test no = "$enable_shared"; then
  10570. # Fast installation is not necessary
  10571. enable_fast_install=needless
  10572. fi
  10573. if test yes != "$enable_dlopen"; then
  10574. enable_dlopen=unknown
  10575. enable_dlopen_self=unknown
  10576. enable_dlopen_self_static=unknown
  10577. else
  10578. lt_cv_dlopen=no
  10579. lt_cv_dlopen_libs=
  10580. case $host_os in
  10581. beos*)
  10582. lt_cv_dlopen=load_add_on
  10583. lt_cv_dlopen_libs=
  10584. lt_cv_dlopen_self=yes
  10585. ;;
  10586. mingw* | pw32* | cegcc*)
  10587. lt_cv_dlopen=LoadLibrary
  10588. lt_cv_dlopen_libs=
  10589. ;;
  10590. cygwin*)
  10591. lt_cv_dlopen=dlopen
  10592. lt_cv_dlopen_libs=
  10593. ;;
  10594. darwin*)
  10595. # if libdl is installed we need to link against it
  10596. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10597. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10598. if ${ac_cv_lib_dl_dlopen+:} false; then :
  10599. $as_echo_n "(cached) " >&6
  10600. else
  10601. ac_check_lib_save_LIBS=$LIBS
  10602. LIBS="-ldl $LIBS"
  10603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10604. /* end confdefs.h. */
  10605. /* Override any GCC internal prototype to avoid an error.
  10606. Use char because int might match the return type of a GCC
  10607. builtin and then its argument prototype would still apply. */
  10608. #ifdef __cplusplus
  10609. extern "C"
  10610. #endif
  10611. char dlopen ();
  10612. int
  10613. main ()
  10614. {
  10615. return dlopen ();
  10616. ;
  10617. return 0;
  10618. }
  10619. _ACEOF
  10620. if ac_fn_c_try_link "$LINENO"; then :
  10621. ac_cv_lib_dl_dlopen=yes
  10622. else
  10623. ac_cv_lib_dl_dlopen=no
  10624. fi
  10625. rm -f core conftest.err conftest.$ac_objext \
  10626. conftest$ac_exeext conftest.$ac_ext
  10627. LIBS=$ac_check_lib_save_LIBS
  10628. fi
  10629. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10630. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10631. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10632. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  10633. else
  10634. lt_cv_dlopen=dyld
  10635. lt_cv_dlopen_libs=
  10636. lt_cv_dlopen_self=yes
  10637. fi
  10638. ;;
  10639. tpf*)
  10640. # Don't try to run any link tests for TPF. We know it's impossible
  10641. # because TPF is a cross-compiler, and we know how we open DSOs.
  10642. lt_cv_dlopen=dlopen
  10643. lt_cv_dlopen_libs=
  10644. lt_cv_dlopen_self=no
  10645. ;;
  10646. *)
  10647. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10648. if test "x$ac_cv_func_shl_load" = xyes; then :
  10649. lt_cv_dlopen=shl_load
  10650. else
  10651. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10652. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10653. if ${ac_cv_lib_dld_shl_load+:} false; then :
  10654. $as_echo_n "(cached) " >&6
  10655. else
  10656. ac_check_lib_save_LIBS=$LIBS
  10657. LIBS="-ldld $LIBS"
  10658. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10659. /* end confdefs.h. */
  10660. /* Override any GCC internal prototype to avoid an error.
  10661. Use char because int might match the return type of a GCC
  10662. builtin and then its argument prototype would still apply. */
  10663. #ifdef __cplusplus
  10664. extern "C"
  10665. #endif
  10666. char shl_load ();
  10667. int
  10668. main ()
  10669. {
  10670. return shl_load ();
  10671. ;
  10672. return 0;
  10673. }
  10674. _ACEOF
  10675. if ac_fn_c_try_link "$LINENO"; then :
  10676. ac_cv_lib_dld_shl_load=yes
  10677. else
  10678. ac_cv_lib_dld_shl_load=no
  10679. fi
  10680. rm -f core conftest.err conftest.$ac_objext \
  10681. conftest$ac_exeext conftest.$ac_ext
  10682. LIBS=$ac_check_lib_save_LIBS
  10683. fi
  10684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10685. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10686. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  10687. lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  10688. else
  10689. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  10690. if test "x$ac_cv_func_dlopen" = xyes; then :
  10691. lt_cv_dlopen=dlopen
  10692. else
  10693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10694. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10695. if ${ac_cv_lib_dl_dlopen+:} false; then :
  10696. $as_echo_n "(cached) " >&6
  10697. else
  10698. ac_check_lib_save_LIBS=$LIBS
  10699. LIBS="-ldl $LIBS"
  10700. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10701. /* end confdefs.h. */
  10702. /* Override any GCC internal prototype to avoid an error.
  10703. Use char because int might match the return type of a GCC
  10704. builtin and then its argument prototype would still apply. */
  10705. #ifdef __cplusplus
  10706. extern "C"
  10707. #endif
  10708. char dlopen ();
  10709. int
  10710. main ()
  10711. {
  10712. return dlopen ();
  10713. ;
  10714. return 0;
  10715. }
  10716. _ACEOF
  10717. if ac_fn_c_try_link "$LINENO"; then :
  10718. ac_cv_lib_dl_dlopen=yes
  10719. else
  10720. ac_cv_lib_dl_dlopen=no
  10721. fi
  10722. rm -f core conftest.err conftest.$ac_objext \
  10723. conftest$ac_exeext conftest.$ac_ext
  10724. LIBS=$ac_check_lib_save_LIBS
  10725. fi
  10726. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10727. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10728. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10729. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  10730. else
  10731. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10732. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10733. if ${ac_cv_lib_svld_dlopen+:} false; then :
  10734. $as_echo_n "(cached) " >&6
  10735. else
  10736. ac_check_lib_save_LIBS=$LIBS
  10737. LIBS="-lsvld $LIBS"
  10738. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10739. /* end confdefs.h. */
  10740. /* Override any GCC internal prototype to avoid an error.
  10741. Use char because int might match the return type of a GCC
  10742. builtin and then its argument prototype would still apply. */
  10743. #ifdef __cplusplus
  10744. extern "C"
  10745. #endif
  10746. char dlopen ();
  10747. int
  10748. main ()
  10749. {
  10750. return dlopen ();
  10751. ;
  10752. return 0;
  10753. }
  10754. _ACEOF
  10755. if ac_fn_c_try_link "$LINENO"; then :
  10756. ac_cv_lib_svld_dlopen=yes
  10757. else
  10758. ac_cv_lib_svld_dlopen=no
  10759. fi
  10760. rm -f core conftest.err conftest.$ac_objext \
  10761. conftest$ac_exeext conftest.$ac_ext
  10762. LIBS=$ac_check_lib_save_LIBS
  10763. fi
  10764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10765. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10766. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  10767. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  10768. else
  10769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10770. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10771. if ${ac_cv_lib_dld_dld_link+:} false; then :
  10772. $as_echo_n "(cached) " >&6
  10773. else
  10774. ac_check_lib_save_LIBS=$LIBS
  10775. LIBS="-ldld $LIBS"
  10776. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10777. /* end confdefs.h. */
  10778. /* Override any GCC internal prototype to avoid an error.
  10779. Use char because int might match the return type of a GCC
  10780. builtin and then its argument prototype would still apply. */
  10781. #ifdef __cplusplus
  10782. extern "C"
  10783. #endif
  10784. char dld_link ();
  10785. int
  10786. main ()
  10787. {
  10788. return dld_link ();
  10789. ;
  10790. return 0;
  10791. }
  10792. _ACEOF
  10793. if ac_fn_c_try_link "$LINENO"; then :
  10794. ac_cv_lib_dld_dld_link=yes
  10795. else
  10796. ac_cv_lib_dld_dld_link=no
  10797. fi
  10798. rm -f core conftest.err conftest.$ac_objext \
  10799. conftest$ac_exeext conftest.$ac_ext
  10800. LIBS=$ac_check_lib_save_LIBS
  10801. fi
  10802. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10803. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10804. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  10805. lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  10806. fi
  10807. fi
  10808. fi
  10809. fi
  10810. fi
  10811. fi
  10812. ;;
  10813. esac
  10814. if test no = "$lt_cv_dlopen"; then
  10815. enable_dlopen=no
  10816. else
  10817. enable_dlopen=yes
  10818. fi
  10819. case $lt_cv_dlopen in
  10820. dlopen)
  10821. save_CPPFLAGS=$CPPFLAGS
  10822. test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10823. save_LDFLAGS=$LDFLAGS
  10824. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10825. save_LIBS=$LIBS
  10826. LIBS="$lt_cv_dlopen_libs $LIBS"
  10827. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  10828. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10829. if ${lt_cv_dlopen_self+:} false; then :
  10830. $as_echo_n "(cached) " >&6
  10831. else
  10832. if test yes = "$cross_compiling"; then :
  10833. lt_cv_dlopen_self=cross
  10834. else
  10835. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10836. lt_status=$lt_dlunknown
  10837. cat > conftest.$ac_ext <<_LT_EOF
  10838. #line $LINENO "configure"
  10839. #include "confdefs.h"
  10840. #if HAVE_DLFCN_H
  10841. #include <dlfcn.h>
  10842. #endif
  10843. #include <stdio.h>
  10844. #ifdef RTLD_GLOBAL
  10845. # define LT_DLGLOBAL RTLD_GLOBAL
  10846. #else
  10847. # ifdef DL_GLOBAL
  10848. # define LT_DLGLOBAL DL_GLOBAL
  10849. # else
  10850. # define LT_DLGLOBAL 0
  10851. # endif
  10852. #endif
  10853. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10854. find out it does not work in some platform. */
  10855. #ifndef LT_DLLAZY_OR_NOW
  10856. # ifdef RTLD_LAZY
  10857. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10858. # else
  10859. # ifdef DL_LAZY
  10860. # define LT_DLLAZY_OR_NOW DL_LAZY
  10861. # else
  10862. # ifdef RTLD_NOW
  10863. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10864. # else
  10865. # ifdef DL_NOW
  10866. # define LT_DLLAZY_OR_NOW DL_NOW
  10867. # else
  10868. # define LT_DLLAZY_OR_NOW 0
  10869. # endif
  10870. # endif
  10871. # endif
  10872. # endif
  10873. #endif
  10874. /* When -fvisbility=hidden is used, assume the code has been annotated
  10875. correspondingly for the symbols needed. */
  10876. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10877. int fnord () __attribute__((visibility("default")));
  10878. #endif
  10879. int fnord () { return 42; }
  10880. int main ()
  10881. {
  10882. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10883. int status = $lt_dlunknown;
  10884. if (self)
  10885. {
  10886. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10887. else
  10888. {
  10889. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10890. else puts (dlerror ());
  10891. }
  10892. /* dlclose (self); */
  10893. }
  10894. else
  10895. puts (dlerror ());
  10896. return status;
  10897. }
  10898. _LT_EOF
  10899. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10900. (eval $ac_link) 2>&5
  10901. ac_status=$?
  10902. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10903. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10904. (./conftest; exit; ) >&5 2>/dev/null
  10905. lt_status=$?
  10906. case x$lt_status in
  10907. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10908. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10909. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10910. esac
  10911. else :
  10912. # compilation failed
  10913. lt_cv_dlopen_self=no
  10914. fi
  10915. fi
  10916. rm -fr conftest*
  10917. fi
  10918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10919. $as_echo "$lt_cv_dlopen_self" >&6; }
  10920. if test yes = "$lt_cv_dlopen_self"; then
  10921. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10923. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10924. if ${lt_cv_dlopen_self_static+:} false; then :
  10925. $as_echo_n "(cached) " >&6
  10926. else
  10927. if test yes = "$cross_compiling"; then :
  10928. lt_cv_dlopen_self_static=cross
  10929. else
  10930. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10931. lt_status=$lt_dlunknown
  10932. cat > conftest.$ac_ext <<_LT_EOF
  10933. #line $LINENO "configure"
  10934. #include "confdefs.h"
  10935. #if HAVE_DLFCN_H
  10936. #include <dlfcn.h>
  10937. #endif
  10938. #include <stdio.h>
  10939. #ifdef RTLD_GLOBAL
  10940. # define LT_DLGLOBAL RTLD_GLOBAL
  10941. #else
  10942. # ifdef DL_GLOBAL
  10943. # define LT_DLGLOBAL DL_GLOBAL
  10944. # else
  10945. # define LT_DLGLOBAL 0
  10946. # endif
  10947. #endif
  10948. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10949. find out it does not work in some platform. */
  10950. #ifndef LT_DLLAZY_OR_NOW
  10951. # ifdef RTLD_LAZY
  10952. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10953. # else
  10954. # ifdef DL_LAZY
  10955. # define LT_DLLAZY_OR_NOW DL_LAZY
  10956. # else
  10957. # ifdef RTLD_NOW
  10958. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10959. # else
  10960. # ifdef DL_NOW
  10961. # define LT_DLLAZY_OR_NOW DL_NOW
  10962. # else
  10963. # define LT_DLLAZY_OR_NOW 0
  10964. # endif
  10965. # endif
  10966. # endif
  10967. # endif
  10968. #endif
  10969. /* When -fvisbility=hidden is used, assume the code has been annotated
  10970. correspondingly for the symbols needed. */
  10971. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10972. int fnord () __attribute__((visibility("default")));
  10973. #endif
  10974. int fnord () { return 42; }
  10975. int main ()
  10976. {
  10977. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10978. int status = $lt_dlunknown;
  10979. if (self)
  10980. {
  10981. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10982. else
  10983. {
  10984. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10985. else puts (dlerror ());
  10986. }
  10987. /* dlclose (self); */
  10988. }
  10989. else
  10990. puts (dlerror ());
  10991. return status;
  10992. }
  10993. _LT_EOF
  10994. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10995. (eval $ac_link) 2>&5
  10996. ac_status=$?
  10997. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10998. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10999. (./conftest; exit; ) >&5 2>/dev/null
  11000. lt_status=$?
  11001. case x$lt_status in
  11002. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  11003. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  11004. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  11005. esac
  11006. else :
  11007. # compilation failed
  11008. lt_cv_dlopen_self_static=no
  11009. fi
  11010. fi
  11011. rm -fr conftest*
  11012. fi
  11013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  11014. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  11015. fi
  11016. CPPFLAGS=$save_CPPFLAGS
  11017. LDFLAGS=$save_LDFLAGS
  11018. LIBS=$save_LIBS
  11019. ;;
  11020. esac
  11021. case $lt_cv_dlopen_self in
  11022. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  11023. *) enable_dlopen_self=unknown ;;
  11024. esac
  11025. case $lt_cv_dlopen_self_static in
  11026. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  11027. *) enable_dlopen_self_static=unknown ;;
  11028. esac
  11029. fi
  11030. striplib=
  11031. old_striplib=
  11032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  11033. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  11034. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  11035. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  11036. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  11037. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11038. $as_echo "yes" >&6; }
  11039. else
  11040. # FIXME - insert some real tests, host_os isn't really good enough
  11041. case $host_os in
  11042. darwin*)
  11043. if test -n "$STRIP"; then
  11044. striplib="$STRIP -x"
  11045. old_striplib="$STRIP -S"
  11046. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11047. $as_echo "yes" >&6; }
  11048. else
  11049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11050. $as_echo "no" >&6; }
  11051. fi
  11052. ;;
  11053. *)
  11054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11055. $as_echo "no" >&6; }
  11056. ;;
  11057. esac
  11058. fi
  11059. # Report what library types will actually be built
  11060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  11061. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  11062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  11063. $as_echo "$can_build_shared" >&6; }
  11064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  11065. $as_echo_n "checking whether to build shared libraries... " >&6; }
  11066. test no = "$can_build_shared" && enable_shared=no
  11067. # On AIX, shared libraries and static libraries use the same namespace, and
  11068. # are all built from PIC.
  11069. case $host_os in
  11070. aix3*)
  11071. test yes = "$enable_shared" && enable_static=no
  11072. if test -n "$RANLIB"; then
  11073. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  11074. postinstall_cmds='$RANLIB $lib'
  11075. fi
  11076. ;;
  11077. aix[4-9]*)
  11078. if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
  11079. test yes = "$enable_shared" && enable_static=no
  11080. fi
  11081. ;;
  11082. esac
  11083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  11084. $as_echo "$enable_shared" >&6; }
  11085. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  11086. $as_echo_n "checking whether to build static libraries... " >&6; }
  11087. # Make sure either enable_shared or enable_static is yes.
  11088. test yes = "$enable_shared" || enable_static=yes
  11089. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  11090. $as_echo "$enable_static" >&6; }
  11091. fi
  11092. ac_ext=c
  11093. ac_cpp='$CPP $CPPFLAGS'
  11094. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11095. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11096. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11097. CC=$lt_save_CC
  11098. ac_config_commands="$ac_config_commands libtool"
  11099. # Only expand once:
  11100. # /***********************************************************************
  11101. # // Checks for header files
  11102. # ************************************************************************/
  11103. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  11104. $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  11105. if ${ac_cv_header_time+:} false; then :
  11106. $as_echo_n "(cached) " >&6
  11107. else
  11108. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11109. /* end confdefs.h. */
  11110. #include <sys/types.h>
  11111. #include <sys/time.h>
  11112. #include <time.h>
  11113. int
  11114. main ()
  11115. {
  11116. if ((struct tm *) 0)
  11117. return 0;
  11118. ;
  11119. return 0;
  11120. }
  11121. _ACEOF
  11122. if ac_fn_c_try_compile "$LINENO"; then :
  11123. ac_cv_header_time=yes
  11124. else
  11125. ac_cv_header_time=no
  11126. fi
  11127. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11128. fi
  11129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  11130. $as_echo "$ac_cv_header_time" >&6; }
  11131. if test $ac_cv_header_time = yes; then
  11132. $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
  11133. fi
  11134. for ac_header in assert.h ctype.h dirent.h errno.h fcntl.h float.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/mman.h sys/resource.h sys/stat.h sys/time.h sys/types.h sys/wait.h
  11135. do :
  11136. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11137. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  11138. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  11139. cat >>confdefs.h <<_ACEOF
  11140. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11141. _ACEOF
  11142. fi
  11143. done
  11144. if test "X$ac_cv_header_limits_h" != Xyes; then
  11145. as_fn_error $? "<limits.h> header not found" "$LINENO" 5
  11146. fi
  11147. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h is sane" >&5
  11148. $as_echo_n "checking whether limits.h is sane... " >&6; }
  11149. if ${mfx_cv_header_sane_limits_h+:} false; then :
  11150. $as_echo_n "(cached) " >&6
  11151. else
  11152. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11153. /* end confdefs.h. */
  11154. #include <limits.h>
  11155. #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
  11156. # if defined(__APPLE__) && defined(__GNUC__)
  11157. # error "your preprocessor is broken - use compiler option -no-cpp-precomp"
  11158. # else
  11159. # include "your preprocessor is broken"
  11160. # endif
  11161. #endif
  11162. #define MFX_0xffff 0xffff
  11163. #define MFX_0xffffffffL 4294967295ul
  11164. #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
  11165. # include "error CHAR_BIT"
  11166. #endif
  11167. #if !defined(UCHAR_MAX)
  11168. # include "error UCHAR_MAX 1"
  11169. #endif
  11170. #if !defined(USHRT_MAX)
  11171. # include "error USHRT_MAX 1"
  11172. #endif
  11173. #if !defined(UINT_MAX)
  11174. # include "error UINT_MAX 1"
  11175. #endif
  11176. #if !defined(ULONG_MAX)
  11177. # include "error ULONG_MAX 1"
  11178. #endif
  11179. #if !defined(SHRT_MAX)
  11180. # include "error SHRT_MAX 1"
  11181. #endif
  11182. #if !defined(INT_MAX)
  11183. # include "error INT_MAX 1"
  11184. #endif
  11185. #if !defined(LONG_MAX)
  11186. # include "error LONG_MAX 1"
  11187. #endif
  11188. #if (UCHAR_MAX < 1)
  11189. # include "error UCHAR_MAX 2"
  11190. #endif
  11191. #if (USHRT_MAX < 1)
  11192. # include "error USHRT_MAX 2"
  11193. #endif
  11194. #if (UINT_MAX < 1)
  11195. # include "error UINT_MAX 2"
  11196. #endif
  11197. #if (ULONG_MAX < 1)
  11198. # include "error ULONG_MAX 2"
  11199. #endif
  11200. #if (UCHAR_MAX < 0xff)
  11201. # include "error UCHAR_MAX 3"
  11202. #endif
  11203. #if (USHRT_MAX < MFX_0xffff)
  11204. # include "error USHRT_MAX 3"
  11205. #endif
  11206. #if (UINT_MAX < MFX_0xffff)
  11207. # include "error UINT_MAX 3"
  11208. #endif
  11209. #if (ULONG_MAX < MFX_0xffffffffL)
  11210. # include "error ULONG_MAX 3"
  11211. #endif
  11212. #if (USHRT_MAX > UINT_MAX)
  11213. # include "error USHRT_MAX vs UINT_MAX"
  11214. #endif
  11215. #if (UINT_MAX > ULONG_MAX)
  11216. # include "error UINT_MAX vs ULONG_MAX"
  11217. #endif
  11218. int
  11219. main ()
  11220. {
  11221. #if (USHRT_MAX == MFX_0xffff)
  11222. { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
  11223. #elif (USHRT_MAX >= MFX_0xffff)
  11224. { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
  11225. #endif
  11226. #if (UINT_MAX == MFX_0xffff)
  11227. { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
  11228. #elif (UINT_MAX >= MFX_0xffff)
  11229. { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
  11230. #endif
  11231. #if (ULONG_MAX == MFX_0xffff)
  11232. { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
  11233. #elif (ULONG_MAX >= MFX_0xffff)
  11234. { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
  11235. #endif
  11236. #if !defined(_CRAY1) /* CRAY PVP systems */
  11237. #if (USHRT_MAX == MFX_0xffffffffL)
  11238. { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
  11239. #elif (USHRT_MAX >= MFX_0xffffffffL)
  11240. { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
  11241. #endif
  11242. #endif /* _CRAY1 */
  11243. #if (UINT_MAX == MFX_0xffffffffL)
  11244. { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
  11245. #elif (UINT_MAX >= MFX_0xffffffffL)
  11246. { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
  11247. #endif
  11248. #if (ULONG_MAX == MFX_0xffffffffL)
  11249. { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
  11250. #elif (ULONG_MAX >= MFX_0xffffffffL)
  11251. { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
  11252. #endif
  11253. ;
  11254. return 0;
  11255. }
  11256. _ACEOF
  11257. if ac_fn_c_try_compile "$LINENO"; then :
  11258. mfx_cv_header_sane_limits_h=yes
  11259. else
  11260. mfx_cv_header_sane_limits_h=no
  11261. fi
  11262. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11263. fi
  11264. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_cv_header_sane_limits_h" >&5
  11265. $as_echo "$mfx_cv_header_sane_limits_h" >&6; }
  11266. if test "X$mfx_cv_header_sane_limits_h" != Xyes; then
  11267. as_fn_error $? "your <limits.h> header is broken - for details see config.log" "$LINENO" 5
  11268. fi
  11269. # /***********************************************************************
  11270. # // Checks for typedefs and structures
  11271. # ************************************************************************/
  11272. ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
  11273. if test "x$ac_cv_type_off_t" = xyes; then :
  11274. else
  11275. cat >>confdefs.h <<_ACEOF
  11276. #define off_t long int
  11277. _ACEOF
  11278. fi
  11279. ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  11280. if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  11281. else
  11282. cat >>confdefs.h <<_ACEOF
  11283. #define ptrdiff_t long
  11284. _ACEOF
  11285. fi
  11286. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  11287. if test "x$ac_cv_type_size_t" = xyes; then :
  11288. else
  11289. cat >>confdefs.h <<_ACEOF
  11290. #define size_t unsigned int
  11291. _ACEOF
  11292. fi
  11293. { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
  11294. $as_echo_n "checking return type of signal handlers... " >&6; }
  11295. if ${ac_cv_type_signal+:} false; then :
  11296. $as_echo_n "(cached) " >&6
  11297. else
  11298. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11299. /* end confdefs.h. */
  11300. #include <sys/types.h>
  11301. #include <signal.h>
  11302. int
  11303. main ()
  11304. {
  11305. return *(signal (0, 0)) (0) == 1;
  11306. ;
  11307. return 0;
  11308. }
  11309. _ACEOF
  11310. if ac_fn_c_try_compile "$LINENO"; then :
  11311. ac_cv_type_signal=int
  11312. else
  11313. ac_cv_type_signal=void
  11314. fi
  11315. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11316. fi
  11317. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
  11318. $as_echo "$ac_cv_type_signal" >&6; }
  11319. cat >>confdefs.h <<_ACEOF
  11320. #define RETSIGTYPE $ac_cv_type_signal
  11321. _ACEOF
  11322. # The cast to long int works around a bug in the HP C Compiler
  11323. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11324. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11325. # This bug is HP SR number 8606223364.
  11326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  11327. $as_echo_n "checking size of short... " >&6; }
  11328. if ${ac_cv_sizeof_short+:} false; then :
  11329. $as_echo_n "(cached) " >&6
  11330. else
  11331. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  11332. else
  11333. if test "$ac_cv_type_short" = yes; then
  11334. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11335. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11336. as_fn_error 77 "cannot compute sizeof (short)
  11337. See \`config.log' for more details" "$LINENO" 5; }
  11338. else
  11339. ac_cv_sizeof_short=0
  11340. fi
  11341. fi
  11342. fi
  11343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  11344. $as_echo "$ac_cv_sizeof_short" >&6; }
  11345. cat >>confdefs.h <<_ACEOF
  11346. #define SIZEOF_SHORT $ac_cv_sizeof_short
  11347. _ACEOF
  11348. # The cast to long int works around a bug in the HP C Compiler
  11349. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11350. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11351. # This bug is HP SR number 8606223364.
  11352. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  11353. $as_echo_n "checking size of int... " >&6; }
  11354. if ${ac_cv_sizeof_int+:} false; then :
  11355. $as_echo_n "(cached) " >&6
  11356. else
  11357. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  11358. else
  11359. if test "$ac_cv_type_int" = yes; then
  11360. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11361. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11362. as_fn_error 77 "cannot compute sizeof (int)
  11363. See \`config.log' for more details" "$LINENO" 5; }
  11364. else
  11365. ac_cv_sizeof_int=0
  11366. fi
  11367. fi
  11368. fi
  11369. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  11370. $as_echo "$ac_cv_sizeof_int" >&6; }
  11371. cat >>confdefs.h <<_ACEOF
  11372. #define SIZEOF_INT $ac_cv_sizeof_int
  11373. _ACEOF
  11374. # The cast to long int works around a bug in the HP C Compiler
  11375. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11376. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11377. # This bug is HP SR number 8606223364.
  11378. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  11379. $as_echo_n "checking size of long... " >&6; }
  11380. if ${ac_cv_sizeof_long+:} false; then :
  11381. $as_echo_n "(cached) " >&6
  11382. else
  11383. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  11384. else
  11385. if test "$ac_cv_type_long" = yes; then
  11386. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11387. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11388. as_fn_error 77 "cannot compute sizeof (long)
  11389. See \`config.log' for more details" "$LINENO" 5; }
  11390. else
  11391. ac_cv_sizeof_long=0
  11392. fi
  11393. fi
  11394. fi
  11395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  11396. $as_echo "$ac_cv_sizeof_long" >&6; }
  11397. cat >>confdefs.h <<_ACEOF
  11398. #define SIZEOF_LONG $ac_cv_sizeof_long
  11399. _ACEOF
  11400. # The cast to long int works around a bug in the HP C Compiler
  11401. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11402. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11403. # This bug is HP SR number 8606223364.
  11404. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
  11405. $as_echo_n "checking size of long long... " >&6; }
  11406. if ${ac_cv_sizeof_long_long+:} false; then :
  11407. $as_echo_n "(cached) " >&6
  11408. else
  11409. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
  11410. else
  11411. if test "$ac_cv_type_long_long" = yes; then
  11412. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11413. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11414. as_fn_error 77 "cannot compute sizeof (long long)
  11415. See \`config.log' for more details" "$LINENO" 5; }
  11416. else
  11417. ac_cv_sizeof_long_long=0
  11418. fi
  11419. fi
  11420. fi
  11421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
  11422. $as_echo "$ac_cv_sizeof_long_long" >&6; }
  11423. cat >>confdefs.h <<_ACEOF
  11424. #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  11425. _ACEOF
  11426. # The cast to long int works around a bug in the HP C Compiler
  11427. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11428. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11429. # This bug is HP SR number 8606223364.
  11430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int16" >&5
  11431. $as_echo_n "checking size of __int16... " >&6; }
  11432. if ${ac_cv_sizeof___int16+:} false; then :
  11433. $as_echo_n "(cached) " >&6
  11434. else
  11435. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int16))" "ac_cv_sizeof___int16" "$ac_includes_default"; then :
  11436. else
  11437. if test "$ac_cv_type___int16" = yes; then
  11438. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11439. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11440. as_fn_error 77 "cannot compute sizeof (__int16)
  11441. See \`config.log' for more details" "$LINENO" 5; }
  11442. else
  11443. ac_cv_sizeof___int16=0
  11444. fi
  11445. fi
  11446. fi
  11447. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int16" >&5
  11448. $as_echo "$ac_cv_sizeof___int16" >&6; }
  11449. cat >>confdefs.h <<_ACEOF
  11450. #define SIZEOF___INT16 $ac_cv_sizeof___int16
  11451. _ACEOF
  11452. # The cast to long int works around a bug in the HP C Compiler
  11453. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11454. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11455. # This bug is HP SR number 8606223364.
  11456. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
  11457. $as_echo_n "checking size of __int32... " >&6; }
  11458. if ${ac_cv_sizeof___int32+:} false; then :
  11459. $as_echo_n "(cached) " >&6
  11460. else
  11461. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
  11462. else
  11463. if test "$ac_cv_type___int32" = yes; then
  11464. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11465. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11466. as_fn_error 77 "cannot compute sizeof (__int32)
  11467. See \`config.log' for more details" "$LINENO" 5; }
  11468. else
  11469. ac_cv_sizeof___int32=0
  11470. fi
  11471. fi
  11472. fi
  11473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
  11474. $as_echo "$ac_cv_sizeof___int32" >&6; }
  11475. cat >>confdefs.h <<_ACEOF
  11476. #define SIZEOF___INT32 $ac_cv_sizeof___int32
  11477. _ACEOF
  11478. # The cast to long int works around a bug in the HP C Compiler
  11479. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11480. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11481. # This bug is HP SR number 8606223364.
  11482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
  11483. $as_echo_n "checking size of __int64... " >&6; }
  11484. if ${ac_cv_sizeof___int64+:} false; then :
  11485. $as_echo_n "(cached) " >&6
  11486. else
  11487. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "$ac_includes_default"; then :
  11488. else
  11489. if test "$ac_cv_type___int64" = yes; then
  11490. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11491. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11492. as_fn_error 77 "cannot compute sizeof (__int64)
  11493. See \`config.log' for more details" "$LINENO" 5; }
  11494. else
  11495. ac_cv_sizeof___int64=0
  11496. fi
  11497. fi
  11498. fi
  11499. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
  11500. $as_echo "$ac_cv_sizeof___int64" >&6; }
  11501. cat >>confdefs.h <<_ACEOF
  11502. #define SIZEOF___INT64 $ac_cv_sizeof___int64
  11503. _ACEOF
  11504. # The cast to long int works around a bug in the HP C Compiler
  11505. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11506. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11507. # This bug is HP SR number 8606223364.
  11508. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  11509. $as_echo_n "checking size of void *... " >&6; }
  11510. if ${ac_cv_sizeof_void_p+:} false; then :
  11511. $as_echo_n "(cached) " >&6
  11512. else
  11513. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
  11514. else
  11515. if test "$ac_cv_type_void_p" = yes; then
  11516. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11517. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11518. as_fn_error 77 "cannot compute sizeof (void *)
  11519. See \`config.log' for more details" "$LINENO" 5; }
  11520. else
  11521. ac_cv_sizeof_void_p=0
  11522. fi
  11523. fi
  11524. fi
  11525. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  11526. $as_echo "$ac_cv_sizeof_void_p" >&6; }
  11527. cat >>confdefs.h <<_ACEOF
  11528. #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  11529. _ACEOF
  11530. # The cast to long int works around a bug in the HP C Compiler
  11531. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11532. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11533. # This bug is HP SR number 8606223364.
  11534. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
  11535. $as_echo_n "checking size of size_t... " >&6; }
  11536. if ${ac_cv_sizeof_size_t+:} false; then :
  11537. $as_echo_n "(cached) " >&6
  11538. else
  11539. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
  11540. else
  11541. if test "$ac_cv_type_size_t" = yes; then
  11542. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11543. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11544. as_fn_error 77 "cannot compute sizeof (size_t)
  11545. See \`config.log' for more details" "$LINENO" 5; }
  11546. else
  11547. ac_cv_sizeof_size_t=0
  11548. fi
  11549. fi
  11550. fi
  11551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
  11552. $as_echo "$ac_cv_sizeof_size_t" >&6; }
  11553. cat >>confdefs.h <<_ACEOF
  11554. #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  11555. _ACEOF
  11556. # The cast to long int works around a bug in the HP C Compiler
  11557. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11558. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11559. # This bug is HP SR number 8606223364.
  11560. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
  11561. $as_echo_n "checking size of ptrdiff_t... " >&6; }
  11562. if ${ac_cv_sizeof_ptrdiff_t+:} false; then :
  11563. $as_echo_n "(cached) " >&6
  11564. else
  11565. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
  11566. else
  11567. if test "$ac_cv_type_ptrdiff_t" = yes; then
  11568. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11569. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11570. as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
  11571. See \`config.log' for more details" "$LINENO" 5; }
  11572. else
  11573. ac_cv_sizeof_ptrdiff_t=0
  11574. fi
  11575. fi
  11576. fi
  11577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
  11578. $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
  11579. cat >>confdefs.h <<_ACEOF
  11580. #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
  11581. _ACEOF
  11582. # The cast to long int works around a bug in the HP C Compiler
  11583. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11584. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11585. # This bug is HP SR number 8606223364.
  11586. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
  11587. $as_echo_n "checking size of __int32... " >&6; }
  11588. if ${ac_cv_sizeof___int32+:} false; then :
  11589. $as_echo_n "(cached) " >&6
  11590. else
  11591. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32" "$ac_includes_default"; then :
  11592. else
  11593. if test "$ac_cv_type___int32" = yes; then
  11594. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11595. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11596. as_fn_error 77 "cannot compute sizeof (__int32)
  11597. See \`config.log' for more details" "$LINENO" 5; }
  11598. else
  11599. ac_cv_sizeof___int32=0
  11600. fi
  11601. fi
  11602. fi
  11603. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
  11604. $as_echo "$ac_cv_sizeof___int32" >&6; }
  11605. cat >>confdefs.h <<_ACEOF
  11606. #define SIZEOF___INT32 $ac_cv_sizeof___int32
  11607. _ACEOF
  11608. # The cast to long int works around a bug in the HP C Compiler
  11609. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11610. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11611. # This bug is HP SR number 8606223364.
  11612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
  11613. $as_echo_n "checking size of intmax_t... " >&6; }
  11614. if ${ac_cv_sizeof_intmax_t+:} false; then :
  11615. $as_echo_n "(cached) " >&6
  11616. else
  11617. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
  11618. else
  11619. if test "$ac_cv_type_intmax_t" = yes; then
  11620. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11621. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11622. as_fn_error 77 "cannot compute sizeof (intmax_t)
  11623. See \`config.log' for more details" "$LINENO" 5; }
  11624. else
  11625. ac_cv_sizeof_intmax_t=0
  11626. fi
  11627. fi
  11628. fi
  11629. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
  11630. $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
  11631. cat >>confdefs.h <<_ACEOF
  11632. #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
  11633. _ACEOF
  11634. # The cast to long int works around a bug in the HP C Compiler
  11635. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11636. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11637. # This bug is HP SR number 8606223364.
  11638. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5
  11639. $as_echo_n "checking size of uintmax_t... " >&6; }
  11640. if ${ac_cv_sizeof_uintmax_t+:} false; then :
  11641. $as_echo_n "(cached) " >&6
  11642. else
  11643. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t" "$ac_includes_default"; then :
  11644. else
  11645. if test "$ac_cv_type_uintmax_t" = yes; then
  11646. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11647. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11648. as_fn_error 77 "cannot compute sizeof (uintmax_t)
  11649. See \`config.log' for more details" "$LINENO" 5; }
  11650. else
  11651. ac_cv_sizeof_uintmax_t=0
  11652. fi
  11653. fi
  11654. fi
  11655. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5
  11656. $as_echo "$ac_cv_sizeof_uintmax_t" >&6; }
  11657. cat >>confdefs.h <<_ACEOF
  11658. #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
  11659. _ACEOF
  11660. # The cast to long int works around a bug in the HP C Compiler
  11661. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11662. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11663. # This bug is HP SR number 8606223364.
  11664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intptr_t" >&5
  11665. $as_echo_n "checking size of intptr_t... " >&6; }
  11666. if ${ac_cv_sizeof_intptr_t+:} false; then :
  11667. $as_echo_n "(cached) " >&6
  11668. else
  11669. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intptr_t))" "ac_cv_sizeof_intptr_t" "$ac_includes_default"; then :
  11670. else
  11671. if test "$ac_cv_type_intptr_t" = yes; then
  11672. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11673. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11674. as_fn_error 77 "cannot compute sizeof (intptr_t)
  11675. See \`config.log' for more details" "$LINENO" 5; }
  11676. else
  11677. ac_cv_sizeof_intptr_t=0
  11678. fi
  11679. fi
  11680. fi
  11681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intptr_t" >&5
  11682. $as_echo "$ac_cv_sizeof_intptr_t" >&6; }
  11683. cat >>confdefs.h <<_ACEOF
  11684. #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
  11685. _ACEOF
  11686. # The cast to long int works around a bug in the HP C Compiler
  11687. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11688. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11689. # This bug is HP SR number 8606223364.
  11690. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
  11691. $as_echo_n "checking size of uintptr_t... " >&6; }
  11692. if ${ac_cv_sizeof_uintptr_t+:} false; then :
  11693. $as_echo_n "(cached) " >&6
  11694. else
  11695. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t" "$ac_includes_default"; then :
  11696. else
  11697. if test "$ac_cv_type_uintptr_t" = yes; then
  11698. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11699. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11700. as_fn_error 77 "cannot compute sizeof (uintptr_t)
  11701. See \`config.log' for more details" "$LINENO" 5; }
  11702. else
  11703. ac_cv_sizeof_uintptr_t=0
  11704. fi
  11705. fi
  11706. fi
  11707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
  11708. $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
  11709. cat >>confdefs.h <<_ACEOF
  11710. #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
  11711. _ACEOF
  11712. # The cast to long int works around a bug in the HP C Compiler
  11713. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11714. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11715. # This bug is HP SR number 8606223364.
  11716. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
  11717. $as_echo_n "checking size of float... " >&6; }
  11718. if ${ac_cv_sizeof_float+:} false; then :
  11719. $as_echo_n "(cached) " >&6
  11720. else
  11721. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
  11722. else
  11723. if test "$ac_cv_type_float" = yes; then
  11724. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11725. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11726. as_fn_error 77 "cannot compute sizeof (float)
  11727. See \`config.log' for more details" "$LINENO" 5; }
  11728. else
  11729. ac_cv_sizeof_float=0
  11730. fi
  11731. fi
  11732. fi
  11733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
  11734. $as_echo "$ac_cv_sizeof_float" >&6; }
  11735. cat >>confdefs.h <<_ACEOF
  11736. #define SIZEOF_FLOAT $ac_cv_sizeof_float
  11737. _ACEOF
  11738. # The cast to long int works around a bug in the HP C Compiler
  11739. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11740. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11741. # This bug is HP SR number 8606223364.
  11742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
  11743. $as_echo_n "checking size of double... " >&6; }
  11744. if ${ac_cv_sizeof_double+:} false; then :
  11745. $as_echo_n "(cached) " >&6
  11746. else
  11747. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
  11748. else
  11749. if test "$ac_cv_type_double" = yes; then
  11750. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11751. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11752. as_fn_error 77 "cannot compute sizeof (double)
  11753. See \`config.log' for more details" "$LINENO" 5; }
  11754. else
  11755. ac_cv_sizeof_double=0
  11756. fi
  11757. fi
  11758. fi
  11759. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
  11760. $as_echo "$ac_cv_sizeof_double" >&6; }
  11761. cat >>confdefs.h <<_ACEOF
  11762. #define SIZEOF_DOUBLE $ac_cv_sizeof_double
  11763. _ACEOF
  11764. # The cast to long int works around a bug in the HP C Compiler
  11765. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11766. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11767. # This bug is HP SR number 8606223364.
  11768. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
  11769. $as_echo_n "checking size of long double... " >&6; }
  11770. if ${ac_cv_sizeof_long_double+:} false; then :
  11771. $as_echo_n "(cached) " >&6
  11772. else
  11773. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
  11774. else
  11775. if test "$ac_cv_type_long_double" = yes; then
  11776. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11777. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11778. as_fn_error 77 "cannot compute sizeof (long double)
  11779. See \`config.log' for more details" "$LINENO" 5; }
  11780. else
  11781. ac_cv_sizeof_long_double=0
  11782. fi
  11783. fi
  11784. fi
  11785. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
  11786. $as_echo "$ac_cv_sizeof_long_double" >&6; }
  11787. cat >>confdefs.h <<_ACEOF
  11788. #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
  11789. _ACEOF
  11790. # The cast to long int works around a bug in the HP C Compiler
  11791. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11792. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11793. # This bug is HP SR number 8606223364.
  11794. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
  11795. $as_echo_n "checking size of dev_t... " >&6; }
  11796. if ${ac_cv_sizeof_dev_t+:} false; then :
  11797. $as_echo_n "(cached) " >&6
  11798. else
  11799. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
  11800. else
  11801. if test "$ac_cv_type_dev_t" = yes; then
  11802. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11803. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11804. as_fn_error 77 "cannot compute sizeof (dev_t)
  11805. See \`config.log' for more details" "$LINENO" 5; }
  11806. else
  11807. ac_cv_sizeof_dev_t=0
  11808. fi
  11809. fi
  11810. fi
  11811. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
  11812. $as_echo "$ac_cv_sizeof_dev_t" >&6; }
  11813. cat >>confdefs.h <<_ACEOF
  11814. #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
  11815. _ACEOF
  11816. # The cast to long int works around a bug in the HP C Compiler
  11817. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11818. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11819. # This bug is HP SR number 8606223364.
  11820. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
  11821. $as_echo_n "checking size of fpos_t... " >&6; }
  11822. if ${ac_cv_sizeof_fpos_t+:} false; then :
  11823. $as_echo_n "(cached) " >&6
  11824. else
  11825. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t" "$ac_includes_default"; then :
  11826. else
  11827. if test "$ac_cv_type_fpos_t" = yes; then
  11828. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11829. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11830. as_fn_error 77 "cannot compute sizeof (fpos_t)
  11831. See \`config.log' for more details" "$LINENO" 5; }
  11832. else
  11833. ac_cv_sizeof_fpos_t=0
  11834. fi
  11835. fi
  11836. fi
  11837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
  11838. $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
  11839. cat >>confdefs.h <<_ACEOF
  11840. #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
  11841. _ACEOF
  11842. # The cast to long int works around a bug in the HP C Compiler
  11843. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11844. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11845. # This bug is HP SR number 8606223364.
  11846. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mode_t" >&5
  11847. $as_echo_n "checking size of mode_t... " >&6; }
  11848. if ${ac_cv_sizeof_mode_t+:} false; then :
  11849. $as_echo_n "(cached) " >&6
  11850. else
  11851. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (mode_t))" "ac_cv_sizeof_mode_t" "$ac_includes_default"; then :
  11852. else
  11853. if test "$ac_cv_type_mode_t" = yes; then
  11854. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11855. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11856. as_fn_error 77 "cannot compute sizeof (mode_t)
  11857. See \`config.log' for more details" "$LINENO" 5; }
  11858. else
  11859. ac_cv_sizeof_mode_t=0
  11860. fi
  11861. fi
  11862. fi
  11863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mode_t" >&5
  11864. $as_echo "$ac_cv_sizeof_mode_t" >&6; }
  11865. cat >>confdefs.h <<_ACEOF
  11866. #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
  11867. _ACEOF
  11868. # The cast to long int works around a bug in the HP C Compiler
  11869. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11870. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11871. # This bug is HP SR number 8606223364.
  11872. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
  11873. $as_echo_n "checking size of off_t... " >&6; }
  11874. if ${ac_cv_sizeof_off_t+:} false; then :
  11875. $as_echo_n "(cached) " >&6
  11876. else
  11877. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
  11878. else
  11879. if test "$ac_cv_type_off_t" = yes; then
  11880. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11881. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11882. as_fn_error 77 "cannot compute sizeof (off_t)
  11883. See \`config.log' for more details" "$LINENO" 5; }
  11884. else
  11885. ac_cv_sizeof_off_t=0
  11886. fi
  11887. fi
  11888. fi
  11889. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
  11890. $as_echo "$ac_cv_sizeof_off_t" >&6; }
  11891. cat >>confdefs.h <<_ACEOF
  11892. #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
  11893. _ACEOF
  11894. # The cast to long int works around a bug in the HP C Compiler
  11895. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11896. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11897. # This bug is HP SR number 8606223364.
  11898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
  11899. $as_echo_n "checking size of ssize_t... " >&6; }
  11900. if ${ac_cv_sizeof_ssize_t+:} false; then :
  11901. $as_echo_n "(cached) " >&6
  11902. else
  11903. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t" "$ac_includes_default"; then :
  11904. else
  11905. if test "$ac_cv_type_ssize_t" = yes; then
  11906. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11907. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11908. as_fn_error 77 "cannot compute sizeof (ssize_t)
  11909. See \`config.log' for more details" "$LINENO" 5; }
  11910. else
  11911. ac_cv_sizeof_ssize_t=0
  11912. fi
  11913. fi
  11914. fi
  11915. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
  11916. $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
  11917. cat >>confdefs.h <<_ACEOF
  11918. #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
  11919. _ACEOF
  11920. # The cast to long int works around a bug in the HP C Compiler
  11921. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11922. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11923. # This bug is HP SR number 8606223364.
  11924. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
  11925. $as_echo_n "checking size of time_t... " >&6; }
  11926. if ${ac_cv_sizeof_time_t+:} false; then :
  11927. $as_echo_n "(cached) " >&6
  11928. else
  11929. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
  11930. else
  11931. if test "$ac_cv_type_time_t" = yes; then
  11932. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11933. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11934. as_fn_error 77 "cannot compute sizeof (time_t)
  11935. See \`config.log' for more details" "$LINENO" 5; }
  11936. else
  11937. ac_cv_sizeof_time_t=0
  11938. fi
  11939. fi
  11940. fi
  11941. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
  11942. $as_echo "$ac_cv_sizeof_time_t" >&6; }
  11943. cat >>confdefs.h <<_ACEOF
  11944. #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
  11945. _ACEOF
  11946. # /***********************************************************************
  11947. # // Checks for library functions
  11948. # ************************************************************************/
  11949. for ac_func in access alloca atexit atoi atol chmod chown clock_getcpuclockid clock_getres clock_gettime ctime difftime fstat getenv getpagesize getrusage gettimeofday gmtime isatty localtime longjmp lstat memcmp memcpy memmove memset mkdir mktime mmap mprotect munmap qsort raise rmdir setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr time umask utime vsnprintf
  11950. do :
  11951. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11952. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11953. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11954. cat >>confdefs.h <<_ACEOF
  11955. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  11956. _ACEOF
  11957. fi
  11958. done
  11959. if test "X$GCC" = Xyes; then
  11960. case $host_os in
  11961. cygwin* | mingw* | pw32*)
  11962. test "X$LIBS" != "X" && LIBS="$LIBS "
  11963. LIBS="${LIBS}-lwinmm" ;;
  11964. esac
  11965. fi
  11966. # /***********************************************************************
  11967. # // Checks for assembler
  11968. # ************************************************************************/
  11969. # Check whether --enable-asm was given.
  11970. if test "${enable_asm+set}" = set; then :
  11971. enableval=$enable_asm;
  11972. fi
  11973. asm_arch=
  11974. asm_dir=
  11975. asm_msg_amd64=no
  11976. asm_msg_i386=no
  11977. case "$host_cpu-$ac_cv_sizeof_void_p" in
  11978. amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
  11979. i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
  11980. *) enable_asm=no ;;
  11981. esac
  11982. LZO_USE_ASM_i386_src_gas=no
  11983. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build assembly versions" >&5
  11984. $as_echo_n "checking whether to build assembly versions... " >&6; }
  11985. if test "X$enable_asm" != Xno; then
  11986. mfx_compile_S='${CCAS} ${CCASFLAGS} -c conftest.S 1>&5'
  11987. cat > conftest.S <<EOF
  11988. #if !defined(__i386__) && !defined(__i386)
  11989. #error
  11990. this+is+an+error
  11991. #endif
  11992. #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
  11993. EOF
  11994. enable_asm=no
  11995. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mfx_compile_S\""; } >&5
  11996. (eval $mfx_compile_S) 2>&5
  11997. ac_status=$?
  11998. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11999. test $ac_status = 0; }; then
  12000. if { ac_try='test -s conftest.$ac_objext'
  12001. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
  12002. (eval $ac_try) 2>&5
  12003. ac_status=$?
  12004. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12005. test $ac_status = 0; }; }; then
  12006. enable_asm=yes
  12007. eval asm_msg_$asm_arch="'yes [$asm_dir]'"
  12008. eval LZO_USE_ASM_$asm_mode=yes
  12009. fi
  12010. fi
  12011. if test "X$enable_asm" = Xno; then
  12012. echo "configure: failed program was:" >&5
  12013. cat conftest.S >&5
  12014. fi
  12015. rm -rf conftest*
  12016. fi
  12017. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_asm" >&5
  12018. $as_echo "$enable_asm" >&6; }
  12019. if test "X$LZO_USE_ASM_i386_src_gas" != Xno; then
  12020. LZO_USE_ASM_i386_src_gas_TRUE=
  12021. LZO_USE_ASM_i386_src_gas_FALSE='#'
  12022. else
  12023. LZO_USE_ASM_i386_src_gas_TRUE='#'
  12024. LZO_USE_ASM_i386_src_gas_FALSE=
  12025. fi
  12026. if false; then
  12027. LZO_USE_ASM_i386_obj_elf32_TRUE=
  12028. LZO_USE_ASM_i386_obj_elf32_FALSE='#'
  12029. else
  12030. LZO_USE_ASM_i386_obj_elf32_TRUE='#'
  12031. LZO_USE_ASM_i386_obj_elf32_FALSE=
  12032. fi
  12033. # /***********************************************************************
  12034. # // Write output files
  12035. # ************************************************************************/
  12036. mfx_tmp="-I$srcdir/include -I$srcdir"
  12037. mfx_save_CPPFLAGS=$CPPFLAGS
  12038. test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
  12039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your compiler passes the LZO conformance test" >&5
  12040. $as_echo_n "checking whether your compiler passes the LZO conformance test... " >&6; }
  12041. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12042. /* end confdefs.h. */
  12043. #include <limits.h>
  12044. #include <stddef.h>
  12045. #define LZO_CFG_NO_CONFIG_HEADER 1
  12046. #define LZO_WANT_ACC_INCD_H 1
  12047. #include <lzo/lzoconf.h>
  12048. #include <src/lzo_supp.h>
  12049. #undef LZOCHK_ASSERT
  12050. #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT_HEADER(expr)
  12051. #define LZO_WANT_ACC_CHK_CH 1
  12052. #include <src/lzo_supp.h>
  12053. #undef LZOCHK_ASSERT
  12054. #define LZOCHK_ASSERT(expr) LZO_COMPILE_TIME_ASSERT(expr)
  12055. static void test_lzo_compile_time_assert(void) {
  12056. #define LZO_WANT_ACC_CHK_CH 1
  12057. #include <src/lzo_supp.h>
  12058. }
  12059. #undef NDEBUG
  12060. #include <assert.h>
  12061. #undef LZOCHK_ASSERT
  12062. #define LZOCHK_ASSERT(expr) assert(expr);
  12063. static int test_lzo_run_time_assert(int r) {
  12064. #define LZO_WANT_ACC_CHK_CH 1
  12065. #include <src/lzo_supp.h>
  12066. return r;
  12067. }
  12068. int
  12069. main ()
  12070. {
  12071. test_lzo_compile_time_assert();
  12072. if (test_lzo_run_time_assert(1) != 1) return 1;
  12073. ;
  12074. return 0;
  12075. }
  12076. _ACEOF
  12077. mfx_tmp=FAILED
  12078. if ac_fn_c_try_compile "$LINENO"; then :
  12079. mfx_tmp=yes
  12080. fi
  12081. rm -f core conftest.err conftest.$ac_objext
  12082. rm -f conftest.$ac_ext conftest.$ac_objext
  12083. CPPFLAGS=$mfx_save_CPPFLAGS
  12084. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
  12085. $as_echo "$mfx_tmp" >&6; }
  12086. case x$mfx_tmp in
  12087. xpassed | xyes) ;;
  12088. *)
  12089. { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
  12090. $as_echo "$as_me: " >&6;}
  12091. { $as_echo "$as_me:${as_lineno-$LINENO}: Your compiler failed the LZO conformance test - for details see " >&5
  12092. $as_echo "$as_me: Your compiler failed the LZO conformance test - for details see " >&6;}
  12093. { $as_echo "$as_me:${as_lineno-$LINENO}: \`config.log'. Please check that log file and consider sending" >&5
  12094. $as_echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
  12095. { $as_echo "$as_me:${as_lineno-$LINENO}: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
  12096. $as_echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
  12097. { $as_echo "$as_me:${as_lineno-$LINENO}: Thanks for your support." >&5
  12098. $as_echo "$as_me: Thanks for your support." >&6;}
  12099. { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
  12100. $as_echo "$as_me: " >&6;}
  12101. as_fn_error $? "LZO conformance test failed. Stop." "$LINENO" 5
  12102. ;;
  12103. esac
  12104. if test -r .Conf.settings2; then
  12105. . ./.Conf.settings2
  12106. fi
  12107. my_DEFS="-DLZO_HAVE_CONFIG_H=1"
  12108. if test "X$enable_asm" != Xno; then
  12109. my_DEFS="$my_DEFS -DLZO_USE_ASM=1"
  12110. fi
  12111. ac_config_files="$ac_config_files Makefile"
  12112. cat >confcache <<\_ACEOF
  12113. # This file is a shell script that caches the results of configure
  12114. # tests run on this system so they can be shared between configure
  12115. # scripts and configure runs, see configure's option --config-cache.
  12116. # It is not useful on other systems. If it contains results you don't
  12117. # want to keep, you may remove or edit it.
  12118. #
  12119. # config.status only pays attention to the cache file if you give it
  12120. # the --recheck option to rerun configure.
  12121. #
  12122. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  12123. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  12124. # following values.
  12125. _ACEOF
  12126. # The following way of writing the cache mishandles newlines in values,
  12127. # but we know of no workaround that is simple, portable, and efficient.
  12128. # So, we kill variables containing newlines.
  12129. # Ultrix sh set writes to stderr and can't be redirected directly,
  12130. # and sets the high bit in the cache file unless we assign to the vars.
  12131. (
  12132. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  12133. eval ac_val=\$$ac_var
  12134. case $ac_val in #(
  12135. *${as_nl}*)
  12136. case $ac_var in #(
  12137. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  12138. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  12139. esac
  12140. case $ac_var in #(
  12141. _ | IFS | as_nl) ;; #(
  12142. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  12143. *) { eval $ac_var=; unset $ac_var;} ;;
  12144. esac ;;
  12145. esac
  12146. done
  12147. (set) 2>&1 |
  12148. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  12149. *${as_nl}ac_space=\ *)
  12150. # `set' does not quote correctly, so add quotes: double-quote
  12151. # substitution turns \\\\ into \\, and sed turns \\ into \.
  12152. sed -n \
  12153. "s/'/'\\\\''/g;
  12154. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  12155. ;; #(
  12156. *)
  12157. # `set' quotes correctly as required by POSIX, so do not add quotes.
  12158. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  12159. ;;
  12160. esac |
  12161. sort
  12162. ) |
  12163. sed '
  12164. /^ac_cv_env_/b end
  12165. t clear
  12166. :clear
  12167. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  12168. t end
  12169. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  12170. :end' >>confcache
  12171. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  12172. if test -w "$cache_file"; then
  12173. if test "x$cache_file" != "x/dev/null"; then
  12174. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  12175. $as_echo "$as_me: updating cache $cache_file" >&6;}
  12176. if test ! -f "$cache_file" || test -h "$cache_file"; then
  12177. cat confcache >"$cache_file"
  12178. else
  12179. case $cache_file in #(
  12180. */* | ?:*)
  12181. mv -f confcache "$cache_file"$$ &&
  12182. mv -f "$cache_file"$$ "$cache_file" ;; #(
  12183. *)
  12184. mv -f confcache "$cache_file" ;;
  12185. esac
  12186. fi
  12187. fi
  12188. else
  12189. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  12190. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  12191. fi
  12192. fi
  12193. rm -f confcache
  12194. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  12195. # Let make expand exec_prefix.
  12196. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  12197. DEFS=-DHAVE_CONFIG_H
  12198. ac_libobjs=
  12199. ac_ltlibobjs=
  12200. U=
  12201. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  12202. # 1. Remove the extension, and $U if already installed.
  12203. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  12204. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  12205. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  12206. # will be set to the directory where LIBOBJS objects are built.
  12207. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  12208. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  12209. done
  12210. LIBOBJS=$ac_libobjs
  12211. LTLIBOBJS=$ac_ltlibobjs
  12212. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  12213. as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  12214. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12215. fi
  12216. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  12217. as_fn_error $? "conditional \"AMDEP\" was never defined.
  12218. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12219. fi
  12220. if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
  12221. as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
  12222. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12223. fi
  12224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  12225. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  12226. if test -n "$am_sleep_pid"; then
  12227. # Hide warnings about reused PIDs.
  12228. wait $am_sleep_pid 2>/dev/null
  12229. fi
  12230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  12231. $as_echo "done" >&6; }
  12232. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  12233. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  12234. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12235. fi
  12236. if test -n "$EXEEXT"; then
  12237. am__EXEEXT_TRUE=
  12238. am__EXEEXT_FALSE='#'
  12239. else
  12240. am__EXEEXT_TRUE='#'
  12241. am__EXEEXT_FALSE=
  12242. fi
  12243. if test -z "${LZO_USE_ASM_i386_src_gas_TRUE}" && test -z "${LZO_USE_ASM_i386_src_gas_FALSE}"; then
  12244. as_fn_error $? "conditional \"LZO_USE_ASM_i386_src_gas\" was never defined.
  12245. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12246. fi
  12247. if test -z "${LZO_USE_ASM_i386_obj_elf32_TRUE}" && test -z "${LZO_USE_ASM_i386_obj_elf32_FALSE}"; then
  12248. as_fn_error $? "conditional \"LZO_USE_ASM_i386_obj_elf32\" was never defined.
  12249. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12250. fi
  12251. test "X$DEFS" = "X-DHAVE_CONFIG_H" && DEFS=
  12252. test "X$DEFS" != "X" && DEFS="$DEFS "
  12253. DEFS="${DEFS}${my_DEFS}"
  12254. : "${CONFIG_STATUS=./config.status}"
  12255. ac_write_fail=0
  12256. ac_clean_files_save=$ac_clean_files
  12257. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  12258. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  12259. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  12260. as_write_fail=0
  12261. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  12262. #! $SHELL
  12263. # Generated by $as_me.
  12264. # Run this file to recreate the current configuration.
  12265. # Compiler output produced by configure, useful for debugging
  12266. # configure, is in config.log if it exists.
  12267. debug=false
  12268. ac_cs_recheck=false
  12269. ac_cs_silent=false
  12270. SHELL=\${CONFIG_SHELL-$SHELL}
  12271. export SHELL
  12272. _ASEOF
  12273. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  12274. ## -------------------- ##
  12275. ## M4sh Initialization. ##
  12276. ## -------------------- ##
  12277. # Be more Bourne compatible
  12278. DUALCASE=1; export DUALCASE # for MKS sh
  12279. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  12280. emulate sh
  12281. NULLCMD=:
  12282. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  12283. # is contrary to our usage. Disable this feature.
  12284. alias -g '${1+"$@"}'='"$@"'
  12285. setopt NO_GLOB_SUBST
  12286. else
  12287. case `(set -o) 2>/dev/null` in #(
  12288. *posix*) :
  12289. set -o posix ;; #(
  12290. *) :
  12291. ;;
  12292. esac
  12293. fi
  12294. as_nl='
  12295. '
  12296. export as_nl
  12297. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  12298. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  12299. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  12300. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  12301. # Prefer a ksh shell builtin over an external printf program on Solaris,
  12302. # but without wasting forks for bash or zsh.
  12303. if test -z "$BASH_VERSION$ZSH_VERSION" \
  12304. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  12305. as_echo='print -r --'
  12306. as_echo_n='print -rn --'
  12307. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  12308. as_echo='printf %s\n'
  12309. as_echo_n='printf %s'
  12310. else
  12311. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  12312. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  12313. as_echo_n='/usr/ucb/echo -n'
  12314. else
  12315. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  12316. as_echo_n_body='eval
  12317. arg=$1;
  12318. case $arg in #(
  12319. *"$as_nl"*)
  12320. expr "X$arg" : "X\\(.*\\)$as_nl";
  12321. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  12322. esac;
  12323. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  12324. '
  12325. export as_echo_n_body
  12326. as_echo_n='sh -c $as_echo_n_body as_echo'
  12327. fi
  12328. export as_echo_body
  12329. as_echo='sh -c $as_echo_body as_echo'
  12330. fi
  12331. # The user is always right.
  12332. if test "${PATH_SEPARATOR+set}" != set; then
  12333. PATH_SEPARATOR=:
  12334. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  12335. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  12336. PATH_SEPARATOR=';'
  12337. }
  12338. fi
  12339. # IFS
  12340. # We need space, tab and new line, in precisely that order. Quoting is
  12341. # there to prevent editors from complaining about space-tab.
  12342. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  12343. # splitting by setting IFS to empty value.)
  12344. IFS=" "" $as_nl"
  12345. # Find who we are. Look in the path if we contain no directory separator.
  12346. as_myself=
  12347. case $0 in #((
  12348. *[\\/]* ) as_myself=$0 ;;
  12349. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12350. for as_dir in $PATH
  12351. do
  12352. IFS=$as_save_IFS
  12353. test -z "$as_dir" && as_dir=.
  12354. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  12355. done
  12356. IFS=$as_save_IFS
  12357. ;;
  12358. esac
  12359. # We did not find ourselves, most probably we were run as `sh COMMAND'
  12360. # in which case we are not to be found in the path.
  12361. if test "x$as_myself" = x; then
  12362. as_myself=$0
  12363. fi
  12364. if test ! -f "$as_myself"; then
  12365. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  12366. exit 1
  12367. fi
  12368. # Unset variables that we do not need and which cause bugs (e.g. in
  12369. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  12370. # suppresses any "Segmentation fault" message there. '((' could
  12371. # trigger a bug in pdksh 5.2.14.
  12372. for as_var in BASH_ENV ENV MAIL MAILPATH
  12373. do eval test x\${$as_var+set} = xset \
  12374. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  12375. done
  12376. PS1='$ '
  12377. PS2='> '
  12378. PS4='+ '
  12379. # NLS nuisances.
  12380. LC_ALL=C
  12381. export LC_ALL
  12382. LANGUAGE=C
  12383. export LANGUAGE
  12384. # CDPATH.
  12385. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  12386. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  12387. # ----------------------------------------
  12388. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  12389. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  12390. # script with STATUS, using 1 if that was 0.
  12391. as_fn_error ()
  12392. {
  12393. as_status=$1; test $as_status -eq 0 && as_status=1
  12394. if test "$4"; then
  12395. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  12396. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  12397. fi
  12398. $as_echo "$as_me: error: $2" >&2
  12399. as_fn_exit $as_status
  12400. } # as_fn_error
  12401. # as_fn_set_status STATUS
  12402. # -----------------------
  12403. # Set $? to STATUS, without forking.
  12404. as_fn_set_status ()
  12405. {
  12406. return $1
  12407. } # as_fn_set_status
  12408. # as_fn_exit STATUS
  12409. # -----------------
  12410. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  12411. as_fn_exit ()
  12412. {
  12413. set +e
  12414. as_fn_set_status $1
  12415. exit $1
  12416. } # as_fn_exit
  12417. # as_fn_unset VAR
  12418. # ---------------
  12419. # Portably unset VAR.
  12420. as_fn_unset ()
  12421. {
  12422. { eval $1=; unset $1;}
  12423. }
  12424. as_unset=as_fn_unset
  12425. # as_fn_append VAR VALUE
  12426. # ----------------------
  12427. # Append the text in VALUE to the end of the definition contained in VAR. Take
  12428. # advantage of any shell optimizations that allow amortized linear growth over
  12429. # repeated appends, instead of the typical quadratic growth present in naive
  12430. # implementations.
  12431. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  12432. eval 'as_fn_append ()
  12433. {
  12434. eval $1+=\$2
  12435. }'
  12436. else
  12437. as_fn_append ()
  12438. {
  12439. eval $1=\$$1\$2
  12440. }
  12441. fi # as_fn_append
  12442. # as_fn_arith ARG...
  12443. # ------------------
  12444. # Perform arithmetic evaluation on the ARGs, and store the result in the
  12445. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  12446. # must be portable across $(()) and expr.
  12447. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  12448. eval 'as_fn_arith ()
  12449. {
  12450. as_val=$(( $* ))
  12451. }'
  12452. else
  12453. as_fn_arith ()
  12454. {
  12455. as_val=`expr "$@" || test $? -eq 1`
  12456. }
  12457. fi # as_fn_arith
  12458. if expr a : '\(a\)' >/dev/null 2>&1 &&
  12459. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  12460. as_expr=expr
  12461. else
  12462. as_expr=false
  12463. fi
  12464. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  12465. as_basename=basename
  12466. else
  12467. as_basename=false
  12468. fi
  12469. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  12470. as_dirname=dirname
  12471. else
  12472. as_dirname=false
  12473. fi
  12474. as_me=`$as_basename -- "$0" ||
  12475. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  12476. X"$0" : 'X\(//\)$' \| \
  12477. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  12478. $as_echo X/"$0" |
  12479. sed '/^.*\/\([^/][^/]*\)\/*$/{
  12480. s//\1/
  12481. q
  12482. }
  12483. /^X\/\(\/\/\)$/{
  12484. s//\1/
  12485. q
  12486. }
  12487. /^X\/\(\/\).*/{
  12488. s//\1/
  12489. q
  12490. }
  12491. s/.*/./; q'`
  12492. # Avoid depending upon Character Ranges.
  12493. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  12494. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  12495. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  12496. as_cr_digits='0123456789'
  12497. as_cr_alnum=$as_cr_Letters$as_cr_digits
  12498. ECHO_C= ECHO_N= ECHO_T=
  12499. case `echo -n x` in #(((((
  12500. -n*)
  12501. case `echo 'xy\c'` in
  12502. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  12503. xy) ECHO_C='\c';;
  12504. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  12505. ECHO_T=' ';;
  12506. esac;;
  12507. *)
  12508. ECHO_N='-n';;
  12509. esac
  12510. rm -f conf$$ conf$$.exe conf$$.file
  12511. if test -d conf$$.dir; then
  12512. rm -f conf$$.dir/conf$$.file
  12513. else
  12514. rm -f conf$$.dir
  12515. mkdir conf$$.dir 2>/dev/null
  12516. fi
  12517. if (echo >conf$$.file) 2>/dev/null; then
  12518. if ln -s conf$$.file conf$$ 2>/dev/null; then
  12519. as_ln_s='ln -s'
  12520. # ... but there are two gotchas:
  12521. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  12522. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  12523. # In both cases, we have to default to `cp -pR'.
  12524. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  12525. as_ln_s='cp -pR'
  12526. elif ln conf$$.file conf$$ 2>/dev/null; then
  12527. as_ln_s=ln
  12528. else
  12529. as_ln_s='cp -pR'
  12530. fi
  12531. else
  12532. as_ln_s='cp -pR'
  12533. fi
  12534. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  12535. rmdir conf$$.dir 2>/dev/null
  12536. # as_fn_mkdir_p
  12537. # -------------
  12538. # Create "$as_dir" as a directory, including parents if necessary.
  12539. as_fn_mkdir_p ()
  12540. {
  12541. case $as_dir in #(
  12542. -*) as_dir=./$as_dir;;
  12543. esac
  12544. test -d "$as_dir" || eval $as_mkdir_p || {
  12545. as_dirs=
  12546. while :; do
  12547. case $as_dir in #(
  12548. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  12549. *) as_qdir=$as_dir;;
  12550. esac
  12551. as_dirs="'$as_qdir' $as_dirs"
  12552. as_dir=`$as_dirname -- "$as_dir" ||
  12553. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12554. X"$as_dir" : 'X\(//\)[^/]' \| \
  12555. X"$as_dir" : 'X\(//\)$' \| \
  12556. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  12557. $as_echo X"$as_dir" |
  12558. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12559. s//\1/
  12560. q
  12561. }
  12562. /^X\(\/\/\)[^/].*/{
  12563. s//\1/
  12564. q
  12565. }
  12566. /^X\(\/\/\)$/{
  12567. s//\1/
  12568. q
  12569. }
  12570. /^X\(\/\).*/{
  12571. s//\1/
  12572. q
  12573. }
  12574. s/.*/./; q'`
  12575. test -d "$as_dir" && break
  12576. done
  12577. test -z "$as_dirs" || eval "mkdir $as_dirs"
  12578. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  12579. } # as_fn_mkdir_p
  12580. if mkdir -p . 2>/dev/null; then
  12581. as_mkdir_p='mkdir -p "$as_dir"'
  12582. else
  12583. test -d ./-p && rmdir ./-p
  12584. as_mkdir_p=false
  12585. fi
  12586. # as_fn_executable_p FILE
  12587. # -----------------------
  12588. # Test if FILE is an executable regular file.
  12589. as_fn_executable_p ()
  12590. {
  12591. test -f "$1" && test -x "$1"
  12592. } # as_fn_executable_p
  12593. as_test_x='test -x'
  12594. as_executable_p=as_fn_executable_p
  12595. # Sed expression to map a string onto a valid CPP name.
  12596. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  12597. # Sed expression to map a string onto a valid variable name.
  12598. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  12599. exec 6>&1
  12600. ## ----------------------------------- ##
  12601. ## Main body of $CONFIG_STATUS script. ##
  12602. ## ----------------------------------- ##
  12603. _ASEOF
  12604. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  12605. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12606. # Save the log message, to keep $0 and so on meaningful, and to
  12607. # report actual input values of CONFIG_FILES etc. instead of their
  12608. # values after options handling.
  12609. ac_log="
  12610. This file was extended by LZO $as_me 2.09, which was
  12611. generated by GNU Autoconf 2.69. Invocation command line was
  12612. CONFIG_FILES = $CONFIG_FILES
  12613. CONFIG_HEADERS = $CONFIG_HEADERS
  12614. CONFIG_LINKS = $CONFIG_LINKS
  12615. CONFIG_COMMANDS = $CONFIG_COMMANDS
  12616. $ $0 $@
  12617. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  12618. "
  12619. _ACEOF
  12620. case $ac_config_files in *"
  12621. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  12622. esac
  12623. case $ac_config_headers in *"
  12624. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  12625. esac
  12626. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12627. # Files that config.status was made for.
  12628. config_files="$ac_config_files"
  12629. config_headers="$ac_config_headers"
  12630. config_commands="$ac_config_commands"
  12631. _ACEOF
  12632. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12633. ac_cs_usage="\
  12634. \`$as_me' instantiates files and other configuration actions
  12635. from templates according to the current configuration. Unless the files
  12636. and actions are specified as TAGs, all are instantiated by default.
  12637. Usage: $0 [OPTION]... [TAG]...
  12638. -h, --help print this help, then exit
  12639. -V, --version print version number and configuration settings, then exit
  12640. --config print configuration, then exit
  12641. -q, --quiet, --silent
  12642. do not print progress messages
  12643. -d, --debug don't remove temporary files
  12644. --recheck update $as_me by reconfiguring in the same conditions
  12645. --file=FILE[:TEMPLATE]
  12646. instantiate the configuration file FILE
  12647. --header=FILE[:TEMPLATE]
  12648. instantiate the configuration header FILE
  12649. Configuration files:
  12650. $config_files
  12651. Configuration headers:
  12652. $config_headers
  12653. Configuration commands:
  12654. $config_commands
  12655. Report bugs to <markus@oberhumer.com>.
  12656. LZO home page: <http://www.oberhumer.com/opensource/lzo/>."
  12657. _ACEOF
  12658. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12659. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  12660. ac_cs_version="\\
  12661. LZO config.status 2.09
  12662. configured by $0, generated by GNU Autoconf 2.69,
  12663. with options \\"\$ac_cs_config\\"
  12664. Copyright (C) 2012 Free Software Foundation, Inc.
  12665. This config.status script is free software; the Free Software Foundation
  12666. gives unlimited permission to copy, distribute and modify it."
  12667. ac_pwd='$ac_pwd'
  12668. srcdir='$srcdir'
  12669. INSTALL='$INSTALL'
  12670. MKDIR_P='$MKDIR_P'
  12671. AWK='$AWK'
  12672. test -n "\$AWK" || AWK=awk
  12673. _ACEOF
  12674. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12675. # The default lists apply if the user does not specify any file.
  12676. ac_need_defaults=:
  12677. while test $# != 0
  12678. do
  12679. case $1 in
  12680. --*=?*)
  12681. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  12682. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  12683. ac_shift=:
  12684. ;;
  12685. --*=)
  12686. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  12687. ac_optarg=
  12688. ac_shift=:
  12689. ;;
  12690. *)
  12691. ac_option=$1
  12692. ac_optarg=$2
  12693. ac_shift=shift
  12694. ;;
  12695. esac
  12696. case $ac_option in
  12697. # Handling of the options.
  12698. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  12699. ac_cs_recheck=: ;;
  12700. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  12701. $as_echo "$ac_cs_version"; exit ;;
  12702. --config | --confi | --conf | --con | --co | --c )
  12703. $as_echo "$ac_cs_config"; exit ;;
  12704. --debug | --debu | --deb | --de | --d | -d )
  12705. debug=: ;;
  12706. --file | --fil | --fi | --f )
  12707. $ac_shift
  12708. case $ac_optarg in
  12709. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  12710. '') as_fn_error $? "missing file argument" ;;
  12711. esac
  12712. as_fn_append CONFIG_FILES " '$ac_optarg'"
  12713. ac_need_defaults=false;;
  12714. --header | --heade | --head | --hea )
  12715. $ac_shift
  12716. case $ac_optarg in
  12717. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  12718. esac
  12719. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  12720. ac_need_defaults=false;;
  12721. --he | --h)
  12722. # Conflict between --help and --header
  12723. as_fn_error $? "ambiguous option: \`$1'
  12724. Try \`$0 --help' for more information.";;
  12725. --help | --hel | -h )
  12726. $as_echo "$ac_cs_usage"; exit ;;
  12727. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  12728. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  12729. ac_cs_silent=: ;;
  12730. # This is an error.
  12731. -*) as_fn_error $? "unrecognized option: \`$1'
  12732. Try \`$0 --help' for more information." ;;
  12733. *) as_fn_append ac_config_targets " $1"
  12734. ac_need_defaults=false ;;
  12735. esac
  12736. shift
  12737. done
  12738. ac_configure_extra_args=
  12739. if $ac_cs_silent; then
  12740. exec 6>/dev/null
  12741. ac_configure_extra_args="$ac_configure_extra_args --silent"
  12742. fi
  12743. _ACEOF
  12744. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12745. if \$ac_cs_recheck; then
  12746. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  12747. shift
  12748. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  12749. CONFIG_SHELL='$SHELL'
  12750. export CONFIG_SHELL
  12751. exec "\$@"
  12752. fi
  12753. _ACEOF
  12754. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12755. exec 5>>config.log
  12756. {
  12757. echo
  12758. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  12759. ## Running $as_me. ##
  12760. _ASBOX
  12761. $as_echo "$ac_log"
  12762. } >&5
  12763. _ACEOF
  12764. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12765. #
  12766. # INIT-COMMANDS
  12767. #
  12768. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  12769. # The HP-UX ksh and POSIX shell print the target directory to stdout
  12770. # if CDPATH is set.
  12771. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  12772. sed_quote_subst='$sed_quote_subst'
  12773. double_quote_subst='$double_quote_subst'
  12774. delay_variable_subst='$delay_variable_subst'
  12775. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  12776. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  12777. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  12778. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  12779. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  12780. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  12781. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  12782. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  12783. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  12784. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  12785. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  12786. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  12787. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  12788. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  12789. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  12790. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  12791. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  12792. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  12793. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  12794. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  12795. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  12796. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  12797. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  12798. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  12799. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  12800. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  12801. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  12802. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  12803. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  12804. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  12805. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  12806. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  12807. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  12808. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  12809. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  12810. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  12811. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  12812. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  12813. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  12814. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  12815. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  12816. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  12817. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  12818. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  12819. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  12820. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  12821. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  12822. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  12823. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  12824. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  12825. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  12826. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  12827. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  12828. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  12829. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  12830. lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  12831. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  12832. 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"`'
  12833. lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  12834. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  12835. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  12836. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  12837. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  12838. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  12839. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  12840. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  12841. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  12842. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  12843. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  12844. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  12845. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  12846. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  12847. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  12848. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  12849. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  12850. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  12851. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  12852. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  12853. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  12854. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  12855. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  12856. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  12857. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  12858. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  12859. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  12860. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  12861. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  12862. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  12863. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  12864. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  12865. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  12866. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  12867. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  12868. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  12869. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  12870. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  12871. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  12872. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  12873. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  12874. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  12875. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  12876. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  12877. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  12878. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  12879. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  12880. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  12881. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  12882. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  12883. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  12884. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  12885. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  12886. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  12887. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  12888. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  12889. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  12890. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  12891. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  12892. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  12893. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  12894. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  12895. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  12896. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  12897. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  12898. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  12899. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  12900. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  12901. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  12902. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  12903. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  12904. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  12905. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  12906. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  12907. LTCC='$LTCC'
  12908. LTCFLAGS='$LTCFLAGS'
  12909. compiler='$compiler_DEFAULT'
  12910. # A function that is used when there is no print builtin or printf.
  12911. func_fallback_echo ()
  12912. {
  12913. eval 'cat <<_LTECHO_EOF
  12914. \$1
  12915. _LTECHO_EOF'
  12916. }
  12917. # Quote evaled strings.
  12918. for var in SHELL \
  12919. ECHO \
  12920. PATH_SEPARATOR \
  12921. SED \
  12922. GREP \
  12923. EGREP \
  12924. FGREP \
  12925. LD \
  12926. NM \
  12927. LN_S \
  12928. lt_SP2NL \
  12929. lt_NL2SP \
  12930. reload_flag \
  12931. OBJDUMP \
  12932. deplibs_check_method \
  12933. file_magic_cmd \
  12934. file_magic_glob \
  12935. want_nocaseglob \
  12936. DLLTOOL \
  12937. sharedlib_from_linklib_cmd \
  12938. AR \
  12939. AR_FLAGS \
  12940. archiver_list_spec \
  12941. STRIP \
  12942. RANLIB \
  12943. CC \
  12944. CFLAGS \
  12945. compiler \
  12946. lt_cv_sys_global_symbol_pipe \
  12947. lt_cv_sys_global_symbol_to_cdecl \
  12948. lt_cv_sys_global_symbol_to_import \
  12949. lt_cv_sys_global_symbol_to_c_name_address \
  12950. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  12951. lt_cv_nm_interface \
  12952. nm_file_list_spec \
  12953. lt_prog_compiler_no_builtin_flag \
  12954. lt_prog_compiler_pic \
  12955. lt_prog_compiler_wl \
  12956. lt_prog_compiler_static \
  12957. lt_cv_prog_compiler_c_o \
  12958. need_locks \
  12959. MANIFEST_TOOL \
  12960. DSYMUTIL \
  12961. NMEDIT \
  12962. LIPO \
  12963. OTOOL \
  12964. OTOOL64 \
  12965. shrext_cmds \
  12966. export_dynamic_flag_spec \
  12967. whole_archive_flag_spec \
  12968. compiler_needs_object \
  12969. with_gnu_ld \
  12970. allow_undefined_flag \
  12971. no_undefined_flag \
  12972. hardcode_libdir_flag_spec \
  12973. hardcode_libdir_separator \
  12974. exclude_expsyms \
  12975. include_expsyms \
  12976. file_list_spec \
  12977. variables_saved_for_relink \
  12978. libname_spec \
  12979. library_names_spec \
  12980. soname_spec \
  12981. install_override_mode \
  12982. finish_eval \
  12983. old_striplib \
  12984. striplib; do
  12985. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12986. *[\\\\\\\`\\"\\\$]*)
  12987. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  12988. ;;
  12989. *)
  12990. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12991. ;;
  12992. esac
  12993. done
  12994. # Double-quote double-evaled strings.
  12995. for var in reload_cmds \
  12996. old_postinstall_cmds \
  12997. old_postuninstall_cmds \
  12998. old_archive_cmds \
  12999. extract_expsyms_cmds \
  13000. old_archive_from_new_cmds \
  13001. old_archive_from_expsyms_cmds \
  13002. archive_cmds \
  13003. archive_expsym_cmds \
  13004. module_cmds \
  13005. module_expsym_cmds \
  13006. export_symbols_cmds \
  13007. prelink_cmds \
  13008. postlink_cmds \
  13009. postinstall_cmds \
  13010. postuninstall_cmds \
  13011. finish_cmds \
  13012. sys_lib_search_path_spec \
  13013. sys_lib_dlsearch_path_spec; do
  13014. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  13015. *[\\\\\\\`\\"\\\$]*)
  13016. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  13017. ;;
  13018. *)
  13019. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  13020. ;;
  13021. esac
  13022. done
  13023. ac_aux_dir='$ac_aux_dir'
  13024. # See if we are running on zsh, and set the options that allow our
  13025. # commands through without removal of \ escapes INIT.
  13026. if test -n "\${ZSH_VERSION+set}"; then
  13027. setopt NO_GLOB_SUBST
  13028. fi
  13029. PACKAGE='$PACKAGE'
  13030. VERSION='$VERSION'
  13031. RM='$RM'
  13032. ofile='$ofile'
  13033. _ACEOF
  13034. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13035. # Handling of arguments.
  13036. for ac_config_target in $ac_config_targets
  13037. do
  13038. case $ac_config_target in
  13039. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  13040. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
  13041. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  13042. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  13043. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  13044. esac
  13045. done
  13046. # If the user did not use the arguments to specify the items to instantiate,
  13047. # then the envvar interface is used. Set only those that are not.
  13048. # We use the long form for the default assignment because of an extremely
  13049. # bizarre bug on SunOS 4.1.3.
  13050. if $ac_need_defaults; then
  13051. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  13052. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  13053. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  13054. fi
  13055. # Have a temporary directory for convenience. Make it in the build tree
  13056. # simply because there is no reason against having it here, and in addition,
  13057. # creating and moving files from /tmp can sometimes cause problems.
  13058. # Hook for its removal unless debugging.
  13059. # Note that there is a small window in which the directory will not be cleaned:
  13060. # after its creation but before its name has been assigned to `$tmp'.
  13061. $debug ||
  13062. {
  13063. tmp= ac_tmp=
  13064. trap 'exit_status=$?
  13065. : "${ac_tmp:=$tmp}"
  13066. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  13067. ' 0
  13068. trap 'as_fn_exit 1' 1 2 13 15
  13069. }
  13070. # Create a (secure) tmp directory for tmp files.
  13071. {
  13072. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  13073. test -d "$tmp"
  13074. } ||
  13075. {
  13076. tmp=./conf$$-$RANDOM
  13077. (umask 077 && mkdir "$tmp")
  13078. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  13079. ac_tmp=$tmp
  13080. # Set up the scripts for CONFIG_FILES section.
  13081. # No need to generate them if there are no CONFIG_FILES.
  13082. # This happens for instance with `./config.status config.h'.
  13083. if test -n "$CONFIG_FILES"; then
  13084. ac_cr=`echo X | tr X '\015'`
  13085. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  13086. # But we know of no other shell where ac_cr would be empty at this
  13087. # point, so we can use a bashism as a fallback.
  13088. if test "x$ac_cr" = x; then
  13089. eval ac_cr=\$\'\\r\'
  13090. fi
  13091. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  13092. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  13093. ac_cs_awk_cr='\\r'
  13094. else
  13095. ac_cs_awk_cr=$ac_cr
  13096. fi
  13097. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  13098. _ACEOF
  13099. {
  13100. echo "cat >conf$$subs.awk <<_ACEOF" &&
  13101. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  13102. echo "_ACEOF"
  13103. } >conf$$subs.sh ||
  13104. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  13105. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  13106. ac_delim='%!_!# '
  13107. for ac_last_try in false false false false false :; do
  13108. . ./conf$$subs.sh ||
  13109. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  13110. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  13111. if test $ac_delim_n = $ac_delim_num; then
  13112. break
  13113. elif $ac_last_try; then
  13114. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  13115. else
  13116. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  13117. fi
  13118. done
  13119. rm -f conf$$subs.sh
  13120. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13121. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  13122. _ACEOF
  13123. sed -n '
  13124. h
  13125. s/^/S["/; s/!.*/"]=/
  13126. p
  13127. g
  13128. s/^[^!]*!//
  13129. :repl
  13130. t repl
  13131. s/'"$ac_delim"'$//
  13132. t delim
  13133. :nl
  13134. h
  13135. s/\(.\{148\}\)..*/\1/
  13136. t more1
  13137. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  13138. p
  13139. n
  13140. b repl
  13141. :more1
  13142. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  13143. p
  13144. g
  13145. s/.\{148\}//
  13146. t nl
  13147. :delim
  13148. h
  13149. s/\(.\{148\}\)..*/\1/
  13150. t more2
  13151. s/["\\]/\\&/g; s/^/"/; s/$/"/
  13152. p
  13153. b
  13154. :more2
  13155. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  13156. p
  13157. g
  13158. s/.\{148\}//
  13159. t delim
  13160. ' <conf$$subs.awk | sed '
  13161. /^[^""]/{
  13162. N
  13163. s/\n//
  13164. }
  13165. ' >>$CONFIG_STATUS || ac_write_fail=1
  13166. rm -f conf$$subs.awk
  13167. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13168. _ACAWK
  13169. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  13170. for (key in S) S_is_set[key] = 1
  13171. FS = ""
  13172. }
  13173. {
  13174. line = $ 0
  13175. nfields = split(line, field, "@")
  13176. substed = 0
  13177. len = length(field[1])
  13178. for (i = 2; i < nfields; i++) {
  13179. key = field[i]
  13180. keylen = length(key)
  13181. if (S_is_set[key]) {
  13182. value = S[key]
  13183. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  13184. len += length(value) + length(field[++i])
  13185. substed = 1
  13186. } else
  13187. len += 1 + keylen
  13188. }
  13189. print line
  13190. }
  13191. _ACAWK
  13192. _ACEOF
  13193. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13194. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  13195. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  13196. else
  13197. cat
  13198. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  13199. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  13200. _ACEOF
  13201. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  13202. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  13203. # trailing colons and then remove the whole line if VPATH becomes empty
  13204. # (actually we leave an empty line to preserve line numbers).
  13205. if test "x$srcdir" = x.; then
  13206. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  13207. h
  13208. s///
  13209. s/^/:/
  13210. s/[ ]*$/:/
  13211. s/:\$(srcdir):/:/g
  13212. s/:\${srcdir}:/:/g
  13213. s/:@srcdir@:/:/g
  13214. s/^:*//
  13215. s/:*$//
  13216. x
  13217. s/\(=[ ]*\).*/\1/
  13218. G
  13219. s/\n//
  13220. s/^[^=]*=[ ]*$//
  13221. }'
  13222. fi
  13223. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13224. fi # test -n "$CONFIG_FILES"
  13225. # Set up the scripts for CONFIG_HEADERS section.
  13226. # No need to generate them if there are no CONFIG_HEADERS.
  13227. # This happens for instance with `./config.status Makefile'.
  13228. if test -n "$CONFIG_HEADERS"; then
  13229. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  13230. BEGIN {
  13231. _ACEOF
  13232. # Transform confdefs.h into an awk script `defines.awk', embedded as
  13233. # here-document in config.status, that substitutes the proper values into
  13234. # config.h.in to produce config.h.
  13235. # Create a delimiter string that does not exist in confdefs.h, to ease
  13236. # handling of long lines.
  13237. ac_delim='%!_!# '
  13238. for ac_last_try in false false :; do
  13239. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  13240. if test -z "$ac_tt"; then
  13241. break
  13242. elif $ac_last_try; then
  13243. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  13244. else
  13245. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  13246. fi
  13247. done
  13248. # For the awk script, D is an array of macro values keyed by name,
  13249. # likewise P contains macro parameters if any. Preserve backslash
  13250. # newline sequences.
  13251. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  13252. sed -n '
  13253. s/.\{148\}/&'"$ac_delim"'/g
  13254. t rset
  13255. :rset
  13256. s/^[ ]*#[ ]*define[ ][ ]*/ /
  13257. t def
  13258. d
  13259. :def
  13260. s/\\$//
  13261. t bsnl
  13262. s/["\\]/\\&/g
  13263. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  13264. D["\1"]=" \3"/p
  13265. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  13266. d
  13267. :bsnl
  13268. s/["\\]/\\&/g
  13269. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  13270. D["\1"]=" \3\\\\\\n"\\/p
  13271. t cont
  13272. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  13273. t cont
  13274. d
  13275. :cont
  13276. n
  13277. s/.\{148\}/&'"$ac_delim"'/g
  13278. t clear
  13279. :clear
  13280. s/\\$//
  13281. t bsnlc
  13282. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  13283. d
  13284. :bsnlc
  13285. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  13286. b cont
  13287. ' <confdefs.h | sed '
  13288. s/'"$ac_delim"'/"\\\
  13289. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  13290. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13291. for (key in D) D_is_set[key] = 1
  13292. FS = ""
  13293. }
  13294. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  13295. line = \$ 0
  13296. split(line, arg, " ")
  13297. if (arg[1] == "#") {
  13298. defundef = arg[2]
  13299. mac1 = arg[3]
  13300. } else {
  13301. defundef = substr(arg[1], 2)
  13302. mac1 = arg[2]
  13303. }
  13304. split(mac1, mac2, "(") #)
  13305. macro = mac2[1]
  13306. prefix = substr(line, 1, index(line, defundef) - 1)
  13307. if (D_is_set[macro]) {
  13308. # Preserve the white space surrounding the "#".
  13309. print prefix "define", macro P[macro] D[macro]
  13310. next
  13311. } else {
  13312. # Replace #undef with comments. This is necessary, for example,
  13313. # in the case of _POSIX_SOURCE, which is predefined and required
  13314. # on some systems where configure will not decide to define it.
  13315. if (defundef == "undef") {
  13316. print "/*", prefix defundef, macro, "*/"
  13317. next
  13318. }
  13319. }
  13320. }
  13321. { print }
  13322. _ACAWK
  13323. _ACEOF
  13324. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13325. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  13326. fi # test -n "$CONFIG_HEADERS"
  13327. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  13328. shift
  13329. for ac_tag
  13330. do
  13331. case $ac_tag in
  13332. :[FHLC]) ac_mode=$ac_tag; continue;;
  13333. esac
  13334. case $ac_mode$ac_tag in
  13335. :[FHL]*:*);;
  13336. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  13337. :[FH]-) ac_tag=-:-;;
  13338. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  13339. esac
  13340. ac_save_IFS=$IFS
  13341. IFS=:
  13342. set x $ac_tag
  13343. IFS=$ac_save_IFS
  13344. shift
  13345. ac_file=$1
  13346. shift
  13347. case $ac_mode in
  13348. :L) ac_source=$1;;
  13349. :[FH])
  13350. ac_file_inputs=
  13351. for ac_f
  13352. do
  13353. case $ac_f in
  13354. -) ac_f="$ac_tmp/stdin";;
  13355. *) # Look for the file first in the build tree, then in the source tree
  13356. # (if the path is not absolute). The absolute path cannot be DOS-style,
  13357. # because $ac_f cannot contain `:'.
  13358. test -f "$ac_f" ||
  13359. case $ac_f in
  13360. [\\/$]*) false;;
  13361. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  13362. esac ||
  13363. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  13364. esac
  13365. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  13366. as_fn_append ac_file_inputs " '$ac_f'"
  13367. done
  13368. # Let's still pretend it is `configure' which instantiates (i.e., don't
  13369. # use $as_me), people would be surprised to read:
  13370. # /* config.h. Generated by config.status. */
  13371. configure_input='Generated from '`
  13372. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  13373. `' by configure.'
  13374. if test x"$ac_file" != x-; then
  13375. configure_input="$ac_file. $configure_input"
  13376. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  13377. $as_echo "$as_me: creating $ac_file" >&6;}
  13378. fi
  13379. # Neutralize special characters interpreted by sed in replacement strings.
  13380. case $configure_input in #(
  13381. *\&* | *\|* | *\\* )
  13382. ac_sed_conf_input=`$as_echo "$configure_input" |
  13383. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  13384. *) ac_sed_conf_input=$configure_input;;
  13385. esac
  13386. case $ac_tag in
  13387. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  13388. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  13389. esac
  13390. ;;
  13391. esac
  13392. ac_dir=`$as_dirname -- "$ac_file" ||
  13393. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13394. X"$ac_file" : 'X\(//\)[^/]' \| \
  13395. X"$ac_file" : 'X\(//\)$' \| \
  13396. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  13397. $as_echo X"$ac_file" |
  13398. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13399. s//\1/
  13400. q
  13401. }
  13402. /^X\(\/\/\)[^/].*/{
  13403. s//\1/
  13404. q
  13405. }
  13406. /^X\(\/\/\)$/{
  13407. s//\1/
  13408. q
  13409. }
  13410. /^X\(\/\).*/{
  13411. s//\1/
  13412. q
  13413. }
  13414. s/.*/./; q'`
  13415. as_dir="$ac_dir"; as_fn_mkdir_p
  13416. ac_builddir=.
  13417. case "$ac_dir" in
  13418. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  13419. *)
  13420. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  13421. # A ".." for each directory in $ac_dir_suffix.
  13422. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  13423. case $ac_top_builddir_sub in
  13424. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  13425. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  13426. esac ;;
  13427. esac
  13428. ac_abs_top_builddir=$ac_pwd
  13429. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  13430. # for backward compatibility:
  13431. ac_top_builddir=$ac_top_build_prefix
  13432. case $srcdir in
  13433. .) # We are building in place.
  13434. ac_srcdir=.
  13435. ac_top_srcdir=$ac_top_builddir_sub
  13436. ac_abs_top_srcdir=$ac_pwd ;;
  13437. [\\/]* | ?:[\\/]* ) # Absolute name.
  13438. ac_srcdir=$srcdir$ac_dir_suffix;
  13439. ac_top_srcdir=$srcdir
  13440. ac_abs_top_srcdir=$srcdir ;;
  13441. *) # Relative name.
  13442. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  13443. ac_top_srcdir=$ac_top_build_prefix$srcdir
  13444. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  13445. esac
  13446. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  13447. case $ac_mode in
  13448. :F)
  13449. #
  13450. # CONFIG_FILE
  13451. #
  13452. case $INSTALL in
  13453. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  13454. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  13455. esac
  13456. ac_MKDIR_P=$MKDIR_P
  13457. case $MKDIR_P in
  13458. [\\/$]* | ?:[\\/]* ) ;;
  13459. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  13460. esac
  13461. _ACEOF
  13462. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13463. # If the template does not know about datarootdir, expand it.
  13464. # FIXME: This hack should be removed a few years after 2.60.
  13465. ac_datarootdir_hack=; ac_datarootdir_seen=
  13466. ac_sed_dataroot='
  13467. /datarootdir/ {
  13468. p
  13469. q
  13470. }
  13471. /@datadir@/p
  13472. /@docdir@/p
  13473. /@infodir@/p
  13474. /@localedir@/p
  13475. /@mandir@/p'
  13476. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  13477. *datarootdir*) ac_datarootdir_seen=yes;;
  13478. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  13479. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  13480. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  13481. _ACEOF
  13482. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13483. ac_datarootdir_hack='
  13484. s&@datadir@&$datadir&g
  13485. s&@docdir@&$docdir&g
  13486. s&@infodir@&$infodir&g
  13487. s&@localedir@&$localedir&g
  13488. s&@mandir@&$mandir&g
  13489. s&\\\${datarootdir}&$datarootdir&g' ;;
  13490. esac
  13491. _ACEOF
  13492. # Neutralize VPATH when `$srcdir' = `.'.
  13493. # Shell code in configure.ac might set extrasub.
  13494. # FIXME: do we really want to maintain this feature?
  13495. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13496. ac_sed_extra="$ac_vpsub
  13497. $extrasub
  13498. _ACEOF
  13499. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13500. :t
  13501. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  13502. s|@configure_input@|$ac_sed_conf_input|;t t
  13503. s&@top_builddir@&$ac_top_builddir_sub&;t t
  13504. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  13505. s&@srcdir@&$ac_srcdir&;t t
  13506. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  13507. s&@top_srcdir@&$ac_top_srcdir&;t t
  13508. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  13509. s&@builddir@&$ac_builddir&;t t
  13510. s&@abs_builddir@&$ac_abs_builddir&;t t
  13511. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  13512. s&@INSTALL@&$ac_INSTALL&;t t
  13513. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  13514. $ac_datarootdir_hack
  13515. "
  13516. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  13517. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13518. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  13519. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  13520. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  13521. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  13522. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  13523. which seems to be undefined. Please make sure it is defined" >&5
  13524. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  13525. which seems to be undefined. Please make sure it is defined" >&2;}
  13526. rm -f "$ac_tmp/stdin"
  13527. case $ac_file in
  13528. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  13529. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  13530. esac \
  13531. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13532. ;;
  13533. :H)
  13534. #
  13535. # CONFIG_HEADER
  13536. #
  13537. if test x"$ac_file" != x-; then
  13538. {
  13539. $as_echo "/* $configure_input */" \
  13540. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  13541. } >"$ac_tmp/config.h" \
  13542. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13543. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  13544. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  13545. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  13546. else
  13547. rm -f "$ac_file"
  13548. mv "$ac_tmp/config.h" "$ac_file" \
  13549. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13550. fi
  13551. else
  13552. $as_echo "/* $configure_input */" \
  13553. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  13554. || as_fn_error $? "could not create -" "$LINENO" 5
  13555. fi
  13556. # Compute "$ac_file"'s index in $config_headers.
  13557. _am_arg="$ac_file"
  13558. _am_stamp_count=1
  13559. for _am_header in $config_headers :; do
  13560. case $_am_header in
  13561. $_am_arg | $_am_arg:* )
  13562. break ;;
  13563. * )
  13564. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  13565. esac
  13566. done
  13567. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  13568. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13569. X"$_am_arg" : 'X\(//\)[^/]' \| \
  13570. X"$_am_arg" : 'X\(//\)$' \| \
  13571. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  13572. $as_echo X"$_am_arg" |
  13573. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13574. s//\1/
  13575. q
  13576. }
  13577. /^X\(\/\/\)[^/].*/{
  13578. s//\1/
  13579. q
  13580. }
  13581. /^X\(\/\/\)$/{
  13582. s//\1/
  13583. q
  13584. }
  13585. /^X\(\/\).*/{
  13586. s//\1/
  13587. q
  13588. }
  13589. s/.*/./; q'`/stamp-h$_am_stamp_count
  13590. ;;
  13591. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  13592. $as_echo "$as_me: executing $ac_file commands" >&6;}
  13593. ;;
  13594. esac
  13595. case $ac_file$ac_mode in
  13596. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  13597. # Older Autoconf quotes --file arguments for eval, but not when files
  13598. # are listed without --file. Let's play safe and only enable the eval
  13599. # if we detect the quoting.
  13600. case $CONFIG_FILES in
  13601. *\'*) eval set x "$CONFIG_FILES" ;;
  13602. *) set x $CONFIG_FILES ;;
  13603. esac
  13604. shift
  13605. for mf
  13606. do
  13607. # Strip MF so we end up with the name of the file.
  13608. mf=`echo "$mf" | sed -e 's/:.*$//'`
  13609. # Check whether this is an Automake generated Makefile or not.
  13610. # We used to match only the files named 'Makefile.in', but
  13611. # some people rename them; so instead we look at the file content.
  13612. # Grep'ing the first line is not enough: some people post-process
  13613. # each Makefile.in and add a new line on top of each file to say so.
  13614. # Grep'ing the whole file is not good either: AIX grep has a line
  13615. # limit of 2048, but all sed's we know have understand at least 4000.
  13616. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  13617. dirpart=`$as_dirname -- "$mf" ||
  13618. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13619. X"$mf" : 'X\(//\)[^/]' \| \
  13620. X"$mf" : 'X\(//\)$' \| \
  13621. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  13622. $as_echo X"$mf" |
  13623. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13624. s//\1/
  13625. q
  13626. }
  13627. /^X\(\/\/\)[^/].*/{
  13628. s//\1/
  13629. q
  13630. }
  13631. /^X\(\/\/\)$/{
  13632. s//\1/
  13633. q
  13634. }
  13635. /^X\(\/\).*/{
  13636. s//\1/
  13637. q
  13638. }
  13639. s/.*/./; q'`
  13640. else
  13641. continue
  13642. fi
  13643. # Extract the definition of DEPDIR, am__include, and am__quote
  13644. # from the Makefile without running 'make'.
  13645. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  13646. test -z "$DEPDIR" && continue
  13647. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  13648. test -z "$am__include" && continue
  13649. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  13650. # Find all dependency output files, they are included files with
  13651. # $(DEPDIR) in their names. We invoke sed twice because it is the
  13652. # simplest approach to changing $(DEPDIR) to its actual value in the
  13653. # expansion.
  13654. for file in `sed -n "
  13655. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  13656. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  13657. # Make sure the directory exists.
  13658. test -f "$dirpart/$file" && continue
  13659. fdir=`$as_dirname -- "$file" ||
  13660. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13661. X"$file" : 'X\(//\)[^/]' \| \
  13662. X"$file" : 'X\(//\)$' \| \
  13663. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  13664. $as_echo X"$file" |
  13665. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13666. s//\1/
  13667. q
  13668. }
  13669. /^X\(\/\/\)[^/].*/{
  13670. s//\1/
  13671. q
  13672. }
  13673. /^X\(\/\/\)$/{
  13674. s//\1/
  13675. q
  13676. }
  13677. /^X\(\/\).*/{
  13678. s//\1/
  13679. q
  13680. }
  13681. s/.*/./; q'`
  13682. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  13683. # echo "creating $dirpart/$file"
  13684. echo '# dummy' > "$dirpart/$file"
  13685. done
  13686. done
  13687. }
  13688. ;;
  13689. "libtool":C)
  13690. # See if we are running on zsh, and set the options that allow our
  13691. # commands through without removal of \ escapes.
  13692. if test -n "${ZSH_VERSION+set}"; then
  13693. setopt NO_GLOB_SUBST
  13694. fi
  13695. cfgfile=${ofile}T
  13696. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  13697. $RM "$cfgfile"
  13698. cat <<_LT_EOF >> "$cfgfile"
  13699. #! $SHELL
  13700. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  13701. # Generated automatically by $as_me ($PACKAGE) $VERSION
  13702. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  13703. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  13704. #
  13705. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  13706. # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  13707. # Foundation, Inc.
  13708. # Written by Gordon Matzigkeit, 1996
  13709. #
  13710. # This file is part of GNU Libtool.
  13711. #
  13712. # GNU Libtool is free software; you can redistribute it and/or
  13713. # modify it under the terms of the GNU General Public License as
  13714. # published by the Free Software Foundation; either version 2 of
  13715. # the License, or (at your option) any later version.
  13716. #
  13717. # As a special exception to the GNU General Public License,
  13718. # if you distribute this file as part of a program or library that
  13719. # is built using GNU Libtool, you may include this file under the
  13720. # same distribution terms that you use for the rest of that program.
  13721. #
  13722. # GNU Libtool is distributed in the hope that it will be useful,
  13723. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13724. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13725. # GNU General Public License for more details.
  13726. #
  13727. # You should have received a copy of the GNU General Public License
  13728. # along with GNU Libtool; see the file COPYING. If not, a copy
  13729. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  13730. # obtained by writing to the Free Software Foundation, Inc.,
  13731. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  13732. # The names of the tagged configurations supported by this script.
  13733. available_tags=''
  13734. # ### BEGIN LIBTOOL CONFIG
  13735. # Whether or not to build static libraries.
  13736. build_old_libs=$enable_static
  13737. # Whether or not to build shared libraries.
  13738. build_libtool_libs=$enable_shared
  13739. # Which release of libtool.m4 was used?
  13740. macro_version=$macro_version
  13741. macro_revision=$macro_revision
  13742. # What type of objects to build.
  13743. pic_mode=$pic_mode
  13744. # Whether or not to optimize for fast installation.
  13745. fast_install=$enable_fast_install
  13746. # Shell to use when invoking shell scripts.
  13747. SHELL=$lt_SHELL
  13748. # An echo program that protects backslashes.
  13749. ECHO=$lt_ECHO
  13750. # The PATH separator for the build system.
  13751. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  13752. # The host system.
  13753. host_alias=$host_alias
  13754. host=$host
  13755. host_os=$host_os
  13756. # The build system.
  13757. build_alias=$build_alias
  13758. build=$build
  13759. build_os=$build_os
  13760. # A sed program that does not truncate output.
  13761. SED=$lt_SED
  13762. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  13763. Xsed="\$SED -e 1s/^X//"
  13764. # A grep program that handles long lines.
  13765. GREP=$lt_GREP
  13766. # An ERE matcher.
  13767. EGREP=$lt_EGREP
  13768. # A literal string matcher.
  13769. FGREP=$lt_FGREP
  13770. # A BSD- or MS-compatible name lister.
  13771. NM=$lt_NM
  13772. # Whether we need soft or hard links.
  13773. LN_S=$lt_LN_S
  13774. # What is the maximum length of a command?
  13775. max_cmd_len=$max_cmd_len
  13776. # Object file suffix (normally "o").
  13777. objext=$ac_objext
  13778. # Executable file suffix (normally "").
  13779. exeext=$exeext
  13780. # whether the shell understands "unset".
  13781. lt_unset=$lt_unset
  13782. # turn spaces into newlines.
  13783. SP2NL=$lt_lt_SP2NL
  13784. # turn newlines into spaces.
  13785. NL2SP=$lt_lt_NL2SP
  13786. # convert \$build file names to \$host format.
  13787. to_host_file_cmd=$lt_cv_to_host_file_cmd
  13788. # convert \$build files to toolchain format.
  13789. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  13790. # An object symbol dumper.
  13791. OBJDUMP=$lt_OBJDUMP
  13792. # Method to check whether dependent libraries are shared objects.
  13793. deplibs_check_method=$lt_deplibs_check_method
  13794. # Command to use when deplibs_check_method = "file_magic".
  13795. file_magic_cmd=$lt_file_magic_cmd
  13796. # How to find potential files when deplibs_check_method = "file_magic".
  13797. file_magic_glob=$lt_file_magic_glob
  13798. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  13799. want_nocaseglob=$lt_want_nocaseglob
  13800. # DLL creation program.
  13801. DLLTOOL=$lt_DLLTOOL
  13802. # Command to associate shared and link libraries.
  13803. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  13804. # The archiver.
  13805. AR=$lt_AR
  13806. # Flags to create an archive.
  13807. AR_FLAGS=$lt_AR_FLAGS
  13808. # How to feed a file listing to the archiver.
  13809. archiver_list_spec=$lt_archiver_list_spec
  13810. # A symbol stripping program.
  13811. STRIP=$lt_STRIP
  13812. # Commands used to install an old-style archive.
  13813. RANLIB=$lt_RANLIB
  13814. old_postinstall_cmds=$lt_old_postinstall_cmds
  13815. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  13816. # Whether to use a lock for old archive extraction.
  13817. lock_old_archive_extraction=$lock_old_archive_extraction
  13818. # A C compiler.
  13819. LTCC=$lt_CC
  13820. # LTCC compiler flags.
  13821. LTCFLAGS=$lt_CFLAGS
  13822. # Take the output of nm and produce a listing of raw symbols and C names.
  13823. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  13824. # Transform the output of nm in a proper C declaration.
  13825. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  13826. # Transform the output of nm into a list of symbols to manually relocate.
  13827. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  13828. # Transform the output of nm in a C name address pair.
  13829. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  13830. # Transform the output of nm in a C name address pair when lib prefix is needed.
  13831. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  13832. # The name lister interface.
  13833. nm_interface=$lt_lt_cv_nm_interface
  13834. # Specify filename containing input files for \$NM.
  13835. nm_file_list_spec=$lt_nm_file_list_spec
  13836. # The root where to search for dependent libraries,and where our libraries should be installed.
  13837. lt_sysroot=$lt_sysroot
  13838. # The name of the directory that contains temporary libtool files.
  13839. objdir=$objdir
  13840. # Used to examine libraries when file_magic_cmd begins with "file".
  13841. MAGIC_CMD=$MAGIC_CMD
  13842. # Must we lock files when doing compilation?
  13843. need_locks=$lt_need_locks
  13844. # Manifest tool.
  13845. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  13846. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  13847. DSYMUTIL=$lt_DSYMUTIL
  13848. # Tool to change global to local symbols on Mac OS X.
  13849. NMEDIT=$lt_NMEDIT
  13850. # Tool to manipulate fat objects and archives on Mac OS X.
  13851. LIPO=$lt_LIPO
  13852. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  13853. OTOOL=$lt_OTOOL
  13854. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  13855. OTOOL64=$lt_OTOOL64
  13856. # Old archive suffix (normally "a").
  13857. libext=$libext
  13858. # Shared library suffix (normally ".so").
  13859. shrext_cmds=$lt_shrext_cmds
  13860. # The commands to extract the exported symbol list from a shared archive.
  13861. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  13862. # Variables whose values should be saved in libtool wrapper scripts and
  13863. # restored at link time.
  13864. variables_saved_for_relink=$lt_variables_saved_for_relink
  13865. # Do we need the "lib" prefix for modules?
  13866. need_lib_prefix=$need_lib_prefix
  13867. # Do we need a version for libraries?
  13868. need_version=$need_version
  13869. # Library versioning type.
  13870. version_type=$version_type
  13871. # Shared library runtime path variable.
  13872. runpath_var=$runpath_var
  13873. # Shared library path variable.
  13874. shlibpath_var=$shlibpath_var
  13875. # Is shlibpath searched before the hard-coded library search path?
  13876. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  13877. # Format of library name prefix.
  13878. libname_spec=$lt_libname_spec
  13879. # List of archive names. First name is the real one, the rest are links.
  13880. # The last name is the one that the linker finds with -lNAME
  13881. library_names_spec=$lt_library_names_spec
  13882. # The coded name of the library, if different from the real name.
  13883. soname_spec=$lt_soname_spec
  13884. # Permission mode override for installation of shared libraries.
  13885. install_override_mode=$lt_install_override_mode
  13886. # Command to use after installation of a shared archive.
  13887. postinstall_cmds=$lt_postinstall_cmds
  13888. # Command to use after uninstallation of a shared archive.
  13889. postuninstall_cmds=$lt_postuninstall_cmds
  13890. # Commands used to finish a libtool library installation in a directory.
  13891. finish_cmds=$lt_finish_cmds
  13892. # As "finish_cmds", except a single script fragment to be evaled but
  13893. # not shown.
  13894. finish_eval=$lt_finish_eval
  13895. # Whether we should hardcode library paths into libraries.
  13896. hardcode_into_libs=$hardcode_into_libs
  13897. # Compile-time system search path for libraries.
  13898. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  13899. # Run-time system search path for libraries.
  13900. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  13901. # Whether dlopen is supported.
  13902. dlopen_support=$enable_dlopen
  13903. # Whether dlopen of programs is supported.
  13904. dlopen_self=$enable_dlopen_self
  13905. # Whether dlopen of statically linked programs is supported.
  13906. dlopen_self_static=$enable_dlopen_self_static
  13907. # Commands to strip libraries.
  13908. old_striplib=$lt_old_striplib
  13909. striplib=$lt_striplib
  13910. # The linker used to build libraries.
  13911. LD=$lt_LD
  13912. # How to create reloadable object files.
  13913. reload_flag=$lt_reload_flag
  13914. reload_cmds=$lt_reload_cmds
  13915. # Commands used to build an old-style archive.
  13916. old_archive_cmds=$lt_old_archive_cmds
  13917. # A language specific compiler.
  13918. CC=$lt_compiler
  13919. # Is the compiler the GNU compiler?
  13920. with_gcc=$GCC
  13921. # Compiler flag to turn off builtin functions.
  13922. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  13923. # Additional compiler flags for building library objects.
  13924. pic_flag=$lt_lt_prog_compiler_pic
  13925. # How to pass a linker flag through the compiler.
  13926. wl=$lt_lt_prog_compiler_wl
  13927. # Compiler flag to prevent dynamic linking.
  13928. link_static_flag=$lt_lt_prog_compiler_static
  13929. # Does compiler simultaneously support -c and -o options?
  13930. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  13931. # Whether or not to add -lc for building shared libraries.
  13932. build_libtool_need_lc=$archive_cmds_need_lc
  13933. # Whether or not to disallow shared libs when runtime libs are static.
  13934. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  13935. # Compiler flag to allow reflexive dlopens.
  13936. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  13937. # Compiler flag to generate shared objects directly from archives.
  13938. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  13939. # Whether the compiler copes with passing no objects directly.
  13940. compiler_needs_object=$lt_compiler_needs_object
  13941. # Create an old-style archive from a shared archive.
  13942. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  13943. # Create a temporary old-style archive to link instead of a shared archive.
  13944. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  13945. # Commands used to build a shared archive.
  13946. archive_cmds=$lt_archive_cmds
  13947. archive_expsym_cmds=$lt_archive_expsym_cmds
  13948. # Commands used to build a loadable module if different from building
  13949. # a shared archive.
  13950. module_cmds=$lt_module_cmds
  13951. module_expsym_cmds=$lt_module_expsym_cmds
  13952. # Whether we are building with GNU ld or not.
  13953. with_gnu_ld=$lt_with_gnu_ld
  13954. # Flag that allows shared libraries with undefined symbols to be built.
  13955. allow_undefined_flag=$lt_allow_undefined_flag
  13956. # Flag that enforces no undefined symbols.
  13957. no_undefined_flag=$lt_no_undefined_flag
  13958. # Flag to hardcode \$libdir into a binary during linking.
  13959. # This must work even if \$libdir does not exist
  13960. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  13961. # Whether we need a single "-rpath" flag with a separated argument.
  13962. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  13963. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  13964. # DIR into the resulting binary.
  13965. hardcode_direct=$hardcode_direct
  13966. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  13967. # DIR into the resulting binary and the resulting library dependency is
  13968. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  13969. # library is relocated.
  13970. hardcode_direct_absolute=$hardcode_direct_absolute
  13971. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  13972. # into the resulting binary.
  13973. hardcode_minus_L=$hardcode_minus_L
  13974. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  13975. # into the resulting binary.
  13976. hardcode_shlibpath_var=$hardcode_shlibpath_var
  13977. # Set to "yes" if building a shared library automatically hardcodes DIR
  13978. # into the library and all subsequent libraries and executables linked
  13979. # against it.
  13980. hardcode_automatic=$hardcode_automatic
  13981. # Set to yes if linker adds runtime paths of dependent libraries
  13982. # to runtime path list.
  13983. inherit_rpath=$inherit_rpath
  13984. # Whether libtool must link a program against all its dependency libraries.
  13985. link_all_deplibs=$link_all_deplibs
  13986. # Set to "yes" if exported symbols are required.
  13987. always_export_symbols=$always_export_symbols
  13988. # The commands to list exported symbols.
  13989. export_symbols_cmds=$lt_export_symbols_cmds
  13990. # Symbols that should not be listed in the preloaded symbols.
  13991. exclude_expsyms=$lt_exclude_expsyms
  13992. # Symbols that must always be exported.
  13993. include_expsyms=$lt_include_expsyms
  13994. # Commands necessary for linking programs (against libraries) with templates.
  13995. prelink_cmds=$lt_prelink_cmds
  13996. # Commands necessary for finishing linking programs.
  13997. postlink_cmds=$lt_postlink_cmds
  13998. # Specify filename containing input files.
  13999. file_list_spec=$lt_file_list_spec
  14000. # How to hardcode a shared library path into an executable.
  14001. hardcode_action=$hardcode_action
  14002. # ### END LIBTOOL CONFIG
  14003. _LT_EOF
  14004. case $host_os in
  14005. aix3*)
  14006. cat <<\_LT_EOF >> "$cfgfile"
  14007. # AIX sometimes has problems with the GCC collect2 program. For some
  14008. # reason, if we set the COLLECT_NAMES environment variable, the problems
  14009. # vanish in a puff of smoke.
  14010. if test set != "${COLLECT_NAMES+set}"; then
  14011. COLLECT_NAMES=
  14012. export COLLECT_NAMES
  14013. fi
  14014. _LT_EOF
  14015. ;;
  14016. esac
  14017. ltmain=$ac_aux_dir/ltmain.sh
  14018. # We use sed instead of cat because bash on DJGPP gets confused if
  14019. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  14020. # text mode, it properly converts lines to CR/LF. This bash problem
  14021. # is reportedly fixed, but why not run on old versions too?
  14022. sed '$q' "$ltmain" >> "$cfgfile" \
  14023. || (rm -f "$cfgfile"; exit 1)
  14024. mv -f "$cfgfile" "$ofile" ||
  14025. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  14026. chmod +x "$ofile"
  14027. ;;
  14028. esac
  14029. done # for ac_tag
  14030. as_fn_exit 0
  14031. _ACEOF
  14032. ac_clean_files=$ac_clean_files_save
  14033. test $ac_write_fail = 0 ||
  14034. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  14035. # configure is writing to config.log, and then calls config.status.
  14036. # config.status does its own redirection, appending to config.log.
  14037. # Unfortunately, on DOS this fails, as config.log is still kept open
  14038. # by configure, so config.status won't be able to write to it; its
  14039. # output is simply discarded. So we exec the FD to /dev/null,
  14040. # effectively closing config.log, so it can be properly (re)opened and
  14041. # appended to by config.status. When coming back to configure, we
  14042. # need to make the FD available again.
  14043. if test "$no_create" != yes; then
  14044. ac_cs_success=:
  14045. ac_config_status_args=
  14046. test "$silent" = yes &&
  14047. ac_config_status_args="$ac_config_status_args --quiet"
  14048. exec 5>/dev/null
  14049. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  14050. exec 5>>config.log
  14051. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  14052. # would make configure fail if this is the last instruction.
  14053. $ac_cs_success || as_fn_exit 1
  14054. fi
  14055. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  14056. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  14057. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  14058. fi
  14059. ## enable AMD64 assembly code : ${asm_msg_amd64}
  14060. cat <<EOF
  14061. LZO configuration summary
  14062. -------------------------
  14063. LZO version : ${PACKAGE_VERSION}
  14064. configured for host : ${host_cpu}-${host_vendor}-${host_os}
  14065. source code location : ${srcdir}
  14066. compiler : ${CC}
  14067. preprocessor definitions : ${DEFS}
  14068. preprocessor flags : ${CPPFLAGS}
  14069. compiler flags : ${CFLAGS}
  14070. build static library : ${enable_static}
  14071. build shared library : ${enable_shared}
  14072. enable i386 assembly code : ${asm_msg_i386}
  14073. LZO ${PACKAGE_VERSION} configured.
  14074. Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
  14075. All Rights Reserved.
  14076. The LZO library is free software; you can redistribute it and/or
  14077. modify it under the terms of the GNU General Public License as
  14078. published by the Free Software Foundation; either version 2 of
  14079. the License, or (at your option) any later version.
  14080. The LZO library is distributed in the hope that it will be useful,
  14081. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14082. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14083. GNU General Public License for more details.
  14084. Markus F.X.J. Oberhumer
  14085. <markus@oberhumer.com>
  14086. http://www.oberhumer.com/opensource/lzo/
  14087. Type 'make' to build LZO.
  14088. Type 'make check' and 'make test' to test LZO.
  14089. Type 'make install' to install LZO.
  14090. After installing LZO, please have a look at 'examples/simple.c'.
  14091. EOF
  14092. # vim:set ts=4 sw=4 et: