configure 479 KB

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