Meson WrapDB for Google's cityhash.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 543KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for CityHash 1.1.1.
  4. #
  5. # Report bugs to <cityhash-discuss@googlegroups.com>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. as_myself=
  86. case $0 in #((
  87. *[\\/]* ) as_myself=$0 ;;
  88. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  89. for as_dir in $PATH
  90. do
  91. IFS=$as_save_IFS
  92. test -z "$as_dir" && as_dir=.
  93. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  94. done
  95. IFS=$as_save_IFS
  96. ;;
  97. esac
  98. # We did not find ourselves, most probably we were run as `sh COMMAND'
  99. # in which case we are not to be found in the path.
  100. if test "x$as_myself" = x; then
  101. as_myself=$0
  102. fi
  103. if test ! -f "$as_myself"; then
  104. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  105. exit 1
  106. fi
  107. # Unset variables that we do not need and which cause bugs (e.g. in
  108. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  109. # suppresses any "Segmentation fault" message there. '((' could
  110. # trigger a bug in pdksh 5.2.14.
  111. for as_var in BASH_ENV ENV MAIL MAILPATH
  112. do eval test x\${$as_var+set} = xset \
  113. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  114. done
  115. PS1='$ '
  116. PS2='> '
  117. PS4='+ '
  118. # NLS nuisances.
  119. LC_ALL=C
  120. export LC_ALL
  121. LANGUAGE=C
  122. export LANGUAGE
  123. # CDPATH.
  124. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  125. # Use a proper internal environment variable to ensure we don't fall
  126. # into an infinite loop, continuously re-executing ourselves.
  127. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  128. _as_can_reexec=no; export _as_can_reexec;
  129. # We cannot yet assume a decent shell, so we have to provide a
  130. # neutralization value for shells without unset; and this also
  131. # works around shells that cannot unset nonexistent variables.
  132. # Preserve -v and -x to the replacement shell.
  133. BASH_ENV=/dev/null
  134. ENV=/dev/null
  135. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  136. case $- in # ((((
  137. *v*x* | *x*v* ) as_opts=-vx ;;
  138. *v* ) as_opts=-v ;;
  139. *x* ) as_opts=-x ;;
  140. * ) as_opts= ;;
  141. esac
  142. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  143. # Admittedly, this is quite paranoid, since all the known shells bail
  144. # out after a failed `exec'.
  145. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  146. as_fn_exit 255
  147. fi
  148. # We don't want this to propagate to other subprocesses.
  149. { _as_can_reexec=; unset _as_can_reexec;}
  150. if test "x$CONFIG_SHELL" = x; then
  151. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  152. emulate sh
  153. NULLCMD=:
  154. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  155. # is contrary to our usage. Disable this feature.
  156. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  157. setopt NO_GLOB_SUBST
  158. else
  159. case \`(set -o) 2>/dev/null\` in #(
  160. *posix*) :
  161. set -o posix ;; #(
  162. *) :
  163. ;;
  164. esac
  165. fi
  166. "
  167. as_required="as_fn_return () { (exit \$1); }
  168. as_fn_success () { as_fn_return 0; }
  169. as_fn_failure () { as_fn_return 1; }
  170. as_fn_ret_success () { return 0; }
  171. as_fn_ret_failure () { return 1; }
  172. exitcode=0
  173. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  174. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  175. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  176. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  177. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  178. else
  179. exitcode=1; echo positional parameters were not saved.
  180. fi
  181. test x\$exitcode = x0 || exit 1
  182. test -x / || exit 1"
  183. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  184. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  185. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  186. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  187. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  188. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  189. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  190. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  191. PATH=/empty FPATH=/empty; export PATH FPATH
  192. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  193. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  194. test \$(( 1 + 1 )) = 2 || exit 1"
  195. if (eval "$as_required") 2>/dev/null; then :
  196. as_have_required=yes
  197. else
  198. as_have_required=no
  199. fi
  200. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  201. else
  202. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  203. as_found=false
  204. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  205. do
  206. IFS=$as_save_IFS
  207. test -z "$as_dir" && as_dir=.
  208. as_found=:
  209. case $as_dir in #(
  210. /*)
  211. for as_base in sh bash ksh sh5; do
  212. # Try only shells that exist, to save several forks.
  213. as_shell=$as_dir/$as_base
  214. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  215. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  216. CONFIG_SHELL=$as_shell as_have_required=yes
  217. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  218. break 2
  219. fi
  220. fi
  221. done;;
  222. esac
  223. as_found=false
  224. done
  225. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  226. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  227. CONFIG_SHELL=$SHELL as_have_required=yes
  228. fi; }
  229. IFS=$as_save_IFS
  230. if test "x$CONFIG_SHELL" != x; then :
  231. export CONFIG_SHELL
  232. # We cannot yet assume a decent shell, so we have to provide a
  233. # neutralization value for shells without unset; and this also
  234. # works around shells that cannot unset nonexistent variables.
  235. # Preserve -v and -x to the replacement shell.
  236. BASH_ENV=/dev/null
  237. ENV=/dev/null
  238. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  239. case $- in # ((((
  240. *v*x* | *x*v* ) as_opts=-vx ;;
  241. *v* ) as_opts=-v ;;
  242. *x* ) as_opts=-x ;;
  243. * ) as_opts= ;;
  244. esac
  245. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  246. # Admittedly, this is quite paranoid, since all the known shells bail
  247. # out after a failed `exec'.
  248. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  249. exit 255
  250. fi
  251. if test x$as_have_required = xno; then :
  252. $as_echo "$0: This script requires a shell more modern than all"
  253. $as_echo "$0: the shells that I found on your system."
  254. if test x${ZSH_VERSION+set} = xset ; then
  255. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  256. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  257. else
  258. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  259. $0: cityhash-discuss@googlegroups.com about your system,
  260. $0: including any error possibly output before this
  261. $0: message. Then install a modern shell, or manually run
  262. $0: the script under such a shell if you do have one."
  263. fi
  264. exit 1
  265. fi
  266. fi
  267. fi
  268. SHELL=${CONFIG_SHELL-/bin/sh}
  269. export SHELL
  270. # Unset more variables known to interfere with behavior of common tools.
  271. CLICOLOR_FORCE= GREP_OPTIONS=
  272. unset CLICOLOR_FORCE GREP_OPTIONS
  273. ## --------------------- ##
  274. ## M4sh Shell Functions. ##
  275. ## --------------------- ##
  276. # as_fn_unset VAR
  277. # ---------------
  278. # Portably unset VAR.
  279. as_fn_unset ()
  280. {
  281. { eval $1=; unset $1;}
  282. }
  283. as_unset=as_fn_unset
  284. # as_fn_set_status STATUS
  285. # -----------------------
  286. # Set $? to STATUS, without forking.
  287. as_fn_set_status ()
  288. {
  289. return $1
  290. } # as_fn_set_status
  291. # as_fn_exit STATUS
  292. # -----------------
  293. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  294. as_fn_exit ()
  295. {
  296. set +e
  297. as_fn_set_status $1
  298. exit $1
  299. } # as_fn_exit
  300. # as_fn_mkdir_p
  301. # -------------
  302. # Create "$as_dir" as a directory, including parents if necessary.
  303. as_fn_mkdir_p ()
  304. {
  305. case $as_dir in #(
  306. -*) as_dir=./$as_dir;;
  307. esac
  308. test -d "$as_dir" || eval $as_mkdir_p || {
  309. as_dirs=
  310. while :; do
  311. case $as_dir in #(
  312. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  313. *) as_qdir=$as_dir;;
  314. esac
  315. as_dirs="'$as_qdir' $as_dirs"
  316. as_dir=`$as_dirname -- "$as_dir" ||
  317. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  318. X"$as_dir" : 'X\(//\)[^/]' \| \
  319. X"$as_dir" : 'X\(//\)$' \| \
  320. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  321. $as_echo X"$as_dir" |
  322. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  323. s//\1/
  324. q
  325. }
  326. /^X\(\/\/\)[^/].*/{
  327. s//\1/
  328. q
  329. }
  330. /^X\(\/\/\)$/{
  331. s//\1/
  332. q
  333. }
  334. /^X\(\/\).*/{
  335. s//\1/
  336. q
  337. }
  338. s/.*/./; q'`
  339. test -d "$as_dir" && break
  340. done
  341. test -z "$as_dirs" || eval "mkdir $as_dirs"
  342. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  343. } # as_fn_mkdir_p
  344. # as_fn_executable_p FILE
  345. # -----------------------
  346. # Test if FILE is an executable regular file.
  347. as_fn_executable_p ()
  348. {
  349. test -f "$1" && test -x "$1"
  350. } # as_fn_executable_p
  351. # as_fn_append VAR VALUE
  352. # ----------------------
  353. # Append the text in VALUE to the end of the definition contained in VAR. Take
  354. # advantage of any shell optimizations that allow amortized linear growth over
  355. # repeated appends, instead of the typical quadratic growth present in naive
  356. # implementations.
  357. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  358. eval 'as_fn_append ()
  359. {
  360. eval $1+=\$2
  361. }'
  362. else
  363. as_fn_append ()
  364. {
  365. eval $1=\$$1\$2
  366. }
  367. fi # as_fn_append
  368. # as_fn_arith ARG...
  369. # ------------------
  370. # Perform arithmetic evaluation on the ARGs, and store the result in the
  371. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  372. # must be portable across $(()) and expr.
  373. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  374. eval 'as_fn_arith ()
  375. {
  376. as_val=$(( $* ))
  377. }'
  378. else
  379. as_fn_arith ()
  380. {
  381. as_val=`expr "$@" || test $? -eq 1`
  382. }
  383. fi # as_fn_arith
  384. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  385. # ----------------------------------------
  386. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  387. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  388. # script with STATUS, using 1 if that was 0.
  389. as_fn_error ()
  390. {
  391. as_status=$1; test $as_status -eq 0 && as_status=1
  392. if test "$4"; then
  393. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  394. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  395. fi
  396. $as_echo "$as_me: error: $2" >&2
  397. as_fn_exit $as_status
  398. } # as_fn_error
  399. if expr a : '\(a\)' >/dev/null 2>&1 &&
  400. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  401. as_expr=expr
  402. else
  403. as_expr=false
  404. fi
  405. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  406. as_basename=basename
  407. else
  408. as_basename=false
  409. fi
  410. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  411. as_dirname=dirname
  412. else
  413. as_dirname=false
  414. fi
  415. as_me=`$as_basename -- "$0" ||
  416. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  417. X"$0" : 'X\(//\)$' \| \
  418. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  419. $as_echo X/"$0" |
  420. sed '/^.*\/\([^/][^/]*\)\/*$/{
  421. s//\1/
  422. q
  423. }
  424. /^X\/\(\/\/\)$/{
  425. s//\1/
  426. q
  427. }
  428. /^X\/\(\/\).*/{
  429. s//\1/
  430. q
  431. }
  432. s/.*/./; q'`
  433. # Avoid depending upon Character Ranges.
  434. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  435. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  436. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  437. as_cr_digits='0123456789'
  438. as_cr_alnum=$as_cr_Letters$as_cr_digits
  439. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  440. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  441. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  442. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  443. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  444. sed -n '
  445. p
  446. /[$]LINENO/=
  447. ' <$as_myself |
  448. sed '
  449. s/[$]LINENO.*/&-/
  450. t lineno
  451. b
  452. :lineno
  453. N
  454. :loop
  455. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  456. t loop
  457. s/-\n.*//
  458. ' >$as_me.lineno &&
  459. chmod +x "$as_me.lineno" ||
  460. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  461. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  462. # already done that, so ensure we don't try to do so again and fall
  463. # in an infinite loop. This has already happened in practice.
  464. _as_can_reexec=no; export _as_can_reexec
  465. # Don't try to exec as it changes $[0], causing all sort of problems
  466. # (the dirname of $[0] is not the place where we might find the
  467. # original and so on. Autoconf is especially sensitive to this).
  468. . "./$as_me.lineno"
  469. # Exit status is that of the last command.
  470. exit
  471. }
  472. ECHO_C= ECHO_N= ECHO_T=
  473. case `echo -n x` in #(((((
  474. -n*)
  475. case `echo 'xy\c'` in
  476. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  477. xy) ECHO_C='\c';;
  478. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  479. ECHO_T=' ';;
  480. esac;;
  481. *)
  482. ECHO_N='-n';;
  483. esac
  484. rm -f conf$$ conf$$.exe conf$$.file
  485. if test -d conf$$.dir; then
  486. rm -f conf$$.dir/conf$$.file
  487. else
  488. rm -f conf$$.dir
  489. mkdir conf$$.dir 2>/dev/null
  490. fi
  491. if (echo >conf$$.file) 2>/dev/null; then
  492. if ln -s conf$$.file conf$$ 2>/dev/null; then
  493. as_ln_s='ln -s'
  494. # ... but there are two gotchas:
  495. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  496. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  497. # In both cases, we have to default to `cp -pR'.
  498. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  499. as_ln_s='cp -pR'
  500. elif ln conf$$.file conf$$ 2>/dev/null; then
  501. as_ln_s=ln
  502. else
  503. as_ln_s='cp -pR'
  504. fi
  505. else
  506. as_ln_s='cp -pR'
  507. fi
  508. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  509. rmdir conf$$.dir 2>/dev/null
  510. if mkdir -p . 2>/dev/null; then
  511. as_mkdir_p='mkdir -p "$as_dir"'
  512. else
  513. test -d ./-p && rmdir ./-p
  514. as_mkdir_p=false
  515. fi
  516. as_test_x='test -x'
  517. as_executable_p=as_fn_executable_p
  518. # Sed expression to map a string onto a valid CPP name.
  519. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  520. # Sed expression to map a string onto a valid variable name.
  521. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  522. SHELL=${CONFIG_SHELL-/bin/sh}
  523. test -n "$DJDIR" || exec 7<&0 </dev/null
  524. exec 6>&1
  525. # Name of the host.
  526. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  527. # so uname gets run too.
  528. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  529. #
  530. # Initializations.
  531. #
  532. ac_default_prefix=/usr/local
  533. ac_clean_files=
  534. ac_config_libobj_dir=.
  535. LIBOBJS=
  536. cross_compiling=no
  537. subdirs=
  538. MFLAGS=
  539. MAKEFLAGS=
  540. # Identity of this package.
  541. PACKAGE_NAME='CityHash'
  542. PACKAGE_TARNAME='cityhash'
  543. PACKAGE_VERSION='1.1.1'
  544. PACKAGE_STRING='CityHash 1.1.1'
  545. PACKAGE_BUGREPORT='cityhash-discuss@googlegroups.com'
  546. PACKAGE_URL=''
  547. # Factoring default headers for most tests.
  548. ac_includes_default="\
  549. #include <stdio.h>
  550. #ifdef HAVE_SYS_TYPES_H
  551. # include <sys/types.h>
  552. #endif
  553. #ifdef HAVE_SYS_STAT_H
  554. # include <sys/stat.h>
  555. #endif
  556. #ifdef STDC_HEADERS
  557. # include <stdlib.h>
  558. # include <stddef.h>
  559. #else
  560. # ifdef HAVE_STDLIB_H
  561. # include <stdlib.h>
  562. # endif
  563. #endif
  564. #ifdef HAVE_STRING_H
  565. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  566. # include <memory.h>
  567. # endif
  568. # include <string.h>
  569. #endif
  570. #ifdef HAVE_STRINGS_H
  571. # include <strings.h>
  572. #endif
  573. #ifdef HAVE_INTTYPES_H
  574. # include <inttypes.h>
  575. #endif
  576. #ifdef HAVE_STDINT_H
  577. # include <stdint.h>
  578. #endif
  579. #ifdef HAVE_UNISTD_H
  580. # include <unistd.h>
  581. #endif"
  582. ac_unique_file="src/city.h"
  583. ac_subst_vars='am__EXEEXT_FALSE
  584. am__EXEEXT_TRUE
  585. LTLIBOBJS
  586. LIBOBJS
  587. CXXCPP
  588. am__fastdepCXX_FALSE
  589. am__fastdepCXX_TRUE
  590. CXXDEPMODE
  591. ac_ct_CXX
  592. CXXFLAGS
  593. CXX
  594. SSE42_FALSE
  595. SSE42_TRUE
  596. CPP
  597. OTOOL64
  598. OTOOL
  599. LIPO
  600. NMEDIT
  601. DSYMUTIL
  602. MANIFEST_TOOL
  603. RANLIB
  604. ac_ct_AR
  605. AR
  606. DLLTOOL
  607. OBJDUMP
  608. LN_S
  609. NM
  610. ac_ct_DUMPBIN
  611. DUMPBIN
  612. LD
  613. FGREP
  614. EGREP
  615. GREP
  616. SED
  617. am__fastdepCC_FALSE
  618. am__fastdepCC_TRUE
  619. CCDEPMODE
  620. am__nodep
  621. AMDEPBACKSLASH
  622. AMDEP_FALSE
  623. AMDEP_TRUE
  624. am__quote
  625. am__include
  626. DEPDIR
  627. OBJEXT
  628. EXEEXT
  629. ac_ct_CC
  630. CPPFLAGS
  631. LDFLAGS
  632. CFLAGS
  633. CC
  634. host_os
  635. host_vendor
  636. host_cpu
  637. host
  638. build_os
  639. build_vendor
  640. build_cpu
  641. build
  642. LIBTOOL
  643. am__untar
  644. am__tar
  645. AMTAR
  646. am__leading_dot
  647. SET_MAKE
  648. AWK
  649. mkdir_p
  650. MKDIR_P
  651. INSTALL_STRIP_PROGRAM
  652. STRIP
  653. install_sh
  654. MAKEINFO
  655. AUTOHEADER
  656. AUTOMAKE
  657. AUTOCONF
  658. ACLOCAL
  659. VERSION
  660. PACKAGE
  661. CYGPATH_W
  662. am__isrc
  663. INSTALL_DATA
  664. INSTALL_SCRIPT
  665. INSTALL_PROGRAM
  666. target_alias
  667. host_alias
  668. build_alias
  669. LIBS
  670. ECHO_T
  671. ECHO_N
  672. ECHO_C
  673. DEFS
  674. mandir
  675. localedir
  676. libdir
  677. psdir
  678. pdfdir
  679. dvidir
  680. htmldir
  681. infodir
  682. docdir
  683. oldincludedir
  684. includedir
  685. localstatedir
  686. sharedstatedir
  687. sysconfdir
  688. datadir
  689. datarootdir
  690. libexecdir
  691. sbindir
  692. bindir
  693. program_transform_name
  694. prefix
  695. exec_prefix
  696. PACKAGE_URL
  697. PACKAGE_BUGREPORT
  698. PACKAGE_STRING
  699. PACKAGE_VERSION
  700. PACKAGE_TARNAME
  701. PACKAGE_NAME
  702. PATH_SEPARATOR
  703. SHELL'
  704. ac_subst_files=''
  705. ac_user_opts='
  706. enable_option_checking
  707. enable_shared
  708. enable_static
  709. with_pic
  710. enable_fast_install
  711. enable_dependency_tracking
  712. with_gnu_ld
  713. with_sysroot
  714. enable_libtool_lock
  715. enable_sse4_2
  716. '
  717. ac_precious_vars='build_alias
  718. host_alias
  719. target_alias
  720. CC
  721. CFLAGS
  722. LDFLAGS
  723. LIBS
  724. CPPFLAGS
  725. CPP
  726. CXX
  727. CXXFLAGS
  728. CCC
  729. CXXCPP'
  730. # Initialize some variables set by options.
  731. ac_init_help=
  732. ac_init_version=false
  733. ac_unrecognized_opts=
  734. ac_unrecognized_sep=
  735. # The variables have the same names as the options, with
  736. # dashes changed to underlines.
  737. cache_file=/dev/null
  738. exec_prefix=NONE
  739. no_create=
  740. no_recursion=
  741. prefix=NONE
  742. program_prefix=NONE
  743. program_suffix=NONE
  744. program_transform_name=s,x,x,
  745. silent=
  746. site=
  747. srcdir=
  748. verbose=
  749. x_includes=NONE
  750. x_libraries=NONE
  751. # Installation directory options.
  752. # These are left unexpanded so users can "make install exec_prefix=/foo"
  753. # and all the variables that are supposed to be based on exec_prefix
  754. # by default will actually change.
  755. # Use braces instead of parens because sh, perl, etc. also accept them.
  756. # (The list follows the same order as the GNU Coding Standards.)
  757. bindir='${exec_prefix}/bin'
  758. sbindir='${exec_prefix}/sbin'
  759. libexecdir='${exec_prefix}/libexec'
  760. datarootdir='${prefix}/share'
  761. datadir='${datarootdir}'
  762. sysconfdir='${prefix}/etc'
  763. sharedstatedir='${prefix}/com'
  764. localstatedir='${prefix}/var'
  765. includedir='${prefix}/include'
  766. oldincludedir='/usr/include'
  767. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  768. infodir='${datarootdir}/info'
  769. htmldir='${docdir}'
  770. dvidir='${docdir}'
  771. pdfdir='${docdir}'
  772. psdir='${docdir}'
  773. libdir='${exec_prefix}/lib'
  774. localedir='${datarootdir}/locale'
  775. mandir='${datarootdir}/man'
  776. ac_prev=
  777. ac_dashdash=
  778. for ac_option
  779. do
  780. # If the previous option needs an argument, assign it.
  781. if test -n "$ac_prev"; then
  782. eval $ac_prev=\$ac_option
  783. ac_prev=
  784. continue
  785. fi
  786. case $ac_option in
  787. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  788. *=) ac_optarg= ;;
  789. *) ac_optarg=yes ;;
  790. esac
  791. # Accept the important Cygnus configure options, so we can diagnose typos.
  792. case $ac_dashdash$ac_option in
  793. --)
  794. ac_dashdash=yes ;;
  795. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  796. ac_prev=bindir ;;
  797. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  798. bindir=$ac_optarg ;;
  799. -build | --build | --buil | --bui | --bu)
  800. ac_prev=build_alias ;;
  801. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  802. build_alias=$ac_optarg ;;
  803. -cache-file | --cache-file | --cache-fil | --cache-fi \
  804. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  805. ac_prev=cache_file ;;
  806. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  807. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  808. cache_file=$ac_optarg ;;
  809. --config-cache | -C)
  810. cache_file=config.cache ;;
  811. -datadir | --datadir | --datadi | --datad)
  812. ac_prev=datadir ;;
  813. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  814. datadir=$ac_optarg ;;
  815. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  816. | --dataroo | --dataro | --datar)
  817. ac_prev=datarootdir ;;
  818. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  819. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  820. datarootdir=$ac_optarg ;;
  821. -disable-* | --disable-*)
  822. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  823. # Reject names that are not valid shell variable names.
  824. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  825. as_fn_error $? "invalid feature name: $ac_useropt"
  826. ac_useropt_orig=$ac_useropt
  827. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  828. case $ac_user_opts in
  829. *"
  830. "enable_$ac_useropt"
  831. "*) ;;
  832. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  833. ac_unrecognized_sep=', ';;
  834. esac
  835. eval enable_$ac_useropt=no ;;
  836. -docdir | --docdir | --docdi | --doc | --do)
  837. ac_prev=docdir ;;
  838. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  839. docdir=$ac_optarg ;;
  840. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  841. ac_prev=dvidir ;;
  842. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  843. dvidir=$ac_optarg ;;
  844. -enable-* | --enable-*)
  845. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  846. # Reject names that are not valid shell variable names.
  847. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  848. as_fn_error $? "invalid feature name: $ac_useropt"
  849. ac_useropt_orig=$ac_useropt
  850. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  851. case $ac_user_opts in
  852. *"
  853. "enable_$ac_useropt"
  854. "*) ;;
  855. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  856. ac_unrecognized_sep=', ';;
  857. esac
  858. eval enable_$ac_useropt=\$ac_optarg ;;
  859. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  860. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  861. | --exec | --exe | --ex)
  862. ac_prev=exec_prefix ;;
  863. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  864. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  865. | --exec=* | --exe=* | --ex=*)
  866. exec_prefix=$ac_optarg ;;
  867. -gas | --gas | --ga | --g)
  868. # Obsolete; use --with-gas.
  869. with_gas=yes ;;
  870. -help | --help | --hel | --he | -h)
  871. ac_init_help=long ;;
  872. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  873. ac_init_help=recursive ;;
  874. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  875. ac_init_help=short ;;
  876. -host | --host | --hos | --ho)
  877. ac_prev=host_alias ;;
  878. -host=* | --host=* | --hos=* | --ho=*)
  879. host_alias=$ac_optarg ;;
  880. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  881. ac_prev=htmldir ;;
  882. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  883. | --ht=*)
  884. htmldir=$ac_optarg ;;
  885. -includedir | --includedir | --includedi | --included | --include \
  886. | --includ | --inclu | --incl | --inc)
  887. ac_prev=includedir ;;
  888. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  889. | --includ=* | --inclu=* | --incl=* | --inc=*)
  890. includedir=$ac_optarg ;;
  891. -infodir | --infodir | --infodi | --infod | --info | --inf)
  892. ac_prev=infodir ;;
  893. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  894. infodir=$ac_optarg ;;
  895. -libdir | --libdir | --libdi | --libd)
  896. ac_prev=libdir ;;
  897. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  898. libdir=$ac_optarg ;;
  899. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  900. | --libexe | --libex | --libe)
  901. ac_prev=libexecdir ;;
  902. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  903. | --libexe=* | --libex=* | --libe=*)
  904. libexecdir=$ac_optarg ;;
  905. -localedir | --localedir | --localedi | --localed | --locale)
  906. ac_prev=localedir ;;
  907. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  908. localedir=$ac_optarg ;;
  909. -localstatedir | --localstatedir | --localstatedi | --localstated \
  910. | --localstate | --localstat | --localsta | --localst | --locals)
  911. ac_prev=localstatedir ;;
  912. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  913. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  914. localstatedir=$ac_optarg ;;
  915. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  916. ac_prev=mandir ;;
  917. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  918. mandir=$ac_optarg ;;
  919. -nfp | --nfp | --nf)
  920. # Obsolete; use --without-fp.
  921. with_fp=no ;;
  922. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  923. | --no-cr | --no-c | -n)
  924. no_create=yes ;;
  925. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  926. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  927. no_recursion=yes ;;
  928. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  929. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  930. | --oldin | --oldi | --old | --ol | --o)
  931. ac_prev=oldincludedir ;;
  932. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  933. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  934. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  935. oldincludedir=$ac_optarg ;;
  936. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  937. ac_prev=prefix ;;
  938. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  939. prefix=$ac_optarg ;;
  940. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  941. | --program-pre | --program-pr | --program-p)
  942. ac_prev=program_prefix ;;
  943. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  944. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  945. program_prefix=$ac_optarg ;;
  946. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  947. | --program-suf | --program-su | --program-s)
  948. ac_prev=program_suffix ;;
  949. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  950. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  951. program_suffix=$ac_optarg ;;
  952. -program-transform-name | --program-transform-name \
  953. | --program-transform-nam | --program-transform-na \
  954. | --program-transform-n | --program-transform- \
  955. | --program-transform | --program-transfor \
  956. | --program-transfo | --program-transf \
  957. | --program-trans | --program-tran \
  958. | --progr-tra | --program-tr | --program-t)
  959. ac_prev=program_transform_name ;;
  960. -program-transform-name=* | --program-transform-name=* \
  961. | --program-transform-nam=* | --program-transform-na=* \
  962. | --program-transform-n=* | --program-transform-=* \
  963. | --program-transform=* | --program-transfor=* \
  964. | --program-transfo=* | --program-transf=* \
  965. | --program-trans=* | --program-tran=* \
  966. | --progr-tra=* | --program-tr=* | --program-t=*)
  967. program_transform_name=$ac_optarg ;;
  968. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  969. ac_prev=pdfdir ;;
  970. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  971. pdfdir=$ac_optarg ;;
  972. -psdir | --psdir | --psdi | --psd | --ps)
  973. ac_prev=psdir ;;
  974. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  975. psdir=$ac_optarg ;;
  976. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  977. | -silent | --silent | --silen | --sile | --sil)
  978. silent=yes ;;
  979. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  980. ac_prev=sbindir ;;
  981. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  982. | --sbi=* | --sb=*)
  983. sbindir=$ac_optarg ;;
  984. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  985. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  986. | --sharedst | --shareds | --shared | --share | --shar \
  987. | --sha | --sh)
  988. ac_prev=sharedstatedir ;;
  989. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  990. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  991. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  992. | --sha=* | --sh=*)
  993. sharedstatedir=$ac_optarg ;;
  994. -site | --site | --sit)
  995. ac_prev=site ;;
  996. -site=* | --site=* | --sit=*)
  997. site=$ac_optarg ;;
  998. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  999. ac_prev=srcdir ;;
  1000. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1001. srcdir=$ac_optarg ;;
  1002. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1003. | --syscon | --sysco | --sysc | --sys | --sy)
  1004. ac_prev=sysconfdir ;;
  1005. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1006. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1007. sysconfdir=$ac_optarg ;;
  1008. -target | --target | --targe | --targ | --tar | --ta | --t)
  1009. ac_prev=target_alias ;;
  1010. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1011. target_alias=$ac_optarg ;;
  1012. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1013. verbose=yes ;;
  1014. -version | --version | --versio | --versi | --vers | -V)
  1015. ac_init_version=: ;;
  1016. -with-* | --with-*)
  1017. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1018. # Reject names that are not valid shell variable names.
  1019. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1020. as_fn_error $? "invalid package name: $ac_useropt"
  1021. ac_useropt_orig=$ac_useropt
  1022. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1023. case $ac_user_opts in
  1024. *"
  1025. "with_$ac_useropt"
  1026. "*) ;;
  1027. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1028. ac_unrecognized_sep=', ';;
  1029. esac
  1030. eval with_$ac_useropt=\$ac_optarg ;;
  1031. -without-* | --without-*)
  1032. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1033. # Reject names that are not valid shell variable names.
  1034. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1035. as_fn_error $? "invalid package name: $ac_useropt"
  1036. ac_useropt_orig=$ac_useropt
  1037. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1038. case $ac_user_opts in
  1039. *"
  1040. "with_$ac_useropt"
  1041. "*) ;;
  1042. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1043. ac_unrecognized_sep=', ';;
  1044. esac
  1045. eval with_$ac_useropt=no ;;
  1046. --x)
  1047. # Obsolete; use --with-x.
  1048. with_x=yes ;;
  1049. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1050. | --x-incl | --x-inc | --x-in | --x-i)
  1051. ac_prev=x_includes ;;
  1052. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1053. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1054. x_includes=$ac_optarg ;;
  1055. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1056. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1057. ac_prev=x_libraries ;;
  1058. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1059. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1060. x_libraries=$ac_optarg ;;
  1061. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1062. Try \`$0 --help' for more information"
  1063. ;;
  1064. *=*)
  1065. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1066. # Reject names that are not valid shell variable names.
  1067. case $ac_envvar in #(
  1068. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1069. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1070. esac
  1071. eval $ac_envvar=\$ac_optarg
  1072. export $ac_envvar ;;
  1073. *)
  1074. # FIXME: should be removed in autoconf 3.0.
  1075. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1076. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1077. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1078. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1079. ;;
  1080. esac
  1081. done
  1082. if test -n "$ac_prev"; then
  1083. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1084. as_fn_error $? "missing argument to $ac_option"
  1085. fi
  1086. if test -n "$ac_unrecognized_opts"; then
  1087. case $enable_option_checking in
  1088. no) ;;
  1089. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1090. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1091. esac
  1092. fi
  1093. # Check all directory arguments for consistency.
  1094. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1095. datadir sysconfdir sharedstatedir localstatedir includedir \
  1096. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1097. libdir localedir mandir
  1098. do
  1099. eval ac_val=\$$ac_var
  1100. # Remove trailing slashes.
  1101. case $ac_val in
  1102. */ )
  1103. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1104. eval $ac_var=\$ac_val;;
  1105. esac
  1106. # Be sure to have absolute directory names.
  1107. case $ac_val in
  1108. [\\/$]* | ?:[\\/]* ) continue;;
  1109. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1110. esac
  1111. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1112. done
  1113. # There might be people who depend on the old broken behavior: `$host'
  1114. # used to hold the argument of --host etc.
  1115. # FIXME: To remove some day.
  1116. build=$build_alias
  1117. host=$host_alias
  1118. target=$target_alias
  1119. # FIXME: To remove some day.
  1120. if test "x$host_alias" != x; then
  1121. if test "x$build_alias" = x; then
  1122. cross_compiling=maybe
  1123. elif test "x$build_alias" != "x$host_alias"; then
  1124. cross_compiling=yes
  1125. fi
  1126. fi
  1127. ac_tool_prefix=
  1128. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1129. test "$silent" = yes && exec 6>/dev/null
  1130. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1131. ac_ls_di=`ls -di .` &&
  1132. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1133. as_fn_error $? "working directory cannot be determined"
  1134. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1135. as_fn_error $? "pwd does not report name of working directory"
  1136. # Find the source files, if location was not specified.
  1137. if test -z "$srcdir"; then
  1138. ac_srcdir_defaulted=yes
  1139. # Try the directory containing this script, then the parent directory.
  1140. ac_confdir=`$as_dirname -- "$as_myself" ||
  1141. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1142. X"$as_myself" : 'X\(//\)[^/]' \| \
  1143. X"$as_myself" : 'X\(//\)$' \| \
  1144. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1145. $as_echo X"$as_myself" |
  1146. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1147. s//\1/
  1148. q
  1149. }
  1150. /^X\(\/\/\)[^/].*/{
  1151. s//\1/
  1152. q
  1153. }
  1154. /^X\(\/\/\)$/{
  1155. s//\1/
  1156. q
  1157. }
  1158. /^X\(\/\).*/{
  1159. s//\1/
  1160. q
  1161. }
  1162. s/.*/./; q'`
  1163. srcdir=$ac_confdir
  1164. if test ! -r "$srcdir/$ac_unique_file"; then
  1165. srcdir=..
  1166. fi
  1167. else
  1168. ac_srcdir_defaulted=no
  1169. fi
  1170. if test ! -r "$srcdir/$ac_unique_file"; then
  1171. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1172. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1173. fi
  1174. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1175. ac_abs_confdir=`(
  1176. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1177. pwd)`
  1178. # When building in place, set srcdir=.
  1179. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1180. srcdir=.
  1181. fi
  1182. # Remove unnecessary trailing slashes from srcdir.
  1183. # Double slashes in file names in object file debugging info
  1184. # mess up M-x gdb in Emacs.
  1185. case $srcdir in
  1186. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1187. esac
  1188. for ac_var in $ac_precious_vars; do
  1189. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1190. eval ac_env_${ac_var}_value=\$${ac_var}
  1191. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1192. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1193. done
  1194. #
  1195. # Report the --help message.
  1196. #
  1197. if test "$ac_init_help" = "long"; then
  1198. # Omit some internal or obsolete options to make the list less imposing.
  1199. # This message is too long to be a string in the A/UX 3.1 sh.
  1200. cat <<_ACEOF
  1201. \`configure' configures CityHash 1.1.1 to adapt to many kinds of systems.
  1202. Usage: $0 [OPTION]... [VAR=VALUE]...
  1203. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1204. VAR=VALUE. See below for descriptions of some of the useful variables.
  1205. Defaults for the options are specified in brackets.
  1206. Configuration:
  1207. -h, --help display this help and exit
  1208. --help=short display options specific to this package
  1209. --help=recursive display the short help of all the included packages
  1210. -V, --version display version information and exit
  1211. -q, --quiet, --silent do not print \`checking ...' messages
  1212. --cache-file=FILE cache test results in FILE [disabled]
  1213. -C, --config-cache alias for \`--cache-file=config.cache'
  1214. -n, --no-create do not create output files
  1215. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1216. Installation directories:
  1217. --prefix=PREFIX install architecture-independent files in PREFIX
  1218. [$ac_default_prefix]
  1219. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1220. [PREFIX]
  1221. By default, \`make install' will install all the files in
  1222. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1223. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1224. for instance \`--prefix=\$HOME'.
  1225. For better control, use the options below.
  1226. Fine tuning of the installation directories:
  1227. --bindir=DIR user executables [EPREFIX/bin]
  1228. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1229. --libexecdir=DIR program executables [EPREFIX/libexec]
  1230. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1231. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1232. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1233. --libdir=DIR object code libraries [EPREFIX/lib]
  1234. --includedir=DIR C header files [PREFIX/include]
  1235. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1236. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1237. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1238. --infodir=DIR info documentation [DATAROOTDIR/info]
  1239. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1240. --mandir=DIR man documentation [DATAROOTDIR/man]
  1241. --docdir=DIR documentation root [DATAROOTDIR/doc/cityhash]
  1242. --htmldir=DIR html documentation [DOCDIR]
  1243. --dvidir=DIR dvi documentation [DOCDIR]
  1244. --pdfdir=DIR pdf documentation [DOCDIR]
  1245. --psdir=DIR ps documentation [DOCDIR]
  1246. _ACEOF
  1247. cat <<\_ACEOF
  1248. Program names:
  1249. --program-prefix=PREFIX prepend PREFIX to installed program names
  1250. --program-suffix=SUFFIX append SUFFIX to installed program names
  1251. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1252. System types:
  1253. --build=BUILD configure for building on BUILD [guessed]
  1254. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1255. _ACEOF
  1256. fi
  1257. if test -n "$ac_init_help"; then
  1258. case $ac_init_help in
  1259. short | recursive ) echo "Configuration of CityHash 1.1.1:";;
  1260. esac
  1261. cat <<\_ACEOF
  1262. Optional Features:
  1263. --disable-option-checking ignore unrecognized --enable/--with options
  1264. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1265. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1266. --enable-shared[=PKGS] build shared libraries [default=yes]
  1267. --enable-static[=PKGS] build static libraries [default=yes]
  1268. --enable-fast-install[=PKGS]
  1269. optimize for fast installation [default=yes]
  1270. --disable-dependency-tracking speeds up one-time build
  1271. --enable-dependency-tracking do not reject slow dependency extractors
  1272. --disable-libtool-lock avoid locking (might break parallel builds)
  1273. "Build CityHash variants that depend on the _mm_crc32_u64 intrinsic."
  1274. Optional Packages:
  1275. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1276. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1277. --with-pic try to use only PIC/non-PIC objects [default=use
  1278. both]
  1279. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1280. --with-sysroot=DIR Search for dependent libraries within DIR
  1281. (or the compiler's sysroot if not specified).
  1282. Some influential environment variables:
  1283. CC C compiler command
  1284. CFLAGS C compiler flags
  1285. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1286. nonstandard directory <lib dir>
  1287. LIBS libraries to pass to the linker, e.g. -l<library>
  1288. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1289. you have headers in a nonstandard directory <include dir>
  1290. CPP C preprocessor
  1291. CXX C++ compiler command
  1292. CXXFLAGS C++ compiler flags
  1293. CXXCPP C++ preprocessor
  1294. Use these variables to override the choices made by `configure' or to help
  1295. it to find libraries and programs with nonstandard names/locations.
  1296. Report bugs to <cityhash-discuss@googlegroups.com>.
  1297. _ACEOF
  1298. ac_status=$?
  1299. fi
  1300. if test "$ac_init_help" = "recursive"; then
  1301. # If there are subdirs, report their specific --help.
  1302. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1303. test -d "$ac_dir" ||
  1304. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1305. continue
  1306. ac_builddir=.
  1307. case "$ac_dir" in
  1308. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1309. *)
  1310. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1311. # A ".." for each directory in $ac_dir_suffix.
  1312. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1313. case $ac_top_builddir_sub in
  1314. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1315. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1316. esac ;;
  1317. esac
  1318. ac_abs_top_builddir=$ac_pwd
  1319. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1320. # for backward compatibility:
  1321. ac_top_builddir=$ac_top_build_prefix
  1322. case $srcdir in
  1323. .) # We are building in place.
  1324. ac_srcdir=.
  1325. ac_top_srcdir=$ac_top_builddir_sub
  1326. ac_abs_top_srcdir=$ac_pwd ;;
  1327. [\\/]* | ?:[\\/]* ) # Absolute name.
  1328. ac_srcdir=$srcdir$ac_dir_suffix;
  1329. ac_top_srcdir=$srcdir
  1330. ac_abs_top_srcdir=$srcdir ;;
  1331. *) # Relative name.
  1332. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1333. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1334. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1335. esac
  1336. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1337. cd "$ac_dir" || { ac_status=$?; continue; }
  1338. # Check for guested configure.
  1339. if test -f "$ac_srcdir/configure.gnu"; then
  1340. echo &&
  1341. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1342. elif test -f "$ac_srcdir/configure"; then
  1343. echo &&
  1344. $SHELL "$ac_srcdir/configure" --help=recursive
  1345. else
  1346. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1347. fi || ac_status=$?
  1348. cd "$ac_pwd" || { ac_status=$?; break; }
  1349. done
  1350. fi
  1351. test -n "$ac_init_help" && exit $ac_status
  1352. if $ac_init_version; then
  1353. cat <<\_ACEOF
  1354. CityHash configure 1.1.1
  1355. generated by GNU Autoconf 2.69
  1356. Copyright (C) 2012 Free Software Foundation, Inc.
  1357. This configure script is free software; the Free Software Foundation
  1358. gives unlimited permission to copy, distribute and modify it.
  1359. _ACEOF
  1360. exit
  1361. fi
  1362. ## ------------------------ ##
  1363. ## Autoconf initialization. ##
  1364. ## ------------------------ ##
  1365. # ac_fn_c_try_compile LINENO
  1366. # --------------------------
  1367. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1368. ac_fn_c_try_compile ()
  1369. {
  1370. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1371. rm -f conftest.$ac_objext
  1372. if { { ac_try="$ac_compile"
  1373. case "(($ac_try" in
  1374. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1375. *) ac_try_echo=$ac_try;;
  1376. esac
  1377. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1378. $as_echo "$ac_try_echo"; } >&5
  1379. (eval "$ac_compile") 2>conftest.err
  1380. ac_status=$?
  1381. if test -s conftest.err; then
  1382. grep -v '^ *+' conftest.err >conftest.er1
  1383. cat conftest.er1 >&5
  1384. mv -f conftest.er1 conftest.err
  1385. fi
  1386. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1387. test $ac_status = 0; } && {
  1388. test -z "$ac_c_werror_flag" ||
  1389. test ! -s conftest.err
  1390. } && test -s conftest.$ac_objext; then :
  1391. ac_retval=0
  1392. else
  1393. $as_echo "$as_me: failed program was:" >&5
  1394. sed 's/^/| /' conftest.$ac_ext >&5
  1395. ac_retval=1
  1396. fi
  1397. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1398. as_fn_set_status $ac_retval
  1399. } # ac_fn_c_try_compile
  1400. # ac_fn_c_try_link LINENO
  1401. # -----------------------
  1402. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1403. ac_fn_c_try_link ()
  1404. {
  1405. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1406. rm -f conftest.$ac_objext conftest$ac_exeext
  1407. if { { ac_try="$ac_link"
  1408. case "(($ac_try" in
  1409. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1410. *) ac_try_echo=$ac_try;;
  1411. esac
  1412. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1413. $as_echo "$ac_try_echo"; } >&5
  1414. (eval "$ac_link") 2>conftest.err
  1415. ac_status=$?
  1416. if test -s conftest.err; then
  1417. grep -v '^ *+' conftest.err >conftest.er1
  1418. cat conftest.er1 >&5
  1419. mv -f conftest.er1 conftest.err
  1420. fi
  1421. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1422. test $ac_status = 0; } && {
  1423. test -z "$ac_c_werror_flag" ||
  1424. test ! -s conftest.err
  1425. } && test -s conftest$ac_exeext && {
  1426. test "$cross_compiling" = yes ||
  1427. test -x conftest$ac_exeext
  1428. }; then :
  1429. ac_retval=0
  1430. else
  1431. $as_echo "$as_me: failed program was:" >&5
  1432. sed 's/^/| /' conftest.$ac_ext >&5
  1433. ac_retval=1
  1434. fi
  1435. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1436. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1437. # interfere with the next link command; also delete a directory that is
  1438. # left behind by Apple's compiler. We do this before executing the actions.
  1439. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1440. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1441. as_fn_set_status $ac_retval
  1442. } # ac_fn_c_try_link
  1443. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1444. # -------------------------------------------------------
  1445. # Tests whether HEADER exists and can be compiled using the include files in
  1446. # INCLUDES, setting the cache variable VAR accordingly.
  1447. ac_fn_c_check_header_compile ()
  1448. {
  1449. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1451. $as_echo_n "checking for $2... " >&6; }
  1452. if eval \${$3+:} false; then :
  1453. $as_echo_n "(cached) " >&6
  1454. else
  1455. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1456. /* end confdefs.h. */
  1457. $4
  1458. #include <$2>
  1459. _ACEOF
  1460. if ac_fn_c_try_compile "$LINENO"; then :
  1461. eval "$3=yes"
  1462. else
  1463. eval "$3=no"
  1464. fi
  1465. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1466. fi
  1467. eval ac_res=\$$3
  1468. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1469. $as_echo "$ac_res" >&6; }
  1470. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1471. } # ac_fn_c_check_header_compile
  1472. # ac_fn_c_try_cpp LINENO
  1473. # ----------------------
  1474. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1475. ac_fn_c_try_cpp ()
  1476. {
  1477. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1478. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1479. case "(($ac_try" in
  1480. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1481. *) ac_try_echo=$ac_try;;
  1482. esac
  1483. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1484. $as_echo "$ac_try_echo"; } >&5
  1485. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1486. ac_status=$?
  1487. if test -s conftest.err; then
  1488. grep -v '^ *+' conftest.err >conftest.er1
  1489. cat conftest.er1 >&5
  1490. mv -f conftest.er1 conftest.err
  1491. fi
  1492. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1493. test $ac_status = 0; } > conftest.i && {
  1494. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1495. test ! -s conftest.err
  1496. }; then :
  1497. ac_retval=0
  1498. else
  1499. $as_echo "$as_me: failed program was:" >&5
  1500. sed 's/^/| /' conftest.$ac_ext >&5
  1501. ac_retval=1
  1502. fi
  1503. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1504. as_fn_set_status $ac_retval
  1505. } # ac_fn_c_try_cpp
  1506. # ac_fn_c_try_run LINENO
  1507. # ----------------------
  1508. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1509. # that executables *can* be run.
  1510. ac_fn_c_try_run ()
  1511. {
  1512. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1513. if { { ac_try="$ac_link"
  1514. case "(($ac_try" in
  1515. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1516. *) ac_try_echo=$ac_try;;
  1517. esac
  1518. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1519. $as_echo "$ac_try_echo"; } >&5
  1520. (eval "$ac_link") 2>&5
  1521. ac_status=$?
  1522. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1523. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1524. { { case "(($ac_try" in
  1525. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1526. *) ac_try_echo=$ac_try;;
  1527. esac
  1528. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1529. $as_echo "$ac_try_echo"; } >&5
  1530. (eval "$ac_try") 2>&5
  1531. ac_status=$?
  1532. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1533. test $ac_status = 0; }; }; then :
  1534. ac_retval=0
  1535. else
  1536. $as_echo "$as_me: program exited with status $ac_status" >&5
  1537. $as_echo "$as_me: failed program was:" >&5
  1538. sed 's/^/| /' conftest.$ac_ext >&5
  1539. ac_retval=$ac_status
  1540. fi
  1541. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1542. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1543. as_fn_set_status $ac_retval
  1544. } # ac_fn_c_try_run
  1545. # ac_fn_c_check_func LINENO FUNC VAR
  1546. # ----------------------------------
  1547. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1548. ac_fn_c_check_func ()
  1549. {
  1550. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1551. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1552. $as_echo_n "checking for $2... " >&6; }
  1553. if eval \${$3+:} false; then :
  1554. $as_echo_n "(cached) " >&6
  1555. else
  1556. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1557. /* end confdefs.h. */
  1558. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1559. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1560. #define $2 innocuous_$2
  1561. /* System header to define __stub macros and hopefully few prototypes,
  1562. which can conflict with char $2 (); below.
  1563. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1564. <limits.h> exists even on freestanding compilers. */
  1565. #ifdef __STDC__
  1566. # include <limits.h>
  1567. #else
  1568. # include <assert.h>
  1569. #endif
  1570. #undef $2
  1571. /* Override any GCC internal prototype to avoid an error.
  1572. Use char because int might match the return type of a GCC
  1573. builtin and then its argument prototype would still apply. */
  1574. #ifdef __cplusplus
  1575. extern "C"
  1576. #endif
  1577. char $2 ();
  1578. /* The GNU C library defines this for functions which it implements
  1579. to always fail with ENOSYS. Some functions are actually named
  1580. something starting with __ and the normal name is an alias. */
  1581. #if defined __stub_$2 || defined __stub___$2
  1582. choke me
  1583. #endif
  1584. int
  1585. main ()
  1586. {
  1587. return $2 ();
  1588. ;
  1589. return 0;
  1590. }
  1591. _ACEOF
  1592. if ac_fn_c_try_link "$LINENO"; then :
  1593. eval "$3=yes"
  1594. else
  1595. eval "$3=no"
  1596. fi
  1597. rm -f core conftest.err conftest.$ac_objext \
  1598. conftest$ac_exeext conftest.$ac_ext
  1599. fi
  1600. eval ac_res=\$$3
  1601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1602. $as_echo "$ac_res" >&6; }
  1603. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1604. } # ac_fn_c_check_func
  1605. # ac_fn_cxx_try_compile LINENO
  1606. # ----------------------------
  1607. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1608. ac_fn_cxx_try_compile ()
  1609. {
  1610. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1611. rm -f conftest.$ac_objext
  1612. if { { ac_try="$ac_compile"
  1613. case "(($ac_try" in
  1614. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1615. *) ac_try_echo=$ac_try;;
  1616. esac
  1617. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1618. $as_echo "$ac_try_echo"; } >&5
  1619. (eval "$ac_compile") 2>conftest.err
  1620. ac_status=$?
  1621. if test -s conftest.err; then
  1622. grep -v '^ *+' conftest.err >conftest.er1
  1623. cat conftest.er1 >&5
  1624. mv -f conftest.er1 conftest.err
  1625. fi
  1626. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1627. test $ac_status = 0; } && {
  1628. test -z "$ac_cxx_werror_flag" ||
  1629. test ! -s conftest.err
  1630. } && test -s conftest.$ac_objext; then :
  1631. ac_retval=0
  1632. else
  1633. $as_echo "$as_me: failed program was:" >&5
  1634. sed 's/^/| /' conftest.$ac_ext >&5
  1635. ac_retval=1
  1636. fi
  1637. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1638. as_fn_set_status $ac_retval
  1639. } # ac_fn_cxx_try_compile
  1640. # ac_fn_cxx_try_cpp LINENO
  1641. # ------------------------
  1642. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1643. ac_fn_cxx_try_cpp ()
  1644. {
  1645. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1646. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1647. case "(($ac_try" in
  1648. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1649. *) ac_try_echo=$ac_try;;
  1650. esac
  1651. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1652. $as_echo "$ac_try_echo"; } >&5
  1653. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1654. ac_status=$?
  1655. if test -s conftest.err; then
  1656. grep -v '^ *+' conftest.err >conftest.er1
  1657. cat conftest.er1 >&5
  1658. mv -f conftest.er1 conftest.err
  1659. fi
  1660. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1661. test $ac_status = 0; } > conftest.i && {
  1662. test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1663. test ! -s conftest.err
  1664. }; then :
  1665. ac_retval=0
  1666. else
  1667. $as_echo "$as_me: failed program was:" >&5
  1668. sed 's/^/| /' conftest.$ac_ext >&5
  1669. ac_retval=1
  1670. fi
  1671. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1672. as_fn_set_status $ac_retval
  1673. } # ac_fn_cxx_try_cpp
  1674. # ac_fn_cxx_try_link LINENO
  1675. # -------------------------
  1676. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1677. ac_fn_cxx_try_link ()
  1678. {
  1679. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1680. rm -f conftest.$ac_objext conftest$ac_exeext
  1681. if { { ac_try="$ac_link"
  1682. case "(($ac_try" in
  1683. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1684. *) ac_try_echo=$ac_try;;
  1685. esac
  1686. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1687. $as_echo "$ac_try_echo"; } >&5
  1688. (eval "$ac_link") 2>conftest.err
  1689. ac_status=$?
  1690. if test -s conftest.err; then
  1691. grep -v '^ *+' conftest.err >conftest.er1
  1692. cat conftest.er1 >&5
  1693. mv -f conftest.er1 conftest.err
  1694. fi
  1695. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1696. test $ac_status = 0; } && {
  1697. test -z "$ac_cxx_werror_flag" ||
  1698. test ! -s conftest.err
  1699. } && test -s conftest$ac_exeext && {
  1700. test "$cross_compiling" = yes ||
  1701. test -x conftest$ac_exeext
  1702. }; then :
  1703. ac_retval=0
  1704. else
  1705. $as_echo "$as_me: failed program was:" >&5
  1706. sed 's/^/| /' conftest.$ac_ext >&5
  1707. ac_retval=1
  1708. fi
  1709. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1710. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1711. # interfere with the next link command; also delete a directory that is
  1712. # left behind by Apple's compiler. We do this before executing the actions.
  1713. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1714. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1715. as_fn_set_status $ac_retval
  1716. } # ac_fn_cxx_try_link
  1717. # ac_fn_cxx_try_run LINENO
  1718. # ------------------------
  1719. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1720. # that executables *can* be run.
  1721. ac_fn_cxx_try_run ()
  1722. {
  1723. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1724. if { { ac_try="$ac_link"
  1725. case "(($ac_try" in
  1726. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1727. *) ac_try_echo=$ac_try;;
  1728. esac
  1729. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1730. $as_echo "$ac_try_echo"; } >&5
  1731. (eval "$ac_link") 2>&5
  1732. ac_status=$?
  1733. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1734. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1735. { { case "(($ac_try" in
  1736. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1737. *) ac_try_echo=$ac_try;;
  1738. esac
  1739. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1740. $as_echo "$ac_try_echo"; } >&5
  1741. (eval "$ac_try") 2>&5
  1742. ac_status=$?
  1743. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1744. test $ac_status = 0; }; }; then :
  1745. ac_retval=0
  1746. else
  1747. $as_echo "$as_me: program exited with status $ac_status" >&5
  1748. $as_echo "$as_me: failed program was:" >&5
  1749. sed 's/^/| /' conftest.$ac_ext >&5
  1750. ac_retval=$ac_status
  1751. fi
  1752. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1753. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1754. as_fn_set_status $ac_retval
  1755. } # ac_fn_cxx_try_run
  1756. # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
  1757. # ---------------------------------------------------------
  1758. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1759. # the include files in INCLUDES and setting the cache variable VAR
  1760. # accordingly.
  1761. ac_fn_cxx_check_header_mongrel ()
  1762. {
  1763. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1764. if eval \${$3+:} false; then :
  1765. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1766. $as_echo_n "checking for $2... " >&6; }
  1767. if eval \${$3+:} false; then :
  1768. $as_echo_n "(cached) " >&6
  1769. fi
  1770. eval ac_res=\$$3
  1771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1772. $as_echo "$ac_res" >&6; }
  1773. else
  1774. # Is the header compilable?
  1775. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1776. $as_echo_n "checking $2 usability... " >&6; }
  1777. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1778. /* end confdefs.h. */
  1779. $4
  1780. #include <$2>
  1781. _ACEOF
  1782. if ac_fn_cxx_try_compile "$LINENO"; then :
  1783. ac_header_compiler=yes
  1784. else
  1785. ac_header_compiler=no
  1786. fi
  1787. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1789. $as_echo "$ac_header_compiler" >&6; }
  1790. # Is the header present?
  1791. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1792. $as_echo_n "checking $2 presence... " >&6; }
  1793. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1794. /* end confdefs.h. */
  1795. #include <$2>
  1796. _ACEOF
  1797. if ac_fn_cxx_try_cpp "$LINENO"; then :
  1798. ac_header_preproc=yes
  1799. else
  1800. ac_header_preproc=no
  1801. fi
  1802. rm -f conftest.err conftest.i conftest.$ac_ext
  1803. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1804. $as_echo "$ac_header_preproc" >&6; }
  1805. # So? What about this header?
  1806. case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
  1807. yes:no: )
  1808. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1809. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1810. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1811. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1812. ;;
  1813. no:yes:* )
  1814. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1815. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1816. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1817. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1818. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1819. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1820. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1821. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1822. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1823. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1824. ( $as_echo "## ------------------------------------------------ ##
  1825. ## Report this to cityhash-discuss@googlegroups.com ##
  1826. ## ------------------------------------------------ ##"
  1827. ) | sed "s/^/$as_me: WARNING: /" >&2
  1828. ;;
  1829. esac
  1830. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1831. $as_echo_n "checking for $2... " >&6; }
  1832. if eval \${$3+:} false; then :
  1833. $as_echo_n "(cached) " >&6
  1834. else
  1835. eval "$3=\$ac_header_compiler"
  1836. fi
  1837. eval ac_res=\$$3
  1838. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1839. $as_echo "$ac_res" >&6; }
  1840. fi
  1841. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1842. } # ac_fn_cxx_check_header_mongrel
  1843. # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
  1844. # ---------------------------------------------
  1845. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1846. # variable VAR accordingly.
  1847. ac_fn_cxx_check_type ()
  1848. {
  1849. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1850. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1851. $as_echo_n "checking for $2... " >&6; }
  1852. if eval \${$3+:} false; then :
  1853. $as_echo_n "(cached) " >&6
  1854. else
  1855. eval "$3=no"
  1856. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1857. /* end confdefs.h. */
  1858. $4
  1859. int
  1860. main ()
  1861. {
  1862. if (sizeof ($2))
  1863. return 0;
  1864. ;
  1865. return 0;
  1866. }
  1867. _ACEOF
  1868. if ac_fn_cxx_try_compile "$LINENO"; then :
  1869. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1870. /* end confdefs.h. */
  1871. $4
  1872. int
  1873. main ()
  1874. {
  1875. if (sizeof (($2)))
  1876. return 0;
  1877. ;
  1878. return 0;
  1879. }
  1880. _ACEOF
  1881. if ac_fn_cxx_try_compile "$LINENO"; then :
  1882. else
  1883. eval "$3=yes"
  1884. fi
  1885. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1886. fi
  1887. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1888. fi
  1889. eval ac_res=\$$3
  1890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1891. $as_echo "$ac_res" >&6; }
  1892. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1893. } # ac_fn_cxx_check_type
  1894. # ac_fn_c_find_uintX_t LINENO BITS VAR
  1895. # ------------------------------------
  1896. # Finds an unsigned integer type with width BITS, setting cache variable VAR
  1897. # accordingly.
  1898. ac_fn_c_find_uintX_t ()
  1899. {
  1900. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1901. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
  1902. $as_echo_n "checking for uint$2_t... " >&6; }
  1903. if eval \${$3+:} false; then :
  1904. $as_echo_n "(cached) " >&6
  1905. else
  1906. eval "$3=no"
  1907. # Order is important - never check a type that is potentially smaller
  1908. # than half of the expected target width.
  1909. for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
  1910. 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
  1911. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1912. /* end confdefs.h. */
  1913. $ac_includes_default
  1914. int
  1915. main ()
  1916. {
  1917. static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
  1918. test_array [0] = 0;
  1919. return test_array [0];
  1920. ;
  1921. return 0;
  1922. }
  1923. _ACEOF
  1924. if ac_fn_cxx_try_compile "$LINENO"; then :
  1925. case $ac_type in #(
  1926. uint$2_t) :
  1927. eval "$3=yes" ;; #(
  1928. *) :
  1929. eval "$3=\$ac_type" ;;
  1930. esac
  1931. fi
  1932. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1933. if eval test \"x\$"$3"\" = x"no"; then :
  1934. else
  1935. break
  1936. fi
  1937. done
  1938. fi
  1939. eval ac_res=\$$3
  1940. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1941. $as_echo "$ac_res" >&6; }
  1942. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1943. } # ac_fn_c_find_uintX_t
  1944. cat >config.log <<_ACEOF
  1945. This file contains any messages produced by compilers while
  1946. running configure, to aid debugging if configure makes a mistake.
  1947. It was created by CityHash $as_me 1.1.1, which was
  1948. generated by GNU Autoconf 2.69. Invocation command line was
  1949. $ $0 $@
  1950. _ACEOF
  1951. exec 5>>config.log
  1952. {
  1953. cat <<_ASUNAME
  1954. ## --------- ##
  1955. ## Platform. ##
  1956. ## --------- ##
  1957. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1958. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1959. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1960. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1961. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1962. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1963. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1964. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1965. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1966. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1967. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1968. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1969. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1970. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1971. _ASUNAME
  1972. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1973. for as_dir in $PATH
  1974. do
  1975. IFS=$as_save_IFS
  1976. test -z "$as_dir" && as_dir=.
  1977. $as_echo "PATH: $as_dir"
  1978. done
  1979. IFS=$as_save_IFS
  1980. } >&5
  1981. cat >&5 <<_ACEOF
  1982. ## ----------- ##
  1983. ## Core tests. ##
  1984. ## ----------- ##
  1985. _ACEOF
  1986. # Keep a trace of the command line.
  1987. # Strip out --no-create and --no-recursion so they do not pile up.
  1988. # Strip out --silent because we don't want to record it for future runs.
  1989. # Also quote any args containing shell meta-characters.
  1990. # Make two passes to allow for proper duplicate-argument suppression.
  1991. ac_configure_args=
  1992. ac_configure_args0=
  1993. ac_configure_args1=
  1994. ac_must_keep_next=false
  1995. for ac_pass in 1 2
  1996. do
  1997. for ac_arg
  1998. do
  1999. case $ac_arg in
  2000. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2001. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2002. | -silent | --silent | --silen | --sile | --sil)
  2003. continue ;;
  2004. *\'*)
  2005. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2006. esac
  2007. case $ac_pass in
  2008. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2009. 2)
  2010. as_fn_append ac_configure_args1 " '$ac_arg'"
  2011. if test $ac_must_keep_next = true; then
  2012. ac_must_keep_next=false # Got value, back to normal.
  2013. else
  2014. case $ac_arg in
  2015. *=* | --config-cache | -C | -disable-* | --disable-* \
  2016. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2017. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2018. | -with-* | --with-* | -without-* | --without-* | --x)
  2019. case "$ac_configure_args0 " in
  2020. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2021. esac
  2022. ;;
  2023. -* ) ac_must_keep_next=true ;;
  2024. esac
  2025. fi
  2026. as_fn_append ac_configure_args " '$ac_arg'"
  2027. ;;
  2028. esac
  2029. done
  2030. done
  2031. { ac_configure_args0=; unset ac_configure_args0;}
  2032. { ac_configure_args1=; unset ac_configure_args1;}
  2033. # When interrupted or exit'd, cleanup temporary files, and complete
  2034. # config.log. We remove comments because anyway the quotes in there
  2035. # would cause problems or look ugly.
  2036. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2037. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2038. trap 'exit_status=$?
  2039. # Save into config.log some information that might help in debugging.
  2040. {
  2041. echo
  2042. $as_echo "## ---------------- ##
  2043. ## Cache variables. ##
  2044. ## ---------------- ##"
  2045. echo
  2046. # The following way of writing the cache mishandles newlines in values,
  2047. (
  2048. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2049. eval ac_val=\$$ac_var
  2050. case $ac_val in #(
  2051. *${as_nl}*)
  2052. case $ac_var in #(
  2053. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2054. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2055. esac
  2056. case $ac_var in #(
  2057. _ | IFS | as_nl) ;; #(
  2058. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2059. *) { eval $ac_var=; unset $ac_var;} ;;
  2060. esac ;;
  2061. esac
  2062. done
  2063. (set) 2>&1 |
  2064. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2065. *${as_nl}ac_space=\ *)
  2066. sed -n \
  2067. "s/'\''/'\''\\\\'\'''\''/g;
  2068. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2069. ;; #(
  2070. *)
  2071. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2072. ;;
  2073. esac |
  2074. sort
  2075. )
  2076. echo
  2077. $as_echo "## ----------------- ##
  2078. ## Output variables. ##
  2079. ## ----------------- ##"
  2080. echo
  2081. for ac_var in $ac_subst_vars
  2082. do
  2083. eval ac_val=\$$ac_var
  2084. case $ac_val in
  2085. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2086. esac
  2087. $as_echo "$ac_var='\''$ac_val'\''"
  2088. done | sort
  2089. echo
  2090. if test -n "$ac_subst_files"; then
  2091. $as_echo "## ------------------- ##
  2092. ## File substitutions. ##
  2093. ## ------------------- ##"
  2094. echo
  2095. for ac_var in $ac_subst_files
  2096. do
  2097. eval ac_val=\$$ac_var
  2098. case $ac_val in
  2099. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2100. esac
  2101. $as_echo "$ac_var='\''$ac_val'\''"
  2102. done | sort
  2103. echo
  2104. fi
  2105. if test -s confdefs.h; then
  2106. $as_echo "## ----------- ##
  2107. ## confdefs.h. ##
  2108. ## ----------- ##"
  2109. echo
  2110. cat confdefs.h
  2111. echo
  2112. fi
  2113. test "$ac_signal" != 0 &&
  2114. $as_echo "$as_me: caught signal $ac_signal"
  2115. $as_echo "$as_me: exit $exit_status"
  2116. } >&5
  2117. rm -f core *.core core.conftest.* &&
  2118. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2119. exit $exit_status
  2120. ' 0
  2121. for ac_signal in 1 2 13 15; do
  2122. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2123. done
  2124. ac_signal=0
  2125. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2126. rm -f -r conftest* confdefs.h
  2127. $as_echo "/* confdefs.h */" > confdefs.h
  2128. # Predefined preprocessor variables.
  2129. cat >>confdefs.h <<_ACEOF
  2130. #define PACKAGE_NAME "$PACKAGE_NAME"
  2131. _ACEOF
  2132. cat >>confdefs.h <<_ACEOF
  2133. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2134. _ACEOF
  2135. cat >>confdefs.h <<_ACEOF
  2136. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2137. _ACEOF
  2138. cat >>confdefs.h <<_ACEOF
  2139. #define PACKAGE_STRING "$PACKAGE_STRING"
  2140. _ACEOF
  2141. cat >>confdefs.h <<_ACEOF
  2142. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2143. _ACEOF
  2144. cat >>confdefs.h <<_ACEOF
  2145. #define PACKAGE_URL "$PACKAGE_URL"
  2146. _ACEOF
  2147. # Let the site file select an alternate cache file if it wants to.
  2148. # Prefer an explicitly selected file to automatically selected ones.
  2149. ac_site_file1=NONE
  2150. ac_site_file2=NONE
  2151. if test -n "$CONFIG_SITE"; then
  2152. # We do not want a PATH search for config.site.
  2153. case $CONFIG_SITE in #((
  2154. -*) ac_site_file1=./$CONFIG_SITE;;
  2155. */*) ac_site_file1=$CONFIG_SITE;;
  2156. *) ac_site_file1=./$CONFIG_SITE;;
  2157. esac
  2158. elif test "x$prefix" != xNONE; then
  2159. ac_site_file1=$prefix/share/config.site
  2160. ac_site_file2=$prefix/etc/config.site
  2161. else
  2162. ac_site_file1=$ac_default_prefix/share/config.site
  2163. ac_site_file2=$ac_default_prefix/etc/config.site
  2164. fi
  2165. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2166. do
  2167. test "x$ac_site_file" = xNONE && continue
  2168. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2169. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2170. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2171. sed 's/^/| /' "$ac_site_file" >&5
  2172. . "$ac_site_file" \
  2173. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2174. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2175. as_fn_error $? "failed to load site script $ac_site_file
  2176. See \`config.log' for more details" "$LINENO" 5; }
  2177. fi
  2178. done
  2179. if test -r "$cache_file"; then
  2180. # Some versions of bash will fail to source /dev/null (special files
  2181. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2182. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2183. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2184. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2185. case $cache_file in
  2186. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2187. *) . "./$cache_file";;
  2188. esac
  2189. fi
  2190. else
  2191. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2192. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2193. >$cache_file
  2194. fi
  2195. # Check that the precious variables saved in the cache have kept the same
  2196. # value.
  2197. ac_cache_corrupted=false
  2198. for ac_var in $ac_precious_vars; do
  2199. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2200. eval ac_new_set=\$ac_env_${ac_var}_set
  2201. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2202. eval ac_new_val=\$ac_env_${ac_var}_value
  2203. case $ac_old_set,$ac_new_set in
  2204. set,)
  2205. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2206. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2207. ac_cache_corrupted=: ;;
  2208. ,set)
  2209. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2210. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2211. ac_cache_corrupted=: ;;
  2212. ,);;
  2213. *)
  2214. if test "x$ac_old_val" != "x$ac_new_val"; then
  2215. # differences in whitespace do not lead to failure.
  2216. ac_old_val_w=`echo x $ac_old_val`
  2217. ac_new_val_w=`echo x $ac_new_val`
  2218. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2219. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2220. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2221. ac_cache_corrupted=:
  2222. else
  2223. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2224. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2225. eval $ac_var=\$ac_old_val
  2226. fi
  2227. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2228. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2229. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2230. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2231. fi;;
  2232. esac
  2233. # Pass precious variables to config.status.
  2234. if test "$ac_new_set" = set; then
  2235. case $ac_new_val in
  2236. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2237. *) ac_arg=$ac_var=$ac_new_val ;;
  2238. esac
  2239. case " $ac_configure_args " in
  2240. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2241. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2242. esac
  2243. fi
  2244. done
  2245. if $ac_cache_corrupted; then
  2246. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2247. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2248. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2249. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2250. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2251. fi
  2252. ## -------------------- ##
  2253. ## Main body of script. ##
  2254. ## -------------------- ##
  2255. ac_ext=c
  2256. ac_cpp='$CPP $CPPFLAGS'
  2257. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2258. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2259. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2260. ac_config_headers="$ac_config_headers config.h"
  2261. am__api_version='1.11'
  2262. ac_aux_dir=
  2263. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2264. if test -f "$ac_dir/install-sh"; then
  2265. ac_aux_dir=$ac_dir
  2266. ac_install_sh="$ac_aux_dir/install-sh -c"
  2267. break
  2268. elif test -f "$ac_dir/install.sh"; then
  2269. ac_aux_dir=$ac_dir
  2270. ac_install_sh="$ac_aux_dir/install.sh -c"
  2271. break
  2272. elif test -f "$ac_dir/shtool"; then
  2273. ac_aux_dir=$ac_dir
  2274. ac_install_sh="$ac_aux_dir/shtool install -c"
  2275. break
  2276. fi
  2277. done
  2278. if test -z "$ac_aux_dir"; then
  2279. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2280. fi
  2281. # These three variables are undocumented and unsupported,
  2282. # and are intended to be withdrawn in a future Autoconf release.
  2283. # They can cause serious problems if a builder's source tree is in a directory
  2284. # whose full name contains unusual characters.
  2285. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2286. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2287. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2288. # Find a good install program. We prefer a C program (faster),
  2289. # so one script is as good as another. But avoid the broken or
  2290. # incompatible versions:
  2291. # SysV /etc/install, /usr/sbin/install
  2292. # SunOS /usr/etc/install
  2293. # IRIX /sbin/install
  2294. # AIX /bin/install
  2295. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2296. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2297. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2298. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2299. # OS/2's system install, which has a completely different semantic
  2300. # ./install, which can be erroneously created by make from ./install.sh.
  2301. # Reject install programs that cannot install multiple files.
  2302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2303. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2304. if test -z "$INSTALL"; then
  2305. if ${ac_cv_path_install+:} false; then :
  2306. $as_echo_n "(cached) " >&6
  2307. else
  2308. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2309. for as_dir in $PATH
  2310. do
  2311. IFS=$as_save_IFS
  2312. test -z "$as_dir" && as_dir=.
  2313. # Account for people who put trailing slashes in PATH elements.
  2314. case $as_dir/ in #((
  2315. ./ | .// | /[cC]/* | \
  2316. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2317. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2318. /usr/ucb/* ) ;;
  2319. *)
  2320. # OSF1 and SCO ODT 3.0 have their own names for install.
  2321. # Don't use installbsd from OSF since it installs stuff as root
  2322. # by default.
  2323. for ac_prog in ginstall scoinst install; do
  2324. for ac_exec_ext in '' $ac_executable_extensions; do
  2325. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2326. if test $ac_prog = install &&
  2327. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2328. # AIX install. It has an incompatible calling convention.
  2329. :
  2330. elif test $ac_prog = install &&
  2331. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2332. # program-specific install script used by HP pwplus--don't use.
  2333. :
  2334. else
  2335. rm -rf conftest.one conftest.two conftest.dir
  2336. echo one > conftest.one
  2337. echo two > conftest.two
  2338. mkdir conftest.dir
  2339. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2340. test -s conftest.one && test -s conftest.two &&
  2341. test -s conftest.dir/conftest.one &&
  2342. test -s conftest.dir/conftest.two
  2343. then
  2344. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2345. break 3
  2346. fi
  2347. fi
  2348. fi
  2349. done
  2350. done
  2351. ;;
  2352. esac
  2353. done
  2354. IFS=$as_save_IFS
  2355. rm -rf conftest.one conftest.two conftest.dir
  2356. fi
  2357. if test "${ac_cv_path_install+set}" = set; then
  2358. INSTALL=$ac_cv_path_install
  2359. else
  2360. # As a last resort, use the slow shell script. Don't cache a
  2361. # value for INSTALL within a source directory, because that will
  2362. # break other packages using the cache if that directory is
  2363. # removed, or if the value is a relative name.
  2364. INSTALL=$ac_install_sh
  2365. fi
  2366. fi
  2367. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2368. $as_echo "$INSTALL" >&6; }
  2369. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2370. # It thinks the first close brace ends the variable substitution.
  2371. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2372. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2373. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2374. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2375. $as_echo_n "checking whether build environment is sane... " >&6; }
  2376. # Just in case
  2377. sleep 1
  2378. echo timestamp > conftest.file
  2379. # Reject unsafe characters in $srcdir or the absolute working directory
  2380. # name. Accept space and tab only in the latter.
  2381. am_lf='
  2382. '
  2383. case `pwd` in
  2384. *[\\\"\#\$\&\'\`$am_lf]*)
  2385. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2386. esac
  2387. case $srcdir in
  2388. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2389. as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2390. esac
  2391. # Do `set' in a subshell so we don't clobber the current shell's
  2392. # arguments. Must try -L first in case configure is actually a
  2393. # symlink; some systems play weird games with the mod time of symlinks
  2394. # (eg FreeBSD returns the mod time of the symlink's containing
  2395. # directory).
  2396. if (
  2397. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2398. if test "$*" = "X"; then
  2399. # -L didn't work.
  2400. set X `ls -t "$srcdir/configure" conftest.file`
  2401. fi
  2402. rm -f conftest.file
  2403. if test "$*" != "X $srcdir/configure conftest.file" \
  2404. && test "$*" != "X conftest.file $srcdir/configure"; then
  2405. # If neither matched, then we have a broken ls. This can happen
  2406. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2407. # broken ls alias from the environment. This has actually
  2408. # happened. Such a system could not be considered "sane".
  2409. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2410. alias in your environment" "$LINENO" 5
  2411. fi
  2412. test "$2" = conftest.file
  2413. )
  2414. then
  2415. # Ok.
  2416. :
  2417. else
  2418. as_fn_error $? "newly created file is older than distributed files!
  2419. Check your system clock" "$LINENO" 5
  2420. fi
  2421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2422. $as_echo "yes" >&6; }
  2423. test "$program_prefix" != NONE &&
  2424. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2425. # Use a double $ so make ignores it.
  2426. test "$program_suffix" != NONE &&
  2427. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2428. # Double any \ or $.
  2429. # By default was `s,x,x', remove it if useless.
  2430. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2431. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2432. # expand $ac_aux_dir to an absolute path
  2433. am_aux_dir=`cd $ac_aux_dir && pwd`
  2434. if test x"${MISSING+set}" != xset; then
  2435. case $am_aux_dir in
  2436. *\ * | *\ *)
  2437. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2438. *)
  2439. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2440. esac
  2441. fi
  2442. # Use eval to expand $SHELL
  2443. if eval "$MISSING --run true"; then
  2444. am_missing_run="$MISSING --run "
  2445. else
  2446. am_missing_run=
  2447. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2448. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2449. fi
  2450. if test x"${install_sh}" != xset; then
  2451. case $am_aux_dir in
  2452. *\ * | *\ *)
  2453. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2454. *)
  2455. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2456. esac
  2457. fi
  2458. # Installed binaries are usually stripped using `strip' when the user
  2459. # run `make install-strip'. However `strip' might not be the right
  2460. # tool to use in cross-compilation environments, therefore Automake
  2461. # will honor the `STRIP' environment variable to overrule this program.
  2462. if test "$cross_compiling" != no; then
  2463. if test -n "$ac_tool_prefix"; then
  2464. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2465. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2467. $as_echo_n "checking for $ac_word... " >&6; }
  2468. if ${ac_cv_prog_STRIP+:} false; then :
  2469. $as_echo_n "(cached) " >&6
  2470. else
  2471. if test -n "$STRIP"; then
  2472. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2473. else
  2474. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2475. for as_dir in $PATH
  2476. do
  2477. IFS=$as_save_IFS
  2478. test -z "$as_dir" && as_dir=.
  2479. for ac_exec_ext in '' $ac_executable_extensions; do
  2480. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2481. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2482. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2483. break 2
  2484. fi
  2485. done
  2486. done
  2487. IFS=$as_save_IFS
  2488. fi
  2489. fi
  2490. STRIP=$ac_cv_prog_STRIP
  2491. if test -n "$STRIP"; then
  2492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2493. $as_echo "$STRIP" >&6; }
  2494. else
  2495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2496. $as_echo "no" >&6; }
  2497. fi
  2498. fi
  2499. if test -z "$ac_cv_prog_STRIP"; then
  2500. ac_ct_STRIP=$STRIP
  2501. # Extract the first word of "strip", so it can be a program name with args.
  2502. set dummy strip; ac_word=$2
  2503. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2504. $as_echo_n "checking for $ac_word... " >&6; }
  2505. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2506. $as_echo_n "(cached) " >&6
  2507. else
  2508. if test -n "$ac_ct_STRIP"; then
  2509. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2510. else
  2511. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2512. for as_dir in $PATH
  2513. do
  2514. IFS=$as_save_IFS
  2515. test -z "$as_dir" && as_dir=.
  2516. for ac_exec_ext in '' $ac_executable_extensions; do
  2517. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2518. ac_cv_prog_ac_ct_STRIP="strip"
  2519. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2520. break 2
  2521. fi
  2522. done
  2523. done
  2524. IFS=$as_save_IFS
  2525. fi
  2526. fi
  2527. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2528. if test -n "$ac_ct_STRIP"; then
  2529. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2530. $as_echo "$ac_ct_STRIP" >&6; }
  2531. else
  2532. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2533. $as_echo "no" >&6; }
  2534. fi
  2535. if test "x$ac_ct_STRIP" = x; then
  2536. STRIP=":"
  2537. else
  2538. case $cross_compiling:$ac_tool_warned in
  2539. yes:)
  2540. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2541. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2542. ac_tool_warned=yes ;;
  2543. esac
  2544. STRIP=$ac_ct_STRIP
  2545. fi
  2546. else
  2547. STRIP="$ac_cv_prog_STRIP"
  2548. fi
  2549. fi
  2550. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2551. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2552. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2553. if test -z "$MKDIR_P"; then
  2554. if ${ac_cv_path_mkdir+:} false; then :
  2555. $as_echo_n "(cached) " >&6
  2556. else
  2557. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2558. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2559. do
  2560. IFS=$as_save_IFS
  2561. test -z "$as_dir" && as_dir=.
  2562. for ac_prog in mkdir gmkdir; do
  2563. for ac_exec_ext in '' $ac_executable_extensions; do
  2564. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2565. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2566. 'mkdir (GNU coreutils) '* | \
  2567. 'mkdir (coreutils) '* | \
  2568. 'mkdir (fileutils) '4.1*)
  2569. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2570. break 3;;
  2571. esac
  2572. done
  2573. done
  2574. done
  2575. IFS=$as_save_IFS
  2576. fi
  2577. test -d ./--version && rmdir ./--version
  2578. if test "${ac_cv_path_mkdir+set}" = set; then
  2579. MKDIR_P="$ac_cv_path_mkdir -p"
  2580. else
  2581. # As a last resort, use the slow shell script. Don't cache a
  2582. # value for MKDIR_P within a source directory, because that will
  2583. # break other packages using the cache if that directory is
  2584. # removed, or if the value is a relative name.
  2585. MKDIR_P="$ac_install_sh -d"
  2586. fi
  2587. fi
  2588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2589. $as_echo "$MKDIR_P" >&6; }
  2590. mkdir_p="$MKDIR_P"
  2591. case $mkdir_p in
  2592. [\\/$]* | ?:[\\/]*) ;;
  2593. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2594. esac
  2595. for ac_prog in gawk mawk nawk awk
  2596. do
  2597. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2598. set dummy $ac_prog; ac_word=$2
  2599. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2600. $as_echo_n "checking for $ac_word... " >&6; }
  2601. if ${ac_cv_prog_AWK+:} false; then :
  2602. $as_echo_n "(cached) " >&6
  2603. else
  2604. if test -n "$AWK"; then
  2605. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2606. else
  2607. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2608. for as_dir in $PATH
  2609. do
  2610. IFS=$as_save_IFS
  2611. test -z "$as_dir" && as_dir=.
  2612. for ac_exec_ext in '' $ac_executable_extensions; do
  2613. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2614. ac_cv_prog_AWK="$ac_prog"
  2615. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2616. break 2
  2617. fi
  2618. done
  2619. done
  2620. IFS=$as_save_IFS
  2621. fi
  2622. fi
  2623. AWK=$ac_cv_prog_AWK
  2624. if test -n "$AWK"; then
  2625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2626. $as_echo "$AWK" >&6; }
  2627. else
  2628. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2629. $as_echo "no" >&6; }
  2630. fi
  2631. test -n "$AWK" && break
  2632. done
  2633. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2634. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2635. set x ${MAKE-make}
  2636. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2637. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2638. $as_echo_n "(cached) " >&6
  2639. else
  2640. cat >conftest.make <<\_ACEOF
  2641. SHELL = /bin/sh
  2642. all:
  2643. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2644. _ACEOF
  2645. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2646. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2647. *@@@%%%=?*=@@@%%%*)
  2648. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2649. *)
  2650. eval ac_cv_prog_make_${ac_make}_set=no;;
  2651. esac
  2652. rm -f conftest.make
  2653. fi
  2654. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2655. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2656. $as_echo "yes" >&6; }
  2657. SET_MAKE=
  2658. else
  2659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2660. $as_echo "no" >&6; }
  2661. SET_MAKE="MAKE=${MAKE-make}"
  2662. fi
  2663. rm -rf .tst 2>/dev/null
  2664. mkdir .tst 2>/dev/null
  2665. if test -d .tst; then
  2666. am__leading_dot=.
  2667. else
  2668. am__leading_dot=_
  2669. fi
  2670. rmdir .tst 2>/dev/null
  2671. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2672. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2673. # is not polluted with repeated "-I."
  2674. am__isrc=' -I$(srcdir)'
  2675. # test to see if srcdir already configured
  2676. if test -f $srcdir/config.status; then
  2677. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2678. fi
  2679. fi
  2680. # test whether we have cygpath
  2681. if test -z "$CYGPATH_W"; then
  2682. if (cygpath --version) >/dev/null 2>/dev/null; then
  2683. CYGPATH_W='cygpath -w'
  2684. else
  2685. CYGPATH_W=echo
  2686. fi
  2687. fi
  2688. # Define the identity of the package.
  2689. PACKAGE='cityhash'
  2690. VERSION='1.1.1'
  2691. # Some tools Automake needs.
  2692. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2693. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2694. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2695. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2696. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2697. # We need awk for the "check" target. The system "awk" is bad on
  2698. # some platforms.
  2699. # Always define AMTAR for backward compatibility. Yes, it's still used
  2700. # in the wild :-( We should find a proper way to deprecate it ...
  2701. AMTAR='$${TAR-tar}'
  2702. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2703. case `pwd` in
  2704. *\ * | *\ *)
  2705. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  2706. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  2707. esac
  2708. macro_version='2.4'
  2709. macro_revision='1.3293'
  2710. ltmain="$ac_aux_dir/ltmain.sh"
  2711. # Make sure we can run config.sub.
  2712. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2713. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2714. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2715. $as_echo_n "checking build system type... " >&6; }
  2716. if ${ac_cv_build+:} false; then :
  2717. $as_echo_n "(cached) " >&6
  2718. else
  2719. ac_build_alias=$build_alias
  2720. test "x$ac_build_alias" = x &&
  2721. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2722. test "x$ac_build_alias" = x &&
  2723. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2724. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2725. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2726. fi
  2727. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2728. $as_echo "$ac_cv_build" >&6; }
  2729. case $ac_cv_build in
  2730. *-*-*) ;;
  2731. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2732. esac
  2733. build=$ac_cv_build
  2734. ac_save_IFS=$IFS; IFS='-'
  2735. set x $ac_cv_build
  2736. shift
  2737. build_cpu=$1
  2738. build_vendor=$2
  2739. shift; shift
  2740. # Remember, the first character of IFS is used to create $*,
  2741. # except with old shells:
  2742. build_os=$*
  2743. IFS=$ac_save_IFS
  2744. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2746. $as_echo_n "checking host system type... " >&6; }
  2747. if ${ac_cv_host+:} false; then :
  2748. $as_echo_n "(cached) " >&6
  2749. else
  2750. if test "x$host_alias" = x; then
  2751. ac_cv_host=$ac_cv_build
  2752. else
  2753. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2754. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2755. fi
  2756. fi
  2757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2758. $as_echo "$ac_cv_host" >&6; }
  2759. case $ac_cv_host in
  2760. *-*-*) ;;
  2761. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2762. esac
  2763. host=$ac_cv_host
  2764. ac_save_IFS=$IFS; IFS='-'
  2765. set x $ac_cv_host
  2766. shift
  2767. host_cpu=$1
  2768. host_vendor=$2
  2769. shift; shift
  2770. # Remember, the first character of IFS is used to create $*,
  2771. # except with old shells:
  2772. host_os=$*
  2773. IFS=$ac_save_IFS
  2774. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2775. # Backslashify metacharacters that are still active within
  2776. # double-quoted strings.
  2777. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  2778. # Same as above, but do not quote variable references.
  2779. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  2780. # Sed substitution to delay expansion of an escaped shell variable in a
  2781. # double_quote_subst'ed string.
  2782. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  2783. # Sed substitution to delay expansion of an escaped single quote.
  2784. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  2785. # Sed substitution to avoid accidental globbing in evaled expressions
  2786. no_glob_subst='s/\*/\\\*/g'
  2787. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  2788. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  2789. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  2790. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  2791. $as_echo_n "checking how to print strings... " >&6; }
  2792. # Test print first, because it will be a builtin if present.
  2793. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  2794. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  2795. ECHO='print -r --'
  2796. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  2797. ECHO='printf %s\n'
  2798. else
  2799. # Use this function as a fallback that always works.
  2800. func_fallback_echo ()
  2801. {
  2802. eval 'cat <<_LTECHO_EOF
  2803. $1
  2804. _LTECHO_EOF'
  2805. }
  2806. ECHO='func_fallback_echo'
  2807. fi
  2808. # func_echo_all arg...
  2809. # Invoke $ECHO with all args, space-separated.
  2810. func_echo_all ()
  2811. {
  2812. $ECHO ""
  2813. }
  2814. case "$ECHO" in
  2815. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  2816. $as_echo "printf" >&6; } ;;
  2817. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  2818. $as_echo "print -r" >&6; } ;;
  2819. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  2820. $as_echo "cat" >&6; } ;;
  2821. esac
  2822. DEPDIR="${am__leading_dot}deps"
  2823. ac_config_commands="$ac_config_commands depfiles"
  2824. am_make=${MAKE-make}
  2825. cat > confinc << 'END'
  2826. am__doit:
  2827. @echo this is the am__doit target
  2828. .PHONY: am__doit
  2829. END
  2830. # If we don't find an include directive, just comment out the code.
  2831. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2832. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2833. am__include="#"
  2834. am__quote=
  2835. _am_result=none
  2836. # First try GNU make style include.
  2837. echo "include confinc" > confmf
  2838. # Ignore all kinds of additional output from `make'.
  2839. case `$am_make -s -f confmf 2> /dev/null` in #(
  2840. *the\ am__doit\ target*)
  2841. am__include=include
  2842. am__quote=
  2843. _am_result=GNU
  2844. ;;
  2845. esac
  2846. # Now try BSD make style include.
  2847. if test "$am__include" = "#"; then
  2848. echo '.include "confinc"' > confmf
  2849. case `$am_make -s -f confmf 2> /dev/null` in #(
  2850. *the\ am__doit\ target*)
  2851. am__include=.include
  2852. am__quote="\""
  2853. _am_result=BSD
  2854. ;;
  2855. esac
  2856. fi
  2857. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2858. $as_echo "$_am_result" >&6; }
  2859. rm -f confinc confmf
  2860. # Check whether --enable-dependency-tracking was given.
  2861. if test "${enable_dependency_tracking+set}" = set; then :
  2862. enableval=$enable_dependency_tracking;
  2863. fi
  2864. if test "x$enable_dependency_tracking" != xno; then
  2865. am_depcomp="$ac_aux_dir/depcomp"
  2866. AMDEPBACKSLASH='\'
  2867. am__nodep='_no'
  2868. fi
  2869. if test "x$enable_dependency_tracking" != xno; then
  2870. AMDEP_TRUE=
  2871. AMDEP_FALSE='#'
  2872. else
  2873. AMDEP_TRUE='#'
  2874. AMDEP_FALSE=
  2875. fi
  2876. ac_ext=c
  2877. ac_cpp='$CPP $CPPFLAGS'
  2878. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2879. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2880. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2881. if test -n "$ac_tool_prefix"; then
  2882. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2883. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2884. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2885. $as_echo_n "checking for $ac_word... " >&6; }
  2886. if ${ac_cv_prog_CC+:} false; then :
  2887. $as_echo_n "(cached) " >&6
  2888. else
  2889. if test -n "$CC"; then
  2890. ac_cv_prog_CC="$CC" # Let the user override the test.
  2891. else
  2892. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2893. for as_dir in $PATH
  2894. do
  2895. IFS=$as_save_IFS
  2896. test -z "$as_dir" && as_dir=.
  2897. for ac_exec_ext in '' $ac_executable_extensions; do
  2898. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2899. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2900. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2901. break 2
  2902. fi
  2903. done
  2904. done
  2905. IFS=$as_save_IFS
  2906. fi
  2907. fi
  2908. CC=$ac_cv_prog_CC
  2909. if test -n "$CC"; then
  2910. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2911. $as_echo "$CC" >&6; }
  2912. else
  2913. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2914. $as_echo "no" >&6; }
  2915. fi
  2916. fi
  2917. if test -z "$ac_cv_prog_CC"; then
  2918. ac_ct_CC=$CC
  2919. # Extract the first word of "gcc", so it can be a program name with args.
  2920. set dummy gcc; ac_word=$2
  2921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2922. $as_echo_n "checking for $ac_word... " >&6; }
  2923. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2924. $as_echo_n "(cached) " >&6
  2925. else
  2926. if test -n "$ac_ct_CC"; then
  2927. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2928. else
  2929. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2930. for as_dir in $PATH
  2931. do
  2932. IFS=$as_save_IFS
  2933. test -z "$as_dir" && as_dir=.
  2934. for ac_exec_ext in '' $ac_executable_extensions; do
  2935. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2936. ac_cv_prog_ac_ct_CC="gcc"
  2937. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2938. break 2
  2939. fi
  2940. done
  2941. done
  2942. IFS=$as_save_IFS
  2943. fi
  2944. fi
  2945. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2946. if test -n "$ac_ct_CC"; then
  2947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2948. $as_echo "$ac_ct_CC" >&6; }
  2949. else
  2950. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2951. $as_echo "no" >&6; }
  2952. fi
  2953. if test "x$ac_ct_CC" = x; then
  2954. CC=""
  2955. else
  2956. case $cross_compiling:$ac_tool_warned in
  2957. yes:)
  2958. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2959. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2960. ac_tool_warned=yes ;;
  2961. esac
  2962. CC=$ac_ct_CC
  2963. fi
  2964. else
  2965. CC="$ac_cv_prog_CC"
  2966. fi
  2967. if test -z "$CC"; then
  2968. if test -n "$ac_tool_prefix"; then
  2969. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2970. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2971. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2972. $as_echo_n "checking for $ac_word... " >&6; }
  2973. if ${ac_cv_prog_CC+:} false; then :
  2974. $as_echo_n "(cached) " >&6
  2975. else
  2976. if test -n "$CC"; then
  2977. ac_cv_prog_CC="$CC" # Let the user override the test.
  2978. else
  2979. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2980. for as_dir in $PATH
  2981. do
  2982. IFS=$as_save_IFS
  2983. test -z "$as_dir" && as_dir=.
  2984. for ac_exec_ext in '' $ac_executable_extensions; do
  2985. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2986. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2987. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2988. break 2
  2989. fi
  2990. done
  2991. done
  2992. IFS=$as_save_IFS
  2993. fi
  2994. fi
  2995. CC=$ac_cv_prog_CC
  2996. if test -n "$CC"; then
  2997. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2998. $as_echo "$CC" >&6; }
  2999. else
  3000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3001. $as_echo "no" >&6; }
  3002. fi
  3003. fi
  3004. fi
  3005. if test -z "$CC"; then
  3006. # Extract the first word of "cc", so it can be a program name with args.
  3007. set dummy cc; ac_word=$2
  3008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3009. $as_echo_n "checking for $ac_word... " >&6; }
  3010. if ${ac_cv_prog_CC+:} false; then :
  3011. $as_echo_n "(cached) " >&6
  3012. else
  3013. if test -n "$CC"; then
  3014. ac_cv_prog_CC="$CC" # Let the user override the test.
  3015. else
  3016. ac_prog_rejected=no
  3017. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3018. for as_dir in $PATH
  3019. do
  3020. IFS=$as_save_IFS
  3021. test -z "$as_dir" && as_dir=.
  3022. for ac_exec_ext in '' $ac_executable_extensions; do
  3023. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3024. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3025. ac_prog_rejected=yes
  3026. continue
  3027. fi
  3028. ac_cv_prog_CC="cc"
  3029. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3030. break 2
  3031. fi
  3032. done
  3033. done
  3034. IFS=$as_save_IFS
  3035. if test $ac_prog_rejected = yes; then
  3036. # We found a bogon in the path, so make sure we never use it.
  3037. set dummy $ac_cv_prog_CC
  3038. shift
  3039. if test $# != 0; then
  3040. # We chose a different compiler from the bogus one.
  3041. # However, it has the same basename, so the bogon will be chosen
  3042. # first if we set CC to just the basename; use the full file name.
  3043. shift
  3044. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3045. fi
  3046. fi
  3047. fi
  3048. fi
  3049. CC=$ac_cv_prog_CC
  3050. if test -n "$CC"; then
  3051. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3052. $as_echo "$CC" >&6; }
  3053. else
  3054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3055. $as_echo "no" >&6; }
  3056. fi
  3057. fi
  3058. if test -z "$CC"; then
  3059. if test -n "$ac_tool_prefix"; then
  3060. for ac_prog in cl.exe
  3061. do
  3062. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3063. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3065. $as_echo_n "checking for $ac_word... " >&6; }
  3066. if ${ac_cv_prog_CC+:} false; then :
  3067. $as_echo_n "(cached) " >&6
  3068. else
  3069. if test -n "$CC"; then
  3070. ac_cv_prog_CC="$CC" # Let the user override the test.
  3071. else
  3072. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3073. for as_dir in $PATH
  3074. do
  3075. IFS=$as_save_IFS
  3076. test -z "$as_dir" && as_dir=.
  3077. for ac_exec_ext in '' $ac_executable_extensions; do
  3078. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3079. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3080. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3081. break 2
  3082. fi
  3083. done
  3084. done
  3085. IFS=$as_save_IFS
  3086. fi
  3087. fi
  3088. CC=$ac_cv_prog_CC
  3089. if test -n "$CC"; then
  3090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3091. $as_echo "$CC" >&6; }
  3092. else
  3093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3094. $as_echo "no" >&6; }
  3095. fi
  3096. test -n "$CC" && break
  3097. done
  3098. fi
  3099. if test -z "$CC"; then
  3100. ac_ct_CC=$CC
  3101. for ac_prog in cl.exe
  3102. do
  3103. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3104. set dummy $ac_prog; ac_word=$2
  3105. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3106. $as_echo_n "checking for $ac_word... " >&6; }
  3107. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3108. $as_echo_n "(cached) " >&6
  3109. else
  3110. if test -n "$ac_ct_CC"; then
  3111. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3112. else
  3113. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3114. for as_dir in $PATH
  3115. do
  3116. IFS=$as_save_IFS
  3117. test -z "$as_dir" && as_dir=.
  3118. for ac_exec_ext in '' $ac_executable_extensions; do
  3119. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3120. ac_cv_prog_ac_ct_CC="$ac_prog"
  3121. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3122. break 2
  3123. fi
  3124. done
  3125. done
  3126. IFS=$as_save_IFS
  3127. fi
  3128. fi
  3129. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3130. if test -n "$ac_ct_CC"; then
  3131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3132. $as_echo "$ac_ct_CC" >&6; }
  3133. else
  3134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3135. $as_echo "no" >&6; }
  3136. fi
  3137. test -n "$ac_ct_CC" && break
  3138. done
  3139. if test "x$ac_ct_CC" = x; then
  3140. CC=""
  3141. else
  3142. case $cross_compiling:$ac_tool_warned in
  3143. yes:)
  3144. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3145. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3146. ac_tool_warned=yes ;;
  3147. esac
  3148. CC=$ac_ct_CC
  3149. fi
  3150. fi
  3151. fi
  3152. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3153. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3154. as_fn_error $? "no acceptable C compiler found in \$PATH
  3155. See \`config.log' for more details" "$LINENO" 5; }
  3156. # Provide some information about the compiler.
  3157. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3158. set X $ac_compile
  3159. ac_compiler=$2
  3160. for ac_option in --version -v -V -qversion; do
  3161. { { ac_try="$ac_compiler $ac_option >&5"
  3162. case "(($ac_try" in
  3163. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3164. *) ac_try_echo=$ac_try;;
  3165. esac
  3166. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3167. $as_echo "$ac_try_echo"; } >&5
  3168. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3169. ac_status=$?
  3170. if test -s conftest.err; then
  3171. sed '10a\
  3172. ... rest of stderr output deleted ...
  3173. 10q' conftest.err >conftest.er1
  3174. cat conftest.er1 >&5
  3175. fi
  3176. rm -f conftest.er1 conftest.err
  3177. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3178. test $ac_status = 0; }
  3179. done
  3180. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3181. /* end confdefs.h. */
  3182. int
  3183. main ()
  3184. {
  3185. ;
  3186. return 0;
  3187. }
  3188. _ACEOF
  3189. ac_clean_files_save=$ac_clean_files
  3190. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3191. # Try to create an executable without -o first, disregard a.out.
  3192. # It will help us diagnose broken compilers, and finding out an intuition
  3193. # of exeext.
  3194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3195. $as_echo_n "checking whether the C compiler works... " >&6; }
  3196. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3197. # The possible output files:
  3198. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3199. ac_rmfiles=
  3200. for ac_file in $ac_files
  3201. do
  3202. case $ac_file in
  3203. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3204. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3205. esac
  3206. done
  3207. rm -f $ac_rmfiles
  3208. if { { ac_try="$ac_link_default"
  3209. case "(($ac_try" in
  3210. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3211. *) ac_try_echo=$ac_try;;
  3212. esac
  3213. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3214. $as_echo "$ac_try_echo"; } >&5
  3215. (eval "$ac_link_default") 2>&5
  3216. ac_status=$?
  3217. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3218. test $ac_status = 0; }; then :
  3219. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3220. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3221. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3222. # so that the user can short-circuit this test for compilers unknown to
  3223. # Autoconf.
  3224. for ac_file in $ac_files ''
  3225. do
  3226. test -f "$ac_file" || continue
  3227. case $ac_file in
  3228. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3229. ;;
  3230. [ab].out )
  3231. # We found the default executable, but exeext='' is most
  3232. # certainly right.
  3233. break;;
  3234. *.* )
  3235. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3236. then :; else
  3237. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3238. fi
  3239. # We set ac_cv_exeext here because the later test for it is not
  3240. # safe: cross compilers may not add the suffix if given an `-o'
  3241. # argument, so we may need to know it at that point already.
  3242. # Even if this section looks crufty: it has the advantage of
  3243. # actually working.
  3244. break;;
  3245. * )
  3246. break;;
  3247. esac
  3248. done
  3249. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3250. else
  3251. ac_file=''
  3252. fi
  3253. if test -z "$ac_file"; then :
  3254. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3255. $as_echo "no" >&6; }
  3256. $as_echo "$as_me: failed program was:" >&5
  3257. sed 's/^/| /' conftest.$ac_ext >&5
  3258. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3259. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3260. as_fn_error 77 "C compiler cannot create executables
  3261. See \`config.log' for more details" "$LINENO" 5; }
  3262. else
  3263. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3264. $as_echo "yes" >&6; }
  3265. fi
  3266. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3267. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3269. $as_echo "$ac_file" >&6; }
  3270. ac_exeext=$ac_cv_exeext
  3271. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3272. ac_clean_files=$ac_clean_files_save
  3273. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3274. $as_echo_n "checking for suffix of executables... " >&6; }
  3275. if { { ac_try="$ac_link"
  3276. case "(($ac_try" in
  3277. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3278. *) ac_try_echo=$ac_try;;
  3279. esac
  3280. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3281. $as_echo "$ac_try_echo"; } >&5
  3282. (eval "$ac_link") 2>&5
  3283. ac_status=$?
  3284. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3285. test $ac_status = 0; }; then :
  3286. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3287. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3288. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3289. # `rm'.
  3290. for ac_file in conftest.exe conftest conftest.*; do
  3291. test -f "$ac_file" || continue
  3292. case $ac_file in
  3293. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3294. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3295. break;;
  3296. * ) break;;
  3297. esac
  3298. done
  3299. else
  3300. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3301. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3302. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3303. See \`config.log' for more details" "$LINENO" 5; }
  3304. fi
  3305. rm -f conftest conftest$ac_cv_exeext
  3306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3307. $as_echo "$ac_cv_exeext" >&6; }
  3308. rm -f conftest.$ac_ext
  3309. EXEEXT=$ac_cv_exeext
  3310. ac_exeext=$EXEEXT
  3311. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3312. /* end confdefs.h. */
  3313. #include <stdio.h>
  3314. int
  3315. main ()
  3316. {
  3317. FILE *f = fopen ("conftest.out", "w");
  3318. return ferror (f) || fclose (f) != 0;
  3319. ;
  3320. return 0;
  3321. }
  3322. _ACEOF
  3323. ac_clean_files="$ac_clean_files conftest.out"
  3324. # Check that the compiler produces executables we can run. If not, either
  3325. # the compiler is broken, or we cross compile.
  3326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3327. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3328. if test "$cross_compiling" != yes; then
  3329. { { ac_try="$ac_link"
  3330. case "(($ac_try" in
  3331. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3332. *) ac_try_echo=$ac_try;;
  3333. esac
  3334. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3335. $as_echo "$ac_try_echo"; } >&5
  3336. (eval "$ac_link") 2>&5
  3337. ac_status=$?
  3338. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3339. test $ac_status = 0; }
  3340. if { ac_try='./conftest$ac_cv_exeext'
  3341. { { case "(($ac_try" in
  3342. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3343. *) ac_try_echo=$ac_try;;
  3344. esac
  3345. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3346. $as_echo "$ac_try_echo"; } >&5
  3347. (eval "$ac_try") 2>&5
  3348. ac_status=$?
  3349. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3350. test $ac_status = 0; }; }; then
  3351. cross_compiling=no
  3352. else
  3353. if test "$cross_compiling" = maybe; then
  3354. cross_compiling=yes
  3355. else
  3356. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3357. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3358. as_fn_error $? "cannot run C compiled programs.
  3359. If you meant to cross compile, use \`--host'.
  3360. See \`config.log' for more details" "$LINENO" 5; }
  3361. fi
  3362. fi
  3363. fi
  3364. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3365. $as_echo "$cross_compiling" >&6; }
  3366. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3367. ac_clean_files=$ac_clean_files_save
  3368. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3369. $as_echo_n "checking for suffix of object files... " >&6; }
  3370. if ${ac_cv_objext+:} false; then :
  3371. $as_echo_n "(cached) " >&6
  3372. else
  3373. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3374. /* end confdefs.h. */
  3375. int
  3376. main ()
  3377. {
  3378. ;
  3379. return 0;
  3380. }
  3381. _ACEOF
  3382. rm -f conftest.o conftest.obj
  3383. if { { ac_try="$ac_compile"
  3384. case "(($ac_try" in
  3385. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3386. *) ac_try_echo=$ac_try;;
  3387. esac
  3388. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3389. $as_echo "$ac_try_echo"; } >&5
  3390. (eval "$ac_compile") 2>&5
  3391. ac_status=$?
  3392. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3393. test $ac_status = 0; }; then :
  3394. for ac_file in conftest.o conftest.obj conftest.*; do
  3395. test -f "$ac_file" || continue;
  3396. case $ac_file in
  3397. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3398. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3399. break;;
  3400. esac
  3401. done
  3402. else
  3403. $as_echo "$as_me: failed program was:" >&5
  3404. sed 's/^/| /' conftest.$ac_ext >&5
  3405. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3406. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3407. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3408. See \`config.log' for more details" "$LINENO" 5; }
  3409. fi
  3410. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3411. fi
  3412. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3413. $as_echo "$ac_cv_objext" >&6; }
  3414. OBJEXT=$ac_cv_objext
  3415. ac_objext=$OBJEXT
  3416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3417. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3418. if ${ac_cv_c_compiler_gnu+:} false; then :
  3419. $as_echo_n "(cached) " >&6
  3420. else
  3421. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3422. /* end confdefs.h. */
  3423. int
  3424. main ()
  3425. {
  3426. #ifndef __GNUC__
  3427. choke me
  3428. #endif
  3429. ;
  3430. return 0;
  3431. }
  3432. _ACEOF
  3433. if ac_fn_c_try_compile "$LINENO"; then :
  3434. ac_compiler_gnu=yes
  3435. else
  3436. ac_compiler_gnu=no
  3437. fi
  3438. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3439. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3440. fi
  3441. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3442. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3443. if test $ac_compiler_gnu = yes; then
  3444. GCC=yes
  3445. else
  3446. GCC=
  3447. fi
  3448. ac_test_CFLAGS=${CFLAGS+set}
  3449. ac_save_CFLAGS=$CFLAGS
  3450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3451. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3452. if ${ac_cv_prog_cc_g+:} false; then :
  3453. $as_echo_n "(cached) " >&6
  3454. else
  3455. ac_save_c_werror_flag=$ac_c_werror_flag
  3456. ac_c_werror_flag=yes
  3457. ac_cv_prog_cc_g=no
  3458. CFLAGS="-g"
  3459. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3460. /* end confdefs.h. */
  3461. int
  3462. main ()
  3463. {
  3464. ;
  3465. return 0;
  3466. }
  3467. _ACEOF
  3468. if ac_fn_c_try_compile "$LINENO"; then :
  3469. ac_cv_prog_cc_g=yes
  3470. else
  3471. CFLAGS=""
  3472. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3473. /* end confdefs.h. */
  3474. int
  3475. main ()
  3476. {
  3477. ;
  3478. return 0;
  3479. }
  3480. _ACEOF
  3481. if ac_fn_c_try_compile "$LINENO"; then :
  3482. else
  3483. ac_c_werror_flag=$ac_save_c_werror_flag
  3484. CFLAGS="-g"
  3485. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3486. /* end confdefs.h. */
  3487. int
  3488. main ()
  3489. {
  3490. ;
  3491. return 0;
  3492. }
  3493. _ACEOF
  3494. if ac_fn_c_try_compile "$LINENO"; then :
  3495. ac_cv_prog_cc_g=yes
  3496. fi
  3497. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3498. fi
  3499. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3500. fi
  3501. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3502. ac_c_werror_flag=$ac_save_c_werror_flag
  3503. fi
  3504. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3505. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3506. if test "$ac_test_CFLAGS" = set; then
  3507. CFLAGS=$ac_save_CFLAGS
  3508. elif test $ac_cv_prog_cc_g = yes; then
  3509. if test "$GCC" = yes; then
  3510. CFLAGS="-g -O2"
  3511. else
  3512. CFLAGS="-g"
  3513. fi
  3514. else
  3515. if test "$GCC" = yes; then
  3516. CFLAGS="-O2"
  3517. else
  3518. CFLAGS=
  3519. fi
  3520. fi
  3521. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3522. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3523. if ${ac_cv_prog_cc_c89+:} false; then :
  3524. $as_echo_n "(cached) " >&6
  3525. else
  3526. ac_cv_prog_cc_c89=no
  3527. ac_save_CC=$CC
  3528. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3529. /* end confdefs.h. */
  3530. #include <stdarg.h>
  3531. #include <stdio.h>
  3532. struct stat;
  3533. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3534. struct buf { int x; };
  3535. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3536. static char *e (p, i)
  3537. char **p;
  3538. int i;
  3539. {
  3540. return p[i];
  3541. }
  3542. static char *f (char * (*g) (char **, int), char **p, ...)
  3543. {
  3544. char *s;
  3545. va_list v;
  3546. va_start (v,p);
  3547. s = g (p, va_arg (v,int));
  3548. va_end (v);
  3549. return s;
  3550. }
  3551. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3552. function prototypes and stuff, but not '\xHH' hex character constants.
  3553. These don't provoke an error unfortunately, instead are silently treated
  3554. as 'x'. The following induces an error, until -std is added to get
  3555. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3556. array size at least. It's necessary to write '\x00'==0 to get something
  3557. that's true only with -std. */
  3558. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3559. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3560. inside strings and character constants. */
  3561. #define FOO(x) 'x'
  3562. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3563. int test (int i, double x);
  3564. struct s1 {int (*f) (int a);};
  3565. struct s2 {int (*f) (double a);};
  3566. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3567. int argc;
  3568. char **argv;
  3569. int
  3570. main ()
  3571. {
  3572. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3573. ;
  3574. return 0;
  3575. }
  3576. _ACEOF
  3577. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3578. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3579. do
  3580. CC="$ac_save_CC $ac_arg"
  3581. if ac_fn_c_try_compile "$LINENO"; then :
  3582. ac_cv_prog_cc_c89=$ac_arg
  3583. fi
  3584. rm -f core conftest.err conftest.$ac_objext
  3585. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3586. done
  3587. rm -f conftest.$ac_ext
  3588. CC=$ac_save_CC
  3589. fi
  3590. # AC_CACHE_VAL
  3591. case "x$ac_cv_prog_cc_c89" in
  3592. x)
  3593. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3594. $as_echo "none needed" >&6; } ;;
  3595. xno)
  3596. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3597. $as_echo "unsupported" >&6; } ;;
  3598. *)
  3599. CC="$CC $ac_cv_prog_cc_c89"
  3600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3601. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3602. esac
  3603. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3604. fi
  3605. ac_ext=c
  3606. ac_cpp='$CPP $CPPFLAGS'
  3607. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3608. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3609. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3610. depcc="$CC" am_compiler_list=
  3611. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3612. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3613. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3614. $as_echo_n "(cached) " >&6
  3615. else
  3616. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3617. # We make a subdir and do the tests there. Otherwise we can end up
  3618. # making bogus files that we don't know about and never remove. For
  3619. # instance it was reported that on HP-UX the gcc test will end up
  3620. # making a dummy file named `D' -- because `-MD' means `put the output
  3621. # in D'.
  3622. rm -rf conftest.dir
  3623. mkdir conftest.dir
  3624. # Copy depcomp to subdir because otherwise we won't find it if we're
  3625. # using a relative directory.
  3626. cp "$am_depcomp" conftest.dir
  3627. cd conftest.dir
  3628. # We will build objects and dependencies in a subdirectory because
  3629. # it helps to detect inapplicable dependency modes. For instance
  3630. # both Tru64's cc and ICC support -MD to output dependencies as a
  3631. # side effect of compilation, but ICC will put the dependencies in
  3632. # the current directory while Tru64 will put them in the object
  3633. # directory.
  3634. mkdir sub
  3635. am_cv_CC_dependencies_compiler_type=none
  3636. if test "$am_compiler_list" = ""; then
  3637. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3638. fi
  3639. am__universal=false
  3640. case " $depcc " in #(
  3641. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3642. esac
  3643. for depmode in $am_compiler_list; do
  3644. # Setup a source with many dependencies, because some compilers
  3645. # like to wrap large dependency lists on column 80 (with \), and
  3646. # we should not choose a depcomp mode which is confused by this.
  3647. #
  3648. # We need to recreate these files for each test, as the compiler may
  3649. # overwrite some of them when testing with obscure command lines.
  3650. # This happens at least with the AIX C compiler.
  3651. : > sub/conftest.c
  3652. for i in 1 2 3 4 5 6; do
  3653. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3654. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3655. # Solaris 8's {/usr,}/bin/sh.
  3656. touch sub/conftst$i.h
  3657. done
  3658. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3659. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3660. # mode. It turns out that the SunPro C++ compiler does not properly
  3661. # handle `-M -o', and we need to detect this. Also, some Intel
  3662. # versions had trouble with output in subdirs
  3663. am__obj=sub/conftest.${OBJEXT-o}
  3664. am__minus_obj="-o $am__obj"
  3665. case $depmode in
  3666. gcc)
  3667. # This depmode causes a compiler race in universal mode.
  3668. test "$am__universal" = false || continue
  3669. ;;
  3670. nosideeffect)
  3671. # after this tag, mechanisms are not by side-effect, so they'll
  3672. # only be used when explicitly requested
  3673. if test "x$enable_dependency_tracking" = xyes; then
  3674. continue
  3675. else
  3676. break
  3677. fi
  3678. ;;
  3679. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3680. # This compiler won't grok `-c -o', but also, the minuso test has
  3681. # not run yet. These depmodes are late enough in the game, and
  3682. # so weak that their functioning should not be impacted.
  3683. am__obj=conftest.${OBJEXT-o}
  3684. am__minus_obj=
  3685. ;;
  3686. none) break ;;
  3687. esac
  3688. if depmode=$depmode \
  3689. source=sub/conftest.c object=$am__obj \
  3690. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3691. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3692. >/dev/null 2>conftest.err &&
  3693. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3694. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3695. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3696. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3697. # icc doesn't choke on unknown options, it will just issue warnings
  3698. # or remarks (even with -Werror). So we grep stderr for any message
  3699. # that says an option was ignored or not supported.
  3700. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3701. # icc: Command line warning: ignoring option '-M'; no argument required
  3702. # The diagnosis changed in icc 8.0:
  3703. # icc: Command line remark: option '-MP' not supported
  3704. if (grep 'ignoring option' conftest.err ||
  3705. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3706. am_cv_CC_dependencies_compiler_type=$depmode
  3707. break
  3708. fi
  3709. fi
  3710. done
  3711. cd ..
  3712. rm -rf conftest.dir
  3713. else
  3714. am_cv_CC_dependencies_compiler_type=none
  3715. fi
  3716. fi
  3717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3718. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3719. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3720. if
  3721. test "x$enable_dependency_tracking" != xno \
  3722. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3723. am__fastdepCC_TRUE=
  3724. am__fastdepCC_FALSE='#'
  3725. else
  3726. am__fastdepCC_TRUE='#'
  3727. am__fastdepCC_FALSE=
  3728. fi
  3729. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  3730. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  3731. if ${ac_cv_path_SED+:} false; then :
  3732. $as_echo_n "(cached) " >&6
  3733. else
  3734. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3735. for ac_i in 1 2 3 4 5 6 7; do
  3736. ac_script="$ac_script$as_nl$ac_script"
  3737. done
  3738. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  3739. { ac_script=; unset ac_script;}
  3740. if test -z "$SED"; then
  3741. ac_path_SED_found=false
  3742. # Loop through the user's path and test for each of PROGNAME-LIST
  3743. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3744. for as_dir in $PATH
  3745. do
  3746. IFS=$as_save_IFS
  3747. test -z "$as_dir" && as_dir=.
  3748. for ac_prog in sed gsed; do
  3749. for ac_exec_ext in '' $ac_executable_extensions; do
  3750. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3751. as_fn_executable_p "$ac_path_SED" || continue
  3752. # Check for GNU ac_path_SED and select it if it is found.
  3753. # Check for GNU $ac_path_SED
  3754. case `"$ac_path_SED" --version 2>&1` in
  3755. *GNU*)
  3756. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3757. *)
  3758. ac_count=0
  3759. $as_echo_n 0123456789 >"conftest.in"
  3760. while :
  3761. do
  3762. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3763. mv "conftest.tmp" "conftest.in"
  3764. cp "conftest.in" "conftest.nl"
  3765. $as_echo '' >> "conftest.nl"
  3766. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3767. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3768. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3769. if test $ac_count -gt ${ac_path_SED_max-0}; then
  3770. # Best one so far, save it but keep looking for a better one
  3771. ac_cv_path_SED="$ac_path_SED"
  3772. ac_path_SED_max=$ac_count
  3773. fi
  3774. # 10*(2^10) chars as input seems more than enough
  3775. test $ac_count -gt 10 && break
  3776. done
  3777. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3778. esac
  3779. $ac_path_SED_found && break 3
  3780. done
  3781. done
  3782. done
  3783. IFS=$as_save_IFS
  3784. if test -z "$ac_cv_path_SED"; then
  3785. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  3786. fi
  3787. else
  3788. ac_cv_path_SED=$SED
  3789. fi
  3790. fi
  3791. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  3792. $as_echo "$ac_cv_path_SED" >&6; }
  3793. SED="$ac_cv_path_SED"
  3794. rm -f conftest.sed
  3795. test -z "$SED" && SED=sed
  3796. Xsed="$SED -e 1s/^X//"
  3797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3798. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3799. if ${ac_cv_path_GREP+:} false; then :
  3800. $as_echo_n "(cached) " >&6
  3801. else
  3802. if test -z "$GREP"; then
  3803. ac_path_GREP_found=false
  3804. # Loop through the user's path and test for each of PROGNAME-LIST
  3805. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3806. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3807. do
  3808. IFS=$as_save_IFS
  3809. test -z "$as_dir" && as_dir=.
  3810. for ac_prog in grep ggrep; do
  3811. for ac_exec_ext in '' $ac_executable_extensions; do
  3812. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3813. as_fn_executable_p "$ac_path_GREP" || continue
  3814. # Check for GNU ac_path_GREP and select it if it is found.
  3815. # Check for GNU $ac_path_GREP
  3816. case `"$ac_path_GREP" --version 2>&1` in
  3817. *GNU*)
  3818. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3819. *)
  3820. ac_count=0
  3821. $as_echo_n 0123456789 >"conftest.in"
  3822. while :
  3823. do
  3824. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3825. mv "conftest.tmp" "conftest.in"
  3826. cp "conftest.in" "conftest.nl"
  3827. $as_echo 'GREP' >> "conftest.nl"
  3828. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3829. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3830. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3831. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3832. # Best one so far, save it but keep looking for a better one
  3833. ac_cv_path_GREP="$ac_path_GREP"
  3834. ac_path_GREP_max=$ac_count
  3835. fi
  3836. # 10*(2^10) chars as input seems more than enough
  3837. test $ac_count -gt 10 && break
  3838. done
  3839. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3840. esac
  3841. $ac_path_GREP_found && break 3
  3842. done
  3843. done
  3844. done
  3845. IFS=$as_save_IFS
  3846. if test -z "$ac_cv_path_GREP"; then
  3847. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3848. fi
  3849. else
  3850. ac_cv_path_GREP=$GREP
  3851. fi
  3852. fi
  3853. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3854. $as_echo "$ac_cv_path_GREP" >&6; }
  3855. GREP="$ac_cv_path_GREP"
  3856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3857. $as_echo_n "checking for egrep... " >&6; }
  3858. if ${ac_cv_path_EGREP+:} false; then :
  3859. $as_echo_n "(cached) " >&6
  3860. else
  3861. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3862. then ac_cv_path_EGREP="$GREP -E"
  3863. else
  3864. if test -z "$EGREP"; then
  3865. ac_path_EGREP_found=false
  3866. # Loop through the user's path and test for each of PROGNAME-LIST
  3867. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3868. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3869. do
  3870. IFS=$as_save_IFS
  3871. test -z "$as_dir" && as_dir=.
  3872. for ac_prog in egrep; do
  3873. for ac_exec_ext in '' $ac_executable_extensions; do
  3874. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3875. as_fn_executable_p "$ac_path_EGREP" || continue
  3876. # Check for GNU ac_path_EGREP and select it if it is found.
  3877. # Check for GNU $ac_path_EGREP
  3878. case `"$ac_path_EGREP" --version 2>&1` in
  3879. *GNU*)
  3880. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3881. *)
  3882. ac_count=0
  3883. $as_echo_n 0123456789 >"conftest.in"
  3884. while :
  3885. do
  3886. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3887. mv "conftest.tmp" "conftest.in"
  3888. cp "conftest.in" "conftest.nl"
  3889. $as_echo 'EGREP' >> "conftest.nl"
  3890. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3891. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3892. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3893. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3894. # Best one so far, save it but keep looking for a better one
  3895. ac_cv_path_EGREP="$ac_path_EGREP"
  3896. ac_path_EGREP_max=$ac_count
  3897. fi
  3898. # 10*(2^10) chars as input seems more than enough
  3899. test $ac_count -gt 10 && break
  3900. done
  3901. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3902. esac
  3903. $ac_path_EGREP_found && break 3
  3904. done
  3905. done
  3906. done
  3907. IFS=$as_save_IFS
  3908. if test -z "$ac_cv_path_EGREP"; then
  3909. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3910. fi
  3911. else
  3912. ac_cv_path_EGREP=$EGREP
  3913. fi
  3914. fi
  3915. fi
  3916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3917. $as_echo "$ac_cv_path_EGREP" >&6; }
  3918. EGREP="$ac_cv_path_EGREP"
  3919. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  3920. $as_echo_n "checking for fgrep... " >&6; }
  3921. if ${ac_cv_path_FGREP+:} false; then :
  3922. $as_echo_n "(cached) " >&6
  3923. else
  3924. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3925. then ac_cv_path_FGREP="$GREP -F"
  3926. else
  3927. if test -z "$FGREP"; then
  3928. ac_path_FGREP_found=false
  3929. # Loop through the user's path and test for each of PROGNAME-LIST
  3930. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3931. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3932. do
  3933. IFS=$as_save_IFS
  3934. test -z "$as_dir" && as_dir=.
  3935. for ac_prog in fgrep; do
  3936. for ac_exec_ext in '' $ac_executable_extensions; do
  3937. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  3938. as_fn_executable_p "$ac_path_FGREP" || continue
  3939. # Check for GNU ac_path_FGREP and select it if it is found.
  3940. # Check for GNU $ac_path_FGREP
  3941. case `"$ac_path_FGREP" --version 2>&1` in
  3942. *GNU*)
  3943. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  3944. *)
  3945. ac_count=0
  3946. $as_echo_n 0123456789 >"conftest.in"
  3947. while :
  3948. do
  3949. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3950. mv "conftest.tmp" "conftest.in"
  3951. cp "conftest.in" "conftest.nl"
  3952. $as_echo 'FGREP' >> "conftest.nl"
  3953. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3954. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3955. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3956. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  3957. # Best one so far, save it but keep looking for a better one
  3958. ac_cv_path_FGREP="$ac_path_FGREP"
  3959. ac_path_FGREP_max=$ac_count
  3960. fi
  3961. # 10*(2^10) chars as input seems more than enough
  3962. test $ac_count -gt 10 && break
  3963. done
  3964. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3965. esac
  3966. $ac_path_FGREP_found && break 3
  3967. done
  3968. done
  3969. done
  3970. IFS=$as_save_IFS
  3971. if test -z "$ac_cv_path_FGREP"; then
  3972. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3973. fi
  3974. else
  3975. ac_cv_path_FGREP=$FGREP
  3976. fi
  3977. fi
  3978. fi
  3979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  3980. $as_echo "$ac_cv_path_FGREP" >&6; }
  3981. FGREP="$ac_cv_path_FGREP"
  3982. test -z "$GREP" && GREP=grep
  3983. # Check whether --with-gnu-ld was given.
  3984. if test "${with_gnu_ld+set}" = set; then :
  3985. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  3986. else
  3987. with_gnu_ld=no
  3988. fi
  3989. ac_prog=ld
  3990. if test "$GCC" = yes; then
  3991. # Check if gcc -print-prog-name=ld gives a path.
  3992. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  3993. $as_echo_n "checking for ld used by $CC... " >&6; }
  3994. case $host in
  3995. *-*-mingw*)
  3996. # gcc leaves a trailing carriage return which upsets mingw
  3997. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3998. *)
  3999. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4000. esac
  4001. case $ac_prog in
  4002. # Accept absolute paths.
  4003. [\\/]* | ?:[\\/]*)
  4004. re_direlt='/[^/][^/]*/\.\./'
  4005. # Canonicalize the pathname of ld
  4006. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4007. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4008. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4009. done
  4010. test -z "$LD" && LD="$ac_prog"
  4011. ;;
  4012. "")
  4013. # If it fails, then pretend we aren't using GCC.
  4014. ac_prog=ld
  4015. ;;
  4016. *)
  4017. # If it is relative, then search for the first ld in PATH.
  4018. with_gnu_ld=unknown
  4019. ;;
  4020. esac
  4021. elif test "$with_gnu_ld" = yes; then
  4022. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4023. $as_echo_n "checking for GNU ld... " >&6; }
  4024. else
  4025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4026. $as_echo_n "checking for non-GNU ld... " >&6; }
  4027. fi
  4028. if ${lt_cv_path_LD+:} false; then :
  4029. $as_echo_n "(cached) " >&6
  4030. else
  4031. if test -z "$LD"; then
  4032. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4033. for ac_dir in $PATH; do
  4034. IFS="$lt_save_ifs"
  4035. test -z "$ac_dir" && ac_dir=.
  4036. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4037. lt_cv_path_LD="$ac_dir/$ac_prog"
  4038. # Check to see if the program is GNU ld. I'd rather use --version,
  4039. # but apparently some variants of GNU ld only accept -v.
  4040. # Break only if it was the GNU/non-GNU ld that we prefer.
  4041. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4042. *GNU* | *'with BFD'*)
  4043. test "$with_gnu_ld" != no && break
  4044. ;;
  4045. *)
  4046. test "$with_gnu_ld" != yes && break
  4047. ;;
  4048. esac
  4049. fi
  4050. done
  4051. IFS="$lt_save_ifs"
  4052. else
  4053. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4054. fi
  4055. fi
  4056. LD="$lt_cv_path_LD"
  4057. if test -n "$LD"; then
  4058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4059. $as_echo "$LD" >&6; }
  4060. else
  4061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4062. $as_echo "no" >&6; }
  4063. fi
  4064. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4065. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4066. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4067. if ${lt_cv_prog_gnu_ld+:} false; then :
  4068. $as_echo_n "(cached) " >&6
  4069. else
  4070. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4071. case `$LD -v 2>&1 </dev/null` in
  4072. *GNU* | *'with BFD'*)
  4073. lt_cv_prog_gnu_ld=yes
  4074. ;;
  4075. *)
  4076. lt_cv_prog_gnu_ld=no
  4077. ;;
  4078. esac
  4079. fi
  4080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4081. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4082. with_gnu_ld=$lt_cv_prog_gnu_ld
  4083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4084. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4085. if ${lt_cv_path_NM+:} false; then :
  4086. $as_echo_n "(cached) " >&6
  4087. else
  4088. if test -n "$NM"; then
  4089. # Let the user override the test.
  4090. lt_cv_path_NM="$NM"
  4091. else
  4092. lt_nm_to_check="${ac_tool_prefix}nm"
  4093. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4094. lt_nm_to_check="$lt_nm_to_check nm"
  4095. fi
  4096. for lt_tmp_nm in $lt_nm_to_check; do
  4097. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4098. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4099. IFS="$lt_save_ifs"
  4100. test -z "$ac_dir" && ac_dir=.
  4101. tmp_nm="$ac_dir/$lt_tmp_nm"
  4102. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4103. # Check to see if the nm accepts a BSD-compat flag.
  4104. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4105. # nm: unknown option "B" ignored
  4106. # Tru64's nm complains that /dev/null is an invalid object file
  4107. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4108. */dev/null* | *'Invalid file or object type'*)
  4109. lt_cv_path_NM="$tmp_nm -B"
  4110. break
  4111. ;;
  4112. *)
  4113. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4114. */dev/null*)
  4115. lt_cv_path_NM="$tmp_nm -p"
  4116. break
  4117. ;;
  4118. *)
  4119. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4120. continue # so that we can try to find one that supports BSD flags
  4121. ;;
  4122. esac
  4123. ;;
  4124. esac
  4125. fi
  4126. done
  4127. IFS="$lt_save_ifs"
  4128. done
  4129. : ${lt_cv_path_NM=no}
  4130. fi
  4131. fi
  4132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4133. $as_echo "$lt_cv_path_NM" >&6; }
  4134. if test "$lt_cv_path_NM" != "no"; then
  4135. NM="$lt_cv_path_NM"
  4136. else
  4137. # Didn't find any BSD compatible name lister, look for dumpbin.
  4138. if test -n "$DUMPBIN"; then :
  4139. # Let the user override the test.
  4140. else
  4141. if test -n "$ac_tool_prefix"; then
  4142. for ac_prog in dumpbin "link -dump"
  4143. do
  4144. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4145. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4147. $as_echo_n "checking for $ac_word... " >&6; }
  4148. if ${ac_cv_prog_DUMPBIN+:} false; then :
  4149. $as_echo_n "(cached) " >&6
  4150. else
  4151. if test -n "$DUMPBIN"; then
  4152. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4153. else
  4154. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4155. for as_dir in $PATH
  4156. do
  4157. IFS=$as_save_IFS
  4158. test -z "$as_dir" && as_dir=.
  4159. for ac_exec_ext in '' $ac_executable_extensions; do
  4160. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4161. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4162. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4163. break 2
  4164. fi
  4165. done
  4166. done
  4167. IFS=$as_save_IFS
  4168. fi
  4169. fi
  4170. DUMPBIN=$ac_cv_prog_DUMPBIN
  4171. if test -n "$DUMPBIN"; then
  4172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4173. $as_echo "$DUMPBIN" >&6; }
  4174. else
  4175. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4176. $as_echo "no" >&6; }
  4177. fi
  4178. test -n "$DUMPBIN" && break
  4179. done
  4180. fi
  4181. if test -z "$DUMPBIN"; then
  4182. ac_ct_DUMPBIN=$DUMPBIN
  4183. for ac_prog in dumpbin "link -dump"
  4184. do
  4185. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4186. set dummy $ac_prog; ac_word=$2
  4187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4188. $as_echo_n "checking for $ac_word... " >&6; }
  4189. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4190. $as_echo_n "(cached) " >&6
  4191. else
  4192. if test -n "$ac_ct_DUMPBIN"; then
  4193. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4194. else
  4195. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4196. for as_dir in $PATH
  4197. do
  4198. IFS=$as_save_IFS
  4199. test -z "$as_dir" && as_dir=.
  4200. for ac_exec_ext in '' $ac_executable_extensions; do
  4201. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4202. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4203. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4204. break 2
  4205. fi
  4206. done
  4207. done
  4208. IFS=$as_save_IFS
  4209. fi
  4210. fi
  4211. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4212. if test -n "$ac_ct_DUMPBIN"; then
  4213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4214. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4215. else
  4216. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4217. $as_echo "no" >&6; }
  4218. fi
  4219. test -n "$ac_ct_DUMPBIN" && break
  4220. done
  4221. if test "x$ac_ct_DUMPBIN" = x; then
  4222. DUMPBIN=":"
  4223. else
  4224. case $cross_compiling:$ac_tool_warned in
  4225. yes:)
  4226. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4227. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4228. ac_tool_warned=yes ;;
  4229. esac
  4230. DUMPBIN=$ac_ct_DUMPBIN
  4231. fi
  4232. fi
  4233. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  4234. *COFF*)
  4235. DUMPBIN="$DUMPBIN -symbols"
  4236. ;;
  4237. *)
  4238. DUMPBIN=:
  4239. ;;
  4240. esac
  4241. fi
  4242. if test "$DUMPBIN" != ":"; then
  4243. NM="$DUMPBIN"
  4244. fi
  4245. fi
  4246. test -z "$NM" && NM=nm
  4247. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4248. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4249. if ${lt_cv_nm_interface+:} false; then :
  4250. $as_echo_n "(cached) " >&6
  4251. else
  4252. lt_cv_nm_interface="BSD nm"
  4253. echo "int some_variable = 0;" > conftest.$ac_ext
  4254. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4255. (eval "$ac_compile" 2>conftest.err)
  4256. cat conftest.err >&5
  4257. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4258. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4259. cat conftest.err >&5
  4260. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4261. cat conftest.out >&5
  4262. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4263. lt_cv_nm_interface="MS dumpbin"
  4264. fi
  4265. rm -f conftest*
  4266. fi
  4267. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4268. $as_echo "$lt_cv_nm_interface" >&6; }
  4269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4270. $as_echo_n "checking whether ln -s works... " >&6; }
  4271. LN_S=$as_ln_s
  4272. if test "$LN_S" = "ln -s"; then
  4273. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4274. $as_echo "yes" >&6; }
  4275. else
  4276. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4277. $as_echo "no, using $LN_S" >&6; }
  4278. fi
  4279. # find the maximum length of command line arguments
  4280. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4281. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4282. if ${lt_cv_sys_max_cmd_len+:} false; then :
  4283. $as_echo_n "(cached) " >&6
  4284. else
  4285. i=0
  4286. teststring="ABCD"
  4287. case $build_os in
  4288. msdosdjgpp*)
  4289. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4290. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4291. # during glob expansion). Even if it were fixed, the result of this
  4292. # check would be larger than it should be.
  4293. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4294. ;;
  4295. gnu*)
  4296. # Under GNU Hurd, this test is not required because there is
  4297. # no limit to the length of command line arguments.
  4298. # Libtool will interpret -1 as no limit whatsoever
  4299. lt_cv_sys_max_cmd_len=-1;
  4300. ;;
  4301. cygwin* | mingw* | cegcc*)
  4302. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4303. # about 5 minutes as the teststring grows exponentially.
  4304. # Worse, since 9x/ME are not pre-emptively multitasking,
  4305. # you end up with a "frozen" computer, even though with patience
  4306. # the test eventually succeeds (with a max line length of 256k).
  4307. # Instead, let's just punt: use the minimum linelength reported by
  4308. # all of the supported platforms: 8192 (on NT/2K/XP).
  4309. lt_cv_sys_max_cmd_len=8192;
  4310. ;;
  4311. mint*)
  4312. # On MiNT this can take a long time and run out of memory.
  4313. lt_cv_sys_max_cmd_len=8192;
  4314. ;;
  4315. amigaos*)
  4316. # On AmigaOS with pdksh, this test takes hours, literally.
  4317. # So we just punt and use a minimum line length of 8192.
  4318. lt_cv_sys_max_cmd_len=8192;
  4319. ;;
  4320. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4321. # This has been around since 386BSD, at least. Likely further.
  4322. if test -x /sbin/sysctl; then
  4323. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4324. elif test -x /usr/sbin/sysctl; then
  4325. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4326. else
  4327. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4328. fi
  4329. # And add a safety zone
  4330. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4331. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4332. ;;
  4333. interix*)
  4334. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4335. lt_cv_sys_max_cmd_len=196608
  4336. ;;
  4337. osf*)
  4338. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4339. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4340. # nice to cause kernel panics so lets avoid the loop below.
  4341. # First set a reasonable default.
  4342. lt_cv_sys_max_cmd_len=16384
  4343. #
  4344. if test -x /sbin/sysconfig; then
  4345. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4346. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4347. esac
  4348. fi
  4349. ;;
  4350. sco3.2v5*)
  4351. lt_cv_sys_max_cmd_len=102400
  4352. ;;
  4353. sysv5* | sco5v6* | sysv4.2uw2*)
  4354. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4355. if test -n "$kargmax"; then
  4356. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4357. else
  4358. lt_cv_sys_max_cmd_len=32768
  4359. fi
  4360. ;;
  4361. *)
  4362. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4363. if test -n "$lt_cv_sys_max_cmd_len"; then
  4364. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4365. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4366. else
  4367. # Make teststring a little bigger before we do anything with it.
  4368. # a 1K string should be a reasonable start.
  4369. for i in 1 2 3 4 5 6 7 8 ; do
  4370. teststring=$teststring$teststring
  4371. done
  4372. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4373. # If test is not a shell built-in, we'll probably end up computing a
  4374. # maximum length that is only half of the actual maximum length, but
  4375. # we can't tell.
  4376. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  4377. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  4378. test $i != 17 # 1/2 MB should be enough
  4379. do
  4380. i=`expr $i + 1`
  4381. teststring=$teststring$teststring
  4382. done
  4383. # Only check the string length outside the loop.
  4384. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4385. teststring=
  4386. # Add a significant safety factor because C++ compilers can tack on
  4387. # massive amounts of additional arguments before passing them to the
  4388. # linker. It appears as though 1/2 is a usable value.
  4389. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4390. fi
  4391. ;;
  4392. esac
  4393. fi
  4394. if test -n $lt_cv_sys_max_cmd_len ; then
  4395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4396. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4397. else
  4398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4399. $as_echo "none" >&6; }
  4400. fi
  4401. max_cmd_len=$lt_cv_sys_max_cmd_len
  4402. : ${CP="cp -f"}
  4403. : ${MV="mv -f"}
  4404. : ${RM="rm -f"}
  4405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4406. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4407. # Try some XSI features
  4408. xsi_shell=no
  4409. ( _lt_dummy="a/b/c"
  4410. test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  4411. = c,a/b,b/c, \
  4412. && eval 'test $(( 1 + 1 )) -eq 2 \
  4413. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4414. && xsi_shell=yes
  4415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4416. $as_echo "$xsi_shell" >&6; }
  4417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4418. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4419. lt_shell_append=no
  4420. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4421. >/dev/null 2>&1 \
  4422. && lt_shell_append=yes
  4423. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4424. $as_echo "$lt_shell_append" >&6; }
  4425. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4426. lt_unset=unset
  4427. else
  4428. lt_unset=false
  4429. fi
  4430. # test EBCDIC or ASCII
  4431. case `echo X|tr X '\101'` in
  4432. A) # ASCII based system
  4433. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4434. lt_SP2NL='tr \040 \012'
  4435. lt_NL2SP='tr \015\012 \040\040'
  4436. ;;
  4437. *) # EBCDIC based system
  4438. lt_SP2NL='tr \100 \n'
  4439. lt_NL2SP='tr \r\n \100\100'
  4440. ;;
  4441. esac
  4442. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  4443. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  4444. if ${lt_cv_to_host_file_cmd+:} false; then :
  4445. $as_echo_n "(cached) " >&6
  4446. else
  4447. case $host in
  4448. *-*-mingw* )
  4449. case $build in
  4450. *-*-mingw* ) # actually msys
  4451. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  4452. ;;
  4453. *-*-cygwin* )
  4454. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  4455. ;;
  4456. * ) # otherwise, assume *nix
  4457. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  4458. ;;
  4459. esac
  4460. ;;
  4461. *-*-cygwin* )
  4462. case $build in
  4463. *-*-mingw* ) # actually msys
  4464. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  4465. ;;
  4466. *-*-cygwin* )
  4467. lt_cv_to_host_file_cmd=func_convert_file_noop
  4468. ;;
  4469. * ) # otherwise, assume *nix
  4470. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  4471. ;;
  4472. esac
  4473. ;;
  4474. * ) # unhandled hosts (and "normal" native builds)
  4475. lt_cv_to_host_file_cmd=func_convert_file_noop
  4476. ;;
  4477. esac
  4478. fi
  4479. to_host_file_cmd=$lt_cv_to_host_file_cmd
  4480. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  4481. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  4482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  4483. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  4484. if ${lt_cv_to_tool_file_cmd+:} false; then :
  4485. $as_echo_n "(cached) " >&6
  4486. else
  4487. #assume ordinary cross tools, or native build.
  4488. lt_cv_to_tool_file_cmd=func_convert_file_noop
  4489. case $host in
  4490. *-*-mingw* )
  4491. case $build in
  4492. *-*-mingw* ) # actually msys
  4493. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  4494. ;;
  4495. esac
  4496. ;;
  4497. esac
  4498. fi
  4499. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  4500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  4501. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  4502. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4503. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4504. if ${lt_cv_ld_reload_flag+:} false; then :
  4505. $as_echo_n "(cached) " >&6
  4506. else
  4507. lt_cv_ld_reload_flag='-r'
  4508. fi
  4509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4510. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4511. reload_flag=$lt_cv_ld_reload_flag
  4512. case $reload_flag in
  4513. "" | " "*) ;;
  4514. *) reload_flag=" $reload_flag" ;;
  4515. esac
  4516. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4517. case $host_os in
  4518. cygwin* | mingw* | pw32* | cegcc*)
  4519. if test "$GCC" != yes; then
  4520. reload_cmds=false
  4521. fi
  4522. ;;
  4523. darwin*)
  4524. if test "$GCC" = yes; then
  4525. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4526. else
  4527. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4528. fi
  4529. ;;
  4530. esac
  4531. if test -n "$ac_tool_prefix"; then
  4532. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4533. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4534. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4535. $as_echo_n "checking for $ac_word... " >&6; }
  4536. if ${ac_cv_prog_OBJDUMP+:} false; then :
  4537. $as_echo_n "(cached) " >&6
  4538. else
  4539. if test -n "$OBJDUMP"; then
  4540. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4541. else
  4542. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4543. for as_dir in $PATH
  4544. do
  4545. IFS=$as_save_IFS
  4546. test -z "$as_dir" && as_dir=.
  4547. for ac_exec_ext in '' $ac_executable_extensions; do
  4548. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4549. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4550. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4551. break 2
  4552. fi
  4553. done
  4554. done
  4555. IFS=$as_save_IFS
  4556. fi
  4557. fi
  4558. OBJDUMP=$ac_cv_prog_OBJDUMP
  4559. if test -n "$OBJDUMP"; then
  4560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4561. $as_echo "$OBJDUMP" >&6; }
  4562. else
  4563. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4564. $as_echo "no" >&6; }
  4565. fi
  4566. fi
  4567. if test -z "$ac_cv_prog_OBJDUMP"; then
  4568. ac_ct_OBJDUMP=$OBJDUMP
  4569. # Extract the first word of "objdump", so it can be a program name with args.
  4570. set dummy objdump; ac_word=$2
  4571. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4572. $as_echo_n "checking for $ac_word... " >&6; }
  4573. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  4574. $as_echo_n "(cached) " >&6
  4575. else
  4576. if test -n "$ac_ct_OBJDUMP"; then
  4577. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4578. else
  4579. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4580. for as_dir in $PATH
  4581. do
  4582. IFS=$as_save_IFS
  4583. test -z "$as_dir" && as_dir=.
  4584. for ac_exec_ext in '' $ac_executable_extensions; do
  4585. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4586. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4587. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4588. break 2
  4589. fi
  4590. done
  4591. done
  4592. IFS=$as_save_IFS
  4593. fi
  4594. fi
  4595. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4596. if test -n "$ac_ct_OBJDUMP"; then
  4597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4598. $as_echo "$ac_ct_OBJDUMP" >&6; }
  4599. else
  4600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4601. $as_echo "no" >&6; }
  4602. fi
  4603. if test "x$ac_ct_OBJDUMP" = x; then
  4604. OBJDUMP="false"
  4605. else
  4606. case $cross_compiling:$ac_tool_warned in
  4607. yes:)
  4608. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4609. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4610. ac_tool_warned=yes ;;
  4611. esac
  4612. OBJDUMP=$ac_ct_OBJDUMP
  4613. fi
  4614. else
  4615. OBJDUMP="$ac_cv_prog_OBJDUMP"
  4616. fi
  4617. test -z "$OBJDUMP" && OBJDUMP=objdump
  4618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4619. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4620. if ${lt_cv_deplibs_check_method+:} false; then :
  4621. $as_echo_n "(cached) " >&6
  4622. else
  4623. lt_cv_file_magic_cmd='$MAGIC_CMD'
  4624. lt_cv_file_magic_test_file=
  4625. lt_cv_deplibs_check_method='unknown'
  4626. # Need to set the preceding variable on all platforms that support
  4627. # interlibrary dependencies.
  4628. # 'none' -- dependencies not supported.
  4629. # `unknown' -- same as none, but documents that we really don't know.
  4630. # 'pass_all' -- all dependencies passed with no checks.
  4631. # 'test_compile' -- check by making test program.
  4632. # 'file_magic [[regex]]' -- check by looking for files in library path
  4633. # which responds to the $file_magic_cmd with a given extended regex.
  4634. # If you have `file' or equivalent on your system and you're not sure
  4635. # whether `pass_all' will *always* work, you probably want this one.
  4636. case $host_os in
  4637. aix[4-9]*)
  4638. lt_cv_deplibs_check_method=pass_all
  4639. ;;
  4640. beos*)
  4641. lt_cv_deplibs_check_method=pass_all
  4642. ;;
  4643. bsdi[45]*)
  4644. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4645. lt_cv_file_magic_cmd='/usr/bin/file -L'
  4646. lt_cv_file_magic_test_file=/shlib/libc.so
  4647. ;;
  4648. cygwin*)
  4649. # func_win32_libid is a shell function defined in ltmain.sh
  4650. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4651. lt_cv_file_magic_cmd='func_win32_libid'
  4652. ;;
  4653. mingw* | pw32*)
  4654. # Base MSYS/MinGW do not provide the 'file' command needed by
  4655. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4656. # unless we find 'file', for example because we are cross-compiling.
  4657. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  4658. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  4659. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4660. lt_cv_file_magic_cmd='func_win32_libid'
  4661. else
  4662. # Keep this pattern in sync with the one in func_win32_libid.
  4663. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4664. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4665. fi
  4666. ;;
  4667. cegcc*)
  4668. # use the weaker test based on 'objdump'. See mingw*.
  4669. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4670. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4671. ;;
  4672. darwin* | rhapsody*)
  4673. lt_cv_deplibs_check_method=pass_all
  4674. ;;
  4675. freebsd* | dragonfly*)
  4676. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4677. case $host_cpu in
  4678. i*86 )
  4679. # Not sure whether the presence of OpenBSD here was a mistake.
  4680. # Let's accept both of them until this is cleared up.
  4681. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4682. lt_cv_file_magic_cmd=/usr/bin/file
  4683. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4684. ;;
  4685. esac
  4686. else
  4687. lt_cv_deplibs_check_method=pass_all
  4688. fi
  4689. ;;
  4690. gnu*)
  4691. lt_cv_deplibs_check_method=pass_all
  4692. ;;
  4693. haiku*)
  4694. lt_cv_deplibs_check_method=pass_all
  4695. ;;
  4696. hpux10.20* | hpux11*)
  4697. lt_cv_file_magic_cmd=/usr/bin/file
  4698. case $host_cpu in
  4699. ia64*)
  4700. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4701. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4702. ;;
  4703. hppa*64*)
  4704. 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]'
  4705. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4706. ;;
  4707. *)
  4708. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  4709. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4710. ;;
  4711. esac
  4712. ;;
  4713. interix[3-9]*)
  4714. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4715. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4716. ;;
  4717. irix5* | irix6* | nonstopux*)
  4718. case $LD in
  4719. *-32|*"-32 ") libmagic=32-bit;;
  4720. *-n32|*"-n32 ") libmagic=N32;;
  4721. *-64|*"-64 ") libmagic=64-bit;;
  4722. *) libmagic=never-match;;
  4723. esac
  4724. lt_cv_deplibs_check_method=pass_all
  4725. ;;
  4726. # This must be Linux ELF.
  4727. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4728. lt_cv_deplibs_check_method=pass_all
  4729. ;;
  4730. netbsd*)
  4731. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4732. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4733. else
  4734. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4735. fi
  4736. ;;
  4737. newos6*)
  4738. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4739. lt_cv_file_magic_cmd=/usr/bin/file
  4740. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4741. ;;
  4742. *nto* | *qnx*)
  4743. lt_cv_deplibs_check_method=pass_all
  4744. ;;
  4745. openbsd*)
  4746. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4747. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4748. else
  4749. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4750. fi
  4751. ;;
  4752. osf3* | osf4* | osf5*)
  4753. lt_cv_deplibs_check_method=pass_all
  4754. ;;
  4755. rdos*)
  4756. lt_cv_deplibs_check_method=pass_all
  4757. ;;
  4758. solaris*)
  4759. lt_cv_deplibs_check_method=pass_all
  4760. ;;
  4761. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4762. lt_cv_deplibs_check_method=pass_all
  4763. ;;
  4764. sysv4 | sysv4.3*)
  4765. case $host_vendor in
  4766. motorola)
  4767. 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]'
  4768. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4769. ;;
  4770. ncr)
  4771. lt_cv_deplibs_check_method=pass_all
  4772. ;;
  4773. sequent)
  4774. lt_cv_file_magic_cmd='/bin/file'
  4775. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4776. ;;
  4777. sni)
  4778. lt_cv_file_magic_cmd='/bin/file'
  4779. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4780. lt_cv_file_magic_test_file=/lib/libc.so
  4781. ;;
  4782. siemens)
  4783. lt_cv_deplibs_check_method=pass_all
  4784. ;;
  4785. pc)
  4786. lt_cv_deplibs_check_method=pass_all
  4787. ;;
  4788. esac
  4789. ;;
  4790. tpf*)
  4791. lt_cv_deplibs_check_method=pass_all
  4792. ;;
  4793. esac
  4794. fi
  4795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  4796. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  4797. file_magic_glob=
  4798. want_nocaseglob=no
  4799. if test "$build" = "$host"; then
  4800. case $host_os in
  4801. mingw* | pw32*)
  4802. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  4803. want_nocaseglob=yes
  4804. else
  4805. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  4806. fi
  4807. ;;
  4808. esac
  4809. fi
  4810. file_magic_cmd=$lt_cv_file_magic_cmd
  4811. deplibs_check_method=$lt_cv_deplibs_check_method
  4812. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4813. if test -n "$ac_tool_prefix"; then
  4814. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  4815. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  4816. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4817. $as_echo_n "checking for $ac_word... " >&6; }
  4818. if ${ac_cv_prog_DLLTOOL+:} false; then :
  4819. $as_echo_n "(cached) " >&6
  4820. else
  4821. if test -n "$DLLTOOL"; then
  4822. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  4823. else
  4824. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4825. for as_dir in $PATH
  4826. do
  4827. IFS=$as_save_IFS
  4828. test -z "$as_dir" && as_dir=.
  4829. for ac_exec_ext in '' $ac_executable_extensions; do
  4830. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4831. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  4832. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4833. break 2
  4834. fi
  4835. done
  4836. done
  4837. IFS=$as_save_IFS
  4838. fi
  4839. fi
  4840. DLLTOOL=$ac_cv_prog_DLLTOOL
  4841. if test -n "$DLLTOOL"; then
  4842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  4843. $as_echo "$DLLTOOL" >&6; }
  4844. else
  4845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4846. $as_echo "no" >&6; }
  4847. fi
  4848. fi
  4849. if test -z "$ac_cv_prog_DLLTOOL"; then
  4850. ac_ct_DLLTOOL=$DLLTOOL
  4851. # Extract the first word of "dlltool", so it can be a program name with args.
  4852. set dummy dlltool; ac_word=$2
  4853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4854. $as_echo_n "checking for $ac_word... " >&6; }
  4855. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  4856. $as_echo_n "(cached) " >&6
  4857. else
  4858. if test -n "$ac_ct_DLLTOOL"; then
  4859. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  4860. else
  4861. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4862. for as_dir in $PATH
  4863. do
  4864. IFS=$as_save_IFS
  4865. test -z "$as_dir" && as_dir=.
  4866. for ac_exec_ext in '' $ac_executable_extensions; do
  4867. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4868. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  4869. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4870. break 2
  4871. fi
  4872. done
  4873. done
  4874. IFS=$as_save_IFS
  4875. fi
  4876. fi
  4877. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  4878. if test -n "$ac_ct_DLLTOOL"; then
  4879. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  4880. $as_echo "$ac_ct_DLLTOOL" >&6; }
  4881. else
  4882. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4883. $as_echo "no" >&6; }
  4884. fi
  4885. if test "x$ac_ct_DLLTOOL" = x; then
  4886. DLLTOOL="false"
  4887. else
  4888. case $cross_compiling:$ac_tool_warned in
  4889. yes:)
  4890. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4891. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4892. ac_tool_warned=yes ;;
  4893. esac
  4894. DLLTOOL=$ac_ct_DLLTOOL
  4895. fi
  4896. else
  4897. DLLTOOL="$ac_cv_prog_DLLTOOL"
  4898. fi
  4899. test -z "$DLLTOOL" && DLLTOOL=dlltool
  4900. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  4901. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  4902. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  4903. $as_echo_n "(cached) " >&6
  4904. else
  4905. lt_cv_sharedlib_from_linklib_cmd='unknown'
  4906. case $host_os in
  4907. cygwin* | mingw* | pw32* | cegcc*)
  4908. # two different shell functions defined in ltmain.sh
  4909. # decide which to use based on capabilities of $DLLTOOL
  4910. case `$DLLTOOL --help 2>&1` in
  4911. *--identify-strict*)
  4912. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  4913. ;;
  4914. *)
  4915. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  4916. ;;
  4917. esac
  4918. ;;
  4919. *)
  4920. # fallback: assume linklib IS sharedlib
  4921. lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  4922. ;;
  4923. esac
  4924. fi
  4925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  4926. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  4927. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  4928. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  4929. if test -n "$ac_tool_prefix"; then
  4930. for ac_prog in ar
  4931. do
  4932. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4933. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4935. $as_echo_n "checking for $ac_word... " >&6; }
  4936. if ${ac_cv_prog_AR+:} false; then :
  4937. $as_echo_n "(cached) " >&6
  4938. else
  4939. if test -n "$AR"; then
  4940. ac_cv_prog_AR="$AR" # Let the user override the test.
  4941. else
  4942. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4943. for as_dir in $PATH
  4944. do
  4945. IFS=$as_save_IFS
  4946. test -z "$as_dir" && as_dir=.
  4947. for ac_exec_ext in '' $ac_executable_extensions; do
  4948. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4949. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  4950. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4951. break 2
  4952. fi
  4953. done
  4954. done
  4955. IFS=$as_save_IFS
  4956. fi
  4957. fi
  4958. AR=$ac_cv_prog_AR
  4959. if test -n "$AR"; then
  4960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  4961. $as_echo "$AR" >&6; }
  4962. else
  4963. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4964. $as_echo "no" >&6; }
  4965. fi
  4966. test -n "$AR" && break
  4967. done
  4968. fi
  4969. if test -z "$AR"; then
  4970. ac_ct_AR=$AR
  4971. for ac_prog in ar
  4972. do
  4973. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4974. set dummy $ac_prog; ac_word=$2
  4975. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4976. $as_echo_n "checking for $ac_word... " >&6; }
  4977. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  4978. $as_echo_n "(cached) " >&6
  4979. else
  4980. if test -n "$ac_ct_AR"; then
  4981. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4982. else
  4983. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4984. for as_dir in $PATH
  4985. do
  4986. IFS=$as_save_IFS
  4987. test -z "$as_dir" && as_dir=.
  4988. for ac_exec_ext in '' $ac_executable_extensions; do
  4989. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4990. ac_cv_prog_ac_ct_AR="$ac_prog"
  4991. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4992. break 2
  4993. fi
  4994. done
  4995. done
  4996. IFS=$as_save_IFS
  4997. fi
  4998. fi
  4999. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5000. if test -n "$ac_ct_AR"; then
  5001. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5002. $as_echo "$ac_ct_AR" >&6; }
  5003. else
  5004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5005. $as_echo "no" >&6; }
  5006. fi
  5007. test -n "$ac_ct_AR" && break
  5008. done
  5009. if test "x$ac_ct_AR" = x; then
  5010. AR="false"
  5011. else
  5012. case $cross_compiling:$ac_tool_warned in
  5013. yes:)
  5014. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5015. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5016. ac_tool_warned=yes ;;
  5017. esac
  5018. AR=$ac_ct_AR
  5019. fi
  5020. fi
  5021. : ${AR=ar}
  5022. : ${AR_FLAGS=cru}
  5023. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  5024. $as_echo_n "checking for archiver @FILE support... " >&6; }
  5025. if ${lt_cv_ar_at_file+:} false; then :
  5026. $as_echo_n "(cached) " >&6
  5027. else
  5028. lt_cv_ar_at_file=no
  5029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5030. /* end confdefs.h. */
  5031. int
  5032. main ()
  5033. {
  5034. ;
  5035. return 0;
  5036. }
  5037. _ACEOF
  5038. if ac_fn_c_try_compile "$LINENO"; then :
  5039. echo conftest.$ac_objext > conftest.lst
  5040. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  5041. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5042. (eval $lt_ar_try) 2>&5
  5043. ac_status=$?
  5044. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5045. test $ac_status = 0; }
  5046. if test "$ac_status" -eq 0; then
  5047. # Ensure the archiver fails upon bogus file names.
  5048. rm -f conftest.$ac_objext libconftest.a
  5049. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5050. (eval $lt_ar_try) 2>&5
  5051. ac_status=$?
  5052. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5053. test $ac_status = 0; }
  5054. if test "$ac_status" -ne 0; then
  5055. lt_cv_ar_at_file=@
  5056. fi
  5057. fi
  5058. rm -f conftest.* libconftest.a
  5059. fi
  5060. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5061. fi
  5062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  5063. $as_echo "$lt_cv_ar_at_file" >&6; }
  5064. if test "x$lt_cv_ar_at_file" = xno; then
  5065. archiver_list_spec=
  5066. else
  5067. archiver_list_spec=$lt_cv_ar_at_file
  5068. fi
  5069. if test -n "$ac_tool_prefix"; then
  5070. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5071. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5072. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5073. $as_echo_n "checking for $ac_word... " >&6; }
  5074. if ${ac_cv_prog_STRIP+:} false; then :
  5075. $as_echo_n "(cached) " >&6
  5076. else
  5077. if test -n "$STRIP"; then
  5078. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5079. else
  5080. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5081. for as_dir in $PATH
  5082. do
  5083. IFS=$as_save_IFS
  5084. test -z "$as_dir" && as_dir=.
  5085. for ac_exec_ext in '' $ac_executable_extensions; do
  5086. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5087. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5088. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5089. break 2
  5090. fi
  5091. done
  5092. done
  5093. IFS=$as_save_IFS
  5094. fi
  5095. fi
  5096. STRIP=$ac_cv_prog_STRIP
  5097. if test -n "$STRIP"; then
  5098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5099. $as_echo "$STRIP" >&6; }
  5100. else
  5101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5102. $as_echo "no" >&6; }
  5103. fi
  5104. fi
  5105. if test -z "$ac_cv_prog_STRIP"; then
  5106. ac_ct_STRIP=$STRIP
  5107. # Extract the first word of "strip", so it can be a program name with args.
  5108. set dummy strip; ac_word=$2
  5109. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5110. $as_echo_n "checking for $ac_word... " >&6; }
  5111. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5112. $as_echo_n "(cached) " >&6
  5113. else
  5114. if test -n "$ac_ct_STRIP"; then
  5115. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5116. else
  5117. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5118. for as_dir in $PATH
  5119. do
  5120. IFS=$as_save_IFS
  5121. test -z "$as_dir" && as_dir=.
  5122. for ac_exec_ext in '' $ac_executable_extensions; do
  5123. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5124. ac_cv_prog_ac_ct_STRIP="strip"
  5125. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5126. break 2
  5127. fi
  5128. done
  5129. done
  5130. IFS=$as_save_IFS
  5131. fi
  5132. fi
  5133. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5134. if test -n "$ac_ct_STRIP"; then
  5135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5136. $as_echo "$ac_ct_STRIP" >&6; }
  5137. else
  5138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5139. $as_echo "no" >&6; }
  5140. fi
  5141. if test "x$ac_ct_STRIP" = x; then
  5142. STRIP=":"
  5143. else
  5144. case $cross_compiling:$ac_tool_warned in
  5145. yes:)
  5146. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5147. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5148. ac_tool_warned=yes ;;
  5149. esac
  5150. STRIP=$ac_ct_STRIP
  5151. fi
  5152. else
  5153. STRIP="$ac_cv_prog_STRIP"
  5154. fi
  5155. test -z "$STRIP" && STRIP=:
  5156. if test -n "$ac_tool_prefix"; then
  5157. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5158. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5159. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5160. $as_echo_n "checking for $ac_word... " >&6; }
  5161. if ${ac_cv_prog_RANLIB+:} false; then :
  5162. $as_echo_n "(cached) " >&6
  5163. else
  5164. if test -n "$RANLIB"; then
  5165. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5166. else
  5167. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5168. for as_dir in $PATH
  5169. do
  5170. IFS=$as_save_IFS
  5171. test -z "$as_dir" && as_dir=.
  5172. for ac_exec_ext in '' $ac_executable_extensions; do
  5173. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5174. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5175. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5176. break 2
  5177. fi
  5178. done
  5179. done
  5180. IFS=$as_save_IFS
  5181. fi
  5182. fi
  5183. RANLIB=$ac_cv_prog_RANLIB
  5184. if test -n "$RANLIB"; then
  5185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5186. $as_echo "$RANLIB" >&6; }
  5187. else
  5188. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5189. $as_echo "no" >&6; }
  5190. fi
  5191. fi
  5192. if test -z "$ac_cv_prog_RANLIB"; then
  5193. ac_ct_RANLIB=$RANLIB
  5194. # Extract the first word of "ranlib", so it can be a program name with args.
  5195. set dummy ranlib; ac_word=$2
  5196. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5197. $as_echo_n "checking for $ac_word... " >&6; }
  5198. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5199. $as_echo_n "(cached) " >&6
  5200. else
  5201. if test -n "$ac_ct_RANLIB"; then
  5202. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5203. else
  5204. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5205. for as_dir in $PATH
  5206. do
  5207. IFS=$as_save_IFS
  5208. test -z "$as_dir" && as_dir=.
  5209. for ac_exec_ext in '' $ac_executable_extensions; do
  5210. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5211. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5212. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5213. break 2
  5214. fi
  5215. done
  5216. done
  5217. IFS=$as_save_IFS
  5218. fi
  5219. fi
  5220. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5221. if test -n "$ac_ct_RANLIB"; then
  5222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5223. $as_echo "$ac_ct_RANLIB" >&6; }
  5224. else
  5225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5226. $as_echo "no" >&6; }
  5227. fi
  5228. if test "x$ac_ct_RANLIB" = x; then
  5229. RANLIB=":"
  5230. else
  5231. case $cross_compiling:$ac_tool_warned in
  5232. yes:)
  5233. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5234. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5235. ac_tool_warned=yes ;;
  5236. esac
  5237. RANLIB=$ac_ct_RANLIB
  5238. fi
  5239. else
  5240. RANLIB="$ac_cv_prog_RANLIB"
  5241. fi
  5242. test -z "$RANLIB" && RANLIB=:
  5243. # Determine commands to create old-style static archives.
  5244. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5245. old_postinstall_cmds='chmod 644 $oldlib'
  5246. old_postuninstall_cmds=
  5247. if test -n "$RANLIB"; then
  5248. case $host_os in
  5249. openbsd*)
  5250. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  5251. ;;
  5252. *)
  5253. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  5254. ;;
  5255. esac
  5256. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  5257. fi
  5258. case $host_os in
  5259. darwin*)
  5260. lock_old_archive_extraction=yes ;;
  5261. *)
  5262. lock_old_archive_extraction=no ;;
  5263. esac
  5264. # If no C compiler was specified, use CC.
  5265. LTCC=${LTCC-"$CC"}
  5266. # If no C compiler flags were specified, use CFLAGS.
  5267. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5268. # Allow CC to be a program name with arguments.
  5269. compiler=$CC
  5270. # Check for command to grab the raw symbol name followed by C symbol from nm.
  5271. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5272. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5273. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5274. $as_echo_n "(cached) " >&6
  5275. else
  5276. # These are sane defaults that work on at least a few old systems.
  5277. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  5278. # Character class describing NM global symbol codes.
  5279. symcode='[BCDEGRST]'
  5280. # Regexp to match symbols that can be accessed directly from C.
  5281. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5282. # Define system-specific variables.
  5283. case $host_os in
  5284. aix*)
  5285. symcode='[BCDT]'
  5286. ;;
  5287. cygwin* | mingw* | pw32* | cegcc*)
  5288. symcode='[ABCDGISTW]'
  5289. ;;
  5290. hpux*)
  5291. if test "$host_cpu" = ia64; then
  5292. symcode='[ABCDEGRST]'
  5293. fi
  5294. ;;
  5295. irix* | nonstopux*)
  5296. symcode='[BCDEGRST]'
  5297. ;;
  5298. osf*)
  5299. symcode='[BCDEGQRST]'
  5300. ;;
  5301. solaris*)
  5302. symcode='[BDRT]'
  5303. ;;
  5304. sco3.2v5*)
  5305. symcode='[DT]'
  5306. ;;
  5307. sysv4.2uw2*)
  5308. symcode='[DT]'
  5309. ;;
  5310. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5311. symcode='[ABDT]'
  5312. ;;
  5313. sysv4)
  5314. symcode='[DFNSTU]'
  5315. ;;
  5316. esac
  5317. # If we're using GNU nm, then use its standard symbol codes.
  5318. case `$NM -V 2>&1` in
  5319. *GNU* | *'with BFD'*)
  5320. symcode='[ABCDGIRSTW]' ;;
  5321. esac
  5322. # Transform an extracted symbol line into a proper C declaration.
  5323. # Some systems (esp. on ia64) link data and code symbols differently,
  5324. # so use this general approach.
  5325. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5326. # Transform an extracted symbol line into symbol name and symbol address
  5327. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  5328. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  5329. # Handle CRLF in mingw tool chain
  5330. opt_cr=
  5331. case $build_os in
  5332. mingw*)
  5333. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5334. ;;
  5335. esac
  5336. # Try without a prefix underscore, then with it.
  5337. for ac_symprfx in "" "_"; do
  5338. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5339. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5340. # Write the raw and C identifiers.
  5341. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5342. # Fake it for dumpbin and say T for any non-static function
  5343. # and D for any global variable.
  5344. # Also find C++ and __fastcall symbols from MSVC++,
  5345. # which start with @ or ?.
  5346. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5347. " {last_section=section; section=\$ 3};"\
  5348. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5349. " \$ 0!~/External *\|/{next};"\
  5350. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5351. " {if(hide[section]) next};"\
  5352. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5353. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5354. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5355. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5356. " ' prfx=^$ac_symprfx"
  5357. else
  5358. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5359. fi
  5360. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5361. # Check to see that the pipe works correctly.
  5362. pipe_works=no
  5363. rm -f conftest*
  5364. cat > conftest.$ac_ext <<_LT_EOF
  5365. #ifdef __cplusplus
  5366. extern "C" {
  5367. #endif
  5368. char nm_test_var;
  5369. void nm_test_func(void);
  5370. void nm_test_func(void){}
  5371. #ifdef __cplusplus
  5372. }
  5373. #endif
  5374. int main(){nm_test_var='a';nm_test_func();return(0);}
  5375. _LT_EOF
  5376. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5377. (eval $ac_compile) 2>&5
  5378. ac_status=$?
  5379. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5380. test $ac_status = 0; }; then
  5381. # Now try to grab the symbols.
  5382. nlist=conftest.nm
  5383. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5384. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5385. ac_status=$?
  5386. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5387. test $ac_status = 0; } && test -s "$nlist"; then
  5388. # Try sorting and uniquifying the output.
  5389. if sort "$nlist" | uniq > "$nlist"T; then
  5390. mv -f "$nlist"T "$nlist"
  5391. else
  5392. rm -f "$nlist"T
  5393. fi
  5394. # Make sure that we snagged all the symbols we need.
  5395. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5396. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5397. cat <<_LT_EOF > conftest.$ac_ext
  5398. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  5399. #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  5400. /* DATA imports from DLLs on WIN32 con't be const, because runtime
  5401. relocations are performed -- see ld's documentation on pseudo-relocs. */
  5402. # define LT_DLSYM_CONST
  5403. #elif defined(__osf__)
  5404. /* This system does not cope well with relocations in const data. */
  5405. # define LT_DLSYM_CONST
  5406. #else
  5407. # define LT_DLSYM_CONST const
  5408. #endif
  5409. #ifdef __cplusplus
  5410. extern "C" {
  5411. #endif
  5412. _LT_EOF
  5413. # Now generate the symbol file.
  5414. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5415. cat <<_LT_EOF >> conftest.$ac_ext
  5416. /* The mapping between symbol names and symbols. */
  5417. LT_DLSYM_CONST struct {
  5418. const char *name;
  5419. void *address;
  5420. }
  5421. lt__PROGRAM__LTX_preloaded_symbols[] =
  5422. {
  5423. { "@PROGRAM@", (void *) 0 },
  5424. _LT_EOF
  5425. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5426. cat <<\_LT_EOF >> conftest.$ac_ext
  5427. {0, (void *) 0}
  5428. };
  5429. /* This works around a problem in FreeBSD linker */
  5430. #ifdef FREEBSD_WORKAROUND
  5431. static const void *lt_preloaded_setup() {
  5432. return lt__PROGRAM__LTX_preloaded_symbols;
  5433. }
  5434. #endif
  5435. #ifdef __cplusplus
  5436. }
  5437. #endif
  5438. _LT_EOF
  5439. # Now try linking the two files.
  5440. mv conftest.$ac_objext conftstm.$ac_objext
  5441. lt_globsym_save_LIBS=$LIBS
  5442. lt_globsym_save_CFLAGS=$CFLAGS
  5443. LIBS="conftstm.$ac_objext"
  5444. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5445. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5446. (eval $ac_link) 2>&5
  5447. ac_status=$?
  5448. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5449. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5450. pipe_works=yes
  5451. fi
  5452. LIBS=$lt_globsym_save_LIBS
  5453. CFLAGS=$lt_globsym_save_CFLAGS
  5454. else
  5455. echo "cannot find nm_test_func in $nlist" >&5
  5456. fi
  5457. else
  5458. echo "cannot find nm_test_var in $nlist" >&5
  5459. fi
  5460. else
  5461. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5462. fi
  5463. else
  5464. echo "$progname: failed program was:" >&5
  5465. cat conftest.$ac_ext >&5
  5466. fi
  5467. rm -rf conftest* conftst*
  5468. # Do not use the global_symbol_pipe unless it works.
  5469. if test "$pipe_works" = yes; then
  5470. break
  5471. else
  5472. lt_cv_sys_global_symbol_pipe=
  5473. fi
  5474. done
  5475. fi
  5476. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5477. lt_cv_sys_global_symbol_to_cdecl=
  5478. fi
  5479. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5480. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5481. $as_echo "failed" >&6; }
  5482. else
  5483. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5484. $as_echo "ok" >&6; }
  5485. fi
  5486. # Response file support.
  5487. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5488. nm_file_list_spec='@'
  5489. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  5490. nm_file_list_spec='@'
  5491. fi
  5492. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  5493. $as_echo_n "checking for sysroot... " >&6; }
  5494. # Check whether --with-sysroot was given.
  5495. if test "${with_sysroot+set}" = set; then :
  5496. withval=$with_sysroot;
  5497. else
  5498. with_sysroot=no
  5499. fi
  5500. lt_sysroot=
  5501. case ${with_sysroot} in #(
  5502. yes)
  5503. if test "$GCC" = yes; then
  5504. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  5505. fi
  5506. ;; #(
  5507. /*)
  5508. lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  5509. ;; #(
  5510. no|'')
  5511. ;; #(
  5512. *)
  5513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  5514. $as_echo "${with_sysroot}" >&6; }
  5515. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  5516. ;;
  5517. esac
  5518. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  5519. $as_echo "${lt_sysroot:-no}" >&6; }
  5520. # Check whether --enable-libtool-lock was given.
  5521. if test "${enable_libtool_lock+set}" = set; then :
  5522. enableval=$enable_libtool_lock;
  5523. fi
  5524. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5525. # Some flags need to be propagated to the compiler or linker for good
  5526. # libtool support.
  5527. case $host in
  5528. ia64-*-hpux*)
  5529. # Find out which ABI we are using.
  5530. echo 'int i;' > conftest.$ac_ext
  5531. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5532. (eval $ac_compile) 2>&5
  5533. ac_status=$?
  5534. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5535. test $ac_status = 0; }; then
  5536. case `/usr/bin/file conftest.$ac_objext` in
  5537. *ELF-32*)
  5538. HPUX_IA64_MODE="32"
  5539. ;;
  5540. *ELF-64*)
  5541. HPUX_IA64_MODE="64"
  5542. ;;
  5543. esac
  5544. fi
  5545. rm -rf conftest*
  5546. ;;
  5547. *-*-irix6*)
  5548. # Find out which ABI we are using.
  5549. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5550. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5551. (eval $ac_compile) 2>&5
  5552. ac_status=$?
  5553. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5554. test $ac_status = 0; }; then
  5555. if test "$lt_cv_prog_gnu_ld" = yes; then
  5556. case `/usr/bin/file conftest.$ac_objext` in
  5557. *32-bit*)
  5558. LD="${LD-ld} -melf32bsmip"
  5559. ;;
  5560. *N32*)
  5561. LD="${LD-ld} -melf32bmipn32"
  5562. ;;
  5563. *64-bit*)
  5564. LD="${LD-ld} -melf64bmip"
  5565. ;;
  5566. esac
  5567. else
  5568. case `/usr/bin/file conftest.$ac_objext` in
  5569. *32-bit*)
  5570. LD="${LD-ld} -32"
  5571. ;;
  5572. *N32*)
  5573. LD="${LD-ld} -n32"
  5574. ;;
  5575. *64-bit*)
  5576. LD="${LD-ld} -64"
  5577. ;;
  5578. esac
  5579. fi
  5580. fi
  5581. rm -rf conftest*
  5582. ;;
  5583. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5584. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5585. # Find out which ABI we are using.
  5586. echo 'int i;' > conftest.$ac_ext
  5587. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5588. (eval $ac_compile) 2>&5
  5589. ac_status=$?
  5590. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5591. test $ac_status = 0; }; then
  5592. case `/usr/bin/file conftest.o` in
  5593. *32-bit*)
  5594. case $host in
  5595. x86_64-*kfreebsd*-gnu)
  5596. LD="${LD-ld} -m elf_i386_fbsd"
  5597. ;;
  5598. x86_64-*linux*)
  5599. LD="${LD-ld} -m elf_i386"
  5600. ;;
  5601. ppc64-*linux*|powerpc64-*linux*)
  5602. LD="${LD-ld} -m elf32ppclinux"
  5603. ;;
  5604. s390x-*linux*)
  5605. LD="${LD-ld} -m elf_s390"
  5606. ;;
  5607. sparc64-*linux*)
  5608. LD="${LD-ld} -m elf32_sparc"
  5609. ;;
  5610. esac
  5611. ;;
  5612. *64-bit*)
  5613. case $host in
  5614. x86_64-*kfreebsd*-gnu)
  5615. LD="${LD-ld} -m elf_x86_64_fbsd"
  5616. ;;
  5617. x86_64-*linux*)
  5618. LD="${LD-ld} -m elf_x86_64"
  5619. ;;
  5620. ppc*-*linux*|powerpc*-*linux*)
  5621. LD="${LD-ld} -m elf64ppc"
  5622. ;;
  5623. s390*-*linux*|s390*-*tpf*)
  5624. LD="${LD-ld} -m elf64_s390"
  5625. ;;
  5626. sparc*-*linux*)
  5627. LD="${LD-ld} -m elf64_sparc"
  5628. ;;
  5629. esac
  5630. ;;
  5631. esac
  5632. fi
  5633. rm -rf conftest*
  5634. ;;
  5635. *-*-sco3.2v5*)
  5636. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5637. SAVE_CFLAGS="$CFLAGS"
  5638. CFLAGS="$CFLAGS -belf"
  5639. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  5640. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5641. if ${lt_cv_cc_needs_belf+:} false; then :
  5642. $as_echo_n "(cached) " >&6
  5643. else
  5644. ac_ext=c
  5645. ac_cpp='$CPP $CPPFLAGS'
  5646. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5647. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5648. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5649. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5650. /* end confdefs.h. */
  5651. int
  5652. main ()
  5653. {
  5654. ;
  5655. return 0;
  5656. }
  5657. _ACEOF
  5658. if ac_fn_c_try_link "$LINENO"; then :
  5659. lt_cv_cc_needs_belf=yes
  5660. else
  5661. lt_cv_cc_needs_belf=no
  5662. fi
  5663. rm -f core conftest.err conftest.$ac_objext \
  5664. conftest$ac_exeext conftest.$ac_ext
  5665. ac_ext=c
  5666. ac_cpp='$CPP $CPPFLAGS'
  5667. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5668. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5669. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5670. fi
  5671. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  5672. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5673. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5674. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5675. CFLAGS="$SAVE_CFLAGS"
  5676. fi
  5677. ;;
  5678. sparc*-*solaris*)
  5679. # Find out which ABI we are using.
  5680. echo 'int i;' > conftest.$ac_ext
  5681. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5682. (eval $ac_compile) 2>&5
  5683. ac_status=$?
  5684. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5685. test $ac_status = 0; }; then
  5686. case `/usr/bin/file conftest.o` in
  5687. *64-bit*)
  5688. case $lt_cv_prog_gnu_ld in
  5689. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  5690. *)
  5691. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5692. LD="${LD-ld} -64"
  5693. fi
  5694. ;;
  5695. esac
  5696. ;;
  5697. esac
  5698. fi
  5699. rm -rf conftest*
  5700. ;;
  5701. esac
  5702. need_locks="$enable_libtool_lock"
  5703. if test -n "$ac_tool_prefix"; then
  5704. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  5705. set dummy ${ac_tool_prefix}mt; ac_word=$2
  5706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5707. $as_echo_n "checking for $ac_word... " >&6; }
  5708. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  5709. $as_echo_n "(cached) " >&6
  5710. else
  5711. if test -n "$MANIFEST_TOOL"; then
  5712. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  5713. else
  5714. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5715. for as_dir in $PATH
  5716. do
  5717. IFS=$as_save_IFS
  5718. test -z "$as_dir" && as_dir=.
  5719. for ac_exec_ext in '' $ac_executable_extensions; do
  5720. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5721. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  5722. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5723. break 2
  5724. fi
  5725. done
  5726. done
  5727. IFS=$as_save_IFS
  5728. fi
  5729. fi
  5730. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  5731. if test -n "$MANIFEST_TOOL"; then
  5732. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  5733. $as_echo "$MANIFEST_TOOL" >&6; }
  5734. else
  5735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5736. $as_echo "no" >&6; }
  5737. fi
  5738. fi
  5739. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  5740. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  5741. # Extract the first word of "mt", so it can be a program name with args.
  5742. set dummy mt; ac_word=$2
  5743. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5744. $as_echo_n "checking for $ac_word... " >&6; }
  5745. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  5746. $as_echo_n "(cached) " >&6
  5747. else
  5748. if test -n "$ac_ct_MANIFEST_TOOL"; then
  5749. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  5750. else
  5751. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5752. for as_dir in $PATH
  5753. do
  5754. IFS=$as_save_IFS
  5755. test -z "$as_dir" && as_dir=.
  5756. for ac_exec_ext in '' $ac_executable_extensions; do
  5757. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5758. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  5759. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5760. break 2
  5761. fi
  5762. done
  5763. done
  5764. IFS=$as_save_IFS
  5765. fi
  5766. fi
  5767. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  5768. if test -n "$ac_ct_MANIFEST_TOOL"; then
  5769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  5770. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  5771. else
  5772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5773. $as_echo "no" >&6; }
  5774. fi
  5775. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  5776. MANIFEST_TOOL=":"
  5777. else
  5778. case $cross_compiling:$ac_tool_warned in
  5779. yes:)
  5780. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5781. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5782. ac_tool_warned=yes ;;
  5783. esac
  5784. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  5785. fi
  5786. else
  5787. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  5788. fi
  5789. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  5790. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  5791. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  5792. if ${lt_cv_path_mainfest_tool+:} false; then :
  5793. $as_echo_n "(cached) " >&6
  5794. else
  5795. lt_cv_path_mainfest_tool=no
  5796. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  5797. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  5798. cat conftest.err >&5
  5799. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  5800. lt_cv_path_mainfest_tool=yes
  5801. fi
  5802. rm -f conftest*
  5803. fi
  5804. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  5805. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  5806. if test "x$lt_cv_path_mainfest_tool" != xyes; then
  5807. MANIFEST_TOOL=:
  5808. fi
  5809. case $host_os in
  5810. rhapsody* | darwin*)
  5811. if test -n "$ac_tool_prefix"; then
  5812. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  5813. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  5814. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5815. $as_echo_n "checking for $ac_word... " >&6; }
  5816. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  5817. $as_echo_n "(cached) " >&6
  5818. else
  5819. if test -n "$DSYMUTIL"; then
  5820. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  5821. else
  5822. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5823. for as_dir in $PATH
  5824. do
  5825. IFS=$as_save_IFS
  5826. test -z "$as_dir" && as_dir=.
  5827. for ac_exec_ext in '' $ac_executable_extensions; do
  5828. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5829. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  5830. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5831. break 2
  5832. fi
  5833. done
  5834. done
  5835. IFS=$as_save_IFS
  5836. fi
  5837. fi
  5838. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  5839. if test -n "$DSYMUTIL"; then
  5840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  5841. $as_echo "$DSYMUTIL" >&6; }
  5842. else
  5843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5844. $as_echo "no" >&6; }
  5845. fi
  5846. fi
  5847. if test -z "$ac_cv_prog_DSYMUTIL"; then
  5848. ac_ct_DSYMUTIL=$DSYMUTIL
  5849. # Extract the first word of "dsymutil", so it can be a program name with args.
  5850. set dummy dsymutil; ac_word=$2
  5851. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5852. $as_echo_n "checking for $ac_word... " >&6; }
  5853. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  5854. $as_echo_n "(cached) " >&6
  5855. else
  5856. if test -n "$ac_ct_DSYMUTIL"; then
  5857. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  5858. else
  5859. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5860. for as_dir in $PATH
  5861. do
  5862. IFS=$as_save_IFS
  5863. test -z "$as_dir" && as_dir=.
  5864. for ac_exec_ext in '' $ac_executable_extensions; do
  5865. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5866. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  5867. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5868. break 2
  5869. fi
  5870. done
  5871. done
  5872. IFS=$as_save_IFS
  5873. fi
  5874. fi
  5875. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  5876. if test -n "$ac_ct_DSYMUTIL"; then
  5877. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  5878. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  5879. else
  5880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5881. $as_echo "no" >&6; }
  5882. fi
  5883. if test "x$ac_ct_DSYMUTIL" = x; then
  5884. DSYMUTIL=":"
  5885. else
  5886. case $cross_compiling:$ac_tool_warned in
  5887. yes:)
  5888. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5889. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5890. ac_tool_warned=yes ;;
  5891. esac
  5892. DSYMUTIL=$ac_ct_DSYMUTIL
  5893. fi
  5894. else
  5895. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  5896. fi
  5897. if test -n "$ac_tool_prefix"; then
  5898. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  5899. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  5900. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5901. $as_echo_n "checking for $ac_word... " >&6; }
  5902. if ${ac_cv_prog_NMEDIT+:} false; then :
  5903. $as_echo_n "(cached) " >&6
  5904. else
  5905. if test -n "$NMEDIT"; then
  5906. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  5907. else
  5908. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5909. for as_dir in $PATH
  5910. do
  5911. IFS=$as_save_IFS
  5912. test -z "$as_dir" && as_dir=.
  5913. for ac_exec_ext in '' $ac_executable_extensions; do
  5914. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5915. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  5916. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5917. break 2
  5918. fi
  5919. done
  5920. done
  5921. IFS=$as_save_IFS
  5922. fi
  5923. fi
  5924. NMEDIT=$ac_cv_prog_NMEDIT
  5925. if test -n "$NMEDIT"; then
  5926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  5927. $as_echo "$NMEDIT" >&6; }
  5928. else
  5929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5930. $as_echo "no" >&6; }
  5931. fi
  5932. fi
  5933. if test -z "$ac_cv_prog_NMEDIT"; then
  5934. ac_ct_NMEDIT=$NMEDIT
  5935. # Extract the first word of "nmedit", so it can be a program name with args.
  5936. set dummy nmedit; ac_word=$2
  5937. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5938. $as_echo_n "checking for $ac_word... " >&6; }
  5939. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  5940. $as_echo_n "(cached) " >&6
  5941. else
  5942. if test -n "$ac_ct_NMEDIT"; then
  5943. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  5944. else
  5945. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5946. for as_dir in $PATH
  5947. do
  5948. IFS=$as_save_IFS
  5949. test -z "$as_dir" && as_dir=.
  5950. for ac_exec_ext in '' $ac_executable_extensions; do
  5951. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5952. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  5953. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5954. break 2
  5955. fi
  5956. done
  5957. done
  5958. IFS=$as_save_IFS
  5959. fi
  5960. fi
  5961. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  5962. if test -n "$ac_ct_NMEDIT"; then
  5963. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  5964. $as_echo "$ac_ct_NMEDIT" >&6; }
  5965. else
  5966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5967. $as_echo "no" >&6; }
  5968. fi
  5969. if test "x$ac_ct_NMEDIT" = x; then
  5970. NMEDIT=":"
  5971. else
  5972. case $cross_compiling:$ac_tool_warned in
  5973. yes:)
  5974. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5975. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5976. ac_tool_warned=yes ;;
  5977. esac
  5978. NMEDIT=$ac_ct_NMEDIT
  5979. fi
  5980. else
  5981. NMEDIT="$ac_cv_prog_NMEDIT"
  5982. fi
  5983. if test -n "$ac_tool_prefix"; then
  5984. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  5985. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  5986. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5987. $as_echo_n "checking for $ac_word... " >&6; }
  5988. if ${ac_cv_prog_LIPO+:} false; then :
  5989. $as_echo_n "(cached) " >&6
  5990. else
  5991. if test -n "$LIPO"; then
  5992. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  5993. else
  5994. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5995. for as_dir in $PATH
  5996. do
  5997. IFS=$as_save_IFS
  5998. test -z "$as_dir" && as_dir=.
  5999. for ac_exec_ext in '' $ac_executable_extensions; do
  6000. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6001. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6002. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6003. break 2
  6004. fi
  6005. done
  6006. done
  6007. IFS=$as_save_IFS
  6008. fi
  6009. fi
  6010. LIPO=$ac_cv_prog_LIPO
  6011. if test -n "$LIPO"; then
  6012. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6013. $as_echo "$LIPO" >&6; }
  6014. else
  6015. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6016. $as_echo "no" >&6; }
  6017. fi
  6018. fi
  6019. if test -z "$ac_cv_prog_LIPO"; then
  6020. ac_ct_LIPO=$LIPO
  6021. # Extract the first word of "lipo", so it can be a program name with args.
  6022. set dummy lipo; ac_word=$2
  6023. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6024. $as_echo_n "checking for $ac_word... " >&6; }
  6025. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6026. $as_echo_n "(cached) " >&6
  6027. else
  6028. if test -n "$ac_ct_LIPO"; then
  6029. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6030. else
  6031. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6032. for as_dir in $PATH
  6033. do
  6034. IFS=$as_save_IFS
  6035. test -z "$as_dir" && as_dir=.
  6036. for ac_exec_ext in '' $ac_executable_extensions; do
  6037. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6038. ac_cv_prog_ac_ct_LIPO="lipo"
  6039. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6040. break 2
  6041. fi
  6042. done
  6043. done
  6044. IFS=$as_save_IFS
  6045. fi
  6046. fi
  6047. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6048. if test -n "$ac_ct_LIPO"; then
  6049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6050. $as_echo "$ac_ct_LIPO" >&6; }
  6051. else
  6052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6053. $as_echo "no" >&6; }
  6054. fi
  6055. if test "x$ac_ct_LIPO" = x; then
  6056. LIPO=":"
  6057. else
  6058. case $cross_compiling:$ac_tool_warned in
  6059. yes:)
  6060. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6061. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6062. ac_tool_warned=yes ;;
  6063. esac
  6064. LIPO=$ac_ct_LIPO
  6065. fi
  6066. else
  6067. LIPO="$ac_cv_prog_LIPO"
  6068. fi
  6069. if test -n "$ac_tool_prefix"; then
  6070. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6071. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6072. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6073. $as_echo_n "checking for $ac_word... " >&6; }
  6074. if ${ac_cv_prog_OTOOL+:} false; then :
  6075. $as_echo_n "(cached) " >&6
  6076. else
  6077. if test -n "$OTOOL"; then
  6078. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6079. else
  6080. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6081. for as_dir in $PATH
  6082. do
  6083. IFS=$as_save_IFS
  6084. test -z "$as_dir" && as_dir=.
  6085. for ac_exec_ext in '' $ac_executable_extensions; do
  6086. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6087. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6088. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6089. break 2
  6090. fi
  6091. done
  6092. done
  6093. IFS=$as_save_IFS
  6094. fi
  6095. fi
  6096. OTOOL=$ac_cv_prog_OTOOL
  6097. if test -n "$OTOOL"; then
  6098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6099. $as_echo "$OTOOL" >&6; }
  6100. else
  6101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6102. $as_echo "no" >&6; }
  6103. fi
  6104. fi
  6105. if test -z "$ac_cv_prog_OTOOL"; then
  6106. ac_ct_OTOOL=$OTOOL
  6107. # Extract the first word of "otool", so it can be a program name with args.
  6108. set dummy otool; ac_word=$2
  6109. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6110. $as_echo_n "checking for $ac_word... " >&6; }
  6111. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  6112. $as_echo_n "(cached) " >&6
  6113. else
  6114. if test -n "$ac_ct_OTOOL"; then
  6115. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6116. else
  6117. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6118. for as_dir in $PATH
  6119. do
  6120. IFS=$as_save_IFS
  6121. test -z "$as_dir" && as_dir=.
  6122. for ac_exec_ext in '' $ac_executable_extensions; do
  6123. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6124. ac_cv_prog_ac_ct_OTOOL="otool"
  6125. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6126. break 2
  6127. fi
  6128. done
  6129. done
  6130. IFS=$as_save_IFS
  6131. fi
  6132. fi
  6133. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6134. if test -n "$ac_ct_OTOOL"; then
  6135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6136. $as_echo "$ac_ct_OTOOL" >&6; }
  6137. else
  6138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6139. $as_echo "no" >&6; }
  6140. fi
  6141. if test "x$ac_ct_OTOOL" = x; then
  6142. OTOOL=":"
  6143. else
  6144. case $cross_compiling:$ac_tool_warned in
  6145. yes:)
  6146. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6147. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6148. ac_tool_warned=yes ;;
  6149. esac
  6150. OTOOL=$ac_ct_OTOOL
  6151. fi
  6152. else
  6153. OTOOL="$ac_cv_prog_OTOOL"
  6154. fi
  6155. if test -n "$ac_tool_prefix"; then
  6156. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6157. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6158. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6159. $as_echo_n "checking for $ac_word... " >&6; }
  6160. if ${ac_cv_prog_OTOOL64+:} false; then :
  6161. $as_echo_n "(cached) " >&6
  6162. else
  6163. if test -n "$OTOOL64"; then
  6164. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6165. else
  6166. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6167. for as_dir in $PATH
  6168. do
  6169. IFS=$as_save_IFS
  6170. test -z "$as_dir" && as_dir=.
  6171. for ac_exec_ext in '' $ac_executable_extensions; do
  6172. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6173. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6174. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6175. break 2
  6176. fi
  6177. done
  6178. done
  6179. IFS=$as_save_IFS
  6180. fi
  6181. fi
  6182. OTOOL64=$ac_cv_prog_OTOOL64
  6183. if test -n "$OTOOL64"; then
  6184. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6185. $as_echo "$OTOOL64" >&6; }
  6186. else
  6187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6188. $as_echo "no" >&6; }
  6189. fi
  6190. fi
  6191. if test -z "$ac_cv_prog_OTOOL64"; then
  6192. ac_ct_OTOOL64=$OTOOL64
  6193. # Extract the first word of "otool64", so it can be a program name with args.
  6194. set dummy otool64; ac_word=$2
  6195. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6196. $as_echo_n "checking for $ac_word... " >&6; }
  6197. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  6198. $as_echo_n "(cached) " >&6
  6199. else
  6200. if test -n "$ac_ct_OTOOL64"; then
  6201. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6202. else
  6203. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6204. for as_dir in $PATH
  6205. do
  6206. IFS=$as_save_IFS
  6207. test -z "$as_dir" && as_dir=.
  6208. for ac_exec_ext in '' $ac_executable_extensions; do
  6209. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6210. ac_cv_prog_ac_ct_OTOOL64="otool64"
  6211. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6212. break 2
  6213. fi
  6214. done
  6215. done
  6216. IFS=$as_save_IFS
  6217. fi
  6218. fi
  6219. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6220. if test -n "$ac_ct_OTOOL64"; then
  6221. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  6222. $as_echo "$ac_ct_OTOOL64" >&6; }
  6223. else
  6224. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6225. $as_echo "no" >&6; }
  6226. fi
  6227. if test "x$ac_ct_OTOOL64" = x; then
  6228. OTOOL64=":"
  6229. else
  6230. case $cross_compiling:$ac_tool_warned in
  6231. yes:)
  6232. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6233. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6234. ac_tool_warned=yes ;;
  6235. esac
  6236. OTOOL64=$ac_ct_OTOOL64
  6237. fi
  6238. else
  6239. OTOOL64="$ac_cv_prog_OTOOL64"
  6240. fi
  6241. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  6242. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6243. if ${lt_cv_apple_cc_single_mod+:} false; then :
  6244. $as_echo_n "(cached) " >&6
  6245. else
  6246. lt_cv_apple_cc_single_mod=no
  6247. if test -z "${LT_MULTI_MODULE}"; then
  6248. # By default we will add the -single_module flag. You can override
  6249. # by either setting the environment variable LT_MULTI_MODULE
  6250. # non-empty at configure time, or by adding -multi_module to the
  6251. # link flags.
  6252. rm -rf libconftest.dylib*
  6253. echo "int foo(void){return 1;}" > conftest.c
  6254. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6255. -dynamiclib -Wl,-single_module conftest.c" >&5
  6256. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6257. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6258. _lt_result=$?
  6259. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  6260. lt_cv_apple_cc_single_mod=yes
  6261. else
  6262. cat conftest.err >&5
  6263. fi
  6264. rm -rf libconftest.dylib*
  6265. rm -f conftest.*
  6266. fi
  6267. fi
  6268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  6269. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6270. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  6271. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6272. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  6273. $as_echo_n "(cached) " >&6
  6274. else
  6275. lt_cv_ld_exported_symbols_list=no
  6276. save_LDFLAGS=$LDFLAGS
  6277. echo "_main" > conftest.sym
  6278. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6279. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6280. /* end confdefs.h. */
  6281. int
  6282. main ()
  6283. {
  6284. ;
  6285. return 0;
  6286. }
  6287. _ACEOF
  6288. if ac_fn_c_try_link "$LINENO"; then :
  6289. lt_cv_ld_exported_symbols_list=yes
  6290. else
  6291. lt_cv_ld_exported_symbols_list=no
  6292. fi
  6293. rm -f core conftest.err conftest.$ac_objext \
  6294. conftest$ac_exeext conftest.$ac_ext
  6295. LDFLAGS="$save_LDFLAGS"
  6296. fi
  6297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  6298. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6299. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  6300. $as_echo_n "checking for -force_load linker flag... " >&6; }
  6301. if ${lt_cv_ld_force_load+:} false; then :
  6302. $as_echo_n "(cached) " >&6
  6303. else
  6304. lt_cv_ld_force_load=no
  6305. cat > conftest.c << _LT_EOF
  6306. int forced_loaded() { return 2;}
  6307. _LT_EOF
  6308. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  6309. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  6310. echo "$AR cru libconftest.a conftest.o" >&5
  6311. $AR cru libconftest.a conftest.o 2>&5
  6312. echo "$RANLIB libconftest.a" >&5
  6313. $RANLIB libconftest.a 2>&5
  6314. cat > conftest.c << _LT_EOF
  6315. int main() { return 0;}
  6316. _LT_EOF
  6317. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  6318. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  6319. _lt_result=$?
  6320. if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  6321. lt_cv_ld_force_load=yes
  6322. else
  6323. cat conftest.err >&5
  6324. fi
  6325. rm -f conftest.err libconftest.a conftest conftest.c
  6326. rm -rf conftest.dSYM
  6327. fi
  6328. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  6329. $as_echo "$lt_cv_ld_force_load" >&6; }
  6330. case $host_os in
  6331. rhapsody* | darwin1.[012])
  6332. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6333. darwin1.*)
  6334. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6335. darwin*) # darwin 5.x on
  6336. # if running on 10.5 or later, the deployment target defaults
  6337. # to the OS version, if on x86, and 10.4, the deployment
  6338. # target defaults to 10.4. Don't you love it?
  6339. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6340. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6341. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6342. 10.[012]*)
  6343. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6344. 10.*)
  6345. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6346. esac
  6347. ;;
  6348. esac
  6349. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  6350. _lt_dar_single_mod='$single_module'
  6351. fi
  6352. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  6353. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  6354. else
  6355. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  6356. fi
  6357. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  6358. _lt_dsymutil='~$DSYMUTIL $lib || :'
  6359. else
  6360. _lt_dsymutil=
  6361. fi
  6362. ;;
  6363. esac
  6364. ac_ext=c
  6365. ac_cpp='$CPP $CPPFLAGS'
  6366. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6367. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6368. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6369. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6370. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6371. # On Suns, sometimes $CPP names a directory.
  6372. if test -n "$CPP" && test -d "$CPP"; then
  6373. CPP=
  6374. fi
  6375. if test -z "$CPP"; then
  6376. if ${ac_cv_prog_CPP+:} false; then :
  6377. $as_echo_n "(cached) " >&6
  6378. else
  6379. # Double quotes because CPP needs to be expanded
  6380. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6381. do
  6382. ac_preproc_ok=false
  6383. for ac_c_preproc_warn_flag in '' yes
  6384. do
  6385. # Use a header file that comes with gcc, so configuring glibc
  6386. # with a fresh cross-compiler works.
  6387. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6388. # <limits.h> exists even on freestanding compilers.
  6389. # On the NeXT, cc -E runs the code through the compiler's parser,
  6390. # not just through cpp. "Syntax error" is here to catch this case.
  6391. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6392. /* end confdefs.h. */
  6393. #ifdef __STDC__
  6394. # include <limits.h>
  6395. #else
  6396. # include <assert.h>
  6397. #endif
  6398. Syntax error
  6399. _ACEOF
  6400. if ac_fn_c_try_cpp "$LINENO"; then :
  6401. else
  6402. # Broken: fails on valid input.
  6403. continue
  6404. fi
  6405. rm -f conftest.err conftest.i conftest.$ac_ext
  6406. # OK, works on sane cases. Now check whether nonexistent headers
  6407. # can be detected and how.
  6408. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6409. /* end confdefs.h. */
  6410. #include <ac_nonexistent.h>
  6411. _ACEOF
  6412. if ac_fn_c_try_cpp "$LINENO"; then :
  6413. # Broken: success on invalid input.
  6414. continue
  6415. else
  6416. # Passes both tests.
  6417. ac_preproc_ok=:
  6418. break
  6419. fi
  6420. rm -f conftest.err conftest.i conftest.$ac_ext
  6421. done
  6422. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6423. rm -f conftest.i conftest.err conftest.$ac_ext
  6424. if $ac_preproc_ok; then :
  6425. break
  6426. fi
  6427. done
  6428. ac_cv_prog_CPP=$CPP
  6429. fi
  6430. CPP=$ac_cv_prog_CPP
  6431. else
  6432. ac_cv_prog_CPP=$CPP
  6433. fi
  6434. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6435. $as_echo "$CPP" >&6; }
  6436. ac_preproc_ok=false
  6437. for ac_c_preproc_warn_flag in '' yes
  6438. do
  6439. # Use a header file that comes with gcc, so configuring glibc
  6440. # with a fresh cross-compiler works.
  6441. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6442. # <limits.h> exists even on freestanding compilers.
  6443. # On the NeXT, cc -E runs the code through the compiler's parser,
  6444. # not just through cpp. "Syntax error" is here to catch this case.
  6445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6446. /* end confdefs.h. */
  6447. #ifdef __STDC__
  6448. # include <limits.h>
  6449. #else
  6450. # include <assert.h>
  6451. #endif
  6452. Syntax error
  6453. _ACEOF
  6454. if ac_fn_c_try_cpp "$LINENO"; then :
  6455. else
  6456. # Broken: fails on valid input.
  6457. continue
  6458. fi
  6459. rm -f conftest.err conftest.i conftest.$ac_ext
  6460. # OK, works on sane cases. Now check whether nonexistent headers
  6461. # can be detected and how.
  6462. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6463. /* end confdefs.h. */
  6464. #include <ac_nonexistent.h>
  6465. _ACEOF
  6466. if ac_fn_c_try_cpp "$LINENO"; then :
  6467. # Broken: success on invalid input.
  6468. continue
  6469. else
  6470. # Passes both tests.
  6471. ac_preproc_ok=:
  6472. break
  6473. fi
  6474. rm -f conftest.err conftest.i conftest.$ac_ext
  6475. done
  6476. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6477. rm -f conftest.i conftest.err conftest.$ac_ext
  6478. if $ac_preproc_ok; then :
  6479. else
  6480. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6481. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6482. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6483. See \`config.log' for more details" "$LINENO" 5; }
  6484. fi
  6485. ac_ext=c
  6486. ac_cpp='$CPP $CPPFLAGS'
  6487. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6488. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6489. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6490. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6491. $as_echo_n "checking for ANSI C header files... " >&6; }
  6492. if ${ac_cv_header_stdc+:} false; then :
  6493. $as_echo_n "(cached) " >&6
  6494. else
  6495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6496. /* end confdefs.h. */
  6497. #include <stdlib.h>
  6498. #include <stdarg.h>
  6499. #include <string.h>
  6500. #include <float.h>
  6501. int
  6502. main ()
  6503. {
  6504. ;
  6505. return 0;
  6506. }
  6507. _ACEOF
  6508. if ac_fn_c_try_compile "$LINENO"; then :
  6509. ac_cv_header_stdc=yes
  6510. else
  6511. ac_cv_header_stdc=no
  6512. fi
  6513. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6514. if test $ac_cv_header_stdc = yes; then
  6515. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6516. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6517. /* end confdefs.h. */
  6518. #include <string.h>
  6519. _ACEOF
  6520. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6521. $EGREP "memchr" >/dev/null 2>&1; then :
  6522. else
  6523. ac_cv_header_stdc=no
  6524. fi
  6525. rm -f conftest*
  6526. fi
  6527. if test $ac_cv_header_stdc = yes; then
  6528. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6529. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6530. /* end confdefs.h. */
  6531. #include <stdlib.h>
  6532. _ACEOF
  6533. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6534. $EGREP "free" >/dev/null 2>&1; then :
  6535. else
  6536. ac_cv_header_stdc=no
  6537. fi
  6538. rm -f conftest*
  6539. fi
  6540. if test $ac_cv_header_stdc = yes; then
  6541. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6542. if test "$cross_compiling" = yes; then :
  6543. :
  6544. else
  6545. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6546. /* end confdefs.h. */
  6547. #include <ctype.h>
  6548. #include <stdlib.h>
  6549. #if ((' ' & 0x0FF) == 0x020)
  6550. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6551. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6552. #else
  6553. # define ISLOWER(c) \
  6554. (('a' <= (c) && (c) <= 'i') \
  6555. || ('j' <= (c) && (c) <= 'r') \
  6556. || ('s' <= (c) && (c) <= 'z'))
  6557. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6558. #endif
  6559. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6560. int
  6561. main ()
  6562. {
  6563. int i;
  6564. for (i = 0; i < 256; i++)
  6565. if (XOR (islower (i), ISLOWER (i))
  6566. || toupper (i) != TOUPPER (i))
  6567. return 2;
  6568. return 0;
  6569. }
  6570. _ACEOF
  6571. if ac_fn_c_try_run "$LINENO"; then :
  6572. else
  6573. ac_cv_header_stdc=no
  6574. fi
  6575. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6576. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6577. fi
  6578. fi
  6579. fi
  6580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6581. $as_echo "$ac_cv_header_stdc" >&6; }
  6582. if test $ac_cv_header_stdc = yes; then
  6583. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6584. fi
  6585. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6586. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6587. inttypes.h stdint.h unistd.h
  6588. do :
  6589. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6590. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6591. "
  6592. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6593. cat >>confdefs.h <<_ACEOF
  6594. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6595. _ACEOF
  6596. fi
  6597. done
  6598. for ac_header in dlfcn.h
  6599. do :
  6600. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6601. "
  6602. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  6603. cat >>confdefs.h <<_ACEOF
  6604. #define HAVE_DLFCN_H 1
  6605. _ACEOF
  6606. fi
  6607. done
  6608. # Set options
  6609. enable_dlopen=no
  6610. enable_win32_dll=no
  6611. # Check whether --enable-shared was given.
  6612. if test "${enable_shared+set}" = set; then :
  6613. enableval=$enable_shared; p=${PACKAGE-default}
  6614. case $enableval in
  6615. yes) enable_shared=yes ;;
  6616. no) enable_shared=no ;;
  6617. *)
  6618. enable_shared=no
  6619. # Look at the argument we got. We use all the common list separators.
  6620. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6621. for pkg in $enableval; do
  6622. IFS="$lt_save_ifs"
  6623. if test "X$pkg" = "X$p"; then
  6624. enable_shared=yes
  6625. fi
  6626. done
  6627. IFS="$lt_save_ifs"
  6628. ;;
  6629. esac
  6630. else
  6631. enable_shared=yes
  6632. fi
  6633. # Check whether --enable-static was given.
  6634. if test "${enable_static+set}" = set; then :
  6635. enableval=$enable_static; p=${PACKAGE-default}
  6636. case $enableval in
  6637. yes) enable_static=yes ;;
  6638. no) enable_static=no ;;
  6639. *)
  6640. enable_static=no
  6641. # Look at the argument we got. We use all the common list separators.
  6642. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6643. for pkg in $enableval; do
  6644. IFS="$lt_save_ifs"
  6645. if test "X$pkg" = "X$p"; then
  6646. enable_static=yes
  6647. fi
  6648. done
  6649. IFS="$lt_save_ifs"
  6650. ;;
  6651. esac
  6652. else
  6653. enable_static=yes
  6654. fi
  6655. # Check whether --with-pic was given.
  6656. if test "${with_pic+set}" = set; then :
  6657. withval=$with_pic; pic_mode="$withval"
  6658. else
  6659. pic_mode=default
  6660. fi
  6661. test -z "$pic_mode" && pic_mode=default