configure 514 KB

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