configure 498 KB

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