v2.4.1 915 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653
  1. Description: <short summary of the patch>
  2. TODO: Put a short summary on the line above and replace this paragraph
  3. with a longer explanation of this change. Complete the meta-information
  4. with other relevant fields (see below for details). To make it easier, the
  5. information below has been extracted from the changelog. Adjust it or drop
  6. it.
  7. .
  8. cgminer (2.4.1-1) stable; urgency=low
  9. .
  10. Version 2.4.1-1 - May 6, 2012
  11. - In the unlikely event of finding a block, display the block solved count with
  12. the pool it came from for auditing.
  13. - Display the device summary on exit even if a device has been disabled.
  14. - Use correct pool enabled enums in api.c.
  15. - Import Debian packaging configs
  16. - Ensure we test for a pool recovering from idle so long as it's not set to
  17. disabled.
  18. - Fix pool number display.
  19. - Give cgminer -T message only if curses is in use.
  20. - Reinit_adl is no longer used.
  21. - API 'stats' allow devices to add their own stats also for testing/debug
  22. - API add getwork stats to cgminer - accesable from API 'stats'
  23. - Don't initialise variables to zero when in global scope since they're already
  24. initialised.
  25. - Get rid of unitialised variable warning when it's false.
  26. - Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
  27. continuous rejected shares.
  28. - Some tweaks to reporting and logging.
  29. - Change FPGA detection order since BFL hangs on an ICA
  30. - API support new pool status
  31. - Add a temporarily disabled state for enabled pools called POOL_REJECTING and
  32. use the work from each longpoll to help determine when a rejecting pool has
  33. started working again. Switch pools based on the multipool strategy once a pool
  34. is re-enabled.
  35. - Removing extra debug
  36. - Fix the benchmark feature by bypassing the new networking code.
  37. - Reset sequential reject counter after a pool is disabled for when it is
  38. re-enabled.
  39. - Icarus - correct MH/s and U: with work restart set at 8 seconds
  40. - ztex updateFreq was always reporting on fpga 0
  41. - Trying harder to get 1.15y working
  42. - Specifying threads on multi fpga boards extra cgpu
  43. - Missing the add cgpu per extra fpga on 1.15y boards
  44. - API add last share time to each pool
  45. - Don't try to reap curls if benchmarking is enabled.
  46. Author: nushor <nushor11@gmail.com>
  47. ---
  48. The information above should follow the Patch Tagging Guidelines, please
  49. checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
  50. are templates for supplementary fields that you might want to add:
  51. Origin: <vendor|upstream|other>, <url of original patch>
  52. Bug: <url in upstream bugtracker>
  53. Bug-Debian: http://bugs.debian.org/<bugnumber>
  54. Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
  55. Forwarded: <no|not-needed|url proving that it has been forwarded>
  56. Reviewed-By: <name and email of someone who approved the patch>
  57. Last-Update: <YYYY-MM-DD>
  58. --- cgminer-2.4.1.orig/libztex.c
  59. +++ cgminer-2.4.1/libztex.c
  60. @@ -125,6 +125,107 @@ static int libztex_getFpgaState(struct l
  61. return 0;
  62. }
  63. +static int libztex_configureFpgaHS(struct libztex_device *ztex, const char* firmware, bool force, char bs)
  64. +{
  65. + struct libztex_fpgastate state;
  66. + const int transactionBytes = 65536;
  67. + unsigned char buf[transactionBytes], settings[2];
  68. + int tries, cnt, buf_p, i;
  69. + ssize_t pos = 0;
  70. + FILE *fp;
  71. +
  72. + if (!libztex_checkCapability(ztex, CAPABILITY_HS_FPGA))
  73. + return -1;
  74. + libztex_getFpgaState(ztex, &state);
  75. + if (!force && state.fpgaConfigured) {
  76. + applog(LOG_INFO, "Bitstream already configured");
  77. + return 1;
  78. + }
  79. + cnt = libusb_control_transfer(ztex->hndl, 0xc0, 0x33, 0, 0, settings, 2, 1000);
  80. + if (unlikely(cnt < 0)) {
  81. + applog(LOG_ERR, "%s: Failed getHSFpgaSettings with err %d", ztex->repr, cnt);
  82. + return cnt;
  83. + }
  84. +
  85. + libusb_claim_interface(ztex->hndl, settings[1]);
  86. +
  87. + for (tries = 3; tries > 0; tries--) {
  88. + fp = fopen(firmware, "rb");
  89. + if (!fp) {
  90. + applog(LOG_ERR, "%s: failed to read firmware '%s'", ztex->repr, firmware);
  91. + return -2;
  92. + }
  93. +
  94. + while (pos < transactionBytes && !feof(fp)) {
  95. + buf[pos++] = getc(fp);
  96. + }
  97. +
  98. + if (feof(fp))
  99. + pos--;
  100. +
  101. + if (bs != 0 && bs != 1)
  102. + bs = libztex_detectBitstreamBitOrder(buf, transactionBytes < pos? transactionBytes: pos);
  103. +
  104. +
  105. + if (bs == 1)
  106. + libztex_swapBits(buf, pos);
  107. +
  108. + libusb_control_transfer(ztex->hndl, 0x40, 0x34, 0, 0, NULL, 0, 1000);
  109. + // 0x34 - initHSFPGAConfiguration
  110. +
  111. + buf_p = pos;
  112. + while (1) {
  113. + i = 0;
  114. + while (i < buf_p) {
  115. + if (libusb_bulk_transfer(ztex->hndl,
  116. + settings[0],
  117. + &buf[i],
  118. + buf_p - i,
  119. + &cnt, 1000) != 0) {
  120. + applog(LOG_ERR, "%s: Failed send hs fpga data", ztex->repr);
  121. + break;
  122. + }
  123. + usleep(500);
  124. + i += cnt;
  125. + }
  126. + if (i < buf_p || buf_p < transactionBytes)
  127. + break;
  128. + buf_p = 0;
  129. + while (buf_p < transactionBytes && !feof(fp)) {
  130. + buf[buf_p++] = getc(fp);
  131. + }
  132. + if (feof(fp))
  133. + buf_p--;
  134. + pos += buf_p;
  135. + if (buf_p == 0)
  136. + break;
  137. + if (bs == 1)
  138. + libztex_swapBits(buf, buf_p);
  139. + }
  140. +
  141. + libusb_control_transfer(ztex->hndl, 0x40, 0x35, 0, 0, NULL, 0, 1000);
  142. + // 0x35 - finishHSFPGAConfiguration
  143. + if (cnt >= 0)
  144. + tries = 0;
  145. +
  146. + fclose(fp);
  147. +
  148. + libztex_getFpgaState(ztex, &state);
  149. + if (!state.fpgaConfigured) {
  150. + applog(LOG_ERR, "%s: HS FPGA configuration failed: DONE pin does not go high", ztex->repr);
  151. + return -3;
  152. + }
  153. +
  154. + }
  155. +
  156. + libusb_release_interface(ztex->hndl, settings[1]);
  157. +
  158. + usleep(200000);
  159. + applog(LOG_INFO, "%s: HS FPGA configuration done", ztex->repr);
  160. + return 0;
  161. +
  162. +}
  163. +
  164. static int libztex_configureFpgaLS(struct libztex_device *ztex, const char* firmware, bool force, char bs)
  165. {
  166. struct libztex_fpgastate state;
  167. @@ -216,12 +317,15 @@ static int libztex_configureFpgaLS(struc
  168. int libztex_configureFpga(struct libztex_device *ztex)
  169. {
  170. char buf[256] = "bitstreams/";
  171. + int rv;
  172. memset(&buf[11], 0, 245);
  173. strcpy(&buf[11], ztex->bitFileName);
  174. strcpy(&buf[strlen(buf)], ".bit");
  175. -
  176. - return libztex_configureFpgaLS(ztex, buf, true, 2);
  177. + rv = libztex_configureFpgaHS(ztex, buf, true, 2);
  178. + if (rv != 0)
  179. + rv = libztex_configureFpgaLS(ztex, buf, true, 2);
  180. + return rv;
  181. }
  182. int libztex_numberOfFpgas(struct libztex_device *ztex) {
  183. @@ -235,30 +339,31 @@ int libztex_numberOfFpgas(struct libztex
  184. return cnt;
  185. }
  186. ztex->numberOfFpgas = buf[0] + 1;
  187. - ztex->selectedFpga = buf[1];
  188. + ztex->selectedFpga = -1;//buf[1];
  189. ztex->parallelConfigSupport = (buf[2] == 1);
  190. } else {
  191. ztex->numberOfFpgas = 1;
  192. - ztex->selectedFpga = 0;
  193. + ztex->selectedFpga = -1;//0;
  194. ztex->parallelConfigSupport = false;
  195. }
  196. }
  197. return ztex->numberOfFpgas;
  198. }
  199. -int libztex_selectFpga(struct libztex_device *ztex, int number) {
  200. - int cnt, fpgacnt = libztex_numberOfFpgas(ztex);
  201. +int libztex_selectFpga(struct libztex_device *ztex) {
  202. + int cnt, fpgacnt = libztex_numberOfFpgas(ztex->root);
  203. + int number = ztex->fpgaNum;
  204. if (number < 0 || number >= fpgacnt) {
  205. applog(LOG_WARNING, "%s: Trying to select wrong fpga (%d in %d)", ztex->repr, number, fpgacnt);
  206. return 1;
  207. }
  208. - if (ztex->selectedFpga != number && libztex_checkCapability(ztex, CAPABILITY_MULTI_FPGA)) {
  209. - cnt = libusb_control_transfer(ztex->hndl, 0x40, 0x51, number, 0, NULL, 0, 500);
  210. + if (ztex->root->selectedFpga != number && libztex_checkCapability(ztex->root, CAPABILITY_MULTI_FPGA)) {
  211. + cnt = libusb_control_transfer(ztex->root->hndl, 0x40, 0x51, number, 0, NULL, 0, 500);
  212. if (unlikely(cnt < 0)) {
  213. applog(LOG_ERR, "Ztex check device: Failed to set fpga with err %d", cnt);
  214. return cnt;
  215. }
  216. - ztex->selectedFpga = number;
  217. + ztex->root->selectedFpga = number;
  218. }
  219. return 0;
  220. }
  221. @@ -276,8 +381,12 @@ int libztex_setFreq(struct libztex_devic
  222. return cnt;
  223. }
  224. ztex->freqM = freq;
  225. - applog(LOG_WARNING, "%s: Frequency change from %0.2f to %0.2f Mhz",
  226. - ztex->repr, ztex->freqM1 * (oldfreq + 1), ztex->freqM1 * (ztex->freqM + 1));
  227. + if (oldfreq > ztex->freqMaxM)
  228. + applog(LOG_WARNING, "%s: Frequency set to %0.2f Mhz",
  229. + ztex->repr, ztex->freqM1 * (ztex->freqM + 1));
  230. + else
  231. + applog(LOG_WARNING, "%s: Frequency change from %0.2f to %0.2f Mhz",
  232. + ztex->repr, ztex->freqM1 * (oldfreq + 1), ztex->freqM1 * (ztex->freqM + 1));
  233. return 0;
  234. }
  235. @@ -426,7 +535,7 @@ int libztex_prepare_device(struct libusb
  236. newdev->usbbus = libusb_get_bus_number(dev);
  237. newdev->usbaddress = libusb_get_device_address(dev);
  238. - sprintf(newdev->repr, "ZTEX %.3d:%.3d-%s", newdev->usbbus, newdev->usbaddress, newdev->snString);
  239. + sprintf(newdev->repr, "ZTEX %s-1", newdev->snString);
  240. newdev->valid = true;
  241. return 0;
  242. }
  243. --- /dev/null
  244. +++ cgminer-2.4.1/config.h.in
  245. @@ -0,0 +1,465 @@
  246. +/* config.h.in. Generated from configure.ac by autoheader. */
  247. +
  248. +/* Define to the number of bits in type 'ptrdiff_t'. */
  249. +#undef BITSIZEOF_PTRDIFF_T
  250. +
  251. +/* Define to the number of bits in type 'sig_atomic_t'. */
  252. +#undef BITSIZEOF_SIG_ATOMIC_T
  253. +
  254. +/* Define to the number of bits in type 'size_t'. */
  255. +#undef BITSIZEOF_SIZE_T
  256. +
  257. +/* Define to the number of bits in type 'wchar_t'. */
  258. +#undef BITSIZEOF_WCHAR_T
  259. +
  260. +/* Define to the number of bits in type 'wint_t'. */
  261. +#undef BITSIZEOF_WINT_T
  262. +
  263. +/* Major version */
  264. +#undef CGMINER_MAJOR_VERSION
  265. +
  266. +/* Micro version */
  267. +#undef CGMINER_MINOR_SUBVERSION
  268. +
  269. +/* Minor version */
  270. +#undef CGMINER_MINOR_VERSION
  271. +
  272. +/* Path to cgminer install */
  273. +#undef CGMINER_PREFIX
  274. +
  275. +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
  276. + systems. This function is required for `alloca.c' support on those systems.
  277. + */
  278. +#undef CRAY_STACKSEG_END
  279. +
  280. +/* Defined if version of curl supports sockopts. */
  281. +#undef CURL_HAS_SOCKOPT
  282. +
  283. +/* Define to 1 if using `alloca.c'. */
  284. +#undef C_ALLOCA
  285. +
  286. +/* Filename for diablo kernel */
  287. +#undef DIABLO_KERNNAME
  288. +
  289. +/* Filename for diakgcn kernel */
  290. +#undef DIAKGCN_KERNNAME
  291. +
  292. +/* Define to 1 when the gnulib module memchr should be tested. */
  293. +#undef GNULIB_TEST_MEMCHR
  294. +
  295. +/* Define to 1 when the gnulib module memmem should be tested. */
  296. +#undef GNULIB_TEST_MEMMEM
  297. +
  298. +/* Define to 1 when the gnulib module sigaction should be tested. */
  299. +#undef GNULIB_TEST_SIGACTION
  300. +
  301. +/* Define to 1 when the gnulib module sigprocmask should be tested. */
  302. +#undef GNULIB_TEST_SIGPROCMASK
  303. +
  304. +/* Defined if ADL headers were found */
  305. +#undef HAVE_ADL
  306. +
  307. +/* Define to 1 if you have `alloca', as a function or macro. */
  308. +#undef HAVE_ALLOCA
  309. +
  310. +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  311. + */
  312. +#undef HAVE_ALLOCA_H
  313. +
  314. +/* Define if __attribute__((cold)) */
  315. +#undef HAVE_ATTRIBUTE_COLD
  316. +
  317. +/* Define if __attribute__((const)) */
  318. +#undef HAVE_ATTRIBUTE_CONST
  319. +
  320. +/* Define if __attribute__((noreturn)) */
  321. +#undef HAVE_ATTRIBUTE_NORETURN
  322. +
  323. +/* Define if __attribute__((format(__printf__))) */
  324. +#undef HAVE_ATTRIBUTE_PRINTF
  325. +
  326. +/* Define if __attribute__((unused)) */
  327. +#undef HAVE_ATTRIBUTE_UNUSED
  328. +
  329. +/* Define if __attribute__((used)) */
  330. +#undef HAVE_ATTRIBUTE_USED
  331. +
  332. +/* Define to 1 if you have the <bp-sym.h> header file. */
  333. +#undef HAVE_BP_SYM_H
  334. +
  335. +/* Define if have __builtin_constant_p */
  336. +#undef HAVE_BUILTIN_CONSTANT_P
  337. +
  338. +/* Define if have __builtin_types_compatible_p */
  339. +#undef HAVE_BUILTIN_TYPES_COMPATIBLE_P
  340. +
  341. +/* Defined to 1 if curses TUI support is wanted */
  342. +#undef HAVE_CURSES
  343. +
  344. +/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
  345. + */
  346. +#undef HAVE_DECL_MEMMEM
  347. +
  348. +/* Define to 1 if you have the <inttypes.h> header file. */
  349. +#undef HAVE_INTTYPES_H
  350. +
  351. +/* Define to 1 if you have the `pthread' library (-lpthread). */
  352. +#undef HAVE_LIBPTHREAD
  353. +
  354. +/* Defined to 1 if libudev is wanted */
  355. +#undef HAVE_LIBUDEV
  356. +
  357. +/* Defined to 1 if libusb is wanted */
  358. +#undef HAVE_LIBUSB
  359. +
  360. +/* Define to 1 if you have the `usb-1.0' library (-lusb-1.0). */
  361. +#undef HAVE_LIBUSB_1_0
  362. +
  363. +/* Define to 1 if the system has the type `long long int'. */
  364. +#undef HAVE_LONG_LONG_INT
  365. +
  366. +/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
  367. + config.h and <sys/mman.h>. */
  368. +#undef HAVE_MAP_ANONYMOUS
  369. +
  370. +/* Define to 1 if you have the `memmem' function. */
  371. +#undef HAVE_MEMMEM
  372. +
  373. +/* Define to 1 if you have the <memory.h> header file. */
  374. +#undef HAVE_MEMORY_H
  375. +
  376. +/* Define to 1 if you have the `mprotect' function. */
  377. +#undef HAVE_MPROTECT
  378. +
  379. +/* Defined to 1 if OpenCL is present on the system. */
  380. +#undef HAVE_OPENCL
  381. +
  382. +/* Define to 1 if memmem is declared even after undefining macros. */
  383. +#undef HAVE_RAW_DECL_MEMMEM
  384. +
  385. +/* Define to 1 if mempcpy is declared even after undefining macros. */
  386. +#undef HAVE_RAW_DECL_MEMPCPY
  387. +
  388. +/* Define to 1 if memrchr is declared even after undefining macros. */
  389. +#undef HAVE_RAW_DECL_MEMRCHR
  390. +
  391. +/* Define to 1 if rawmemchr is declared even after undefining macros. */
  392. +#undef HAVE_RAW_DECL_RAWMEMCHR
  393. +
  394. +/* Define to 1 if sigaction is declared even after undefining macros. */
  395. +#undef HAVE_RAW_DECL_SIGACTION
  396. +
  397. +/* Define to 1 if sigaddset is declared even after undefining macros. */
  398. +#undef HAVE_RAW_DECL_SIGADDSET
  399. +
  400. +/* Define to 1 if sigdelset is declared even after undefining macros. */
  401. +#undef HAVE_RAW_DECL_SIGDELSET
  402. +
  403. +/* Define to 1 if sigemptyset is declared even after undefining macros. */
  404. +#undef HAVE_RAW_DECL_SIGEMPTYSET
  405. +
  406. +/* Define to 1 if sigfillset is declared even after undefining macros. */
  407. +#undef HAVE_RAW_DECL_SIGFILLSET
  408. +
  409. +/* Define to 1 if sigismember is declared even after undefining macros. */
  410. +#undef HAVE_RAW_DECL_SIGISMEMBER
  411. +
  412. +/* Define to 1 if sigpending is declared even after undefining macros. */
  413. +#undef HAVE_RAW_DECL_SIGPENDING
  414. +
  415. +/* Define to 1 if sigprocmask is declared even after undefining macros. */
  416. +#undef HAVE_RAW_DECL_SIGPROCMASK
  417. +
  418. +/* Define to 1 if stpcpy is declared even after undefining macros. */
  419. +#undef HAVE_RAW_DECL_STPCPY
  420. +
  421. +/* Define to 1 if stpncpy is declared even after undefining macros. */
  422. +#undef HAVE_RAW_DECL_STPNCPY
  423. +
  424. +/* Define to 1 if strcasestr is declared even after undefining macros. */
  425. +#undef HAVE_RAW_DECL_STRCASESTR
  426. +
  427. +/* Define to 1 if strchrnul is declared even after undefining macros. */
  428. +#undef HAVE_RAW_DECL_STRCHRNUL
  429. +
  430. +/* Define to 1 if strdup is declared even after undefining macros. */
  431. +#undef HAVE_RAW_DECL_STRDUP
  432. +
  433. +/* Define to 1 if strerror_r is declared even after undefining macros. */
  434. +#undef HAVE_RAW_DECL_STRERROR_R
  435. +
  436. +/* Define to 1 if strncat is declared even after undefining macros. */
  437. +#undef HAVE_RAW_DECL_STRNCAT
  438. +
  439. +/* Define to 1 if strndup is declared even after undefining macros. */
  440. +#undef HAVE_RAW_DECL_STRNDUP
  441. +
  442. +/* Define to 1 if strnlen is declared even after undefining macros. */
  443. +#undef HAVE_RAW_DECL_STRNLEN
  444. +
  445. +/* Define to 1 if strpbrk is declared even after undefining macros. */
  446. +#undef HAVE_RAW_DECL_STRPBRK
  447. +
  448. +/* Define to 1 if strsep is declared even after undefining macros. */
  449. +#undef HAVE_RAW_DECL_STRSEP
  450. +
  451. +/* Define to 1 if strsignal is declared even after undefining macros. */
  452. +#undef HAVE_RAW_DECL_STRSIGNAL
  453. +
  454. +/* Define to 1 if strtok_r is declared even after undefining macros. */
  455. +#undef HAVE_RAW_DECL_STRTOK_R
  456. +
  457. +/* Define to 1 if strverscmp is declared even after undefining macros. */
  458. +#undef HAVE_RAW_DECL_STRVERSCMP
  459. +
  460. +/* Define to 1 if you have the `sigaction' function. */
  461. +#undef HAVE_SIGACTION
  462. +
  463. +/* Define to 1 if you have the `sigaltstack' function. */
  464. +#undef HAVE_SIGALTSTACK
  465. +
  466. +/* Define to 1 if the system has the type `siginfo_t'. */
  467. +#undef HAVE_SIGINFO_T
  468. +
  469. +/* Define to 1 if you have the `siginterrupt' function. */
  470. +#undef HAVE_SIGINTERRUPT
  471. +
  472. +/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
  473. +#undef HAVE_SIGNED_SIG_ATOMIC_T
  474. +
  475. +/* Define to 1 if 'wchar_t' is a signed integer type. */
  476. +#undef HAVE_SIGNED_WCHAR_T
  477. +
  478. +/* Define to 1 if 'wint_t' is a signed integer type. */
  479. +#undef HAVE_SIGNED_WINT_T
  480. +
  481. +/* Define to 1 if the system has the type `sigset_t'. */
  482. +#undef HAVE_SIGSET_T
  483. +
  484. +/* Define to 1 if you have the <stdint.h> header file. */
  485. +#undef HAVE_STDINT_H
  486. +
  487. +/* Define to 1 if you have the <stdlib.h> header file. */
  488. +#undef HAVE_STDLIB_H
  489. +
  490. +/* Define to 1 if you have the <strings.h> header file. */
  491. +#undef HAVE_STRINGS_H
  492. +
  493. +/* Define to 1 if you have the <string.h> header file. */
  494. +#undef HAVE_STRING_H
  495. +
  496. +/* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */
  497. +#undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
  498. +
  499. +/* Define to 1 if you have the <syslog.h> header file. */
  500. +#undef HAVE_SYSLOG_H
  501. +
  502. +/* Define to 1 if you have the <sys/bitypes.h> header file. */
  503. +#undef HAVE_SYS_BITYPES_H
  504. +
  505. +/* Define to 1 if you have the <sys/inttypes.h> header file. */
  506. +#undef HAVE_SYS_INTTYPES_H
  507. +
  508. +/* Define to 1 if you have the <sys/mman.h> header file. */
  509. +#undef HAVE_SYS_MMAN_H
  510. +
  511. +/* Define to 1 if you have the <sys/stat.h> header file. */
  512. +#undef HAVE_SYS_STAT_H
  513. +
  514. +/* Define to 1 if you have the <sys/types.h> header file. */
  515. +#undef HAVE_SYS_TYPES_H
  516. +
  517. +/* Define to 1 if you have the <unistd.h> header file. */
  518. +#undef HAVE_UNISTD_H
  519. +
  520. +/* Define to 1 if the system has the type `unsigned long long int'. */
  521. +#undef HAVE_UNSIGNED_LONG_LONG_INT
  522. +
  523. +/* Define if __attribute__((warn_unused_result)) */
  524. +#undef HAVE_WARN_UNUSED_RESULT
  525. +
  526. +/* Define to 1 if you have the <wchar.h> header file. */
  527. +#undef HAVE_WCHAR_H
  528. +
  529. +/* Define if you have the 'wchar_t' type. */
  530. +#undef HAVE_WCHAR_T
  531. +
  532. +/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
  533. +#undef MAP_ANONYMOUS
  534. +
  535. +/* Define to 1 if your C compiler doesn't accept -c and -o together. */
  536. +#undef NO_MINUS_C_MINUS_O
  537. +
  538. +/* Name of package */
  539. +#undef PACKAGE
  540. +
  541. +/* Define to the address where bug reports for this package should be sent. */
  542. +#undef PACKAGE_BUGREPORT
  543. +
  544. +/* Define to the full name of this package. */
  545. +#undef PACKAGE_NAME
  546. +
  547. +/* Define to the full name and version of this package. */
  548. +#undef PACKAGE_STRING
  549. +
  550. +/* Define to the one symbol short name of this package. */
  551. +#undef PACKAGE_TARNAME
  552. +
  553. +/* Define to the home page for this package. */
  554. +#undef PACKAGE_URL
  555. +
  556. +/* Define to the version of this package. */
  557. +#undef PACKAGE_VERSION
  558. +
  559. +/* Filename for phatk kernel */
  560. +#undef PHATK_KERNNAME
  561. +
  562. +/* Filename for poclbm kernel */
  563. +#undef POCLBM_KERNNAME
  564. +
  565. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  566. + 'ptrdiff_t'. */
  567. +#undef PTRDIFF_T_SUFFIX
  568. +
  569. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  570. + 'sig_atomic_t'. */
  571. +#undef SIG_ATOMIC_T_SUFFIX
  572. +
  573. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  574. + 'size_t'. */
  575. +#undef SIZE_T_SUFFIX
  576. +
  577. +/* If using the C implementation of alloca, define if you know the
  578. + direction of stack growth for your system; otherwise it will be
  579. + automatically deduced at runtime.
  580. + STACK_DIRECTION > 0 => grows toward higher addresses
  581. + STACK_DIRECTION < 0 => grows toward lower addresses
  582. + STACK_DIRECTION = 0 => direction of growth unknown */
  583. +#undef STACK_DIRECTION
  584. +
  585. +/* Define to 1 if you have the ANSI C header files. */
  586. +#undef STDC_HEADERS
  587. +
  588. +/* Defined to 1 if BitForce support is wanted */
  589. +#undef USE_BITFORCE
  590. +
  591. +/* Defined to 1 if Icarus support is wanted */
  592. +#undef USE_ICARUS
  593. +
  594. +/* Defined to 1 if Ztex support is wanted */
  595. +#undef USE_ZTEX
  596. +
  597. +/* Version number of package */
  598. +#undef VERSION
  599. +
  600. +/* Enable CPUMINING */
  601. +#undef WANT_CPUMINE
  602. +
  603. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  604. + 'wchar_t'. */
  605. +#undef WCHAR_T_SUFFIX
  606. +
  607. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  608. + 'wint_t'. */
  609. +#undef WINT_T_SUFFIX
  610. +
  611. +/* Define to 1 if on MINIX. */
  612. +#undef _MINIX
  613. +
  614. +/* Define to 2 if the system does not provide POSIX.1 features except with
  615. + this defined. */
  616. +#undef _POSIX_1_SOURCE
  617. +
  618. +/* Define to 1 if you need to in order for `stat' and other things to work. */
  619. +#undef _POSIX_SOURCE
  620. +
  621. +/* Define to 500 only on HP-UX. */
  622. +#undef _XOPEN_SOURCE
  623. +
  624. +/* Enable extensions on AIX 3, Interix. */
  625. +#ifndef _ALL_SOURCE
  626. +# undef _ALL_SOURCE
  627. +#endif
  628. +/* Enable GNU extensions on systems that have them. */
  629. +#ifndef _GNU_SOURCE
  630. +# undef _GNU_SOURCE
  631. +#endif
  632. +/* Enable threading extensions on Solaris. */
  633. +#ifndef _POSIX_PTHREAD_SEMANTICS
  634. +# undef _POSIX_PTHREAD_SEMANTICS
  635. +#endif
  636. +/* Enable extensions on HP NonStop. */
  637. +#ifndef _TANDEM_SOURCE
  638. +# undef _TANDEM_SOURCE
  639. +#endif
  640. +/* Enable general extensions on Solaris. */
  641. +#ifndef __EXTENSIONS__
  642. +# undef __EXTENSIONS__
  643. +#endif
  644. +
  645. +
  646. +/* Define to `int' if <sys/types.h> doesn't define. */
  647. +#undef gid_t
  648. +
  649. +/* Define to `__inline__' or `__inline' if that's what the C compiler
  650. + calls it, or to nothing if 'inline' is not supported under any name. */
  651. +#ifndef __cplusplus
  652. +#undef inline
  653. +#endif
  654. +
  655. +/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
  656. + the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
  657. + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
  658. + __APPLE__ && __MACH__ test for MacOS X.
  659. + __APPLE_CC__ tests for the Apple compiler and its version.
  660. + __STDC_VERSION__ tests for the C99 mode. */
  661. +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
  662. +# define __GNUC_STDC_INLINE__ 1
  663. +#endif
  664. +
  665. +/* Define to the equivalent of the C99 'restrict' keyword, or to
  666. + nothing if this is not supported. Do not define if restrict is
  667. + supported directly. */
  668. +#undef restrict
  669. +/* Work around a bug in Sun C++: it does not support _Restrict or
  670. + __restrict__, even though the corresponding Sun C compiler ends up with
  671. + "#define restrict _Restrict" or "#define restrict __restrict__" in the
  672. + previous line. Perhaps some future version of Sun C++ will work with
  673. + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
  674. +#if defined __SUNPRO_CC && !defined __RESTRICT
  675. +# define _Restrict
  676. +# define __restrict__
  677. +#endif
  678. +
  679. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  680. +#undef size_t
  681. +
  682. +/* Define to `int' if <sys/types.h> doesn't define. */
  683. +#undef uid_t
  684. +
  685. +/* Define as a marker that can be attached to declarations that might not
  686. + be used. This helps to reduce warnings, such as from
  687. + GCC -Wunused-parameter. */
  688. +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
  689. +# define _GL_UNUSED __attribute__ ((__unused__))
  690. +#else
  691. +# define _GL_UNUSED
  692. +#endif
  693. +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
  694. + is a misnomer outside of parameter lists. */
  695. +#define _UNUSED_PARAMETER_ _GL_UNUSED
  696. +
  697. +/* The __pure__ attribute was added in gcc 2.96. */
  698. +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
  699. +# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
  700. +#else
  701. +# define _GL_ATTRIBUTE_PURE /* empty */
  702. +#endif
  703. +
  704. +/* The __const__ attribute was added in gcc 2.95. */
  705. +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
  706. +# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
  707. +#else
  708. +# define _GL_ATTRIBUTE_CONST /* empty */
  709. +#endif
  710. +
  711. --- cgminer-2.4.1.orig/cgminer.c
  712. +++ cgminer-2.4.1/cgminer.c
  713. @@ -79,14 +79,14 @@ static char packagename[255];
  714. int gpu_threads;
  715. -bool opt_protocol = false;
  716. +bool opt_protocol;
  717. static bool opt_benchmark;
  718. -static bool have_longpoll = false;
  719. -static bool want_per_device_stats = false;
  720. -bool use_syslog = false;
  721. -static bool opt_quiet = false;
  722. -static bool opt_realquiet = false;
  723. -bool opt_loginput = false;
  724. +static bool have_longpoll;
  725. +static bool want_per_device_stats;
  726. +bool use_syslog;
  727. +static bool opt_quiet;
  728. +static bool opt_realquiet;
  729. +bool opt_loginput;
  730. const int opt_cutofftemp = 95;
  731. static int opt_retries = -1;
  732. static int opt_fail_pause = 5;
  733. @@ -107,22 +107,20 @@ static bool opt_nogpu;
  734. struct list_head scan_devices;
  735. int nDevs;
  736. int opt_g_threads = 2;
  737. -static signed int devices_enabled = 0;
  738. -static bool opt_removedisabled = false;
  739. -int total_devices = 0;
  740. +static signed int devices_enabled;
  741. +static bool opt_removedisabled;
  742. +int total_devices;
  743. struct cgpu_info *devices[MAX_DEVICES];
  744. -bool have_opencl = false;
  745. +bool have_opencl;
  746. int gpu_threads;
  747. int opt_n_threads = -1;
  748. int mining_threads;
  749. int num_processors;
  750. -bool use_curses =
  751. #ifdef HAVE_CURSES
  752. - true
  753. +bool use_curses = true;
  754. #else
  755. - false
  756. +bool use_curses;
  757. #endif
  758. -;
  759. static bool opt_submit_stale = true;
  760. static int opt_shares;
  761. static bool opt_fail_only;
  762. @@ -132,9 +130,9 @@ bool opt_noadl;
  763. char *opt_api_allow = NULL;
  764. char *opt_api_description = PACKAGE_STRING;
  765. int opt_api_port = 4028;
  766. -bool opt_api_listen = false;
  767. -bool opt_api_network = false;
  768. -bool opt_delaynet = false;
  769. +bool opt_api_listen;
  770. +bool opt_api_network;
  771. +bool opt_delaynet;
  772. bool opt_disable_pool = true;
  773. char *opt_kernel_path;
  774. @@ -194,7 +192,7 @@ static int total_urls, total_users, tota
  775. #ifndef HAVE_CURSES
  776. const
  777. #endif
  778. -static bool curses_active = false;
  779. +static bool curses_active;
  780. static char current_block[37];
  781. static char *current_hash;
  782. @@ -211,8 +209,8 @@ static struct block *blocks = NULL;
  783. char *opt_socks_proxy = NULL;
  784. static const char def_conf[] = "cgminer.conf";
  785. -static bool config_loaded = false;
  786. -static int include_count = 0;
  787. +static bool config_loaded;
  788. +static int include_count;
  789. #define JSON_INCLUDE_CONF "include"
  790. #define JSON_LOAD_ERROR "JSON decode of file '%s' failed"
  791. #define JSON_LOAD_ERROR_LEN strlen(JSON_LOAD_ERROR)
  792. @@ -221,7 +219,7 @@ static int include_count = 0;
  793. #if defined(unix)
  794. static char *opt_stderr_cmd = NULL;
  795. - static int forkpid = 0;
  796. + static int forkpid;
  797. #endif // defined(unix)
  798. bool ping = true;
  799. @@ -1642,8 +1640,10 @@ static bool submit_upstream_work(const s
  800. #ifndef MIPSEB
  801. // This one segfaults on my router for some reason
  802. isblock = regeneratehash(work);
  803. - if (isblock)
  804. + if (unlikely(isblock)) {
  805. + pool->solved++;
  806. found_blocks++;
  807. + }
  808. hash32 = (uint32_t *)(work->hash);
  809. sprintf(hashshow, "%08lx.%08lx%s", (unsigned long)(hash32[6]), (unsigned long)(hash32[5]),
  810. isblock ? " BLOCK!" : "");
  811. @@ -1660,6 +1660,7 @@ static bool submit_upstream_work(const s
  812. pool->seq_rejects = 0;
  813. cgpu->last_share_pool = pool->pool_no;
  814. cgpu->last_share_pool_time = time(NULL);
  815. + pool->last_share_time = cgpu->last_share_pool_time;
  816. applog(LOG_DEBUG, "PROOF OF WORK RESULT: true (yay!!!)");
  817. if (!QUIET) {
  818. if (total_pools > 1)
  819. @@ -1675,6 +1676,16 @@ static bool submit_upstream_work(const s
  820. kill_work();
  821. goto out;
  822. }
  823. +
  824. + /* Detect if a pool that has been temporarily disabled for
  825. + * continually rejecting shares has started accepting shares.
  826. + * This will only happen with the work returned from a
  827. + * longpoll */
  828. + if (unlikely(pool->enabled == POOL_REJECTING)) {
  829. + applog(LOG_WARNING, "Rejecting pool %d now accepting shares, re-enabling!", pool->pool_no);
  830. + pool->enabled = POOL_ENABLED;
  831. + switch_pools(NULL);
  832. + }
  833. } else {
  834. cgpu->rejected++;
  835. total_rejected++;
  836. @@ -1712,18 +1723,19 @@ static bool submit_upstream_work(const s
  837. }
  838. /* Once we have more than a nominal amount of sequential rejects,
  839. - * at least 10 and more than the current utility rate per minute,
  840. + * at least 10 and more than 3 mins at the current utility,
  841. * disable the pool because some pool error is likely to have
  842. * ensued. */
  843. if (pool->seq_rejects > 10 && opt_disable_pool && total_pools > 1) {
  844. double utility = total_accepted / ( total_secs ? total_secs : 1 ) * 60;
  845. - if (pool->seq_rejects > utility) {
  846. + if (pool->seq_rejects > utility * 3) {
  847. applog(LOG_WARNING, "Pool %d rejected %d sequential shares, disabling!",
  848. pool->pool_no, pool->seq_rejects);
  849. - pool->enabled = false;
  850. + pool->enabled = POOL_REJECTING;
  851. if (pool == current_pool())
  852. switch_pools(NULL);
  853. + pool->seq_rejects = 0;
  854. }
  855. }
  856. }
  857. @@ -1768,7 +1780,7 @@ static inline struct pool *select_pool(b
  858. if (++rotating_pool >= total_pools)
  859. rotating_pool = 0;
  860. pool = pools[rotating_pool];
  861. - if ((!pool->idle && pool->enabled) || pool == cp)
  862. + if ((!pool->idle && pool->enabled == POOL_ENABLED) || pool == cp)
  863. break;
  864. pool = NULL;
  865. }
  866. @@ -2025,12 +2037,14 @@ static void push_curl_entry(struct curl_
  867. mutex_unlock(&pool->pool_lock);
  868. }
  869. +/* ce and pool may appear uninitialised at push_curl_entry, but they're always
  870. + * set when we don't have opt_benchmark enabled */
  871. static void *get_work_thread(void *userdata)
  872. {
  873. struct workio_cmd *wc = (struct workio_cmd *)userdata;
  874. + struct curl_ent * uninitialised_var(ce);
  875. + struct pool * uninitialised_var(pool);
  876. struct work *ret_work = make_work();
  877. - struct curl_ent *ce;
  878. - struct pool *pool;
  879. int failures = 0;
  880. pthread_detach(pthread_self());
  881. @@ -2042,25 +2056,30 @@ static void *get_work_thread(void *userd
  882. else
  883. ret_work->thr = NULL;
  884. - pool = ret_work->pool = select_pool(wc->lagging);
  885. - ce = pop_curl_entry(pool);
  886. + if (opt_benchmark)
  887. + get_benchmark_work(ret_work);
  888. + else {
  889. + pool = ret_work->pool = select_pool(wc->lagging);
  890. +
  891. + ce = pop_curl_entry(pool);
  892. +
  893. + /* obtain new work from bitcoin via JSON-RPC */
  894. + while (!get_upstream_work(ret_work, ce->curl)) {
  895. + if (unlikely((opt_retries >= 0) && (++failures > opt_retries))) {
  896. + applog(LOG_ERR, "json_rpc_call failed, terminating workio thread");
  897. + free_work(ret_work);
  898. + kill_work();
  899. + goto out;
  900. + }
  901. - /* obtain new work from bitcoin via JSON-RPC */
  902. - while (!get_upstream_work(ret_work, ce->curl)) {
  903. - if (unlikely((opt_retries >= 0) && (++failures > opt_retries))) {
  904. - applog(LOG_ERR, "json_rpc_call failed, terminating workio thread");
  905. - free_work(ret_work);
  906. - kill_work();
  907. - goto out;
  908. + /* pause, then restart work-request loop */
  909. + applog(LOG_DEBUG, "json_rpc_call failed on get work, retry after %d seconds",
  910. + fail_pause);
  911. + sleep(fail_pause);
  912. + fail_pause += opt_fail_pause;
  913. }
  914. -
  915. - /* pause, then restart work-request loop */
  916. - applog(LOG_DEBUG, "json_rpc_call failed on get work, retry after %d seconds",
  917. - fail_pause);
  918. - sleep(fail_pause);
  919. - fail_pause += opt_fail_pause;
  920. + fail_pause = opt_fail_pause;
  921. }
  922. - fail_pause = opt_fail_pause;
  923. applog(LOG_DEBUG, "Pushing work to requesting thread");
  924. @@ -2073,7 +2092,8 @@ static void *get_work_thread(void *userd
  925. out:
  926. workio_cmd_free(wc);
  927. - push_curl_entry(ce, pool);
  928. + if (!opt_benchmark)
  929. + push_curl_entry(ce, pool);
  930. return NULL;
  931. }
  932. @@ -2094,6 +2114,7 @@ static bool workio_get_work(struct worki
  933. static bool stale_work(struct work *work, bool share)
  934. {
  935. struct timeval now;
  936. + struct pool *pool;
  937. if (opt_benchmark)
  938. return false;
  939. @@ -2108,7 +2129,8 @@ static bool stale_work(struct work *work
  940. if (work->work_block != work_block)
  941. return true;
  942. - if (opt_fail_only && !share && work->pool != current_pool())
  943. + pool = work->pool;
  944. + if (opt_fail_only && !share && pool != current_pool() && pool->enabled != POOL_REJECTING)
  945. return true;
  946. return false;
  947. @@ -2233,7 +2255,7 @@ void switch_pools(struct pool *selected)
  948. case POOL_LOADBALANCE:
  949. for (i = 0; i < total_pools; i++) {
  950. pool = priority_pool(i);
  951. - if (!pool->idle && pool->enabled) {
  952. + if (!pool->idle && pool->enabled == POOL_ENABLED) {
  953. pool_no = pool->pool_no;
  954. break;
  955. }
  956. @@ -2542,7 +2564,7 @@ int active_pools(void)
  957. int i;
  958. for (i = 0; i < total_pools; i++) {
  959. - if ((pools[i])->enabled)
  960. + if ((pools[i])->enabled == POOL_ENABLED)
  961. ret++;
  962. }
  963. return ret;
  964. @@ -2555,7 +2577,9 @@ static void display_pool_summary(struct
  965. if (curses_active_locked()) {
  966. wlog("Pool: %s\n", pool->rpc_url);
  967. - wlog("%s long-poll support\n", pool->hdr_path ? "Has" : "Does not have");
  968. + if (pool->solved)
  969. + wlog("SOLVED %d BLOCK%s!\n", pool->solved, pool->solved > 1 ? "S" : "");
  970. + wlog("%s own long-poll support\n", pool->hdr_path ? "Has" : "Does not have");
  971. wlog(" Queued work requests: %d\n", pool->getwork_requested);
  972. wlog(" Share submissions: %d\n", pool->accepted + pool->rejected);
  973. wlog(" Accepted shares: %d\n", pool->accepted);
  974. @@ -2764,11 +2788,21 @@ updated:
  975. if (pool == current_pool())
  976. wattron(logwin, A_BOLD);
  977. - if (!pool->enabled)
  978. + if (pool->enabled != POOL_ENABLED)
  979. wattron(logwin, A_DIM);
  980. - wlogprint("%d: %s %s Priority %d: %s User:%s\n",
  981. - pool->pool_no,
  982. - pool->enabled? "Enabled" : "Disabled",
  983. + wlogprint("%d: ", pool->pool_no);
  984. + switch (pool->enabled) {
  985. + case POOL_ENABLED:
  986. + wlogprint("Enabled ");
  987. + break;
  988. + case POOL_DISABLED:
  989. + wlogprint("Disabled ");
  990. + break;
  991. + case POOL_REJECTING:
  992. + wlogprint("Rejecting ");
  993. + break;
  994. + }
  995. + wlogprint("%s Priority %d: %s User:%s\n",
  996. pool->idle? "Dead" : "Alive",
  997. pool->prio,
  998. pool->rpc_url, pool->rpc_user);
  999. @@ -2804,7 +2838,7 @@ retry:
  1000. wlogprint("Unable to remove pool due to activity\n");
  1001. goto retry;
  1002. }
  1003. - pool->enabled = false;
  1004. + pool->enabled = POOL_DISABLED;
  1005. remove_pool(pool);
  1006. goto updated;
  1007. } else if (!strncasecmp(&input, "s", 1)) {
  1008. @@ -2814,7 +2848,7 @@ retry:
  1009. goto retry;
  1010. }
  1011. pool = pools[selected];
  1012. - pool->enabled = true;
  1013. + pool->enabled = POOL_ENABLED;
  1014. switch_pools(pool);
  1015. goto updated;
  1016. } else if (!strncasecmp(&input, "d", 1)) {
  1017. @@ -2828,7 +2862,7 @@ retry:
  1018. goto retry;
  1019. }
  1020. pool = pools[selected];
  1021. - pool->enabled = false;
  1022. + pool->enabled = POOL_DISABLED;
  1023. if (pool == current_pool())
  1024. switch_pools(NULL);
  1025. goto updated;
  1026. @@ -2839,7 +2873,7 @@ retry:
  1027. goto retry;
  1028. }
  1029. pool = pools[selected];
  1030. - pool->enabled = true;
  1031. + pool->enabled = POOL_ENABLED;
  1032. if (pool->prio < current_pool()->prio)
  1033. switch_pools(pool);
  1034. goto updated;
  1035. @@ -3687,6 +3721,9 @@ void *miner_thread(void *userdata)
  1036. const int thr_id = mythr->id;
  1037. struct cgpu_info *cgpu = mythr->cgpu;
  1038. struct device_api *api = cgpu->api;
  1039. + struct cgminer_stats *dev_stats = &(cgpu->cgminer_stats);
  1040. + struct cgminer_stats *pool_stats;
  1041. + struct timeval getwork_start;
  1042. /* Try to cycle approximately 5 times before each log update */
  1043. const unsigned long def_cycle = opt_log_interval / 5 ? : 1;
  1044. @@ -3702,6 +3739,8 @@ void *miner_thread(void *userdata)
  1045. bool requested = false;
  1046. pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
  1047. + gettimeofday(&getwork_start, NULL);
  1048. +
  1049. if (api->thread_init && !api->thread_init(mythr)) {
  1050. cgpu->device_last_not_well = time(NULL);
  1051. cgpu->device_not_well_reason = REASON_THREAD_FAIL_INIT;
  1052. @@ -3740,7 +3779,40 @@ void *miner_thread(void *userdata)
  1053. do {
  1054. gettimeofday(&tv_start, NULL);
  1055. + timersub(&tv_start, &getwork_start, &getwork_start);
  1056. +
  1057. + timeradd(&getwork_start,
  1058. + &(dev_stats->getwork_wait),
  1059. + &(dev_stats->getwork_wait));
  1060. + if (timercmp(&getwork_start, &(dev_stats->getwork_wait_max), >)) {
  1061. + dev_stats->getwork_wait_max.tv_sec = getwork_start.tv_sec;
  1062. + dev_stats->getwork_wait_max.tv_usec = getwork_start.tv_usec;
  1063. + }
  1064. + if (timercmp(&getwork_start, &(dev_stats->getwork_wait_min), <)) {
  1065. + dev_stats->getwork_wait_min.tv_sec = getwork_start.tv_sec;
  1066. + dev_stats->getwork_wait_min.tv_usec = getwork_start.tv_usec;
  1067. + }
  1068. + dev_stats->getwork_calls++;
  1069. +
  1070. + pool_stats = &(work->pool->cgminer_stats);
  1071. +
  1072. + timeradd(&getwork_start,
  1073. + &(pool_stats->getwork_wait),
  1074. + &(pool_stats->getwork_wait));
  1075. + if (timercmp(&getwork_start, &(pool_stats->getwork_wait_max), >)) {
  1076. + pool_stats->getwork_wait_max.tv_sec = getwork_start.tv_sec;
  1077. + pool_stats->getwork_wait_max.tv_usec = getwork_start.tv_usec;
  1078. + }
  1079. + if (timercmp(&getwork_start, &(pool_stats->getwork_wait_min), <)) {
  1080. + pool_stats->getwork_wait_min.tv_sec = getwork_start.tv_sec;
  1081. + pool_stats->getwork_wait_min.tv_usec = getwork_start.tv_usec;
  1082. + }
  1083. + pool_stats->getwork_calls++;
  1084. +
  1085. hashes = api->scanhash(mythr, work, work->blk.nonce + max_nonce);
  1086. +
  1087. + gettimeofday(&getwork_start, NULL);
  1088. +
  1089. if (unlikely(work_restart[thr_id].restart)) {
  1090. /* Apart from device_thread 0, we stagger the
  1091. @@ -3880,8 +3952,11 @@ static void convert_to_work(json_t *val,
  1092. * allows testwork to know whether LP discovered the block or not. */
  1093. test_work_current(work);
  1094. - /* Don't use backup LPs as work if we have failover-only enabled */
  1095. - if (pool != current_pool() && opt_fail_only) {
  1096. + /* Don't use backup LPs as work if we have failover-only enabled. Use
  1097. + * the longpoll work from a pool that has been rejecting shares as a
  1098. + * way to detect when the pool has recovered.
  1099. + */
  1100. + if (pool != current_pool() && opt_fail_only && pool->enabled != POOL_REJECTING) {
  1101. free_work(work);
  1102. return;
  1103. }
  1104. @@ -4060,7 +4135,7 @@ static void *watchpool_thread(void __may
  1105. if (!opt_benchmark)
  1106. reap_curl(pool);
  1107. - if (!pool->enabled)
  1108. + if (pool->enabled == POOL_DISABLED)
  1109. continue;
  1110. /* Test pool is idle once every minute */
  1111. @@ -4294,6 +4369,8 @@ static void print_summary(void)
  1112. struct pool *pool = pools[i];
  1113. applog(LOG_WARNING, "Pool: %s", pool->rpc_url);
  1114. + if (pool->solved)
  1115. + applog(LOG_WARNING, "SOLVED %d BLOCK%s!", pool->solved, pool->solved > 1 ? "S" : "");
  1116. applog(LOG_WARNING, " Queued work requests: %d", pool->getwork_requested);
  1117. applog(LOG_WARNING, " Share submissions: %d", pool->accepted + pool->rejected);
  1118. applog(LOG_WARNING, " Accepted shares: %d", pool->accepted);
  1119. @@ -4311,10 +4388,8 @@ static void print_summary(void)
  1120. }
  1121. applog(LOG_WARNING, "Summary of per device statistics:\n");
  1122. - for (i = 0; i < total_devices; ++i) {
  1123. - if (devices[i]->deven == DEV_ENABLED)
  1124. - log_print_status(devices[i]);
  1125. - }
  1126. + for (i = 0; i < total_devices; ++i)
  1127. + log_print_status(devices[i]);
  1128. if (opt_shares)
  1129. applog(LOG_WARNING, "Mined %d accepted shares of %d requested\n", total_accepted, opt_shares);
  1130. @@ -4409,7 +4484,7 @@ int add_pool_details(bool live, char *ur
  1131. /* Test the pool is not idle if we're live running, otherwise
  1132. * it will be tested separately */
  1133. - pool->enabled = true;
  1134. + pool->enabled = POOL_ENABLED;
  1135. if (live && !pool_active(pool, false))
  1136. pool->idle = true;
  1137. @@ -4729,7 +4804,7 @@ int main(int argc, char *argv[])
  1138. strcpy(pool->rpc_url, "Benchmark");
  1139. pool->rpc_user = pool->rpc_url;
  1140. pool->rpc_pass = pool->rpc_url;
  1141. - pool->enabled = true;
  1142. + pool->enabled = POOL_ENABLED;
  1143. pool->idle = false;
  1144. successful_connect = true;
  1145. }
  1146. @@ -4752,7 +4827,8 @@ int main(int argc, char *argv[])
  1147. break;
  1148. case -1:
  1149. applog(LOG_WARNING, "Error in configuration file, partially loaded.");
  1150. - applog(LOG_WARNING, "Start cgminer with -T to see what failed to load.");
  1151. + if (use_curses)
  1152. + applog(LOG_WARNING, "Start cgminer with -T to see what failed to load.");
  1153. break;
  1154. default:
  1155. break;
  1156. @@ -4809,14 +4885,14 @@ int main(int argc, char *argv[])
  1157. opencl_api.api_detect();
  1158. #endif
  1159. -#ifdef USE_BITFORCE
  1160. - bitforce_api.api_detect();
  1161. -#endif
  1162. -
  1163. #ifdef USE_ICARUS
  1164. icarus_api.api_detect();
  1165. #endif
  1166. +#ifdef USE_BITFORCE
  1167. + bitforce_api.api_detect();
  1168. +#endif
  1169. +
  1170. #ifdef USE_ZTEX
  1171. ztex_api.api_detect();
  1172. #endif
  1173. @@ -4866,6 +4942,9 @@ int main(int argc, char *argv[])
  1174. load_temp_cutoffs();
  1175. + for (i = 0; i < total_devices; ++i)
  1176. + devices[i]->cgminer_stats.getwork_wait_min.tv_sec = MIN_SEC_UNSET;
  1177. +
  1178. logstart += total_devices;
  1179. logcursor = logstart + 1;
  1180. @@ -4884,6 +4963,8 @@ int main(int argc, char *argv[])
  1181. for (i = 0; i < total_pools; i++) {
  1182. struct pool *pool = pools[i];
  1183. + pool->cgminer_stats.getwork_wait_min.tv_sec = MIN_SEC_UNSET;
  1184. +
  1185. if (!pool->rpc_userpass) {
  1186. if (!pool->rpc_user || !pool->rpc_pass)
  1187. quit(1, "No login credentials supplied for pool %u %s", i, pool->rpc_url);
  1188. @@ -4958,7 +5039,7 @@ int main(int argc, char *argv[])
  1189. for (i = 0; i < total_pools; i++) {
  1190. struct pool *pool = pools[i];
  1191. - pool->enabled = true;
  1192. + pool->enabled = POOL_ENABLED;
  1193. pool->idle = true;
  1194. }
  1195. --- cgminer-2.4.1.orig/configure.ac
  1196. +++ cgminer-2.4.1/configure.ac
  1197. @@ -2,7 +2,7 @@
  1198. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  1199. m4_define([v_maj], [2])
  1200. m4_define([v_min], [4])
  1201. -m4_define([v_mic], [0])
  1202. +m4_define([v_mic], [1])
  1203. ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  1204. m4_define([v_ver], [v_maj.v_min.v_mic])
  1205. m4_define([lt_rev], m4_eval(v_maj + v_min))
  1206. --- cgminer-2.4.1.orig/NEWS
  1207. +++ cgminer-2.4.1/NEWS
  1208. @@ -1,3 +1,42 @@
  1209. +Version 2.4.1 - May 6, 2012
  1210. +
  1211. +- In the unlikely event of finding a block, display the block solved count with
  1212. +the pool it came from for auditing.
  1213. +- Display the device summary on exit even if a device has been disabled.
  1214. +- Use correct pool enabled enums in api.c.
  1215. +- Import Debian packaging configs
  1216. +- Ensure we test for a pool recovering from idle so long as it's not set to
  1217. +disabled.
  1218. +- Fix pool number display.
  1219. +- Give cgminer -T message only if curses is in use.
  1220. +- Reinit_adl is no longer used.
  1221. +- API 'stats' allow devices to add their own stats also for testing/debug
  1222. +- API add getwork stats to cgminer - accesable from API 'stats'
  1223. +- Don't initialise variables to zero when in global scope since they're already
  1224. +initialised.
  1225. +- Get rid of unitialised variable warning when it's false.
  1226. +- Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
  1227. +continuous rejected shares.
  1228. +- Some tweaks to reporting and logging.
  1229. +- Change FPGA detection order since BFL hangs on an ICA
  1230. +- API support new pool status
  1231. +- Add a temporarily disabled state for enabled pools called POOL_REJECTING and
  1232. +use the work from each longpoll to help determine when a rejecting pool has
  1233. +started working again. Switch pools based on the multipool strategy once a pool
  1234. +is re-enabled.
  1235. +- Removing extra debug
  1236. +- Fix the benchmark feature by bypassing the new networking code.
  1237. +- Reset sequential reject counter after a pool is disabled for when it is
  1238. +re-enabled.
  1239. +- Icarus - correct MH/s and U: with work restart set at 8 seconds
  1240. +- ztex updateFreq was always reporting on fpga 0
  1241. +- Trying harder to get 1.15y working
  1242. +- Specifying threads on multi fpga boards extra cgpu
  1243. +- Missing the add cgpu per extra fpga on 1.15y boards
  1244. +- API add last share time to each pool
  1245. +- Don't try to reap curls if benchmarking is enabled.
  1246. +
  1247. +
  1248. Version 2.4.0 - May 3, 2012
  1249. - Only show longpoll warning once when it has failed.
  1250. --- /dev/null
  1251. +++ cgminer-2.4.1/config.guess
  1252. @@ -0,0 +1,1530 @@
  1253. +#! /bin/sh
  1254. +# Attempt to guess a canonical system name.
  1255. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  1256. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
  1257. +# 2011, 2012 Free Software Foundation, Inc.
  1258. +
  1259. +timestamp='2012-02-10'
  1260. +
  1261. +# This file is free software; you can redistribute it and/or modify it
  1262. +# under the terms of the GNU General Public License as published by
  1263. +# the Free Software Foundation; either version 2 of the License, or
  1264. +# (at your option) any later version.
  1265. +#
  1266. +# This program is distributed in the hope that it will be useful, but
  1267. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  1268. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  1269. +# General Public License for more details.
  1270. +#
  1271. +# You should have received a copy of the GNU General Public License
  1272. +# along with this program; if not, see <http://www.gnu.org/licenses/>.
  1273. +#
  1274. +# As a special exception to the GNU General Public License, if you
  1275. +# distribute this file as part of a program that contains a
  1276. +# configuration script generated by Autoconf, you may include it under
  1277. +# the same distribution terms that you use for the rest of that program.
  1278. +
  1279. +
  1280. +# Originally written by Per Bothner. Please send patches (context
  1281. +# diff format) to <config-patches@gnu.org> and include a ChangeLog
  1282. +# entry.
  1283. +#
  1284. +# This script attempts to guess a canonical system name similar to
  1285. +# config.sub. If it succeeds, it prints the system name on stdout, and
  1286. +# exits with 0. Otherwise, it exits with 1.
  1287. +#
  1288. +# You can get the latest version of this script from:
  1289. +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
  1290. +
  1291. +me=`echo "$0" | sed -e 's,.*/,,'`
  1292. +
  1293. +usage="\
  1294. +Usage: $0 [OPTION]
  1295. +
  1296. +Output the configuration name of the system \`$me' is run on.
  1297. +
  1298. +Operation modes:
  1299. + -h, --help print this help, then exit
  1300. + -t, --time-stamp print date of last modification, then exit
  1301. + -v, --version print version number, then exit
  1302. +
  1303. +Report bugs and patches to <config-patches@gnu.org>."
  1304. +
  1305. +version="\
  1306. +GNU config.guess ($timestamp)
  1307. +
  1308. +Originally written by Per Bothner.
  1309. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
  1310. +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
  1311. +Free Software Foundation, Inc.
  1312. +
  1313. +This is free software; see the source for copying conditions. There is NO
  1314. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  1315. +
  1316. +help="
  1317. +Try \`$me --help' for more information."
  1318. +
  1319. +# Parse command line
  1320. +while test $# -gt 0 ; do
  1321. + case $1 in
  1322. + --time-stamp | --time* | -t )
  1323. + echo "$timestamp" ; exit ;;
  1324. + --version | -v )
  1325. + echo "$version" ; exit ;;
  1326. + --help | --h* | -h )
  1327. + echo "$usage"; exit ;;
  1328. + -- ) # Stop option processing
  1329. + shift; break ;;
  1330. + - ) # Use stdin as input.
  1331. + break ;;
  1332. + -* )
  1333. + echo "$me: invalid option $1$help" >&2
  1334. + exit 1 ;;
  1335. + * )
  1336. + break ;;
  1337. + esac
  1338. +done
  1339. +
  1340. +if test $# != 0; then
  1341. + echo "$me: too many arguments$help" >&2
  1342. + exit 1
  1343. +fi
  1344. +
  1345. +trap 'exit 1' 1 2 15
  1346. +
  1347. +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
  1348. +# compiler to aid in system detection is discouraged as it requires
  1349. +# temporary files to be created and, as you can see below, it is a
  1350. +# headache to deal with in a portable fashion.
  1351. +
  1352. +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
  1353. +# use `HOST_CC' if defined, but it is deprecated.
  1354. +
  1355. +# Portable tmp directory creation inspired by the Autoconf team.
  1356. +
  1357. +set_cc_for_build='
  1358. +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
  1359. +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
  1360. +: ${TMPDIR=/tmp} ;
  1361. + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  1362. + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
  1363. + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
  1364. + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
  1365. +dummy=$tmp/dummy ;
  1366. +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
  1367. +case $CC_FOR_BUILD,$HOST_CC,$CC in
  1368. + ,,) echo "int x;" > $dummy.c ;
  1369. + for c in cc gcc c89 c99 ; do
  1370. + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
  1371. + CC_FOR_BUILD="$c"; break ;
  1372. + fi ;
  1373. + done ;
  1374. + if test x"$CC_FOR_BUILD" = x ; then
  1375. + CC_FOR_BUILD=no_compiler_found ;
  1376. + fi
  1377. + ;;
  1378. + ,,*) CC_FOR_BUILD=$CC ;;
  1379. + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
  1380. +esac ; set_cc_for_build= ;'
  1381. +
  1382. +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  1383. +# (ghazi@noc.rutgers.edu 1994-08-24)
  1384. +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
  1385. + PATH=$PATH:/.attbin ; export PATH
  1386. +fi
  1387. +
  1388. +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
  1389. +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
  1390. +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
  1391. +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  1392. +
  1393. +# Note: order is significant - the case branches are not exclusive.
  1394. +
  1395. +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  1396. + *:NetBSD:*:*)
  1397. + # NetBSD (nbsd) targets should (where applicable) match one or
  1398. + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
  1399. + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
  1400. + # switched to ELF, *-*-netbsd* would select the old
  1401. + # object file format. This provides both forward
  1402. + # compatibility and a consistent mechanism for selecting the
  1403. + # object file format.
  1404. + #
  1405. + # Note: NetBSD doesn't particularly care about the vendor
  1406. + # portion of the name. We always set it to "unknown".
  1407. + sysctl="sysctl -n hw.machine_arch"
  1408. + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
  1409. + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
  1410. + case "${UNAME_MACHINE_ARCH}" in
  1411. + armeb) machine=armeb-unknown ;;
  1412. + arm*) machine=arm-unknown ;;
  1413. + sh3el) machine=shl-unknown ;;
  1414. + sh3eb) machine=sh-unknown ;;
  1415. + sh5el) machine=sh5le-unknown ;;
  1416. + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  1417. + esac
  1418. + # The Operating System including object format, if it has switched
  1419. + # to ELF recently, or will in the future.
  1420. + case "${UNAME_MACHINE_ARCH}" in
  1421. + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  1422. + eval $set_cc_for_build
  1423. + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  1424. + | grep -q __ELF__
  1425. + then
  1426. + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  1427. + # Return netbsd for either. FIX?
  1428. + os=netbsd
  1429. + else
  1430. + os=netbsdelf
  1431. + fi
  1432. + ;;
  1433. + *)
  1434. + os=netbsd
  1435. + ;;
  1436. + esac
  1437. + # The OS release
  1438. + # Debian GNU/NetBSD machines have a different userland, and
  1439. + # thus, need a distinct triplet. However, they do not need
  1440. + # kernel version information, so it can be replaced with a
  1441. + # suitable tag, in the style of linux-gnu.
  1442. + case "${UNAME_VERSION}" in
  1443. + Debian*)
  1444. + release='-gnu'
  1445. + ;;
  1446. + *)
  1447. + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  1448. + ;;
  1449. + esac
  1450. + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  1451. + # contains redundant information, the shorter form:
  1452. + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
  1453. + echo "${machine}-${os}${release}"
  1454. + exit ;;
  1455. + *:OpenBSD:*:*)
  1456. + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
  1457. + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
  1458. + exit ;;
  1459. + *:ekkoBSD:*:*)
  1460. + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
  1461. + exit ;;
  1462. + *:SolidBSD:*:*)
  1463. + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
  1464. + exit ;;
  1465. + macppc:MirBSD:*:*)
  1466. + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
  1467. + exit ;;
  1468. + *:MirBSD:*:*)
  1469. + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
  1470. + exit ;;
  1471. + alpha:OSF1:*:*)
  1472. + case $UNAME_RELEASE in
  1473. + *4.0)
  1474. + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
  1475. + ;;
  1476. + *5.*)
  1477. + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
  1478. + ;;
  1479. + esac
  1480. + # According to Compaq, /usr/sbin/psrinfo has been available on
  1481. + # OSF/1 and Tru64 systems produced since 1995. I hope that
  1482. + # covers most systems running today. This code pipes the CPU
  1483. + # types through head -n 1, so we only detect the type of CPU 0.
  1484. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
  1485. + case "$ALPHA_CPU_TYPE" in
  1486. + "EV4 (21064)")
  1487. + UNAME_MACHINE="alpha" ;;
  1488. + "EV4.5 (21064)")
  1489. + UNAME_MACHINE="alpha" ;;
  1490. + "LCA4 (21066/21068)")
  1491. + UNAME_MACHINE="alpha" ;;
  1492. + "EV5 (21164)")
  1493. + UNAME_MACHINE="alphaev5" ;;
  1494. + "EV5.6 (21164A)")
  1495. + UNAME_MACHINE="alphaev56" ;;
  1496. + "EV5.6 (21164PC)")
  1497. + UNAME_MACHINE="alphapca56" ;;
  1498. + "EV5.7 (21164PC)")
  1499. + UNAME_MACHINE="alphapca57" ;;
  1500. + "EV6 (21264)")
  1501. + UNAME_MACHINE="alphaev6" ;;
  1502. + "EV6.7 (21264A)")
  1503. + UNAME_MACHINE="alphaev67" ;;
  1504. + "EV6.8CB (21264C)")
  1505. + UNAME_MACHINE="alphaev68" ;;
  1506. + "EV6.8AL (21264B)")
  1507. + UNAME_MACHINE="alphaev68" ;;
  1508. + "EV6.8CX (21264D)")
  1509. + UNAME_MACHINE="alphaev68" ;;
  1510. + "EV6.9A (21264/EV69A)")
  1511. + UNAME_MACHINE="alphaev69" ;;
  1512. + "EV7 (21364)")
  1513. + UNAME_MACHINE="alphaev7" ;;
  1514. + "EV7.9 (21364A)")
  1515. + UNAME_MACHINE="alphaev79" ;;
  1516. + esac
  1517. + # A Pn.n version is a patched version.
  1518. + # A Vn.n version is a released version.
  1519. + # A Tn.n version is a released field test version.
  1520. + # A Xn.n version is an unreleased experimental baselevel.
  1521. + # 1.2 uses "1.2" for uname -r.
  1522. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  1523. + # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
  1524. + exitcode=$?
  1525. + trap '' 0
  1526. + exit $exitcode ;;
  1527. + Alpha\ *:Windows_NT*:*)
  1528. + # How do we know it's Interix rather than the generic POSIX subsystem?
  1529. + # Should we change UNAME_MACHINE based on the output of uname instead
  1530. + # of the specific Alpha model?
  1531. + echo alpha-pc-interix
  1532. + exit ;;
  1533. + 21064:Windows_NT:50:3)
  1534. + echo alpha-dec-winnt3.5
  1535. + exit ;;
  1536. + Amiga*:UNIX_System_V:4.0:*)
  1537. + echo m68k-unknown-sysv4
  1538. + exit ;;
  1539. + *:[Aa]miga[Oo][Ss]:*:*)
  1540. + echo ${UNAME_MACHINE}-unknown-amigaos
  1541. + exit ;;
  1542. + *:[Mm]orph[Oo][Ss]:*:*)
  1543. + echo ${UNAME_MACHINE}-unknown-morphos
  1544. + exit ;;
  1545. + *:OS/390:*:*)
  1546. + echo i370-ibm-openedition
  1547. + exit ;;
  1548. + *:z/VM:*:*)
  1549. + echo s390-ibm-zvmoe
  1550. + exit ;;
  1551. + *:OS400:*:*)
  1552. + echo powerpc-ibm-os400
  1553. + exit ;;
  1554. + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  1555. + echo arm-acorn-riscix${UNAME_RELEASE}
  1556. + exit ;;
  1557. + arm:riscos:*:*|arm:RISCOS:*:*)
  1558. + echo arm-unknown-riscos
  1559. + exit ;;
  1560. + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
  1561. + echo hppa1.1-hitachi-hiuxmpp
  1562. + exit ;;
  1563. + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
  1564. + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
  1565. + if test "`(/bin/universe) 2>/dev/null`" = att ; then
  1566. + echo pyramid-pyramid-sysv3
  1567. + else
  1568. + echo pyramid-pyramid-bsd
  1569. + fi
  1570. + exit ;;
  1571. + NILE*:*:*:dcosx)
  1572. + echo pyramid-pyramid-svr4
  1573. + exit ;;
  1574. + DRS?6000:unix:4.0:6*)
  1575. + echo sparc-icl-nx6
  1576. + exit ;;
  1577. + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
  1578. + case `/usr/bin/uname -p` in
  1579. + sparc) echo sparc-icl-nx7; exit ;;
  1580. + esac ;;
  1581. + s390x:SunOS:*:*)
  1582. + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  1583. + exit ;;
  1584. + sun4H:SunOS:5.*:*)
  1585. + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  1586. + exit ;;
  1587. + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  1588. + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  1589. + exit ;;
  1590. + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
  1591. + echo i386-pc-auroraux${UNAME_RELEASE}
  1592. + exit ;;
  1593. + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  1594. + eval $set_cc_for_build
  1595. + SUN_ARCH="i386"
  1596. + # If there is a compiler, see if it is configured for 64-bit objects.
  1597. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  1598. + # This test works for both compilers.
  1599. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  1600. + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  1601. + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  1602. + grep IS_64BIT_ARCH >/dev/null
  1603. + then
  1604. + SUN_ARCH="x86_64"
  1605. + fi
  1606. + fi
  1607. + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  1608. + exit ;;
  1609. + sun4*:SunOS:6*:*)
  1610. + # According to config.sub, this is the proper way to canonicalize
  1611. + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
  1612. + # it's likely to be more like Solaris than SunOS4.
  1613. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  1614. + exit ;;
  1615. + sun4*:SunOS:*:*)
  1616. + case "`/usr/bin/arch -k`" in
  1617. + Series*|S4*)
  1618. + UNAME_RELEASE=`uname -v`
  1619. + ;;
  1620. + esac
  1621. + # Japanese Language versions have a version number like `4.1.3-JL'.
  1622. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  1623. + exit ;;
  1624. + sun3*:SunOS:*:*)
  1625. + echo m68k-sun-sunos${UNAME_RELEASE}
  1626. + exit ;;
  1627. + sun*:*:4.2BSD:*)
  1628. + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  1629. + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  1630. + case "`/bin/arch`" in
  1631. + sun3)
  1632. + echo m68k-sun-sunos${UNAME_RELEASE}
  1633. + ;;
  1634. + sun4)
  1635. + echo sparc-sun-sunos${UNAME_RELEASE}
  1636. + ;;
  1637. + esac
  1638. + exit ;;
  1639. + aushp:SunOS:*:*)
  1640. + echo sparc-auspex-sunos${UNAME_RELEASE}
  1641. + exit ;;
  1642. + # The situation for MiNT is a little confusing. The machine name
  1643. + # can be virtually everything (everything which is not
  1644. + # "atarist" or "atariste" at least should have a processor
  1645. + # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
  1646. + # to the lowercase version "mint" (or "freemint"). Finally
  1647. + # the system name "TOS" denotes a system which is actually not
  1648. + # MiNT. But MiNT is downward compatible to TOS, so this should
  1649. + # be no problem.
  1650. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
  1651. + echo m68k-atari-mint${UNAME_RELEASE}
  1652. + exit ;;
  1653. + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
  1654. + echo m68k-atari-mint${UNAME_RELEASE}
  1655. + exit ;;
  1656. + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
  1657. + echo m68k-atari-mint${UNAME_RELEASE}
  1658. + exit ;;
  1659. + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
  1660. + echo m68k-milan-mint${UNAME_RELEASE}
  1661. + exit ;;
  1662. + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
  1663. + echo m68k-hades-mint${UNAME_RELEASE}
  1664. + exit ;;
  1665. + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
  1666. + echo m68k-unknown-mint${UNAME_RELEASE}
  1667. + exit ;;
  1668. + m68k:machten:*:*)
  1669. + echo m68k-apple-machten${UNAME_RELEASE}
  1670. + exit ;;
  1671. + powerpc:machten:*:*)
  1672. + echo powerpc-apple-machten${UNAME_RELEASE}
  1673. + exit ;;
  1674. + RISC*:Mach:*:*)
  1675. + echo mips-dec-mach_bsd4.3
  1676. + exit ;;
  1677. + RISC*:ULTRIX:*:*)
  1678. + echo mips-dec-ultrix${UNAME_RELEASE}
  1679. + exit ;;
  1680. + VAX*:ULTRIX*:*:*)
  1681. + echo vax-dec-ultrix${UNAME_RELEASE}
  1682. + exit ;;
  1683. + 2020:CLIX:*:* | 2430:CLIX:*:*)
  1684. + echo clipper-intergraph-clix${UNAME_RELEASE}
  1685. + exit ;;
  1686. + mips:*:*:UMIPS | mips:*:*:RISCos)
  1687. + eval $set_cc_for_build
  1688. + sed 's/^ //' << EOF >$dummy.c
  1689. +#ifdef __cplusplus
  1690. +#include <stdio.h> /* for printf() prototype */
  1691. + int main (int argc, char *argv[]) {
  1692. +#else
  1693. + int main (argc, argv) int argc; char *argv[]; {
  1694. +#endif
  1695. + #if defined (host_mips) && defined (MIPSEB)
  1696. + #if defined (SYSTYPE_SYSV)
  1697. + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
  1698. + #endif
  1699. + #if defined (SYSTYPE_SVR4)
  1700. + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
  1701. + #endif
  1702. + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
  1703. + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
  1704. + #endif
  1705. + #endif
  1706. + exit (-1);
  1707. + }
  1708. +EOF
  1709. + $CC_FOR_BUILD -o $dummy $dummy.c &&
  1710. + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
  1711. + SYSTEM_NAME=`$dummy $dummyarg` &&
  1712. + { echo "$SYSTEM_NAME"; exit; }
  1713. + echo mips-mips-riscos${UNAME_RELEASE}
  1714. + exit ;;
  1715. + Motorola:PowerMAX_OS:*:*)
  1716. + echo powerpc-motorola-powermax
  1717. + exit ;;
  1718. + Motorola:*:4.3:PL8-*)
  1719. + echo powerpc-harris-powermax
  1720. + exit ;;
  1721. + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
  1722. + echo powerpc-harris-powermax
  1723. + exit ;;
  1724. + Night_Hawk:Power_UNIX:*:*)
  1725. + echo powerpc-harris-powerunix
  1726. + exit ;;
  1727. + m88k:CX/UX:7*:*)
  1728. + echo m88k-harris-cxux7
  1729. + exit ;;
  1730. + m88k:*:4*:R4*)
  1731. + echo m88k-motorola-sysv4
  1732. + exit ;;
  1733. + m88k:*:3*:R3*)
  1734. + echo m88k-motorola-sysv3
  1735. + exit ;;
  1736. + AViiON:dgux:*:*)
  1737. + # DG/UX returns AViiON for all architectures
  1738. + UNAME_PROCESSOR=`/usr/bin/uname -p`
  1739. + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
  1740. + then
  1741. + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
  1742. + [ ${TARGET_BINARY_INTERFACE}x = x ]
  1743. + then
  1744. + echo m88k-dg-dgux${UNAME_RELEASE}
  1745. + else
  1746. + echo m88k-dg-dguxbcs${UNAME_RELEASE}
  1747. + fi
  1748. + else
  1749. + echo i586-dg-dgux${UNAME_RELEASE}
  1750. + fi
  1751. + exit ;;
  1752. + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
  1753. + echo m88k-dolphin-sysv3
  1754. + exit ;;
  1755. + M88*:*:R3*:*)
  1756. + # Delta 88k system running SVR3
  1757. + echo m88k-motorola-sysv3
  1758. + exit ;;
  1759. + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  1760. + echo m88k-tektronix-sysv3
  1761. + exit ;;
  1762. + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  1763. + echo m68k-tektronix-bsd
  1764. + exit ;;
  1765. + *:IRIX*:*:*)
  1766. + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  1767. + exit ;;
  1768. + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  1769. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
  1770. + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
  1771. + i*86:AIX:*:*)
  1772. + echo i386-ibm-aix
  1773. + exit ;;
  1774. + ia64:AIX:*:*)
  1775. + if [ -x /usr/bin/oslevel ] ; then
  1776. + IBM_REV=`/usr/bin/oslevel`
  1777. + else
  1778. + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  1779. + fi
  1780. + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
  1781. + exit ;;
  1782. + *:AIX:2:3)
  1783. + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  1784. + eval $set_cc_for_build
  1785. + sed 's/^ //' << EOF >$dummy.c
  1786. + #include <sys/systemcfg.h>
  1787. +
  1788. + main()
  1789. + {
  1790. + if (!__power_pc())
  1791. + exit(1);
  1792. + puts("powerpc-ibm-aix3.2.5");
  1793. + exit(0);
  1794. + }
  1795. +EOF
  1796. + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
  1797. + then
  1798. + echo "$SYSTEM_NAME"
  1799. + else
  1800. + echo rs6000-ibm-aix3.2.5
  1801. + fi
  1802. + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  1803. + echo rs6000-ibm-aix3.2.4
  1804. + else
  1805. + echo rs6000-ibm-aix3.2
  1806. + fi
  1807. + exit ;;
  1808. + *:AIX:*:[4567])
  1809. + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  1810. + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  1811. + IBM_ARCH=rs6000
  1812. + else
  1813. + IBM_ARCH=powerpc
  1814. + fi
  1815. + if [ -x /usr/bin/oslevel ] ; then
  1816. + IBM_REV=`/usr/bin/oslevel`
  1817. + else
  1818. + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  1819. + fi
  1820. + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  1821. + exit ;;
  1822. + *:AIX:*:*)
  1823. + echo rs6000-ibm-aix
  1824. + exit ;;
  1825. + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  1826. + echo romp-ibm-bsd4.4
  1827. + exit ;;
  1828. + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
  1829. + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
  1830. + exit ;; # report: romp-ibm BSD 4.3
  1831. + *:BOSX:*:*)
  1832. + echo rs6000-bull-bosx
  1833. + exit ;;
  1834. + DPX/2?00:B.O.S.:*:*)
  1835. + echo m68k-bull-sysv3
  1836. + exit ;;
  1837. + 9000/[34]??:4.3bsd:1.*:*)
  1838. + echo m68k-hp-bsd
  1839. + exit ;;
  1840. + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  1841. + echo m68k-hp-bsd4.4
  1842. + exit ;;
  1843. + 9000/[34678]??:HP-UX:*:*)
  1844. + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  1845. + case "${UNAME_MACHINE}" in
  1846. + 9000/31? ) HP_ARCH=m68000 ;;
  1847. + 9000/[34]?? ) HP_ARCH=m68k ;;
  1848. + 9000/[678][0-9][0-9])
  1849. + if [ -x /usr/bin/getconf ]; then
  1850. + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
  1851. + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
  1852. + case "${sc_cpu_version}" in
  1853. + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
  1854. + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
  1855. + 532) # CPU_PA_RISC2_0
  1856. + case "${sc_kernel_bits}" in
  1857. + 32) HP_ARCH="hppa2.0n" ;;
  1858. + 64) HP_ARCH="hppa2.0w" ;;
  1859. + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
  1860. + esac ;;
  1861. + esac
  1862. + fi
  1863. + if [ "${HP_ARCH}" = "" ]; then
  1864. + eval $set_cc_for_build
  1865. + sed 's/^ //' << EOF >$dummy.c
  1866. +
  1867. + #define _HPUX_SOURCE
  1868. + #include <stdlib.h>
  1869. + #include <unistd.h>
  1870. +
  1871. + int main ()
  1872. + {
  1873. + #if defined(_SC_KERNEL_BITS)
  1874. + long bits = sysconf(_SC_KERNEL_BITS);
  1875. + #endif
  1876. + long cpu = sysconf (_SC_CPU_VERSION);
  1877. +
  1878. + switch (cpu)
  1879. + {
  1880. + case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
  1881. + case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
  1882. + case CPU_PA_RISC2_0:
  1883. + #if defined(_SC_KERNEL_BITS)
  1884. + switch (bits)
  1885. + {
  1886. + case 64: puts ("hppa2.0w"); break;
  1887. + case 32: puts ("hppa2.0n"); break;
  1888. + default: puts ("hppa2.0"); break;
  1889. + } break;
  1890. + #else /* !defined(_SC_KERNEL_BITS) */
  1891. + puts ("hppa2.0"); break;
  1892. + #endif
  1893. + default: puts ("hppa1.0"); break;
  1894. + }
  1895. + exit (0);
  1896. + }
  1897. +EOF
  1898. + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
  1899. + test -z "$HP_ARCH" && HP_ARCH=hppa
  1900. + fi ;;
  1901. + esac
  1902. + if [ ${HP_ARCH} = "hppa2.0w" ]
  1903. + then
  1904. + eval $set_cc_for_build
  1905. +
  1906. + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
  1907. + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
  1908. + # generating 64-bit code. GNU and HP use different nomenclature:
  1909. + #
  1910. + # $ CC_FOR_BUILD=cc ./config.guess
  1911. + # => hppa2.0w-hp-hpux11.23
  1912. + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
  1913. + # => hppa64-hp-hpux11.23
  1914. +
  1915. + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  1916. + grep -q __LP64__
  1917. + then
  1918. + HP_ARCH="hppa2.0w"
  1919. + else
  1920. + HP_ARCH="hppa64"
  1921. + fi
  1922. + fi
  1923. + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  1924. + exit ;;
  1925. + ia64:HP-UX:*:*)
  1926. + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  1927. + echo ia64-hp-hpux${HPUX_REV}
  1928. + exit ;;
  1929. + 3050*:HI-UX:*:*)
  1930. + eval $set_cc_for_build
  1931. + sed 's/^ //' << EOF >$dummy.c
  1932. + #include <unistd.h>
  1933. + int
  1934. + main ()
  1935. + {
  1936. + long cpu = sysconf (_SC_CPU_VERSION);
  1937. + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
  1938. + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
  1939. + results, however. */
  1940. + if (CPU_IS_PA_RISC (cpu))
  1941. + {
  1942. + switch (cpu)
  1943. + {
  1944. + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
  1945. + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
  1946. + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
  1947. + default: puts ("hppa-hitachi-hiuxwe2"); break;
  1948. + }
  1949. + }
  1950. + else if (CPU_IS_HP_MC68K (cpu))
  1951. + puts ("m68k-hitachi-hiuxwe2");
  1952. + else puts ("unknown-hitachi-hiuxwe2");
  1953. + exit (0);
  1954. + }
  1955. +EOF
  1956. + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
  1957. + { echo "$SYSTEM_NAME"; exit; }
  1958. + echo unknown-hitachi-hiuxwe2
  1959. + exit ;;
  1960. + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  1961. + echo hppa1.1-hp-bsd
  1962. + exit ;;
  1963. + 9000/8??:4.3bsd:*:*)
  1964. + echo hppa1.0-hp-bsd
  1965. + exit ;;
  1966. + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
  1967. + echo hppa1.0-hp-mpeix
  1968. + exit ;;
  1969. + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  1970. + echo hppa1.1-hp-osf
  1971. + exit ;;
  1972. + hp8??:OSF1:*:*)
  1973. + echo hppa1.0-hp-osf
  1974. + exit ;;
  1975. + i*86:OSF1:*:*)
  1976. + if [ -x /usr/sbin/sysversion ] ; then
  1977. + echo ${UNAME_MACHINE}-unknown-osf1mk
  1978. + else
  1979. + echo ${UNAME_MACHINE}-unknown-osf1
  1980. + fi
  1981. + exit ;;
  1982. + parisc*:Lites*:*:*)
  1983. + echo hppa1.1-hp-lites
  1984. + exit ;;
  1985. + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  1986. + echo c1-convex-bsd
  1987. + exit ;;
  1988. + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  1989. + if getsysinfo -f scalar_acc
  1990. + then echo c32-convex-bsd
  1991. + else echo c2-convex-bsd
  1992. + fi
  1993. + exit ;;
  1994. + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  1995. + echo c34-convex-bsd
  1996. + exit ;;
  1997. + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  1998. + echo c38-convex-bsd
  1999. + exit ;;
  2000. + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  2001. + echo c4-convex-bsd
  2002. + exit ;;
  2003. + CRAY*Y-MP:*:*:*)
  2004. + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  2005. + exit ;;
  2006. + CRAY*[A-Z]90:*:*:*)
  2007. + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
  2008. + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
  2009. + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
  2010. + -e 's/\.[^.]*$/.X/'
  2011. + exit ;;
  2012. + CRAY*TS:*:*:*)
  2013. + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  2014. + exit ;;
  2015. + CRAY*T3E:*:*:*)
  2016. + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  2017. + exit ;;
  2018. + CRAY*SV1:*:*:*)
  2019. + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  2020. + exit ;;
  2021. + *:UNICOS/mp:*:*)
  2022. + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  2023. + exit ;;
  2024. + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
  2025. + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  2026. + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  2027. + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
  2028. + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  2029. + exit ;;
  2030. + 5000:UNIX_System_V:4.*:*)
  2031. + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  2032. + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
  2033. + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  2034. + exit ;;
  2035. + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
  2036. + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
  2037. + exit ;;
  2038. + sparc*:BSD/OS:*:*)
  2039. + echo sparc-unknown-bsdi${UNAME_RELEASE}
  2040. + exit ;;
  2041. + *:BSD/OS:*:*)
  2042. + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  2043. + exit ;;
  2044. + *:FreeBSD:*:*)
  2045. + UNAME_PROCESSOR=`/usr/bin/uname -p`
  2046. + case ${UNAME_PROCESSOR} in
  2047. + amd64)
  2048. + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  2049. + *)
  2050. + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  2051. + esac
  2052. + exit ;;
  2053. + i*:CYGWIN*:*)
  2054. + echo ${UNAME_MACHINE}-pc-cygwin
  2055. + exit ;;
  2056. + *:MINGW*:*)
  2057. + echo ${UNAME_MACHINE}-pc-mingw32
  2058. + exit ;;
  2059. + i*:MSYS*:*)
  2060. + echo ${UNAME_MACHINE}-pc-msys
  2061. + exit ;;
  2062. + i*:windows32*:*)
  2063. + # uname -m includes "-pc" on this system.
  2064. + echo ${UNAME_MACHINE}-mingw32
  2065. + exit ;;
  2066. + i*:PW*:*)
  2067. + echo ${UNAME_MACHINE}-pc-pw32
  2068. + exit ;;
  2069. + *:Interix*:*)
  2070. + case ${UNAME_MACHINE} in
  2071. + x86)
  2072. + echo i586-pc-interix${UNAME_RELEASE}
  2073. + exit ;;
  2074. + authenticamd | genuineintel | EM64T)
  2075. + echo x86_64-unknown-interix${UNAME_RELEASE}
  2076. + exit ;;
  2077. + IA64)
  2078. + echo ia64-unknown-interix${UNAME_RELEASE}
  2079. + exit ;;
  2080. + esac ;;
  2081. + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  2082. + echo i${UNAME_MACHINE}-pc-mks
  2083. + exit ;;
  2084. + 8664:Windows_NT:*)
  2085. + echo x86_64-pc-mks
  2086. + exit ;;
  2087. + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  2088. + # How do we know it's Interix rather than the generic POSIX subsystem?
  2089. + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  2090. + # UNAME_MACHINE based on the output of uname instead of i386?
  2091. + echo i586-pc-interix
  2092. + exit ;;
  2093. + i*:UWIN*:*)
  2094. + echo ${UNAME_MACHINE}-pc-uwin
  2095. + exit ;;
  2096. + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
  2097. + echo x86_64-unknown-cygwin
  2098. + exit ;;
  2099. + p*:CYGWIN*:*)
  2100. + echo powerpcle-unknown-cygwin
  2101. + exit ;;
  2102. + prep*:SunOS:5.*:*)
  2103. + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  2104. + exit ;;
  2105. + *:GNU:*:*)
  2106. + # the GNU system
  2107. + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  2108. + exit ;;
  2109. + *:GNU/*:*:*)
  2110. + # other systems with GNU libc and userland
  2111. + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
  2112. + exit ;;
  2113. + i*86:Minix:*:*)
  2114. + echo ${UNAME_MACHINE}-pc-minix
  2115. + exit ;;
  2116. + aarch64:Linux:*:*)
  2117. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2118. + exit ;;
  2119. + aarch64_be:Linux:*:*)
  2120. + UNAME_MACHINE=aarch64_be
  2121. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2122. + exit ;;
  2123. + alpha:Linux:*:*)
  2124. + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  2125. + EV5) UNAME_MACHINE=alphaev5 ;;
  2126. + EV56) UNAME_MACHINE=alphaev56 ;;
  2127. + PCA56) UNAME_MACHINE=alphapca56 ;;
  2128. + PCA57) UNAME_MACHINE=alphapca56 ;;
  2129. + EV6) UNAME_MACHINE=alphaev6 ;;
  2130. + EV67) UNAME_MACHINE=alphaev67 ;;
  2131. + EV68*) UNAME_MACHINE=alphaev68 ;;
  2132. + esac
  2133. + objdump --private-headers /bin/sh | grep -q ld.so.1
  2134. + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  2135. + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  2136. + exit ;;
  2137. + arm*:Linux:*:*)
  2138. + eval $set_cc_for_build
  2139. + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
  2140. + | grep -q __ARM_EABI__
  2141. + then
  2142. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2143. + else
  2144. + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
  2145. + | grep -q __ARM_PCS_VFP
  2146. + then
  2147. + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
  2148. + else
  2149. + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
  2150. + fi
  2151. + fi
  2152. + exit ;;
  2153. + avr32*:Linux:*:*)
  2154. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2155. + exit ;;
  2156. + cris:Linux:*:*)
  2157. + echo ${UNAME_MACHINE}-axis-linux-gnu
  2158. + exit ;;
  2159. + crisv32:Linux:*:*)
  2160. + echo ${UNAME_MACHINE}-axis-linux-gnu
  2161. + exit ;;
  2162. + frv:Linux:*:*)
  2163. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2164. + exit ;;
  2165. + hexagon:Linux:*:*)
  2166. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2167. + exit ;;
  2168. + i*86:Linux:*:*)
  2169. + LIBC=gnu
  2170. + eval $set_cc_for_build
  2171. + sed 's/^ //' << EOF >$dummy.c
  2172. + #ifdef __dietlibc__
  2173. + LIBC=dietlibc
  2174. + #endif
  2175. +EOF
  2176. + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
  2177. + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
  2178. + exit ;;
  2179. + ia64:Linux:*:*)
  2180. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2181. + exit ;;
  2182. + m32r*:Linux:*:*)
  2183. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2184. + exit ;;
  2185. + m68*:Linux:*:*)
  2186. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2187. + exit ;;
  2188. + mips:Linux:*:* | mips64:Linux:*:*)
  2189. + eval $set_cc_for_build
  2190. + sed 's/^ //' << EOF >$dummy.c
  2191. + #undef CPU
  2192. + #undef ${UNAME_MACHINE}
  2193. + #undef ${UNAME_MACHINE}el
  2194. + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  2195. + CPU=${UNAME_MACHINE}el
  2196. + #else
  2197. + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  2198. + CPU=${UNAME_MACHINE}
  2199. + #else
  2200. + CPU=
  2201. + #endif
  2202. + #endif
  2203. +EOF
  2204. + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
  2205. + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  2206. + ;;
  2207. + or32:Linux:*:*)
  2208. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2209. + exit ;;
  2210. + padre:Linux:*:*)
  2211. + echo sparc-unknown-linux-gnu
  2212. + exit ;;
  2213. + parisc64:Linux:*:* | hppa64:Linux:*:*)
  2214. + echo hppa64-unknown-linux-gnu
  2215. + exit ;;
  2216. + parisc:Linux:*:* | hppa:Linux:*:*)
  2217. + # Look for CPU level
  2218. + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  2219. + PA7*) echo hppa1.1-unknown-linux-gnu ;;
  2220. + PA8*) echo hppa2.0-unknown-linux-gnu ;;
  2221. + *) echo hppa-unknown-linux-gnu ;;
  2222. + esac
  2223. + exit ;;
  2224. + ppc64:Linux:*:*)
  2225. + echo powerpc64-unknown-linux-gnu
  2226. + exit ;;
  2227. + ppc:Linux:*:*)
  2228. + echo powerpc-unknown-linux-gnu
  2229. + exit ;;
  2230. + s390:Linux:*:* | s390x:Linux:*:*)
  2231. + echo ${UNAME_MACHINE}-ibm-linux
  2232. + exit ;;
  2233. + sh64*:Linux:*:*)
  2234. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2235. + exit ;;
  2236. + sh*:Linux:*:*)
  2237. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2238. + exit ;;
  2239. + sparc:Linux:*:* | sparc64:Linux:*:*)
  2240. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2241. + exit ;;
  2242. + tile*:Linux:*:*)
  2243. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2244. + exit ;;
  2245. + vax:Linux:*:*)
  2246. + echo ${UNAME_MACHINE}-dec-linux-gnu
  2247. + exit ;;
  2248. + x86_64:Linux:*:*)
  2249. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2250. + exit ;;
  2251. + xtensa*:Linux:*:*)
  2252. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  2253. + exit ;;
  2254. + i*86:DYNIX/ptx:4*:*)
  2255. + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
  2256. + # earlier versions are messed up and put the nodename in both
  2257. + # sysname and nodename.
  2258. + echo i386-sequent-sysv4
  2259. + exit ;;
  2260. + i*86:UNIX_SV:4.2MP:2.*)
  2261. + # Unixware is an offshoot of SVR4, but it has its own version
  2262. + # number series starting with 2...
  2263. + # I am not positive that other SVR4 systems won't match this,
  2264. + # I just have to hope. -- rms.
  2265. + # Use sysv4.2uw... so that sysv4* matches it.
  2266. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
  2267. + exit ;;
  2268. + i*86:OS/2:*:*)
  2269. + # If we were able to find `uname', then EMX Unix compatibility
  2270. + # is probably installed.
  2271. + echo ${UNAME_MACHINE}-pc-os2-emx
  2272. + exit ;;
  2273. + i*86:XTS-300:*:STOP)
  2274. + echo ${UNAME_MACHINE}-unknown-stop
  2275. + exit ;;
  2276. + i*86:atheos:*:*)
  2277. + echo ${UNAME_MACHINE}-unknown-atheos
  2278. + exit ;;
  2279. + i*86:syllable:*:*)
  2280. + echo ${UNAME_MACHINE}-pc-syllable
  2281. + exit ;;
  2282. + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
  2283. + echo i386-unknown-lynxos${UNAME_RELEASE}
  2284. + exit ;;
  2285. + i*86:*DOS:*:*)
  2286. + echo ${UNAME_MACHINE}-pc-msdosdjgpp
  2287. + exit ;;
  2288. + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
  2289. + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
  2290. + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
  2291. + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
  2292. + else
  2293. + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
  2294. + fi
  2295. + exit ;;
  2296. + i*86:*:5:[678]*)
  2297. + # UnixWare 7.x, OpenUNIX and OpenServer 6.
  2298. + case `/bin/uname -X | grep "^Machine"` in
  2299. + *486*) UNAME_MACHINE=i486 ;;
  2300. + *Pentium) UNAME_MACHINE=i586 ;;
  2301. + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
  2302. + esac
  2303. + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
  2304. + exit ;;
  2305. + i*86:*:3.2:*)
  2306. + if test -f /usr/options/cb.name; then
  2307. + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
  2308. + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
  2309. + elif /bin/uname -X 2>/dev/null >/dev/null ; then
  2310. + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
  2311. + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
  2312. + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
  2313. + && UNAME_MACHINE=i586
  2314. + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
  2315. + && UNAME_MACHINE=i686
  2316. + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
  2317. + && UNAME_MACHINE=i686
  2318. + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
  2319. + else
  2320. + echo ${UNAME_MACHINE}-pc-sysv32
  2321. + fi
  2322. + exit ;;
  2323. + pc:*:*:*)
  2324. + # Left here for compatibility:
  2325. + # uname -m prints for DJGPP always 'pc', but it prints nothing about
  2326. + # the processor, so we play safe by assuming i586.
  2327. + # Note: whatever this is, it MUST be the same as what config.sub
  2328. + # prints for the "djgpp" host, or else GDB configury will decide that
  2329. + # this is a cross-build.
  2330. + echo i586-pc-msdosdjgpp
  2331. + exit ;;
  2332. + Intel:Mach:3*:*)
  2333. + echo i386-pc-mach3
  2334. + exit ;;
  2335. + paragon:*:*:*)
  2336. + echo i860-intel-osf1
  2337. + exit ;;
  2338. + i860:*:4.*:*) # i860-SVR4
  2339. + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
  2340. + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
  2341. + else # Add other i860-SVR4 vendors below as they are discovered.
  2342. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
  2343. + fi
  2344. + exit ;;
  2345. + mini*:CTIX:SYS*5:*)
  2346. + # "miniframe"
  2347. + echo m68010-convergent-sysv
  2348. + exit ;;
  2349. + mc68k:UNIX:SYSTEM5:3.51m)
  2350. + echo m68k-convergent-sysv
  2351. + exit ;;
  2352. + M680?0:D-NIX:5.3:*)
  2353. + echo m68k-diab-dnix
  2354. + exit ;;
  2355. + M68*:*:R3V[5678]*:*)
  2356. + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
  2357. + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
  2358. + OS_REL=''
  2359. + test -r /etc/.relid \
  2360. + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  2361. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  2362. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  2363. + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  2364. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  2365. + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  2366. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  2367. + && { echo i486-ncr-sysv4; exit; } ;;
  2368. + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
  2369. + OS_REL='.3'
  2370. + test -r /etc/.relid \
  2371. + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  2372. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  2373. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  2374. + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  2375. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
  2376. + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
  2377. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  2378. + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
  2379. + echo m68k-unknown-lynxos${UNAME_RELEASE}
  2380. + exit ;;
  2381. + mc68030:UNIX_System_V:4.*:*)
  2382. + echo m68k-atari-sysv4
  2383. + exit ;;
  2384. + TSUNAMI:LynxOS:2.*:*)
  2385. + echo sparc-unknown-lynxos${UNAME_RELEASE}
  2386. + exit ;;
  2387. + rs6000:LynxOS:2.*:*)
  2388. + echo rs6000-unknown-lynxos${UNAME_RELEASE}
  2389. + exit ;;
  2390. + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
  2391. + echo powerpc-unknown-lynxos${UNAME_RELEASE}
  2392. + exit ;;
  2393. + SM[BE]S:UNIX_SV:*:*)
  2394. + echo mips-dde-sysv${UNAME_RELEASE}
  2395. + exit ;;
  2396. + RM*:ReliantUNIX-*:*:*)
  2397. + echo mips-sni-sysv4
  2398. + exit ;;
  2399. + RM*:SINIX-*:*:*)
  2400. + echo mips-sni-sysv4
  2401. + exit ;;
  2402. + *:SINIX-*:*:*)
  2403. + if uname -p 2>/dev/null >/dev/null ; then
  2404. + UNAME_MACHINE=`(uname -p) 2>/dev/null`
  2405. + echo ${UNAME_MACHINE}-sni-sysv4
  2406. + else
  2407. + echo ns32k-sni-sysv
  2408. + fi
  2409. + exit ;;
  2410. + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
  2411. + # says <Richard.M.Bartel@ccMail.Census.GOV>
  2412. + echo i586-unisys-sysv4
  2413. + exit ;;
  2414. + *:UNIX_System_V:4*:FTX*)
  2415. + # From Gerald Hewes <hewes@openmarket.com>.
  2416. + # How about differentiating between stratus architectures? -djm
  2417. + echo hppa1.1-stratus-sysv4
  2418. + exit ;;
  2419. + *:*:*:FTX*)
  2420. + # From seanf@swdc.stratus.com.
  2421. + echo i860-stratus-sysv4
  2422. + exit ;;
  2423. + i*86:VOS:*:*)
  2424. + # From Paul.Green@stratus.com.
  2425. + echo ${UNAME_MACHINE}-stratus-vos
  2426. + exit ;;
  2427. + *:VOS:*:*)
  2428. + # From Paul.Green@stratus.com.
  2429. + echo hppa1.1-stratus-vos
  2430. + exit ;;
  2431. + mc68*:A/UX:*:*)
  2432. + echo m68k-apple-aux${UNAME_RELEASE}
  2433. + exit ;;
  2434. + news*:NEWS-OS:6*:*)
  2435. + echo mips-sony-newsos6
  2436. + exit ;;
  2437. + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
  2438. + if [ -d /usr/nec ]; then
  2439. + echo mips-nec-sysv${UNAME_RELEASE}
  2440. + else
  2441. + echo mips-unknown-sysv${UNAME_RELEASE}
  2442. + fi
  2443. + exit ;;
  2444. + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
  2445. + echo powerpc-be-beos
  2446. + exit ;;
  2447. + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
  2448. + echo powerpc-apple-beos
  2449. + exit ;;
  2450. + BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
  2451. + echo i586-pc-beos
  2452. + exit ;;
  2453. + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
  2454. + echo i586-pc-haiku
  2455. + exit ;;
  2456. + SX-4:SUPER-UX:*:*)
  2457. + echo sx4-nec-superux${UNAME_RELEASE}
  2458. + exit ;;
  2459. + SX-5:SUPER-UX:*:*)
  2460. + echo sx5-nec-superux${UNAME_RELEASE}
  2461. + exit ;;
  2462. + SX-6:SUPER-UX:*:*)
  2463. + echo sx6-nec-superux${UNAME_RELEASE}
  2464. + exit ;;
  2465. + SX-7:SUPER-UX:*:*)
  2466. + echo sx7-nec-superux${UNAME_RELEASE}
  2467. + exit ;;
  2468. + SX-8:SUPER-UX:*:*)
  2469. + echo sx8-nec-superux${UNAME_RELEASE}
  2470. + exit ;;
  2471. + SX-8R:SUPER-UX:*:*)
  2472. + echo sx8r-nec-superux${UNAME_RELEASE}
  2473. + exit ;;
  2474. + Power*:Rhapsody:*:*)
  2475. + echo powerpc-apple-rhapsody${UNAME_RELEASE}
  2476. + exit ;;
  2477. + *:Rhapsody:*:*)
  2478. + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
  2479. + exit ;;
  2480. + *:Darwin:*:*)
  2481. + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
  2482. + case $UNAME_PROCESSOR in
  2483. + i386)
  2484. + eval $set_cc_for_build
  2485. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  2486. + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
  2487. + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  2488. + grep IS_64BIT_ARCH >/dev/null
  2489. + then
  2490. + UNAME_PROCESSOR="x86_64"
  2491. + fi
  2492. + fi ;;
  2493. + unknown) UNAME_PROCESSOR=powerpc ;;
  2494. + esac
  2495. + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
  2496. + exit ;;
  2497. + *:procnto*:*:* | *:QNX:[0123456789]*:*)
  2498. + UNAME_PROCESSOR=`uname -p`
  2499. + if test "$UNAME_PROCESSOR" = "x86"; then
  2500. + UNAME_PROCESSOR=i386
  2501. + UNAME_MACHINE=pc
  2502. + fi
  2503. + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
  2504. + exit ;;
  2505. + *:QNX:*:4*)
  2506. + echo i386-pc-qnx
  2507. + exit ;;
  2508. + NEO-?:NONSTOP_KERNEL:*:*)
  2509. + echo neo-tandem-nsk${UNAME_RELEASE}
  2510. + exit ;;
  2511. + NSE-?:NONSTOP_KERNEL:*:*)
  2512. + echo nse-tandem-nsk${UNAME_RELEASE}
  2513. + exit ;;
  2514. + NSR-?:NONSTOP_KERNEL:*:*)
  2515. + echo nsr-tandem-nsk${UNAME_RELEASE}
  2516. + exit ;;
  2517. + *:NonStop-UX:*:*)
  2518. + echo mips-compaq-nonstopux
  2519. + exit ;;
  2520. + BS2000:POSIX*:*:*)
  2521. + echo bs2000-siemens-sysv
  2522. + exit ;;
  2523. + DS/*:UNIX_System_V:*:*)
  2524. + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
  2525. + exit ;;
  2526. + *:Plan9:*:*)
  2527. + # "uname -m" is not consistent, so use $cputype instead. 386
  2528. + # is converted to i386 for consistency with other x86
  2529. + # operating systems.
  2530. + if test "$cputype" = "386"; then
  2531. + UNAME_MACHINE=i386
  2532. + else
  2533. + UNAME_MACHINE="$cputype"
  2534. + fi
  2535. + echo ${UNAME_MACHINE}-unknown-plan9
  2536. + exit ;;
  2537. + *:TOPS-10:*:*)
  2538. + echo pdp10-unknown-tops10
  2539. + exit ;;
  2540. + *:TENEX:*:*)
  2541. + echo pdp10-unknown-tenex
  2542. + exit ;;
  2543. + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
  2544. + echo pdp10-dec-tops20
  2545. + exit ;;
  2546. + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
  2547. + echo pdp10-xkl-tops20
  2548. + exit ;;
  2549. + *:TOPS-20:*:*)
  2550. + echo pdp10-unknown-tops20
  2551. + exit ;;
  2552. + *:ITS:*:*)
  2553. + echo pdp10-unknown-its
  2554. + exit ;;
  2555. + SEI:*:*:SEIUX)
  2556. + echo mips-sei-seiux${UNAME_RELEASE}
  2557. + exit ;;
  2558. + *:DragonFly:*:*)
  2559. + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  2560. + exit ;;
  2561. + *:*VMS:*:*)
  2562. + UNAME_MACHINE=`(uname -p) 2>/dev/null`
  2563. + case "${UNAME_MACHINE}" in
  2564. + A*) echo alpha-dec-vms ; exit ;;
  2565. + I*) echo ia64-dec-vms ; exit ;;
  2566. + V*) echo vax-dec-vms ; exit ;;
  2567. + esac ;;
  2568. + *:XENIX:*:SysV)
  2569. + echo i386-pc-xenix
  2570. + exit ;;
  2571. + i*86:skyos:*:*)
  2572. + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
  2573. + exit ;;
  2574. + i*86:rdos:*:*)
  2575. + echo ${UNAME_MACHINE}-pc-rdos
  2576. + exit ;;
  2577. + i*86:AROS:*:*)
  2578. + echo ${UNAME_MACHINE}-pc-aros
  2579. + exit ;;
  2580. + x86_64:VMkernel:*:*)
  2581. + echo ${UNAME_MACHINE}-unknown-esx
  2582. + exit ;;
  2583. +esac
  2584. +
  2585. +#echo '(No uname command or uname output not recognized.)' 1>&2
  2586. +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
  2587. +
  2588. +eval $set_cc_for_build
  2589. +cat >$dummy.c <<EOF
  2590. +#ifdef _SEQUENT_
  2591. +# include <sys/types.h>
  2592. +# include <sys/utsname.h>
  2593. +#endif
  2594. +main ()
  2595. +{
  2596. +#if defined (sony)
  2597. +#if defined (MIPSEB)
  2598. + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
  2599. + I don't know.... */
  2600. + printf ("mips-sony-bsd\n"); exit (0);
  2601. +#else
  2602. +#include <sys/param.h>
  2603. + printf ("m68k-sony-newsos%s\n",
  2604. +#ifdef NEWSOS4
  2605. + "4"
  2606. +#else
  2607. + ""
  2608. +#endif
  2609. + ); exit (0);
  2610. +#endif
  2611. +#endif
  2612. +
  2613. +#if defined (__arm) && defined (__acorn) && defined (__unix)
  2614. + printf ("arm-acorn-riscix\n"); exit (0);
  2615. +#endif
  2616. +
  2617. +#if defined (hp300) && !defined (hpux)
  2618. + printf ("m68k-hp-bsd\n"); exit (0);
  2619. +#endif
  2620. +
  2621. +#if defined (NeXT)
  2622. +#if !defined (__ARCHITECTURE__)
  2623. +#define __ARCHITECTURE__ "m68k"
  2624. +#endif
  2625. + int version;
  2626. + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
  2627. + if (version < 4)
  2628. + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
  2629. + else
  2630. + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
  2631. + exit (0);
  2632. +#endif
  2633. +
  2634. +#if defined (MULTIMAX) || defined (n16)
  2635. +#if defined (UMAXV)
  2636. + printf ("ns32k-encore-sysv\n"); exit (0);
  2637. +#else
  2638. +#if defined (CMU)
  2639. + printf ("ns32k-encore-mach\n"); exit (0);
  2640. +#else
  2641. + printf ("ns32k-encore-bsd\n"); exit (0);
  2642. +#endif
  2643. +#endif
  2644. +#endif
  2645. +
  2646. +#if defined (__386BSD__)
  2647. + printf ("i386-pc-bsd\n"); exit (0);
  2648. +#endif
  2649. +
  2650. +#if defined (sequent)
  2651. +#if defined (i386)
  2652. + printf ("i386-sequent-dynix\n"); exit (0);
  2653. +#endif
  2654. +#if defined (ns32000)
  2655. + printf ("ns32k-sequent-dynix\n"); exit (0);
  2656. +#endif
  2657. +#endif
  2658. +
  2659. +#if defined (_SEQUENT_)
  2660. + struct utsname un;
  2661. +
  2662. + uname(&un);
  2663. +
  2664. + if (strncmp(un.version, "V2", 2) == 0) {
  2665. + printf ("i386-sequent-ptx2\n"); exit (0);
  2666. + }
  2667. + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
  2668. + printf ("i386-sequent-ptx1\n"); exit (0);
  2669. + }
  2670. + printf ("i386-sequent-ptx\n"); exit (0);
  2671. +
  2672. +#endif
  2673. +
  2674. +#if defined (vax)
  2675. +# if !defined (ultrix)
  2676. +# include <sys/param.h>
  2677. +# if defined (BSD)
  2678. +# if BSD == 43
  2679. + printf ("vax-dec-bsd4.3\n"); exit (0);
  2680. +# else
  2681. +# if BSD == 199006
  2682. + printf ("vax-dec-bsd4.3reno\n"); exit (0);
  2683. +# else
  2684. + printf ("vax-dec-bsd\n"); exit (0);
  2685. +# endif
  2686. +# endif
  2687. +# else
  2688. + printf ("vax-dec-bsd\n"); exit (0);
  2689. +# endif
  2690. +# else
  2691. + printf ("vax-dec-ultrix\n"); exit (0);
  2692. +# endif
  2693. +#endif
  2694. +
  2695. +#if defined (alliant) && defined (i860)
  2696. + printf ("i860-alliant-bsd\n"); exit (0);
  2697. +#endif
  2698. +
  2699. + exit (1);
  2700. +}
  2701. +EOF
  2702. +
  2703. +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
  2704. + { echo "$SYSTEM_NAME"; exit; }
  2705. +
  2706. +# Apollos put the system type in the environment.
  2707. +
  2708. +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
  2709. +
  2710. +# Convex versions that predate uname can use getsysinfo(1)
  2711. +
  2712. +if [ -x /usr/convex/getsysinfo ]
  2713. +then
  2714. + case `getsysinfo -f cpu_type` in
  2715. + c1*)
  2716. + echo c1-convex-bsd
  2717. + exit ;;
  2718. + c2*)
  2719. + if getsysinfo -f scalar_acc
  2720. + then echo c32-convex-bsd
  2721. + else echo c2-convex-bsd
  2722. + fi
  2723. + exit ;;
  2724. + c34*)
  2725. + echo c34-convex-bsd
  2726. + exit ;;
  2727. + c38*)
  2728. + echo c38-convex-bsd
  2729. + exit ;;
  2730. + c4*)
  2731. + echo c4-convex-bsd
  2732. + exit ;;
  2733. + esac
  2734. +fi
  2735. +
  2736. +cat >&2 <<EOF
  2737. +$0: unable to guess system type
  2738. +
  2739. +This script, last modified $timestamp, has failed to recognize
  2740. +the operating system you are using. It is advised that you
  2741. +download the most up to date version of the config scripts from
  2742. +
  2743. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
  2744. +and
  2745. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  2746. +
  2747. +If the version you run ($0) is already up to date, please
  2748. +send the following data and any information you think might be
  2749. +pertinent to <config-patches@gnu.org> in order to provide the needed
  2750. +information to handle your system.
  2751. +
  2752. +config.guess timestamp = $timestamp
  2753. +
  2754. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2755. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2756. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2757. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2758. +
  2759. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
  2760. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
  2761. +
  2762. +hostinfo = `(hostinfo) 2>/dev/null`
  2763. +/bin/universe = `(/bin/universe) 2>/dev/null`
  2764. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
  2765. +/bin/arch = `(/bin/arch) 2>/dev/null`
  2766. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
  2767. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
  2768. +
  2769. +UNAME_MACHINE = ${UNAME_MACHINE}
  2770. +UNAME_RELEASE = ${UNAME_RELEASE}
  2771. +UNAME_SYSTEM = ${UNAME_SYSTEM}
  2772. +UNAME_VERSION = ${UNAME_VERSION}
  2773. +EOF
  2774. +
  2775. +exit 1
  2776. +
  2777. +# Local variables:
  2778. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  2779. +# time-stamp-start: "timestamp='"
  2780. +# time-stamp-format: "%:y-%02m-%02d"
  2781. +# time-stamp-end: "'"
  2782. +# End:
  2783. --- /dev/null
  2784. +++ cgminer-2.4.1/configure
  2785. @@ -0,0 +1,11455 @@
  2786. +#! /bin/sh
  2787. +# Guess values for system-dependent variables and create Makefiles.
  2788. +# Generated by GNU Autoconf 2.68 for cgminer 2.4.1.
  2789. +#
  2790. +# Report bugs to <kernel@kolivas.org>.
  2791. +#
  2792. +#
  2793. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  2794. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  2795. +# Foundation, Inc.
  2796. +#
  2797. +#
  2798. +# This configure script is free software; the Free Software Foundation
  2799. +# gives unlimited permission to copy, distribute and modify it.
  2800. +## -------------------- ##
  2801. +## M4sh Initialization. ##
  2802. +## -------------------- ##
  2803. +
  2804. +# Be more Bourne compatible
  2805. +DUALCASE=1; export DUALCASE # for MKS sh
  2806. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  2807. + emulate sh
  2808. + NULLCMD=:
  2809. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  2810. + # is contrary to our usage. Disable this feature.
  2811. + alias -g '${1+"$@"}'='"$@"'
  2812. + setopt NO_GLOB_SUBST
  2813. +else
  2814. + case `(set -o) 2>/dev/null` in #(
  2815. + *posix*) :
  2816. + set -o posix ;; #(
  2817. + *) :
  2818. + ;;
  2819. +esac
  2820. +fi
  2821. +
  2822. +
  2823. +as_nl='
  2824. +'
  2825. +export as_nl
  2826. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  2827. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  2828. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  2829. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  2830. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  2831. +# but without wasting forks for bash or zsh.
  2832. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  2833. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  2834. + as_echo='print -r --'
  2835. + as_echo_n='print -rn --'
  2836. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  2837. + as_echo='printf %s\n'
  2838. + as_echo_n='printf %s'
  2839. +else
  2840. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  2841. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  2842. + as_echo_n='/usr/ucb/echo -n'
  2843. + else
  2844. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  2845. + as_echo_n_body='eval
  2846. + arg=$1;
  2847. + case $arg in #(
  2848. + *"$as_nl"*)
  2849. + expr "X$arg" : "X\\(.*\\)$as_nl";
  2850. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  2851. + esac;
  2852. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  2853. + '
  2854. + export as_echo_n_body
  2855. + as_echo_n='sh -c $as_echo_n_body as_echo'
  2856. + fi
  2857. + export as_echo_body
  2858. + as_echo='sh -c $as_echo_body as_echo'
  2859. +fi
  2860. +
  2861. +# The user is always right.
  2862. +if test "${PATH_SEPARATOR+set}" != set; then
  2863. + PATH_SEPARATOR=:
  2864. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  2865. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  2866. + PATH_SEPARATOR=';'
  2867. + }
  2868. +fi
  2869. +
  2870. +
  2871. +# IFS
  2872. +# We need space, tab and new line, in precisely that order. Quoting is
  2873. +# there to prevent editors from complaining about space-tab.
  2874. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  2875. +# splitting by setting IFS to empty value.)
  2876. +IFS=" "" $as_nl"
  2877. +
  2878. +# Find who we are. Look in the path if we contain no directory separator.
  2879. +as_myself=
  2880. +case $0 in #((
  2881. + *[\\/]* ) as_myself=$0 ;;
  2882. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2883. +for as_dir in $PATH
  2884. +do
  2885. + IFS=$as_save_IFS
  2886. + test -z "$as_dir" && as_dir=.
  2887. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  2888. + done
  2889. +IFS=$as_save_IFS
  2890. +
  2891. + ;;
  2892. +esac
  2893. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  2894. +# in which case we are not to be found in the path.
  2895. +if test "x$as_myself" = x; then
  2896. + as_myself=$0
  2897. +fi
  2898. +if test ! -f "$as_myself"; then
  2899. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  2900. + exit 1
  2901. +fi
  2902. +
  2903. +# Unset variables that we do not need and which cause bugs (e.g. in
  2904. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  2905. +# suppresses any "Segmentation fault" message there. '((' could
  2906. +# trigger a bug in pdksh 5.2.14.
  2907. +for as_var in BASH_ENV ENV MAIL MAILPATH
  2908. +do eval test x\${$as_var+set} = xset \
  2909. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  2910. +done
  2911. +PS1='$ '
  2912. +PS2='> '
  2913. +PS4='+ '
  2914. +
  2915. +# NLS nuisances.
  2916. +LC_ALL=C
  2917. +export LC_ALL
  2918. +LANGUAGE=C
  2919. +export LANGUAGE
  2920. +
  2921. +# CDPATH.
  2922. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  2923. +
  2924. +if test "x$CONFIG_SHELL" = x; then
  2925. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  2926. + emulate sh
  2927. + NULLCMD=:
  2928. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  2929. + # is contrary to our usage. Disable this feature.
  2930. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  2931. + setopt NO_GLOB_SUBST
  2932. +else
  2933. + case \`(set -o) 2>/dev/null\` in #(
  2934. + *posix*) :
  2935. + set -o posix ;; #(
  2936. + *) :
  2937. + ;;
  2938. +esac
  2939. +fi
  2940. +"
  2941. + as_required="as_fn_return () { (exit \$1); }
  2942. +as_fn_success () { as_fn_return 0; }
  2943. +as_fn_failure () { as_fn_return 1; }
  2944. +as_fn_ret_success () { return 0; }
  2945. +as_fn_ret_failure () { return 1; }
  2946. +
  2947. +exitcode=0
  2948. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  2949. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  2950. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  2951. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  2952. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  2953. +
  2954. +else
  2955. + exitcode=1; echo positional parameters were not saved.
  2956. +fi
  2957. +test x\$exitcode = x0 || exit 1"
  2958. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  2959. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  2960. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  2961. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  2962. +test \$(( 1 + 1 )) = 2 || exit 1"
  2963. + if (eval "$as_required") 2>/dev/null; then :
  2964. + as_have_required=yes
  2965. +else
  2966. + as_have_required=no
  2967. +fi
  2968. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  2969. +
  2970. +else
  2971. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2972. +as_found=false
  2973. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  2974. +do
  2975. + IFS=$as_save_IFS
  2976. + test -z "$as_dir" && as_dir=.
  2977. + as_found=:
  2978. + case $as_dir in #(
  2979. + /*)
  2980. + for as_base in sh bash ksh sh5; do
  2981. + # Try only shells that exist, to save several forks.
  2982. + as_shell=$as_dir/$as_base
  2983. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  2984. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  2985. + CONFIG_SHELL=$as_shell as_have_required=yes
  2986. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  2987. + break 2
  2988. +fi
  2989. +fi
  2990. + done;;
  2991. + esac
  2992. + as_found=false
  2993. +done
  2994. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  2995. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  2996. + CONFIG_SHELL=$SHELL as_have_required=yes
  2997. +fi; }
  2998. +IFS=$as_save_IFS
  2999. +
  3000. +
  3001. + if test "x$CONFIG_SHELL" != x; then :
  3002. + # We cannot yet assume a decent shell, so we have to provide a
  3003. + # neutralization value for shells without unset; and this also
  3004. + # works around shells that cannot unset nonexistent variables.
  3005. + # Preserve -v and -x to the replacement shell.
  3006. + BASH_ENV=/dev/null
  3007. + ENV=/dev/null
  3008. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  3009. + export CONFIG_SHELL
  3010. + case $- in # ((((
  3011. + *v*x* | *x*v* ) as_opts=-vx ;;
  3012. + *v* ) as_opts=-v ;;
  3013. + *x* ) as_opts=-x ;;
  3014. + * ) as_opts= ;;
  3015. + esac
  3016. + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  3017. +fi
  3018. +
  3019. + if test x$as_have_required = xno; then :
  3020. + $as_echo "$0: This script requires a shell more modern than all"
  3021. + $as_echo "$0: the shells that I found on your system."
  3022. + if test x${ZSH_VERSION+set} = xset ; then
  3023. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  3024. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  3025. + else
  3026. + $as_echo "$0: Please tell bug-autoconf@gnu.org and kernel@kolivas.org
  3027. +$0: about your system, including any error possibly output
  3028. +$0: before this message. Then install a modern shell, or
  3029. +$0: manually run the script under such a shell if you do
  3030. +$0: have one."
  3031. + fi
  3032. + exit 1
  3033. +fi
  3034. +fi
  3035. +fi
  3036. +SHELL=${CONFIG_SHELL-/bin/sh}
  3037. +export SHELL
  3038. +# Unset more variables known to interfere with behavior of common tools.
  3039. +CLICOLOR_FORCE= GREP_OPTIONS=
  3040. +unset CLICOLOR_FORCE GREP_OPTIONS
  3041. +
  3042. +## --------------------- ##
  3043. +## M4sh Shell Functions. ##
  3044. +## --------------------- ##
  3045. +# as_fn_unset VAR
  3046. +# ---------------
  3047. +# Portably unset VAR.
  3048. +as_fn_unset ()
  3049. +{
  3050. + { eval $1=; unset $1;}
  3051. +}
  3052. +as_unset=as_fn_unset
  3053. +
  3054. +# as_fn_set_status STATUS
  3055. +# -----------------------
  3056. +# Set $? to STATUS, without forking.
  3057. +as_fn_set_status ()
  3058. +{
  3059. + return $1
  3060. +} # as_fn_set_status
  3061. +
  3062. +# as_fn_exit STATUS
  3063. +# -----------------
  3064. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  3065. +as_fn_exit ()
  3066. +{
  3067. + set +e
  3068. + as_fn_set_status $1
  3069. + exit $1
  3070. +} # as_fn_exit
  3071. +
  3072. +# as_fn_mkdir_p
  3073. +# -------------
  3074. +# Create "$as_dir" as a directory, including parents if necessary.
  3075. +as_fn_mkdir_p ()
  3076. +{
  3077. +
  3078. + case $as_dir in #(
  3079. + -*) as_dir=./$as_dir;;
  3080. + esac
  3081. + test -d "$as_dir" || eval $as_mkdir_p || {
  3082. + as_dirs=
  3083. + while :; do
  3084. + case $as_dir in #(
  3085. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  3086. + *) as_qdir=$as_dir;;
  3087. + esac
  3088. + as_dirs="'$as_qdir' $as_dirs"
  3089. + as_dir=`$as_dirname -- "$as_dir" ||
  3090. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3091. + X"$as_dir" : 'X\(//\)[^/]' \| \
  3092. + X"$as_dir" : 'X\(//\)$' \| \
  3093. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  3094. +$as_echo X"$as_dir" |
  3095. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3096. + s//\1/
  3097. + q
  3098. + }
  3099. + /^X\(\/\/\)[^/].*/{
  3100. + s//\1/
  3101. + q
  3102. + }
  3103. + /^X\(\/\/\)$/{
  3104. + s//\1/
  3105. + q
  3106. + }
  3107. + /^X\(\/\).*/{
  3108. + s//\1/
  3109. + q
  3110. + }
  3111. + s/.*/./; q'`
  3112. + test -d "$as_dir" && break
  3113. + done
  3114. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  3115. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  3116. +
  3117. +
  3118. +} # as_fn_mkdir_p
  3119. +# as_fn_append VAR VALUE
  3120. +# ----------------------
  3121. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  3122. +# advantage of any shell optimizations that allow amortized linear growth over
  3123. +# repeated appends, instead of the typical quadratic growth present in naive
  3124. +# implementations.
  3125. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  3126. + eval 'as_fn_append ()
  3127. + {
  3128. + eval $1+=\$2
  3129. + }'
  3130. +else
  3131. + as_fn_append ()
  3132. + {
  3133. + eval $1=\$$1\$2
  3134. + }
  3135. +fi # as_fn_append
  3136. +
  3137. +# as_fn_arith ARG...
  3138. +# ------------------
  3139. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  3140. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  3141. +# must be portable across $(()) and expr.
  3142. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  3143. + eval 'as_fn_arith ()
  3144. + {
  3145. + as_val=$(( $* ))
  3146. + }'
  3147. +else
  3148. + as_fn_arith ()
  3149. + {
  3150. + as_val=`expr "$@" || test $? -eq 1`
  3151. + }
  3152. +fi # as_fn_arith
  3153. +
  3154. +
  3155. +# as_fn_error STATUS ERROR [LINENO LOG_FD]
  3156. +# ----------------------------------------
  3157. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  3158. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  3159. +# script with STATUS, using 1 if that was 0.
  3160. +as_fn_error ()
  3161. +{
  3162. + as_status=$1; test $as_status -eq 0 && as_status=1
  3163. + if test "$4"; then
  3164. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3165. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  3166. + fi
  3167. + $as_echo "$as_me: error: $2" >&2
  3168. + as_fn_exit $as_status
  3169. +} # as_fn_error
  3170. +
  3171. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  3172. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  3173. + as_expr=expr
  3174. +else
  3175. + as_expr=false
  3176. +fi
  3177. +
  3178. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  3179. + as_basename=basename
  3180. +else
  3181. + as_basename=false
  3182. +fi
  3183. +
  3184. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  3185. + as_dirname=dirname
  3186. +else
  3187. + as_dirname=false
  3188. +fi
  3189. +
  3190. +as_me=`$as_basename -- "$0" ||
  3191. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3192. + X"$0" : 'X\(//\)$' \| \
  3193. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  3194. +$as_echo X/"$0" |
  3195. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  3196. + s//\1/
  3197. + q
  3198. + }
  3199. + /^X\/\(\/\/\)$/{
  3200. + s//\1/
  3201. + q
  3202. + }
  3203. + /^X\/\(\/\).*/{
  3204. + s//\1/
  3205. + q
  3206. + }
  3207. + s/.*/./; q'`
  3208. +
  3209. +# Avoid depending upon Character Ranges.
  3210. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3211. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3212. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3213. +as_cr_digits='0123456789'
  3214. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  3215. +
  3216. +
  3217. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  3218. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  3219. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  3220. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  3221. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  3222. + sed -n '
  3223. + p
  3224. + /[$]LINENO/=
  3225. + ' <$as_myself |
  3226. + sed '
  3227. + s/[$]LINENO.*/&-/
  3228. + t lineno
  3229. + b
  3230. + :lineno
  3231. + N
  3232. + :loop
  3233. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  3234. + t loop
  3235. + s/-\n.*//
  3236. + ' >$as_me.lineno &&
  3237. + chmod +x "$as_me.lineno" ||
  3238. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  3239. +
  3240. + # Don't try to exec as it changes $[0], causing all sort of problems
  3241. + # (the dirname of $[0] is not the place where we might find the
  3242. + # original and so on. Autoconf is especially sensitive to this).
  3243. + . "./$as_me.lineno"
  3244. + # Exit status is that of the last command.
  3245. + exit
  3246. +}
  3247. +
  3248. +ECHO_C= ECHO_N= ECHO_T=
  3249. +case `echo -n x` in #(((((
  3250. +-n*)
  3251. + case `echo 'xy\c'` in
  3252. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  3253. + xy) ECHO_C='\c';;
  3254. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  3255. + ECHO_T=' ';;
  3256. + esac;;
  3257. +*)
  3258. + ECHO_N='-n';;
  3259. +esac
  3260. +
  3261. +rm -f conf$$ conf$$.exe conf$$.file
  3262. +if test -d conf$$.dir; then
  3263. + rm -f conf$$.dir/conf$$.file
  3264. +else
  3265. + rm -f conf$$.dir
  3266. + mkdir conf$$.dir 2>/dev/null
  3267. +fi
  3268. +if (echo >conf$$.file) 2>/dev/null; then
  3269. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  3270. + as_ln_s='ln -s'
  3271. + # ... but there are two gotchas:
  3272. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  3273. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  3274. + # In both cases, we have to default to `cp -p'.
  3275. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  3276. + as_ln_s='cp -p'
  3277. + elif ln conf$$.file conf$$ 2>/dev/null; then
  3278. + as_ln_s=ln
  3279. + else
  3280. + as_ln_s='cp -p'
  3281. + fi
  3282. +else
  3283. + as_ln_s='cp -p'
  3284. +fi
  3285. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  3286. +rmdir conf$$.dir 2>/dev/null
  3287. +
  3288. +if mkdir -p . 2>/dev/null; then
  3289. + as_mkdir_p='mkdir -p "$as_dir"'
  3290. +else
  3291. + test -d ./-p && rmdir ./-p
  3292. + as_mkdir_p=false
  3293. +fi
  3294. +
  3295. +if test -x / >/dev/null 2>&1; then
  3296. + as_test_x='test -x'
  3297. +else
  3298. + if ls -dL / >/dev/null 2>&1; then
  3299. + as_ls_L_option=L
  3300. + else
  3301. + as_ls_L_option=
  3302. + fi
  3303. + as_test_x='
  3304. + eval sh -c '\''
  3305. + if test -d "$1"; then
  3306. + test -d "$1/.";
  3307. + else
  3308. + case $1 in #(
  3309. + -*)set "./$1";;
  3310. + esac;
  3311. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  3312. + ???[sx]*):;;*)false;;esac;fi
  3313. + '\'' sh
  3314. + '
  3315. +fi
  3316. +as_executable_p=$as_test_x
  3317. +
  3318. +# Sed expression to map a string onto a valid CPP name.
  3319. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  3320. +
  3321. +# Sed expression to map a string onto a valid variable name.
  3322. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  3323. +
  3324. +
  3325. +test -n "$DJDIR" || exec 7<&0 </dev/null
  3326. +exec 6>&1
  3327. +
  3328. +# Name of the host.
  3329. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  3330. +# so uname gets run too.
  3331. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  3332. +
  3333. +#
  3334. +# Initializations.
  3335. +#
  3336. +ac_default_prefix=/usr/local
  3337. +ac_clean_files=
  3338. +ac_config_libobj_dir=.
  3339. +LIBOBJS=
  3340. +cross_compiling=no
  3341. +subdirs=
  3342. +MFLAGS=
  3343. +MAKEFLAGS=
  3344. +
  3345. +# Identity of this package.
  3346. +PACKAGE_NAME='cgminer'
  3347. +PACKAGE_TARNAME='cgminer'
  3348. +PACKAGE_VERSION='2.4.1'
  3349. +PACKAGE_STRING='cgminer 2.4.1'
  3350. +PACKAGE_BUGREPORT='kernel@kolivas.org'
  3351. +PACKAGE_URL=''
  3352. +
  3353. +ac_unique_file="cgminer.c"
  3354. +# Factoring default headers for most tests.
  3355. +ac_includes_default="\
  3356. +#include <stdio.h>
  3357. +#ifdef HAVE_SYS_TYPES_H
  3358. +# include <sys/types.h>
  3359. +#endif
  3360. +#ifdef HAVE_SYS_STAT_H
  3361. +# include <sys/stat.h>
  3362. +#endif
  3363. +#ifdef STDC_HEADERS
  3364. +# include <stdlib.h>
  3365. +# include <stddef.h>
  3366. +#else
  3367. +# ifdef HAVE_STDLIB_H
  3368. +# include <stdlib.h>
  3369. +# endif
  3370. +#endif
  3371. +#ifdef HAVE_STRING_H
  3372. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3373. +# include <memory.h>
  3374. +# endif
  3375. +# include <string.h>
  3376. +#endif
  3377. +#ifdef HAVE_STRINGS_H
  3378. +# include <strings.h>
  3379. +#endif
  3380. +#ifdef HAVE_INTTYPES_H
  3381. +# include <inttypes.h>
  3382. +#endif
  3383. +#ifdef HAVE_STDINT_H
  3384. +# include <stdint.h>
  3385. +#endif
  3386. +#ifdef HAVE_UNISTD_H
  3387. +# include <unistd.h>
  3388. +#endif"
  3389. +
  3390. +gl_header_list=
  3391. +gl_func_list=
  3392. +ac_subst_vars='gltests_LTLIBOBJS
  3393. +gltests_LIBOBJS
  3394. +gl_LTLIBOBJS
  3395. +gl_LIBOBJS
  3396. +am__EXEEXT_FALSE
  3397. +am__EXEEXT_TRUE
  3398. +LTLIBOBJS
  3399. +LIBOBJS
  3400. +USB_FLAGS
  3401. +USB_LIBS
  3402. +UDEV_LIBS
  3403. +MATH_LIBS
  3404. +WS2_LIBS
  3405. +PDCURSES_LIBS
  3406. +NCURSES_LIBS
  3407. +PTHREAD_LIBS
  3408. +DLOPEN_FLAGS
  3409. +PTHREAD_FLAGS
  3410. +JANSSON_LIBS
  3411. +OPENCL_FLAGS
  3412. +OPENCL_LIBS
  3413. +LIBCURL_LIBS
  3414. +LIBCURL_CFLAGS
  3415. +PKG_CONFIG_LIBDIR
  3416. +PKG_CONFIG_PATH
  3417. +PKG_CONFIG
  3418. +HAVE_LIBUDEV_FALSE
  3419. +HAVE_LIBUDEV_TRUE
  3420. +HAS_YASM_FALSE
  3421. +HAS_YASM_TRUE
  3422. +YASM
  3423. +HAVE_x86_64_FALSE
  3424. +HAVE_x86_64_TRUE
  3425. +HAVE_WINDOWS_FALSE
  3426. +HAVE_WINDOWS_TRUE
  3427. +WANT_JANSSON_FALSE
  3428. +WANT_JANSSON_TRUE
  3429. +HAVE_CURSES_FALSE
  3430. +HAVE_CURSES_TRUE
  3431. +HAS_ZTEX_FALSE
  3432. +HAS_ZTEX_TRUE
  3433. +HAS_ICARUS_FALSE
  3434. +HAS_ICARUS_TRUE
  3435. +HAS_BITFORCE_FALSE
  3436. +HAS_BITFORCE_TRUE
  3437. +HAS_CPUMINE_FALSE
  3438. +HAS_CPUMINE_TRUE
  3439. +ALLOCA
  3440. +LIBGNU_LTLIBDEPS
  3441. +LIBGNU_LIBDEPS
  3442. +gltests_WITNESS
  3443. +NEXT_AS_FIRST_DIRECTIVE_STRING_H
  3444. +NEXT_STRING_H
  3445. +GL_GENERATE_STDINT_H_FALSE
  3446. +GL_GENERATE_STDINT_H_TRUE
  3447. +STDINT_H
  3448. +WINT_T_SUFFIX
  3449. +WCHAR_T_SUFFIX
  3450. +SIG_ATOMIC_T_SUFFIX
  3451. +SIZE_T_SUFFIX
  3452. +PTRDIFF_T_SUFFIX
  3453. +HAVE_SIGNED_WINT_T
  3454. +HAVE_SIGNED_WCHAR_T
  3455. +HAVE_SIGNED_SIG_ATOMIC_T
  3456. +BITSIZEOF_WINT_T
  3457. +BITSIZEOF_WCHAR_T
  3458. +BITSIZEOF_SIG_ATOMIC_T
  3459. +BITSIZEOF_SIZE_T
  3460. +BITSIZEOF_PTRDIFF_T
  3461. +HAVE_SYS_BITYPES_H
  3462. +HAVE_SYS_INTTYPES_H
  3463. +HAVE_STDINT_H
  3464. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H
  3465. +NEXT_STDINT_H
  3466. +HAVE_SYS_TYPES_H
  3467. +HAVE_INTTYPES_H
  3468. +HAVE_WCHAR_H
  3469. +HAVE_UNSIGNED_LONG_LONG_INT
  3470. +HAVE_LONG_LONG_INT
  3471. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
  3472. +NEXT_STDDEF_H
  3473. +GL_GENERATE_STDDEF_H_FALSE
  3474. +GL_GENERATE_STDDEF_H_TRUE
  3475. +STDDEF_H
  3476. +HAVE_WCHAR_T
  3477. +REPLACE_NULL
  3478. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
  3479. +NEXT_SIGNAL_H
  3480. +PRAGMA_COLUMNS
  3481. +PRAGMA_SYSTEM_HEADER
  3482. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE
  3483. +INCLUDE_NEXT
  3484. +HAVE_SIGHANDLER_T
  3485. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
  3486. +HAVE_STRUCT_SIGACTION_SA_SIGACTION
  3487. +HAVE_SIGACTION
  3488. +HAVE_SIGINFO_T
  3489. +HAVE_SIGSET_T
  3490. +HAVE_POSIX_SIGNALBLOCKING
  3491. +GNULIB_SIGACTION
  3492. +GNULIB_SIGPROCMASK
  3493. +GNULIB_SIGNAL_H_SIGPIPE
  3494. +APPLE_UNIVERSAL_BUILD
  3495. +UNDEFINE_STRTOK_R
  3496. +REPLACE_STRTOK_R
  3497. +REPLACE_STRSIGNAL
  3498. +REPLACE_STRNLEN
  3499. +REPLACE_STRNDUP
  3500. +REPLACE_STRNCAT
  3501. +REPLACE_STRERROR_R
  3502. +REPLACE_STRERROR
  3503. +REPLACE_STRCHRNUL
  3504. +REPLACE_STRCASESTR
  3505. +REPLACE_STRSTR
  3506. +REPLACE_STRDUP
  3507. +REPLACE_STPNCPY
  3508. +REPLACE_MEMMEM
  3509. +REPLACE_MEMCHR
  3510. +HAVE_STRVERSCMP
  3511. +HAVE_DECL_STRSIGNAL
  3512. +HAVE_DECL_STRERROR_R
  3513. +HAVE_DECL_STRTOK_R
  3514. +HAVE_STRCASESTR
  3515. +HAVE_STRSEP
  3516. +HAVE_STRPBRK
  3517. +HAVE_DECL_STRNLEN
  3518. +HAVE_DECL_STRNDUP
  3519. +HAVE_DECL_STRDUP
  3520. +HAVE_STRCHRNUL
  3521. +HAVE_STPNCPY
  3522. +HAVE_STPCPY
  3523. +HAVE_RAWMEMCHR
  3524. +HAVE_DECL_MEMRCHR
  3525. +HAVE_MEMPCPY
  3526. +HAVE_DECL_MEMMEM
  3527. +HAVE_MEMCHR
  3528. +HAVE_MBSLEN
  3529. +GNULIB_STRVERSCMP
  3530. +GNULIB_STRSIGNAL
  3531. +GNULIB_STRERROR_R
  3532. +GNULIB_STRERROR
  3533. +GNULIB_MBSTOK_R
  3534. +GNULIB_MBSSEP
  3535. +GNULIB_MBSSPN
  3536. +GNULIB_MBSPBRK
  3537. +GNULIB_MBSCSPN
  3538. +GNULIB_MBSCASESTR
  3539. +GNULIB_MBSPCASECMP
  3540. +GNULIB_MBSNCASECMP
  3541. +GNULIB_MBSCASECMP
  3542. +GNULIB_MBSSTR
  3543. +GNULIB_MBSRCHR
  3544. +GNULIB_MBSCHR
  3545. +GNULIB_MBSNLEN
  3546. +GNULIB_MBSLEN
  3547. +GNULIB_STRTOK_R
  3548. +GNULIB_STRCASESTR
  3549. +GNULIB_STRSTR
  3550. +GNULIB_STRSEP
  3551. +GNULIB_STRPBRK
  3552. +GNULIB_STRNLEN
  3553. +GNULIB_STRNDUP
  3554. +GNULIB_STRNCAT
  3555. +GNULIB_STRDUP
  3556. +GNULIB_STRCHRNUL
  3557. +GNULIB_STPNCPY
  3558. +GNULIB_STPCPY
  3559. +GNULIB_RAWMEMCHR
  3560. +GNULIB_MEMRCHR
  3561. +GNULIB_MEMPCPY
  3562. +GNULIB_MEMMEM
  3563. +GNULIB_MEMCHR
  3564. +GL_COND_LIBTOOL_FALSE
  3565. +GL_COND_LIBTOOL_TRUE
  3566. +RANLIB
  3567. +MAINT
  3568. +MAINTAINER_MODE_FALSE
  3569. +MAINTAINER_MODE_TRUE
  3570. +VMAJ
  3571. +release_info
  3572. +version_info
  3573. +EGREP
  3574. +GREP
  3575. +CPP
  3576. +am__fastdepCC_FALSE
  3577. +am__fastdepCC_TRUE
  3578. +CCDEPMODE
  3579. +am__nodep
  3580. +AMDEPBACKSLASH
  3581. +AMDEP_FALSE
  3582. +AMDEP_TRUE
  3583. +am__quote
  3584. +am__include
  3585. +DEPDIR
  3586. +OBJEXT
  3587. +EXEEXT
  3588. +ac_ct_CC
  3589. +CPPFLAGS
  3590. +LDFLAGS
  3591. +CFLAGS
  3592. +CC
  3593. +AM_BACKSLASH
  3594. +AM_DEFAULT_VERBOSITY
  3595. +AM_DEFAULT_V
  3596. +AM_V
  3597. +am__untar
  3598. +am__tar
  3599. +AMTAR
  3600. +am__leading_dot
  3601. +SET_MAKE
  3602. +AWK
  3603. +mkdir_p
  3604. +MKDIR_P
  3605. +INSTALL_STRIP_PROGRAM
  3606. +STRIP
  3607. +install_sh
  3608. +MAKEINFO
  3609. +AUTOHEADER
  3610. +AUTOMAKE
  3611. +AUTOCONF
  3612. +ACLOCAL
  3613. +VERSION
  3614. +PACKAGE
  3615. +CYGPATH_W
  3616. +am__isrc
  3617. +INSTALL_DATA
  3618. +INSTALL_SCRIPT
  3619. +INSTALL_PROGRAM
  3620. +target_os
  3621. +target_vendor
  3622. +target_cpu
  3623. +target
  3624. +host_os
  3625. +host_vendor
  3626. +host_cpu
  3627. +host
  3628. +build_os
  3629. +build_vendor
  3630. +build_cpu
  3631. +build
  3632. +target_alias
  3633. +host_alias
  3634. +build_alias
  3635. +LIBS
  3636. +ECHO_T
  3637. +ECHO_N
  3638. +ECHO_C
  3639. +DEFS
  3640. +mandir
  3641. +localedir
  3642. +libdir
  3643. +psdir
  3644. +pdfdir
  3645. +dvidir
  3646. +htmldir
  3647. +infodir
  3648. +docdir
  3649. +oldincludedir
  3650. +includedir
  3651. +localstatedir
  3652. +sharedstatedir
  3653. +sysconfdir
  3654. +datadir
  3655. +datarootdir
  3656. +libexecdir
  3657. +sbindir
  3658. +bindir
  3659. +program_transform_name
  3660. +prefix
  3661. +exec_prefix
  3662. +PACKAGE_URL
  3663. +PACKAGE_BUGREPORT
  3664. +PACKAGE_STRING
  3665. +PACKAGE_VERSION
  3666. +PACKAGE_TARNAME
  3667. +PACKAGE_NAME
  3668. +PATH_SEPARATOR
  3669. +SHELL'
  3670. +ac_subst_files=''
  3671. +ac_user_opts='
  3672. +enable_option_checking
  3673. +enable_silent_rules
  3674. +enable_dependency_tracking
  3675. +enable_maintainer_mode
  3676. +enable_cpumining
  3677. +enable_opencl
  3678. +enable_adl
  3679. +enable_bitforce
  3680. +enable_icarus
  3681. +enable_ztex
  3682. +with_curses
  3683. +with_libudev
  3684. +'
  3685. + ac_precious_vars='build_alias
  3686. +host_alias
  3687. +target_alias
  3688. +CC
  3689. +CFLAGS
  3690. +LDFLAGS
  3691. +LIBS
  3692. +CPPFLAGS
  3693. +CPP
  3694. +PKG_CONFIG
  3695. +PKG_CONFIG_PATH
  3696. +PKG_CONFIG_LIBDIR
  3697. +LIBCURL_CFLAGS
  3698. +LIBCURL_LIBS'
  3699. +
  3700. +
  3701. +# Initialize some variables set by options.
  3702. +ac_init_help=
  3703. +ac_init_version=false
  3704. +ac_unrecognized_opts=
  3705. +ac_unrecognized_sep=
  3706. +# The variables have the same names as the options, with
  3707. +# dashes changed to underlines.
  3708. +cache_file=/dev/null
  3709. +exec_prefix=NONE
  3710. +no_create=
  3711. +no_recursion=
  3712. +prefix=NONE
  3713. +program_prefix=NONE
  3714. +program_suffix=NONE
  3715. +program_transform_name=s,x,x,
  3716. +silent=
  3717. +site=
  3718. +srcdir=
  3719. +verbose=
  3720. +x_includes=NONE
  3721. +x_libraries=NONE
  3722. +
  3723. +# Installation directory options.
  3724. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  3725. +# and all the variables that are supposed to be based on exec_prefix
  3726. +# by default will actually change.
  3727. +# Use braces instead of parens because sh, perl, etc. also accept them.
  3728. +# (The list follows the same order as the GNU Coding Standards.)
  3729. +bindir='${exec_prefix}/bin'
  3730. +sbindir='${exec_prefix}/sbin'
  3731. +libexecdir='${exec_prefix}/libexec'
  3732. +datarootdir='${prefix}/share'
  3733. +datadir='${datarootdir}'
  3734. +sysconfdir='${prefix}/etc'
  3735. +sharedstatedir='${prefix}/com'
  3736. +localstatedir='${prefix}/var'
  3737. +includedir='${prefix}/include'
  3738. +oldincludedir='/usr/include'
  3739. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  3740. +infodir='${datarootdir}/info'
  3741. +htmldir='${docdir}'
  3742. +dvidir='${docdir}'
  3743. +pdfdir='${docdir}'
  3744. +psdir='${docdir}'
  3745. +libdir='${exec_prefix}/lib'
  3746. +localedir='${datarootdir}/locale'
  3747. +mandir='${datarootdir}/man'
  3748. +
  3749. +ac_prev=
  3750. +ac_dashdash=
  3751. +for ac_option
  3752. +do
  3753. + # If the previous option needs an argument, assign it.
  3754. + if test -n "$ac_prev"; then
  3755. + eval $ac_prev=\$ac_option
  3756. + ac_prev=
  3757. + continue
  3758. + fi
  3759. +
  3760. + case $ac_option in
  3761. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  3762. + *=) ac_optarg= ;;
  3763. + *) ac_optarg=yes ;;
  3764. + esac
  3765. +
  3766. + # Accept the important Cygnus configure options, so we can diagnose typos.
  3767. +
  3768. + case $ac_dashdash$ac_option in
  3769. + --)
  3770. + ac_dashdash=yes ;;
  3771. +
  3772. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  3773. + ac_prev=bindir ;;
  3774. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  3775. + bindir=$ac_optarg ;;
  3776. +
  3777. + -build | --build | --buil | --bui | --bu)
  3778. + ac_prev=build_alias ;;
  3779. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  3780. + build_alias=$ac_optarg ;;
  3781. +
  3782. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  3783. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  3784. + ac_prev=cache_file ;;
  3785. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  3786. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  3787. + cache_file=$ac_optarg ;;
  3788. +
  3789. + --config-cache | -C)
  3790. + cache_file=config.cache ;;
  3791. +
  3792. + -datadir | --datadir | --datadi | --datad)
  3793. + ac_prev=datadir ;;
  3794. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  3795. + datadir=$ac_optarg ;;
  3796. +
  3797. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  3798. + | --dataroo | --dataro | --datar)
  3799. + ac_prev=datarootdir ;;
  3800. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  3801. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  3802. + datarootdir=$ac_optarg ;;
  3803. +
  3804. + -disable-* | --disable-*)
  3805. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  3806. + # Reject names that are not valid shell variable names.
  3807. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  3808. + as_fn_error $? "invalid feature name: $ac_useropt"
  3809. + ac_useropt_orig=$ac_useropt
  3810. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  3811. + case $ac_user_opts in
  3812. + *"
  3813. +"enable_$ac_useropt"
  3814. +"*) ;;
  3815. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  3816. + ac_unrecognized_sep=', ';;
  3817. + esac
  3818. + eval enable_$ac_useropt=no ;;
  3819. +
  3820. + -docdir | --docdir | --docdi | --doc | --do)
  3821. + ac_prev=docdir ;;
  3822. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  3823. + docdir=$ac_optarg ;;
  3824. +
  3825. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  3826. + ac_prev=dvidir ;;
  3827. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  3828. + dvidir=$ac_optarg ;;
  3829. +
  3830. + -enable-* | --enable-*)
  3831. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  3832. + # Reject names that are not valid shell variable names.
  3833. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  3834. + as_fn_error $? "invalid feature name: $ac_useropt"
  3835. + ac_useropt_orig=$ac_useropt
  3836. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  3837. + case $ac_user_opts in
  3838. + *"
  3839. +"enable_$ac_useropt"
  3840. +"*) ;;
  3841. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  3842. + ac_unrecognized_sep=', ';;
  3843. + esac
  3844. + eval enable_$ac_useropt=\$ac_optarg ;;
  3845. +
  3846. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  3847. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  3848. + | --exec | --exe | --ex)
  3849. + ac_prev=exec_prefix ;;
  3850. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  3851. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  3852. + | --exec=* | --exe=* | --ex=*)
  3853. + exec_prefix=$ac_optarg ;;
  3854. +
  3855. + -gas | --gas | --ga | --g)
  3856. + # Obsolete; use --with-gas.
  3857. + with_gas=yes ;;
  3858. +
  3859. + -help | --help | --hel | --he | -h)
  3860. + ac_init_help=long ;;
  3861. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  3862. + ac_init_help=recursive ;;
  3863. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  3864. + ac_init_help=short ;;
  3865. +
  3866. + -host | --host | --hos | --ho)
  3867. + ac_prev=host_alias ;;
  3868. + -host=* | --host=* | --hos=* | --ho=*)
  3869. + host_alias=$ac_optarg ;;
  3870. +
  3871. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  3872. + ac_prev=htmldir ;;
  3873. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  3874. + | --ht=*)
  3875. + htmldir=$ac_optarg ;;
  3876. +
  3877. + -includedir | --includedir | --includedi | --included | --include \
  3878. + | --includ | --inclu | --incl | --inc)
  3879. + ac_prev=includedir ;;
  3880. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  3881. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  3882. + includedir=$ac_optarg ;;
  3883. +
  3884. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  3885. + ac_prev=infodir ;;
  3886. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  3887. + infodir=$ac_optarg ;;
  3888. +
  3889. + -libdir | --libdir | --libdi | --libd)
  3890. + ac_prev=libdir ;;
  3891. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  3892. + libdir=$ac_optarg ;;
  3893. +
  3894. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  3895. + | --libexe | --libex | --libe)
  3896. + ac_prev=libexecdir ;;
  3897. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  3898. + | --libexe=* | --libex=* | --libe=*)
  3899. + libexecdir=$ac_optarg ;;
  3900. +
  3901. + -localedir | --localedir | --localedi | --localed | --locale)
  3902. + ac_prev=localedir ;;
  3903. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  3904. + localedir=$ac_optarg ;;
  3905. +
  3906. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  3907. + | --localstate | --localstat | --localsta | --localst | --locals)
  3908. + ac_prev=localstatedir ;;
  3909. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  3910. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  3911. + localstatedir=$ac_optarg ;;
  3912. +
  3913. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  3914. + ac_prev=mandir ;;
  3915. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  3916. + mandir=$ac_optarg ;;
  3917. +
  3918. + -nfp | --nfp | --nf)
  3919. + # Obsolete; use --without-fp.
  3920. + with_fp=no ;;
  3921. +
  3922. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  3923. + | --no-cr | --no-c | -n)
  3924. + no_create=yes ;;
  3925. +
  3926. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  3927. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  3928. + no_recursion=yes ;;
  3929. +
  3930. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  3931. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  3932. + | --oldin | --oldi | --old | --ol | --o)
  3933. + ac_prev=oldincludedir ;;
  3934. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  3935. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  3936. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  3937. + oldincludedir=$ac_optarg ;;
  3938. +
  3939. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  3940. + ac_prev=prefix ;;
  3941. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  3942. + prefix=$ac_optarg ;;
  3943. +
  3944. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  3945. + | --program-pre | --program-pr | --program-p)
  3946. + ac_prev=program_prefix ;;
  3947. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  3948. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  3949. + program_prefix=$ac_optarg ;;
  3950. +
  3951. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  3952. + | --program-suf | --program-su | --program-s)
  3953. + ac_prev=program_suffix ;;
  3954. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  3955. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  3956. + program_suffix=$ac_optarg ;;
  3957. +
  3958. + -program-transform-name | --program-transform-name \
  3959. + | --program-transform-nam | --program-transform-na \
  3960. + | --program-transform-n | --program-transform- \
  3961. + | --program-transform | --program-transfor \
  3962. + | --program-transfo | --program-transf \
  3963. + | --program-trans | --program-tran \
  3964. + | --progr-tra | --program-tr | --program-t)
  3965. + ac_prev=program_transform_name ;;
  3966. + -program-transform-name=* | --program-transform-name=* \
  3967. + | --program-transform-nam=* | --program-transform-na=* \
  3968. + | --program-transform-n=* | --program-transform-=* \
  3969. + | --program-transform=* | --program-transfor=* \
  3970. + | --program-transfo=* | --program-transf=* \
  3971. + | --program-trans=* | --program-tran=* \
  3972. + | --progr-tra=* | --program-tr=* | --program-t=*)
  3973. + program_transform_name=$ac_optarg ;;
  3974. +
  3975. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  3976. + ac_prev=pdfdir ;;
  3977. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  3978. + pdfdir=$ac_optarg ;;
  3979. +
  3980. + -psdir | --psdir | --psdi | --psd | --ps)
  3981. + ac_prev=psdir ;;
  3982. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  3983. + psdir=$ac_optarg ;;
  3984. +
  3985. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3986. + | -silent | --silent | --silen | --sile | --sil)
  3987. + silent=yes ;;
  3988. +
  3989. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  3990. + ac_prev=sbindir ;;
  3991. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  3992. + | --sbi=* | --sb=*)
  3993. + sbindir=$ac_optarg ;;
  3994. +
  3995. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  3996. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  3997. + | --sharedst | --shareds | --shared | --share | --shar \
  3998. + | --sha | --sh)
  3999. + ac_prev=sharedstatedir ;;
  4000. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  4001. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  4002. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  4003. + | --sha=* | --sh=*)
  4004. + sharedstatedir=$ac_optarg ;;
  4005. +
  4006. + -site | --site | --sit)
  4007. + ac_prev=site ;;
  4008. + -site=* | --site=* | --sit=*)
  4009. + site=$ac_optarg ;;
  4010. +
  4011. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  4012. + ac_prev=srcdir ;;
  4013. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  4014. + srcdir=$ac_optarg ;;
  4015. +
  4016. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  4017. + | --syscon | --sysco | --sysc | --sys | --sy)
  4018. + ac_prev=sysconfdir ;;
  4019. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  4020. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  4021. + sysconfdir=$ac_optarg ;;
  4022. +
  4023. + -target | --target | --targe | --targ | --tar | --ta | --t)
  4024. + ac_prev=target_alias ;;
  4025. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  4026. + target_alias=$ac_optarg ;;
  4027. +
  4028. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  4029. + verbose=yes ;;
  4030. +
  4031. + -version | --version | --versio | --versi | --vers | -V)
  4032. + ac_init_version=: ;;
  4033. +
  4034. + -with-* | --with-*)
  4035. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  4036. + # Reject names that are not valid shell variable names.
  4037. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  4038. + as_fn_error $? "invalid package name: $ac_useropt"
  4039. + ac_useropt_orig=$ac_useropt
  4040. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  4041. + case $ac_user_opts in
  4042. + *"
  4043. +"with_$ac_useropt"
  4044. +"*) ;;
  4045. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  4046. + ac_unrecognized_sep=', ';;
  4047. + esac
  4048. + eval with_$ac_useropt=\$ac_optarg ;;
  4049. +
  4050. + -without-* | --without-*)
  4051. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  4052. + # Reject names that are not valid shell variable names.
  4053. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  4054. + as_fn_error $? "invalid package name: $ac_useropt"
  4055. + ac_useropt_orig=$ac_useropt
  4056. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  4057. + case $ac_user_opts in
  4058. + *"
  4059. +"with_$ac_useropt"
  4060. +"*) ;;
  4061. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  4062. + ac_unrecognized_sep=', ';;
  4063. + esac
  4064. + eval with_$ac_useropt=no ;;
  4065. +
  4066. + --x)
  4067. + # Obsolete; use --with-x.
  4068. + with_x=yes ;;
  4069. +
  4070. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  4071. + | --x-incl | --x-inc | --x-in | --x-i)
  4072. + ac_prev=x_includes ;;
  4073. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  4074. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  4075. + x_includes=$ac_optarg ;;
  4076. +
  4077. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  4078. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  4079. + ac_prev=x_libraries ;;
  4080. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  4081. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  4082. + x_libraries=$ac_optarg ;;
  4083. +
  4084. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  4085. +Try \`$0 --help' for more information"
  4086. + ;;
  4087. +
  4088. + *=*)
  4089. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  4090. + # Reject names that are not valid shell variable names.
  4091. + case $ac_envvar in #(
  4092. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  4093. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  4094. + esac
  4095. + eval $ac_envvar=\$ac_optarg
  4096. + export $ac_envvar ;;
  4097. +
  4098. + *)
  4099. + # FIXME: should be removed in autoconf 3.0.
  4100. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  4101. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  4102. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  4103. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  4104. + ;;
  4105. +
  4106. + esac
  4107. +done
  4108. +
  4109. +if test -n "$ac_prev"; then
  4110. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  4111. + as_fn_error $? "missing argument to $ac_option"
  4112. +fi
  4113. +
  4114. +if test -n "$ac_unrecognized_opts"; then
  4115. + case $enable_option_checking in
  4116. + no) ;;
  4117. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  4118. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  4119. + esac
  4120. +fi
  4121. +
  4122. +# Check all directory arguments for consistency.
  4123. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  4124. + datadir sysconfdir sharedstatedir localstatedir includedir \
  4125. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  4126. + libdir localedir mandir
  4127. +do
  4128. + eval ac_val=\$$ac_var
  4129. + # Remove trailing slashes.
  4130. + case $ac_val in
  4131. + */ )
  4132. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  4133. + eval $ac_var=\$ac_val;;
  4134. + esac
  4135. + # Be sure to have absolute directory names.
  4136. + case $ac_val in
  4137. + [\\/$]* | ?:[\\/]* ) continue;;
  4138. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  4139. + esac
  4140. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  4141. +done
  4142. +
  4143. +# There might be people who depend on the old broken behavior: `$host'
  4144. +# used to hold the argument of --host etc.
  4145. +# FIXME: To remove some day.
  4146. +build=$build_alias
  4147. +host=$host_alias
  4148. +target=$target_alias
  4149. +
  4150. +# FIXME: To remove some day.
  4151. +if test "x$host_alias" != x; then
  4152. + if test "x$build_alias" = x; then
  4153. + cross_compiling=maybe
  4154. + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  4155. + If a cross compiler is detected then cross compile mode will be used" >&2
  4156. + elif test "x$build_alias" != "x$host_alias"; then
  4157. + cross_compiling=yes
  4158. + fi
  4159. +fi
  4160. +
  4161. +ac_tool_prefix=
  4162. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  4163. +
  4164. +test "$silent" = yes && exec 6>/dev/null
  4165. +
  4166. +
  4167. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  4168. +ac_ls_di=`ls -di .` &&
  4169. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  4170. + as_fn_error $? "working directory cannot be determined"
  4171. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  4172. + as_fn_error $? "pwd does not report name of working directory"
  4173. +
  4174. +
  4175. +# Find the source files, if location was not specified.
  4176. +if test -z "$srcdir"; then
  4177. + ac_srcdir_defaulted=yes
  4178. + # Try the directory containing this script, then the parent directory.
  4179. + ac_confdir=`$as_dirname -- "$as_myself" ||
  4180. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4181. + X"$as_myself" : 'X\(//\)[^/]' \| \
  4182. + X"$as_myself" : 'X\(//\)$' \| \
  4183. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  4184. +$as_echo X"$as_myself" |
  4185. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4186. + s//\1/
  4187. + q
  4188. + }
  4189. + /^X\(\/\/\)[^/].*/{
  4190. + s//\1/
  4191. + q
  4192. + }
  4193. + /^X\(\/\/\)$/{
  4194. + s//\1/
  4195. + q
  4196. + }
  4197. + /^X\(\/\).*/{
  4198. + s//\1/
  4199. + q
  4200. + }
  4201. + s/.*/./; q'`
  4202. + srcdir=$ac_confdir
  4203. + if test ! -r "$srcdir/$ac_unique_file"; then
  4204. + srcdir=..
  4205. + fi
  4206. +else
  4207. + ac_srcdir_defaulted=no
  4208. +fi
  4209. +if test ! -r "$srcdir/$ac_unique_file"; then
  4210. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  4211. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  4212. +fi
  4213. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  4214. +ac_abs_confdir=`(
  4215. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  4216. + pwd)`
  4217. +# When building in place, set srcdir=.
  4218. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  4219. + srcdir=.
  4220. +fi
  4221. +# Remove unnecessary trailing slashes from srcdir.
  4222. +# Double slashes in file names in object file debugging info
  4223. +# mess up M-x gdb in Emacs.
  4224. +case $srcdir in
  4225. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  4226. +esac
  4227. +for ac_var in $ac_precious_vars; do
  4228. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  4229. + eval ac_env_${ac_var}_value=\$${ac_var}
  4230. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  4231. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  4232. +done
  4233. +
  4234. +#
  4235. +# Report the --help message.
  4236. +#
  4237. +if test "$ac_init_help" = "long"; then
  4238. + # Omit some internal or obsolete options to make the list less imposing.
  4239. + # This message is too long to be a string in the A/UX 3.1 sh.
  4240. + cat <<_ACEOF
  4241. +\`configure' configures cgminer 2.4.1 to adapt to many kinds of systems.
  4242. +
  4243. +Usage: $0 [OPTION]... [VAR=VALUE]...
  4244. +
  4245. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  4246. +VAR=VALUE. See below for descriptions of some of the useful variables.
  4247. +
  4248. +Defaults for the options are specified in brackets.
  4249. +
  4250. +Configuration:
  4251. + -h, --help display this help and exit
  4252. + --help=short display options specific to this package
  4253. + --help=recursive display the short help of all the included packages
  4254. + -V, --version display version information and exit
  4255. + -q, --quiet, --silent do not print \`checking ...' messages
  4256. + --cache-file=FILE cache test results in FILE [disabled]
  4257. + -C, --config-cache alias for \`--cache-file=config.cache'
  4258. + -n, --no-create do not create output files
  4259. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  4260. +
  4261. +Installation directories:
  4262. + --prefix=PREFIX install architecture-independent files in PREFIX
  4263. + [$ac_default_prefix]
  4264. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  4265. + [PREFIX]
  4266. +
  4267. +By default, \`make install' will install all the files in
  4268. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  4269. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  4270. +for instance \`--prefix=\$HOME'.
  4271. +
  4272. +For better control, use the options below.
  4273. +
  4274. +Fine tuning of the installation directories:
  4275. + --bindir=DIR user executables [EPREFIX/bin]
  4276. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  4277. + --libexecdir=DIR program executables [EPREFIX/libexec]
  4278. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  4279. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  4280. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  4281. + --libdir=DIR object code libraries [EPREFIX/lib]
  4282. + --includedir=DIR C header files [PREFIX/include]
  4283. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  4284. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  4285. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  4286. + --infodir=DIR info documentation [DATAROOTDIR/info]
  4287. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  4288. + --mandir=DIR man documentation [DATAROOTDIR/man]
  4289. + --docdir=DIR documentation root [DATAROOTDIR/doc/cgminer]
  4290. + --htmldir=DIR html documentation [DOCDIR]
  4291. + --dvidir=DIR dvi documentation [DOCDIR]
  4292. + --pdfdir=DIR pdf documentation [DOCDIR]
  4293. + --psdir=DIR ps documentation [DOCDIR]
  4294. +_ACEOF
  4295. +
  4296. + cat <<\_ACEOF
  4297. +
  4298. +Program names:
  4299. + --program-prefix=PREFIX prepend PREFIX to installed program names
  4300. + --program-suffix=SUFFIX append SUFFIX to installed program names
  4301. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  4302. +
  4303. +System types:
  4304. + --build=BUILD configure for building on BUILD [guessed]
  4305. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  4306. + --target=TARGET configure for building compilers for TARGET [HOST]
  4307. +_ACEOF
  4308. +fi
  4309. +
  4310. +if test -n "$ac_init_help"; then
  4311. + case $ac_init_help in
  4312. + short | recursive ) echo "Configuration of cgminer 2.4.1:";;
  4313. + esac
  4314. + cat <<\_ACEOF
  4315. +
  4316. +Optional Features:
  4317. + --disable-option-checking ignore unrecognized --enable/--with options
  4318. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  4319. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  4320. + --enable-silent-rules less verbose build output (undo: `make V=1')
  4321. + --disable-silent-rules verbose build output (undo: `make V=0')
  4322. + --disable-dependency-tracking speeds up one-time build
  4323. + --enable-dependency-tracking do not reject slow dependency extractors
  4324. + --enable-maintainer-mode enable make rules and dependencies not useful
  4325. + (and sometimes confusing) to the casual installer
  4326. + --enable-cpumining Build with cpu mining support(default disabled)
  4327. + --disable-opencl Override detection and disable building with opencl
  4328. + --disable-adl Override detection and disable building with adl
  4329. + --enable-bitforce Compile support for BitForce FPGAs(default disabled)
  4330. + --enable-icarus Compile support for Icarus (default disabled)
  4331. + --enable-ztex Compile support for Ztex (default disabled)
  4332. +
  4333. +Optional Packages:
  4334. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  4335. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  4336. + --without-curses Compile support for curses TUI (default enabled)
  4337. + --without-libudev Autodetect FPGAs using libudev (default enabled)
  4338. +
  4339. +Some influential environment variables:
  4340. + CC C compiler command
  4341. + CFLAGS C compiler flags
  4342. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  4343. + nonstandard directory <lib dir>
  4344. + LIBS libraries to pass to the linker, e.g. -l<library>
  4345. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  4346. + you have headers in a nonstandard directory <include dir>
  4347. + CPP C preprocessor
  4348. + PKG_CONFIG path to pkg-config utility
  4349. + PKG_CONFIG_PATH
  4350. + directories to add to pkg-config's search path
  4351. + PKG_CONFIG_LIBDIR
  4352. + path overriding pkg-config's built-in search path
  4353. + LIBCURL_CFLAGS
  4354. + C compiler flags for LIBCURL, overriding pkg-config
  4355. + LIBCURL_LIBS
  4356. + linker flags for LIBCURL, overriding pkg-config
  4357. +
  4358. +Use these variables to override the choices made by `configure' or to help
  4359. +it to find libraries and programs with nonstandard names/locations.
  4360. +
  4361. +Report bugs to <kernel@kolivas.org>.
  4362. +_ACEOF
  4363. +ac_status=$?
  4364. +fi
  4365. +
  4366. +if test "$ac_init_help" = "recursive"; then
  4367. + # If there are subdirs, report their specific --help.
  4368. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  4369. + test -d "$ac_dir" ||
  4370. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  4371. + continue
  4372. + ac_builddir=.
  4373. +
  4374. +case "$ac_dir" in
  4375. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4376. +*)
  4377. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4378. + # A ".." for each directory in $ac_dir_suffix.
  4379. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4380. + case $ac_top_builddir_sub in
  4381. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4382. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4383. + esac ;;
  4384. +esac
  4385. +ac_abs_top_builddir=$ac_pwd
  4386. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  4387. +# for backward compatibility:
  4388. +ac_top_builddir=$ac_top_build_prefix
  4389. +
  4390. +case $srcdir in
  4391. + .) # We are building in place.
  4392. + ac_srcdir=.
  4393. + ac_top_srcdir=$ac_top_builddir_sub
  4394. + ac_abs_top_srcdir=$ac_pwd ;;
  4395. + [\\/]* | ?:[\\/]* ) # Absolute name.
  4396. + ac_srcdir=$srcdir$ac_dir_suffix;
  4397. + ac_top_srcdir=$srcdir
  4398. + ac_abs_top_srcdir=$srcdir ;;
  4399. + *) # Relative name.
  4400. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  4401. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  4402. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  4403. +esac
  4404. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  4405. +
  4406. + cd "$ac_dir" || { ac_status=$?; continue; }
  4407. + # Check for guested configure.
  4408. + if test -f "$ac_srcdir/configure.gnu"; then
  4409. + echo &&
  4410. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  4411. + elif test -f "$ac_srcdir/configure"; then
  4412. + echo &&
  4413. + $SHELL "$ac_srcdir/configure" --help=recursive
  4414. + else
  4415. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  4416. + fi || ac_status=$?
  4417. + cd "$ac_pwd" || { ac_status=$?; break; }
  4418. + done
  4419. +fi
  4420. +
  4421. +test -n "$ac_init_help" && exit $ac_status
  4422. +if $ac_init_version; then
  4423. + cat <<\_ACEOF
  4424. +cgminer configure 2.4.1
  4425. +generated by GNU Autoconf 2.68
  4426. +
  4427. +Copyright (C) 2010 Free Software Foundation, Inc.
  4428. +This configure script is free software; the Free Software Foundation
  4429. +gives unlimited permission to copy, distribute and modify it.
  4430. +_ACEOF
  4431. + exit
  4432. +fi
  4433. +
  4434. +## ------------------------ ##
  4435. +## Autoconf initialization. ##
  4436. +## ------------------------ ##
  4437. +
  4438. +# ac_fn_c_try_compile LINENO
  4439. +# --------------------------
  4440. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  4441. +ac_fn_c_try_compile ()
  4442. +{
  4443. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4444. + rm -f conftest.$ac_objext
  4445. + if { { ac_try="$ac_compile"
  4446. +case "(($ac_try" in
  4447. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4448. + *) ac_try_echo=$ac_try;;
  4449. +esac
  4450. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4451. +$as_echo "$ac_try_echo"; } >&5
  4452. + (eval "$ac_compile") 2>conftest.err
  4453. + ac_status=$?
  4454. + if test -s conftest.err; then
  4455. + grep -v '^ *+' conftest.err >conftest.er1
  4456. + cat conftest.er1 >&5
  4457. + mv -f conftest.er1 conftest.err
  4458. + fi
  4459. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4460. + test $ac_status = 0; } && {
  4461. + test -z "$ac_c_werror_flag" ||
  4462. + test ! -s conftest.err
  4463. + } && test -s conftest.$ac_objext; then :
  4464. + ac_retval=0
  4465. +else
  4466. + $as_echo "$as_me: failed program was:" >&5
  4467. +sed 's/^/| /' conftest.$ac_ext >&5
  4468. +
  4469. + ac_retval=1
  4470. +fi
  4471. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4472. + as_fn_set_status $ac_retval
  4473. +
  4474. +} # ac_fn_c_try_compile
  4475. +
  4476. +# ac_fn_c_try_cpp LINENO
  4477. +# ----------------------
  4478. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  4479. +ac_fn_c_try_cpp ()
  4480. +{
  4481. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4482. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  4483. +case "(($ac_try" in
  4484. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4485. + *) ac_try_echo=$ac_try;;
  4486. +esac
  4487. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4488. +$as_echo "$ac_try_echo"; } >&5
  4489. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  4490. + ac_status=$?
  4491. + if test -s conftest.err; then
  4492. + grep -v '^ *+' conftest.err >conftest.er1
  4493. + cat conftest.er1 >&5
  4494. + mv -f conftest.er1 conftest.err
  4495. + fi
  4496. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4497. + test $ac_status = 0; } > conftest.i && {
  4498. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4499. + test ! -s conftest.err
  4500. + }; then :
  4501. + ac_retval=0
  4502. +else
  4503. + $as_echo "$as_me: failed program was:" >&5
  4504. +sed 's/^/| /' conftest.$ac_ext >&5
  4505. +
  4506. + ac_retval=1
  4507. +fi
  4508. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4509. + as_fn_set_status $ac_retval
  4510. +
  4511. +} # ac_fn_c_try_cpp
  4512. +
  4513. +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  4514. +# -------------------------------------------------------
  4515. +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  4516. +# the include files in INCLUDES and setting the cache variable VAR
  4517. +# accordingly.
  4518. +ac_fn_c_check_header_mongrel ()
  4519. +{
  4520. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4521. + if eval \${$3+:} false; then :
  4522. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  4523. +$as_echo_n "checking for $2... " >&6; }
  4524. +if eval \${$3+:} false; then :
  4525. + $as_echo_n "(cached) " >&6
  4526. +fi
  4527. +eval ac_res=\$$3
  4528. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4529. +$as_echo "$ac_res" >&6; }
  4530. +else
  4531. + # Is the header compilable?
  4532. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  4533. +$as_echo_n "checking $2 usability... " >&6; }
  4534. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4535. +/* end confdefs.h. */
  4536. +$4
  4537. +#include <$2>
  4538. +_ACEOF
  4539. +if ac_fn_c_try_compile "$LINENO"; then :
  4540. + ac_header_compiler=yes
  4541. +else
  4542. + ac_header_compiler=no
  4543. +fi
  4544. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  4546. +$as_echo "$ac_header_compiler" >&6; }
  4547. +
  4548. +# Is the header present?
  4549. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  4550. +$as_echo_n "checking $2 presence... " >&6; }
  4551. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4552. +/* end confdefs.h. */
  4553. +#include <$2>
  4554. +_ACEOF
  4555. +if ac_fn_c_try_cpp "$LINENO"; then :
  4556. + ac_header_preproc=yes
  4557. +else
  4558. + ac_header_preproc=no
  4559. +fi
  4560. +rm -f conftest.err conftest.i conftest.$ac_ext
  4561. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  4562. +$as_echo "$ac_header_preproc" >&6; }
  4563. +
  4564. +# So? What about this header?
  4565. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  4566. + yes:no: )
  4567. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  4568. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4569. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  4570. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  4571. + ;;
  4572. + no:yes:* )
  4573. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  4574. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  4575. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  4576. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  4577. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  4578. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  4579. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  4580. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  4581. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  4582. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  4583. +( $as_echo "## --------------------------------- ##
  4584. +## Report this to kernel@kolivas.org ##
  4585. +## --------------------------------- ##"
  4586. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4587. + ;;
  4588. +esac
  4589. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  4590. +$as_echo_n "checking for $2... " >&6; }
  4591. +if eval \${$3+:} false; then :
  4592. + $as_echo_n "(cached) " >&6
  4593. +else
  4594. + eval "$3=\$ac_header_compiler"
  4595. +fi
  4596. +eval ac_res=\$$3
  4597. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4598. +$as_echo "$ac_res" >&6; }
  4599. +fi
  4600. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4601. +
  4602. +} # ac_fn_c_check_header_mongrel
  4603. +
  4604. +# ac_fn_c_try_run LINENO
  4605. +# ----------------------
  4606. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  4607. +# that executables *can* be run.
  4608. +ac_fn_c_try_run ()
  4609. +{
  4610. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4611. + if { { ac_try="$ac_link"
  4612. +case "(($ac_try" in
  4613. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4614. + *) ac_try_echo=$ac_try;;
  4615. +esac
  4616. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4617. +$as_echo "$ac_try_echo"; } >&5
  4618. + (eval "$ac_link") 2>&5
  4619. + ac_status=$?
  4620. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4621. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  4622. + { { case "(($ac_try" in
  4623. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4624. + *) ac_try_echo=$ac_try;;
  4625. +esac
  4626. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4627. +$as_echo "$ac_try_echo"; } >&5
  4628. + (eval "$ac_try") 2>&5
  4629. + ac_status=$?
  4630. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4631. + test $ac_status = 0; }; }; then :
  4632. + ac_retval=0
  4633. +else
  4634. + $as_echo "$as_me: program exited with status $ac_status" >&5
  4635. + $as_echo "$as_me: failed program was:" >&5
  4636. +sed 's/^/| /' conftest.$ac_ext >&5
  4637. +
  4638. + ac_retval=$ac_status
  4639. +fi
  4640. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  4641. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4642. + as_fn_set_status $ac_retval
  4643. +
  4644. +} # ac_fn_c_try_run
  4645. +
  4646. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  4647. +# -------------------------------------------------------
  4648. +# Tests whether HEADER exists and can be compiled using the include files in
  4649. +# INCLUDES, setting the cache variable VAR accordingly.
  4650. +ac_fn_c_check_header_compile ()
  4651. +{
  4652. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4653. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  4654. +$as_echo_n "checking for $2... " >&6; }
  4655. +if eval \${$3+:} false; then :
  4656. + $as_echo_n "(cached) " >&6
  4657. +else
  4658. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4659. +/* end confdefs.h. */
  4660. +$4
  4661. +#include <$2>
  4662. +_ACEOF
  4663. +if ac_fn_c_try_compile "$LINENO"; then :
  4664. + eval "$3=yes"
  4665. +else
  4666. + eval "$3=no"
  4667. +fi
  4668. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4669. +fi
  4670. +eval ac_res=\$$3
  4671. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4672. +$as_echo "$ac_res" >&6; }
  4673. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4674. +
  4675. +} # ac_fn_c_check_header_compile
  4676. +
  4677. +# ac_fn_c_try_link LINENO
  4678. +# -----------------------
  4679. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  4680. +ac_fn_c_try_link ()
  4681. +{
  4682. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4683. + rm -f conftest.$ac_objext conftest$ac_exeext
  4684. + if { { ac_try="$ac_link"
  4685. +case "(($ac_try" in
  4686. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4687. + *) ac_try_echo=$ac_try;;
  4688. +esac
  4689. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4690. +$as_echo "$ac_try_echo"; } >&5
  4691. + (eval "$ac_link") 2>conftest.err
  4692. + ac_status=$?
  4693. + if test -s conftest.err; then
  4694. + grep -v '^ *+' conftest.err >conftest.er1
  4695. + cat conftest.er1 >&5
  4696. + mv -f conftest.er1 conftest.err
  4697. + fi
  4698. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4699. + test $ac_status = 0; } && {
  4700. + test -z "$ac_c_werror_flag" ||
  4701. + test ! -s conftest.err
  4702. + } && test -s conftest$ac_exeext && {
  4703. + test "$cross_compiling" = yes ||
  4704. + $as_test_x conftest$ac_exeext
  4705. + }; then :
  4706. + ac_retval=0
  4707. +else
  4708. + $as_echo "$as_me: failed program was:" >&5
  4709. +sed 's/^/| /' conftest.$ac_ext >&5
  4710. +
  4711. + ac_retval=1
  4712. +fi
  4713. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  4714. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  4715. + # interfere with the next link command; also delete a directory that is
  4716. + # left behind by Apple's compiler. We do this before executing the actions.
  4717. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  4718. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4719. + as_fn_set_status $ac_retval
  4720. +
  4721. +} # ac_fn_c_try_link
  4722. +
  4723. +# ac_fn_c_check_func LINENO FUNC VAR
  4724. +# ----------------------------------
  4725. +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  4726. +ac_fn_c_check_func ()
  4727. +{
  4728. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4729. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  4730. +$as_echo_n "checking for $2... " >&6; }
  4731. +if eval \${$3+:} false; then :
  4732. + $as_echo_n "(cached) " >&6
  4733. +else
  4734. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4735. +/* end confdefs.h. */
  4736. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  4737. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4738. +#define $2 innocuous_$2
  4739. +
  4740. +/* System header to define __stub macros and hopefully few prototypes,
  4741. + which can conflict with char $2 (); below.
  4742. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4743. + <limits.h> exists even on freestanding compilers. */
  4744. +
  4745. +#ifdef __STDC__
  4746. +# include <limits.h>
  4747. +#else
  4748. +# include <assert.h>
  4749. +#endif
  4750. +
  4751. +#undef $2
  4752. +
  4753. +/* Override any GCC internal prototype to avoid an error.
  4754. + Use char because int might match the return type of a GCC
  4755. + builtin and then its argument prototype would still apply. */
  4756. +#ifdef __cplusplus
  4757. +extern "C"
  4758. +#endif
  4759. +char $2 ();
  4760. +/* The GNU C library defines this for functions which it implements
  4761. + to always fail with ENOSYS. Some functions are actually named
  4762. + something starting with __ and the normal name is an alias. */
  4763. +#if defined __stub_$2 || defined __stub___$2
  4764. +choke me
  4765. +#endif
  4766. +
  4767. +int
  4768. +main ()
  4769. +{
  4770. +return $2 ();
  4771. + ;
  4772. + return 0;
  4773. +}
  4774. +_ACEOF
  4775. +if ac_fn_c_try_link "$LINENO"; then :
  4776. + eval "$3=yes"
  4777. +else
  4778. + eval "$3=no"
  4779. +fi
  4780. +rm -f core conftest.err conftest.$ac_objext \
  4781. + conftest$ac_exeext conftest.$ac_ext
  4782. +fi
  4783. +eval ac_res=\$$3
  4784. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4785. +$as_echo "$ac_res" >&6; }
  4786. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4787. +
  4788. +} # ac_fn_c_check_func
  4789. +
  4790. +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  4791. +# ---------------------------------------------
  4792. +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  4793. +# accordingly.
  4794. +ac_fn_c_check_decl ()
  4795. +{
  4796. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4797. + as_decl_name=`echo $2|sed 's/ *(.*//'`
  4798. + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  4799. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  4800. +$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  4801. +if eval \${$3+:} false; then :
  4802. + $as_echo_n "(cached) " >&6
  4803. +else
  4804. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4805. +/* end confdefs.h. */
  4806. +$4
  4807. +int
  4808. +main ()
  4809. +{
  4810. +#ifndef $as_decl_name
  4811. +#ifdef __cplusplus
  4812. + (void) $as_decl_use;
  4813. +#else
  4814. + (void) $as_decl_name;
  4815. +#endif
  4816. +#endif
  4817. +
  4818. + ;
  4819. + return 0;
  4820. +}
  4821. +_ACEOF
  4822. +if ac_fn_c_try_compile "$LINENO"; then :
  4823. + eval "$3=yes"
  4824. +else
  4825. + eval "$3=no"
  4826. +fi
  4827. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4828. +fi
  4829. +eval ac_res=\$$3
  4830. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4831. +$as_echo "$ac_res" >&6; }
  4832. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4833. +
  4834. +} # ac_fn_c_check_decl
  4835. +
  4836. +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  4837. +# ----------------------------------------------------
  4838. +# Tries to find if the field MEMBER exists in type AGGR, after including
  4839. +# INCLUDES, setting cache variable VAR accordingly.
  4840. +ac_fn_c_check_member ()
  4841. +{
  4842. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4843. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  4844. +$as_echo_n "checking for $2.$3... " >&6; }
  4845. +if eval \${$4+:} false; then :
  4846. + $as_echo_n "(cached) " >&6
  4847. +else
  4848. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4849. +/* end confdefs.h. */
  4850. +$5
  4851. +int
  4852. +main ()
  4853. +{
  4854. +static $2 ac_aggr;
  4855. +if (ac_aggr.$3)
  4856. +return 0;
  4857. + ;
  4858. + return 0;
  4859. +}
  4860. +_ACEOF
  4861. +if ac_fn_c_try_compile "$LINENO"; then :
  4862. + eval "$4=yes"
  4863. +else
  4864. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4865. +/* end confdefs.h. */
  4866. +$5
  4867. +int
  4868. +main ()
  4869. +{
  4870. +static $2 ac_aggr;
  4871. +if (sizeof ac_aggr.$3)
  4872. +return 0;
  4873. + ;
  4874. + return 0;
  4875. +}
  4876. +_ACEOF
  4877. +if ac_fn_c_try_compile "$LINENO"; then :
  4878. + eval "$4=yes"
  4879. +else
  4880. + eval "$4=no"
  4881. +fi
  4882. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4883. +fi
  4884. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4885. +fi
  4886. +eval ac_res=\$$4
  4887. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4888. +$as_echo "$ac_res" >&6; }
  4889. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4890. +
  4891. +} # ac_fn_c_check_member
  4892. +
  4893. +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  4894. +# -------------------------------------------
  4895. +# Tests whether TYPE exists after having included INCLUDES, setting cache
  4896. +# variable VAR accordingly.
  4897. +ac_fn_c_check_type ()
  4898. +{
  4899. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4900. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  4901. +$as_echo_n "checking for $2... " >&6; }
  4902. +if eval \${$3+:} false; then :
  4903. + $as_echo_n "(cached) " >&6
  4904. +else
  4905. + eval "$3=no"
  4906. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4907. +/* end confdefs.h. */
  4908. +$4
  4909. +int
  4910. +main ()
  4911. +{
  4912. +if (sizeof ($2))
  4913. + return 0;
  4914. + ;
  4915. + return 0;
  4916. +}
  4917. +_ACEOF
  4918. +if ac_fn_c_try_compile "$LINENO"; then :
  4919. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4920. +/* end confdefs.h. */
  4921. +$4
  4922. +int
  4923. +main ()
  4924. +{
  4925. +if (sizeof (($2)))
  4926. + return 0;
  4927. + ;
  4928. + return 0;
  4929. +}
  4930. +_ACEOF
  4931. +if ac_fn_c_try_compile "$LINENO"; then :
  4932. +
  4933. +else
  4934. + eval "$3=yes"
  4935. +fi
  4936. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4937. +fi
  4938. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4939. +fi
  4940. +eval ac_res=\$$3
  4941. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4942. +$as_echo "$ac_res" >&6; }
  4943. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4944. +
  4945. +} # ac_fn_c_check_type
  4946. +
  4947. +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  4948. +# --------------------------------------------
  4949. +# Tries to find the compile-time value of EXPR in a program that includes
  4950. +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  4951. +# computed
  4952. +ac_fn_c_compute_int ()
  4953. +{
  4954. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4955. + if test "$cross_compiling" = yes; then
  4956. + # Depending upon the size, compute the lo and hi bounds.
  4957. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4958. +/* end confdefs.h. */
  4959. +$4
  4960. +int
  4961. +main ()
  4962. +{
  4963. +static int test_array [1 - 2 * !(($2) >= 0)];
  4964. +test_array [0] = 0
  4965. +
  4966. + ;
  4967. + return 0;
  4968. +}
  4969. +_ACEOF
  4970. +if ac_fn_c_try_compile "$LINENO"; then :
  4971. + ac_lo=0 ac_mid=0
  4972. + while :; do
  4973. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4974. +/* end confdefs.h. */
  4975. +$4
  4976. +int
  4977. +main ()
  4978. +{
  4979. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  4980. +test_array [0] = 0
  4981. +
  4982. + ;
  4983. + return 0;
  4984. +}
  4985. +_ACEOF
  4986. +if ac_fn_c_try_compile "$LINENO"; then :
  4987. + ac_hi=$ac_mid; break
  4988. +else
  4989. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  4990. + if test $ac_lo -le $ac_mid; then
  4991. + ac_lo= ac_hi=
  4992. + break
  4993. + fi
  4994. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  4995. +fi
  4996. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4997. + done
  4998. +else
  4999. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5000. +/* end confdefs.h. */
  5001. +$4
  5002. +int
  5003. +main ()
  5004. +{
  5005. +static int test_array [1 - 2 * !(($2) < 0)];
  5006. +test_array [0] = 0
  5007. +
  5008. + ;
  5009. + return 0;
  5010. +}
  5011. +_ACEOF
  5012. +if ac_fn_c_try_compile "$LINENO"; then :
  5013. + ac_hi=-1 ac_mid=-1
  5014. + while :; do
  5015. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5016. +/* end confdefs.h. */
  5017. +$4
  5018. +int
  5019. +main ()
  5020. +{
  5021. +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  5022. +test_array [0] = 0
  5023. +
  5024. + ;
  5025. + return 0;
  5026. +}
  5027. +_ACEOF
  5028. +if ac_fn_c_try_compile "$LINENO"; then :
  5029. + ac_lo=$ac_mid; break
  5030. +else
  5031. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  5032. + if test $ac_mid -le $ac_hi; then
  5033. + ac_lo= ac_hi=
  5034. + break
  5035. + fi
  5036. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  5037. +fi
  5038. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5039. + done
  5040. +else
  5041. + ac_lo= ac_hi=
  5042. +fi
  5043. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5044. +fi
  5045. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5046. +# Binary search between lo and hi bounds.
  5047. +while test "x$ac_lo" != "x$ac_hi"; do
  5048. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  5049. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5050. +/* end confdefs.h. */
  5051. +$4
  5052. +int
  5053. +main ()
  5054. +{
  5055. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  5056. +test_array [0] = 0
  5057. +
  5058. + ;
  5059. + return 0;
  5060. +}
  5061. +_ACEOF
  5062. +if ac_fn_c_try_compile "$LINENO"; then :
  5063. + ac_hi=$ac_mid
  5064. +else
  5065. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  5066. +fi
  5067. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5068. +done
  5069. +case $ac_lo in #((
  5070. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  5071. +'') ac_retval=1 ;;
  5072. +esac
  5073. + else
  5074. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5075. +/* end confdefs.h. */
  5076. +$4
  5077. +static long int longval () { return $2; }
  5078. +static unsigned long int ulongval () { return $2; }
  5079. +#include <stdio.h>
  5080. +#include <stdlib.h>
  5081. +int
  5082. +main ()
  5083. +{
  5084. +
  5085. + FILE *f = fopen ("conftest.val", "w");
  5086. + if (! f)
  5087. + return 1;
  5088. + if (($2) < 0)
  5089. + {
  5090. + long int i = longval ();
  5091. + if (i != ($2))
  5092. + return 1;
  5093. + fprintf (f, "%ld", i);
  5094. + }
  5095. + else
  5096. + {
  5097. + unsigned long int i = ulongval ();
  5098. + if (i != ($2))
  5099. + return 1;
  5100. + fprintf (f, "%lu", i);
  5101. + }
  5102. + /* Do not output a trailing newline, as this causes \r\n confusion
  5103. + on some platforms. */
  5104. + return ferror (f) || fclose (f) != 0;
  5105. +
  5106. + ;
  5107. + return 0;
  5108. +}
  5109. +_ACEOF
  5110. +if ac_fn_c_try_run "$LINENO"; then :
  5111. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  5112. +else
  5113. + ac_retval=1
  5114. +fi
  5115. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5116. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  5117. +rm -f conftest.val
  5118. +
  5119. + fi
  5120. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  5121. + as_fn_set_status $ac_retval
  5122. +
  5123. +} # ac_fn_c_compute_int
  5124. +cat >config.log <<_ACEOF
  5125. +This file contains any messages produced by compilers while
  5126. +running configure, to aid debugging if configure makes a mistake.
  5127. +
  5128. +It was created by cgminer $as_me 2.4.1, which was
  5129. +generated by GNU Autoconf 2.68. Invocation command line was
  5130. +
  5131. + $ $0 $@
  5132. +
  5133. +_ACEOF
  5134. +exec 5>>config.log
  5135. +{
  5136. +cat <<_ASUNAME
  5137. +## --------- ##
  5138. +## Platform. ##
  5139. +## --------- ##
  5140. +
  5141. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  5142. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  5143. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  5144. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  5145. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  5146. +
  5147. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  5148. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  5149. +
  5150. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  5151. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  5152. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  5153. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  5154. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  5155. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  5156. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  5157. +
  5158. +_ASUNAME
  5159. +
  5160. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5161. +for as_dir in $PATH
  5162. +do
  5163. + IFS=$as_save_IFS
  5164. + test -z "$as_dir" && as_dir=.
  5165. + $as_echo "PATH: $as_dir"
  5166. + done
  5167. +IFS=$as_save_IFS
  5168. +
  5169. +} >&5
  5170. +
  5171. +cat >&5 <<_ACEOF
  5172. +
  5173. +
  5174. +## ----------- ##
  5175. +## Core tests. ##
  5176. +## ----------- ##
  5177. +
  5178. +_ACEOF
  5179. +
  5180. +
  5181. +# Keep a trace of the command line.
  5182. +# Strip out --no-create and --no-recursion so they do not pile up.
  5183. +# Strip out --silent because we don't want to record it for future runs.
  5184. +# Also quote any args containing shell meta-characters.
  5185. +# Make two passes to allow for proper duplicate-argument suppression.
  5186. +ac_configure_args=
  5187. +ac_configure_args0=
  5188. +ac_configure_args1=
  5189. +ac_must_keep_next=false
  5190. +for ac_pass in 1 2
  5191. +do
  5192. + for ac_arg
  5193. + do
  5194. + case $ac_arg in
  5195. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  5196. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  5197. + | -silent | --silent | --silen | --sile | --sil)
  5198. + continue ;;
  5199. + *\'*)
  5200. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  5201. + esac
  5202. + case $ac_pass in
  5203. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  5204. + 2)
  5205. + as_fn_append ac_configure_args1 " '$ac_arg'"
  5206. + if test $ac_must_keep_next = true; then
  5207. + ac_must_keep_next=false # Got value, back to normal.
  5208. + else
  5209. + case $ac_arg in
  5210. + *=* | --config-cache | -C | -disable-* | --disable-* \
  5211. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  5212. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  5213. + | -with-* | --with-* | -without-* | --without-* | --x)
  5214. + case "$ac_configure_args0 " in
  5215. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  5216. + esac
  5217. + ;;
  5218. + -* ) ac_must_keep_next=true ;;
  5219. + esac
  5220. + fi
  5221. + as_fn_append ac_configure_args " '$ac_arg'"
  5222. + ;;
  5223. + esac
  5224. + done
  5225. +done
  5226. +{ ac_configure_args0=; unset ac_configure_args0;}
  5227. +{ ac_configure_args1=; unset ac_configure_args1;}
  5228. +
  5229. +# When interrupted or exit'd, cleanup temporary files, and complete
  5230. +# config.log. We remove comments because anyway the quotes in there
  5231. +# would cause problems or look ugly.
  5232. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  5233. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  5234. +trap 'exit_status=$?
  5235. + # Save into config.log some information that might help in debugging.
  5236. + {
  5237. + echo
  5238. +
  5239. + $as_echo "## ---------------- ##
  5240. +## Cache variables. ##
  5241. +## ---------------- ##"
  5242. + echo
  5243. + # The following way of writing the cache mishandles newlines in values,
  5244. +(
  5245. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  5246. + eval ac_val=\$$ac_var
  5247. + case $ac_val in #(
  5248. + *${as_nl}*)
  5249. + case $ac_var in #(
  5250. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  5251. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  5252. + esac
  5253. + case $ac_var in #(
  5254. + _ | IFS | as_nl) ;; #(
  5255. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  5256. + *) { eval $ac_var=; unset $ac_var;} ;;
  5257. + esac ;;
  5258. + esac
  5259. + done
  5260. + (set) 2>&1 |
  5261. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  5262. + *${as_nl}ac_space=\ *)
  5263. + sed -n \
  5264. + "s/'\''/'\''\\\\'\'''\''/g;
  5265. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  5266. + ;; #(
  5267. + *)
  5268. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  5269. + ;;
  5270. + esac |
  5271. + sort
  5272. +)
  5273. + echo
  5274. +
  5275. + $as_echo "## ----------------- ##
  5276. +## Output variables. ##
  5277. +## ----------------- ##"
  5278. + echo
  5279. + for ac_var in $ac_subst_vars
  5280. + do
  5281. + eval ac_val=\$$ac_var
  5282. + case $ac_val in
  5283. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  5284. + esac
  5285. + $as_echo "$ac_var='\''$ac_val'\''"
  5286. + done | sort
  5287. + echo
  5288. +
  5289. + if test -n "$ac_subst_files"; then
  5290. + $as_echo "## ------------------- ##
  5291. +## File substitutions. ##
  5292. +## ------------------- ##"
  5293. + echo
  5294. + for ac_var in $ac_subst_files
  5295. + do
  5296. + eval ac_val=\$$ac_var
  5297. + case $ac_val in
  5298. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  5299. + esac
  5300. + $as_echo "$ac_var='\''$ac_val'\''"
  5301. + done | sort
  5302. + echo
  5303. + fi
  5304. +
  5305. + if test -s confdefs.h; then
  5306. + $as_echo "## ----------- ##
  5307. +## confdefs.h. ##
  5308. +## ----------- ##"
  5309. + echo
  5310. + cat confdefs.h
  5311. + echo
  5312. + fi
  5313. + test "$ac_signal" != 0 &&
  5314. + $as_echo "$as_me: caught signal $ac_signal"
  5315. + $as_echo "$as_me: exit $exit_status"
  5316. + } >&5
  5317. + rm -f core *.core core.conftest.* &&
  5318. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  5319. + exit $exit_status
  5320. +' 0
  5321. +for ac_signal in 1 2 13 15; do
  5322. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  5323. +done
  5324. +ac_signal=0
  5325. +
  5326. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  5327. +rm -f -r conftest* confdefs.h
  5328. +
  5329. +$as_echo "/* confdefs.h */" > confdefs.h
  5330. +
  5331. +# Predefined preprocessor variables.
  5332. +
  5333. +cat >>confdefs.h <<_ACEOF
  5334. +#define PACKAGE_NAME "$PACKAGE_NAME"
  5335. +_ACEOF
  5336. +
  5337. +cat >>confdefs.h <<_ACEOF
  5338. +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  5339. +_ACEOF
  5340. +
  5341. +cat >>confdefs.h <<_ACEOF
  5342. +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  5343. +_ACEOF
  5344. +
  5345. +cat >>confdefs.h <<_ACEOF
  5346. +#define PACKAGE_STRING "$PACKAGE_STRING"
  5347. +_ACEOF
  5348. +
  5349. +cat >>confdefs.h <<_ACEOF
  5350. +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  5351. +_ACEOF
  5352. +
  5353. +cat >>confdefs.h <<_ACEOF
  5354. +#define PACKAGE_URL "$PACKAGE_URL"
  5355. +_ACEOF
  5356. +
  5357. +
  5358. +# Let the site file select an alternate cache file if it wants to.
  5359. +# Prefer an explicitly selected file to automatically selected ones.
  5360. +ac_site_file1=NONE
  5361. +ac_site_file2=NONE
  5362. +if test -n "$CONFIG_SITE"; then
  5363. + # We do not want a PATH search for config.site.
  5364. + case $CONFIG_SITE in #((
  5365. + -*) ac_site_file1=./$CONFIG_SITE;;
  5366. + */*) ac_site_file1=$CONFIG_SITE;;
  5367. + *) ac_site_file1=./$CONFIG_SITE;;
  5368. + esac
  5369. +elif test "x$prefix" != xNONE; then
  5370. + ac_site_file1=$prefix/share/config.site
  5371. + ac_site_file2=$prefix/etc/config.site
  5372. +else
  5373. + ac_site_file1=$ac_default_prefix/share/config.site
  5374. + ac_site_file2=$ac_default_prefix/etc/config.site
  5375. +fi
  5376. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  5377. +do
  5378. + test "x$ac_site_file" = xNONE && continue
  5379. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  5380. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  5381. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  5382. + sed 's/^/| /' "$ac_site_file" >&5
  5383. + . "$ac_site_file" \
  5384. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5385. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5386. +as_fn_error $? "failed to load site script $ac_site_file
  5387. +See \`config.log' for more details" "$LINENO" 5; }
  5388. + fi
  5389. +done
  5390. +
  5391. +if test -r "$cache_file"; then
  5392. + # Some versions of bash will fail to source /dev/null (special files
  5393. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  5394. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  5395. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  5396. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  5397. + case $cache_file in
  5398. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  5399. + *) . "./$cache_file";;
  5400. + esac
  5401. + fi
  5402. +else
  5403. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  5404. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  5405. + >$cache_file
  5406. +fi
  5407. +
  5408. +gl_header_list="$gl_header_list sys/mman.h"
  5409. +gl_func_list="$gl_func_list mprotect"
  5410. +gl_func_list="$gl_func_list sigaction"
  5411. +gl_func_list="$gl_func_list sigaltstack"
  5412. +gl_func_list="$gl_func_list siginterrupt"
  5413. +gl_header_list="$gl_header_list wchar.h"
  5414. +gl_header_list="$gl_header_list stdint.h"
  5415. +# Check that the precious variables saved in the cache have kept the same
  5416. +# value.
  5417. +ac_cache_corrupted=false
  5418. +for ac_var in $ac_precious_vars; do
  5419. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  5420. + eval ac_new_set=\$ac_env_${ac_var}_set
  5421. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  5422. + eval ac_new_val=\$ac_env_${ac_var}_value
  5423. + case $ac_old_set,$ac_new_set in
  5424. + set,)
  5425. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  5426. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  5427. + ac_cache_corrupted=: ;;
  5428. + ,set)
  5429. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  5430. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  5431. + ac_cache_corrupted=: ;;
  5432. + ,);;
  5433. + *)
  5434. + if test "x$ac_old_val" != "x$ac_new_val"; then
  5435. + # differences in whitespace do not lead to failure.
  5436. + ac_old_val_w=`echo x $ac_old_val`
  5437. + ac_new_val_w=`echo x $ac_new_val`
  5438. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  5439. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  5440. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  5441. + ac_cache_corrupted=:
  5442. + else
  5443. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  5444. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  5445. + eval $ac_var=\$ac_old_val
  5446. + fi
  5447. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  5448. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  5449. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  5450. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  5451. + fi;;
  5452. + esac
  5453. + # Pass precious variables to config.status.
  5454. + if test "$ac_new_set" = set; then
  5455. + case $ac_new_val in
  5456. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  5457. + *) ac_arg=$ac_var=$ac_new_val ;;
  5458. + esac
  5459. + case " $ac_configure_args " in
  5460. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  5461. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  5462. + esac
  5463. + fi
  5464. +done
  5465. +if $ac_cache_corrupted; then
  5466. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5467. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5468. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  5469. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  5470. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  5471. +fi
  5472. +## -------------------- ##
  5473. +## Main body of script. ##
  5474. +## -------------------- ##
  5475. +
  5476. +ac_ext=c
  5477. +ac_cpp='$CPP $CPPFLAGS'
  5478. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5479. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5480. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5481. +
  5482. +
  5483. +
  5484. +
  5485. +ac_aux_dir=
  5486. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  5487. + if test -f "$ac_dir/install-sh"; then
  5488. + ac_aux_dir=$ac_dir
  5489. + ac_install_sh="$ac_aux_dir/install-sh -c"
  5490. + break
  5491. + elif test -f "$ac_dir/install.sh"; then
  5492. + ac_aux_dir=$ac_dir
  5493. + ac_install_sh="$ac_aux_dir/install.sh -c"
  5494. + break
  5495. + elif test -f "$ac_dir/shtool"; then
  5496. + ac_aux_dir=$ac_dir
  5497. + ac_install_sh="$ac_aux_dir/shtool install -c"
  5498. + break
  5499. + fi
  5500. +done
  5501. +if test -z "$ac_aux_dir"; then
  5502. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  5503. +fi
  5504. +
  5505. +# These three variables are undocumented and unsupported,
  5506. +# and are intended to be withdrawn in a future Autoconf release.
  5507. +# They can cause serious problems if a builder's source tree is in a directory
  5508. +# whose full name contains unusual characters.
  5509. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  5510. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  5511. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  5512. +
  5513. +
  5514. +# Make sure we can run config.sub.
  5515. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  5516. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  5517. +
  5518. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  5519. +$as_echo_n "checking build system type... " >&6; }
  5520. +if ${ac_cv_build+:} false; then :
  5521. + $as_echo_n "(cached) " >&6
  5522. +else
  5523. + ac_build_alias=$build_alias
  5524. +test "x$ac_build_alias" = x &&
  5525. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  5526. +test "x$ac_build_alias" = x &&
  5527. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  5528. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  5529. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  5530. +
  5531. +fi
  5532. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  5533. +$as_echo "$ac_cv_build" >&6; }
  5534. +case $ac_cv_build in
  5535. +*-*-*) ;;
  5536. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  5537. +esac
  5538. +build=$ac_cv_build
  5539. +ac_save_IFS=$IFS; IFS='-'
  5540. +set x $ac_cv_build
  5541. +shift
  5542. +build_cpu=$1
  5543. +build_vendor=$2
  5544. +shift; shift
  5545. +# Remember, the first character of IFS is used to create $*,
  5546. +# except with old shells:
  5547. +build_os=$*
  5548. +IFS=$ac_save_IFS
  5549. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  5550. +
  5551. +
  5552. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  5553. +$as_echo_n "checking host system type... " >&6; }
  5554. +if ${ac_cv_host+:} false; then :
  5555. + $as_echo_n "(cached) " >&6
  5556. +else
  5557. + if test "x$host_alias" = x; then
  5558. + ac_cv_host=$ac_cv_build
  5559. +else
  5560. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  5561. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  5562. +fi
  5563. +
  5564. +fi
  5565. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  5566. +$as_echo "$ac_cv_host" >&6; }
  5567. +case $ac_cv_host in
  5568. +*-*-*) ;;
  5569. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  5570. +esac
  5571. +host=$ac_cv_host
  5572. +ac_save_IFS=$IFS; IFS='-'
  5573. +set x $ac_cv_host
  5574. +shift
  5575. +host_cpu=$1
  5576. +host_vendor=$2
  5577. +shift; shift
  5578. +# Remember, the first character of IFS is used to create $*,
  5579. +# except with old shells:
  5580. +host_os=$*
  5581. +IFS=$ac_save_IFS
  5582. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  5583. +
  5584. +
  5585. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  5586. +$as_echo_n "checking target system type... " >&6; }
  5587. +if ${ac_cv_target+:} false; then :
  5588. + $as_echo_n "(cached) " >&6
  5589. +else
  5590. + if test "x$target_alias" = x; then
  5591. + ac_cv_target=$ac_cv_host
  5592. +else
  5593. + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  5594. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  5595. +fi
  5596. +
  5597. +fi
  5598. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  5599. +$as_echo "$ac_cv_target" >&6; }
  5600. +case $ac_cv_target in
  5601. +*-*-*) ;;
  5602. +*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  5603. +esac
  5604. +target=$ac_cv_target
  5605. +ac_save_IFS=$IFS; IFS='-'
  5606. +set x $ac_cv_target
  5607. +shift
  5608. +target_cpu=$1
  5609. +target_vendor=$2
  5610. +shift; shift
  5611. +# Remember, the first character of IFS is used to create $*,
  5612. +# except with old shells:
  5613. +target_os=$*
  5614. +IFS=$ac_save_IFS
  5615. +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  5616. +
  5617. +
  5618. +# The aliases save the names the user supplied, while $host etc.
  5619. +# will get canonicalized.
  5620. +test -n "$target_alias" &&
  5621. + test "$program_prefix$program_suffix$program_transform_name" = \
  5622. + NONENONEs,x,x, &&
  5623. + program_prefix=${target_alias}-
  5624. +
  5625. +
  5626. +
  5627. +ac_config_headers="$ac_config_headers config.h"
  5628. +
  5629. +
  5630. +am__api_version='1.11'
  5631. +
  5632. +# Find a good install program. We prefer a C program (faster),
  5633. +# so one script is as good as another. But avoid the broken or
  5634. +# incompatible versions:
  5635. +# SysV /etc/install, /usr/sbin/install
  5636. +# SunOS /usr/etc/install
  5637. +# IRIX /sbin/install
  5638. +# AIX /bin/install
  5639. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  5640. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  5641. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  5642. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  5643. +# OS/2's system install, which has a completely different semantic
  5644. +# ./install, which can be erroneously created by make from ./install.sh.
  5645. +# Reject install programs that cannot install multiple files.
  5646. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  5647. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  5648. +if test -z "$INSTALL"; then
  5649. +if ${ac_cv_path_install+:} false; then :
  5650. + $as_echo_n "(cached) " >&6
  5651. +else
  5652. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5653. +for as_dir in $PATH
  5654. +do
  5655. + IFS=$as_save_IFS
  5656. + test -z "$as_dir" && as_dir=.
  5657. + # Account for people who put trailing slashes in PATH elements.
  5658. +case $as_dir/ in #((
  5659. + ./ | .// | /[cC]/* | \
  5660. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  5661. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  5662. + /usr/ucb/* ) ;;
  5663. + *)
  5664. + # OSF1 and SCO ODT 3.0 have their own names for install.
  5665. + # Don't use installbsd from OSF since it installs stuff as root
  5666. + # by default.
  5667. + for ac_prog in ginstall scoinst install; do
  5668. + for ac_exec_ext in '' $ac_executable_extensions; do
  5669. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  5670. + if test $ac_prog = install &&
  5671. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  5672. + # AIX install. It has an incompatible calling convention.
  5673. + :
  5674. + elif test $ac_prog = install &&
  5675. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  5676. + # program-specific install script used by HP pwplus--don't use.
  5677. + :
  5678. + else
  5679. + rm -rf conftest.one conftest.two conftest.dir
  5680. + echo one > conftest.one
  5681. + echo two > conftest.two
  5682. + mkdir conftest.dir
  5683. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  5684. + test -s conftest.one && test -s conftest.two &&
  5685. + test -s conftest.dir/conftest.one &&
  5686. + test -s conftest.dir/conftest.two
  5687. + then
  5688. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  5689. + break 3
  5690. + fi
  5691. + fi
  5692. + fi
  5693. + done
  5694. + done
  5695. + ;;
  5696. +esac
  5697. +
  5698. + done
  5699. +IFS=$as_save_IFS
  5700. +
  5701. +rm -rf conftest.one conftest.two conftest.dir
  5702. +
  5703. +fi
  5704. + if test "${ac_cv_path_install+set}" = set; then
  5705. + INSTALL=$ac_cv_path_install
  5706. + else
  5707. + # As a last resort, use the slow shell script. Don't cache a
  5708. + # value for INSTALL within a source directory, because that will
  5709. + # break other packages using the cache if that directory is
  5710. + # removed, or if the value is a relative name.
  5711. + INSTALL=$ac_install_sh
  5712. + fi
  5713. +fi
  5714. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  5715. +$as_echo "$INSTALL" >&6; }
  5716. +
  5717. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  5718. +# It thinks the first close brace ends the variable substitution.
  5719. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  5720. +
  5721. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  5722. +
  5723. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  5724. +
  5725. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  5726. +$as_echo_n "checking whether build environment is sane... " >&6; }
  5727. +# Just in case
  5728. +sleep 1
  5729. +echo timestamp > conftest.file
  5730. +# Reject unsafe characters in $srcdir or the absolute working directory
  5731. +# name. Accept space and tab only in the latter.
  5732. +am_lf='
  5733. +'
  5734. +case `pwd` in
  5735. + *[\\\"\#\$\&\'\`$am_lf]*)
  5736. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  5737. +esac
  5738. +case $srcdir in
  5739. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  5740. + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  5741. +esac
  5742. +
  5743. +# Do `set' in a subshell so we don't clobber the current shell's
  5744. +# arguments. Must try -L first in case configure is actually a
  5745. +# symlink; some systems play weird games with the mod time of symlinks
  5746. +# (eg FreeBSD returns the mod time of the symlink's containing
  5747. +# directory).
  5748. +if (
  5749. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  5750. + if test "$*" = "X"; then
  5751. + # -L didn't work.
  5752. + set X `ls -t "$srcdir/configure" conftest.file`
  5753. + fi
  5754. + rm -f conftest.file
  5755. + if test "$*" != "X $srcdir/configure conftest.file" \
  5756. + && test "$*" != "X conftest.file $srcdir/configure"; then
  5757. +
  5758. + # If neither matched, then we have a broken ls. This can happen
  5759. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  5760. + # broken ls alias from the environment. This has actually
  5761. + # happened. Such a system could not be considered "sane".
  5762. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  5763. +alias in your environment" "$LINENO" 5
  5764. + fi
  5765. +
  5766. + test "$2" = conftest.file
  5767. + )
  5768. +then
  5769. + # Ok.
  5770. + :
  5771. +else
  5772. + as_fn_error $? "newly created file is older than distributed files!
  5773. +Check your system clock" "$LINENO" 5
  5774. +fi
  5775. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5776. +$as_echo "yes" >&6; }
  5777. +test "$program_prefix" != NONE &&
  5778. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  5779. +# Use a double $ so make ignores it.
  5780. +test "$program_suffix" != NONE &&
  5781. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  5782. +# Double any \ or $.
  5783. +# By default was `s,x,x', remove it if useless.
  5784. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  5785. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  5786. +
  5787. +# expand $ac_aux_dir to an absolute path
  5788. +am_aux_dir=`cd $ac_aux_dir && pwd`
  5789. +
  5790. +if test x"${MISSING+set}" != xset; then
  5791. + case $am_aux_dir in
  5792. + *\ * | *\ *)
  5793. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  5794. + *)
  5795. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  5796. + esac
  5797. +fi
  5798. +# Use eval to expand $SHELL
  5799. +if eval "$MISSING --run true"; then
  5800. + am_missing_run="$MISSING --run "
  5801. +else
  5802. + am_missing_run=
  5803. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  5804. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  5805. +fi
  5806. +
  5807. +if test x"${install_sh}" != xset; then
  5808. + case $am_aux_dir in
  5809. + *\ * | *\ *)
  5810. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  5811. + *)
  5812. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  5813. + esac
  5814. +fi
  5815. +
  5816. +# Installed binaries are usually stripped using `strip' when the user
  5817. +# run `make install-strip'. However `strip' might not be the right
  5818. +# tool to use in cross-compilation environments, therefore Automake
  5819. +# will honor the `STRIP' environment variable to overrule this program.
  5820. +if test "$cross_compiling" != no; then
  5821. + if test -n "$ac_tool_prefix"; then
  5822. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5823. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  5824. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5825. +$as_echo_n "checking for $ac_word... " >&6; }
  5826. +if ${ac_cv_prog_STRIP+:} false; then :
  5827. + $as_echo_n "(cached) " >&6
  5828. +else
  5829. + if test -n "$STRIP"; then
  5830. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5831. +else
  5832. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5833. +for as_dir in $PATH
  5834. +do
  5835. + IFS=$as_save_IFS
  5836. + test -z "$as_dir" && as_dir=.
  5837. + for ac_exec_ext in '' $ac_executable_extensions; do
  5838. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5839. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5840. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5841. + break 2
  5842. + fi
  5843. +done
  5844. + done
  5845. +IFS=$as_save_IFS
  5846. +
  5847. +fi
  5848. +fi
  5849. +STRIP=$ac_cv_prog_STRIP
  5850. +if test -n "$STRIP"; then
  5851. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5852. +$as_echo "$STRIP" >&6; }
  5853. +else
  5854. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5855. +$as_echo "no" >&6; }
  5856. +fi
  5857. +
  5858. +
  5859. +fi
  5860. +if test -z "$ac_cv_prog_STRIP"; then
  5861. + ac_ct_STRIP=$STRIP
  5862. + # Extract the first word of "strip", so it can be a program name with args.
  5863. +set dummy strip; ac_word=$2
  5864. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5865. +$as_echo_n "checking for $ac_word... " >&6; }
  5866. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5867. + $as_echo_n "(cached) " >&6
  5868. +else
  5869. + if test -n "$ac_ct_STRIP"; then
  5870. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5871. +else
  5872. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5873. +for as_dir in $PATH
  5874. +do
  5875. + IFS=$as_save_IFS
  5876. + test -z "$as_dir" && as_dir=.
  5877. + for ac_exec_ext in '' $ac_executable_extensions; do
  5878. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5879. + ac_cv_prog_ac_ct_STRIP="strip"
  5880. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5881. + break 2
  5882. + fi
  5883. +done
  5884. + done
  5885. +IFS=$as_save_IFS
  5886. +
  5887. +fi
  5888. +fi
  5889. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5890. +if test -n "$ac_ct_STRIP"; then
  5891. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5892. +$as_echo "$ac_ct_STRIP" >&6; }
  5893. +else
  5894. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5895. +$as_echo "no" >&6; }
  5896. +fi
  5897. +
  5898. + if test "x$ac_ct_STRIP" = x; then
  5899. + STRIP=":"
  5900. + else
  5901. + case $cross_compiling:$ac_tool_warned in
  5902. +yes:)
  5903. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5904. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5905. +ac_tool_warned=yes ;;
  5906. +esac
  5907. + STRIP=$ac_ct_STRIP
  5908. + fi
  5909. +else
  5910. + STRIP="$ac_cv_prog_STRIP"
  5911. +fi
  5912. +
  5913. +fi
  5914. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  5915. +
  5916. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  5917. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  5918. +if test -z "$MKDIR_P"; then
  5919. + if ${ac_cv_path_mkdir+:} false; then :
  5920. + $as_echo_n "(cached) " >&6
  5921. +else
  5922. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5923. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  5924. +do
  5925. + IFS=$as_save_IFS
  5926. + test -z "$as_dir" && as_dir=.
  5927. + for ac_prog in mkdir gmkdir; do
  5928. + for ac_exec_ext in '' $ac_executable_extensions; do
  5929. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  5930. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  5931. + 'mkdir (GNU coreutils) '* | \
  5932. + 'mkdir (coreutils) '* | \
  5933. + 'mkdir (fileutils) '4.1*)
  5934. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  5935. + break 3;;
  5936. + esac
  5937. + done
  5938. + done
  5939. + done
  5940. +IFS=$as_save_IFS
  5941. +
  5942. +fi
  5943. +
  5944. + test -d ./--version && rmdir ./--version
  5945. + if test "${ac_cv_path_mkdir+set}" = set; then
  5946. + MKDIR_P="$ac_cv_path_mkdir -p"
  5947. + else
  5948. + # As a last resort, use the slow shell script. Don't cache a
  5949. + # value for MKDIR_P within a source directory, because that will
  5950. + # break other packages using the cache if that directory is
  5951. + # removed, or if the value is a relative name.
  5952. + MKDIR_P="$ac_install_sh -d"
  5953. + fi
  5954. +fi
  5955. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  5956. +$as_echo "$MKDIR_P" >&6; }
  5957. +
  5958. +
  5959. +mkdir_p="$MKDIR_P"
  5960. +case $mkdir_p in
  5961. + [\\/$]* | ?:[\\/]*) ;;
  5962. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  5963. +esac
  5964. +
  5965. +for ac_prog in gawk mawk nawk awk
  5966. +do
  5967. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  5968. +set dummy $ac_prog; ac_word=$2
  5969. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5970. +$as_echo_n "checking for $ac_word... " >&6; }
  5971. +if ${ac_cv_prog_AWK+:} false; then :
  5972. + $as_echo_n "(cached) " >&6
  5973. +else
  5974. + if test -n "$AWK"; then
  5975. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  5976. +else
  5977. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5978. +for as_dir in $PATH
  5979. +do
  5980. + IFS=$as_save_IFS
  5981. + test -z "$as_dir" && as_dir=.
  5982. + for ac_exec_ext in '' $ac_executable_extensions; do
  5983. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5984. + ac_cv_prog_AWK="$ac_prog"
  5985. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5986. + break 2
  5987. + fi
  5988. +done
  5989. + done
  5990. +IFS=$as_save_IFS
  5991. +
  5992. +fi
  5993. +fi
  5994. +AWK=$ac_cv_prog_AWK
  5995. +if test -n "$AWK"; then
  5996. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  5997. +$as_echo "$AWK" >&6; }
  5998. +else
  5999. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6000. +$as_echo "no" >&6; }
  6001. +fi
  6002. +
  6003. +
  6004. + test -n "$AWK" && break
  6005. +done
  6006. +
  6007. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  6008. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  6009. +set x ${MAKE-make}
  6010. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  6011. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  6012. + $as_echo_n "(cached) " >&6
  6013. +else
  6014. + cat >conftest.make <<\_ACEOF
  6015. +SHELL = /bin/sh
  6016. +all:
  6017. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  6018. +_ACEOF
  6019. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  6020. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  6021. + *@@@%%%=?*=@@@%%%*)
  6022. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  6023. + *)
  6024. + eval ac_cv_prog_make_${ac_make}_set=no;;
  6025. +esac
  6026. +rm -f conftest.make
  6027. +fi
  6028. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  6029. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6030. +$as_echo "yes" >&6; }
  6031. + SET_MAKE=
  6032. +else
  6033. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6034. +$as_echo "no" >&6; }
  6035. + SET_MAKE="MAKE=${MAKE-make}"
  6036. +fi
  6037. +
  6038. +rm -rf .tst 2>/dev/null
  6039. +mkdir .tst 2>/dev/null
  6040. +if test -d .tst; then
  6041. + am__leading_dot=.
  6042. +else
  6043. + am__leading_dot=_
  6044. +fi
  6045. +rmdir .tst 2>/dev/null
  6046. +
  6047. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  6048. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  6049. + # is not polluted with repeated "-I."
  6050. + am__isrc=' -I$(srcdir)'
  6051. + # test to see if srcdir already configured
  6052. + if test -f $srcdir/config.status; then
  6053. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  6054. + fi
  6055. +fi
  6056. +
  6057. +# test whether we have cygpath
  6058. +if test -z "$CYGPATH_W"; then
  6059. + if (cygpath --version) >/dev/null 2>/dev/null; then
  6060. + CYGPATH_W='cygpath -w'
  6061. + else
  6062. + CYGPATH_W=echo
  6063. + fi
  6064. +fi
  6065. +
  6066. +
  6067. +# Define the identity of the package.
  6068. + PACKAGE='cgminer'
  6069. + VERSION='2.4.1'
  6070. +
  6071. +
  6072. +cat >>confdefs.h <<_ACEOF
  6073. +#define PACKAGE "$PACKAGE"
  6074. +_ACEOF
  6075. +
  6076. +
  6077. +cat >>confdefs.h <<_ACEOF
  6078. +#define VERSION "$VERSION"
  6079. +_ACEOF
  6080. +
  6081. +# Some tools Automake needs.
  6082. +
  6083. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  6084. +
  6085. +
  6086. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  6087. +
  6088. +
  6089. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  6090. +
  6091. +
  6092. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  6093. +
  6094. +
  6095. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  6096. +
  6097. +# We need awk for the "check" target. The system "awk" is bad on
  6098. +# some platforms.
  6099. +# Always define AMTAR for backward compatibility. Yes, it's still used
  6100. +# in the wild :-( We should find a proper way to deprecate it ...
  6101. +AMTAR='$${TAR-tar}'
  6102. +
  6103. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  6104. +
  6105. +
  6106. +
  6107. +
  6108. +
  6109. +# Check whether --enable-silent-rules was given.
  6110. +if test "${enable_silent_rules+set}" = set; then :
  6111. + enableval=$enable_silent_rules;
  6112. +fi
  6113. +
  6114. +case $enable_silent_rules in
  6115. +yes) AM_DEFAULT_VERBOSITY=0;;
  6116. +no) AM_DEFAULT_VERBOSITY=1;;
  6117. +*) AM_DEFAULT_VERBOSITY=0;;
  6118. +esac
  6119. +am_make=${MAKE-make}
  6120. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  6121. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  6122. +if ${am_cv_make_support_nested_variables+:} false; then :
  6123. + $as_echo_n "(cached) " >&6
  6124. +else
  6125. + if $as_echo 'TRUE=$(BAR$(V))
  6126. +BAR0=false
  6127. +BAR1=true
  6128. +V=1
  6129. +am__doit:
  6130. + @$(TRUE)
  6131. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  6132. + am_cv_make_support_nested_variables=yes
  6133. +else
  6134. + am_cv_make_support_nested_variables=no
  6135. +fi
  6136. +fi
  6137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  6138. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  6139. +if test $am_cv_make_support_nested_variables = yes; then
  6140. + AM_V='$(V)'
  6141. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  6142. +else
  6143. + AM_V=$AM_DEFAULT_VERBOSITY
  6144. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  6145. +fi
  6146. +AM_BACKSLASH='\'
  6147. +
  6148. +DEPDIR="${am__leading_dot}deps"
  6149. +
  6150. +ac_config_commands="$ac_config_commands depfiles"
  6151. +
  6152. +
  6153. +am_make=${MAKE-make}
  6154. +cat > confinc << 'END'
  6155. +am__doit:
  6156. + @echo this is the am__doit target
  6157. +.PHONY: am__doit
  6158. +END
  6159. +# If we don't find an include directive, just comment out the code.
  6160. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  6161. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  6162. +am__include="#"
  6163. +am__quote=
  6164. +_am_result=none
  6165. +# First try GNU make style include.
  6166. +echo "include confinc" > confmf
  6167. +# Ignore all kinds of additional output from `make'.
  6168. +case `$am_make -s -f confmf 2> /dev/null` in #(
  6169. +*the\ am__doit\ target*)
  6170. + am__include=include
  6171. + am__quote=
  6172. + _am_result=GNU
  6173. + ;;
  6174. +esac
  6175. +# Now try BSD make style include.
  6176. +if test "$am__include" = "#"; then
  6177. + echo '.include "confinc"' > confmf
  6178. + case `$am_make -s -f confmf 2> /dev/null` in #(
  6179. + *the\ am__doit\ target*)
  6180. + am__include=.include
  6181. + am__quote="\""
  6182. + _am_result=BSD
  6183. + ;;
  6184. + esac
  6185. +fi
  6186. +
  6187. +
  6188. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  6189. +$as_echo "$_am_result" >&6; }
  6190. +rm -f confinc confmf
  6191. +
  6192. +# Check whether --enable-dependency-tracking was given.
  6193. +if test "${enable_dependency_tracking+set}" = set; then :
  6194. + enableval=$enable_dependency_tracking;
  6195. +fi
  6196. +
  6197. +if test "x$enable_dependency_tracking" != xno; then
  6198. + am_depcomp="$ac_aux_dir/depcomp"
  6199. + AMDEPBACKSLASH='\'
  6200. + am__nodep='_no'
  6201. +fi
  6202. + if test "x$enable_dependency_tracking" != xno; then
  6203. + AMDEP_TRUE=
  6204. + AMDEP_FALSE='#'
  6205. +else
  6206. + AMDEP_TRUE='#'
  6207. + AMDEP_FALSE=
  6208. +fi
  6209. +
  6210. +
  6211. +ac_ext=c
  6212. +ac_cpp='$CPP $CPPFLAGS'
  6213. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6214. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6215. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6216. +if test -n "$ac_tool_prefix"; then
  6217. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  6218. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  6219. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6220. +$as_echo_n "checking for $ac_word... " >&6; }
  6221. +if ${ac_cv_prog_CC+:} false; then :
  6222. + $as_echo_n "(cached) " >&6
  6223. +else
  6224. + if test -n "$CC"; then
  6225. + ac_cv_prog_CC="$CC" # Let the user override the test.
  6226. +else
  6227. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6228. +for as_dir in $PATH
  6229. +do
  6230. + IFS=$as_save_IFS
  6231. + test -z "$as_dir" && as_dir=.
  6232. + for ac_exec_ext in '' $ac_executable_extensions; do
  6233. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6234. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  6235. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6236. + break 2
  6237. + fi
  6238. +done
  6239. + done
  6240. +IFS=$as_save_IFS
  6241. +
  6242. +fi
  6243. +fi
  6244. +CC=$ac_cv_prog_CC
  6245. +if test -n "$CC"; then
  6246. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  6247. +$as_echo "$CC" >&6; }
  6248. +else
  6249. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6250. +$as_echo "no" >&6; }
  6251. +fi
  6252. +
  6253. +
  6254. +fi
  6255. +if test -z "$ac_cv_prog_CC"; then
  6256. + ac_ct_CC=$CC
  6257. + # Extract the first word of "gcc", so it can be a program name with args.
  6258. +set dummy gcc; ac_word=$2
  6259. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6260. +$as_echo_n "checking for $ac_word... " >&6; }
  6261. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  6262. + $as_echo_n "(cached) " >&6
  6263. +else
  6264. + if test -n "$ac_ct_CC"; then
  6265. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  6266. +else
  6267. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6268. +for as_dir in $PATH
  6269. +do
  6270. + IFS=$as_save_IFS
  6271. + test -z "$as_dir" && as_dir=.
  6272. + for ac_exec_ext in '' $ac_executable_extensions; do
  6273. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6274. + ac_cv_prog_ac_ct_CC="gcc"
  6275. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6276. + break 2
  6277. + fi
  6278. +done
  6279. + done
  6280. +IFS=$as_save_IFS
  6281. +
  6282. +fi
  6283. +fi
  6284. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  6285. +if test -n "$ac_ct_CC"; then
  6286. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  6287. +$as_echo "$ac_ct_CC" >&6; }
  6288. +else
  6289. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6290. +$as_echo "no" >&6; }
  6291. +fi
  6292. +
  6293. + if test "x$ac_ct_CC" = x; then
  6294. + CC=""
  6295. + else
  6296. + case $cross_compiling:$ac_tool_warned in
  6297. +yes:)
  6298. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6299. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6300. +ac_tool_warned=yes ;;
  6301. +esac
  6302. + CC=$ac_ct_CC
  6303. + fi
  6304. +else
  6305. + CC="$ac_cv_prog_CC"
  6306. +fi
  6307. +
  6308. +if test -z "$CC"; then
  6309. + if test -n "$ac_tool_prefix"; then
  6310. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  6311. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  6312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6313. +$as_echo_n "checking for $ac_word... " >&6; }
  6314. +if ${ac_cv_prog_CC+:} false; then :
  6315. + $as_echo_n "(cached) " >&6
  6316. +else
  6317. + if test -n "$CC"; then
  6318. + ac_cv_prog_CC="$CC" # Let the user override the test.
  6319. +else
  6320. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6321. +for as_dir in $PATH
  6322. +do
  6323. + IFS=$as_save_IFS
  6324. + test -z "$as_dir" && as_dir=.
  6325. + for ac_exec_ext in '' $ac_executable_extensions; do
  6326. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6327. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  6328. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6329. + break 2
  6330. + fi
  6331. +done
  6332. + done
  6333. +IFS=$as_save_IFS
  6334. +
  6335. +fi
  6336. +fi
  6337. +CC=$ac_cv_prog_CC
  6338. +if test -n "$CC"; then
  6339. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  6340. +$as_echo "$CC" >&6; }
  6341. +else
  6342. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6343. +$as_echo "no" >&6; }
  6344. +fi
  6345. +
  6346. +
  6347. + fi
  6348. +fi
  6349. +if test -z "$CC"; then
  6350. + # Extract the first word of "cc", so it can be a program name with args.
  6351. +set dummy cc; ac_word=$2
  6352. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6353. +$as_echo_n "checking for $ac_word... " >&6; }
  6354. +if ${ac_cv_prog_CC+:} false; then :
  6355. + $as_echo_n "(cached) " >&6
  6356. +else
  6357. + if test -n "$CC"; then
  6358. + ac_cv_prog_CC="$CC" # Let the user override the test.
  6359. +else
  6360. + ac_prog_rejected=no
  6361. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6362. +for as_dir in $PATH
  6363. +do
  6364. + IFS=$as_save_IFS
  6365. + test -z "$as_dir" && as_dir=.
  6366. + for ac_exec_ext in '' $ac_executable_extensions; do
  6367. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6368. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  6369. + ac_prog_rejected=yes
  6370. + continue
  6371. + fi
  6372. + ac_cv_prog_CC="cc"
  6373. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6374. + break 2
  6375. + fi
  6376. +done
  6377. + done
  6378. +IFS=$as_save_IFS
  6379. +
  6380. +if test $ac_prog_rejected = yes; then
  6381. + # We found a bogon in the path, so make sure we never use it.
  6382. + set dummy $ac_cv_prog_CC
  6383. + shift
  6384. + if test $# != 0; then
  6385. + # We chose a different compiler from the bogus one.
  6386. + # However, it has the same basename, so the bogon will be chosen
  6387. + # first if we set CC to just the basename; use the full file name.
  6388. + shift
  6389. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  6390. + fi
  6391. +fi
  6392. +fi
  6393. +fi
  6394. +CC=$ac_cv_prog_CC
  6395. +if test -n "$CC"; then
  6396. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  6397. +$as_echo "$CC" >&6; }
  6398. +else
  6399. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6400. +$as_echo "no" >&6; }
  6401. +fi
  6402. +
  6403. +
  6404. +fi
  6405. +if test -z "$CC"; then
  6406. + if test -n "$ac_tool_prefix"; then
  6407. + for ac_prog in cl.exe
  6408. + do
  6409. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6410. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6411. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6412. +$as_echo_n "checking for $ac_word... " >&6; }
  6413. +if ${ac_cv_prog_CC+:} false; then :
  6414. + $as_echo_n "(cached) " >&6
  6415. +else
  6416. + if test -n "$CC"; then
  6417. + ac_cv_prog_CC="$CC" # Let the user override the test.
  6418. +else
  6419. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6420. +for as_dir in $PATH
  6421. +do
  6422. + IFS=$as_save_IFS
  6423. + test -z "$as_dir" && as_dir=.
  6424. + for ac_exec_ext in '' $ac_executable_extensions; do
  6425. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6426. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  6427. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6428. + break 2
  6429. + fi
  6430. +done
  6431. + done
  6432. +IFS=$as_save_IFS
  6433. +
  6434. +fi
  6435. +fi
  6436. +CC=$ac_cv_prog_CC
  6437. +if test -n "$CC"; then
  6438. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  6439. +$as_echo "$CC" >&6; }
  6440. +else
  6441. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6442. +$as_echo "no" >&6; }
  6443. +fi
  6444. +
  6445. +
  6446. + test -n "$CC" && break
  6447. + done
  6448. +fi
  6449. +if test -z "$CC"; then
  6450. + ac_ct_CC=$CC
  6451. + for ac_prog in cl.exe
  6452. +do
  6453. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  6454. +set dummy $ac_prog; ac_word=$2
  6455. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6456. +$as_echo_n "checking for $ac_word... " >&6; }
  6457. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  6458. + $as_echo_n "(cached) " >&6
  6459. +else
  6460. + if test -n "$ac_ct_CC"; then
  6461. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  6462. +else
  6463. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6464. +for as_dir in $PATH
  6465. +do
  6466. + IFS=$as_save_IFS
  6467. + test -z "$as_dir" && as_dir=.
  6468. + for ac_exec_ext in '' $ac_executable_extensions; do
  6469. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6470. + ac_cv_prog_ac_ct_CC="$ac_prog"
  6471. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6472. + break 2
  6473. + fi
  6474. +done
  6475. + done
  6476. +IFS=$as_save_IFS
  6477. +
  6478. +fi
  6479. +fi
  6480. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  6481. +if test -n "$ac_ct_CC"; then
  6482. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  6483. +$as_echo "$ac_ct_CC" >&6; }
  6484. +else
  6485. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6486. +$as_echo "no" >&6; }
  6487. +fi
  6488. +
  6489. +
  6490. + test -n "$ac_ct_CC" && break
  6491. +done
  6492. +
  6493. + if test "x$ac_ct_CC" = x; then
  6494. + CC=""
  6495. + else
  6496. + case $cross_compiling:$ac_tool_warned in
  6497. +yes:)
  6498. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6499. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6500. +ac_tool_warned=yes ;;
  6501. +esac
  6502. + CC=$ac_ct_CC
  6503. + fi
  6504. +fi
  6505. +
  6506. +fi
  6507. +
  6508. +
  6509. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6510. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6511. +as_fn_error $? "no acceptable C compiler found in \$PATH
  6512. +See \`config.log' for more details" "$LINENO" 5; }
  6513. +
  6514. +# Provide some information about the compiler.
  6515. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  6516. +set X $ac_compile
  6517. +ac_compiler=$2
  6518. +for ac_option in --version -v -V -qversion; do
  6519. + { { ac_try="$ac_compiler $ac_option >&5"
  6520. +case "(($ac_try" in
  6521. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6522. + *) ac_try_echo=$ac_try;;
  6523. +esac
  6524. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6525. +$as_echo "$ac_try_echo"; } >&5
  6526. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  6527. + ac_status=$?
  6528. + if test -s conftest.err; then
  6529. + sed '10a\
  6530. +... rest of stderr output deleted ...
  6531. + 10q' conftest.err >conftest.er1
  6532. + cat conftest.er1 >&5
  6533. + fi
  6534. + rm -f conftest.er1 conftest.err
  6535. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6536. + test $ac_status = 0; }
  6537. +done
  6538. +
  6539. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6540. +/* end confdefs.h. */
  6541. +
  6542. +int
  6543. +main ()
  6544. +{
  6545. +
  6546. + ;
  6547. + return 0;
  6548. +}
  6549. +_ACEOF
  6550. +ac_clean_files_save=$ac_clean_files
  6551. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  6552. +# Try to create an executable without -o first, disregard a.out.
  6553. +# It will help us diagnose broken compilers, and finding out an intuition
  6554. +# of exeext.
  6555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  6556. +$as_echo_n "checking whether the C compiler works... " >&6; }
  6557. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  6558. +
  6559. +# The possible output files:
  6560. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  6561. +
  6562. +ac_rmfiles=
  6563. +for ac_file in $ac_files
  6564. +do
  6565. + case $ac_file in
  6566. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  6567. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  6568. + esac
  6569. +done
  6570. +rm -f $ac_rmfiles
  6571. +
  6572. +if { { ac_try="$ac_link_default"
  6573. +case "(($ac_try" in
  6574. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6575. + *) ac_try_echo=$ac_try;;
  6576. +esac
  6577. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6578. +$as_echo "$ac_try_echo"; } >&5
  6579. + (eval "$ac_link_default") 2>&5
  6580. + ac_status=$?
  6581. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6582. + test $ac_status = 0; }; then :
  6583. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  6584. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  6585. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  6586. +# so that the user can short-circuit this test for compilers unknown to
  6587. +# Autoconf.
  6588. +for ac_file in $ac_files ''
  6589. +do
  6590. + test -f "$ac_file" || continue
  6591. + case $ac_file in
  6592. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  6593. + ;;
  6594. + [ab].out )
  6595. + # We found the default executable, but exeext='' is most
  6596. + # certainly right.
  6597. + break;;
  6598. + *.* )
  6599. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  6600. + then :; else
  6601. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  6602. + fi
  6603. + # We set ac_cv_exeext here because the later test for it is not
  6604. + # safe: cross compilers may not add the suffix if given an `-o'
  6605. + # argument, so we may need to know it at that point already.
  6606. + # Even if this section looks crufty: it has the advantage of
  6607. + # actually working.
  6608. + break;;
  6609. + * )
  6610. + break;;
  6611. + esac
  6612. +done
  6613. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  6614. +
  6615. +else
  6616. + ac_file=''
  6617. +fi
  6618. +if test -z "$ac_file"; then :
  6619. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6620. +$as_echo "no" >&6; }
  6621. +$as_echo "$as_me: failed program was:" >&5
  6622. +sed 's/^/| /' conftest.$ac_ext >&5
  6623. +
  6624. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6625. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6626. +as_fn_error 77 "C compiler cannot create executables
  6627. +See \`config.log' for more details" "$LINENO" 5; }
  6628. +else
  6629. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6630. +$as_echo "yes" >&6; }
  6631. +fi
  6632. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  6633. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  6634. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  6635. +$as_echo "$ac_file" >&6; }
  6636. +ac_exeext=$ac_cv_exeext
  6637. +
  6638. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  6639. +ac_clean_files=$ac_clean_files_save
  6640. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  6641. +$as_echo_n "checking for suffix of executables... " >&6; }
  6642. +if { { ac_try="$ac_link"
  6643. +case "(($ac_try" in
  6644. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6645. + *) ac_try_echo=$ac_try;;
  6646. +esac
  6647. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6648. +$as_echo "$ac_try_echo"; } >&5
  6649. + (eval "$ac_link") 2>&5
  6650. + ac_status=$?
  6651. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6652. + test $ac_status = 0; }; then :
  6653. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  6654. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  6655. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  6656. +# `rm'.
  6657. +for ac_file in conftest.exe conftest conftest.*; do
  6658. + test -f "$ac_file" || continue
  6659. + case $ac_file in
  6660. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  6661. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  6662. + break;;
  6663. + * ) break;;
  6664. + esac
  6665. +done
  6666. +else
  6667. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6668. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6669. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  6670. +See \`config.log' for more details" "$LINENO" 5; }
  6671. +fi
  6672. +rm -f conftest conftest$ac_cv_exeext
  6673. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  6674. +$as_echo "$ac_cv_exeext" >&6; }
  6675. +
  6676. +rm -f conftest.$ac_ext
  6677. +EXEEXT=$ac_cv_exeext
  6678. +ac_exeext=$EXEEXT
  6679. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6680. +/* end confdefs.h. */
  6681. +#include <stdio.h>
  6682. +int
  6683. +main ()
  6684. +{
  6685. +FILE *f = fopen ("conftest.out", "w");
  6686. + return ferror (f) || fclose (f) != 0;
  6687. +
  6688. + ;
  6689. + return 0;
  6690. +}
  6691. +_ACEOF
  6692. +ac_clean_files="$ac_clean_files conftest.out"
  6693. +# Check that the compiler produces executables we can run. If not, either
  6694. +# the compiler is broken, or we cross compile.
  6695. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  6696. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  6697. +if test "$cross_compiling" != yes; then
  6698. + { { ac_try="$ac_link"
  6699. +case "(($ac_try" in
  6700. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6701. + *) ac_try_echo=$ac_try;;
  6702. +esac
  6703. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6704. +$as_echo "$ac_try_echo"; } >&5
  6705. + (eval "$ac_link") 2>&5
  6706. + ac_status=$?
  6707. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6708. + test $ac_status = 0; }
  6709. + if { ac_try='./conftest$ac_cv_exeext'
  6710. + { { case "(($ac_try" in
  6711. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6712. + *) ac_try_echo=$ac_try;;
  6713. +esac
  6714. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6715. +$as_echo "$ac_try_echo"; } >&5
  6716. + (eval "$ac_try") 2>&5
  6717. + ac_status=$?
  6718. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6719. + test $ac_status = 0; }; }; then
  6720. + cross_compiling=no
  6721. + else
  6722. + if test "$cross_compiling" = maybe; then
  6723. + cross_compiling=yes
  6724. + else
  6725. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6726. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6727. +as_fn_error $? "cannot run C compiled programs.
  6728. +If you meant to cross compile, use \`--host'.
  6729. +See \`config.log' for more details" "$LINENO" 5; }
  6730. + fi
  6731. + fi
  6732. +fi
  6733. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  6734. +$as_echo "$cross_compiling" >&6; }
  6735. +
  6736. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  6737. +ac_clean_files=$ac_clean_files_save
  6738. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  6739. +$as_echo_n "checking for suffix of object files... " >&6; }
  6740. +if ${ac_cv_objext+:} false; then :
  6741. + $as_echo_n "(cached) " >&6
  6742. +else
  6743. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6744. +/* end confdefs.h. */
  6745. +
  6746. +int
  6747. +main ()
  6748. +{
  6749. +
  6750. + ;
  6751. + return 0;
  6752. +}
  6753. +_ACEOF
  6754. +rm -f conftest.o conftest.obj
  6755. +if { { ac_try="$ac_compile"
  6756. +case "(($ac_try" in
  6757. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6758. + *) ac_try_echo=$ac_try;;
  6759. +esac
  6760. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6761. +$as_echo "$ac_try_echo"; } >&5
  6762. + (eval "$ac_compile") 2>&5
  6763. + ac_status=$?
  6764. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6765. + test $ac_status = 0; }; then :
  6766. + for ac_file in conftest.o conftest.obj conftest.*; do
  6767. + test -f "$ac_file" || continue;
  6768. + case $ac_file in
  6769. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  6770. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  6771. + break;;
  6772. + esac
  6773. +done
  6774. +else
  6775. + $as_echo "$as_me: failed program was:" >&5
  6776. +sed 's/^/| /' conftest.$ac_ext >&5
  6777. +
  6778. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6779. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6780. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  6781. +See \`config.log' for more details" "$LINENO" 5; }
  6782. +fi
  6783. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  6784. +fi
  6785. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  6786. +$as_echo "$ac_cv_objext" >&6; }
  6787. +OBJEXT=$ac_cv_objext
  6788. +ac_objext=$OBJEXT
  6789. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  6790. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  6791. +if ${ac_cv_c_compiler_gnu+:} false; then :
  6792. + $as_echo_n "(cached) " >&6
  6793. +else
  6794. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6795. +/* end confdefs.h. */
  6796. +
  6797. +int
  6798. +main ()
  6799. +{
  6800. +#ifndef __GNUC__
  6801. + choke me
  6802. +#endif
  6803. +
  6804. + ;
  6805. + return 0;
  6806. +}
  6807. +_ACEOF
  6808. +if ac_fn_c_try_compile "$LINENO"; then :
  6809. + ac_compiler_gnu=yes
  6810. +else
  6811. + ac_compiler_gnu=no
  6812. +fi
  6813. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6814. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  6815. +
  6816. +fi
  6817. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  6818. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  6819. +if test $ac_compiler_gnu = yes; then
  6820. + GCC=yes
  6821. +else
  6822. + GCC=
  6823. +fi
  6824. +ac_test_CFLAGS=${CFLAGS+set}
  6825. +ac_save_CFLAGS=$CFLAGS
  6826. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  6827. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  6828. +if ${ac_cv_prog_cc_g+:} false; then :
  6829. + $as_echo_n "(cached) " >&6
  6830. +else
  6831. + ac_save_c_werror_flag=$ac_c_werror_flag
  6832. + ac_c_werror_flag=yes
  6833. + ac_cv_prog_cc_g=no
  6834. + CFLAGS="-g"
  6835. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6836. +/* end confdefs.h. */
  6837. +
  6838. +int
  6839. +main ()
  6840. +{
  6841. +
  6842. + ;
  6843. + return 0;
  6844. +}
  6845. +_ACEOF
  6846. +if ac_fn_c_try_compile "$LINENO"; then :
  6847. + ac_cv_prog_cc_g=yes
  6848. +else
  6849. + CFLAGS=""
  6850. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6851. +/* end confdefs.h. */
  6852. +
  6853. +int
  6854. +main ()
  6855. +{
  6856. +
  6857. + ;
  6858. + return 0;
  6859. +}
  6860. +_ACEOF
  6861. +if ac_fn_c_try_compile "$LINENO"; then :
  6862. +
  6863. +else
  6864. + ac_c_werror_flag=$ac_save_c_werror_flag
  6865. + CFLAGS="-g"
  6866. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6867. +/* end confdefs.h. */
  6868. +
  6869. +int
  6870. +main ()
  6871. +{
  6872. +
  6873. + ;
  6874. + return 0;
  6875. +}
  6876. +_ACEOF
  6877. +if ac_fn_c_try_compile "$LINENO"; then :
  6878. + ac_cv_prog_cc_g=yes
  6879. +fi
  6880. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6881. +fi
  6882. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6883. +fi
  6884. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6885. + ac_c_werror_flag=$ac_save_c_werror_flag
  6886. +fi
  6887. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  6888. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  6889. +if test "$ac_test_CFLAGS" = set; then
  6890. + CFLAGS=$ac_save_CFLAGS
  6891. +elif test $ac_cv_prog_cc_g = yes; then
  6892. + if test "$GCC" = yes; then
  6893. + CFLAGS="-g -O2"
  6894. + else
  6895. + CFLAGS="-g"
  6896. + fi
  6897. +else
  6898. + if test "$GCC" = yes; then
  6899. + CFLAGS="-O2"
  6900. + else
  6901. + CFLAGS=
  6902. + fi
  6903. +fi
  6904. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  6905. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  6906. +if ${ac_cv_prog_cc_c89+:} false; then :
  6907. + $as_echo_n "(cached) " >&6
  6908. +else
  6909. + ac_cv_prog_cc_c89=no
  6910. +ac_save_CC=$CC
  6911. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6912. +/* end confdefs.h. */
  6913. +#include <stdarg.h>
  6914. +#include <stdio.h>
  6915. +#include <sys/types.h>
  6916. +#include <sys/stat.h>
  6917. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  6918. +struct buf { int x; };
  6919. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6920. +static char *e (p, i)
  6921. + char **p;
  6922. + int i;
  6923. +{
  6924. + return p[i];
  6925. +}
  6926. +static char *f (char * (*g) (char **, int), char **p, ...)
  6927. +{
  6928. + char *s;
  6929. + va_list v;
  6930. + va_start (v,p);
  6931. + s = g (p, va_arg (v,int));
  6932. + va_end (v);
  6933. + return s;
  6934. +}
  6935. +
  6936. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  6937. + function prototypes and stuff, but not '\xHH' hex character constants.
  6938. + These don't provoke an error unfortunately, instead are silently treated
  6939. + as 'x'. The following induces an error, until -std is added to get
  6940. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  6941. + array size at least. It's necessary to write '\x00'==0 to get something
  6942. + that's true only with -std. */
  6943. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6944. +
  6945. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6946. + inside strings and character constants. */
  6947. +#define FOO(x) 'x'
  6948. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6949. +
  6950. +int test (int i, double x);
  6951. +struct s1 {int (*f) (int a);};
  6952. +struct s2 {int (*f) (double a);};
  6953. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6954. +int argc;
  6955. +char **argv;
  6956. +int
  6957. +main ()
  6958. +{
  6959. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  6960. + ;
  6961. + return 0;
  6962. +}
  6963. +_ACEOF
  6964. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6965. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6966. +do
  6967. + CC="$ac_save_CC $ac_arg"
  6968. + if ac_fn_c_try_compile "$LINENO"; then :
  6969. + ac_cv_prog_cc_c89=$ac_arg
  6970. +fi
  6971. +rm -f core conftest.err conftest.$ac_objext
  6972. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  6973. +done
  6974. +rm -f conftest.$ac_ext
  6975. +CC=$ac_save_CC
  6976. +
  6977. +fi
  6978. +# AC_CACHE_VAL
  6979. +case "x$ac_cv_prog_cc_c89" in
  6980. + x)
  6981. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  6982. +$as_echo "none needed" >&6; } ;;
  6983. + xno)
  6984. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  6985. +$as_echo "unsupported" >&6; } ;;
  6986. + *)
  6987. + CC="$CC $ac_cv_prog_cc_c89"
  6988. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  6989. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  6990. +esac
  6991. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  6992. +
  6993. +fi
  6994. +
  6995. +ac_ext=c
  6996. +ac_cpp='$CPP $CPPFLAGS'
  6997. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6998. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6999. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7000. +
  7001. +depcc="$CC" am_compiler_list=
  7002. +
  7003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  7004. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  7005. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  7006. + $as_echo_n "(cached) " >&6
  7007. +else
  7008. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  7009. + # We make a subdir and do the tests there. Otherwise we can end up
  7010. + # making bogus files that we don't know about and never remove. For
  7011. + # instance it was reported that on HP-UX the gcc test will end up
  7012. + # making a dummy file named `D' -- because `-MD' means `put the output
  7013. + # in D'.
  7014. + rm -rf conftest.dir
  7015. + mkdir conftest.dir
  7016. + # Copy depcomp to subdir because otherwise we won't find it if we're
  7017. + # using a relative directory.
  7018. + cp "$am_depcomp" conftest.dir
  7019. + cd conftest.dir
  7020. + # We will build objects and dependencies in a subdirectory because
  7021. + # it helps to detect inapplicable dependency modes. For instance
  7022. + # both Tru64's cc and ICC support -MD to output dependencies as a
  7023. + # side effect of compilation, but ICC will put the dependencies in
  7024. + # the current directory while Tru64 will put them in the object
  7025. + # directory.
  7026. + mkdir sub
  7027. +
  7028. + am_cv_CC_dependencies_compiler_type=none
  7029. + if test "$am_compiler_list" = ""; then
  7030. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  7031. + fi
  7032. + am__universal=false
  7033. + case " $depcc " in #(
  7034. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  7035. + esac
  7036. +
  7037. + for depmode in $am_compiler_list; do
  7038. + # Setup a source with many dependencies, because some compilers
  7039. + # like to wrap large dependency lists on column 80 (with \), and
  7040. + # we should not choose a depcomp mode which is confused by this.
  7041. + #
  7042. + # We need to recreate these files for each test, as the compiler may
  7043. + # overwrite some of them when testing with obscure command lines.
  7044. + # This happens at least with the AIX C compiler.
  7045. + : > sub/conftest.c
  7046. + for i in 1 2 3 4 5 6; do
  7047. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  7048. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  7049. + # Solaris 8's {/usr,}/bin/sh.
  7050. + touch sub/conftst$i.h
  7051. + done
  7052. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  7053. +
  7054. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  7055. + # mode. It turns out that the SunPro C++ compiler does not properly
  7056. + # handle `-M -o', and we need to detect this. Also, some Intel
  7057. + # versions had trouble with output in subdirs
  7058. + am__obj=sub/conftest.${OBJEXT-o}
  7059. + am__minus_obj="-o $am__obj"
  7060. + case $depmode in
  7061. + gcc)
  7062. + # This depmode causes a compiler race in universal mode.
  7063. + test "$am__universal" = false || continue
  7064. + ;;
  7065. + nosideeffect)
  7066. + # after this tag, mechanisms are not by side-effect, so they'll
  7067. + # only be used when explicitly requested
  7068. + if test "x$enable_dependency_tracking" = xyes; then
  7069. + continue
  7070. + else
  7071. + break
  7072. + fi
  7073. + ;;
  7074. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  7075. + # This compiler won't grok `-c -o', but also, the minuso test has
  7076. + # not run yet. These depmodes are late enough in the game, and
  7077. + # so weak that their functioning should not be impacted.
  7078. + am__obj=conftest.${OBJEXT-o}
  7079. + am__minus_obj=
  7080. + ;;
  7081. + none) break ;;
  7082. + esac
  7083. + if depmode=$depmode \
  7084. + source=sub/conftest.c object=$am__obj \
  7085. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  7086. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  7087. + >/dev/null 2>conftest.err &&
  7088. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  7089. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  7090. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  7091. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  7092. + # icc doesn't choke on unknown options, it will just issue warnings
  7093. + # or remarks (even with -Werror). So we grep stderr for any message
  7094. + # that says an option was ignored or not supported.
  7095. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  7096. + # icc: Command line warning: ignoring option '-M'; no argument required
  7097. + # The diagnosis changed in icc 8.0:
  7098. + # icc: Command line remark: option '-MP' not supported
  7099. + if (grep 'ignoring option' conftest.err ||
  7100. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  7101. + am_cv_CC_dependencies_compiler_type=$depmode
  7102. + break
  7103. + fi
  7104. + fi
  7105. + done
  7106. +
  7107. + cd ..
  7108. + rm -rf conftest.dir
  7109. +else
  7110. + am_cv_CC_dependencies_compiler_type=none
  7111. +fi
  7112. +
  7113. +fi
  7114. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  7115. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  7116. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  7117. +
  7118. + if
  7119. + test "x$enable_dependency_tracking" != xno \
  7120. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  7121. + am__fastdepCC_TRUE=
  7122. + am__fastdepCC_FALSE='#'
  7123. +else
  7124. + am__fastdepCC_TRUE='#'
  7125. + am__fastdepCC_FALSE=
  7126. +fi
  7127. +
  7128. +
  7129. +
  7130. +ac_ext=c
  7131. +ac_cpp='$CPP $CPPFLAGS'
  7132. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7133. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7134. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7135. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  7136. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  7137. +# On Suns, sometimes $CPP names a directory.
  7138. +if test -n "$CPP" && test -d "$CPP"; then
  7139. + CPP=
  7140. +fi
  7141. +if test -z "$CPP"; then
  7142. + if ${ac_cv_prog_CPP+:} false; then :
  7143. + $as_echo_n "(cached) " >&6
  7144. +else
  7145. + # Double quotes because CPP needs to be expanded
  7146. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  7147. + do
  7148. + ac_preproc_ok=false
  7149. +for ac_c_preproc_warn_flag in '' yes
  7150. +do
  7151. + # Use a header file that comes with gcc, so configuring glibc
  7152. + # with a fresh cross-compiler works.
  7153. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7154. + # <limits.h> exists even on freestanding compilers.
  7155. + # On the NeXT, cc -E runs the code through the compiler's parser,
  7156. + # not just through cpp. "Syntax error" is here to catch this case.
  7157. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7158. +/* end confdefs.h. */
  7159. +#ifdef __STDC__
  7160. +# include <limits.h>
  7161. +#else
  7162. +# include <assert.h>
  7163. +#endif
  7164. + Syntax error
  7165. +_ACEOF
  7166. +if ac_fn_c_try_cpp "$LINENO"; then :
  7167. +
  7168. +else
  7169. + # Broken: fails on valid input.
  7170. +continue
  7171. +fi
  7172. +rm -f conftest.err conftest.i conftest.$ac_ext
  7173. +
  7174. + # OK, works on sane cases. Now check whether nonexistent headers
  7175. + # can be detected and how.
  7176. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7177. +/* end confdefs.h. */
  7178. +#include <ac_nonexistent.h>
  7179. +_ACEOF
  7180. +if ac_fn_c_try_cpp "$LINENO"; then :
  7181. + # Broken: success on invalid input.
  7182. +continue
  7183. +else
  7184. + # Passes both tests.
  7185. +ac_preproc_ok=:
  7186. +break
  7187. +fi
  7188. +rm -f conftest.err conftest.i conftest.$ac_ext
  7189. +
  7190. +done
  7191. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7192. +rm -f conftest.i conftest.err conftest.$ac_ext
  7193. +if $ac_preproc_ok; then :
  7194. + break
  7195. +fi
  7196. +
  7197. + done
  7198. + ac_cv_prog_CPP=$CPP
  7199. +
  7200. +fi
  7201. + CPP=$ac_cv_prog_CPP
  7202. +else
  7203. + ac_cv_prog_CPP=$CPP
  7204. +fi
  7205. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  7206. +$as_echo "$CPP" >&6; }
  7207. +ac_preproc_ok=false
  7208. +for ac_c_preproc_warn_flag in '' yes
  7209. +do
  7210. + # Use a header file that comes with gcc, so configuring glibc
  7211. + # with a fresh cross-compiler works.
  7212. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7213. + # <limits.h> exists even on freestanding compilers.
  7214. + # On the NeXT, cc -E runs the code through the compiler's parser,
  7215. + # not just through cpp. "Syntax error" is here to catch this case.
  7216. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7217. +/* end confdefs.h. */
  7218. +#ifdef __STDC__
  7219. +# include <limits.h>
  7220. +#else
  7221. +# include <assert.h>
  7222. +#endif
  7223. + Syntax error
  7224. +_ACEOF
  7225. +if ac_fn_c_try_cpp "$LINENO"; then :
  7226. +
  7227. +else
  7228. + # Broken: fails on valid input.
  7229. +continue
  7230. +fi
  7231. +rm -f conftest.err conftest.i conftest.$ac_ext
  7232. +
  7233. + # OK, works on sane cases. Now check whether nonexistent headers
  7234. + # can be detected and how.
  7235. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7236. +/* end confdefs.h. */
  7237. +#include <ac_nonexistent.h>
  7238. +_ACEOF
  7239. +if ac_fn_c_try_cpp "$LINENO"; then :
  7240. + # Broken: success on invalid input.
  7241. +continue
  7242. +else
  7243. + # Passes both tests.
  7244. +ac_preproc_ok=:
  7245. +break
  7246. +fi
  7247. +rm -f conftest.err conftest.i conftest.$ac_ext
  7248. +
  7249. +done
  7250. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7251. +rm -f conftest.i conftest.err conftest.$ac_ext
  7252. +if $ac_preproc_ok; then :
  7253. +
  7254. +else
  7255. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7256. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7257. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  7258. +See \`config.log' for more details" "$LINENO" 5; }
  7259. +fi
  7260. +
  7261. +ac_ext=c
  7262. +ac_cpp='$CPP $CPPFLAGS'
  7263. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7264. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7265. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7266. +
  7267. +
  7268. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  7269. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  7270. +if ${ac_cv_path_GREP+:} false; then :
  7271. + $as_echo_n "(cached) " >&6
  7272. +else
  7273. + if test -z "$GREP"; then
  7274. + ac_path_GREP_found=false
  7275. + # Loop through the user's path and test for each of PROGNAME-LIST
  7276. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7277. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7278. +do
  7279. + IFS=$as_save_IFS
  7280. + test -z "$as_dir" && as_dir=.
  7281. + for ac_prog in grep ggrep; do
  7282. + for ac_exec_ext in '' $ac_executable_extensions; do
  7283. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  7284. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  7285. +# Check for GNU ac_path_GREP and select it if it is found.
  7286. + # Check for GNU $ac_path_GREP
  7287. +case `"$ac_path_GREP" --version 2>&1` in
  7288. +*GNU*)
  7289. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  7290. +*)
  7291. + ac_count=0
  7292. + $as_echo_n 0123456789 >"conftest.in"
  7293. + while :
  7294. + do
  7295. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  7296. + mv "conftest.tmp" "conftest.in"
  7297. + cp "conftest.in" "conftest.nl"
  7298. + $as_echo 'GREP' >> "conftest.nl"
  7299. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7300. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7301. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  7302. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  7303. + # Best one so far, save it but keep looking for a better one
  7304. + ac_cv_path_GREP="$ac_path_GREP"
  7305. + ac_path_GREP_max=$ac_count
  7306. + fi
  7307. + # 10*(2^10) chars as input seems more than enough
  7308. + test $ac_count -gt 10 && break
  7309. + done
  7310. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7311. +esac
  7312. +
  7313. + $ac_path_GREP_found && break 3
  7314. + done
  7315. + done
  7316. + done
  7317. +IFS=$as_save_IFS
  7318. + if test -z "$ac_cv_path_GREP"; then
  7319. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  7320. + fi
  7321. +else
  7322. + ac_cv_path_GREP=$GREP
  7323. +fi
  7324. +
  7325. +fi
  7326. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  7327. +$as_echo "$ac_cv_path_GREP" >&6; }
  7328. + GREP="$ac_cv_path_GREP"
  7329. +
  7330. +
  7331. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  7332. +$as_echo_n "checking for egrep... " >&6; }
  7333. +if ${ac_cv_path_EGREP+:} false; then :
  7334. + $as_echo_n "(cached) " >&6
  7335. +else
  7336. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  7337. + then ac_cv_path_EGREP="$GREP -E"
  7338. + else
  7339. + if test -z "$EGREP"; then
  7340. + ac_path_EGREP_found=false
  7341. + # Loop through the user's path and test for each of PROGNAME-LIST
  7342. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7343. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7344. +do
  7345. + IFS=$as_save_IFS
  7346. + test -z "$as_dir" && as_dir=.
  7347. + for ac_prog in egrep; do
  7348. + for ac_exec_ext in '' $ac_executable_extensions; do
  7349. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  7350. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  7351. +# Check for GNU ac_path_EGREP and select it if it is found.
  7352. + # Check for GNU $ac_path_EGREP
  7353. +case `"$ac_path_EGREP" --version 2>&1` in
  7354. +*GNU*)
  7355. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  7356. +*)
  7357. + ac_count=0
  7358. + $as_echo_n 0123456789 >"conftest.in"
  7359. + while :
  7360. + do
  7361. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  7362. + mv "conftest.tmp" "conftest.in"
  7363. + cp "conftest.in" "conftest.nl"
  7364. + $as_echo 'EGREP' >> "conftest.nl"
  7365. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7366. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7367. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  7368. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  7369. + # Best one so far, save it but keep looking for a better one
  7370. + ac_cv_path_EGREP="$ac_path_EGREP"
  7371. + ac_path_EGREP_max=$ac_count
  7372. + fi
  7373. + # 10*(2^10) chars as input seems more than enough
  7374. + test $ac_count -gt 10 && break
  7375. + done
  7376. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7377. +esac
  7378. +
  7379. + $ac_path_EGREP_found && break 3
  7380. + done
  7381. + done
  7382. + done
  7383. +IFS=$as_save_IFS
  7384. + if test -z "$ac_cv_path_EGREP"; then
  7385. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  7386. + fi
  7387. +else
  7388. + ac_cv_path_EGREP=$EGREP
  7389. +fi
  7390. +
  7391. + fi
  7392. +fi
  7393. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  7394. +$as_echo "$ac_cv_path_EGREP" >&6; }
  7395. + EGREP="$ac_cv_path_EGREP"
  7396. +
  7397. +
  7398. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  7399. +$as_echo_n "checking for ANSI C header files... " >&6; }
  7400. +if ${ac_cv_header_stdc+:} false; then :
  7401. + $as_echo_n "(cached) " >&6
  7402. +else
  7403. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7404. +/* end confdefs.h. */
  7405. +#include <stdlib.h>
  7406. +#include <stdarg.h>
  7407. +#include <string.h>
  7408. +#include <float.h>
  7409. +
  7410. +int
  7411. +main ()
  7412. +{
  7413. +
  7414. + ;
  7415. + return 0;
  7416. +}
  7417. +_ACEOF
  7418. +if ac_fn_c_try_compile "$LINENO"; then :
  7419. + ac_cv_header_stdc=yes
  7420. +else
  7421. + ac_cv_header_stdc=no
  7422. +fi
  7423. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7424. +
  7425. +if test $ac_cv_header_stdc = yes; then
  7426. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7427. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7428. +/* end confdefs.h. */
  7429. +#include <string.h>
  7430. +
  7431. +_ACEOF
  7432. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7433. + $EGREP "memchr" >/dev/null 2>&1; then :
  7434. +
  7435. +else
  7436. + ac_cv_header_stdc=no
  7437. +fi
  7438. +rm -f conftest*
  7439. +
  7440. +fi
  7441. +
  7442. +if test $ac_cv_header_stdc = yes; then
  7443. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7444. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7445. +/* end confdefs.h. */
  7446. +#include <stdlib.h>
  7447. +
  7448. +_ACEOF
  7449. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7450. + $EGREP "free" >/dev/null 2>&1; then :
  7451. +
  7452. +else
  7453. + ac_cv_header_stdc=no
  7454. +fi
  7455. +rm -f conftest*
  7456. +
  7457. +fi
  7458. +
  7459. +if test $ac_cv_header_stdc = yes; then
  7460. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7461. + if test "$cross_compiling" = yes; then :
  7462. + :
  7463. +else
  7464. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7465. +/* end confdefs.h. */
  7466. +#include <ctype.h>
  7467. +#include <stdlib.h>
  7468. +#if ((' ' & 0x0FF) == 0x020)
  7469. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7470. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7471. +#else
  7472. +# define ISLOWER(c) \
  7473. + (('a' <= (c) && (c) <= 'i') \
  7474. + || ('j' <= (c) && (c) <= 'r') \
  7475. + || ('s' <= (c) && (c) <= 'z'))
  7476. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7477. +#endif
  7478. +
  7479. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7480. +int
  7481. +main ()
  7482. +{
  7483. + int i;
  7484. + for (i = 0; i < 256; i++)
  7485. + if (XOR (islower (i), ISLOWER (i))
  7486. + || toupper (i) != TOUPPER (i))
  7487. + return 2;
  7488. + return 0;
  7489. +}
  7490. +_ACEOF
  7491. +if ac_fn_c_try_run "$LINENO"; then :
  7492. +
  7493. +else
  7494. + ac_cv_header_stdc=no
  7495. +fi
  7496. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7497. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  7498. +fi
  7499. +
  7500. +fi
  7501. +fi
  7502. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  7503. +$as_echo "$ac_cv_header_stdc" >&6; }
  7504. +if test $ac_cv_header_stdc = yes; then
  7505. +
  7506. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  7507. +
  7508. +fi
  7509. +
  7510. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7511. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7512. + inttypes.h stdint.h unistd.h
  7513. +do :
  7514. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7515. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  7516. +"
  7517. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7518. + cat >>confdefs.h <<_ACEOF
  7519. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7520. +_ACEOF
  7521. +
  7522. +fi
  7523. +
  7524. +done
  7525. +
  7526. +
  7527. +
  7528. +
  7529. +
  7530. + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  7531. +if test "x$ac_cv_header_minix_config_h" = xyes; then :
  7532. + MINIX=yes
  7533. +else
  7534. + MINIX=
  7535. +fi
  7536. +
  7537. +
  7538. + if test "$MINIX" = yes; then
  7539. +
  7540. +$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
  7541. +
  7542. +
  7543. +$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
  7544. +
  7545. +
  7546. +$as_echo "#define _MINIX 1" >>confdefs.h
  7547. +
  7548. + fi
  7549. +
  7550. + case "$host_os" in
  7551. + hpux*)
  7552. +
  7553. +$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
  7554. +
  7555. + ;;
  7556. + esac
  7557. +
  7558. +
  7559. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  7560. +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  7561. +if ${ac_cv_safe_to_define___extensions__+:} false; then :
  7562. + $as_echo_n "(cached) " >&6
  7563. +else
  7564. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7565. +/* end confdefs.h. */
  7566. +
  7567. +# define __EXTENSIONS__ 1
  7568. + $ac_includes_default
  7569. +int
  7570. +main ()
  7571. +{
  7572. +
  7573. + ;
  7574. + return 0;
  7575. +}
  7576. +_ACEOF
  7577. +if ac_fn_c_try_compile "$LINENO"; then :
  7578. + ac_cv_safe_to_define___extensions__=yes
  7579. +else
  7580. + ac_cv_safe_to_define___extensions__=no
  7581. +fi
  7582. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7583. +fi
  7584. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  7585. +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  7586. + test $ac_cv_safe_to_define___extensions__ = yes &&
  7587. + $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
  7588. +
  7589. + $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
  7590. +
  7591. + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  7592. +
  7593. + $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  7594. +
  7595. + $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
  7596. +
  7597. +
  7598. +
  7599. +
  7600. +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  7601. +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  7602. +
  7603. +
  7604. +
  7605. +cat >>confdefs.h <<_ACEOF
  7606. +#define CGMINER_MAJOR_VERSION 2
  7607. +_ACEOF
  7608. +
  7609. +
  7610. +cat >>confdefs.h <<_ACEOF
  7611. +#define CGMINER_MINOR_VERSION 4
  7612. +_ACEOF
  7613. +
  7614. +
  7615. +cat >>confdefs.h <<_ACEOF
  7616. +#define CGMINER_MINOR_SUBVERSION 1
  7617. +_ACEOF
  7618. +
  7619. +version_info="6:1:4"
  7620. +release_info=""
  7621. +
  7622. +
  7623. +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  7624. +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
  7625. +VMAJ=2
  7626. +
  7627. +
  7628. +
  7629. +
  7630. +
  7631. +
  7632. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  7633. +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  7634. + # Check whether --enable-maintainer-mode was given.
  7635. +if test "${enable_maintainer_mode+set}" = set; then :
  7636. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  7637. +else
  7638. + USE_MAINTAINER_MODE=no
  7639. +fi
  7640. +
  7641. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  7642. +$as_echo "$USE_MAINTAINER_MODE" >&6; }
  7643. + if test $USE_MAINTAINER_MODE = yes; then
  7644. + MAINTAINER_MODE_TRUE=
  7645. + MAINTAINER_MODE_FALSE='#'
  7646. +else
  7647. + MAINTAINER_MODE_TRUE='#'
  7648. + MAINTAINER_MODE_FALSE=
  7649. +fi
  7650. +
  7651. + MAINT=$MAINTAINER_MODE_TRUE
  7652. +
  7653. +
  7654. +
  7655. +ac_ext=c
  7656. +ac_cpp='$CPP $CPPFLAGS'
  7657. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7658. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7659. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7660. +if test -n "$ac_tool_prefix"; then
  7661. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  7662. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  7663. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7664. +$as_echo_n "checking for $ac_word... " >&6; }
  7665. +if ${ac_cv_prog_CC+:} false; then :
  7666. + $as_echo_n "(cached) " >&6
  7667. +else
  7668. + if test -n "$CC"; then
  7669. + ac_cv_prog_CC="$CC" # Let the user override the test.
  7670. +else
  7671. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7672. +for as_dir in $PATH
  7673. +do
  7674. + IFS=$as_save_IFS
  7675. + test -z "$as_dir" && as_dir=.
  7676. + for ac_exec_ext in '' $ac_executable_extensions; do
  7677. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7678. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  7679. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7680. + break 2
  7681. + fi
  7682. +done
  7683. + done
  7684. +IFS=$as_save_IFS
  7685. +
  7686. +fi
  7687. +fi
  7688. +CC=$ac_cv_prog_CC
  7689. +if test -n "$CC"; then
  7690. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7691. +$as_echo "$CC" >&6; }
  7692. +else
  7693. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7694. +$as_echo "no" >&6; }
  7695. +fi
  7696. +
  7697. +
  7698. +fi
  7699. +if test -z "$ac_cv_prog_CC"; then
  7700. + ac_ct_CC=$CC
  7701. + # Extract the first word of "gcc", so it can be a program name with args.
  7702. +set dummy gcc; ac_word=$2
  7703. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7704. +$as_echo_n "checking for $ac_word... " >&6; }
  7705. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  7706. + $as_echo_n "(cached) " >&6
  7707. +else
  7708. + if test -n "$ac_ct_CC"; then
  7709. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  7710. +else
  7711. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7712. +for as_dir in $PATH
  7713. +do
  7714. + IFS=$as_save_IFS
  7715. + test -z "$as_dir" && as_dir=.
  7716. + for ac_exec_ext in '' $ac_executable_extensions; do
  7717. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7718. + ac_cv_prog_ac_ct_CC="gcc"
  7719. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7720. + break 2
  7721. + fi
  7722. +done
  7723. + done
  7724. +IFS=$as_save_IFS
  7725. +
  7726. +fi
  7727. +fi
  7728. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  7729. +if test -n "$ac_ct_CC"; then
  7730. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  7731. +$as_echo "$ac_ct_CC" >&6; }
  7732. +else
  7733. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7734. +$as_echo "no" >&6; }
  7735. +fi
  7736. +
  7737. + if test "x$ac_ct_CC" = x; then
  7738. + CC=""
  7739. + else
  7740. + case $cross_compiling:$ac_tool_warned in
  7741. +yes:)
  7742. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7743. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7744. +ac_tool_warned=yes ;;
  7745. +esac
  7746. + CC=$ac_ct_CC
  7747. + fi
  7748. +else
  7749. + CC="$ac_cv_prog_CC"
  7750. +fi
  7751. +
  7752. +if test -z "$CC"; then
  7753. + if test -n "$ac_tool_prefix"; then
  7754. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  7755. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  7756. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7757. +$as_echo_n "checking for $ac_word... " >&6; }
  7758. +if ${ac_cv_prog_CC+:} false; then :
  7759. + $as_echo_n "(cached) " >&6
  7760. +else
  7761. + if test -n "$CC"; then
  7762. + ac_cv_prog_CC="$CC" # Let the user override the test.
  7763. +else
  7764. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7765. +for as_dir in $PATH
  7766. +do
  7767. + IFS=$as_save_IFS
  7768. + test -z "$as_dir" && as_dir=.
  7769. + for ac_exec_ext in '' $ac_executable_extensions; do
  7770. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7771. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  7772. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7773. + break 2
  7774. + fi
  7775. +done
  7776. + done
  7777. +IFS=$as_save_IFS
  7778. +
  7779. +fi
  7780. +fi
  7781. +CC=$ac_cv_prog_CC
  7782. +if test -n "$CC"; then
  7783. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7784. +$as_echo "$CC" >&6; }
  7785. +else
  7786. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7787. +$as_echo "no" >&6; }
  7788. +fi
  7789. +
  7790. +
  7791. + fi
  7792. +fi
  7793. +if test -z "$CC"; then
  7794. + # Extract the first word of "cc", so it can be a program name with args.
  7795. +set dummy cc; ac_word=$2
  7796. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7797. +$as_echo_n "checking for $ac_word... " >&6; }
  7798. +if ${ac_cv_prog_CC+:} false; then :
  7799. + $as_echo_n "(cached) " >&6
  7800. +else
  7801. + if test -n "$CC"; then
  7802. + ac_cv_prog_CC="$CC" # Let the user override the test.
  7803. +else
  7804. + ac_prog_rejected=no
  7805. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7806. +for as_dir in $PATH
  7807. +do
  7808. + IFS=$as_save_IFS
  7809. + test -z "$as_dir" && as_dir=.
  7810. + for ac_exec_ext in '' $ac_executable_extensions; do
  7811. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7812. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  7813. + ac_prog_rejected=yes
  7814. + continue
  7815. + fi
  7816. + ac_cv_prog_CC="cc"
  7817. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7818. + break 2
  7819. + fi
  7820. +done
  7821. + done
  7822. +IFS=$as_save_IFS
  7823. +
  7824. +if test $ac_prog_rejected = yes; then
  7825. + # We found a bogon in the path, so make sure we never use it.
  7826. + set dummy $ac_cv_prog_CC
  7827. + shift
  7828. + if test $# != 0; then
  7829. + # We chose a different compiler from the bogus one.
  7830. + # However, it has the same basename, so the bogon will be chosen
  7831. + # first if we set CC to just the basename; use the full file name.
  7832. + shift
  7833. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  7834. + fi
  7835. +fi
  7836. +fi
  7837. +fi
  7838. +CC=$ac_cv_prog_CC
  7839. +if test -n "$CC"; then
  7840. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7841. +$as_echo "$CC" >&6; }
  7842. +else
  7843. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7844. +$as_echo "no" >&6; }
  7845. +fi
  7846. +
  7847. +
  7848. +fi
  7849. +if test -z "$CC"; then
  7850. + if test -n "$ac_tool_prefix"; then
  7851. + for ac_prog in cl.exe
  7852. + do
  7853. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7854. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7855. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7856. +$as_echo_n "checking for $ac_word... " >&6; }
  7857. +if ${ac_cv_prog_CC+:} false; then :
  7858. + $as_echo_n "(cached) " >&6
  7859. +else
  7860. + if test -n "$CC"; then
  7861. + ac_cv_prog_CC="$CC" # Let the user override the test.
  7862. +else
  7863. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7864. +for as_dir in $PATH
  7865. +do
  7866. + IFS=$as_save_IFS
  7867. + test -z "$as_dir" && as_dir=.
  7868. + for ac_exec_ext in '' $ac_executable_extensions; do
  7869. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7870. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  7871. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7872. + break 2
  7873. + fi
  7874. +done
  7875. + done
  7876. +IFS=$as_save_IFS
  7877. +
  7878. +fi
  7879. +fi
  7880. +CC=$ac_cv_prog_CC
  7881. +if test -n "$CC"; then
  7882. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7883. +$as_echo "$CC" >&6; }
  7884. +else
  7885. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7886. +$as_echo "no" >&6; }
  7887. +fi
  7888. +
  7889. +
  7890. + test -n "$CC" && break
  7891. + done
  7892. +fi
  7893. +if test -z "$CC"; then
  7894. + ac_ct_CC=$CC
  7895. + for ac_prog in cl.exe
  7896. +do
  7897. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  7898. +set dummy $ac_prog; ac_word=$2
  7899. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7900. +$as_echo_n "checking for $ac_word... " >&6; }
  7901. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  7902. + $as_echo_n "(cached) " >&6
  7903. +else
  7904. + if test -n "$ac_ct_CC"; then
  7905. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  7906. +else
  7907. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7908. +for as_dir in $PATH
  7909. +do
  7910. + IFS=$as_save_IFS
  7911. + test -z "$as_dir" && as_dir=.
  7912. + for ac_exec_ext in '' $ac_executable_extensions; do
  7913. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7914. + ac_cv_prog_ac_ct_CC="$ac_prog"
  7915. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7916. + break 2
  7917. + fi
  7918. +done
  7919. + done
  7920. +IFS=$as_save_IFS
  7921. +
  7922. +fi
  7923. +fi
  7924. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  7925. +if test -n "$ac_ct_CC"; then
  7926. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  7927. +$as_echo "$ac_ct_CC" >&6; }
  7928. +else
  7929. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7930. +$as_echo "no" >&6; }
  7931. +fi
  7932. +
  7933. +
  7934. + test -n "$ac_ct_CC" && break
  7935. +done
  7936. +
  7937. + if test "x$ac_ct_CC" = x; then
  7938. + CC=""
  7939. + else
  7940. + case $cross_compiling:$ac_tool_warned in
  7941. +yes:)
  7942. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7943. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7944. +ac_tool_warned=yes ;;
  7945. +esac
  7946. + CC=$ac_ct_CC
  7947. + fi
  7948. +fi
  7949. +
  7950. +fi
  7951. +
  7952. +
  7953. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7954. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7955. +as_fn_error $? "no acceptable C compiler found in \$PATH
  7956. +See \`config.log' for more details" "$LINENO" 5; }
  7957. +
  7958. +# Provide some information about the compiler.
  7959. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  7960. +set X $ac_compile
  7961. +ac_compiler=$2
  7962. +for ac_option in --version -v -V -qversion; do
  7963. + { { ac_try="$ac_compiler $ac_option >&5"
  7964. +case "(($ac_try" in
  7965. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7966. + *) ac_try_echo=$ac_try;;
  7967. +esac
  7968. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7969. +$as_echo "$ac_try_echo"; } >&5
  7970. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  7971. + ac_status=$?
  7972. + if test -s conftest.err; then
  7973. + sed '10a\
  7974. +... rest of stderr output deleted ...
  7975. + 10q' conftest.err >conftest.er1
  7976. + cat conftest.er1 >&5
  7977. + fi
  7978. + rm -f conftest.er1 conftest.err
  7979. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7980. + test $ac_status = 0; }
  7981. +done
  7982. +
  7983. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  7984. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  7985. +if ${ac_cv_c_compiler_gnu+:} false; then :
  7986. + $as_echo_n "(cached) " >&6
  7987. +else
  7988. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7989. +/* end confdefs.h. */
  7990. +
  7991. +int
  7992. +main ()
  7993. +{
  7994. +#ifndef __GNUC__
  7995. + choke me
  7996. +#endif
  7997. +
  7998. + ;
  7999. + return 0;
  8000. +}
  8001. +_ACEOF
  8002. +if ac_fn_c_try_compile "$LINENO"; then :
  8003. + ac_compiler_gnu=yes
  8004. +else
  8005. + ac_compiler_gnu=no
  8006. +fi
  8007. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8008. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  8009. +
  8010. +fi
  8011. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  8012. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  8013. +if test $ac_compiler_gnu = yes; then
  8014. + GCC=yes
  8015. +else
  8016. + GCC=
  8017. +fi
  8018. +ac_test_CFLAGS=${CFLAGS+set}
  8019. +ac_save_CFLAGS=$CFLAGS
  8020. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  8021. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  8022. +if ${ac_cv_prog_cc_g+:} false; then :
  8023. + $as_echo_n "(cached) " >&6
  8024. +else
  8025. + ac_save_c_werror_flag=$ac_c_werror_flag
  8026. + ac_c_werror_flag=yes
  8027. + ac_cv_prog_cc_g=no
  8028. + CFLAGS="-g"
  8029. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8030. +/* end confdefs.h. */
  8031. +
  8032. +int
  8033. +main ()
  8034. +{
  8035. +
  8036. + ;
  8037. + return 0;
  8038. +}
  8039. +_ACEOF
  8040. +if ac_fn_c_try_compile "$LINENO"; then :
  8041. + ac_cv_prog_cc_g=yes
  8042. +else
  8043. + CFLAGS=""
  8044. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8045. +/* end confdefs.h. */
  8046. +
  8047. +int
  8048. +main ()
  8049. +{
  8050. +
  8051. + ;
  8052. + return 0;
  8053. +}
  8054. +_ACEOF
  8055. +if ac_fn_c_try_compile "$LINENO"; then :
  8056. +
  8057. +else
  8058. + ac_c_werror_flag=$ac_save_c_werror_flag
  8059. + CFLAGS="-g"
  8060. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8061. +/* end confdefs.h. */
  8062. +
  8063. +int
  8064. +main ()
  8065. +{
  8066. +
  8067. + ;
  8068. + return 0;
  8069. +}
  8070. +_ACEOF
  8071. +if ac_fn_c_try_compile "$LINENO"; then :
  8072. + ac_cv_prog_cc_g=yes
  8073. +fi
  8074. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8075. +fi
  8076. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8077. +fi
  8078. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8079. + ac_c_werror_flag=$ac_save_c_werror_flag
  8080. +fi
  8081. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  8082. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  8083. +if test "$ac_test_CFLAGS" = set; then
  8084. + CFLAGS=$ac_save_CFLAGS
  8085. +elif test $ac_cv_prog_cc_g = yes; then
  8086. + if test "$GCC" = yes; then
  8087. + CFLAGS="-g -O2"
  8088. + else
  8089. + CFLAGS="-g"
  8090. + fi
  8091. +else
  8092. + if test "$GCC" = yes; then
  8093. + CFLAGS="-O2"
  8094. + else
  8095. + CFLAGS=
  8096. + fi
  8097. +fi
  8098. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  8099. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  8100. +if ${ac_cv_prog_cc_c89+:} false; then :
  8101. + $as_echo_n "(cached) " >&6
  8102. +else
  8103. + ac_cv_prog_cc_c89=no
  8104. +ac_save_CC=$CC
  8105. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8106. +/* end confdefs.h. */
  8107. +#include <stdarg.h>
  8108. +#include <stdio.h>
  8109. +#include <sys/types.h>
  8110. +#include <sys/stat.h>
  8111. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  8112. +struct buf { int x; };
  8113. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  8114. +static char *e (p, i)
  8115. + char **p;
  8116. + int i;
  8117. +{
  8118. + return p[i];
  8119. +}
  8120. +static char *f (char * (*g) (char **, int), char **p, ...)
  8121. +{
  8122. + char *s;
  8123. + va_list v;
  8124. + va_start (v,p);
  8125. + s = g (p, va_arg (v,int));
  8126. + va_end (v);
  8127. + return s;
  8128. +}
  8129. +
  8130. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  8131. + function prototypes and stuff, but not '\xHH' hex character constants.
  8132. + These don't provoke an error unfortunately, instead are silently treated
  8133. + as 'x'. The following induces an error, until -std is added to get
  8134. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  8135. + array size at least. It's necessary to write '\x00'==0 to get something
  8136. + that's true only with -std. */
  8137. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  8138. +
  8139. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  8140. + inside strings and character constants. */
  8141. +#define FOO(x) 'x'
  8142. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  8143. +
  8144. +int test (int i, double x);
  8145. +struct s1 {int (*f) (int a);};
  8146. +struct s2 {int (*f) (double a);};
  8147. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  8148. +int argc;
  8149. +char **argv;
  8150. +int
  8151. +main ()
  8152. +{
  8153. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  8154. + ;
  8155. + return 0;
  8156. +}
  8157. +_ACEOF
  8158. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  8159. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  8160. +do
  8161. + CC="$ac_save_CC $ac_arg"
  8162. + if ac_fn_c_try_compile "$LINENO"; then :
  8163. + ac_cv_prog_cc_c89=$ac_arg
  8164. +fi
  8165. +rm -f core conftest.err conftest.$ac_objext
  8166. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  8167. +done
  8168. +rm -f conftest.$ac_ext
  8169. +CC=$ac_save_CC
  8170. +
  8171. +fi
  8172. +# AC_CACHE_VAL
  8173. +case "x$ac_cv_prog_cc_c89" in
  8174. + x)
  8175. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  8176. +$as_echo "none needed" >&6; } ;;
  8177. + xno)
  8178. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  8179. +$as_echo "unsupported" >&6; } ;;
  8180. + *)
  8181. + CC="$CC $ac_cv_prog_cc_c89"
  8182. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  8183. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  8184. +esac
  8185. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  8186. +
  8187. +fi
  8188. +
  8189. +ac_ext=c
  8190. +ac_cpp='$CPP $CPPFLAGS'
  8191. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8192. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8193. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8194. +
  8195. +depcc="$CC" am_compiler_list=
  8196. +
  8197. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  8198. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  8199. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  8200. + $as_echo_n "(cached) " >&6
  8201. +else
  8202. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  8203. + # We make a subdir and do the tests there. Otherwise we can end up
  8204. + # making bogus files that we don't know about and never remove. For
  8205. + # instance it was reported that on HP-UX the gcc test will end up
  8206. + # making a dummy file named `D' -- because `-MD' means `put the output
  8207. + # in D'.
  8208. + rm -rf conftest.dir
  8209. + mkdir conftest.dir
  8210. + # Copy depcomp to subdir because otherwise we won't find it if we're
  8211. + # using a relative directory.
  8212. + cp "$am_depcomp" conftest.dir
  8213. + cd conftest.dir
  8214. + # We will build objects and dependencies in a subdirectory because
  8215. + # it helps to detect inapplicable dependency modes. For instance
  8216. + # both Tru64's cc and ICC support -MD to output dependencies as a
  8217. + # side effect of compilation, but ICC will put the dependencies in
  8218. + # the current directory while Tru64 will put them in the object
  8219. + # directory.
  8220. + mkdir sub
  8221. +
  8222. + am_cv_CC_dependencies_compiler_type=none
  8223. + if test "$am_compiler_list" = ""; then
  8224. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  8225. + fi
  8226. + am__universal=false
  8227. + case " $depcc " in #(
  8228. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  8229. + esac
  8230. +
  8231. + for depmode in $am_compiler_list; do
  8232. + # Setup a source with many dependencies, because some compilers
  8233. + # like to wrap large dependency lists on column 80 (with \), and
  8234. + # we should not choose a depcomp mode which is confused by this.
  8235. + #
  8236. + # We need to recreate these files for each test, as the compiler may
  8237. + # overwrite some of them when testing with obscure command lines.
  8238. + # This happens at least with the AIX C compiler.
  8239. + : > sub/conftest.c
  8240. + for i in 1 2 3 4 5 6; do
  8241. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  8242. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  8243. + # Solaris 8's {/usr,}/bin/sh.
  8244. + touch sub/conftst$i.h
  8245. + done
  8246. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8247. +
  8248. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8249. + # mode. It turns out that the SunPro C++ compiler does not properly
  8250. + # handle `-M -o', and we need to detect this. Also, some Intel
  8251. + # versions had trouble with output in subdirs
  8252. + am__obj=sub/conftest.${OBJEXT-o}
  8253. + am__minus_obj="-o $am__obj"
  8254. + case $depmode in
  8255. + gcc)
  8256. + # This depmode causes a compiler race in universal mode.
  8257. + test "$am__universal" = false || continue
  8258. + ;;
  8259. + nosideeffect)
  8260. + # after this tag, mechanisms are not by side-effect, so they'll
  8261. + # only be used when explicitly requested
  8262. + if test "x$enable_dependency_tracking" = xyes; then
  8263. + continue
  8264. + else
  8265. + break
  8266. + fi
  8267. + ;;
  8268. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  8269. + # This compiler won't grok `-c -o', but also, the minuso test has
  8270. + # not run yet. These depmodes are late enough in the game, and
  8271. + # so weak that their functioning should not be impacted.
  8272. + am__obj=conftest.${OBJEXT-o}
  8273. + am__minus_obj=
  8274. + ;;
  8275. + none) break ;;
  8276. + esac
  8277. + if depmode=$depmode \
  8278. + source=sub/conftest.c object=$am__obj \
  8279. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  8280. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  8281. + >/dev/null 2>conftest.err &&
  8282. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  8283. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  8284. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  8285. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  8286. + # icc doesn't choke on unknown options, it will just issue warnings
  8287. + # or remarks (even with -Werror). So we grep stderr for any message
  8288. + # that says an option was ignored or not supported.
  8289. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  8290. + # icc: Command line warning: ignoring option '-M'; no argument required
  8291. + # The diagnosis changed in icc 8.0:
  8292. + # icc: Command line remark: option '-MP' not supported
  8293. + if (grep 'ignoring option' conftest.err ||
  8294. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  8295. + am_cv_CC_dependencies_compiler_type=$depmode
  8296. + break
  8297. + fi
  8298. + fi
  8299. + done
  8300. +
  8301. + cd ..
  8302. + rm -rf conftest.dir
  8303. +else
  8304. + am_cv_CC_dependencies_compiler_type=none
  8305. +fi
  8306. +
  8307. +fi
  8308. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  8309. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  8310. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  8311. +
  8312. + if
  8313. + test "x$enable_dependency_tracking" != xno \
  8314. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  8315. + am__fastdepCC_TRUE=
  8316. + am__fastdepCC_FALSE='#'
  8317. +else
  8318. + am__fastdepCC_TRUE='#'
  8319. + am__fastdepCC_FALSE=
  8320. +fi
  8321. +
  8322. +
  8323. +if test -n "$ac_tool_prefix"; then
  8324. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  8325. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  8326. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8327. +$as_echo_n "checking for $ac_word... " >&6; }
  8328. +if ${ac_cv_prog_RANLIB+:} false; then :
  8329. + $as_echo_n "(cached) " >&6
  8330. +else
  8331. + if test -n "$RANLIB"; then
  8332. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  8333. +else
  8334. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8335. +for as_dir in $PATH
  8336. +do
  8337. + IFS=$as_save_IFS
  8338. + test -z "$as_dir" && as_dir=.
  8339. + for ac_exec_ext in '' $ac_executable_extensions; do
  8340. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8341. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  8342. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8343. + break 2
  8344. + fi
  8345. +done
  8346. + done
  8347. +IFS=$as_save_IFS
  8348. +
  8349. +fi
  8350. +fi
  8351. +RANLIB=$ac_cv_prog_RANLIB
  8352. +if test -n "$RANLIB"; then
  8353. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  8354. +$as_echo "$RANLIB" >&6; }
  8355. +else
  8356. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8357. +$as_echo "no" >&6; }
  8358. +fi
  8359. +
  8360. +
  8361. +fi
  8362. +if test -z "$ac_cv_prog_RANLIB"; then
  8363. + ac_ct_RANLIB=$RANLIB
  8364. + # Extract the first word of "ranlib", so it can be a program name with args.
  8365. +set dummy ranlib; ac_word=$2
  8366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8367. +$as_echo_n "checking for $ac_word... " >&6; }
  8368. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  8369. + $as_echo_n "(cached) " >&6
  8370. +else
  8371. + if test -n "$ac_ct_RANLIB"; then
  8372. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  8373. +else
  8374. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8375. +for as_dir in $PATH
  8376. +do
  8377. + IFS=$as_save_IFS
  8378. + test -z "$as_dir" && as_dir=.
  8379. + for ac_exec_ext in '' $ac_executable_extensions; do
  8380. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8381. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  8382. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8383. + break 2
  8384. + fi
  8385. +done
  8386. + done
  8387. +IFS=$as_save_IFS
  8388. +
  8389. +fi
  8390. +fi
  8391. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  8392. +if test -n "$ac_ct_RANLIB"; then
  8393. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  8394. +$as_echo "$ac_ct_RANLIB" >&6; }
  8395. +else
  8396. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8397. +$as_echo "no" >&6; }
  8398. +fi
  8399. +
  8400. + if test "x$ac_ct_RANLIB" = x; then
  8401. + RANLIB=":"
  8402. + else
  8403. + case $cross_compiling:$ac_tool_warned in
  8404. +yes:)
  8405. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8406. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8407. +ac_tool_warned=yes ;;
  8408. +esac
  8409. + RANLIB=$ac_ct_RANLIB
  8410. + fi
  8411. +else
  8412. + RANLIB="$ac_cv_prog_RANLIB"
  8413. +fi
  8414. +
  8415. +
  8416. +
  8417. +
  8418. +
  8419. +
  8420. +
  8421. +
  8422. + # Code from module arg-nonnull:
  8423. + # Code from module c++defs:
  8424. + # Code from module extensions:
  8425. +
  8426. + # Code from module include_next:
  8427. + # Code from module memchr:
  8428. + # Code from module memmem:
  8429. + # Code from module memmem-simple:
  8430. + # Code from module multiarch:
  8431. + # Code from module sigaction:
  8432. + # Code from module signal:
  8433. + # Code from module sigprocmask:
  8434. + # Code from module stddef:
  8435. + # Code from module stdint:
  8436. + # Code from module string:
  8437. + # Code from module warn-on-use:
  8438. +
  8439. +if test $ac_cv_c_compiler_gnu = yes; then
  8440. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
  8441. +$as_echo_n "checking whether $CC needs -traditional... " >&6; }
  8442. +if ${ac_cv_prog_gcc_traditional+:} false; then :
  8443. + $as_echo_n "(cached) " >&6
  8444. +else
  8445. + ac_pattern="Autoconf.*'x'"
  8446. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8447. +/* end confdefs.h. */
  8448. +#include <sgtty.h>
  8449. +Autoconf TIOCGETP
  8450. +_ACEOF
  8451. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8452. + $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  8453. + ac_cv_prog_gcc_traditional=yes
  8454. +else
  8455. + ac_cv_prog_gcc_traditional=no
  8456. +fi
  8457. +rm -f conftest*
  8458. +
  8459. +
  8460. + if test $ac_cv_prog_gcc_traditional = no; then
  8461. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8462. +/* end confdefs.h. */
  8463. +#include <termio.h>
  8464. +Autoconf TCGETA
  8465. +_ACEOF
  8466. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8467. + $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  8468. + ac_cv_prog_gcc_traditional=yes
  8469. +fi
  8470. +rm -f conftest*
  8471. +
  8472. + fi
  8473. +fi
  8474. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
  8475. +$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
  8476. + if test $ac_cv_prog_gcc_traditional = yes; then
  8477. + CC="$CC -traditional"
  8478. + fi
  8479. +fi
  8480. +
  8481. +if test "x$CC" != xcc; then
  8482. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  8483. +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  8484. +else
  8485. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  8486. +$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  8487. +fi
  8488. +set dummy $CC; ac_cc=`$as_echo "$2" |
  8489. + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  8490. +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
  8491. + $as_echo_n "(cached) " >&6
  8492. +else
  8493. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8494. +/* end confdefs.h. */
  8495. +
  8496. +int
  8497. +main ()
  8498. +{
  8499. +
  8500. + ;
  8501. + return 0;
  8502. +}
  8503. +_ACEOF
  8504. +# Make sure it works both with $CC and with simple cc.
  8505. +# We do the test twice because some compilers refuse to overwrite an
  8506. +# existing .o file with -o, though they will create one.
  8507. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  8508. +rm -f conftest2.*
  8509. +if { { case "(($ac_try" in
  8510. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8511. + *) ac_try_echo=$ac_try;;
  8512. +esac
  8513. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8514. +$as_echo "$ac_try_echo"; } >&5
  8515. + (eval "$ac_try") 2>&5
  8516. + ac_status=$?
  8517. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8518. + test $ac_status = 0; } &&
  8519. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  8520. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8521. + *) ac_try_echo=$ac_try;;
  8522. +esac
  8523. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8524. +$as_echo "$ac_try_echo"; } >&5
  8525. + (eval "$ac_try") 2>&5
  8526. + ac_status=$?
  8527. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8528. + test $ac_status = 0; };
  8529. +then
  8530. + eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  8531. + if test "x$CC" != xcc; then
  8532. + # Test first that cc exists at all.
  8533. + if { ac_try='cc -c conftest.$ac_ext >&5'
  8534. + { { case "(($ac_try" in
  8535. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8536. + *) ac_try_echo=$ac_try;;
  8537. +esac
  8538. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8539. +$as_echo "$ac_try_echo"; } >&5
  8540. + (eval "$ac_try") 2>&5
  8541. + ac_status=$?
  8542. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8543. + test $ac_status = 0; }; }; then
  8544. + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  8545. + rm -f conftest2.*
  8546. + if { { case "(($ac_try" in
  8547. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8548. + *) ac_try_echo=$ac_try;;
  8549. +esac
  8550. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8551. +$as_echo "$ac_try_echo"; } >&5
  8552. + (eval "$ac_try") 2>&5
  8553. + ac_status=$?
  8554. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8555. + test $ac_status = 0; } &&
  8556. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  8557. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8558. + *) ac_try_echo=$ac_try;;
  8559. +esac
  8560. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8561. +$as_echo "$ac_try_echo"; } >&5
  8562. + (eval "$ac_try") 2>&5
  8563. + ac_status=$?
  8564. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8565. + test $ac_status = 0; };
  8566. + then
  8567. + # cc works too.
  8568. + :
  8569. + else
  8570. + # cc exists but doesn't like -o.
  8571. + eval ac_cv_prog_cc_${ac_cc}_c_o=no
  8572. + fi
  8573. + fi
  8574. + fi
  8575. +else
  8576. + eval ac_cv_prog_cc_${ac_cc}_c_o=no
  8577. +fi
  8578. +rm -f core conftest*
  8579. +
  8580. +fi
  8581. +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  8582. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8583. +$as_echo "yes" >&6; }
  8584. +else
  8585. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8586. +$as_echo "no" >&6; }
  8587. +
  8588. +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  8589. +
  8590. +fi
  8591. +
  8592. +# FIXME: we rely on the cache variable name because
  8593. +# there is no other way.
  8594. +set dummy $CC
  8595. +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  8596. +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  8597. +if test "$am_t" != yes; then
  8598. + # Losing compiler, so override with the script.
  8599. + # FIXME: It is wrong to rewrite CC.
  8600. + # But if we don't then we get into trouble of one sort or another.
  8601. + # A longer-term fix would be to have automake use am__CC in this case,
  8602. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  8603. + CC="$am_aux_dir/compile $CC"
  8604. +fi
  8605. +
  8606. +
  8607. +if test -n "$ac_tool_prefix"; then
  8608. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  8609. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  8610. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8611. +$as_echo_n "checking for $ac_word... " >&6; }
  8612. +if ${ac_cv_prog_RANLIB+:} false; then :
  8613. + $as_echo_n "(cached) " >&6
  8614. +else
  8615. + if test -n "$RANLIB"; then
  8616. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  8617. +else
  8618. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8619. +for as_dir in $PATH
  8620. +do
  8621. + IFS=$as_save_IFS
  8622. + test -z "$as_dir" && as_dir=.
  8623. + for ac_exec_ext in '' $ac_executable_extensions; do
  8624. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8625. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  8626. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8627. + break 2
  8628. + fi
  8629. +done
  8630. + done
  8631. +IFS=$as_save_IFS
  8632. +
  8633. +fi
  8634. +fi
  8635. +RANLIB=$ac_cv_prog_RANLIB
  8636. +if test -n "$RANLIB"; then
  8637. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  8638. +$as_echo "$RANLIB" >&6; }
  8639. +else
  8640. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8641. +$as_echo "no" >&6; }
  8642. +fi
  8643. +
  8644. +
  8645. +fi
  8646. +if test -z "$ac_cv_prog_RANLIB"; then
  8647. + ac_ct_RANLIB=$RANLIB
  8648. + # Extract the first word of "ranlib", so it can be a program name with args.
  8649. +set dummy ranlib; ac_word=$2
  8650. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8651. +$as_echo_n "checking for $ac_word... " >&6; }
  8652. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  8653. + $as_echo_n "(cached) " >&6
  8654. +else
  8655. + if test -n "$ac_ct_RANLIB"; then
  8656. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  8657. +else
  8658. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8659. +for as_dir in $PATH
  8660. +do
  8661. + IFS=$as_save_IFS
  8662. + test -z "$as_dir" && as_dir=.
  8663. + for ac_exec_ext in '' $ac_executable_extensions; do
  8664. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8665. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  8666. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8667. + break 2
  8668. + fi
  8669. +done
  8670. + done
  8671. +IFS=$as_save_IFS
  8672. +
  8673. +fi
  8674. +fi
  8675. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  8676. +if test -n "$ac_ct_RANLIB"; then
  8677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  8678. +$as_echo "$ac_ct_RANLIB" >&6; }
  8679. +else
  8680. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8681. +$as_echo "no" >&6; }
  8682. +fi
  8683. +
  8684. + if test "x$ac_ct_RANLIB" = x; then
  8685. + RANLIB=":"
  8686. + else
  8687. + case $cross_compiling:$ac_tool_warned in
  8688. +yes:)
  8689. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8690. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8691. +ac_tool_warned=yes ;;
  8692. +esac
  8693. + RANLIB=$ac_ct_RANLIB
  8694. + fi
  8695. +else
  8696. + RANLIB="$ac_cv_prog_RANLIB"
  8697. +fi
  8698. +
  8699. +
  8700. +
  8701. +
  8702. +
  8703. +
  8704. + LIBC_FATAL_STDERR_=1
  8705. + export LIBC_FATAL_STDERR_
  8706. +
  8707. +
  8708. +
  8709. +
  8710. +
  8711. + for ac_header in $gl_header_list
  8712. +do :
  8713. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8714. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  8715. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  8716. + cat >>confdefs.h <<_ACEOF
  8717. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8718. +_ACEOF
  8719. +
  8720. +fi
  8721. +
  8722. +done
  8723. +
  8724. +
  8725. +
  8726. +
  8727. +
  8728. +
  8729. +
  8730. +
  8731. +
  8732. + for ac_func in $gl_func_list
  8733. +do :
  8734. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  8735. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  8736. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8737. + cat >>confdefs.h <<_ACEOF
  8738. +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  8739. +_ACEOF
  8740. +
  8741. +fi
  8742. +done
  8743. +
  8744. +
  8745. +
  8746. +
  8747. +
  8748. +
  8749. + GNULIB_MEMCHR=0;
  8750. + GNULIB_MEMMEM=0;
  8751. + GNULIB_MEMPCPY=0;
  8752. + GNULIB_MEMRCHR=0;
  8753. + GNULIB_RAWMEMCHR=0;
  8754. + GNULIB_STPCPY=0;
  8755. + GNULIB_STPNCPY=0;
  8756. + GNULIB_STRCHRNUL=0;
  8757. + GNULIB_STRDUP=0;
  8758. + GNULIB_STRNCAT=0;
  8759. + GNULIB_STRNDUP=0;
  8760. + GNULIB_STRNLEN=0;
  8761. + GNULIB_STRPBRK=0;
  8762. + GNULIB_STRSEP=0;
  8763. + GNULIB_STRSTR=0;
  8764. + GNULIB_STRCASESTR=0;
  8765. + GNULIB_STRTOK_R=0;
  8766. + GNULIB_MBSLEN=0;
  8767. + GNULIB_MBSNLEN=0;
  8768. + GNULIB_MBSCHR=0;
  8769. + GNULIB_MBSRCHR=0;
  8770. + GNULIB_MBSSTR=0;
  8771. + GNULIB_MBSCASECMP=0;
  8772. + GNULIB_MBSNCASECMP=0;
  8773. + GNULIB_MBSPCASECMP=0;
  8774. + GNULIB_MBSCASESTR=0;
  8775. + GNULIB_MBSCSPN=0;
  8776. + GNULIB_MBSPBRK=0;
  8777. + GNULIB_MBSSPN=0;
  8778. + GNULIB_MBSSEP=0;
  8779. + GNULIB_MBSTOK_R=0;
  8780. + GNULIB_STRERROR=0;
  8781. + GNULIB_STRERROR_R=0;
  8782. + GNULIB_STRSIGNAL=0;
  8783. + GNULIB_STRVERSCMP=0;
  8784. + HAVE_MBSLEN=0;
  8785. + HAVE_MEMCHR=1;
  8786. + HAVE_DECL_MEMMEM=1;
  8787. + HAVE_MEMPCPY=1;
  8788. + HAVE_DECL_MEMRCHR=1;
  8789. + HAVE_RAWMEMCHR=1;
  8790. + HAVE_STPCPY=1;
  8791. + HAVE_STPNCPY=1;
  8792. + HAVE_STRCHRNUL=1;
  8793. + HAVE_DECL_STRDUP=1;
  8794. + HAVE_DECL_STRNDUP=1;
  8795. + HAVE_DECL_STRNLEN=1;
  8796. + HAVE_STRPBRK=1;
  8797. + HAVE_STRSEP=1;
  8798. + HAVE_STRCASESTR=1;
  8799. + HAVE_DECL_STRTOK_R=1;
  8800. + HAVE_DECL_STRERROR_R=1;
  8801. + HAVE_DECL_STRSIGNAL=1;
  8802. + HAVE_STRVERSCMP=1;
  8803. + REPLACE_MEMCHR=0;
  8804. + REPLACE_MEMMEM=0;
  8805. + REPLACE_STPNCPY=0;
  8806. + REPLACE_STRDUP=0;
  8807. + REPLACE_STRSTR=0;
  8808. + REPLACE_STRCASESTR=0;
  8809. + REPLACE_STRCHRNUL=0;
  8810. + REPLACE_STRERROR=0;
  8811. + REPLACE_STRERROR_R=0;
  8812. + REPLACE_STRNCAT=0;
  8813. + REPLACE_STRNDUP=0;
  8814. + REPLACE_STRNLEN=0;
  8815. + REPLACE_STRSIGNAL=0;
  8816. + REPLACE_STRTOK_R=0;
  8817. + UNDEFINE_STRTOK_R=0;
  8818. +
  8819. +
  8820. +
  8821. +
  8822. +
  8823. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  8824. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  8825. + # irrelevant for anonymous mappings.
  8826. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  8827. +if test "x$ac_cv_func_mmap" = xyes; then :
  8828. + gl_have_mmap=yes
  8829. +else
  8830. + gl_have_mmap=no
  8831. +fi
  8832. +
  8833. +
  8834. + # Try to allow MAP_ANONYMOUS.
  8835. + gl_have_mmap_anonymous=no
  8836. + if test $gl_have_mmap = yes; then
  8837. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  8838. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  8839. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8840. +/* end confdefs.h. */
  8841. +
  8842. +#include <sys/mman.h>
  8843. +#ifdef MAP_ANONYMOUS
  8844. + I cant identify this map.
  8845. +#endif
  8846. +
  8847. +_ACEOF
  8848. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8849. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  8850. + gl_have_mmap_anonymous=yes
  8851. +fi
  8852. +rm -f conftest*
  8853. +
  8854. + if test $gl_have_mmap_anonymous != yes; then
  8855. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8856. +/* end confdefs.h. */
  8857. +
  8858. +#include <sys/mman.h>
  8859. +#ifdef MAP_ANON
  8860. + I cant identify this map.
  8861. +#endif
  8862. +
  8863. +_ACEOF
  8864. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8865. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  8866. +
  8867. +$as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  8868. +
  8869. + gl_have_mmap_anonymous=yes
  8870. +fi
  8871. +rm -f conftest*
  8872. +
  8873. + fi
  8874. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  8875. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  8876. + if test $gl_have_mmap_anonymous = yes; then
  8877. +
  8878. +$as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  8879. +
  8880. + fi
  8881. + fi
  8882. +
  8883. +
  8884. + :
  8885. +
  8886. +
  8887. +
  8888. +
  8889. +
  8890. +
  8891. + :
  8892. +
  8893. +
  8894. +
  8895. +
  8896. +
  8897. +
  8898. +
  8899. +
  8900. + if test $HAVE_MEMCHR = 1; then
  8901. + # Detect platform-specific bugs in some versions of glibc:
  8902. + # memchr should not dereference anything with length 0
  8903. + # http://bugzilla.redhat.com/499689
  8904. + # memchr should not dereference overestimated length after a match
  8905. + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
  8906. + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
  8907. + # Assume that memchr works on platforms that lack mprotect.
  8908. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
  8909. +$as_echo_n "checking whether memchr works... " >&6; }
  8910. +if ${gl_cv_func_memchr_works+:} false; then :
  8911. + $as_echo_n "(cached) " >&6
  8912. +else
  8913. + if test "$cross_compiling" = yes; then :
  8914. + gl_cv_func_memchr_works="guessing no"
  8915. +else
  8916. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8917. +/* end confdefs.h. */
  8918. +
  8919. +#include <string.h>
  8920. +#if HAVE_SYS_MMAN_H
  8921. +# include <fcntl.h>
  8922. +# include <unistd.h>
  8923. +# include <sys/types.h>
  8924. +# include <sys/mman.h>
  8925. +# ifndef MAP_FILE
  8926. +# define MAP_FILE 0
  8927. +# endif
  8928. +#endif
  8929. +
  8930. +int
  8931. +main ()
  8932. +{
  8933. +
  8934. + int result = 0;
  8935. + char *fence = NULL;
  8936. +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
  8937. +# if HAVE_MAP_ANONYMOUS
  8938. + const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
  8939. + const int fd = -1;
  8940. +# else /* !HAVE_MAP_ANONYMOUS */
  8941. + const int flags = MAP_FILE | MAP_PRIVATE;
  8942. + int fd = open ("/dev/zero", O_RDONLY, 0666);
  8943. + if (fd >= 0)
  8944. +# endif
  8945. + {
  8946. + int pagesize = getpagesize ();
  8947. + char *two_pages =
  8948. + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
  8949. + flags, fd, 0);
  8950. + if (two_pages != (char *)(-1)
  8951. + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
  8952. + fence = two_pages + pagesize;
  8953. + }
  8954. +#endif
  8955. + if (fence)
  8956. + {
  8957. + if (memchr (fence, 0, 0))
  8958. + result |= 1;
  8959. + strcpy (fence - 9, "12345678");
  8960. + if (memchr (fence - 9, 0, 79) != fence - 1)
  8961. + result |= 2;
  8962. + if (memchr (fence - 1, 0, 3) != fence - 1)
  8963. + result |= 4;
  8964. + }
  8965. + return result;
  8966. +
  8967. + ;
  8968. + return 0;
  8969. +}
  8970. +_ACEOF
  8971. +if ac_fn_c_try_run "$LINENO"; then :
  8972. + gl_cv_func_memchr_works=yes
  8973. +else
  8974. + gl_cv_func_memchr_works=no
  8975. +fi
  8976. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8977. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  8978. +fi
  8979. +
  8980. +fi
  8981. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
  8982. +$as_echo "$gl_cv_func_memchr_works" >&6; }
  8983. + if test "$gl_cv_func_memchr_works" != yes; then
  8984. + REPLACE_MEMCHR=1
  8985. + fi
  8986. + fi
  8987. +
  8988. +
  8989. + ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
  8990. +if test "x$ac_cv_have_decl_memmem" = xyes; then :
  8991. + ac_have_decl=1
  8992. +else
  8993. + ac_have_decl=0
  8994. +fi
  8995. +
  8996. +cat >>confdefs.h <<_ACEOF
  8997. +#define HAVE_DECL_MEMMEM $ac_have_decl
  8998. +_ACEOF
  8999. +
  9000. +
  9001. +
  9002. +
  9003. +
  9004. +
  9005. + for ac_func in memmem
  9006. +do :
  9007. + ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem"
  9008. +if test "x$ac_cv_func_memmem" = xyes; then :
  9009. + cat >>confdefs.h <<_ACEOF
  9010. +#define HAVE_MEMMEM 1
  9011. +_ACEOF
  9012. +
  9013. +fi
  9014. +done
  9015. +
  9016. + if test $ac_cv_func_memmem = yes; then
  9017. + HAVE_MEMMEM=1
  9018. + else
  9019. + HAVE_MEMMEM=0
  9020. + fi
  9021. +
  9022. + :
  9023. +
  9024. +
  9025. +
  9026. +
  9027. +
  9028. + if test $ac_cv_have_decl_memmem = no; then
  9029. + HAVE_DECL_MEMMEM=0
  9030. + else
  9031. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5
  9032. +$as_echo_n "checking whether memmem works... " >&6; }
  9033. +if ${gl_cv_func_memmem_works_always+:} false; then :
  9034. + $as_echo_n "(cached) " >&6
  9035. +else
  9036. + if test "$cross_compiling" = yes; then :
  9037. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9038. +/* end confdefs.h. */
  9039. +
  9040. +#ifdef __GNU_LIBRARY__
  9041. + #include <features.h>
  9042. + #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \
  9043. + || __GLIBC_MINOR__ > 12)) \
  9044. + || (__GLIBC__ > 2)) \
  9045. + || defined __UCLIBC__
  9046. + Lucky user
  9047. + #endif
  9048. +#elif defined __CYGWIN__
  9049. + #include <cygwin/version.h>
  9050. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  9051. + Lucky user
  9052. + #endif
  9053. +#else
  9054. + Lucky user
  9055. +#endif
  9056. +
  9057. +_ACEOF
  9058. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9059. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  9060. + gl_cv_func_memmem_works_always=yes
  9061. +else
  9062. + gl_cv_func_memmem_works_always="guessing no"
  9063. +fi
  9064. +rm -f conftest*
  9065. +
  9066. +
  9067. +else
  9068. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9069. +/* end confdefs.h. */
  9070. +
  9071. +#include <string.h> /* for memmem */
  9072. +#define P "_EF_BF_BD"
  9073. +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
  9074. +#define NEEDLE P P P P P
  9075. +
  9076. +int
  9077. +main ()
  9078. +{
  9079. +
  9080. + int result = 0;
  9081. + if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
  9082. + result |= 1;
  9083. + /* Check for empty needle behavior. */
  9084. + {
  9085. + const char *haystack = "AAA";
  9086. + if (memmem (haystack, 3, NULL, 0) != haystack)
  9087. + result |= 2;
  9088. + }
  9089. + return result;
  9090. +
  9091. + ;
  9092. + return 0;
  9093. +}
  9094. +_ACEOF
  9095. +if ac_fn_c_try_run "$LINENO"; then :
  9096. + gl_cv_func_memmem_works_always=yes
  9097. +else
  9098. + gl_cv_func_memmem_works_always=no
  9099. +fi
  9100. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  9101. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  9102. +fi
  9103. +
  9104. +
  9105. +fi
  9106. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5
  9107. +$as_echo "$gl_cv_func_memmem_works_always" >&6; }
  9108. + if test "$gl_cv_func_memmem_works_always" != yes; then
  9109. + REPLACE_MEMMEM=1
  9110. + fi
  9111. + fi
  9112. + :
  9113. +
  9114. +
  9115. + gl_cv_c_multiarch=no
  9116. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9117. +/* end confdefs.h. */
  9118. +#ifndef __APPLE_CC__
  9119. + not a universal capable compiler
  9120. + #endif
  9121. + typedef int dummy;
  9122. +
  9123. +_ACEOF
  9124. +if ac_fn_c_try_compile "$LINENO"; then :
  9125. +
  9126. + arch=
  9127. + prev=
  9128. + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
  9129. + if test -n "$prev"; then
  9130. + case $word in
  9131. + i?86 | x86_64 | ppc | ppc64)
  9132. + if test -z "$arch" || test "$arch" = "$word"; then
  9133. + arch="$word"
  9134. + else
  9135. + gl_cv_c_multiarch=yes
  9136. + fi
  9137. + ;;
  9138. + esac
  9139. + prev=
  9140. + else
  9141. + if test "x$word" = "x-arch"; then
  9142. + prev=arch
  9143. + fi
  9144. + fi
  9145. + done
  9146. +
  9147. +fi
  9148. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9149. + if test $gl_cv_c_multiarch = yes; then
  9150. + APPLE_UNIVERSAL_BUILD=1
  9151. + else
  9152. + APPLE_UNIVERSAL_BUILD=0
  9153. + fi
  9154. +
  9155. +
  9156. +
  9157. + GNULIB_SIGNAL_H_SIGPIPE=0;
  9158. + GNULIB_SIGPROCMASK=0;
  9159. + GNULIB_SIGACTION=0;
  9160. + HAVE_POSIX_SIGNALBLOCKING=1;
  9161. + HAVE_SIGSET_T=1;
  9162. + HAVE_SIGINFO_T=1;
  9163. + HAVE_SIGACTION=1;
  9164. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
  9165. +
  9166. + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
  9167. +
  9168. + HAVE_SIGHANDLER_T=1;
  9169. +
  9170. +
  9171. +
  9172. +
  9173. +
  9174. +
  9175. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
  9176. +$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
  9177. +if ${ac_cv_c_restrict+:} false; then :
  9178. + $as_echo_n "(cached) " >&6
  9179. +else
  9180. + ac_cv_c_restrict=no
  9181. + # The order here caters to the fact that C++ does not require restrict.
  9182. + for ac_kw in __restrict __restrict__ _Restrict restrict; do
  9183. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9184. +/* end confdefs.h. */
  9185. +typedef int * int_ptr;
  9186. + int foo (int_ptr $ac_kw ip) {
  9187. + return ip[0];
  9188. + }
  9189. +int
  9190. +main ()
  9191. +{
  9192. +int s[1];
  9193. + int * $ac_kw t = s;
  9194. + t[0] = 0;
  9195. + return foo(t)
  9196. + ;
  9197. + return 0;
  9198. +}
  9199. +_ACEOF
  9200. +if ac_fn_c_try_compile "$LINENO"; then :
  9201. + ac_cv_c_restrict=$ac_kw
  9202. +fi
  9203. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9204. + test "$ac_cv_c_restrict" != no && break
  9205. + done
  9206. +
  9207. +fi
  9208. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
  9209. +$as_echo "$ac_cv_c_restrict" >&6; }
  9210. +
  9211. + case $ac_cv_c_restrict in
  9212. + restrict) ;;
  9213. + no) $as_echo "#define restrict /**/" >>confdefs.h
  9214. + ;;
  9215. + *) cat >>confdefs.h <<_ACEOF
  9216. +#define restrict $ac_cv_c_restrict
  9217. +_ACEOF
  9218. + ;;
  9219. + esac
  9220. +
  9221. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
  9222. +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
  9223. +if ${ac_cv_type_uid_t+:} false; then :
  9224. + $as_echo_n "(cached) " >&6
  9225. +else
  9226. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9227. +/* end confdefs.h. */
  9228. +#include <sys/types.h>
  9229. +
  9230. +_ACEOF
  9231. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9232. + $EGREP "uid_t" >/dev/null 2>&1; then :
  9233. + ac_cv_type_uid_t=yes
  9234. +else
  9235. + ac_cv_type_uid_t=no
  9236. +fi
  9237. +rm -f conftest*
  9238. +
  9239. +fi
  9240. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
  9241. +$as_echo "$ac_cv_type_uid_t" >&6; }
  9242. +if test $ac_cv_type_uid_t = no; then
  9243. +
  9244. +$as_echo "#define uid_t int" >>confdefs.h
  9245. +
  9246. +
  9247. +$as_echo "#define gid_t int" >>confdefs.h
  9248. +
  9249. +fi
  9250. +
  9251. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  9252. +$as_echo_n "checking for inline... " >&6; }
  9253. +if ${ac_cv_c_inline+:} false; then :
  9254. + $as_echo_n "(cached) " >&6
  9255. +else
  9256. + ac_cv_c_inline=no
  9257. +for ac_kw in inline __inline__ __inline; do
  9258. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9259. +/* end confdefs.h. */
  9260. +#ifndef __cplusplus
  9261. +typedef int foo_t;
  9262. +static $ac_kw foo_t static_foo () {return 0; }
  9263. +$ac_kw foo_t foo () {return 0; }
  9264. +#endif
  9265. +
  9266. +_ACEOF
  9267. +if ac_fn_c_try_compile "$LINENO"; then :
  9268. + ac_cv_c_inline=$ac_kw
  9269. +fi
  9270. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9271. + test "$ac_cv_c_inline" != no && break
  9272. +done
  9273. +
  9274. +fi
  9275. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  9276. +$as_echo "$ac_cv_c_inline" >&6; }
  9277. +
  9278. +case $ac_cv_c_inline in
  9279. + inline | yes) ;;
  9280. + *)
  9281. + case $ac_cv_c_inline in
  9282. + no) ac_val=;;
  9283. + *) ac_val=$ac_cv_c_inline;;
  9284. + esac
  9285. + cat >>confdefs.h <<_ACEOF
  9286. +#ifndef __cplusplus
  9287. +#define inline $ac_val
  9288. +#endif
  9289. +_ACEOF
  9290. + ;;
  9291. +esac
  9292. +
  9293. +
  9294. +
  9295. +
  9296. +
  9297. +
  9298. +
  9299. +
  9300. +
  9301. +
  9302. +
  9303. +
  9304. +
  9305. +
  9306. +
  9307. +
  9308. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
  9309. +$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
  9310. +if ${gl_cv_have_include_next+:} false; then :
  9311. + $as_echo_n "(cached) " >&6
  9312. +else
  9313. + rm -rf conftestd1a conftestd1b conftestd2
  9314. + mkdir conftestd1a conftestd1b conftestd2
  9315. + cat <<EOF > conftestd1a/conftest.h
  9316. +#define DEFINED_IN_CONFTESTD1
  9317. +#include_next <conftest.h>
  9318. +#ifdef DEFINED_IN_CONFTESTD2
  9319. +int foo;
  9320. +#else
  9321. +#error "include_next doesn't work"
  9322. +#endif
  9323. +EOF
  9324. + cat <<EOF > conftestd1b/conftest.h
  9325. +#define DEFINED_IN_CONFTESTD1
  9326. +#include <stdio.h>
  9327. +#include_next <conftest.h>
  9328. +#ifdef DEFINED_IN_CONFTESTD2
  9329. +int foo;
  9330. +#else
  9331. +#error "include_next doesn't work"
  9332. +#endif
  9333. +EOF
  9334. + cat <<EOF > conftestd2/conftest.h
  9335. +#ifndef DEFINED_IN_CONFTESTD1
  9336. +#error "include_next test doesn't work"
  9337. +#endif
  9338. +#define DEFINED_IN_CONFTESTD2
  9339. +EOF
  9340. + gl_save_CPPFLAGS="$CPPFLAGS"
  9341. + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
  9342. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9343. +/* end confdefs.h. */
  9344. +#include <conftest.h>
  9345. +_ACEOF
  9346. +if ac_fn_c_try_compile "$LINENO"; then :
  9347. + gl_cv_have_include_next=yes
  9348. +else
  9349. + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
  9350. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9351. +/* end confdefs.h. */
  9352. +#include <conftest.h>
  9353. +_ACEOF
  9354. +if ac_fn_c_try_compile "$LINENO"; then :
  9355. + gl_cv_have_include_next=buggy
  9356. +else
  9357. + gl_cv_have_include_next=no
  9358. +fi
  9359. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9360. +
  9361. +fi
  9362. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9363. + CPPFLAGS="$gl_save_CPPFLAGS"
  9364. + rm -rf conftestd1a conftestd1b conftestd2
  9365. +
  9366. +fi
  9367. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
  9368. +$as_echo "$gl_cv_have_include_next" >&6; }
  9369. + PRAGMA_SYSTEM_HEADER=
  9370. + if test $gl_cv_have_include_next = yes; then
  9371. + INCLUDE_NEXT=include_next
  9372. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  9373. + if test -n "$GCC"; then
  9374. + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
  9375. + fi
  9376. + else
  9377. + if test $gl_cv_have_include_next = buggy; then
  9378. + INCLUDE_NEXT=include
  9379. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  9380. + else
  9381. + INCLUDE_NEXT=include
  9382. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
  9383. + fi
  9384. + fi
  9385. +
  9386. +
  9387. +
  9388. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
  9389. +$as_echo_n "checking whether system header files limit the line length... " >&6; }
  9390. +if ${gl_cv_pragma_columns+:} false; then :
  9391. + $as_echo_n "(cached) " >&6
  9392. +else
  9393. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9394. +/* end confdefs.h. */
  9395. +
  9396. +#ifdef __TANDEM
  9397. +choke me
  9398. +#endif
  9399. +
  9400. +_ACEOF
  9401. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9402. + $EGREP "choke me" >/dev/null 2>&1; then :
  9403. + gl_cv_pragma_columns=yes
  9404. +else
  9405. + gl_cv_pragma_columns=no
  9406. +fi
  9407. +rm -f conftest*
  9408. +
  9409. +
  9410. +fi
  9411. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
  9412. +$as_echo "$gl_cv_pragma_columns" >&6; }
  9413. + if test $gl_cv_pragma_columns = yes; then
  9414. + PRAGMA_COLUMNS="#pragma COLUMNS 10000"
  9415. + else
  9416. + PRAGMA_COLUMNS=
  9417. + fi
  9418. +
  9419. +
  9420. +
  9421. + REPLACE_NULL=0;
  9422. + HAVE_WCHAR_T=1;
  9423. +
  9424. +
  9425. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
  9426. +$as_echo_n "checking for wchar_t... " >&6; }
  9427. +if ${gt_cv_c_wchar_t+:} false; then :
  9428. + $as_echo_n "(cached) " >&6
  9429. +else
  9430. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9431. +/* end confdefs.h. */
  9432. +#include <stddef.h>
  9433. + wchar_t foo = (wchar_t)'\0';
  9434. +int
  9435. +main ()
  9436. +{
  9437. +
  9438. + ;
  9439. + return 0;
  9440. +}
  9441. +_ACEOF
  9442. +if ac_fn_c_try_compile "$LINENO"; then :
  9443. + gt_cv_c_wchar_t=yes
  9444. +else
  9445. + gt_cv_c_wchar_t=no
  9446. +fi
  9447. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9448. +fi
  9449. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
  9450. +$as_echo "$gt_cv_c_wchar_t" >&6; }
  9451. + if test $gt_cv_c_wchar_t = yes; then
  9452. +
  9453. +$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
  9454. +
  9455. + fi
  9456. +
  9457. +
  9458. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
  9459. +$as_echo_n "checking for unsigned long long int... " >&6; }
  9460. +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
  9461. + $as_echo_n "(cached) " >&6
  9462. +else
  9463. + ac_cv_type_unsigned_long_long_int=yes
  9464. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  9465. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9466. +/* end confdefs.h. */
  9467. +
  9468. + /* For now, do not test the preprocessor; as of 2007 there are too many
  9469. + implementations with broken preprocessors. Perhaps this can
  9470. + be revisited in 2012. In the meantime, code should not expect
  9471. + #if to work with literals wider than 32 bits. */
  9472. + /* Test literals. */
  9473. + long long int ll = 9223372036854775807ll;
  9474. + long long int nll = -9223372036854775807LL;
  9475. + unsigned long long int ull = 18446744073709551615ULL;
  9476. + /* Test constant expressions. */
  9477. + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
  9478. + ? 1 : -1)];
  9479. + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
  9480. + ? 1 : -1)];
  9481. + int i = 63;
  9482. +int
  9483. +main ()
  9484. +{
  9485. +/* Test availability of runtime routines for shift and division. */
  9486. + long long int llmax = 9223372036854775807ll;
  9487. + unsigned long long int ullmax = 18446744073709551615ull;
  9488. + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
  9489. + | (llmax / ll) | (llmax % ll)
  9490. + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
  9491. + | (ullmax / ull) | (ullmax % ull));
  9492. + ;
  9493. + return 0;
  9494. +}
  9495. +
  9496. +_ACEOF
  9497. +if ac_fn_c_try_link "$LINENO"; then :
  9498. +
  9499. +else
  9500. + ac_cv_type_unsigned_long_long_int=no
  9501. +fi
  9502. +rm -f core conftest.err conftest.$ac_objext \
  9503. + conftest$ac_exeext conftest.$ac_ext
  9504. + fi
  9505. +fi
  9506. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
  9507. +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
  9508. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  9509. +
  9510. +$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
  9511. +
  9512. + fi
  9513. +
  9514. +
  9515. +
  9516. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
  9517. +$as_echo_n "checking for long long int... " >&6; }
  9518. +if ${ac_cv_type_long_long_int+:} false; then :
  9519. + $as_echo_n "(cached) " >&6
  9520. +else
  9521. + ac_cv_type_long_long_int=yes
  9522. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  9523. + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
  9524. + if test $ac_cv_type_long_long_int = yes; then
  9525. + if test "$cross_compiling" = yes; then :
  9526. + :
  9527. +else
  9528. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9529. +/* end confdefs.h. */
  9530. +#include <limits.h>
  9531. + #ifndef LLONG_MAX
  9532. + # define HALF \
  9533. + (1LL << (sizeof (long long int) * CHAR_BIT - 2))
  9534. + # define LLONG_MAX (HALF - 1 + HALF)
  9535. + #endif
  9536. +int
  9537. +main ()
  9538. +{
  9539. +long long int n = 1;
  9540. + int i;
  9541. + for (i = 0; ; i++)
  9542. + {
  9543. + long long int m = n << i;
  9544. + if (m >> i != n)
  9545. + return 1;
  9546. + if (LLONG_MAX / 2 < m)
  9547. + break;
  9548. + }
  9549. + return 0;
  9550. + ;
  9551. + return 0;
  9552. +}
  9553. +_ACEOF
  9554. +if ac_fn_c_try_run "$LINENO"; then :
  9555. +
  9556. +else
  9557. + ac_cv_type_long_long_int=no
  9558. +fi
  9559. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  9560. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  9561. +fi
  9562. +
  9563. + fi
  9564. + fi
  9565. +fi
  9566. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
  9567. +$as_echo "$ac_cv_type_long_long_int" >&6; }
  9568. + if test $ac_cv_type_long_long_int = yes; then
  9569. +
  9570. +$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
  9571. +
  9572. + fi
  9573. +
  9574. +
  9575. +
  9576. +
  9577. +
  9578. +
  9579. +
  9580. +
  9581. +
  9582. +
  9583. +
  9584. +
  9585. +
  9586. +
  9587. + if test $ac_cv_type_long_long_int = yes; then
  9588. + HAVE_LONG_LONG_INT=1
  9589. + else
  9590. + HAVE_LONG_LONG_INT=0
  9591. + fi
  9592. +
  9593. +
  9594. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  9595. + HAVE_UNSIGNED_LONG_LONG_INT=1
  9596. + else
  9597. + HAVE_UNSIGNED_LONG_LONG_INT=0
  9598. + fi
  9599. +
  9600. +
  9601. +
  9602. + :
  9603. +
  9604. +
  9605. +
  9606. +
  9607. +
  9608. + if test $ac_cv_header_wchar_h = yes; then
  9609. + HAVE_WCHAR_H=1
  9610. + else
  9611. + HAVE_WCHAR_H=0
  9612. + fi
  9613. +
  9614. +
  9615. + if test $ac_cv_header_inttypes_h = yes; then
  9616. + HAVE_INTTYPES_H=1
  9617. + else
  9618. + HAVE_INTTYPES_H=0
  9619. + fi
  9620. +
  9621. +
  9622. + if test $ac_cv_header_sys_types_h = yes; then
  9623. + HAVE_SYS_TYPES_H=1
  9624. + else
  9625. + HAVE_SYS_TYPES_H=0
  9626. + fi
  9627. +
  9628. +
  9629. +
  9630. +
  9631. +
  9632. +
  9633. +
  9634. +
  9635. + :
  9636. +
  9637. +
  9638. +
  9639. +
  9640. +
  9641. +
  9642. +
  9643. +
  9644. + if test $gl_cv_have_include_next = yes; then
  9645. + gl_cv_next_stdint_h='<'stdint.h'>'
  9646. + else
  9647. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
  9648. +$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
  9649. +if ${gl_cv_next_stdint_h+:} false; then :
  9650. + $as_echo_n "(cached) " >&6
  9651. +else
  9652. +
  9653. + if test $ac_cv_header_stdint_h = yes; then
  9654. +
  9655. +
  9656. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9657. +/* end confdefs.h. */
  9658. +#include <stdint.h>
  9659. +
  9660. +_ACEOF
  9661. + case "$host_os" in
  9662. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  9663. + *) gl_absname_cpp="$ac_cpp" ;;
  9664. + esac
  9665. + gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  9666. + sed -n '\#/stdint.h#{
  9667. + s#.*"\(.*/stdint.h\)".*#\1#
  9668. + s#^/[^/]#//&#
  9669. + p
  9670. + q
  9671. + }'`'"'
  9672. + else
  9673. + gl_cv_next_stdint_h='<'stdint.h'>'
  9674. + fi
  9675. +
  9676. +
  9677. +fi
  9678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
  9679. +$as_echo "$gl_cv_next_stdint_h" >&6; }
  9680. + fi
  9681. + NEXT_STDINT_H=$gl_cv_next_stdint_h
  9682. +
  9683. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  9684. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  9685. + gl_next_as_first_directive='<'stdint.h'>'
  9686. + else
  9687. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  9688. + gl_next_as_first_directive=$gl_cv_next_stdint_h
  9689. + fi
  9690. + NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
  9691. +
  9692. +
  9693. +
  9694. +
  9695. + if test $ac_cv_header_stdint_h = yes; then
  9696. + HAVE_STDINT_H=1
  9697. + else
  9698. + HAVE_STDINT_H=0
  9699. + fi
  9700. +
  9701. +
  9702. + if test $ac_cv_header_stdint_h = yes; then
  9703. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
  9704. +$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
  9705. +if ${gl_cv_header_working_stdint_h+:} false; then :
  9706. + $as_echo_n "(cached) " >&6
  9707. +else
  9708. + gl_cv_header_working_stdint_h=no
  9709. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9710. +/* end confdefs.h. */
  9711. +
  9712. +
  9713. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  9714. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  9715. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  9716. +#include <stdint.h>
  9717. +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
  9718. +#if !(defined WCHAR_MIN && defined WCHAR_MAX)
  9719. +#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
  9720. +#endif
  9721. +
  9722. +
  9723. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  9724. + included before <wchar.h>. */
  9725. + #include <stddef.h>
  9726. + #include <signal.h>
  9727. + #if HAVE_WCHAR_H
  9728. + # include <stdio.h>
  9729. + # include <time.h>
  9730. + # include <wchar.h>
  9731. + #endif
  9732. +
  9733. +
  9734. +#ifdef INT8_MAX
  9735. +int8_t a1 = INT8_MAX;
  9736. +int8_t a1min = INT8_MIN;
  9737. +#endif
  9738. +#ifdef INT16_MAX
  9739. +int16_t a2 = INT16_MAX;
  9740. +int16_t a2min = INT16_MIN;
  9741. +#endif
  9742. +#ifdef INT32_MAX
  9743. +int32_t a3 = INT32_MAX;
  9744. +int32_t a3min = INT32_MIN;
  9745. +#endif
  9746. +#ifdef INT64_MAX
  9747. +int64_t a4 = INT64_MAX;
  9748. +int64_t a4min = INT64_MIN;
  9749. +#endif
  9750. +#ifdef UINT8_MAX
  9751. +uint8_t b1 = UINT8_MAX;
  9752. +#else
  9753. +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
  9754. +#endif
  9755. +#ifdef UINT16_MAX
  9756. +uint16_t b2 = UINT16_MAX;
  9757. +#endif
  9758. +#ifdef UINT32_MAX
  9759. +uint32_t b3 = UINT32_MAX;
  9760. +#endif
  9761. +#ifdef UINT64_MAX
  9762. +uint64_t b4 = UINT64_MAX;
  9763. +#endif
  9764. +int_least8_t c1 = INT8_C (0x7f);
  9765. +int_least8_t c1max = INT_LEAST8_MAX;
  9766. +int_least8_t c1min = INT_LEAST8_MIN;
  9767. +int_least16_t c2 = INT16_C (0x7fff);
  9768. +int_least16_t c2max = INT_LEAST16_MAX;
  9769. +int_least16_t c2min = INT_LEAST16_MIN;
  9770. +int_least32_t c3 = INT32_C (0x7fffffff);
  9771. +int_least32_t c3max = INT_LEAST32_MAX;
  9772. +int_least32_t c3min = INT_LEAST32_MIN;
  9773. +int_least64_t c4 = INT64_C (0x7fffffffffffffff);
  9774. +int_least64_t c4max = INT_LEAST64_MAX;
  9775. +int_least64_t c4min = INT_LEAST64_MIN;
  9776. +uint_least8_t d1 = UINT8_C (0xff);
  9777. +uint_least8_t d1max = UINT_LEAST8_MAX;
  9778. +uint_least16_t d2 = UINT16_C (0xffff);
  9779. +uint_least16_t d2max = UINT_LEAST16_MAX;
  9780. +uint_least32_t d3 = UINT32_C (0xffffffff);
  9781. +uint_least32_t d3max = UINT_LEAST32_MAX;
  9782. +uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
  9783. +uint_least64_t d4max = UINT_LEAST64_MAX;
  9784. +int_fast8_t e1 = INT_FAST8_MAX;
  9785. +int_fast8_t e1min = INT_FAST8_MIN;
  9786. +int_fast16_t e2 = INT_FAST16_MAX;
  9787. +int_fast16_t e2min = INT_FAST16_MIN;
  9788. +int_fast32_t e3 = INT_FAST32_MAX;
  9789. +int_fast32_t e3min = INT_FAST32_MIN;
  9790. +int_fast64_t e4 = INT_FAST64_MAX;
  9791. +int_fast64_t e4min = INT_FAST64_MIN;
  9792. +uint_fast8_t f1 = UINT_FAST8_MAX;
  9793. +uint_fast16_t f2 = UINT_FAST16_MAX;
  9794. +uint_fast32_t f3 = UINT_FAST32_MAX;
  9795. +uint_fast64_t f4 = UINT_FAST64_MAX;
  9796. +#ifdef INTPTR_MAX
  9797. +intptr_t g = INTPTR_MAX;
  9798. +intptr_t gmin = INTPTR_MIN;
  9799. +#endif
  9800. +#ifdef UINTPTR_MAX
  9801. +uintptr_t h = UINTPTR_MAX;
  9802. +#endif
  9803. +intmax_t i = INTMAX_MAX;
  9804. +uintmax_t j = UINTMAX_MAX;
  9805. +
  9806. +#include <limits.h> /* for CHAR_BIT */
  9807. +#define TYPE_MINIMUM(t) \
  9808. + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
  9809. +#define TYPE_MAXIMUM(t) \
  9810. + ((t) ((t) 0 < (t) -1 \
  9811. + ? (t) -1 \
  9812. + : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
  9813. +struct s {
  9814. + int check_PTRDIFF:
  9815. + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
  9816. + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
  9817. + ? 1 : -1;
  9818. + /* Detect bug in FreeBSD 6.0 / ia64. */
  9819. + int check_SIG_ATOMIC:
  9820. + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
  9821. + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
  9822. + ? 1 : -1;
  9823. + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
  9824. + int check_WCHAR:
  9825. + WCHAR_MIN == TYPE_MINIMUM (wchar_t)
  9826. + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
  9827. + ? 1 : -1;
  9828. + /* Detect bug in mingw. */
  9829. + int check_WINT:
  9830. + WINT_MIN == TYPE_MINIMUM (wint_t)
  9831. + && WINT_MAX == TYPE_MAXIMUM (wint_t)
  9832. + ? 1 : -1;
  9833. +
  9834. + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
  9835. + int check_UINT8_C:
  9836. + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
  9837. + int check_UINT16_C:
  9838. + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
  9839. +
  9840. + /* Detect bugs in OpenBSD 3.9 stdint.h. */
  9841. +#ifdef UINT8_MAX
  9842. + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
  9843. +#endif
  9844. +#ifdef UINT16_MAX
  9845. + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
  9846. +#endif
  9847. +#ifdef UINT32_MAX
  9848. + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
  9849. +#endif
  9850. +#ifdef UINT64_MAX
  9851. + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
  9852. +#endif
  9853. + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
  9854. + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
  9855. + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
  9856. + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
  9857. + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
  9858. + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
  9859. + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
  9860. + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
  9861. + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
  9862. + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
  9863. + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
  9864. +};
  9865. +
  9866. +int
  9867. +main ()
  9868. +{
  9869. +
  9870. + ;
  9871. + return 0;
  9872. +}
  9873. +_ACEOF
  9874. +if ac_fn_c_try_compile "$LINENO"; then :
  9875. + if test "$cross_compiling" = yes; then :
  9876. + gl_cv_header_working_stdint_h=yes
  9877. +
  9878. +else
  9879. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9880. +/* end confdefs.h. */
  9881. +
  9882. +
  9883. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  9884. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  9885. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  9886. +#include <stdint.h>
  9887. +
  9888. +
  9889. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  9890. + included before <wchar.h>. */
  9891. + #include <stddef.h>
  9892. + #include <signal.h>
  9893. + #if HAVE_WCHAR_H
  9894. + # include <stdio.h>
  9895. + # include <time.h>
  9896. + # include <wchar.h>
  9897. + #endif
  9898. +
  9899. +
  9900. +#include <stdio.h>
  9901. +#include <string.h>
  9902. +#define MVAL(macro) MVAL1(macro)
  9903. +#define MVAL1(expression) #expression
  9904. +static const char *macro_values[] =
  9905. + {
  9906. +#ifdef INT8_MAX
  9907. + MVAL (INT8_MAX),
  9908. +#endif
  9909. +#ifdef INT16_MAX
  9910. + MVAL (INT16_MAX),
  9911. +#endif
  9912. +#ifdef INT32_MAX
  9913. + MVAL (INT32_MAX),
  9914. +#endif
  9915. +#ifdef INT64_MAX
  9916. + MVAL (INT64_MAX),
  9917. +#endif
  9918. +#ifdef UINT8_MAX
  9919. + MVAL (UINT8_MAX),
  9920. +#endif
  9921. +#ifdef UINT16_MAX
  9922. + MVAL (UINT16_MAX),
  9923. +#endif
  9924. +#ifdef UINT32_MAX
  9925. + MVAL (UINT32_MAX),
  9926. +#endif
  9927. +#ifdef UINT64_MAX
  9928. + MVAL (UINT64_MAX),
  9929. +#endif
  9930. + NULL
  9931. + };
  9932. +
  9933. +int
  9934. +main ()
  9935. +{
  9936. +
  9937. + const char **mv;
  9938. + for (mv = macro_values; *mv != NULL; mv++)
  9939. + {
  9940. + const char *value = *mv;
  9941. + /* Test whether it looks like a cast expression. */
  9942. + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
  9943. + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
  9944. + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
  9945. + || strncmp (value, "((int)"/*)*/, 6) == 0
  9946. + || strncmp (value, "((signed short)"/*)*/, 15) == 0
  9947. + || strncmp (value, "((signed char)"/*)*/, 14) == 0)
  9948. + return mv - macro_values + 1;
  9949. + }
  9950. + return 0;
  9951. +
  9952. + ;
  9953. + return 0;
  9954. +}
  9955. +_ACEOF
  9956. +if ac_fn_c_try_run "$LINENO"; then :
  9957. + gl_cv_header_working_stdint_h=yes
  9958. +fi
  9959. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  9960. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  9961. +fi
  9962. +
  9963. +
  9964. +fi
  9965. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9966. +
  9967. +fi
  9968. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
  9969. +$as_echo "$gl_cv_header_working_stdint_h" >&6; }
  9970. + fi
  9971. + if test "$gl_cv_header_working_stdint_h" = yes; then
  9972. + STDINT_H=
  9973. + else
  9974. + for ac_header in sys/inttypes.h sys/bitypes.h
  9975. +do :
  9976. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9977. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  9978. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  9979. + cat >>confdefs.h <<_ACEOF
  9980. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  9981. +_ACEOF
  9982. +
  9983. +fi
  9984. +
  9985. +done
  9986. +
  9987. + if test $ac_cv_header_sys_inttypes_h = yes; then
  9988. + HAVE_SYS_INTTYPES_H=1
  9989. + else
  9990. + HAVE_SYS_INTTYPES_H=0
  9991. + fi
  9992. +
  9993. + if test $ac_cv_header_sys_bitypes_h = yes; then
  9994. + HAVE_SYS_BITYPES_H=1
  9995. + else
  9996. + HAVE_SYS_BITYPES_H=0
  9997. + fi
  9998. +
  9999. +
  10000. +
  10001. +
  10002. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  10003. +
  10004. +
  10005. + for gltype in ptrdiff_t size_t ; do
  10006. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  10007. +$as_echo_n "checking for bit size of $gltype... " >&6; }
  10008. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  10009. + $as_echo_n "(cached) " >&6
  10010. +else
  10011. + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  10012. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  10013. + included before <wchar.h>. */
  10014. + #include <stddef.h>
  10015. + #include <signal.h>
  10016. + #if HAVE_WCHAR_H
  10017. + # include <stdio.h>
  10018. + # include <time.h>
  10019. + # include <wchar.h>
  10020. + #endif
  10021. +
  10022. +#include <limits.h>"; then :
  10023. +
  10024. +else
  10025. + result=unknown
  10026. +fi
  10027. +
  10028. + eval gl_cv_bitsizeof_${gltype}=\$result
  10029. +
  10030. +fi
  10031. +eval ac_res=\$gl_cv_bitsizeof_${gltype}
  10032. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10033. +$as_echo "$ac_res" >&6; }
  10034. + eval result=\$gl_cv_bitsizeof_${gltype}
  10035. + if test $result = unknown; then
  10036. + result=0
  10037. + fi
  10038. + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  10039. + cat >>confdefs.h <<_ACEOF
  10040. +#define BITSIZEOF_${GLTYPE} $result
  10041. +_ACEOF
  10042. +
  10043. + eval BITSIZEOF_${GLTYPE}=\$result
  10044. + done
  10045. +
  10046. +
  10047. + fi
  10048. +
  10049. +
  10050. + for gltype in sig_atomic_t wchar_t wint_t ; do
  10051. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  10052. +$as_echo_n "checking for bit size of $gltype... " >&6; }
  10053. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  10054. + $as_echo_n "(cached) " >&6
  10055. +else
  10056. + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  10057. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  10058. + included before <wchar.h>. */
  10059. + #include <stddef.h>
  10060. + #include <signal.h>
  10061. + #if HAVE_WCHAR_H
  10062. + # include <stdio.h>
  10063. + # include <time.h>
  10064. + # include <wchar.h>
  10065. + #endif
  10066. +
  10067. +#include <limits.h>"; then :
  10068. +
  10069. +else
  10070. + result=unknown
  10071. +fi
  10072. +
  10073. + eval gl_cv_bitsizeof_${gltype}=\$result
  10074. +
  10075. +fi
  10076. +eval ac_res=\$gl_cv_bitsizeof_${gltype}
  10077. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10078. +$as_echo "$ac_res" >&6; }
  10079. + eval result=\$gl_cv_bitsizeof_${gltype}
  10080. + if test $result = unknown; then
  10081. + result=0
  10082. + fi
  10083. + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  10084. + cat >>confdefs.h <<_ACEOF
  10085. +#define BITSIZEOF_${GLTYPE} $result
  10086. +_ACEOF
  10087. +
  10088. + eval BITSIZEOF_${GLTYPE}=\$result
  10089. + done
  10090. +
  10091. +
  10092. +
  10093. +
  10094. + for gltype in sig_atomic_t wchar_t wint_t ; do
  10095. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
  10096. +$as_echo_n "checking whether $gltype is signed... " >&6; }
  10097. +if eval \${gl_cv_type_${gltype}_signed+:} false; then :
  10098. + $as_echo_n "(cached) " >&6
  10099. +else
  10100. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10101. +/* end confdefs.h. */
  10102. +
  10103. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  10104. + included before <wchar.h>. */
  10105. + #include <stddef.h>
  10106. + #include <signal.h>
  10107. + #if HAVE_WCHAR_H
  10108. + # include <stdio.h>
  10109. + # include <time.h>
  10110. + # include <wchar.h>
  10111. + #endif
  10112. +
  10113. + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
  10114. +int
  10115. +main ()
  10116. +{
  10117. +
  10118. + ;
  10119. + return 0;
  10120. +}
  10121. +_ACEOF
  10122. +if ac_fn_c_try_compile "$LINENO"; then :
  10123. + result=yes
  10124. +else
  10125. + result=no
  10126. +fi
  10127. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10128. + eval gl_cv_type_${gltype}_signed=\$result
  10129. +
  10130. +fi
  10131. +eval ac_res=\$gl_cv_type_${gltype}_signed
  10132. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10133. +$as_echo "$ac_res" >&6; }
  10134. + eval result=\$gl_cv_type_${gltype}_signed
  10135. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  10136. + if test "$result" = yes; then
  10137. + cat >>confdefs.h <<_ACEOF
  10138. +#define HAVE_SIGNED_${GLTYPE} 1
  10139. +_ACEOF
  10140. +
  10141. + eval HAVE_SIGNED_${GLTYPE}=1
  10142. + else
  10143. + eval HAVE_SIGNED_${GLTYPE}=0
  10144. + fi
  10145. + done
  10146. +
  10147. +
  10148. + gl_cv_type_ptrdiff_t_signed=yes
  10149. + gl_cv_type_size_t_signed=no
  10150. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  10151. +
  10152. +
  10153. + for gltype in ptrdiff_t size_t ; do
  10154. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  10155. +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  10156. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  10157. + $as_echo_n "(cached) " >&6
  10158. +else
  10159. + eval gl_cv_type_${gltype}_suffix=no
  10160. + eval result=\$gl_cv_type_${gltype}_signed
  10161. + if test "$result" = yes; then
  10162. + glsufu=
  10163. + else
  10164. + glsufu=u
  10165. + fi
  10166. + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
  10167. + case $glsuf in
  10168. + '') gltype1='int';;
  10169. + l) gltype1='long int';;
  10170. + ll) gltype1='long long int';;
  10171. + i64) gltype1='__int64';;
  10172. + u) gltype1='unsigned int';;
  10173. + ul) gltype1='unsigned long int';;
  10174. + ull) gltype1='unsigned long long int';;
  10175. + ui64)gltype1='unsigned __int64';;
  10176. + esac
  10177. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10178. +/* end confdefs.h. */
  10179. +
  10180. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  10181. + included before <wchar.h>. */
  10182. + #include <stddef.h>
  10183. + #include <signal.h>
  10184. + #if HAVE_WCHAR_H
  10185. + # include <stdio.h>
  10186. + # include <time.h>
  10187. + # include <wchar.h>
  10188. + #endif
  10189. +
  10190. + extern $gltype foo;
  10191. + extern $gltype1 foo;
  10192. +int
  10193. +main ()
  10194. +{
  10195. +
  10196. + ;
  10197. + return 0;
  10198. +}
  10199. +_ACEOF
  10200. +if ac_fn_c_try_compile "$LINENO"; then :
  10201. + eval gl_cv_type_${gltype}_suffix=\$glsuf
  10202. +fi
  10203. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10204. + eval result=\$gl_cv_type_${gltype}_suffix
  10205. + test "$result" != no && break
  10206. + done
  10207. +fi
  10208. +eval ac_res=\$gl_cv_type_${gltype}_suffix
  10209. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10210. +$as_echo "$ac_res" >&6; }
  10211. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  10212. + eval result=\$gl_cv_type_${gltype}_suffix
  10213. + test "$result" = no && result=
  10214. + eval ${GLTYPE}_SUFFIX=\$result
  10215. + cat >>confdefs.h <<_ACEOF
  10216. +#define ${GLTYPE}_SUFFIX $result
  10217. +_ACEOF
  10218. +
  10219. + done
  10220. +
  10221. +
  10222. + fi
  10223. +
  10224. +
  10225. + for gltype in sig_atomic_t wchar_t wint_t ; do
  10226. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  10227. +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  10228. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  10229. + $as_echo_n "(cached) " >&6
  10230. +else
  10231. + eval gl_cv_type_${gltype}_suffix=no
  10232. + eval result=\$gl_cv_type_${gltype}_signed
  10233. + if test "$result" = yes; then
  10234. + glsufu=
  10235. + else
  10236. + glsufu=u
  10237. + fi
  10238. + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
  10239. + case $glsuf in
  10240. + '') gltype1='int';;
  10241. + l) gltype1='long int';;
  10242. + ll) gltype1='long long int';;
  10243. + i64) gltype1='__int64';;
  10244. + u) gltype1='unsigned int';;
  10245. + ul) gltype1='unsigned long int';;
  10246. + ull) gltype1='unsigned long long int';;
  10247. + ui64)gltype1='unsigned __int64';;
  10248. + esac
  10249. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10250. +/* end confdefs.h. */
  10251. +
  10252. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  10253. + included before <wchar.h>. */
  10254. + #include <stddef.h>
  10255. + #include <signal.h>
  10256. + #if HAVE_WCHAR_H
  10257. + # include <stdio.h>
  10258. + # include <time.h>
  10259. + # include <wchar.h>
  10260. + #endif
  10261. +
  10262. + extern $gltype foo;
  10263. + extern $gltype1 foo;
  10264. +int
  10265. +main ()
  10266. +{
  10267. +
  10268. + ;
  10269. + return 0;
  10270. +}
  10271. +_ACEOF
  10272. +if ac_fn_c_try_compile "$LINENO"; then :
  10273. + eval gl_cv_type_${gltype}_suffix=\$glsuf
  10274. +fi
  10275. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10276. + eval result=\$gl_cv_type_${gltype}_suffix
  10277. + test "$result" != no && break
  10278. + done
  10279. +fi
  10280. +eval ac_res=\$gl_cv_type_${gltype}_suffix
  10281. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10282. +$as_echo "$ac_res" >&6; }
  10283. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  10284. + eval result=\$gl_cv_type_${gltype}_suffix
  10285. + test "$result" = no && result=
  10286. + eval ${GLTYPE}_SUFFIX=\$result
  10287. + cat >>confdefs.h <<_ACEOF
  10288. +#define ${GLTYPE}_SUFFIX $result
  10289. +_ACEOF
  10290. +
  10291. + done
  10292. +
  10293. +
  10294. +
  10295. + STDINT_H=stdint.h
  10296. + fi
  10297. +
  10298. + if test -n "$STDINT_H"; then
  10299. + GL_GENERATE_STDINT_H_TRUE=
  10300. + GL_GENERATE_STDINT_H_FALSE='#'
  10301. +else
  10302. + GL_GENERATE_STDINT_H_TRUE='#'
  10303. + GL_GENERATE_STDINT_H_FALSE=
  10304. +fi
  10305. +
  10306. +
  10307. +
  10308. +
  10309. +
  10310. +
  10311. +
  10312. +
  10313. +
  10314. +
  10315. +
  10316. +
  10317. +
  10318. + if test $gl_cv_have_include_next = yes; then
  10319. + gl_cv_next_string_h='<'string.h'>'
  10320. + else
  10321. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
  10322. +$as_echo_n "checking absolute name of <string.h>... " >&6; }
  10323. +if ${gl_cv_next_string_h+:} false; then :
  10324. + $as_echo_n "(cached) " >&6
  10325. +else
  10326. +
  10327. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10328. +/* end confdefs.h. */
  10329. +#include <string.h>
  10330. +
  10331. +_ACEOF
  10332. + case "$host_os" in
  10333. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  10334. + *) gl_absname_cpp="$ac_cpp" ;;
  10335. + esac
  10336. + gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  10337. + sed -n '\#/string.h#{
  10338. + s#.*"\(.*/string.h\)".*#\1#
  10339. + s#^/[^/]#//&#
  10340. + p
  10341. + q
  10342. + }'`'"'
  10343. +
  10344. +
  10345. +fi
  10346. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
  10347. +$as_echo "$gl_cv_next_string_h" >&6; }
  10348. + fi
  10349. + NEXT_STRING_H=$gl_cv_next_string_h
  10350. +
  10351. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  10352. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  10353. + gl_next_as_first_directive='<'string.h'>'
  10354. + else
  10355. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  10356. + gl_next_as_first_directive=$gl_cv_next_string_h
  10357. + fi
  10358. + NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
  10359. +
  10360. +
  10361. +
  10362. +
  10363. +
  10364. +
  10365. + for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do
  10366. + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
  10367. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
  10368. +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
  10369. +if eval \${$as_gl_Symbol+:} false; then :
  10370. + $as_echo_n "(cached) " >&6
  10371. +else
  10372. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10373. +/* end confdefs.h. */
  10374. +#include <string.h>
  10375. +
  10376. +int
  10377. +main ()
  10378. +{
  10379. +#undef $gl_func
  10380. + (void) $gl_func;
  10381. + ;
  10382. + return 0;
  10383. +}
  10384. +_ACEOF
  10385. +if ac_fn_c_try_compile "$LINENO"; then :
  10386. + eval "$as_gl_Symbol=yes"
  10387. +else
  10388. + eval "$as_gl_Symbol=no"
  10389. +fi
  10390. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10391. +fi
  10392. +eval ac_res=\$$as_gl_Symbol
  10393. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10394. +$as_echo "$ac_res" >&6; }
  10395. + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
  10396. + cat >>confdefs.h <<_ACEOF
  10397. +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
  10398. +_ACEOF
  10399. +
  10400. + eval ac_cv_have_decl_$gl_func=yes
  10401. +fi
  10402. + done
  10403. +
  10404. +
  10405. +
  10406. + if false; then
  10407. + GL_COND_LIBTOOL_TRUE=
  10408. + GL_COND_LIBTOOL_FALSE='#'
  10409. +else
  10410. + GL_COND_LIBTOOL_TRUE='#'
  10411. + GL_COND_LIBTOOL_FALSE=
  10412. +fi
  10413. +
  10414. + gl_cond_libtool=false
  10415. + gl_libdeps=
  10416. + gl_ltlibdeps=
  10417. + gl_m4_base='m4'
  10418. +
  10419. +
  10420. +
  10421. +
  10422. +
  10423. +
  10424. +
  10425. +
  10426. +
  10427. + gl_source_base='lib'
  10428. +
  10429. +if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
  10430. +
  10431. +
  10432. +
  10433. +
  10434. +
  10435. +
  10436. +
  10437. +
  10438. + gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
  10439. +
  10440. +
  10441. + for ac_header in bp-sym.h
  10442. +do :
  10443. + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
  10444. +if test "x$ac_cv_header_bp_sym_h" = xyes; then :
  10445. + cat >>confdefs.h <<_ACEOF
  10446. +#define HAVE_BP_SYM_H 1
  10447. +_ACEOF
  10448. +
  10449. +fi
  10450. +
  10451. +done
  10452. +
  10453. +
  10454. +fi
  10455. +
  10456. +
  10457. +
  10458. +
  10459. +
  10460. + GNULIB_MEMCHR=1
  10461. +
  10462. +
  10463. +
  10464. +
  10465. +
  10466. +$as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
  10467. +
  10468. +
  10469. +
  10470. +
  10471. +
  10472. + if test $HAVE_DECL_MEMMEM = 1 && test $REPLACE_MEMMEM = 0; then
  10473. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works in linear time" >&5
  10474. +$as_echo_n "checking whether memmem works in linear time... " >&6; }
  10475. +if ${gl_cv_func_memmem_works_fast+:} false; then :
  10476. + $as_echo_n "(cached) " >&6
  10477. +else
  10478. + if test "$cross_compiling" = yes; then :
  10479. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10480. +/* end confdefs.h. */
  10481. +
  10482. +#include <features.h>
  10483. +#ifdef __GNU_LIBRARY__
  10484. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)) \
  10485. + && !defined __UCLIBC__
  10486. + Lucky user
  10487. + #endif
  10488. +#endif
  10489. +#ifdef __CYGWIN__
  10490. + #include <cygwin/version.h>
  10491. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 0)
  10492. + Lucky user
  10493. + #endif
  10494. +#endif
  10495. +
  10496. +_ACEOF
  10497. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10498. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  10499. + gl_cv_func_memmem_works_fast=yes
  10500. +else
  10501. + gl_cv_func_memmem_works_fast="guessing no"
  10502. +fi
  10503. +rm -f conftest*
  10504. +
  10505. +
  10506. +else
  10507. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10508. +/* end confdefs.h. */
  10509. +
  10510. +#include <signal.h> /* for signal */
  10511. +#include <string.h> /* for memmem */
  10512. +#include <stdlib.h> /* for malloc */
  10513. +#include <unistd.h> /* for alarm */
  10514. +static void quit (int sig) { exit (sig + 128); }
  10515. +
  10516. +int
  10517. +main ()
  10518. +{
  10519. +
  10520. + int result = 0;
  10521. + size_t m = 1000000;
  10522. + char *haystack = (char *) malloc (2 * m + 1);
  10523. + char *needle = (char *) malloc (m + 1);
  10524. + /* Failure to compile this test due to missing alarm is okay,
  10525. + since all such platforms (mingw) also lack memmem. */
  10526. + signal (SIGALRM, quit);
  10527. + alarm (5);
  10528. + /* Check for quadratic performance. */
  10529. + if (haystack && needle)
  10530. + {
  10531. + memset (haystack, 'A', 2 * m);
  10532. + haystack[2 * m] = 'B';
  10533. + memset (needle, 'A', m);
  10534. + needle[m] = 'B';
  10535. + if (!memmem (haystack, 2 * m + 1, needle, m + 1))
  10536. + result |= 1;
  10537. + }
  10538. + return result;
  10539. +
  10540. + ;
  10541. + return 0;
  10542. +}
  10543. +_ACEOF
  10544. +if ac_fn_c_try_run "$LINENO"; then :
  10545. + gl_cv_func_memmem_works_fast=yes
  10546. +else
  10547. + gl_cv_func_memmem_works_fast=no
  10548. +fi
  10549. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  10550. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  10551. +fi
  10552. +
  10553. +
  10554. +fi
  10555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_fast" >&5
  10556. +$as_echo "$gl_cv_func_memmem_works_fast" >&6; }
  10557. + if test "$gl_cv_func_memmem_works_fast" != yes; then
  10558. + REPLACE_MEMMEM=1
  10559. + fi
  10560. + fi
  10561. +
  10562. +if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
  10563. +
  10564. +
  10565. +
  10566. +
  10567. +
  10568. +
  10569. +
  10570. +
  10571. + gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext"
  10572. +
  10573. +fi
  10574. +
  10575. +
  10576. +
  10577. +
  10578. + for ac_func in memmem
  10579. +do :
  10580. + ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem"
  10581. +if test "x$ac_cv_func_memmem" = xyes; then :
  10582. + cat >>confdefs.h <<_ACEOF
  10583. +#define HAVE_MEMMEM 1
  10584. +_ACEOF
  10585. +
  10586. +fi
  10587. +done
  10588. +
  10589. + if test $ac_cv_func_memmem = yes; then
  10590. + HAVE_MEMMEM=1
  10591. + else
  10592. + HAVE_MEMMEM=0
  10593. + fi
  10594. +
  10595. + :
  10596. +
  10597. +
  10598. +
  10599. +
  10600. +
  10601. + if test $ac_cv_have_decl_memmem = no; then
  10602. + HAVE_DECL_MEMMEM=0
  10603. + else
  10604. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5
  10605. +$as_echo_n "checking whether memmem works... " >&6; }
  10606. +if ${gl_cv_func_memmem_works_always+:} false; then :
  10607. + $as_echo_n "(cached) " >&6
  10608. +else
  10609. + if test "$cross_compiling" = yes; then :
  10610. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10611. +/* end confdefs.h. */
  10612. +
  10613. +#ifdef __GNU_LIBRARY__
  10614. + #include <features.h>
  10615. + #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \
  10616. + || __GLIBC_MINOR__ > 12)) \
  10617. + || (__GLIBC__ > 2)) \
  10618. + || defined __UCLIBC__
  10619. + Lucky user
  10620. + #endif
  10621. +#elif defined __CYGWIN__
  10622. + #include <cygwin/version.h>
  10623. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  10624. + Lucky user
  10625. + #endif
  10626. +#else
  10627. + Lucky user
  10628. +#endif
  10629. +
  10630. +_ACEOF
  10631. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10632. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  10633. + gl_cv_func_memmem_works_always=yes
  10634. +else
  10635. + gl_cv_func_memmem_works_always="guessing no"
  10636. +fi
  10637. +rm -f conftest*
  10638. +
  10639. +
  10640. +else
  10641. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10642. +/* end confdefs.h. */
  10643. +
  10644. +#include <string.h> /* for memmem */
  10645. +#define P "_EF_BF_BD"
  10646. +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
  10647. +#define NEEDLE P P P P P
  10648. +
  10649. +int
  10650. +main ()
  10651. +{
  10652. +
  10653. + int result = 0;
  10654. + if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
  10655. + result |= 1;
  10656. + /* Check for empty needle behavior. */
  10657. + {
  10658. + const char *haystack = "AAA";
  10659. + if (memmem (haystack, 3, NULL, 0) != haystack)
  10660. + result |= 2;
  10661. + }
  10662. + return result;
  10663. +
  10664. + ;
  10665. + return 0;
  10666. +}
  10667. +_ACEOF
  10668. +if ac_fn_c_try_run "$LINENO"; then :
  10669. + gl_cv_func_memmem_works_always=yes
  10670. +else
  10671. + gl_cv_func_memmem_works_always=no
  10672. +fi
  10673. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  10674. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  10675. +fi
  10676. +
  10677. +
  10678. +fi
  10679. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5
  10680. +$as_echo "$gl_cv_func_memmem_works_always" >&6; }
  10681. + if test "$gl_cv_func_memmem_works_always" != yes; then
  10682. + REPLACE_MEMMEM=1
  10683. + fi
  10684. + fi
  10685. + :
  10686. +
  10687. +if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
  10688. +
  10689. +
  10690. +
  10691. +
  10692. +
  10693. +
  10694. +
  10695. +
  10696. + gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext"
  10697. +
  10698. +fi
  10699. +
  10700. +
  10701. +
  10702. +
  10703. +
  10704. + GNULIB_MEMMEM=1
  10705. +
  10706. +
  10707. +
  10708. +
  10709. +
  10710. +$as_echo "#define GNULIB_TEST_MEMMEM 1" >>confdefs.h
  10711. +
  10712. +
  10713. +
  10714. +
  10715. +
  10716. +
  10717. +
  10718. + :
  10719. +
  10720. +
  10721. +
  10722. +
  10723. +
  10724. + if test $ac_cv_func_sigaction = yes; then
  10725. + ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include <signal.h>
  10726. +"
  10727. +if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then :
  10728. +
  10729. +cat >>confdefs.h <<_ACEOF
  10730. +#define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
  10731. +_ACEOF
  10732. +
  10733. +
  10734. +fi
  10735. +
  10736. + if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
  10737. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
  10738. + fi
  10739. + else
  10740. + HAVE_SIGACTION=0
  10741. + fi
  10742. +
  10743. +if test $HAVE_SIGACTION = 0; then
  10744. +
  10745. +
  10746. +
  10747. +
  10748. +
  10749. +
  10750. +
  10751. +
  10752. + gl_LIBOBJS="$gl_LIBOBJS sigaction.$ac_objext"
  10753. +
  10754. +
  10755. +
  10756. +
  10757. +
  10758. +
  10759. +
  10760. + :
  10761. +
  10762. +
  10763. +
  10764. +
  10765. +
  10766. +
  10767. +
  10768. +
  10769. + ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "
  10770. +#include <signal.h>
  10771. +
  10772. +"
  10773. +if test "x$ac_cv_type_siginfo_t" = xyes; then :
  10774. +
  10775. +cat >>confdefs.h <<_ACEOF
  10776. +#define HAVE_SIGINFO_T 1
  10777. +_ACEOF
  10778. +
  10779. +
  10780. +fi
  10781. +
  10782. + if test $ac_cv_type_siginfo_t = no; then
  10783. + HAVE_SIGINFO_T=0
  10784. + fi
  10785. +
  10786. +fi
  10787. +
  10788. +
  10789. +
  10790. +
  10791. +
  10792. + GNULIB_SIGACTION=1
  10793. +
  10794. +
  10795. +
  10796. +
  10797. +
  10798. +$as_echo "#define GNULIB_TEST_SIGACTION 1" >>confdefs.h
  10799. +
  10800. +
  10801. +
  10802. +
  10803. +
  10804. +
  10805. +
  10806. +
  10807. +
  10808. +
  10809. +
  10810. +
  10811. +
  10812. + if test $gl_cv_have_include_next = yes; then
  10813. + gl_cv_next_signal_h='<'signal.h'>'
  10814. + else
  10815. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
  10816. +$as_echo_n "checking absolute name of <signal.h>... " >&6; }
  10817. +if ${gl_cv_next_signal_h+:} false; then :
  10818. + $as_echo_n "(cached) " >&6
  10819. +else
  10820. +
  10821. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10822. +/* end confdefs.h. */
  10823. +#include <signal.h>
  10824. +
  10825. +_ACEOF
  10826. + case "$host_os" in
  10827. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  10828. + *) gl_absname_cpp="$ac_cpp" ;;
  10829. + esac
  10830. + gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  10831. + sed -n '\#/signal.h#{
  10832. + s#.*"\(.*/signal.h\)".*#\1#
  10833. + s#^/[^/]#//&#
  10834. + p
  10835. + q
  10836. + }'`'"'
  10837. +
  10838. +
  10839. +fi
  10840. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
  10841. +$as_echo "$gl_cv_next_signal_h" >&6; }
  10842. + fi
  10843. + NEXT_SIGNAL_H=$gl_cv_next_signal_h
  10844. +
  10845. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  10846. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  10847. + gl_next_as_first_directive='<'signal.h'>'
  10848. + else
  10849. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  10850. + gl_next_as_first_directive=$gl_cv_next_signal_h
  10851. + fi
  10852. + NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
  10853. +
  10854. +
  10855. +
  10856. +
  10857. +
  10858. +# AIX declares sig_atomic_t to already include volatile, and C89 compilers
  10859. +# then choke on 'volatile sig_atomic_t'. C99 requires that it compile.
  10860. + ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
  10861. +#include <signal.h>
  10862. +
  10863. +"
  10864. +if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
  10865. +
  10866. +else
  10867. + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
  10868. +fi
  10869. +
  10870. +
  10871. +
  10872. +
  10873. +
  10874. + ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
  10875. +#include <signal.h>
  10876. +
  10877. +"
  10878. +if test "x$ac_cv_type_sighandler_t" = xyes; then :
  10879. +
  10880. +else
  10881. + HAVE_SIGHANDLER_T=0
  10882. +fi
  10883. +
  10884. +
  10885. +
  10886. + for gl_func in sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask; do
  10887. + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
  10888. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
  10889. +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
  10890. +if eval \${$as_gl_Symbol+:} false; then :
  10891. + $as_echo_n "(cached) " >&6
  10892. +else
  10893. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10894. +/* end confdefs.h. */
  10895. +#include <signal.h>
  10896. +
  10897. +int
  10898. +main ()
  10899. +{
  10900. +#undef $gl_func
  10901. + (void) $gl_func;
  10902. + ;
  10903. + return 0;
  10904. +}
  10905. +_ACEOF
  10906. +if ac_fn_c_try_compile "$LINENO"; then :
  10907. + eval "$as_gl_Symbol=yes"
  10908. +else
  10909. + eval "$as_gl_Symbol=no"
  10910. +fi
  10911. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10912. +fi
  10913. +eval ac_res=\$$as_gl_Symbol
  10914. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10915. +$as_echo "$ac_res" >&6; }
  10916. + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
  10917. + cat >>confdefs.h <<_ACEOF
  10918. +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
  10919. +_ACEOF
  10920. +
  10921. + eval ac_cv_have_decl_$gl_func=yes
  10922. +fi
  10923. + done
  10924. +
  10925. +
  10926. +
  10927. +
  10928. + signals_not_posix=
  10929. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10930. +/* end confdefs.h. */
  10931. +#include <signal.h>
  10932. +
  10933. +_ACEOF
  10934. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10935. + $EGREP "sigset_t" >/dev/null 2>&1; then :
  10936. +
  10937. +else
  10938. + signals_not_posix=1
  10939. +fi
  10940. +rm -f conftest*
  10941. +
  10942. + if test -z "$signals_not_posix"; then
  10943. + ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
  10944. +if test "x$ac_cv_func_sigprocmask" = xyes; then :
  10945. + gl_cv_func_sigprocmask=1
  10946. +fi
  10947. +
  10948. + fi
  10949. + if test -z "$gl_cv_func_sigprocmask"; then
  10950. + HAVE_POSIX_SIGNALBLOCKING=0
  10951. + fi
  10952. +
  10953. +if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
  10954. +
  10955. +
  10956. +
  10957. +
  10958. +
  10959. +
  10960. +
  10961. +
  10962. + gl_LIBOBJS="$gl_LIBOBJS sigprocmask.$ac_objext"
  10963. +
  10964. +
  10965. +
  10966. + ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <signal.h>
  10967. +/* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
  10968. +#include <sys/types.h>
  10969. +"
  10970. +if test "x$ac_cv_type_sigset_t" = xyes; then :
  10971. +
  10972. +cat >>confdefs.h <<_ACEOF
  10973. +#define HAVE_SIGSET_T 1
  10974. +_ACEOF
  10975. +
  10976. +gl_cv_type_sigset_t=yes
  10977. +else
  10978. + gl_cv_type_sigset_t=no
  10979. +fi
  10980. +
  10981. + if test $gl_cv_type_sigset_t != yes; then
  10982. + HAVE_SIGSET_T=0
  10983. + fi
  10984. +
  10985. +
  10986. +fi
  10987. +
  10988. +
  10989. +
  10990. +
  10991. +
  10992. + GNULIB_SIGPROCMASK=1
  10993. +
  10994. +
  10995. +
  10996. +
  10997. +
  10998. +$as_echo "#define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
  10999. +
  11000. +
  11001. +
  11002. +
  11003. +
  11004. +
  11005. + STDDEF_H=
  11006. + if test $gt_cv_c_wchar_t = no; then
  11007. + HAVE_WCHAR_T=0
  11008. + STDDEF_H=stddef.h
  11009. + fi
  11010. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
  11011. +$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
  11012. +if ${gl_cv_decl_null_works+:} false; then :
  11013. + $as_echo_n "(cached) " >&6
  11014. +else
  11015. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11016. +/* end confdefs.h. */
  11017. +#include <stddef.h>
  11018. + int test[2 * (sizeof NULL == sizeof (void *)) -1];
  11019. +
  11020. +int
  11021. +main ()
  11022. +{
  11023. +
  11024. + ;
  11025. + return 0;
  11026. +}
  11027. +_ACEOF
  11028. +if ac_fn_c_try_compile "$LINENO"; then :
  11029. + gl_cv_decl_null_works=yes
  11030. +else
  11031. + gl_cv_decl_null_works=no
  11032. +fi
  11033. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11034. +fi
  11035. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
  11036. +$as_echo "$gl_cv_decl_null_works" >&6; }
  11037. + if test $gl_cv_decl_null_works = no; then
  11038. + REPLACE_NULL=1
  11039. + STDDEF_H=stddef.h
  11040. + fi
  11041. +
  11042. + if test -n "$STDDEF_H"; then
  11043. + GL_GENERATE_STDDEF_H_TRUE=
  11044. + GL_GENERATE_STDDEF_H_FALSE='#'
  11045. +else
  11046. + GL_GENERATE_STDDEF_H_TRUE='#'
  11047. + GL_GENERATE_STDDEF_H_FALSE=
  11048. +fi
  11049. +
  11050. + if test -n "$STDDEF_H"; then
  11051. +
  11052. +
  11053. +
  11054. +
  11055. +
  11056. +
  11057. +
  11058. +
  11059. + if test $gl_cv_have_include_next = yes; then
  11060. + gl_cv_next_stddef_h='<'stddef.h'>'
  11061. + else
  11062. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
  11063. +$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
  11064. +if ${gl_cv_next_stddef_h+:} false; then :
  11065. + $as_echo_n "(cached) " >&6
  11066. +else
  11067. +
  11068. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11069. +/* end confdefs.h. */
  11070. +#include <stddef.h>
  11071. +
  11072. +_ACEOF
  11073. + case "$host_os" in
  11074. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  11075. + *) gl_absname_cpp="$ac_cpp" ;;
  11076. + esac
  11077. + gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  11078. + sed -n '\#/stddef.h#{
  11079. + s#.*"\(.*/stddef.h\)".*#\1#
  11080. + s#^/[^/]#//&#
  11081. + p
  11082. + q
  11083. + }'`'"'
  11084. +
  11085. +
  11086. +fi
  11087. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
  11088. +$as_echo "$gl_cv_next_stddef_h" >&6; }
  11089. + fi
  11090. + NEXT_STDDEF_H=$gl_cv_next_stddef_h
  11091. +
  11092. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  11093. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  11094. + gl_next_as_first_directive='<'stddef.h'>'
  11095. + else
  11096. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  11097. + gl_next_as_first_directive=$gl_cv_next_stddef_h
  11098. + fi
  11099. + NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
  11100. +
  11101. +
  11102. +
  11103. +
  11104. + fi
  11105. +
  11106. +
  11107. +
  11108. +
  11109. +
  11110. + # End of code from modules
  11111. +
  11112. +
  11113. +
  11114. +
  11115. +
  11116. +
  11117. +
  11118. +
  11119. +
  11120. + gltests_libdeps=
  11121. + gltests_ltlibdeps=
  11122. +
  11123. +
  11124. +
  11125. +
  11126. +
  11127. +
  11128. +
  11129. +
  11130. +
  11131. + gl_source_base='tests'
  11132. + gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
  11133. +
  11134. + gl_module_indicator_condition=$gltests_WITNESS
  11135. +
  11136. +
  11137. +
  11138. +
  11139. +
  11140. +
  11141. +
  11142. +
  11143. +
  11144. + LIBGNU_LIBDEPS="$gl_libdeps"
  11145. +
  11146. + LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
  11147. +
  11148. +
  11149. +
  11150. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  11151. +$as_echo_n "checking for ANSI C header files... " >&6; }
  11152. +if ${ac_cv_header_stdc+:} false; then :
  11153. + $as_echo_n "(cached) " >&6
  11154. +else
  11155. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11156. +/* end confdefs.h. */
  11157. +#include <stdlib.h>
  11158. +#include <stdarg.h>
  11159. +#include <string.h>
  11160. +#include <float.h>
  11161. +
  11162. +int
  11163. +main ()
  11164. +{
  11165. +
  11166. + ;
  11167. + return 0;
  11168. +}
  11169. +_ACEOF
  11170. +if ac_fn_c_try_compile "$LINENO"; then :
  11171. + ac_cv_header_stdc=yes
  11172. +else
  11173. + ac_cv_header_stdc=no
  11174. +fi
  11175. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11176. +
  11177. +if test $ac_cv_header_stdc = yes; then
  11178. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  11179. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11180. +/* end confdefs.h. */
  11181. +#include <string.h>
  11182. +
  11183. +_ACEOF
  11184. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11185. + $EGREP "memchr" >/dev/null 2>&1; then :
  11186. +
  11187. +else
  11188. + ac_cv_header_stdc=no
  11189. +fi
  11190. +rm -f conftest*
  11191. +
  11192. +fi
  11193. +
  11194. +if test $ac_cv_header_stdc = yes; then
  11195. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  11196. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11197. +/* end confdefs.h. */
  11198. +#include <stdlib.h>
  11199. +
  11200. +_ACEOF
  11201. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11202. + $EGREP "free" >/dev/null 2>&1; then :
  11203. +
  11204. +else
  11205. + ac_cv_header_stdc=no
  11206. +fi
  11207. +rm -f conftest*
  11208. +
  11209. +fi
  11210. +
  11211. +if test $ac_cv_header_stdc = yes; then
  11212. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  11213. + if test "$cross_compiling" = yes; then :
  11214. + :
  11215. +else
  11216. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11217. +/* end confdefs.h. */
  11218. +#include <ctype.h>
  11219. +#include <stdlib.h>
  11220. +#if ((' ' & 0x0FF) == 0x020)
  11221. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  11222. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  11223. +#else
  11224. +# define ISLOWER(c) \
  11225. + (('a' <= (c) && (c) <= 'i') \
  11226. + || ('j' <= (c) && (c) <= 'r') \
  11227. + || ('s' <= (c) && (c) <= 'z'))
  11228. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  11229. +#endif
  11230. +
  11231. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  11232. +int
  11233. +main ()
  11234. +{
  11235. + int i;
  11236. + for (i = 0; i < 256; i++)
  11237. + if (XOR (islower (i), ISLOWER (i))
  11238. + || toupper (i) != TOUPPER (i))
  11239. + return 2;
  11240. + return 0;
  11241. +}
  11242. +_ACEOF
  11243. +if ac_fn_c_try_run "$LINENO"; then :
  11244. +
  11245. +else
  11246. + ac_cv_header_stdc=no
  11247. +fi
  11248. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11249. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11250. +fi
  11251. +
  11252. +fi
  11253. +fi
  11254. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  11255. +$as_echo "$ac_cv_header_stdc" >&6; }
  11256. +if test $ac_cv_header_stdc = yes; then
  11257. +
  11258. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  11259. +
  11260. +fi
  11261. +
  11262. +for ac_header in syslog.h
  11263. +do :
  11264. + ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
  11265. +if test "x$ac_cv_header_syslog_h" = xyes; then :
  11266. + cat >>confdefs.h <<_ACEOF
  11267. +#define HAVE_SYSLOG_H 1
  11268. +_ACEOF
  11269. +
  11270. +fi
  11271. +
  11272. +done
  11273. +
  11274. +
  11275. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  11276. +if test "x$ac_cv_type_size_t" = xyes; then :
  11277. +
  11278. +else
  11279. +
  11280. +cat >>confdefs.h <<_ACEOF
  11281. +#define size_t unsigned int
  11282. +_ACEOF
  11283. +
  11284. +fi
  11285. +
  11286. +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  11287. +# for constant arguments. Useless!
  11288. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  11289. +$as_echo_n "checking for working alloca.h... " >&6; }
  11290. +if ${ac_cv_working_alloca_h+:} false; then :
  11291. + $as_echo_n "(cached) " >&6
  11292. +else
  11293. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11294. +/* end confdefs.h. */
  11295. +#include <alloca.h>
  11296. +int
  11297. +main ()
  11298. +{
  11299. +char *p = (char *) alloca (2 * sizeof (int));
  11300. + if (p) return 0;
  11301. + ;
  11302. + return 0;
  11303. +}
  11304. +_ACEOF
  11305. +if ac_fn_c_try_link "$LINENO"; then :
  11306. + ac_cv_working_alloca_h=yes
  11307. +else
  11308. + ac_cv_working_alloca_h=no
  11309. +fi
  11310. +rm -f core conftest.err conftest.$ac_objext \
  11311. + conftest$ac_exeext conftest.$ac_ext
  11312. +fi
  11313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  11314. +$as_echo "$ac_cv_working_alloca_h" >&6; }
  11315. +if test $ac_cv_working_alloca_h = yes; then
  11316. +
  11317. +$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
  11318. +
  11319. +fi
  11320. +
  11321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  11322. +$as_echo_n "checking for alloca... " >&6; }
  11323. +if ${ac_cv_func_alloca_works+:} false; then :
  11324. + $as_echo_n "(cached) " >&6
  11325. +else
  11326. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11327. +/* end confdefs.h. */
  11328. +#ifdef __GNUC__
  11329. +# define alloca __builtin_alloca
  11330. +#else
  11331. +# ifdef _MSC_VER
  11332. +# include <malloc.h>
  11333. +# define alloca _alloca
  11334. +# else
  11335. +# ifdef HAVE_ALLOCA_H
  11336. +# include <alloca.h>
  11337. +# else
  11338. +# ifdef _AIX
  11339. + #pragma alloca
  11340. +# else
  11341. +# ifndef alloca /* predefined by HP cc +Olibcalls */
  11342. +void *alloca (size_t);
  11343. +# endif
  11344. +# endif
  11345. +# endif
  11346. +# endif
  11347. +#endif
  11348. +
  11349. +int
  11350. +main ()
  11351. +{
  11352. +char *p = (char *) alloca (1);
  11353. + if (p) return 0;
  11354. + ;
  11355. + return 0;
  11356. +}
  11357. +_ACEOF
  11358. +if ac_fn_c_try_link "$LINENO"; then :
  11359. + ac_cv_func_alloca_works=yes
  11360. +else
  11361. + ac_cv_func_alloca_works=no
  11362. +fi
  11363. +rm -f core conftest.err conftest.$ac_objext \
  11364. + conftest$ac_exeext conftest.$ac_ext
  11365. +fi
  11366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  11367. +$as_echo "$ac_cv_func_alloca_works" >&6; }
  11368. +
  11369. +if test $ac_cv_func_alloca_works = yes; then
  11370. +
  11371. +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
  11372. +
  11373. +else
  11374. + # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  11375. +# that cause trouble. Some versions do not even contain alloca or
  11376. +# contain a buggy version. If you still want to use their alloca,
  11377. +# use ar to extract alloca.o from them instead of compiling alloca.c.
  11378. +
  11379. +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  11380. +
  11381. +$as_echo "#define C_ALLOCA 1" >>confdefs.h
  11382. +
  11383. +
  11384. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  11385. +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  11386. +if ${ac_cv_os_cray+:} false; then :
  11387. + $as_echo_n "(cached) " >&6
  11388. +else
  11389. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11390. +/* end confdefs.h. */
  11391. +#if defined CRAY && ! defined CRAY2
  11392. +webecray
  11393. +#else
  11394. +wenotbecray
  11395. +#endif
  11396. +
  11397. +_ACEOF
  11398. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11399. + $EGREP "webecray" >/dev/null 2>&1; then :
  11400. + ac_cv_os_cray=yes
  11401. +else
  11402. + ac_cv_os_cray=no
  11403. +fi
  11404. +rm -f conftest*
  11405. +
  11406. +fi
  11407. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  11408. +$as_echo "$ac_cv_os_cray" >&6; }
  11409. +if test $ac_cv_os_cray = yes; then
  11410. + for ac_func in _getb67 GETB67 getb67; do
  11411. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11412. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11413. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11414. +
  11415. +cat >>confdefs.h <<_ACEOF
  11416. +#define CRAY_STACKSEG_END $ac_func
  11417. +_ACEOF
  11418. +
  11419. + break
  11420. +fi
  11421. +
  11422. + done
  11423. +fi
  11424. +
  11425. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  11426. +$as_echo_n "checking stack direction for C alloca... " >&6; }
  11427. +if ${ac_cv_c_stack_direction+:} false; then :
  11428. + $as_echo_n "(cached) " >&6
  11429. +else
  11430. + if test "$cross_compiling" = yes; then :
  11431. + ac_cv_c_stack_direction=0
  11432. +else
  11433. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11434. +/* end confdefs.h. */
  11435. +$ac_includes_default
  11436. +int
  11437. +find_stack_direction ()
  11438. +{
  11439. + static char *addr = 0;
  11440. + auto char dummy;
  11441. + if (addr == 0)
  11442. + {
  11443. + addr = &dummy;
  11444. + return find_stack_direction ();
  11445. + }
  11446. + else
  11447. + return (&dummy > addr) ? 1 : -1;
  11448. +}
  11449. +
  11450. +int
  11451. +main ()
  11452. +{
  11453. + return find_stack_direction () < 0;
  11454. +}
  11455. +_ACEOF
  11456. +if ac_fn_c_try_run "$LINENO"; then :
  11457. + ac_cv_c_stack_direction=1
  11458. +else
  11459. + ac_cv_c_stack_direction=-1
  11460. +fi
  11461. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11462. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11463. +fi
  11464. +
  11465. +fi
  11466. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  11467. +$as_echo "$ac_cv_c_stack_direction" >&6; }
  11468. +cat >>confdefs.h <<_ACEOF
  11469. +#define STACK_DIRECTION $ac_cv_c_stack_direction
  11470. +_ACEOF
  11471. +
  11472. +
  11473. +fi
  11474. +
  11475. +
  11476. +have_win32=false
  11477. +PTHREAD_FLAGS="-lpthread"
  11478. +USB_LIBS=""
  11479. +USB_FLAGS=""
  11480. +DLOPEN_FLAGS="-ldl"
  11481. +OPENCL_LIBS="-lOpenCL"
  11482. +WS2_LIBS=""
  11483. +MATH_LIBS="-lm"
  11484. +
  11485. +case $target in
  11486. + x86_64-*)
  11487. + have_x86_64=true
  11488. + ;;
  11489. + *)
  11490. + have_x86_64=false
  11491. + ;;
  11492. +esac
  11493. +
  11494. +case $target in
  11495. + x86_64-w64-mingw32)
  11496. + have_x86_64=true
  11497. + have_win32=true
  11498. + PTHREAD_FLAGS=""
  11499. + DLOPEN_FLAGS=""
  11500. + WS2_LIBS="-lws2_32"
  11501. + ;;
  11502. + *-*-mingw*)
  11503. + have_x86_64=false
  11504. + have_win32=true
  11505. + PTHREAD_FLAGS=""
  11506. + DLOPEN_FLAGS=""
  11507. + WS2_LIBS="-lws2_32"
  11508. + ;;
  11509. + powerpc-*-darwin*)
  11510. + CFLAGS="$CFLAGS -faltivec"
  11511. + OPENCL_LIBS=""
  11512. + PTHREAD_FLAGS=""
  11513. + ;;
  11514. + *-*-darwin*)
  11515. + OPENCL_LIBS="-framework OpenCL"
  11516. + PTHREAD_FLAGS=""
  11517. + ;;
  11518. +esac
  11519. +
  11520. +if test "x$ATISTREAMSDKROOT" != x; then
  11521. + if test "x$have_x86_64" = xtrue; then
  11522. + ATI_STREAM_ARCH_DIR=x86_64
  11523. + else
  11524. + ATI_STREAM_ARCH_DIR=x86
  11525. + fi
  11526. + OPENCL_FLAGS="-I$ATISTREAMSDKROOT/include $OPENCL_FLAGS"
  11527. + OPENCL_LIBS="-L$ATISTREAMSDKROOT/lib/$ATI_STREAM_ARCH_DIR $OPENCL_LIBS"
  11528. +fi
  11529. +
  11530. +cpumining="no"
  11531. +
  11532. +# Check whether --enable-cpumining was given.
  11533. +if test "${enable_cpumining+set}" = set; then :
  11534. + enableval=$enable_cpumining; cpumining=$enableval
  11535. +
  11536. +fi
  11537. +
  11538. +if test "x$cpumining" = xyes; then
  11539. +
  11540. +cat >>confdefs.h <<_ACEOF
  11541. +#define WANT_CPUMINE 1
  11542. +_ACEOF
  11543. +
  11544. +fi
  11545. + if test x$cpumining = xyes; then
  11546. + HAS_CPUMINE_TRUE=
  11547. + HAS_CPUMINE_FALSE='#'
  11548. +else
  11549. + HAS_CPUMINE_TRUE='#'
  11550. + HAS_CPUMINE_FALSE=
  11551. +fi
  11552. +
  11553. +
  11554. +opencl="yes"
  11555. +
  11556. +# Check whether --enable-opencl was given.
  11557. +if test "${enable_opencl+set}" = set; then :
  11558. + enableval=$enable_opencl; opencl=$enableval
  11559. +
  11560. +fi
  11561. +
  11562. +if test "x$opencl" != xno; then
  11563. + # Check for OpenCL (the long way needed on mingw32 due to calling conventions)
  11564. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenCL" >&5
  11565. +$as_echo_n "checking for OpenCL... " >&6; }
  11566. + SAVED_LIBS=$LIBS
  11567. + SAVED_CFLAGS=$CFLAGS
  11568. + LIBS="$LIBS $OPENCL_LIBS"
  11569. + CFLAGS="$CFLAGS $OPENCL_FLAGS"
  11570. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11571. +/* end confdefs.h. */
  11572. +
  11573. + #ifdef __APPLE_CC__
  11574. + #include <OpenCL/opencl.h>
  11575. + #else
  11576. + #include <CL/cl.h>
  11577. + #endif
  11578. +
  11579. +int
  11580. +main ()
  11581. +{
  11582. +return clSetKernelArg(0, 0, 0, 0);
  11583. + ;
  11584. + return 0;
  11585. +}
  11586. +_ACEOF
  11587. +if ac_fn_c_try_link "$LINENO"; then :
  11588. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11589. +$as_echo "yes" >&6; }
  11590. +
  11591. +$as_echo "#define HAVE_OPENCL 1" >>confdefs.h
  11592. +
  11593. + found_opencl=1
  11594. +
  11595. +else
  11596. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11597. +$as_echo "no" >&6; }
  11598. + OPENCL_FLAGS=
  11599. + OPENCL_LIBS=
  11600. + found_opencl=0
  11601. +fi
  11602. +rm -f core conftest.err conftest.$ac_objext \
  11603. + conftest$ac_exeext conftest.$ac_ext
  11604. + LIBS=$SAVED_LIBS
  11605. + CFLAGS=$SAVED_CFLAGS
  11606. +else
  11607. + OPENCL_FLAGS=""
  11608. + OPENCL_LIBS=""
  11609. +fi
  11610. +
  11611. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  11612. +$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  11613. +if ${ac_cv_lib_pthread_pthread_create+:} false; then :
  11614. + $as_echo_n "(cached) " >&6
  11615. +else
  11616. + ac_check_lib_save_LIBS=$LIBS
  11617. +LIBS="-lpthread $LIBS"
  11618. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11619. +/* end confdefs.h. */
  11620. +
  11621. +/* Override any GCC internal prototype to avoid an error.
  11622. + Use char because int might match the return type of a GCC
  11623. + builtin and then its argument prototype would still apply. */
  11624. +#ifdef __cplusplus
  11625. +extern "C"
  11626. +#endif
  11627. +char pthread_create ();
  11628. +int
  11629. +main ()
  11630. +{
  11631. +return pthread_create ();
  11632. + ;
  11633. + return 0;
  11634. +}
  11635. +_ACEOF
  11636. +if ac_fn_c_try_link "$LINENO"; then :
  11637. + ac_cv_lib_pthread_pthread_create=yes
  11638. +else
  11639. + ac_cv_lib_pthread_pthread_create=no
  11640. +fi
  11641. +rm -f core conftest.err conftest.$ac_objext \
  11642. + conftest$ac_exeext conftest.$ac_ext
  11643. +LIBS=$ac_check_lib_save_LIBS
  11644. +fi
  11645. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  11646. +$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  11647. +if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
  11648. + cat >>confdefs.h <<_ACEOF
  11649. +#define HAVE_LIBPTHREAD 1
  11650. +_ACEOF
  11651. +
  11652. + LIBS="-lpthread $LIBS"
  11653. +
  11654. +else
  11655. + as_fn_error $? "Could not find pthread library - please install libpthread" "$LINENO" 5
  11656. +fi
  11657. +
  11658. +PTHREAD_LIBS=-lpthread
  11659. +
  11660. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for json_loads in -ljansson" >&5
  11661. +$as_echo_n "checking for json_loads in -ljansson... " >&6; }
  11662. +if ${ac_cv_lib_jansson_json_loads+:} false; then :
  11663. + $as_echo_n "(cached) " >&6
  11664. +else
  11665. + ac_check_lib_save_LIBS=$LIBS
  11666. +LIBS="-ljansson $LIBS"
  11667. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11668. +/* end confdefs.h. */
  11669. +
  11670. +/* Override any GCC internal prototype to avoid an error.
  11671. + Use char because int might match the return type of a GCC
  11672. + builtin and then its argument prototype would still apply. */
  11673. +#ifdef __cplusplus
  11674. +extern "C"
  11675. +#endif
  11676. +char json_loads ();
  11677. +int
  11678. +main ()
  11679. +{
  11680. +return json_loads ();
  11681. + ;
  11682. + return 0;
  11683. +}
  11684. +_ACEOF
  11685. +if ac_fn_c_try_link "$LINENO"; then :
  11686. + ac_cv_lib_jansson_json_loads=yes
  11687. +else
  11688. + ac_cv_lib_jansson_json_loads=no
  11689. +fi
  11690. +rm -f core conftest.err conftest.$ac_objext \
  11691. + conftest$ac_exeext conftest.$ac_ext
  11692. +LIBS=$ac_check_lib_save_LIBS
  11693. +fi
  11694. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jansson_json_loads" >&5
  11695. +$as_echo "$ac_cv_lib_jansson_json_loads" >&6; }
  11696. +if test "x$ac_cv_lib_jansson_json_loads" = xyes; then :
  11697. + request_jansson=false
  11698. +else
  11699. + request_jansson=true
  11700. +fi
  11701. +
  11702. +
  11703. +# Check whether --enable-adl was given.
  11704. +if test "${enable_adl+set}" = set; then :
  11705. + enableval=$enable_adl; adl=$enableval
  11706. +
  11707. +fi
  11708. +
  11709. +
  11710. +if test "$found_opencl" = 1; then
  11711. + if test "x$adl" != xno; then
  11712. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_SDK/adl_sdk.h" >&5
  11713. +$as_echo_n "checking for ADL_SDK/adl_sdk.h... " >&6; }
  11714. +if ${ac_cv_file_ADL_SDK_adl_sdk_h+:} false; then :
  11715. + $as_echo_n "(cached) " >&6
  11716. +else
  11717. + test "$cross_compiling" = yes &&
  11718. + as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
  11719. +if test -r "ADL_SDK/adl_sdk.h"; then
  11720. + ac_cv_file_ADL_SDK_adl_sdk_h=yes
  11721. +else
  11722. + ac_cv_file_ADL_SDK_adl_sdk_h=no
  11723. +fi
  11724. +fi
  11725. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_ADL_SDK_adl_sdk_h" >&5
  11726. +$as_echo "$ac_cv_file_ADL_SDK_adl_sdk_h" >&6; }
  11727. +if test "x$ac_cv_file_ADL_SDK_adl_sdk_h" = xyes; then :
  11728. + have_adl=true
  11729. +else
  11730. + have_adl=false
  11731. +fi
  11732. +
  11733. + if test x$have_adl = xtrue
  11734. + then
  11735. +
  11736. +$as_echo "#define HAVE_ADL 1" >>confdefs.h
  11737. +
  11738. + else
  11739. + DLOPEN_FLAGS=""
  11740. + fi
  11741. + fi
  11742. +else
  11743. + DLOPEN_FLAGS=""
  11744. +fi
  11745. +
  11746. +bitforce="no"
  11747. +
  11748. +# Check whether --enable-bitforce was given.
  11749. +if test "${enable_bitforce+set}" = set; then :
  11750. + enableval=$enable_bitforce; bitforce=$enableval
  11751. +
  11752. +fi
  11753. +
  11754. +if test "x$bitforce" = xyes; then
  11755. +
  11756. +$as_echo "#define USE_BITFORCE 1" >>confdefs.h
  11757. +
  11758. +fi
  11759. + if test x$bitforce = xyes; then
  11760. + HAS_BITFORCE_TRUE=
  11761. + HAS_BITFORCE_FALSE='#'
  11762. +else
  11763. + HAS_BITFORCE_TRUE='#'
  11764. + HAS_BITFORCE_FALSE=
  11765. +fi
  11766. +
  11767. +
  11768. +icarus="no"
  11769. +
  11770. +# Check whether --enable-icarus was given.
  11771. +if test "${enable_icarus+set}" = set; then :
  11772. + enableval=$enable_icarus; icarus=$enableval
  11773. +
  11774. +fi
  11775. +
  11776. +if test "x$icarus" = xyes; then
  11777. +
  11778. +$as_echo "#define USE_ICARUS 1" >>confdefs.h
  11779. +
  11780. +fi
  11781. + if test x$icarus = xyes; then
  11782. + HAS_ICARUS_TRUE=
  11783. + HAS_ICARUS_FALSE='#'
  11784. +else
  11785. + HAS_ICARUS_TRUE='#'
  11786. + HAS_ICARUS_FALSE=
  11787. +fi
  11788. +
  11789. +
  11790. +ztex="no"
  11791. +
  11792. +# Check whether --enable-ztex was given.
  11793. +if test "${enable_ztex+set}" = set; then :
  11794. + enableval=$enable_ztex; ztex=$enableval
  11795. +
  11796. +fi
  11797. +
  11798. +if test "x$ztex" = xyes; then
  11799. +
  11800. +$as_echo "#define USE_ZTEX 1" >>confdefs.h
  11801. +
  11802. +fi
  11803. + if test x$ztex = xyes; then
  11804. + HAS_ZTEX_TRUE=
  11805. + HAS_ZTEX_FALSE='#'
  11806. +else
  11807. + HAS_ZTEX_TRUE='#'
  11808. + HAS_ZTEX_FALSE=
  11809. +fi
  11810. +
  11811. +
  11812. +curses="auto"
  11813. +
  11814. +
  11815. +# Check whether --with-curses was given.
  11816. +if test "${with_curses+set}" = set; then :
  11817. + withval=$with_curses; curses=$withval
  11818. +
  11819. +fi
  11820. +
  11821. +if test "x$curses" = "xno"; then
  11822. + cursesmsg='User specified --without-curses. TUI support DISABLED'
  11823. +else
  11824. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing addstr" >&5
  11825. +$as_echo_n "checking for library containing addstr... " >&6; }
  11826. +if ${ac_cv_search_addstr+:} false; then :
  11827. + $as_echo_n "(cached) " >&6
  11828. +else
  11829. + ac_func_search_save_LIBS=$LIBS
  11830. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11831. +/* end confdefs.h. */
  11832. +
  11833. +/* Override any GCC internal prototype to avoid an error.
  11834. + Use char because int might match the return type of a GCC
  11835. + builtin and then its argument prototype would still apply. */
  11836. +#ifdef __cplusplus
  11837. +extern "C"
  11838. +#endif
  11839. +char addstr ();
  11840. +int
  11841. +main ()
  11842. +{
  11843. +return addstr ();
  11844. + ;
  11845. + return 0;
  11846. +}
  11847. +_ACEOF
  11848. +for ac_lib in '' ncurses pdcurses; do
  11849. + if test -z "$ac_lib"; then
  11850. + ac_res="none required"
  11851. + else
  11852. + ac_res=-l$ac_lib
  11853. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  11854. + fi
  11855. + if ac_fn_c_try_link "$LINENO"; then :
  11856. + ac_cv_search_addstr=$ac_res
  11857. +fi
  11858. +rm -f core conftest.err conftest.$ac_objext \
  11859. + conftest$ac_exeext
  11860. + if ${ac_cv_search_addstr+:} false; then :
  11861. + break
  11862. +fi
  11863. +done
  11864. +if ${ac_cv_search_addstr+:} false; then :
  11865. +
  11866. +else
  11867. + ac_cv_search_addstr=no
  11868. +fi
  11869. +rm conftest.$ac_ext
  11870. +LIBS=$ac_func_search_save_LIBS
  11871. +fi
  11872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_addstr" >&5
  11873. +$as_echo "$ac_cv_search_addstr" >&6; }
  11874. +ac_res=$ac_cv_search_addstr
  11875. +if test "$ac_res" != no; then :
  11876. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  11877. +
  11878. + curses=yes
  11879. + cursesmsg="FOUND: ${ac_cv_search_addstr:2}"
  11880. +
  11881. +$as_echo "#define HAVE_CURSES 1" >>confdefs.h
  11882. +
  11883. +
  11884. +else
  11885. +
  11886. + if test "x$curses" = "xyes"; then
  11887. + as_fn_error $? "Could not find curses library - please install libncurses-dev or pdcurses-dev (or configure --without-curses)" "$LINENO" 5
  11888. + else
  11889. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find curses library - if you want a TUI, install libncurses-dev or pdcurses-dev" >&5
  11890. +$as_echo "$as_me: WARNING: Could not find curses library - if you want a TUI, install libncurses-dev or pdcurses-dev" >&2;}
  11891. + curses=no
  11892. + cursesmsg='NOT FOUND. TUI support DISABLED'
  11893. + fi
  11894. +
  11895. +fi
  11896. +
  11897. +fi
  11898. +
  11899. +
  11900. + if test x$curses = xyes; then
  11901. + HAVE_CURSES_TRUE=
  11902. + HAVE_CURSES_FALSE='#'
  11903. +else
  11904. + HAVE_CURSES_TRUE='#'
  11905. + HAVE_CURSES_FALSE=
  11906. +fi
  11907. +
  11908. + if test x$request_jansson = xtrue; then
  11909. + WANT_JANSSON_TRUE=
  11910. + WANT_JANSSON_FALSE='#'
  11911. +else
  11912. + WANT_JANSSON_TRUE='#'
  11913. + WANT_JANSSON_FALSE=
  11914. +fi
  11915. +
  11916. + if test x$have_win32 = xtrue; then
  11917. + HAVE_WINDOWS_TRUE=
  11918. + HAVE_WINDOWS_FALSE='#'
  11919. +else
  11920. + HAVE_WINDOWS_TRUE='#'
  11921. + HAVE_WINDOWS_FALSE=
  11922. +fi
  11923. +
  11924. + if test x$have_x86_64 = xtrue; then
  11925. + HAVE_x86_64_TRUE=
  11926. + HAVE_x86_64_FALSE='#'
  11927. +else
  11928. + HAVE_x86_64_TRUE='#'
  11929. + HAVE_x86_64_FALSE=
  11930. +fi
  11931. +
  11932. +
  11933. +if test x$request_jansson = xtrue
  11934. +then
  11935. + JANSSON_LIBS="compat/jansson/libjansson.a"
  11936. +else
  11937. + JANSSON_LIBS=-ljansson
  11938. +fi
  11939. +
  11940. +has_yasm=false
  11941. +# Extract the first word of "yasm", so it can be a program name with args.
  11942. +set dummy yasm; ac_word=$2
  11943. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11944. +$as_echo_n "checking for $ac_word... " >&6; }
  11945. +if ${ac_cv_path_YASM+:} false; then :
  11946. + $as_echo_n "(cached) " >&6
  11947. +else
  11948. + case $YASM in
  11949. + [\\/]* | ?:[\\/]*)
  11950. + ac_cv_path_YASM="$YASM" # Let the user override the test with a path.
  11951. + ;;
  11952. + *)
  11953. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11954. +for as_dir in $PATH
  11955. +do
  11956. + IFS=$as_save_IFS
  11957. + test -z "$as_dir" && as_dir=.
  11958. + for ac_exec_ext in '' $ac_executable_extensions; do
  11959. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11960. + ac_cv_path_YASM="$as_dir/$ac_word$ac_exec_ext"
  11961. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11962. + break 2
  11963. + fi
  11964. +done
  11965. + done
  11966. +IFS=$as_save_IFS
  11967. +
  11968. + test -z "$ac_cv_path_YASM" && ac_cv_path_YASM="false"
  11969. + ;;
  11970. +esac
  11971. +fi
  11972. +YASM=$ac_cv_path_YASM
  11973. +if test -n "$YASM"; then
  11974. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YASM" >&5
  11975. +$as_echo "$YASM" >&6; }
  11976. +else
  11977. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11978. +$as_echo "no" >&6; }
  11979. +fi
  11980. +
  11981. +
  11982. +if test "x$YASM" != "xfalse" ; then
  11983. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if yasm version is greater than 1.0.1" >&5
  11984. +$as_echo_n "checking if yasm version is greater than 1.0.1... " >&6; }
  11985. + yasmver=`yasm --version | head -1 | cut -d\ -f2`
  11986. + yamajor=`echo $yasmver | cut -d. -f1`
  11987. + yaminor=`echo $yasmver | cut -d. -f2`
  11988. + yamini=`echo $yasmver | cut -d. -f3`
  11989. + if test "$yamajor" -ge "1" ; then
  11990. + if test "$yamajor" -eq "1" ; then
  11991. + if test "$yaminor" -ge "0" ; then
  11992. + if test "$yaminor" -eq "0"; then
  11993. + if test "$yamini" -ge "1"; then
  11994. + has_yasm=true
  11995. + fi
  11996. + else
  11997. + has_yasm=true
  11998. + fi
  11999. + fi
  12000. + fi
  12001. + else
  12002. + has_yasm=false
  12003. + fi
  12004. + if test "x$has_yasm" = "xtrue" ; then
  12005. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12006. +$as_echo "yes" >&6; }
  12007. + else
  12008. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12009. +$as_echo "no" >&6; }
  12010. + fi
  12011. +fi
  12012. +if test "x$has_yasm" = "xfalse" ; then
  12013. + { $as_echo "$as_me:${as_lineno-$LINENO}: yasm is required for the assembly algorithms. They will be skipped." >&5
  12014. +$as_echo "$as_me: yasm is required for the assembly algorithms. They will be skipped." >&6;}
  12015. +fi
  12016. +
  12017. + if test x$has_yasm = xtrue; then
  12018. + HAS_YASM_TRUE=
  12019. + HAS_YASM_FALSE='#'
  12020. +else
  12021. + HAS_YASM_TRUE='#'
  12022. + HAS_YASM_FALSE=
  12023. +fi
  12024. +
  12025. +
  12026. +if test "x$bitforce" != xno; then
  12027. +
  12028. +# Check whether --with-libudev was given.
  12029. +if test "${with_libudev+set}" = set; then :
  12030. + withval=$with_libudev; libudev=$withval
  12031. +else
  12032. + libudev=auto
  12033. +
  12034. +fi
  12035. +
  12036. + if test "x$libudev" != "xno"; then
  12037. + ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  12038. +if test "x$ac_cv_header_libudev_h" = xyes; then :
  12039. +
  12040. + libudev=yes
  12041. + UDEV_LIBS=-ludev
  12042. +
  12043. +$as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
  12044. +
  12045. +
  12046. +else
  12047. +
  12048. + if test "x$libudev" = "xyes"; then
  12049. + as_fn_error $? "libudev not found" "$LINENO" 5
  12050. + fi
  12051. + libudev=no
  12052. +
  12053. +fi
  12054. +
  12055. +
  12056. + fi
  12057. +fi
  12058. + if test x$libudev != xno; then
  12059. + HAVE_LIBUDEV_TRUE=
  12060. + HAVE_LIBUDEV_FALSE='#'
  12061. +else
  12062. + HAVE_LIBUDEV_TRUE='#'
  12063. + HAVE_LIBUDEV_FALSE=
  12064. +fi
  12065. +
  12066. +
  12067. +if test "x$ztex" != xno; then
  12068. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_init in -lusb-1.0" >&5
  12069. +$as_echo_n "checking for libusb_init in -lusb-1.0... " >&6; }
  12070. +if ${ac_cv_lib_usb_1_0_libusb_init+:} false; then :
  12071. + $as_echo_n "(cached) " >&6
  12072. +else
  12073. + ac_check_lib_save_LIBS=$LIBS
  12074. +LIBS="-lusb-1.0 $LIBS"
  12075. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12076. +/* end confdefs.h. */
  12077. +
  12078. +/* Override any GCC internal prototype to avoid an error.
  12079. + Use char because int might match the return type of a GCC
  12080. + builtin and then its argument prototype would still apply. */
  12081. +#ifdef __cplusplus
  12082. +extern "C"
  12083. +#endif
  12084. +char libusb_init ();
  12085. +int
  12086. +main ()
  12087. +{
  12088. +return libusb_init ();
  12089. + ;
  12090. + return 0;
  12091. +}
  12092. +_ACEOF
  12093. +if ac_fn_c_try_link "$LINENO"; then :
  12094. + ac_cv_lib_usb_1_0_libusb_init=yes
  12095. +else
  12096. + ac_cv_lib_usb_1_0_libusb_init=no
  12097. +fi
  12098. +rm -f core conftest.err conftest.$ac_objext \
  12099. + conftest$ac_exeext conftest.$ac_ext
  12100. +LIBS=$ac_check_lib_save_LIBS
  12101. +fi
  12102. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_init" >&5
  12103. +$as_echo "$ac_cv_lib_usb_1_0_libusb_init" >&6; }
  12104. +if test "x$ac_cv_lib_usb_1_0_libusb_init" = xyes; then :
  12105. + cat >>confdefs.h <<_ACEOF
  12106. +#define HAVE_LIBUSB_1_0 1
  12107. +_ACEOF
  12108. +
  12109. + LIBS="-lusb-1.0 $LIBS"
  12110. +
  12111. +else
  12112. + as_fn_error $? "Could not find usb library - please install libusb" "$LINENO" 5
  12113. +fi
  12114. +
  12115. +
  12116. +$as_echo "#define HAVE_LIBUSB 1" >>confdefs.h
  12117. +
  12118. + USB_LIBS="-lusb-1.0"
  12119. + USB_FLAGS=""
  12120. +fi
  12121. +
  12122. +
  12123. +
  12124. +
  12125. +
  12126. +
  12127. +
  12128. +
  12129. +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  12130. + if test -n "$ac_tool_prefix"; then
  12131. + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  12132. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  12133. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12134. +$as_echo_n "checking for $ac_word... " >&6; }
  12135. +if ${ac_cv_path_PKG_CONFIG+:} false; then :
  12136. + $as_echo_n "(cached) " >&6
  12137. +else
  12138. + case $PKG_CONFIG in
  12139. + [\\/]* | ?:[\\/]*)
  12140. + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  12141. + ;;
  12142. + *)
  12143. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12144. +for as_dir in $PATH
  12145. +do
  12146. + IFS=$as_save_IFS
  12147. + test -z "$as_dir" && as_dir=.
  12148. + for ac_exec_ext in '' $ac_executable_extensions; do
  12149. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12150. + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  12151. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12152. + break 2
  12153. + fi
  12154. +done
  12155. + done
  12156. +IFS=$as_save_IFS
  12157. +
  12158. + ;;
  12159. +esac
  12160. +fi
  12161. +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  12162. +if test -n "$PKG_CONFIG"; then
  12163. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  12164. +$as_echo "$PKG_CONFIG" >&6; }
  12165. +else
  12166. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12167. +$as_echo "no" >&6; }
  12168. +fi
  12169. +
  12170. +
  12171. +fi
  12172. +if test -z "$ac_cv_path_PKG_CONFIG"; then
  12173. + ac_pt_PKG_CONFIG=$PKG_CONFIG
  12174. + # Extract the first word of "pkg-config", so it can be a program name with args.
  12175. +set dummy pkg-config; ac_word=$2
  12176. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12177. +$as_echo_n "checking for $ac_word... " >&6; }
  12178. +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  12179. + $as_echo_n "(cached) " >&6
  12180. +else
  12181. + case $ac_pt_PKG_CONFIG in
  12182. + [\\/]* | ?:[\\/]*)
  12183. + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  12184. + ;;
  12185. + *)
  12186. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12187. +for as_dir in $PATH
  12188. +do
  12189. + IFS=$as_save_IFS
  12190. + test -z "$as_dir" && as_dir=.
  12191. + for ac_exec_ext in '' $ac_executable_extensions; do
  12192. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12193. + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  12194. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12195. + break 2
  12196. + fi
  12197. +done
  12198. + done
  12199. +IFS=$as_save_IFS
  12200. +
  12201. + ;;
  12202. +esac
  12203. +fi
  12204. +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  12205. +if test -n "$ac_pt_PKG_CONFIG"; then
  12206. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  12207. +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
  12208. +else
  12209. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12210. +$as_echo "no" >&6; }
  12211. +fi
  12212. +
  12213. + if test "x$ac_pt_PKG_CONFIG" = x; then
  12214. + PKG_CONFIG=""
  12215. + else
  12216. + case $cross_compiling:$ac_tool_warned in
  12217. +yes:)
  12218. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12219. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12220. +ac_tool_warned=yes ;;
  12221. +esac
  12222. + PKG_CONFIG=$ac_pt_PKG_CONFIG
  12223. + fi
  12224. +else
  12225. + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  12226. +fi
  12227. +
  12228. +fi
  12229. +if test -n "$PKG_CONFIG"; then
  12230. + _pkg_min_version=0.9.0
  12231. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  12232. +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  12233. + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  12234. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12235. +$as_echo "yes" >&6; }
  12236. + else
  12237. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12238. +$as_echo "no" >&6; }
  12239. + PKG_CONFIG=""
  12240. + fi
  12241. +fi
  12242. +
  12243. +
  12244. +pkg_failed=no
  12245. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
  12246. +$as_echo_n "checking for LIBCURL... " >&6; }
  12247. +
  12248. +if test -n "$LIBCURL_CFLAGS"; then
  12249. + pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS"
  12250. + elif test -n "$PKG_CONFIG"; then
  12251. + if test -n "$PKG_CONFIG" && \
  12252. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.15.6\""; } >&5
  12253. + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.15.6") 2>&5
  12254. + ac_status=$?
  12255. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12256. + test $ac_status = 0; }; then
  12257. + pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.15.6" 2>/dev/null`
  12258. + test "x$?" != "x0" && pkg_failed=yes
  12259. +else
  12260. + pkg_failed=yes
  12261. +fi
  12262. + else
  12263. + pkg_failed=untried
  12264. +fi
  12265. +if test -n "$LIBCURL_LIBS"; then
  12266. + pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS"
  12267. + elif test -n "$PKG_CONFIG"; then
  12268. + if test -n "$PKG_CONFIG" && \
  12269. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.15.6\""; } >&5
  12270. + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.15.6") 2>&5
  12271. + ac_status=$?
  12272. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12273. + test $ac_status = 0; }; then
  12274. + pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.6" 2>/dev/null`
  12275. + test "x$?" != "x0" && pkg_failed=yes
  12276. +else
  12277. + pkg_failed=yes
  12278. +fi
  12279. + else
  12280. + pkg_failed=untried
  12281. +fi
  12282. +
  12283. +
  12284. +
  12285. +if test $pkg_failed = yes; then
  12286. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12287. +$as_echo "no" >&6; }
  12288. +
  12289. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12290. + _pkg_short_errors_supported=yes
  12291. +else
  12292. + _pkg_short_errors_supported=no
  12293. +fi
  12294. + if test $_pkg_short_errors_supported = yes; then
  12295. + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.15.6" 2>&1`
  12296. + else
  12297. + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.15.6" 2>&1`
  12298. + fi
  12299. + # Put the nasty error message in config.log where it belongs
  12300. + echo "$LIBCURL_PKG_ERRORS" >&5
  12301. +
  12302. +
  12303. +pkg_failed=no
  12304. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
  12305. +$as_echo_n "checking for LIBCURL... " >&6; }
  12306. +
  12307. +if test -n "$LIBCURL_CFLAGS"; then
  12308. + pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS"
  12309. + elif test -n "$PKG_CONFIG"; then
  12310. + if test -n "$PKG_CONFIG" && \
  12311. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
  12312. + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
  12313. + ac_status=$?
  12314. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12315. + test $ac_status = 0; }; then
  12316. + pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.10.1" 2>/dev/null`
  12317. + test "x$?" != "x0" && pkg_failed=yes
  12318. +else
  12319. + pkg_failed=yes
  12320. +fi
  12321. + else
  12322. + pkg_failed=untried
  12323. +fi
  12324. +if test -n "$LIBCURL_LIBS"; then
  12325. + pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS"
  12326. + elif test -n "$PKG_CONFIG"; then
  12327. + if test -n "$PKG_CONFIG" && \
  12328. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
  12329. + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
  12330. + ac_status=$?
  12331. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12332. + test $ac_status = 0; }; then
  12333. + pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.10.1" 2>/dev/null`
  12334. + test "x$?" != "x0" && pkg_failed=yes
  12335. +else
  12336. + pkg_failed=yes
  12337. +fi
  12338. + else
  12339. + pkg_failed=untried
  12340. +fi
  12341. +
  12342. +
  12343. +
  12344. +if test $pkg_failed = yes; then
  12345. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12346. +$as_echo "no" >&6; }
  12347. +
  12348. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12349. + _pkg_short_errors_supported=yes
  12350. +else
  12351. + _pkg_short_errors_supported=no
  12352. +fi
  12353. + if test $_pkg_short_errors_supported = yes; then
  12354. + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
  12355. + else
  12356. + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
  12357. + fi
  12358. + # Put the nasty error message in config.log where it belongs
  12359. + echo "$LIBCURL_PKG_ERRORS" >&5
  12360. +
  12361. + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
  12362. +elif test $pkg_failed = untried; then
  12363. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12364. +$as_echo "no" >&6; }
  12365. + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
  12366. +else
  12367. + LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS
  12368. + LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS
  12369. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12370. +$as_echo "yes" >&6; }
  12371. +
  12372. +fi
  12373. +elif test $pkg_failed = untried; then
  12374. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12375. +$as_echo "no" >&6; }
  12376. +
  12377. +pkg_failed=no
  12378. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
  12379. +$as_echo_n "checking for LIBCURL... " >&6; }
  12380. +
  12381. +if test -n "$LIBCURL_CFLAGS"; then
  12382. + pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS"
  12383. + elif test -n "$PKG_CONFIG"; then
  12384. + if test -n "$PKG_CONFIG" && \
  12385. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
  12386. + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
  12387. + ac_status=$?
  12388. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12389. + test $ac_status = 0; }; then
  12390. + pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.10.1" 2>/dev/null`
  12391. + test "x$?" != "x0" && pkg_failed=yes
  12392. +else
  12393. + pkg_failed=yes
  12394. +fi
  12395. + else
  12396. + pkg_failed=untried
  12397. +fi
  12398. +if test -n "$LIBCURL_LIBS"; then
  12399. + pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS"
  12400. + elif test -n "$PKG_CONFIG"; then
  12401. + if test -n "$PKG_CONFIG" && \
  12402. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
  12403. + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
  12404. + ac_status=$?
  12405. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12406. + test $ac_status = 0; }; then
  12407. + pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.10.1" 2>/dev/null`
  12408. + test "x$?" != "x0" && pkg_failed=yes
  12409. +else
  12410. + pkg_failed=yes
  12411. +fi
  12412. + else
  12413. + pkg_failed=untried
  12414. +fi
  12415. +
  12416. +
  12417. +
  12418. +if test $pkg_failed = yes; then
  12419. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12420. +$as_echo "no" >&6; }
  12421. +
  12422. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12423. + _pkg_short_errors_supported=yes
  12424. +else
  12425. + _pkg_short_errors_supported=no
  12426. +fi
  12427. + if test $_pkg_short_errors_supported = yes; then
  12428. + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
  12429. + else
  12430. + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
  12431. + fi
  12432. + # Put the nasty error message in config.log where it belongs
  12433. + echo "$LIBCURL_PKG_ERRORS" >&5
  12434. +
  12435. + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
  12436. +elif test $pkg_failed = untried; then
  12437. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12438. +$as_echo "no" >&6; }
  12439. + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
  12440. +else
  12441. + LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS
  12442. + LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS
  12443. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12444. +$as_echo "yes" >&6; }
  12445. +
  12446. +fi
  12447. +else
  12448. + LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS
  12449. + LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS
  12450. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12451. +$as_echo "yes" >&6; }
  12452. +
  12453. +$as_echo "#define CURL_HAS_SOCKOPT 1" >>confdefs.h
  12454. +
  12455. +fi
  12456. +
  12457. +
  12458. +# All the configuration checks. Regrettably, the __attribute__ checks will
  12459. +# give false positives on old GCCs, since they just cause warnings. But that's
  12460. +# fairly harmless.
  12461. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12462. +/* end confdefs.h. */
  12463. +static void __attribute__((cold)) cleanup(void) { }
  12464. +_ACEOF
  12465. +if ac_fn_c_try_compile "$LINENO"; then :
  12466. +
  12467. +$as_echo "#define HAVE_ATTRIBUTE_COLD 1" >>confdefs.h
  12468. +
  12469. +fi
  12470. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12471. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12472. +/* end confdefs.h. */
  12473. +static void __attribute__((const)) cleanup(void) { }
  12474. +_ACEOF
  12475. +if ac_fn_c_try_compile "$LINENO"; then :
  12476. +
  12477. +$as_echo "#define HAVE_ATTRIBUTE_CONST 1" >>confdefs.h
  12478. +
  12479. +fi
  12480. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12481. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12482. +/* end confdefs.h. */
  12483. +static void __attribute__((noreturn)) cleanup(void) { exit(1); }
  12484. +_ACEOF
  12485. +if ac_fn_c_try_compile "$LINENO"; then :
  12486. +
  12487. +$as_echo "#define HAVE_ATTRIBUTE_NORETURN 1" >>confdefs.h
  12488. +
  12489. +fi
  12490. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12491. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12492. +/* end confdefs.h. */
  12493. +static void __attribute__((format(__printf__, 1, 2))) cleanup(const char *fmt, ...) { }
  12494. +_ACEOF
  12495. +if ac_fn_c_try_compile "$LINENO"; then :
  12496. +
  12497. +$as_echo "#define HAVE_ATTRIBUTE_PRINTF 1" >>confdefs.h
  12498. +
  12499. +fi
  12500. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12501. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12502. +/* end confdefs.h. */
  12503. +static void __attribute__((unused)) cleanup(void) { }
  12504. +_ACEOF
  12505. +if ac_fn_c_try_compile "$LINENO"; then :
  12506. +
  12507. +$as_echo "#define HAVE_ATTRIBUTE_UNUSED 1" >>confdefs.h
  12508. +
  12509. +fi
  12510. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12511. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12512. +/* end confdefs.h. */
  12513. +static void __attribute__((used)) cleanup(void) { }
  12514. +_ACEOF
  12515. +if ac_fn_c_try_compile "$LINENO"; then :
  12516. +
  12517. +$as_echo "#define HAVE_ATTRIBUTE_USED 1" >>confdefs.h
  12518. +
  12519. +fi
  12520. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12521. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12522. +/* end confdefs.h. */
  12523. +int main(void) { return __builtin_constant_p(1) ? 0 : 1; }
  12524. +_ACEOF
  12525. +if ac_fn_c_try_link "$LINENO"; then :
  12526. +
  12527. +$as_echo "#define HAVE_BUILTIN_CONSTANT_P 1" >>confdefs.h
  12528. +
  12529. +fi
  12530. +rm -f core conftest.err conftest.$ac_objext \
  12531. + conftest$ac_exeext conftest.$ac_ext
  12532. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12533. +/* end confdefs.h. */
  12534. +int main(void) { return __builtin_types_compatible_p(char *, int) ? 1 : 0; }
  12535. +_ACEOF
  12536. +if ac_fn_c_try_link "$LINENO"; then :
  12537. +
  12538. +$as_echo "#define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1" >>confdefs.h
  12539. +
  12540. +fi
  12541. +rm -f core conftest.err conftest.$ac_objext \
  12542. + conftest$ac_exeext conftest.$ac_ext
  12543. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12544. +/* end confdefs.h. */
  12545. +static int __attribute__((warn_unused_result)) func(int x) { return x; }
  12546. +_ACEOF
  12547. +if ac_fn_c_try_compile "$LINENO"; then :
  12548. +
  12549. +$as_echo "#define HAVE_WARN_UNUSED_RESULT 1" >>confdefs.h
  12550. +
  12551. +fi
  12552. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12553. +
  12554. +if test "x$prefix" = xNONE; then
  12555. + prefix=/usr/local
  12556. +fi
  12557. +
  12558. +
  12559. +cat >>confdefs.h <<_ACEOF
  12560. +#define CGMINER_PREFIX "$prefix/bin"
  12561. +_ACEOF
  12562. +
  12563. +
  12564. +
  12565. +cat >>confdefs.h <<_ACEOF
  12566. +#define PHATK_KERNNAME "phatk120223"
  12567. +_ACEOF
  12568. +
  12569. +
  12570. +cat >>confdefs.h <<_ACEOF
  12571. +#define POCLBM_KERNNAME "poclbm120327"
  12572. +_ACEOF
  12573. +
  12574. +
  12575. +cat >>confdefs.h <<_ACEOF
  12576. +#define DIAKGCN_KERNNAME "diakgcn120427"
  12577. +_ACEOF
  12578. +
  12579. +
  12580. +cat >>confdefs.h <<_ACEOF
  12581. +#define DIABLO_KERNNAME "diablo120328"
  12582. +_ACEOF
  12583. +
  12584. +
  12585. +
  12586. +
  12587. +
  12588. +
  12589. +
  12590. +
  12591. +
  12592. +
  12593. +
  12594. +
  12595. +
  12596. +
  12597. +
  12598. +
  12599. +
  12600. +ac_config_files="$ac_config_files Makefile compat/Makefile compat/jansson/Makefile x86_64/Makefile x86_32/Makefile ccan/Makefile lib/Makefile"
  12601. +
  12602. +cat >confcache <<\_ACEOF
  12603. +# This file is a shell script that caches the results of configure
  12604. +# tests run on this system so they can be shared between configure
  12605. +# scripts and configure runs, see configure's option --config-cache.
  12606. +# It is not useful on other systems. If it contains results you don't
  12607. +# want to keep, you may remove or edit it.
  12608. +#
  12609. +# config.status only pays attention to the cache file if you give it
  12610. +# the --recheck option to rerun configure.
  12611. +#
  12612. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  12613. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  12614. +# following values.
  12615. +
  12616. +_ACEOF
  12617. +
  12618. +# The following way of writing the cache mishandles newlines in values,
  12619. +# but we know of no workaround that is simple, portable, and efficient.
  12620. +# So, we kill variables containing newlines.
  12621. +# Ultrix sh set writes to stderr and can't be redirected directly,
  12622. +# and sets the high bit in the cache file unless we assign to the vars.
  12623. +(
  12624. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  12625. + eval ac_val=\$$ac_var
  12626. + case $ac_val in #(
  12627. + *${as_nl}*)
  12628. + case $ac_var in #(
  12629. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  12630. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  12631. + esac
  12632. + case $ac_var in #(
  12633. + _ | IFS | as_nl) ;; #(
  12634. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  12635. + *) { eval $ac_var=; unset $ac_var;} ;;
  12636. + esac ;;
  12637. + esac
  12638. + done
  12639. +
  12640. + (set) 2>&1 |
  12641. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  12642. + *${as_nl}ac_space=\ *)
  12643. + # `set' does not quote correctly, so add quotes: double-quote
  12644. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  12645. + sed -n \
  12646. + "s/'/'\\\\''/g;
  12647. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  12648. + ;; #(
  12649. + *)
  12650. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  12651. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  12652. + ;;
  12653. + esac |
  12654. + sort
  12655. +) |
  12656. + sed '
  12657. + /^ac_cv_env_/b end
  12658. + t clear
  12659. + :clear
  12660. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  12661. + t end
  12662. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  12663. + :end' >>confcache
  12664. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  12665. + if test -w "$cache_file"; then
  12666. + if test "x$cache_file" != "x/dev/null"; then
  12667. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  12668. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  12669. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  12670. + cat confcache >"$cache_file"
  12671. + else
  12672. + case $cache_file in #(
  12673. + */* | ?:*)
  12674. + mv -f confcache "$cache_file"$$ &&
  12675. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  12676. + *)
  12677. + mv -f confcache "$cache_file" ;;
  12678. + esac
  12679. + fi
  12680. + fi
  12681. + else
  12682. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  12683. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  12684. + fi
  12685. +fi
  12686. +rm -f confcache
  12687. +
  12688. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  12689. +# Let make expand exec_prefix.
  12690. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  12691. +
  12692. +DEFS=-DHAVE_CONFIG_H
  12693. +
  12694. +ac_libobjs=
  12695. +ac_ltlibobjs=
  12696. +U=
  12697. +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  12698. + # 1. Remove the extension, and $U if already installed.
  12699. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  12700. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  12701. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  12702. + # will be set to the directory where LIBOBJS objects are built.
  12703. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  12704. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  12705. +done
  12706. +LIBOBJS=$ac_libobjs
  12707. +
  12708. +LTLIBOBJS=$ac_ltlibobjs
  12709. +
  12710. +
  12711. + if test -n "$EXEEXT"; then
  12712. + am__EXEEXT_TRUE=
  12713. + am__EXEEXT_FALSE='#'
  12714. +else
  12715. + am__EXEEXT_TRUE='#'
  12716. + am__EXEEXT_FALSE=
  12717. +fi
  12718. +
  12719. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  12720. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  12721. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12722. +fi
  12723. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  12724. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  12725. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12726. +fi
  12727. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  12728. + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  12729. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12730. +fi
  12731. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  12732. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  12733. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12734. +fi
  12735. +if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
  12736. + as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
  12737. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12738. +fi
  12739. +if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
  12740. + as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
  12741. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12742. +fi
  12743. +if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
  12744. + as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
  12745. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12746. +fi
  12747. +
  12748. + gl_libobjs=
  12749. + gl_ltlibobjs=
  12750. + if test -n "$gl_LIBOBJS"; then
  12751. + # Remove the extension.
  12752. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  12753. + for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  12754. + gl_libobjs="$gl_libobjs $i.$ac_objext"
  12755. + gl_ltlibobjs="$gl_ltlibobjs $i.lo"
  12756. + done
  12757. + fi
  12758. + gl_LIBOBJS=$gl_libobjs
  12759. +
  12760. + gl_LTLIBOBJS=$gl_ltlibobjs
  12761. +
  12762. +
  12763. +
  12764. + gltests_libobjs=
  12765. + gltests_ltlibobjs=
  12766. + if test -n "$gltests_LIBOBJS"; then
  12767. + # Remove the extension.
  12768. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  12769. + for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  12770. + gltests_libobjs="$gltests_libobjs $i.$ac_objext"
  12771. + gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
  12772. + done
  12773. + fi
  12774. + gltests_LIBOBJS=$gltests_libobjs
  12775. +
  12776. + gltests_LTLIBOBJS=$gltests_ltlibobjs
  12777. +
  12778. +
  12779. +if test -z "${HAS_CPUMINE_TRUE}" && test -z "${HAS_CPUMINE_FALSE}"; then
  12780. + as_fn_error $? "conditional \"HAS_CPUMINE\" was never defined.
  12781. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12782. +fi
  12783. +if test -z "${HAS_BITFORCE_TRUE}" && test -z "${HAS_BITFORCE_FALSE}"; then
  12784. + as_fn_error $? "conditional \"HAS_BITFORCE\" was never defined.
  12785. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12786. +fi
  12787. +if test -z "${HAS_ICARUS_TRUE}" && test -z "${HAS_ICARUS_FALSE}"; then
  12788. + as_fn_error $? "conditional \"HAS_ICARUS\" was never defined.
  12789. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12790. +fi
  12791. +if test -z "${HAS_ZTEX_TRUE}" && test -z "${HAS_ZTEX_FALSE}"; then
  12792. + as_fn_error $? "conditional \"HAS_ZTEX\" was never defined.
  12793. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12794. +fi
  12795. +if test -z "${HAVE_CURSES_TRUE}" && test -z "${HAVE_CURSES_FALSE}"; then
  12796. + as_fn_error $? "conditional \"HAVE_CURSES\" was never defined.
  12797. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12798. +fi
  12799. +if test -z "${WANT_JANSSON_TRUE}" && test -z "${WANT_JANSSON_FALSE}"; then
  12800. + as_fn_error $? "conditional \"WANT_JANSSON\" was never defined.
  12801. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12802. +fi
  12803. +if test -z "${HAVE_WINDOWS_TRUE}" && test -z "${HAVE_WINDOWS_FALSE}"; then
  12804. + as_fn_error $? "conditional \"HAVE_WINDOWS\" was never defined.
  12805. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12806. +fi
  12807. +if test -z "${HAVE_x86_64_TRUE}" && test -z "${HAVE_x86_64_FALSE}"; then
  12808. + as_fn_error $? "conditional \"HAVE_x86_64\" was never defined.
  12809. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12810. +fi
  12811. +if test -z "${HAS_YASM_TRUE}" && test -z "${HAS_YASM_FALSE}"; then
  12812. + as_fn_error $? "conditional \"HAS_YASM\" was never defined.
  12813. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12814. +fi
  12815. +if test -z "${HAVE_LIBUDEV_TRUE}" && test -z "${HAVE_LIBUDEV_FALSE}"; then
  12816. + as_fn_error $? "conditional \"HAVE_LIBUDEV\" was never defined.
  12817. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  12818. +fi
  12819. +
  12820. +: "${CONFIG_STATUS=./config.status}"
  12821. +ac_write_fail=0
  12822. +ac_clean_files_save=$ac_clean_files
  12823. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  12824. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  12825. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  12826. +as_write_fail=0
  12827. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  12828. +#! $SHELL
  12829. +# Generated by $as_me.
  12830. +# Run this file to recreate the current configuration.
  12831. +# Compiler output produced by configure, useful for debugging
  12832. +# configure, is in config.log if it exists.
  12833. +
  12834. +debug=false
  12835. +ac_cs_recheck=false
  12836. +ac_cs_silent=false
  12837. +
  12838. +SHELL=\${CONFIG_SHELL-$SHELL}
  12839. +export SHELL
  12840. +_ASEOF
  12841. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  12842. +## -------------------- ##
  12843. +## M4sh Initialization. ##
  12844. +## -------------------- ##
  12845. +
  12846. +# Be more Bourne compatible
  12847. +DUALCASE=1; export DUALCASE # for MKS sh
  12848. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  12849. + emulate sh
  12850. + NULLCMD=:
  12851. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  12852. + # is contrary to our usage. Disable this feature.
  12853. + alias -g '${1+"$@"}'='"$@"'
  12854. + setopt NO_GLOB_SUBST
  12855. +else
  12856. + case `(set -o) 2>/dev/null` in #(
  12857. + *posix*) :
  12858. + set -o posix ;; #(
  12859. + *) :
  12860. + ;;
  12861. +esac
  12862. +fi
  12863. +
  12864. +
  12865. +as_nl='
  12866. +'
  12867. +export as_nl
  12868. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  12869. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  12870. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  12871. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  12872. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  12873. +# but without wasting forks for bash or zsh.
  12874. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  12875. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  12876. + as_echo='print -r --'
  12877. + as_echo_n='print -rn --'
  12878. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  12879. + as_echo='printf %s\n'
  12880. + as_echo_n='printf %s'
  12881. +else
  12882. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  12883. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  12884. + as_echo_n='/usr/ucb/echo -n'
  12885. + else
  12886. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  12887. + as_echo_n_body='eval
  12888. + arg=$1;
  12889. + case $arg in #(
  12890. + *"$as_nl"*)
  12891. + expr "X$arg" : "X\\(.*\\)$as_nl";
  12892. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  12893. + esac;
  12894. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  12895. + '
  12896. + export as_echo_n_body
  12897. + as_echo_n='sh -c $as_echo_n_body as_echo'
  12898. + fi
  12899. + export as_echo_body
  12900. + as_echo='sh -c $as_echo_body as_echo'
  12901. +fi
  12902. +
  12903. +# The user is always right.
  12904. +if test "${PATH_SEPARATOR+set}" != set; then
  12905. + PATH_SEPARATOR=:
  12906. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  12907. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  12908. + PATH_SEPARATOR=';'
  12909. + }
  12910. +fi
  12911. +
  12912. +
  12913. +# IFS
  12914. +# We need space, tab and new line, in precisely that order. Quoting is
  12915. +# there to prevent editors from complaining about space-tab.
  12916. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  12917. +# splitting by setting IFS to empty value.)
  12918. +IFS=" "" $as_nl"
  12919. +
  12920. +# Find who we are. Look in the path if we contain no directory separator.
  12921. +as_myself=
  12922. +case $0 in #((
  12923. + *[\\/]* ) as_myself=$0 ;;
  12924. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12925. +for as_dir in $PATH
  12926. +do
  12927. + IFS=$as_save_IFS
  12928. + test -z "$as_dir" && as_dir=.
  12929. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  12930. + done
  12931. +IFS=$as_save_IFS
  12932. +
  12933. + ;;
  12934. +esac
  12935. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  12936. +# in which case we are not to be found in the path.
  12937. +if test "x$as_myself" = x; then
  12938. + as_myself=$0
  12939. +fi
  12940. +if test ! -f "$as_myself"; then
  12941. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  12942. + exit 1
  12943. +fi
  12944. +
  12945. +# Unset variables that we do not need and which cause bugs (e.g. in
  12946. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  12947. +# suppresses any "Segmentation fault" message there. '((' could
  12948. +# trigger a bug in pdksh 5.2.14.
  12949. +for as_var in BASH_ENV ENV MAIL MAILPATH
  12950. +do eval test x\${$as_var+set} = xset \
  12951. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  12952. +done
  12953. +PS1='$ '
  12954. +PS2='> '
  12955. +PS4='+ '
  12956. +
  12957. +# NLS nuisances.
  12958. +LC_ALL=C
  12959. +export LC_ALL
  12960. +LANGUAGE=C
  12961. +export LANGUAGE
  12962. +
  12963. +# CDPATH.
  12964. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  12965. +
  12966. +
  12967. +# as_fn_error STATUS ERROR [LINENO LOG_FD]
  12968. +# ----------------------------------------
  12969. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  12970. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  12971. +# script with STATUS, using 1 if that was 0.
  12972. +as_fn_error ()
  12973. +{
  12974. + as_status=$1; test $as_status -eq 0 && as_status=1
  12975. + if test "$4"; then
  12976. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  12977. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  12978. + fi
  12979. + $as_echo "$as_me: error: $2" >&2
  12980. + as_fn_exit $as_status
  12981. +} # as_fn_error
  12982. +
  12983. +
  12984. +# as_fn_set_status STATUS
  12985. +# -----------------------
  12986. +# Set $? to STATUS, without forking.
  12987. +as_fn_set_status ()
  12988. +{
  12989. + return $1
  12990. +} # as_fn_set_status
  12991. +
  12992. +# as_fn_exit STATUS
  12993. +# -----------------
  12994. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  12995. +as_fn_exit ()
  12996. +{
  12997. + set +e
  12998. + as_fn_set_status $1
  12999. + exit $1
  13000. +} # as_fn_exit
  13001. +
  13002. +# as_fn_unset VAR
  13003. +# ---------------
  13004. +# Portably unset VAR.
  13005. +as_fn_unset ()
  13006. +{
  13007. + { eval $1=; unset $1;}
  13008. +}
  13009. +as_unset=as_fn_unset
  13010. +# as_fn_append VAR VALUE
  13011. +# ----------------------
  13012. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  13013. +# advantage of any shell optimizations that allow amortized linear growth over
  13014. +# repeated appends, instead of the typical quadratic growth present in naive
  13015. +# implementations.
  13016. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  13017. + eval 'as_fn_append ()
  13018. + {
  13019. + eval $1+=\$2
  13020. + }'
  13021. +else
  13022. + as_fn_append ()
  13023. + {
  13024. + eval $1=\$$1\$2
  13025. + }
  13026. +fi # as_fn_append
  13027. +
  13028. +# as_fn_arith ARG...
  13029. +# ------------------
  13030. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  13031. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  13032. +# must be portable across $(()) and expr.
  13033. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  13034. + eval 'as_fn_arith ()
  13035. + {
  13036. + as_val=$(( $* ))
  13037. + }'
  13038. +else
  13039. + as_fn_arith ()
  13040. + {
  13041. + as_val=`expr "$@" || test $? -eq 1`
  13042. + }
  13043. +fi # as_fn_arith
  13044. +
  13045. +
  13046. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  13047. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  13048. + as_expr=expr
  13049. +else
  13050. + as_expr=false
  13051. +fi
  13052. +
  13053. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  13054. + as_basename=basename
  13055. +else
  13056. + as_basename=false
  13057. +fi
  13058. +
  13059. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  13060. + as_dirname=dirname
  13061. +else
  13062. + as_dirname=false
  13063. +fi
  13064. +
  13065. +as_me=`$as_basename -- "$0" ||
  13066. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  13067. + X"$0" : 'X\(//\)$' \| \
  13068. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  13069. +$as_echo X/"$0" |
  13070. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  13071. + s//\1/
  13072. + q
  13073. + }
  13074. + /^X\/\(\/\/\)$/{
  13075. + s//\1/
  13076. + q
  13077. + }
  13078. + /^X\/\(\/\).*/{
  13079. + s//\1/
  13080. + q
  13081. + }
  13082. + s/.*/./; q'`
  13083. +
  13084. +# Avoid depending upon Character Ranges.
  13085. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  13086. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  13087. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  13088. +as_cr_digits='0123456789'
  13089. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  13090. +
  13091. +ECHO_C= ECHO_N= ECHO_T=
  13092. +case `echo -n x` in #(((((
  13093. +-n*)
  13094. + case `echo 'xy\c'` in
  13095. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  13096. + xy) ECHO_C='\c';;
  13097. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  13098. + ECHO_T=' ';;
  13099. + esac;;
  13100. +*)
  13101. + ECHO_N='-n';;
  13102. +esac
  13103. +
  13104. +rm -f conf$$ conf$$.exe conf$$.file
  13105. +if test -d conf$$.dir; then
  13106. + rm -f conf$$.dir/conf$$.file
  13107. +else
  13108. + rm -f conf$$.dir
  13109. + mkdir conf$$.dir 2>/dev/null
  13110. +fi
  13111. +if (echo >conf$$.file) 2>/dev/null; then
  13112. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  13113. + as_ln_s='ln -s'
  13114. + # ... but there are two gotchas:
  13115. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  13116. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  13117. + # In both cases, we have to default to `cp -p'.
  13118. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  13119. + as_ln_s='cp -p'
  13120. + elif ln conf$$.file conf$$ 2>/dev/null; then
  13121. + as_ln_s=ln
  13122. + else
  13123. + as_ln_s='cp -p'
  13124. + fi
  13125. +else
  13126. + as_ln_s='cp -p'
  13127. +fi
  13128. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  13129. +rmdir conf$$.dir 2>/dev/null
  13130. +
  13131. +
  13132. +# as_fn_mkdir_p
  13133. +# -------------
  13134. +# Create "$as_dir" as a directory, including parents if necessary.
  13135. +as_fn_mkdir_p ()
  13136. +{
  13137. +
  13138. + case $as_dir in #(
  13139. + -*) as_dir=./$as_dir;;
  13140. + esac
  13141. + test -d "$as_dir" || eval $as_mkdir_p || {
  13142. + as_dirs=
  13143. + while :; do
  13144. + case $as_dir in #(
  13145. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  13146. + *) as_qdir=$as_dir;;
  13147. + esac
  13148. + as_dirs="'$as_qdir' $as_dirs"
  13149. + as_dir=`$as_dirname -- "$as_dir" ||
  13150. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13151. + X"$as_dir" : 'X\(//\)[^/]' \| \
  13152. + X"$as_dir" : 'X\(//\)$' \| \
  13153. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  13154. +$as_echo X"$as_dir" |
  13155. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13156. + s//\1/
  13157. + q
  13158. + }
  13159. + /^X\(\/\/\)[^/].*/{
  13160. + s//\1/
  13161. + q
  13162. + }
  13163. + /^X\(\/\/\)$/{
  13164. + s//\1/
  13165. + q
  13166. + }
  13167. + /^X\(\/\).*/{
  13168. + s//\1/
  13169. + q
  13170. + }
  13171. + s/.*/./; q'`
  13172. + test -d "$as_dir" && break
  13173. + done
  13174. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  13175. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  13176. +
  13177. +
  13178. +} # as_fn_mkdir_p
  13179. +if mkdir -p . 2>/dev/null; then
  13180. + as_mkdir_p='mkdir -p "$as_dir"'
  13181. +else
  13182. + test -d ./-p && rmdir ./-p
  13183. + as_mkdir_p=false
  13184. +fi
  13185. +
  13186. +if test -x / >/dev/null 2>&1; then
  13187. + as_test_x='test -x'
  13188. +else
  13189. + if ls -dL / >/dev/null 2>&1; then
  13190. + as_ls_L_option=L
  13191. + else
  13192. + as_ls_L_option=
  13193. + fi
  13194. + as_test_x='
  13195. + eval sh -c '\''
  13196. + if test -d "$1"; then
  13197. + test -d "$1/.";
  13198. + else
  13199. + case $1 in #(
  13200. + -*)set "./$1";;
  13201. + esac;
  13202. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  13203. + ???[sx]*):;;*)false;;esac;fi
  13204. + '\'' sh
  13205. + '
  13206. +fi
  13207. +as_executable_p=$as_test_x
  13208. +
  13209. +# Sed expression to map a string onto a valid CPP name.
  13210. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  13211. +
  13212. +# Sed expression to map a string onto a valid variable name.
  13213. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  13214. +
  13215. +
  13216. +exec 6>&1
  13217. +## ----------------------------------- ##
  13218. +## Main body of $CONFIG_STATUS script. ##
  13219. +## ----------------------------------- ##
  13220. +_ASEOF
  13221. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  13222. +
  13223. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13224. +# Save the log message, to keep $0 and so on meaningful, and to
  13225. +# report actual input values of CONFIG_FILES etc. instead of their
  13226. +# values after options handling.
  13227. +ac_log="
  13228. +This file was extended by cgminer $as_me 2.4.1, which was
  13229. +generated by GNU Autoconf 2.68. Invocation command line was
  13230. +
  13231. + CONFIG_FILES = $CONFIG_FILES
  13232. + CONFIG_HEADERS = $CONFIG_HEADERS
  13233. + CONFIG_LINKS = $CONFIG_LINKS
  13234. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  13235. + $ $0 $@
  13236. +
  13237. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  13238. +"
  13239. +
  13240. +_ACEOF
  13241. +
  13242. +case $ac_config_files in *"
  13243. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  13244. +esac
  13245. +
  13246. +case $ac_config_headers in *"
  13247. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  13248. +esac
  13249. +
  13250. +
  13251. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13252. +# Files that config.status was made for.
  13253. +config_files="$ac_config_files"
  13254. +config_headers="$ac_config_headers"
  13255. +config_commands="$ac_config_commands"
  13256. +
  13257. +_ACEOF
  13258. +
  13259. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13260. +ac_cs_usage="\
  13261. +\`$as_me' instantiates files and other configuration actions
  13262. +from templates according to the current configuration. Unless the files
  13263. +and actions are specified as TAGs, all are instantiated by default.
  13264. +
  13265. +Usage: $0 [OPTION]... [TAG]...
  13266. +
  13267. + -h, --help print this help, then exit
  13268. + -V, --version print version number and configuration settings, then exit
  13269. + --config print configuration, then exit
  13270. + -q, --quiet, --silent
  13271. + do not print progress messages
  13272. + -d, --debug don't remove temporary files
  13273. + --recheck update $as_me by reconfiguring in the same conditions
  13274. + --file=FILE[:TEMPLATE]
  13275. + instantiate the configuration file FILE
  13276. + --header=FILE[:TEMPLATE]
  13277. + instantiate the configuration header FILE
  13278. +
  13279. +Configuration files:
  13280. +$config_files
  13281. +
  13282. +Configuration headers:
  13283. +$config_headers
  13284. +
  13285. +Configuration commands:
  13286. +$config_commands
  13287. +
  13288. +Report bugs to <kernel@kolivas.org>."
  13289. +
  13290. +_ACEOF
  13291. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13292. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  13293. +ac_cs_version="\\
  13294. +cgminer config.status 2.4.1
  13295. +configured by $0, generated by GNU Autoconf 2.68,
  13296. + with options \\"\$ac_cs_config\\"
  13297. +
  13298. +Copyright (C) 2010 Free Software Foundation, Inc.
  13299. +This config.status script is free software; the Free Software Foundation
  13300. +gives unlimited permission to copy, distribute and modify it."
  13301. +
  13302. +ac_pwd='$ac_pwd'
  13303. +srcdir='$srcdir'
  13304. +INSTALL='$INSTALL'
  13305. +MKDIR_P='$MKDIR_P'
  13306. +AWK='$AWK'
  13307. +test -n "\$AWK" || AWK=awk
  13308. +_ACEOF
  13309. +
  13310. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13311. +# The default lists apply if the user does not specify any file.
  13312. +ac_need_defaults=:
  13313. +while test $# != 0
  13314. +do
  13315. + case $1 in
  13316. + --*=?*)
  13317. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  13318. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  13319. + ac_shift=:
  13320. + ;;
  13321. + --*=)
  13322. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  13323. + ac_optarg=
  13324. + ac_shift=:
  13325. + ;;
  13326. + *)
  13327. + ac_option=$1
  13328. + ac_optarg=$2
  13329. + ac_shift=shift
  13330. + ;;
  13331. + esac
  13332. +
  13333. + case $ac_option in
  13334. + # Handling of the options.
  13335. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  13336. + ac_cs_recheck=: ;;
  13337. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  13338. + $as_echo "$ac_cs_version"; exit ;;
  13339. + --config | --confi | --conf | --con | --co | --c )
  13340. + $as_echo "$ac_cs_config"; exit ;;
  13341. + --debug | --debu | --deb | --de | --d | -d )
  13342. + debug=: ;;
  13343. + --file | --fil | --fi | --f )
  13344. + $ac_shift
  13345. + case $ac_optarg in
  13346. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  13347. + '') as_fn_error $? "missing file argument" ;;
  13348. + esac
  13349. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  13350. + ac_need_defaults=false;;
  13351. + --header | --heade | --head | --hea )
  13352. + $ac_shift
  13353. + case $ac_optarg in
  13354. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  13355. + esac
  13356. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  13357. + ac_need_defaults=false;;
  13358. + --he | --h)
  13359. + # Conflict between --help and --header
  13360. + as_fn_error $? "ambiguous option: \`$1'
  13361. +Try \`$0 --help' for more information.";;
  13362. + --help | --hel | -h )
  13363. + $as_echo "$ac_cs_usage"; exit ;;
  13364. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  13365. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  13366. + ac_cs_silent=: ;;
  13367. +
  13368. + # This is an error.
  13369. + -*) as_fn_error $? "unrecognized option: \`$1'
  13370. +Try \`$0 --help' for more information." ;;
  13371. +
  13372. + *) as_fn_append ac_config_targets " $1"
  13373. + ac_need_defaults=false ;;
  13374. +
  13375. + esac
  13376. + shift
  13377. +done
  13378. +
  13379. +ac_configure_extra_args=
  13380. +
  13381. +if $ac_cs_silent; then
  13382. + exec 6>/dev/null
  13383. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  13384. +fi
  13385. +
  13386. +_ACEOF
  13387. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13388. +if \$ac_cs_recheck; then
  13389. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  13390. + shift
  13391. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  13392. + CONFIG_SHELL='$SHELL'
  13393. + export CONFIG_SHELL
  13394. + exec "\$@"
  13395. +fi
  13396. +
  13397. +_ACEOF
  13398. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13399. +exec 5>>config.log
  13400. +{
  13401. + echo
  13402. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  13403. +## Running $as_me. ##
  13404. +_ASBOX
  13405. + $as_echo "$ac_log"
  13406. +} >&5
  13407. +
  13408. +_ACEOF
  13409. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13410. +#
  13411. +# INIT-COMMANDS
  13412. +#
  13413. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  13414. +
  13415. +_ACEOF
  13416. +
  13417. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13418. +
  13419. +# Handling of arguments.
  13420. +for ac_config_target in $ac_config_targets
  13421. +do
  13422. + case $ac_config_target in
  13423. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  13424. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  13425. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  13426. + "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
  13427. + "compat/jansson/Makefile") CONFIG_FILES="$CONFIG_FILES compat/jansson/Makefile" ;;
  13428. + "x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES x86_64/Makefile" ;;
  13429. + "x86_32/Makefile") CONFIG_FILES="$CONFIG_FILES x86_32/Makefile" ;;
  13430. + "ccan/Makefile") CONFIG_FILES="$CONFIG_FILES ccan/Makefile" ;;
  13431. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  13432. +
  13433. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  13434. + esac
  13435. +done
  13436. +
  13437. +
  13438. +# If the user did not use the arguments to specify the items to instantiate,
  13439. +# then the envvar interface is used. Set only those that are not.
  13440. +# We use the long form for the default assignment because of an extremely
  13441. +# bizarre bug on SunOS 4.1.3.
  13442. +if $ac_need_defaults; then
  13443. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  13444. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  13445. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  13446. +fi
  13447. +
  13448. +# Have a temporary directory for convenience. Make it in the build tree
  13449. +# simply because there is no reason against having it here, and in addition,
  13450. +# creating and moving files from /tmp can sometimes cause problems.
  13451. +# Hook for its removal unless debugging.
  13452. +# Note that there is a small window in which the directory will not be cleaned:
  13453. +# after its creation but before its name has been assigned to `$tmp'.
  13454. +$debug ||
  13455. +{
  13456. + tmp= ac_tmp=
  13457. + trap 'exit_status=$?
  13458. + : "${ac_tmp:=$tmp}"
  13459. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  13460. +' 0
  13461. + trap 'as_fn_exit 1' 1 2 13 15
  13462. +}
  13463. +# Create a (secure) tmp directory for tmp files.
  13464. +
  13465. +{
  13466. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  13467. + test -d "$tmp"
  13468. +} ||
  13469. +{
  13470. + tmp=./conf$$-$RANDOM
  13471. + (umask 077 && mkdir "$tmp")
  13472. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  13473. +ac_tmp=$tmp
  13474. +
  13475. +# Set up the scripts for CONFIG_FILES section.
  13476. +# No need to generate them if there are no CONFIG_FILES.
  13477. +# This happens for instance with `./config.status config.h'.
  13478. +if test -n "$CONFIG_FILES"; then
  13479. +
  13480. +
  13481. +ac_cr=`echo X | tr X '\015'`
  13482. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  13483. +# But we know of no other shell where ac_cr would be empty at this
  13484. +# point, so we can use a bashism as a fallback.
  13485. +if test "x$ac_cr" = x; then
  13486. + eval ac_cr=\$\'\\r\'
  13487. +fi
  13488. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  13489. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  13490. + ac_cs_awk_cr='\\r'
  13491. +else
  13492. + ac_cs_awk_cr=$ac_cr
  13493. +fi
  13494. +
  13495. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  13496. +_ACEOF
  13497. +
  13498. +
  13499. +{
  13500. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  13501. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  13502. + echo "_ACEOF"
  13503. +} >conf$$subs.sh ||
  13504. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  13505. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  13506. +ac_delim='%!_!# '
  13507. +for ac_last_try in false false false false false :; do
  13508. + . ./conf$$subs.sh ||
  13509. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  13510. +
  13511. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  13512. + if test $ac_delim_n = $ac_delim_num; then
  13513. + break
  13514. + elif $ac_last_try; then
  13515. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  13516. + else
  13517. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  13518. + fi
  13519. +done
  13520. +rm -f conf$$subs.sh
  13521. +
  13522. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13523. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  13524. +_ACEOF
  13525. +sed -n '
  13526. +h
  13527. +s/^/S["/; s/!.*/"]=/
  13528. +p
  13529. +g
  13530. +s/^[^!]*!//
  13531. +:repl
  13532. +t repl
  13533. +s/'"$ac_delim"'$//
  13534. +t delim
  13535. +:nl
  13536. +h
  13537. +s/\(.\{148\}\)..*/\1/
  13538. +t more1
  13539. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  13540. +p
  13541. +n
  13542. +b repl
  13543. +:more1
  13544. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  13545. +p
  13546. +g
  13547. +s/.\{148\}//
  13548. +t nl
  13549. +:delim
  13550. +h
  13551. +s/\(.\{148\}\)..*/\1/
  13552. +t more2
  13553. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  13554. +p
  13555. +b
  13556. +:more2
  13557. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  13558. +p
  13559. +g
  13560. +s/.\{148\}//
  13561. +t delim
  13562. +' <conf$$subs.awk | sed '
  13563. +/^[^""]/{
  13564. + N
  13565. + s/\n//
  13566. +}
  13567. +' >>$CONFIG_STATUS || ac_write_fail=1
  13568. +rm -f conf$$subs.awk
  13569. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13570. +_ACAWK
  13571. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  13572. + for (key in S) S_is_set[key] = 1
  13573. + FS = ""
  13574. +
  13575. +}
  13576. +{
  13577. + line = $ 0
  13578. + nfields = split(line, field, "@")
  13579. + substed = 0
  13580. + len = length(field[1])
  13581. + for (i = 2; i < nfields; i++) {
  13582. + key = field[i]
  13583. + keylen = length(key)
  13584. + if (S_is_set[key]) {
  13585. + value = S[key]
  13586. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  13587. + len += length(value) + length(field[++i])
  13588. + substed = 1
  13589. + } else
  13590. + len += 1 + keylen
  13591. + }
  13592. +
  13593. + print line
  13594. +}
  13595. +
  13596. +_ACAWK
  13597. +_ACEOF
  13598. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13599. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  13600. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  13601. +else
  13602. + cat
  13603. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  13604. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  13605. +_ACEOF
  13606. +
  13607. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  13608. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  13609. +# trailing colons and then remove the whole line if VPATH becomes empty
  13610. +# (actually we leave an empty line to preserve line numbers).
  13611. +if test "x$srcdir" = x.; then
  13612. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  13613. +h
  13614. +s///
  13615. +s/^/:/
  13616. +s/[ ]*$/:/
  13617. +s/:\$(srcdir):/:/g
  13618. +s/:\${srcdir}:/:/g
  13619. +s/:@srcdir@:/:/g
  13620. +s/^:*//
  13621. +s/:*$//
  13622. +x
  13623. +s/\(=[ ]*\).*/\1/
  13624. +G
  13625. +s/\n//
  13626. +s/^[^=]*=[ ]*$//
  13627. +}'
  13628. +fi
  13629. +
  13630. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13631. +fi # test -n "$CONFIG_FILES"
  13632. +
  13633. +# Set up the scripts for CONFIG_HEADERS section.
  13634. +# No need to generate them if there are no CONFIG_HEADERS.
  13635. +# This happens for instance with `./config.status Makefile'.
  13636. +if test -n "$CONFIG_HEADERS"; then
  13637. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  13638. +BEGIN {
  13639. +_ACEOF
  13640. +
  13641. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  13642. +# here-document in config.status, that substitutes the proper values into
  13643. +# config.h.in to produce config.h.
  13644. +
  13645. +# Create a delimiter string that does not exist in confdefs.h, to ease
  13646. +# handling of long lines.
  13647. +ac_delim='%!_!# '
  13648. +for ac_last_try in false false :; do
  13649. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  13650. + if test -z "$ac_tt"; then
  13651. + break
  13652. + elif $ac_last_try; then
  13653. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  13654. + else
  13655. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  13656. + fi
  13657. +done
  13658. +
  13659. +# For the awk script, D is an array of macro values keyed by name,
  13660. +# likewise P contains macro parameters if any. Preserve backslash
  13661. +# newline sequences.
  13662. +
  13663. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  13664. +sed -n '
  13665. +s/.\{148\}/&'"$ac_delim"'/g
  13666. +t rset
  13667. +:rset
  13668. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  13669. +t def
  13670. +d
  13671. +:def
  13672. +s/\\$//
  13673. +t bsnl
  13674. +s/["\\]/\\&/g
  13675. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  13676. +D["\1"]=" \3"/p
  13677. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  13678. +d
  13679. +:bsnl
  13680. +s/["\\]/\\&/g
  13681. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  13682. +D["\1"]=" \3\\\\\\n"\\/p
  13683. +t cont
  13684. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  13685. +t cont
  13686. +d
  13687. +:cont
  13688. +n
  13689. +s/.\{148\}/&'"$ac_delim"'/g
  13690. +t clear
  13691. +:clear
  13692. +s/\\$//
  13693. +t bsnlc
  13694. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  13695. +d
  13696. +:bsnlc
  13697. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  13698. +b cont
  13699. +' <confdefs.h | sed '
  13700. +s/'"$ac_delim"'/"\\\
  13701. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  13702. +
  13703. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13704. + for (key in D) D_is_set[key] = 1
  13705. + FS = ""
  13706. +}
  13707. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  13708. + line = \$ 0
  13709. + split(line, arg, " ")
  13710. + if (arg[1] == "#") {
  13711. + defundef = arg[2]
  13712. + mac1 = arg[3]
  13713. + } else {
  13714. + defundef = substr(arg[1], 2)
  13715. + mac1 = arg[2]
  13716. + }
  13717. + split(mac1, mac2, "(") #)
  13718. + macro = mac2[1]
  13719. + prefix = substr(line, 1, index(line, defundef) - 1)
  13720. + if (D_is_set[macro]) {
  13721. + # Preserve the white space surrounding the "#".
  13722. + print prefix "define", macro P[macro] D[macro]
  13723. + next
  13724. + } else {
  13725. + # Replace #undef with comments. This is necessary, for example,
  13726. + # in the case of _POSIX_SOURCE, which is predefined and required
  13727. + # on some systems where configure will not decide to define it.
  13728. + if (defundef == "undef") {
  13729. + print "/*", prefix defundef, macro, "*/"
  13730. + next
  13731. + }
  13732. + }
  13733. +}
  13734. +{ print }
  13735. +_ACAWK
  13736. +_ACEOF
  13737. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13738. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  13739. +fi # test -n "$CONFIG_HEADERS"
  13740. +
  13741. +
  13742. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  13743. +shift
  13744. +for ac_tag
  13745. +do
  13746. + case $ac_tag in
  13747. + :[FHLC]) ac_mode=$ac_tag; continue;;
  13748. + esac
  13749. + case $ac_mode$ac_tag in
  13750. + :[FHL]*:*);;
  13751. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  13752. + :[FH]-) ac_tag=-:-;;
  13753. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  13754. + esac
  13755. + ac_save_IFS=$IFS
  13756. + IFS=:
  13757. + set x $ac_tag
  13758. + IFS=$ac_save_IFS
  13759. + shift
  13760. + ac_file=$1
  13761. + shift
  13762. +
  13763. + case $ac_mode in
  13764. + :L) ac_source=$1;;
  13765. + :[FH])
  13766. + ac_file_inputs=
  13767. + for ac_f
  13768. + do
  13769. + case $ac_f in
  13770. + -) ac_f="$ac_tmp/stdin";;
  13771. + *) # Look for the file first in the build tree, then in the source tree
  13772. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  13773. + # because $ac_f cannot contain `:'.
  13774. + test -f "$ac_f" ||
  13775. + case $ac_f in
  13776. + [\\/$]*) false;;
  13777. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  13778. + esac ||
  13779. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  13780. + esac
  13781. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  13782. + as_fn_append ac_file_inputs " '$ac_f'"
  13783. + done
  13784. +
  13785. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  13786. + # use $as_me), people would be surprised to read:
  13787. + # /* config.h. Generated by config.status. */
  13788. + configure_input='Generated from '`
  13789. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  13790. + `' by configure.'
  13791. + if test x"$ac_file" != x-; then
  13792. + configure_input="$ac_file. $configure_input"
  13793. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  13794. +$as_echo "$as_me: creating $ac_file" >&6;}
  13795. + fi
  13796. + # Neutralize special characters interpreted by sed in replacement strings.
  13797. + case $configure_input in #(
  13798. + *\&* | *\|* | *\\* )
  13799. + ac_sed_conf_input=`$as_echo "$configure_input" |
  13800. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  13801. + *) ac_sed_conf_input=$configure_input;;
  13802. + esac
  13803. +
  13804. + case $ac_tag in
  13805. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  13806. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  13807. + esac
  13808. + ;;
  13809. + esac
  13810. +
  13811. + ac_dir=`$as_dirname -- "$ac_file" ||
  13812. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13813. + X"$ac_file" : 'X\(//\)[^/]' \| \
  13814. + X"$ac_file" : 'X\(//\)$' \| \
  13815. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  13816. +$as_echo X"$ac_file" |
  13817. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13818. + s//\1/
  13819. + q
  13820. + }
  13821. + /^X\(\/\/\)[^/].*/{
  13822. + s//\1/
  13823. + q
  13824. + }
  13825. + /^X\(\/\/\)$/{
  13826. + s//\1/
  13827. + q
  13828. + }
  13829. + /^X\(\/\).*/{
  13830. + s//\1/
  13831. + q
  13832. + }
  13833. + s/.*/./; q'`
  13834. + as_dir="$ac_dir"; as_fn_mkdir_p
  13835. + ac_builddir=.
  13836. +
  13837. +case "$ac_dir" in
  13838. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  13839. +*)
  13840. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  13841. + # A ".." for each directory in $ac_dir_suffix.
  13842. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  13843. + case $ac_top_builddir_sub in
  13844. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  13845. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  13846. + esac ;;
  13847. +esac
  13848. +ac_abs_top_builddir=$ac_pwd
  13849. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  13850. +# for backward compatibility:
  13851. +ac_top_builddir=$ac_top_build_prefix
  13852. +
  13853. +case $srcdir in
  13854. + .) # We are building in place.
  13855. + ac_srcdir=.
  13856. + ac_top_srcdir=$ac_top_builddir_sub
  13857. + ac_abs_top_srcdir=$ac_pwd ;;
  13858. + [\\/]* | ?:[\\/]* ) # Absolute name.
  13859. + ac_srcdir=$srcdir$ac_dir_suffix;
  13860. + ac_top_srcdir=$srcdir
  13861. + ac_abs_top_srcdir=$srcdir ;;
  13862. + *) # Relative name.
  13863. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  13864. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  13865. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  13866. +esac
  13867. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  13868. +
  13869. +
  13870. + case $ac_mode in
  13871. + :F)
  13872. + #
  13873. + # CONFIG_FILE
  13874. + #
  13875. +
  13876. + case $INSTALL in
  13877. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  13878. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  13879. + esac
  13880. + ac_MKDIR_P=$MKDIR_P
  13881. + case $MKDIR_P in
  13882. + [\\/$]* | ?:[\\/]* ) ;;
  13883. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  13884. + esac
  13885. +_ACEOF
  13886. +
  13887. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13888. +# If the template does not know about datarootdir, expand it.
  13889. +# FIXME: This hack should be removed a few years after 2.60.
  13890. +ac_datarootdir_hack=; ac_datarootdir_seen=
  13891. +ac_sed_dataroot='
  13892. +/datarootdir/ {
  13893. + p
  13894. + q
  13895. +}
  13896. +/@datadir@/p
  13897. +/@docdir@/p
  13898. +/@infodir@/p
  13899. +/@localedir@/p
  13900. +/@mandir@/p'
  13901. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  13902. +*datarootdir*) ac_datarootdir_seen=yes;;
  13903. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  13904. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  13905. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  13906. +_ACEOF
  13907. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13908. + ac_datarootdir_hack='
  13909. + s&@datadir@&$datadir&g
  13910. + s&@docdir@&$docdir&g
  13911. + s&@infodir@&$infodir&g
  13912. + s&@localedir@&$localedir&g
  13913. + s&@mandir@&$mandir&g
  13914. + s&\\\${datarootdir}&$datarootdir&g' ;;
  13915. +esac
  13916. +_ACEOF
  13917. +
  13918. +# Neutralize VPATH when `$srcdir' = `.'.
  13919. +# Shell code in configure.ac might set extrasub.
  13920. +# FIXME: do we really want to maintain this feature?
  13921. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13922. +ac_sed_extra="$ac_vpsub
  13923. +$extrasub
  13924. +_ACEOF
  13925. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13926. +:t
  13927. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  13928. +s|@configure_input@|$ac_sed_conf_input|;t t
  13929. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  13930. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  13931. +s&@srcdir@&$ac_srcdir&;t t
  13932. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  13933. +s&@top_srcdir@&$ac_top_srcdir&;t t
  13934. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  13935. +s&@builddir@&$ac_builddir&;t t
  13936. +s&@abs_builddir@&$ac_abs_builddir&;t t
  13937. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  13938. +s&@INSTALL@&$ac_INSTALL&;t t
  13939. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  13940. +$ac_datarootdir_hack
  13941. +"
  13942. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  13943. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13944. +
  13945. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  13946. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  13947. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  13948. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  13949. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  13950. +which seems to be undefined. Please make sure it is defined" >&5
  13951. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  13952. +which seems to be undefined. Please make sure it is defined" >&2;}
  13953. +
  13954. + rm -f "$ac_tmp/stdin"
  13955. + case $ac_file in
  13956. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  13957. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  13958. + esac \
  13959. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13960. + ;;
  13961. + :H)
  13962. + #
  13963. + # CONFIG_HEADER
  13964. + #
  13965. + if test x"$ac_file" != x-; then
  13966. + {
  13967. + $as_echo "/* $configure_input */" \
  13968. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  13969. + } >"$ac_tmp/config.h" \
  13970. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13971. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  13972. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  13973. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  13974. + else
  13975. + rm -f "$ac_file"
  13976. + mv "$ac_tmp/config.h" "$ac_file" \
  13977. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  13978. + fi
  13979. + else
  13980. + $as_echo "/* $configure_input */" \
  13981. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  13982. + || as_fn_error $? "could not create -" "$LINENO" 5
  13983. + fi
  13984. +# Compute "$ac_file"'s index in $config_headers.
  13985. +_am_arg="$ac_file"
  13986. +_am_stamp_count=1
  13987. +for _am_header in $config_headers :; do
  13988. + case $_am_header in
  13989. + $_am_arg | $_am_arg:* )
  13990. + break ;;
  13991. + * )
  13992. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  13993. + esac
  13994. +done
  13995. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  13996. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13997. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  13998. + X"$_am_arg" : 'X\(//\)$' \| \
  13999. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  14000. +$as_echo X"$_am_arg" |
  14001. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14002. + s//\1/
  14003. + q
  14004. + }
  14005. + /^X\(\/\/\)[^/].*/{
  14006. + s//\1/
  14007. + q
  14008. + }
  14009. + /^X\(\/\/\)$/{
  14010. + s//\1/
  14011. + q
  14012. + }
  14013. + /^X\(\/\).*/{
  14014. + s//\1/
  14015. + q
  14016. + }
  14017. + s/.*/./; q'`/stamp-h$_am_stamp_count
  14018. + ;;
  14019. +
  14020. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  14021. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  14022. + ;;
  14023. + esac
  14024. +
  14025. +
  14026. + case $ac_file$ac_mode in
  14027. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  14028. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  14029. + # are listed without --file. Let's play safe and only enable the eval
  14030. + # if we detect the quoting.
  14031. + case $CONFIG_FILES in
  14032. + *\'*) eval set x "$CONFIG_FILES" ;;
  14033. + *) set x $CONFIG_FILES ;;
  14034. + esac
  14035. + shift
  14036. + for mf
  14037. + do
  14038. + # Strip MF so we end up with the name of the file.
  14039. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  14040. + # Check whether this is an Automake generated Makefile or not.
  14041. + # We used to match only the files named `Makefile.in', but
  14042. + # some people rename them; so instead we look at the file content.
  14043. + # Grep'ing the first line is not enough: some people post-process
  14044. + # each Makefile.in and add a new line on top of each file to say so.
  14045. + # Grep'ing the whole file is not good either: AIX grep has a line
  14046. + # limit of 2048, but all sed's we know have understand at least 4000.
  14047. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  14048. + dirpart=`$as_dirname -- "$mf" ||
  14049. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14050. + X"$mf" : 'X\(//\)[^/]' \| \
  14051. + X"$mf" : 'X\(//\)$' \| \
  14052. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  14053. +$as_echo X"$mf" |
  14054. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14055. + s//\1/
  14056. + q
  14057. + }
  14058. + /^X\(\/\/\)[^/].*/{
  14059. + s//\1/
  14060. + q
  14061. + }
  14062. + /^X\(\/\/\)$/{
  14063. + s//\1/
  14064. + q
  14065. + }
  14066. + /^X\(\/\).*/{
  14067. + s//\1/
  14068. + q
  14069. + }
  14070. + s/.*/./; q'`
  14071. + else
  14072. + continue
  14073. + fi
  14074. + # Extract the definition of DEPDIR, am__include, and am__quote
  14075. + # from the Makefile without running `make'.
  14076. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  14077. + test -z "$DEPDIR" && continue
  14078. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  14079. + test -z "am__include" && continue
  14080. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  14081. + # When using ansi2knr, U may be empty or an underscore; expand it
  14082. + U=`sed -n 's/^U = //p' < "$mf"`
  14083. + # Find all dependency output files, they are included files with
  14084. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  14085. + # simplest approach to changing $(DEPDIR) to its actual value in the
  14086. + # expansion.
  14087. + for file in `sed -n "
  14088. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  14089. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  14090. + # Make sure the directory exists.
  14091. + test -f "$dirpart/$file" && continue
  14092. + fdir=`$as_dirname -- "$file" ||
  14093. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14094. + X"$file" : 'X\(//\)[^/]' \| \
  14095. + X"$file" : 'X\(//\)$' \| \
  14096. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  14097. +$as_echo X"$file" |
  14098. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14099. + s//\1/
  14100. + q
  14101. + }
  14102. + /^X\(\/\/\)[^/].*/{
  14103. + s//\1/
  14104. + q
  14105. + }
  14106. + /^X\(\/\/\)$/{
  14107. + s//\1/
  14108. + q
  14109. + }
  14110. + /^X\(\/\).*/{
  14111. + s//\1/
  14112. + q
  14113. + }
  14114. + s/.*/./; q'`
  14115. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  14116. + # echo "creating $dirpart/$file"
  14117. + echo '# dummy' > "$dirpart/$file"
  14118. + done
  14119. + done
  14120. +}
  14121. + ;;
  14122. +
  14123. + esac
  14124. +done # for ac_tag
  14125. +
  14126. +
  14127. +as_fn_exit 0
  14128. +_ACEOF
  14129. +ac_clean_files=$ac_clean_files_save
  14130. +
  14131. +test $ac_write_fail = 0 ||
  14132. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  14133. +
  14134. +
  14135. +# configure is writing to config.log, and then calls config.status.
  14136. +# config.status does its own redirection, appending to config.log.
  14137. +# Unfortunately, on DOS this fails, as config.log is still kept open
  14138. +# by configure, so config.status won't be able to write to it; its
  14139. +# output is simply discarded. So we exec the FD to /dev/null,
  14140. +# effectively closing config.log, so it can be properly (re)opened and
  14141. +# appended to by config.status. When coming back to configure, we
  14142. +# need to make the FD available again.
  14143. +if test "$no_create" != yes; then
  14144. + ac_cs_success=:
  14145. + ac_config_status_args=
  14146. + test "$silent" = yes &&
  14147. + ac_config_status_args="$ac_config_status_args --quiet"
  14148. + exec 5>/dev/null
  14149. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  14150. + exec 5>>config.log
  14151. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  14152. + # would make configure fail if this is the last instruction.
  14153. + $ac_cs_success || as_fn_exit 1
  14154. +fi
  14155. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  14156. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  14157. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  14158. +fi
  14159. +
  14160. +
  14161. +
  14162. +echo
  14163. +echo
  14164. +echo
  14165. +echo "------------------------------------------------------------------------"
  14166. +echo "$PACKAGE $VERSION"
  14167. +echo "------------------------------------------------------------------------"
  14168. +echo
  14169. +echo
  14170. +echo "Configuration Options Summary:"
  14171. +echo
  14172. +
  14173. +echo " curses.TUI...........: $cursesmsg"
  14174. +
  14175. +if test "x$opencl" != xno; then
  14176. + if test $found_opencl = 1; then
  14177. + echo " OpenCL...............: FOUND. GPU mining support enabled"
  14178. + else
  14179. + echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
  14180. + if test "x$cpumining$bitforce$icarus$ztex" = xnononono; then
  14181. + as_fn_error $? "No mining configured in" "$LINENO" 5
  14182. + fi
  14183. + fi
  14184. +else
  14185. + echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
  14186. + if test "x$cpumining$bitforce$icarus$ztex" = xnononono; then
  14187. + as_fn_error $? "No mining configured in" "$LINENO" 5
  14188. + fi
  14189. +fi
  14190. +
  14191. +if test "x$adl" != xno; then
  14192. + if test x$have_adl = xtrue; then
  14193. + echo " ADL..................: SDK found, GPU monitoring support enabled"
  14194. + else
  14195. + echo " ADL..................: SDK NOT found, GPU monitoring support DISABLED"
  14196. + fi
  14197. +else
  14198. + echo " ADL..................: Detection overrided. GPU monitoring support DISABLED"
  14199. +fi
  14200. +
  14201. +echo
  14202. +if test "x$bitforce" = xyes; then
  14203. + echo " BitForce.FPGAs.......: Enabled"
  14204. +else
  14205. + echo " BitForce.FPGAs.......: Disabled"
  14206. +fi
  14207. +
  14208. +if test "x$icarus" = xyes; then
  14209. + echo " Icarus.FPGAs.........: Enabled"
  14210. +else
  14211. + echo " Icarus.FPGAs.........: Disabled"
  14212. +fi
  14213. +
  14214. +if test "x$ztex" = xyes; then
  14215. + echo " Ztex.FPGAs...........: Enabled"
  14216. +else
  14217. + echo " Ztex.FPGAs...........: Disabled"
  14218. +fi
  14219. +
  14220. +if test "x$bitforce" != xno; then
  14221. + echo " libudev.detection....: $libudev"
  14222. +fi
  14223. +
  14224. +if test "x$cpumining" = xyes; then
  14225. + echo
  14226. + echo " CPU Mining...........: Enabled"
  14227. + echo " ASM.(for CPU mining).: $has_yasm"
  14228. +fi
  14229. +
  14230. +echo
  14231. +echo "Compilation............: make (or gmake)"
  14232. +echo " CPPFLAGS.............: $CPPFLAGS"
  14233. +echo " CFLAGS...............: $CFLAGS"
  14234. +echo " LDFLAGS..............: $LDFLAGS $PTHREAD_FLAGS $USB_FLAGS"
  14235. +echo " LDADD................: $DLOPEN_FLAGS $LIBCURL_LIBS $JANSSON_LIBS $PTHREAD_LIBS $OPENCL_LIBS $NCURSES_LIBS $PDCURSES_LIBS $WS2_LIBS $MATH_LIBS $UDEV_LIBS $USB_LIBS"
  14236. +echo
  14237. +echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
  14238. +echo " prefix...............: $prefix"
  14239. +echo
  14240. +
  14241. --- /dev/null
  14242. +++ cgminer-2.4.1/missing
  14243. @@ -0,0 +1,331 @@
  14244. +#! /bin/sh
  14245. +# Common stub for a few missing GNU programs while installing.
  14246. +
  14247. +scriptversion=2012-01-06.13; # UTC
  14248. +
  14249. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  14250. +# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
  14251. +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  14252. +
  14253. +# This program is free software; you can redistribute it and/or modify
  14254. +# it under the terms of the GNU General Public License as published by
  14255. +# the Free Software Foundation; either version 2, or (at your option)
  14256. +# any later version.
  14257. +
  14258. +# This program is distributed in the hope that it will be useful,
  14259. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  14260. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14261. +# GNU General Public License for more details.
  14262. +
  14263. +# You should have received a copy of the GNU General Public License
  14264. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  14265. +
  14266. +# As a special exception to the GNU General Public License, if you
  14267. +# distribute this file as part of a program that contains a
  14268. +# configuration script generated by Autoconf, you may include it under
  14269. +# the same distribution terms that you use for the rest of that program.
  14270. +
  14271. +if test $# -eq 0; then
  14272. + echo 1>&2 "Try \`$0 --help' for more information"
  14273. + exit 1
  14274. +fi
  14275. +
  14276. +run=:
  14277. +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
  14278. +sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
  14279. +
  14280. +# In the cases where this matters, `missing' is being run in the
  14281. +# srcdir already.
  14282. +if test -f configure.ac; then
  14283. + configure_ac=configure.ac
  14284. +else
  14285. + configure_ac=configure.in
  14286. +fi
  14287. +
  14288. +msg="missing on your system"
  14289. +
  14290. +case $1 in
  14291. +--run)
  14292. + # Try to run requested program, and just exit if it succeeds.
  14293. + run=
  14294. + shift
  14295. + "$@" && exit 0
  14296. + # Exit code 63 means version mismatch. This often happens
  14297. + # when the user try to use an ancient version of a tool on
  14298. + # a file that requires a minimum version. In this case we
  14299. + # we should proceed has if the program had been absent, or
  14300. + # if --run hadn't been passed.
  14301. + if test $? = 63; then
  14302. + run=:
  14303. + msg="probably too old"
  14304. + fi
  14305. + ;;
  14306. +
  14307. + -h|--h|--he|--hel|--help)
  14308. + echo "\
  14309. +$0 [OPTION]... PROGRAM [ARGUMENT]...
  14310. +
  14311. +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
  14312. +error status if there is no known handling for PROGRAM.
  14313. +
  14314. +Options:
  14315. + -h, --help display this help and exit
  14316. + -v, --version output version information and exit
  14317. + --run try to run the given command, and emulate it if it fails
  14318. +
  14319. +Supported PROGRAM values:
  14320. + aclocal touch file \`aclocal.m4'
  14321. + autoconf touch file \`configure'
  14322. + autoheader touch file \`config.h.in'
  14323. + autom4te touch the output file, or create a stub one
  14324. + automake touch all \`Makefile.in' files
  14325. + bison create \`y.tab.[ch]', if possible, from existing .[ch]
  14326. + flex create \`lex.yy.c', if possible, from existing .c
  14327. + help2man touch the output file
  14328. + lex create \`lex.yy.c', if possible, from existing .c
  14329. + makeinfo touch the output file
  14330. + yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  14331. +
  14332. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  14333. +\`g' are ignored when checking the name.
  14334. +
  14335. +Send bug reports to <bug-automake@gnu.org>."
  14336. + exit $?
  14337. + ;;
  14338. +
  14339. + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
  14340. + echo "missing $scriptversion (GNU Automake)"
  14341. + exit $?
  14342. + ;;
  14343. +
  14344. + -*)
  14345. + echo 1>&2 "$0: Unknown \`$1' option"
  14346. + echo 1>&2 "Try \`$0 --help' for more information"
  14347. + exit 1
  14348. + ;;
  14349. +
  14350. +esac
  14351. +
  14352. +# normalize program name to check for.
  14353. +program=`echo "$1" | sed '
  14354. + s/^gnu-//; t
  14355. + s/^gnu//; t
  14356. + s/^g//; t'`
  14357. +
  14358. +# Now exit if we have it, but it failed. Also exit now if we
  14359. +# don't have it and --version was passed (most likely to detect
  14360. +# the program). This is about non-GNU programs, so use $1 not
  14361. +# $program.
  14362. +case $1 in
  14363. + lex*|yacc*)
  14364. + # Not GNU programs, they don't have --version.
  14365. + ;;
  14366. +
  14367. + *)
  14368. + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  14369. + # We have it, but it failed.
  14370. + exit 1
  14371. + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  14372. + # Could not run --version or --help. This is probably someone
  14373. + # running `$TOOL --version' or `$TOOL --help' to check whether
  14374. + # $TOOL exists and not knowing $TOOL uses missing.
  14375. + exit 1
  14376. + fi
  14377. + ;;
  14378. +esac
  14379. +
  14380. +# If it does not exist, or fails to run (possibly an outdated version),
  14381. +# try to emulate it.
  14382. +case $program in
  14383. + aclocal*)
  14384. + echo 1>&2 "\
  14385. +WARNING: \`$1' is $msg. You should only need it if
  14386. + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
  14387. + to install the \`Automake' and \`Perl' packages. Grab them from
  14388. + any GNU archive site."
  14389. + touch aclocal.m4
  14390. + ;;
  14391. +
  14392. + autoconf*)
  14393. + echo 1>&2 "\
  14394. +WARNING: \`$1' is $msg. You should only need it if
  14395. + you modified \`${configure_ac}'. You might want to install the
  14396. + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
  14397. + archive site."
  14398. + touch configure
  14399. + ;;
  14400. +
  14401. + autoheader*)
  14402. + echo 1>&2 "\
  14403. +WARNING: \`$1' is $msg. You should only need it if
  14404. + you modified \`acconfig.h' or \`${configure_ac}'. You might want
  14405. + to install the \`Autoconf' and \`GNU m4' packages. Grab them
  14406. + from any GNU archive site."
  14407. + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
  14408. + test -z "$files" && files="config.h"
  14409. + touch_files=
  14410. + for f in $files; do
  14411. + case $f in
  14412. + *:*) touch_files="$touch_files "`echo "$f" |
  14413. + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
  14414. + *) touch_files="$touch_files $f.in";;
  14415. + esac
  14416. + done
  14417. + touch $touch_files
  14418. + ;;
  14419. +
  14420. + automake*)
  14421. + echo 1>&2 "\
  14422. +WARNING: \`$1' is $msg. You should only need it if
  14423. + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
  14424. + You might want to install the \`Automake' and \`Perl' packages.
  14425. + Grab them from any GNU archive site."
  14426. + find . -type f -name Makefile.am -print |
  14427. + sed 's/\.am$/.in/' |
  14428. + while read f; do touch "$f"; done
  14429. + ;;
  14430. +
  14431. + autom4te*)
  14432. + echo 1>&2 "\
  14433. +WARNING: \`$1' is needed, but is $msg.
  14434. + You might have modified some files without having the
  14435. + proper tools for further handling them.
  14436. + You can get \`$1' as part of \`Autoconf' from any GNU
  14437. + archive site."
  14438. +
  14439. + file=`echo "$*" | sed -n "$sed_output"`
  14440. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  14441. + if test -f "$file"; then
  14442. + touch $file
  14443. + else
  14444. + test -z "$file" || exec >$file
  14445. + echo "#! /bin/sh"
  14446. + echo "# Created by GNU Automake missing as a replacement of"
  14447. + echo "# $ $@"
  14448. + echo "exit 0"
  14449. + chmod +x $file
  14450. + exit 1
  14451. + fi
  14452. + ;;
  14453. +
  14454. + bison*|yacc*)
  14455. + echo 1>&2 "\
  14456. +WARNING: \`$1' $msg. You should only need it if
  14457. + you modified a \`.y' file. You may need the \`Bison' package
  14458. + in order for those modifications to take effect. You can get
  14459. + \`Bison' from any GNU archive site."
  14460. + rm -f y.tab.c y.tab.h
  14461. + if test $# -ne 1; then
  14462. + eval LASTARG=\${$#}
  14463. + case $LASTARG in
  14464. + *.y)
  14465. + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
  14466. + if test -f "$SRCFILE"; then
  14467. + cp "$SRCFILE" y.tab.c
  14468. + fi
  14469. + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
  14470. + if test -f "$SRCFILE"; then
  14471. + cp "$SRCFILE" y.tab.h
  14472. + fi
  14473. + ;;
  14474. + esac
  14475. + fi
  14476. + if test ! -f y.tab.h; then
  14477. + echo >y.tab.h
  14478. + fi
  14479. + if test ! -f y.tab.c; then
  14480. + echo 'main() { return 0; }' >y.tab.c
  14481. + fi
  14482. + ;;
  14483. +
  14484. + lex*|flex*)
  14485. + echo 1>&2 "\
  14486. +WARNING: \`$1' is $msg. You should only need it if
  14487. + you modified a \`.l' file. You may need the \`Flex' package
  14488. + in order for those modifications to take effect. You can get
  14489. + \`Flex' from any GNU archive site."
  14490. + rm -f lex.yy.c
  14491. + if test $# -ne 1; then
  14492. + eval LASTARG=\${$#}
  14493. + case $LASTARG in
  14494. + *.l)
  14495. + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
  14496. + if test -f "$SRCFILE"; then
  14497. + cp "$SRCFILE" lex.yy.c
  14498. + fi
  14499. + ;;
  14500. + esac
  14501. + fi
  14502. + if test ! -f lex.yy.c; then
  14503. + echo 'main() { return 0; }' >lex.yy.c
  14504. + fi
  14505. + ;;
  14506. +
  14507. + help2man*)
  14508. + echo 1>&2 "\
  14509. +WARNING: \`$1' is $msg. You should only need it if
  14510. + you modified a dependency of a manual page. You may need the
  14511. + \`Help2man' package in order for those modifications to take
  14512. + effect. You can get \`Help2man' from any GNU archive site."
  14513. +
  14514. + file=`echo "$*" | sed -n "$sed_output"`
  14515. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  14516. + if test -f "$file"; then
  14517. + touch $file
  14518. + else
  14519. + test -z "$file" || exec >$file
  14520. + echo ".ab help2man is required to generate this page"
  14521. + exit $?
  14522. + fi
  14523. + ;;
  14524. +
  14525. + makeinfo*)
  14526. + echo 1>&2 "\
  14527. +WARNING: \`$1' is $msg. You should only need it if
  14528. + you modified a \`.texi' or \`.texinfo' file, or any other file
  14529. + indirectly affecting the aspect of the manual. The spurious
  14530. + call might also be the consequence of using a buggy \`make' (AIX,
  14531. + DU, IRIX). You might want to install the \`Texinfo' package or
  14532. + the \`GNU make' package. Grab either from any GNU archive site."
  14533. + # The file to touch is that specified with -o ...
  14534. + file=`echo "$*" | sed -n "$sed_output"`
  14535. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  14536. + if test -z "$file"; then
  14537. + # ... or it is the one specified with @setfilename ...
  14538. + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
  14539. + file=`sed -n '
  14540. + /^@setfilename/{
  14541. + s/.* \([^ ]*\) *$/\1/
  14542. + p
  14543. + q
  14544. + }' $infile`
  14545. + # ... or it is derived from the source name (dir/f.texi becomes f.info)
  14546. + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
  14547. + fi
  14548. + # If the file does not exist, the user really needs makeinfo;
  14549. + # let's fail without touching anything.
  14550. + test -f $file || exit 1
  14551. + touch $file
  14552. + ;;
  14553. +
  14554. + *)
  14555. + echo 1>&2 "\
  14556. +WARNING: \`$1' is needed, and is $msg.
  14557. + You might have modified some files without having the
  14558. + proper tools for further handling them. Check the \`README' file,
  14559. + it often tells you about the needed prerequisites for installing
  14560. + this package. You may also peek at any GNU archive site, in case
  14561. + some other package would contain this missing \`$1' program."
  14562. + exit 1
  14563. + ;;
  14564. +esac
  14565. +
  14566. +exit 0
  14567. +
  14568. +# Local variables:
  14569. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  14570. +# time-stamp-start: "scriptversion="
  14571. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  14572. +# time-stamp-time-zone: "UTC"
  14573. +# time-stamp-end: "; # UTC"
  14574. +# End:
  14575. --- cgminer-2.4.1.orig/driver-icarus.c
  14576. +++ cgminer-2.4.1/driver-icarus.c
  14577. @@ -46,18 +46,6 @@
  14578. #else
  14579. #include <windows.h>
  14580. #include <io.h>
  14581. -
  14582. - #ifndef timersub
  14583. - #define timersub(a, b, result) \
  14584. - do { \
  14585. - (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
  14586. - (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
  14587. - if ((result)->tv_usec < 0) { \
  14588. - --(result)->tv_sec; \
  14589. - (result)->tv_usec += 1000000; \
  14590. - } \
  14591. - } while (0)
  14592. - #endif
  14593. #endif
  14594. #include "elist.h"
  14595. @@ -72,12 +60,8 @@
  14596. // 2 x 11.1 / (5.26 x 10^-9)
  14597. //#define ESTIMATE_HASHES 0xFB90365E
  14598. -// This is the 8s value but causes hash rate loss
  14599. -//#define ESTIMATE_HASHES 0xB54E9147
  14600. -
  14601. -// TODO: determine why returning any other value when no nonce is found
  14602. -// causes hash rate loss
  14603. -#define ESTIMATE_HASHES 0xffffffff
  14604. +// This is the 8s value
  14605. +#define ESTIMATE_HASHES 0xB54E9147
  14606. struct device_api icarus_api;
  14607. @@ -353,6 +337,7 @@ static uint64_t icarus_scanhash(struct t
  14608. if (opt_debug)
  14609. gettimeofday(&tv_finish, NULL);
  14610. + work->blk.nonce = 0xffffffff;
  14611. memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin));
  14612. // aborted before becoming idle, get new work
  14613. @@ -369,7 +354,6 @@ static uint64_t icarus_scanhash(struct t
  14614. nonce = swab32(nonce);
  14615. #endif
  14616. - work->blk.nonce = 0xffffffff;
  14617. submit_nonce(thr, work, nonce);
  14618. if (opt_debug) {
  14619. --- /dev/null
  14620. +++ cgminer-2.4.1/Makefile.in
  14621. @@ -0,0 +1,1471 @@
  14622. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  14623. +# @configure_input@
  14624. +
  14625. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  14626. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  14627. +# Foundation, Inc.
  14628. +# This Makefile.in is free software; the Free Software Foundation
  14629. +# gives unlimited permission to copy and/or distribute it,
  14630. +# with or without modifications, as long as this notice is preserved.
  14631. +
  14632. +# This program is distributed in the hope that it will be useful,
  14633. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  14634. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  14635. +# PARTICULAR PURPOSE.
  14636. +
  14637. +@SET_MAKE@
  14638. +
  14639. +
  14640. +
  14641. +VPATH = @srcdir@
  14642. +pkgdatadir = $(datadir)/@PACKAGE@
  14643. +pkgincludedir = $(includedir)/@PACKAGE@
  14644. +pkglibdir = $(libdir)/@PACKAGE@
  14645. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  14646. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  14647. +install_sh_DATA = $(install_sh) -c -m 644
  14648. +install_sh_PROGRAM = $(install_sh) -c
  14649. +install_sh_SCRIPT = $(install_sh) -c
  14650. +INSTALL_HEADER = $(INSTALL_DATA)
  14651. +transform = $(program_transform_name)
  14652. +NORMAL_INSTALL = :
  14653. +PRE_INSTALL = :
  14654. +POST_INSTALL = :
  14655. +NORMAL_UNINSTALL = :
  14656. +PRE_UNINSTALL = :
  14657. +POST_UNINSTALL = :
  14658. +build_triplet = @build@
  14659. +host_triplet = @host@
  14660. +target_triplet = @target@
  14661. +bin_PROGRAMS = cgminer$(EXEEXT)
  14662. +
  14663. +# original CPU related sources, unchanged
  14664. +
  14665. +# the CPU portion extracted from original main.c
  14666. +@HAS_CPUMINE_TRUE@am__append_1 = sha256_generic.c sha256_4way.c \
  14667. +@HAS_CPUMINE_TRUE@ sha256_via.c sha256_cryptopp.c \
  14668. +@HAS_CPUMINE_TRUE@ sha256_sse2_amd64.c sha256_sse4_amd64.c \
  14669. +@HAS_CPUMINE_TRUE@ sha256_sse2_i386.c sha256_altivec_4way.c \
  14670. +@HAS_CPUMINE_TRUE@ driver-cpu.h driver-cpu.c
  14671. +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_TRUE@am__append_2 = x86_64
  14672. +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_TRUE@am__append_3 = x86_64/libx8664.a
  14673. +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_FALSE@am__append_4 = x86_32
  14674. +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_FALSE@am__append_5 = x86_32/libx8632.a
  14675. +@HAS_BITFORCE_TRUE@am__append_6 = driver-bitforce.c
  14676. +@HAS_ICARUS_TRUE@am__append_7 = driver-icarus.c
  14677. +@HAS_ZTEX_TRUE@am__append_8 = driver-ztex.c libztex.c libztex.h
  14678. +subdir = .
  14679. +DIST_COMMON = README $(am__configure_deps) \
  14680. + $(am__dist_bitstreams_DATA_DIST) $(srcdir)/Makefile.am \
  14681. + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
  14682. + $(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS compile \
  14683. + config.guess config.sub depcomp install-sh missing \
  14684. + mkinstalldirs
  14685. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  14686. +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  14687. + $(top_srcdir)/m4/extensions.m4 \
  14688. + $(top_srcdir)/m4/gnulib-common.m4 \
  14689. + $(top_srcdir)/m4/gnulib-comp.m4 \
  14690. + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
  14691. + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
  14692. + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
  14693. + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
  14694. + $(top_srcdir)/m4/signal_h.m4 \
  14695. + $(top_srcdir)/m4/signalblocking.m4 \
  14696. + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
  14697. + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
  14698. + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
  14699. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  14700. + $(ACLOCAL_M4)
  14701. +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  14702. + configure.lineno config.status.lineno
  14703. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  14704. +CONFIG_HEADER = config.h
  14705. +CONFIG_CLEAN_FILES =
  14706. +CONFIG_CLEAN_VPATH_FILES =
  14707. +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
  14708. + "$(DESTDIR)$(bitstreamsdir)"
  14709. +PROGRAMS = $(bin_PROGRAMS)
  14710. +am__cgminer_SOURCES_DIST = cgminer.c elist.h miner.h compat.h \
  14711. + bench_block.h util.c uthash.h logging.h sha2.c sha2.h api.c \
  14712. + logging.c driver-opencl.h driver-opencl.c ocl.c ocl.h \
  14713. + findnonce.c findnonce.h adl.c adl.h adl_functions.h *.cl \
  14714. + sha256_generic.c sha256_4way.c sha256_via.c sha256_cryptopp.c \
  14715. + sha256_sse2_amd64.c sha256_sse4_amd64.c sha256_sse2_i386.c \
  14716. + sha256_altivec_4way.c driver-cpu.h driver-cpu.c \
  14717. + driver-bitforce.c driver-icarus.c driver-ztex.c libztex.c \
  14718. + libztex.h
  14719. +@HAS_CPUMINE_TRUE@am__objects_1 = cgminer-sha256_generic.$(OBJEXT) \
  14720. +@HAS_CPUMINE_TRUE@ cgminer-sha256_4way.$(OBJEXT) \
  14721. +@HAS_CPUMINE_TRUE@ cgminer-sha256_via.$(OBJEXT) \
  14722. +@HAS_CPUMINE_TRUE@ cgminer-sha256_cryptopp.$(OBJEXT) \
  14723. +@HAS_CPUMINE_TRUE@ cgminer-sha256_sse2_amd64.$(OBJEXT) \
  14724. +@HAS_CPUMINE_TRUE@ cgminer-sha256_sse4_amd64.$(OBJEXT) \
  14725. +@HAS_CPUMINE_TRUE@ cgminer-sha256_sse2_i386.$(OBJEXT) \
  14726. +@HAS_CPUMINE_TRUE@ cgminer-sha256_altivec_4way.$(OBJEXT) \
  14727. +@HAS_CPUMINE_TRUE@ cgminer-driver-cpu.$(OBJEXT)
  14728. +@HAS_BITFORCE_TRUE@am__objects_2 = cgminer-driver-bitforce.$(OBJEXT)
  14729. +@HAS_ICARUS_TRUE@am__objects_3 = cgminer-driver-icarus.$(OBJEXT)
  14730. +@HAS_ZTEX_TRUE@am__objects_4 = cgminer-driver-ztex.$(OBJEXT) \
  14731. +@HAS_ZTEX_TRUE@ cgminer-libztex.$(OBJEXT)
  14732. +am_cgminer_OBJECTS = cgminer-cgminer.$(OBJEXT) cgminer-util.$(OBJEXT) \
  14733. + cgminer-sha2.$(OBJEXT) cgminer-api.$(OBJEXT) \
  14734. + cgminer-logging.$(OBJEXT) cgminer-driver-opencl.$(OBJEXT) \
  14735. + cgminer-ocl.$(OBJEXT) cgminer-findnonce.$(OBJEXT) \
  14736. + cgminer-adl.$(OBJEXT) $(am__objects_1) $(am__objects_2) \
  14737. + $(am__objects_3) $(am__objects_4)
  14738. +cgminer_OBJECTS = $(am_cgminer_OBJECTS)
  14739. +am__DEPENDENCIES_1 =
  14740. +cgminer_DEPENDENCIES = $(am__DEPENDENCIES_1) lib/libgnu.a \
  14741. + ccan/libccan.a $(am__append_3) $(am__append_5)
  14742. +cgminer_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(cgminer_LDFLAGS) \
  14743. + $(LDFLAGS) -o $@
  14744. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  14745. +am__vpath_adj = case $$p in \
  14746. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  14747. + *) f=$$p;; \
  14748. + esac;
  14749. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  14750. +am__install_max = 40
  14751. +am__nobase_strip_setup = \
  14752. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  14753. +am__nobase_strip = \
  14754. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  14755. +am__nobase_list = $(am__nobase_strip_setup); \
  14756. + for p in $$list; do echo "$$p $$p"; done | \
  14757. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  14758. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  14759. + if (++n[$$2] == $(am__install_max)) \
  14760. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  14761. + END { for (dir in files) print dir, files[dir] }'
  14762. +am__base_list = \
  14763. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  14764. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  14765. +am__uninstall_files_from_dir = { \
  14766. + test -z "$$files" \
  14767. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  14768. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  14769. + $(am__cd) "$$dir" && rm -f $$files; }; \
  14770. + }
  14771. +SCRIPTS = $(bin_SCRIPTS)
  14772. +DEFAULT_INCLUDES = -I.@am__isrc@
  14773. +depcomp = $(SHELL) $(top_srcdir)/depcomp
  14774. +am__depfiles_maybe = depfiles
  14775. +am__mv = mv -f
  14776. +AM_V_lt = $(am__v_lt_@AM_V@)
  14777. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  14778. +am__v_lt_0 = --silent
  14779. +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  14780. + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  14781. +AM_V_CC = $(am__v_CC_@AM_V@)
  14782. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  14783. +am__v_CC_0 = @echo " CC " $@;
  14784. +AM_V_at = $(am__v_at_@AM_V@)
  14785. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  14786. +am__v_at_0 = @
  14787. +CCLD = $(CC)
  14788. +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  14789. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  14790. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  14791. +am__v_CCLD_0 = @echo " CCLD " $@;
  14792. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  14793. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  14794. +am__v_GEN_0 = @echo " GEN " $@;
  14795. +SOURCES = $(cgminer_SOURCES)
  14796. +DIST_SOURCES = $(am__cgminer_SOURCES_DIST)
  14797. +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  14798. + html-recursive info-recursive install-data-recursive \
  14799. + install-dvi-recursive install-exec-recursive \
  14800. + install-html-recursive install-info-recursive \
  14801. + install-pdf-recursive install-ps-recursive install-recursive \
  14802. + installcheck-recursive installdirs-recursive pdf-recursive \
  14803. + ps-recursive uninstall-recursive
  14804. +am__dist_bitstreams_DATA_DIST = bitstreams/*
  14805. +DATA = $(dist_bitstreams_DATA)
  14806. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  14807. + distclean-recursive maintainer-clean-recursive
  14808. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  14809. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  14810. + distdir dist dist-all distcheck
  14811. +ETAGS = etags
  14812. +CTAGS = ctags
  14813. +DIST_SUBDIRS = lib compat ccan x86_64 x86_32
  14814. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  14815. +distdir = $(PACKAGE)-$(VERSION)
  14816. +top_distdir = $(distdir)
  14817. +am__remove_distdir = \
  14818. + if test -d "$(distdir)"; then \
  14819. + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  14820. + && rm -rf "$(distdir)" \
  14821. + || { sleep 5 && rm -rf "$(distdir)"; }; \
  14822. + else :; fi
  14823. +am__relativize = \
  14824. + dir0=`pwd`; \
  14825. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  14826. + sed_rest='s,^[^/]*/*,,'; \
  14827. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  14828. + sed_butlast='s,/*[^/]*$$,,'; \
  14829. + while test -n "$$dir1"; do \
  14830. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  14831. + if test "$$first" != "."; then \
  14832. + if test "$$first" = ".."; then \
  14833. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  14834. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  14835. + else \
  14836. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  14837. + if test "$$first2" = "$$first"; then \
  14838. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  14839. + else \
  14840. + dir2="../$$dir2"; \
  14841. + fi; \
  14842. + dir0="$$dir0"/"$$first"; \
  14843. + fi; \
  14844. + fi; \
  14845. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  14846. + done; \
  14847. + reldir="$$dir2"
  14848. +DIST_ARCHIVES = $(distdir).tar.gz
  14849. +GZIP_ENV = --best
  14850. +distuninstallcheck_listfiles = find . -type f -print
  14851. +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  14852. + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  14853. +distcleancheck_listfiles = find . -type f -print
  14854. +ACLOCAL = @ACLOCAL@
  14855. +ALLOCA = @ALLOCA@
  14856. +AMTAR = @AMTAR@
  14857. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  14858. +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
  14859. +AUTOCONF = @AUTOCONF@
  14860. +AUTOHEADER = @AUTOHEADER@
  14861. +AUTOMAKE = @AUTOMAKE@
  14862. +AWK = @AWK@
  14863. +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
  14864. +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
  14865. +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
  14866. +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
  14867. +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
  14868. +CC = @CC@
  14869. +CCDEPMODE = @CCDEPMODE@
  14870. +CFLAGS = @CFLAGS@
  14871. +CPP = @CPP@
  14872. +CPPFLAGS = @CPPFLAGS@
  14873. +CYGPATH_W = @CYGPATH_W@
  14874. +DEFS = @DEFS@
  14875. +DEPDIR = @DEPDIR@
  14876. +DLOPEN_FLAGS = @DLOPEN_FLAGS@
  14877. +ECHO_C = @ECHO_C@
  14878. +ECHO_N = @ECHO_N@
  14879. +ECHO_T = @ECHO_T@
  14880. +EGREP = @EGREP@
  14881. +EXEEXT = @EXEEXT@
  14882. +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
  14883. +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
  14884. +GNULIB_MBSCHR = @GNULIB_MBSCHR@
  14885. +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
  14886. +GNULIB_MBSLEN = @GNULIB_MBSLEN@
  14887. +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
  14888. +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
  14889. +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
  14890. +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
  14891. +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
  14892. +GNULIB_MBSSEP = @GNULIB_MBSSEP@
  14893. +GNULIB_MBSSPN = @GNULIB_MBSSPN@
  14894. +GNULIB_MBSSTR = @GNULIB_MBSSTR@
  14895. +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
  14896. +GNULIB_MEMCHR = @GNULIB_MEMCHR@
  14897. +GNULIB_MEMMEM = @GNULIB_MEMMEM@
  14898. +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
  14899. +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
  14900. +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
  14901. +GNULIB_SIGACTION = @GNULIB_SIGACTION@
  14902. +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
  14903. +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
  14904. +GNULIB_STPCPY = @GNULIB_STPCPY@
  14905. +GNULIB_STPNCPY = @GNULIB_STPNCPY@
  14906. +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
  14907. +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
  14908. +GNULIB_STRDUP = @GNULIB_STRDUP@
  14909. +GNULIB_STRERROR = @GNULIB_STRERROR@
  14910. +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
  14911. +GNULIB_STRNCAT = @GNULIB_STRNCAT@
  14912. +GNULIB_STRNDUP = @GNULIB_STRNDUP@
  14913. +GNULIB_STRNLEN = @GNULIB_STRNLEN@
  14914. +GNULIB_STRPBRK = @GNULIB_STRPBRK@
  14915. +GNULIB_STRSEP = @GNULIB_STRSEP@
  14916. +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
  14917. +GNULIB_STRSTR = @GNULIB_STRSTR@
  14918. +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
  14919. +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
  14920. +GREP = @GREP@
  14921. +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
  14922. +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
  14923. +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
  14924. +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
  14925. +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
  14926. +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
  14927. +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
  14928. +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
  14929. +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
  14930. +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
  14931. +HAVE_MBSLEN = @HAVE_MBSLEN@
  14932. +HAVE_MEMCHR = @HAVE_MEMCHR@
  14933. +HAVE_MEMPCPY = @HAVE_MEMPCPY@
  14934. +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
  14935. +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
  14936. +HAVE_SIGACTION = @HAVE_SIGACTION@
  14937. +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
  14938. +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
  14939. +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
  14940. +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
  14941. +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
  14942. +HAVE_SIGSET_T = @HAVE_SIGSET_T@
  14943. +HAVE_STDINT_H = @HAVE_STDINT_H@
  14944. +HAVE_STPCPY = @HAVE_STPCPY@
  14945. +HAVE_STPNCPY = @HAVE_STPNCPY@
  14946. +HAVE_STRCASESTR = @HAVE_STRCASESTR@
  14947. +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
  14948. +HAVE_STRPBRK = @HAVE_STRPBRK@
  14949. +HAVE_STRSEP = @HAVE_STRSEP@
  14950. +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
  14951. +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
  14952. +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
  14953. +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
  14954. +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
  14955. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
  14956. +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
  14957. +HAVE_WCHAR_H = @HAVE_WCHAR_H@
  14958. +HAVE_WCHAR_T = @HAVE_WCHAR_T@
  14959. +INCLUDE_NEXT = @INCLUDE_NEXT@
  14960. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  14961. +INSTALL = @INSTALL@
  14962. +INSTALL_DATA = @INSTALL_DATA@
  14963. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  14964. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  14965. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  14966. +JANSSON_LIBS = @JANSSON_LIBS@
  14967. +LDFLAGS = @LDFLAGS@
  14968. +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
  14969. +LIBCURL_LIBS = @LIBCURL_LIBS@
  14970. +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
  14971. +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
  14972. +LIBOBJS = @LIBOBJS@
  14973. +LIBS = @LIBS@
  14974. +LTLIBOBJS = @LTLIBOBJS@
  14975. +MAINT = @MAINT@
  14976. +MAKEINFO = @MAKEINFO@
  14977. +MATH_LIBS = @MATH_LIBS@
  14978. +MKDIR_P = @MKDIR_P@
  14979. +NCURSES_LIBS = @NCURSES_LIBS@
  14980. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
  14981. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
  14982. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
  14983. +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
  14984. +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
  14985. +NEXT_STDDEF_H = @NEXT_STDDEF_H@
  14986. +NEXT_STDINT_H = @NEXT_STDINT_H@
  14987. +NEXT_STRING_H = @NEXT_STRING_H@
  14988. +OBJEXT = @OBJEXT@
  14989. +OPENCL_FLAGS = @OPENCL_FLAGS@
  14990. +OPENCL_LIBS = @OPENCL_LIBS@
  14991. +PACKAGE = @PACKAGE@
  14992. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  14993. +PACKAGE_NAME = @PACKAGE_NAME@
  14994. +PACKAGE_STRING = @PACKAGE_STRING@
  14995. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  14996. +PACKAGE_URL = @PACKAGE_URL@
  14997. +PACKAGE_VERSION = @PACKAGE_VERSION@
  14998. +PATH_SEPARATOR = @PATH_SEPARATOR@
  14999. +PDCURSES_LIBS = @PDCURSES_LIBS@
  15000. +PKG_CONFIG = @PKG_CONFIG@
  15001. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  15002. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  15003. +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
  15004. +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
  15005. +PTHREAD_FLAGS = @PTHREAD_FLAGS@
  15006. +PTHREAD_LIBS = @PTHREAD_LIBS@
  15007. +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
  15008. +RANLIB = @RANLIB@
  15009. +REPLACE_MEMCHR = @REPLACE_MEMCHR@
  15010. +REPLACE_MEMMEM = @REPLACE_MEMMEM@
  15011. +REPLACE_NULL = @REPLACE_NULL@
  15012. +REPLACE_STPNCPY = @REPLACE_STPNCPY@
  15013. +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
  15014. +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
  15015. +REPLACE_STRDUP = @REPLACE_STRDUP@
  15016. +REPLACE_STRERROR = @REPLACE_STRERROR@
  15017. +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
  15018. +REPLACE_STRNCAT = @REPLACE_STRNCAT@
  15019. +REPLACE_STRNDUP = @REPLACE_STRNDUP@
  15020. +REPLACE_STRNLEN = @REPLACE_STRNLEN@
  15021. +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
  15022. +REPLACE_STRSTR = @REPLACE_STRSTR@
  15023. +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
  15024. +SET_MAKE = @SET_MAKE@
  15025. +SHELL = @SHELL@
  15026. +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
  15027. +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
  15028. +STDDEF_H = @STDDEF_H@
  15029. +STDINT_H = @STDINT_H@
  15030. +STRIP = @STRIP@
  15031. +UDEV_LIBS = @UDEV_LIBS@
  15032. +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
  15033. +USB_FLAGS = @USB_FLAGS@
  15034. +USB_LIBS = @USB_LIBS@
  15035. +VERSION = @VERSION@
  15036. +VMAJ = @VMAJ@
  15037. +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
  15038. +WINT_T_SUFFIX = @WINT_T_SUFFIX@
  15039. +WS2_LIBS = @WS2_LIBS@
  15040. +YASM = @YASM@
  15041. +abs_builddir = @abs_builddir@
  15042. +abs_srcdir = @abs_srcdir@
  15043. +abs_top_builddir = @abs_top_builddir@
  15044. +abs_top_srcdir = @abs_top_srcdir@
  15045. +ac_ct_CC = @ac_ct_CC@
  15046. +am__include = @am__include@
  15047. +am__leading_dot = @am__leading_dot@
  15048. +am__quote = @am__quote@
  15049. +am__tar = @am__tar@
  15050. +am__untar = @am__untar@
  15051. +bindir = @bindir@
  15052. +build = @build@
  15053. +build_alias = @build_alias@
  15054. +build_cpu = @build_cpu@
  15055. +build_os = @build_os@
  15056. +build_vendor = @build_vendor@
  15057. +builddir = @builddir@
  15058. +datadir = @datadir@
  15059. +datarootdir = @datarootdir@
  15060. +docdir = @docdir@
  15061. +dvidir = @dvidir@
  15062. +exec_prefix = @exec_prefix@
  15063. +gl_LIBOBJS = @gl_LIBOBJS@
  15064. +gl_LTLIBOBJS = @gl_LTLIBOBJS@
  15065. +gltests_LIBOBJS = @gltests_LIBOBJS@
  15066. +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
  15067. +gltests_WITNESS = @gltests_WITNESS@
  15068. +host = @host@
  15069. +host_alias = @host_alias@
  15070. +host_cpu = @host_cpu@
  15071. +host_os = @host_os@
  15072. +host_vendor = @host_vendor@
  15073. +htmldir = @htmldir@
  15074. +includedir = @includedir@
  15075. +infodir = @infodir@
  15076. +install_sh = @install_sh@
  15077. +libdir = @libdir@
  15078. +libexecdir = @libexecdir@
  15079. +localedir = @localedir@
  15080. +localstatedir = @localstatedir@
  15081. +mandir = @mandir@
  15082. +mkdir_p = @mkdir_p@
  15083. +oldincludedir = @oldincludedir@
  15084. +pdfdir = @pdfdir@
  15085. +prefix = @prefix@
  15086. +program_transform_name = @program_transform_name@
  15087. +psdir = @psdir@
  15088. +release_info = @release_info@
  15089. +sbindir = @sbindir@
  15090. +sharedstatedir = @sharedstatedir@
  15091. +srcdir = @srcdir@
  15092. +sysconfdir = @sysconfdir@
  15093. +target = @target@
  15094. +target_alias = @target_alias@
  15095. +target_cpu = @target_cpu@
  15096. +target_os = @target_os@
  15097. +target_vendor = @target_vendor@
  15098. +top_build_prefix = @top_build_prefix@
  15099. +top_builddir = @top_builddir@
  15100. +top_srcdir = @top_srcdir@
  15101. +version_info = @version_info@
  15102. +ACLOCAL_AMFLAGS = -I m4
  15103. +@WANT_JANSSON_FALSE@JANSSON_INCLUDES =
  15104. +@WANT_JANSSON_TRUE@JANSSON_INCLUDES = -I$(top_srcdir)/compat/jansson
  15105. +EXTRA_DIST = example.conf m4/gnulib-cache.m4 linux-usb-cgminer \
  15106. + ADL_SDK/readme.txt api-example.php miner.php \
  15107. + API.class API.java api-example.c windows-build.txt \
  15108. + bitstreams/*
  15109. +
  15110. +SUBDIRS = lib compat ccan $(am__append_2) $(am__append_4)
  15111. +INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) $(USB_FLAGS)
  15112. +bin_SCRIPTS = *.cl
  15113. +cgminer_LDFLAGS = $(PTHREAD_FLAGS)
  15114. +cgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ \
  15115. + @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ \
  15116. + @WS2_LIBS@ @UDEV_LIBS@ @USB_LIBS@ @MATH_LIBS@ lib/libgnu.a \
  15117. + ccan/libccan.a $(am__append_3) $(am__append_5)
  15118. +cgminer_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
  15119. +
  15120. +# common sources
  15121. +
  15122. +# GPU sources, TODO: make them selectable
  15123. +# the GPU portion extracted from original main.c
  15124. +
  15125. +# the original GPU related sources, unchanged
  15126. +cgminer_SOURCES := cgminer.c elist.h miner.h compat.h bench_block.h \
  15127. + util.c uthash.h logging.h sha2.c sha2.h api.c logging.c \
  15128. + driver-opencl.h driver-opencl.c ocl.c ocl.h findnonce.c \
  15129. + findnonce.h adl.c adl.h adl_functions.h *.cl $(am__append_1) \
  15130. + $(am__append_6) $(am__append_7) $(am__append_8)
  15131. +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@AM_CFLAGS = -DHAS_YASM
  15132. +@HAS_ZTEX_TRUE@bitstreamsdir = $(bindir)/bitstreams
  15133. +@HAS_ZTEX_TRUE@dist_bitstreams_DATA = bitstreams/*
  15134. +all: config.h
  15135. + $(MAKE) $(AM_MAKEFLAGS) all-recursive
  15136. +
  15137. +.SUFFIXES:
  15138. +.SUFFIXES: .c .o .obj
  15139. +am--refresh: Makefile
  15140. + @:
  15141. +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  15142. + @for dep in $?; do \
  15143. + case '$(am__configure_deps)' in \
  15144. + *$$dep*) \
  15145. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  15146. + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  15147. + && exit 0; \
  15148. + exit 1;; \
  15149. + esac; \
  15150. + done; \
  15151. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  15152. + $(am__cd) $(top_srcdir) && \
  15153. + $(AUTOMAKE) --foreign Makefile
  15154. +.PRECIOUS: Makefile
  15155. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  15156. + @case '$?' in \
  15157. + *config.status*) \
  15158. + echo ' $(SHELL) ./config.status'; \
  15159. + $(SHELL) ./config.status;; \
  15160. + *) \
  15161. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  15162. + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  15163. + esac;
  15164. +
  15165. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  15166. + $(SHELL) ./config.status --recheck
  15167. +
  15168. +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  15169. + $(am__cd) $(srcdir) && $(AUTOCONF)
  15170. +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  15171. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  15172. +$(am__aclocal_m4_deps):
  15173. +
  15174. +config.h: stamp-h1
  15175. + @if test ! -f $@; then rm -f stamp-h1; else :; fi
  15176. + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
  15177. +
  15178. +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  15179. + @rm -f stamp-h1
  15180. + cd $(top_builddir) && $(SHELL) ./config.status config.h
  15181. +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  15182. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  15183. + rm -f stamp-h1
  15184. + touch $@
  15185. +
  15186. +distclean-hdr:
  15187. + -rm -f config.h stamp-h1
  15188. +install-binPROGRAMS: $(bin_PROGRAMS)
  15189. + @$(NORMAL_INSTALL)
  15190. + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  15191. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  15192. + for p in $$list; do echo "$$p $$p"; done | \
  15193. + sed 's/$(EXEEXT)$$//' | \
  15194. + while read p p1; do if test -f $$p; \
  15195. + then echo "$$p"; echo "$$p"; else :; fi; \
  15196. + done | \
  15197. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  15198. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  15199. + sed 'N;N;N;s,\n, ,g' | \
  15200. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  15201. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  15202. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  15203. + else { print "f", $$3 "/" $$4, $$1; } } \
  15204. + END { for (d in files) print "f", d, files[d] }' | \
  15205. + while read type dir files; do \
  15206. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  15207. + test -z "$$files" || { \
  15208. + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  15209. + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  15210. + } \
  15211. + ; done
  15212. +
  15213. +uninstall-binPROGRAMS:
  15214. + @$(NORMAL_UNINSTALL)
  15215. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  15216. + files=`for p in $$list; do echo "$$p"; done | \
  15217. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  15218. + -e 's/$$/$(EXEEXT)/' `; \
  15219. + test -n "$$list" || exit 0; \
  15220. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  15221. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  15222. +
  15223. +clean-binPROGRAMS:
  15224. + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  15225. +cgminer$(EXEEXT): $(cgminer_OBJECTS) $(cgminer_DEPENDENCIES) $(EXTRA_cgminer_DEPENDENCIES)
  15226. + @rm -f cgminer$(EXEEXT)
  15227. + $(AM_V_CCLD)$(cgminer_LINK) $(cgminer_OBJECTS) $(cgminer_LDADD) $(LIBS)
  15228. +install-binSCRIPTS: $(bin_SCRIPTS)
  15229. + @$(NORMAL_INSTALL)
  15230. + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  15231. + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
  15232. + for p in $$list; do \
  15233. + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  15234. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  15235. + done | \
  15236. + sed -e 'p;s,.*/,,;n' \
  15237. + -e 'h;s|.*|.|' \
  15238. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  15239. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  15240. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  15241. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  15242. + if (++n[d] == $(am__install_max)) { \
  15243. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  15244. + else { print "f", d "/" $$4, $$1 } } \
  15245. + END { for (d in files) print "f", d, files[d] }' | \
  15246. + while read type dir files; do \
  15247. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  15248. + test -z "$$files" || { \
  15249. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  15250. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  15251. + } \
  15252. + ; done
  15253. +
  15254. +uninstall-binSCRIPTS:
  15255. + @$(NORMAL_UNINSTALL)
  15256. + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
  15257. + files=`for p in $$list; do echo "$$p"; done | \
  15258. + sed -e 's,.*/,,;$(transform)'`; \
  15259. + dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
  15260. +
  15261. +mostlyclean-compile:
  15262. + -rm -f *.$(OBJEXT)
  15263. +
  15264. +distclean-compile:
  15265. + -rm -f *.tab.c
  15266. +
  15267. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-adl.Po@am__quote@
  15268. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-api.Po@am__quote@
  15269. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-cgminer.Po@am__quote@
  15270. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-bitforce.Po@am__quote@
  15271. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-cpu.Po@am__quote@
  15272. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-icarus.Po@am__quote@
  15273. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-opencl.Po@am__quote@
  15274. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-ztex.Po@am__quote@
  15275. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-findnonce.Po@am__quote@
  15276. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-libztex.Po@am__quote@
  15277. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-logging.Po@am__quote@
  15278. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-ocl.Po@am__quote@
  15279. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha2.Po@am__quote@
  15280. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_4way.Po@am__quote@
  15281. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_altivec_4way.Po@am__quote@
  15282. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_cryptopp.Po@am__quote@
  15283. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_generic.Po@am__quote@
  15284. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_sse2_amd64.Po@am__quote@
  15285. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_sse2_i386.Po@am__quote@
  15286. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_sse4_amd64.Po@am__quote@
  15287. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_via.Po@am__quote@
  15288. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-util.Po@am__quote@
  15289. +
  15290. +.c.o:
  15291. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  15292. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  15293. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  15294. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15295. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
  15296. +
  15297. +.c.obj:
  15298. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  15299. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  15300. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  15301. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15302. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
  15303. +
  15304. +cgminer-cgminer.o: cgminer.c
  15305. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-cgminer.o -MD -MP -MF $(DEPDIR)/cgminer-cgminer.Tpo -c -o cgminer-cgminer.o `test -f 'cgminer.c' || echo '$(srcdir)/'`cgminer.c
  15306. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-cgminer.Tpo $(DEPDIR)/cgminer-cgminer.Po
  15307. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cgminer.c' object='cgminer-cgminer.o' libtool=no @AMDEPBACKSLASH@
  15308. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15309. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-cgminer.o `test -f 'cgminer.c' || echo '$(srcdir)/'`cgminer.c
  15310. +
  15311. +cgminer-cgminer.obj: cgminer.c
  15312. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-cgminer.obj -MD -MP -MF $(DEPDIR)/cgminer-cgminer.Tpo -c -o cgminer-cgminer.obj `if test -f 'cgminer.c'; then $(CYGPATH_W) 'cgminer.c'; else $(CYGPATH_W) '$(srcdir)/cgminer.c'; fi`
  15313. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-cgminer.Tpo $(DEPDIR)/cgminer-cgminer.Po
  15314. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cgminer.c' object='cgminer-cgminer.obj' libtool=no @AMDEPBACKSLASH@
  15315. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15316. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-cgminer.obj `if test -f 'cgminer.c'; then $(CYGPATH_W) 'cgminer.c'; else $(CYGPATH_W) '$(srcdir)/cgminer.c'; fi`
  15317. +
  15318. +cgminer-util.o: util.c
  15319. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-util.o -MD -MP -MF $(DEPDIR)/cgminer-util.Tpo -c -o cgminer-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
  15320. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-util.Tpo $(DEPDIR)/cgminer-util.Po
  15321. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='cgminer-util.o' libtool=no @AMDEPBACKSLASH@
  15322. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15323. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
  15324. +
  15325. +cgminer-util.obj: util.c
  15326. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-util.obj -MD -MP -MF $(DEPDIR)/cgminer-util.Tpo -c -o cgminer-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
  15327. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-util.Tpo $(DEPDIR)/cgminer-util.Po
  15328. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='cgminer-util.obj' libtool=no @AMDEPBACKSLASH@
  15329. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15330. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
  15331. +
  15332. +cgminer-sha2.o: sha2.c
  15333. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha2.o -MD -MP -MF $(DEPDIR)/cgminer-sha2.Tpo -c -o cgminer-sha2.o `test -f 'sha2.c' || echo '$(srcdir)/'`sha2.c
  15334. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha2.Tpo $(DEPDIR)/cgminer-sha2.Po
  15335. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha2.c' object='cgminer-sha2.o' libtool=no @AMDEPBACKSLASH@
  15336. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15337. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha2.o `test -f 'sha2.c' || echo '$(srcdir)/'`sha2.c
  15338. +
  15339. +cgminer-sha2.obj: sha2.c
  15340. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha2.obj -MD -MP -MF $(DEPDIR)/cgminer-sha2.Tpo -c -o cgminer-sha2.obj `if test -f 'sha2.c'; then $(CYGPATH_W) 'sha2.c'; else $(CYGPATH_W) '$(srcdir)/sha2.c'; fi`
  15341. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha2.Tpo $(DEPDIR)/cgminer-sha2.Po
  15342. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha2.c' object='cgminer-sha2.obj' libtool=no @AMDEPBACKSLASH@
  15343. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15344. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha2.obj `if test -f 'sha2.c'; then $(CYGPATH_W) 'sha2.c'; else $(CYGPATH_W) '$(srcdir)/sha2.c'; fi`
  15345. +
  15346. +cgminer-api.o: api.c
  15347. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-api.o -MD -MP -MF $(DEPDIR)/cgminer-api.Tpo -c -o cgminer-api.o `test -f 'api.c' || echo '$(srcdir)/'`api.c
  15348. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-api.Tpo $(DEPDIR)/cgminer-api.Po
  15349. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='api.c' object='cgminer-api.o' libtool=no @AMDEPBACKSLASH@
  15350. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15351. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-api.o `test -f 'api.c' || echo '$(srcdir)/'`api.c
  15352. +
  15353. +cgminer-api.obj: api.c
  15354. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-api.obj -MD -MP -MF $(DEPDIR)/cgminer-api.Tpo -c -o cgminer-api.obj `if test -f 'api.c'; then $(CYGPATH_W) 'api.c'; else $(CYGPATH_W) '$(srcdir)/api.c'; fi`
  15355. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-api.Tpo $(DEPDIR)/cgminer-api.Po
  15356. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='api.c' object='cgminer-api.obj' libtool=no @AMDEPBACKSLASH@
  15357. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15358. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-api.obj `if test -f 'api.c'; then $(CYGPATH_W) 'api.c'; else $(CYGPATH_W) '$(srcdir)/api.c'; fi`
  15359. +
  15360. +cgminer-logging.o: logging.c
  15361. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-logging.o -MD -MP -MF $(DEPDIR)/cgminer-logging.Tpo -c -o cgminer-logging.o `test -f 'logging.c' || echo '$(srcdir)/'`logging.c
  15362. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-logging.Tpo $(DEPDIR)/cgminer-logging.Po
  15363. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='logging.c' object='cgminer-logging.o' libtool=no @AMDEPBACKSLASH@
  15364. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15365. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-logging.o `test -f 'logging.c' || echo '$(srcdir)/'`logging.c
  15366. +
  15367. +cgminer-logging.obj: logging.c
  15368. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-logging.obj -MD -MP -MF $(DEPDIR)/cgminer-logging.Tpo -c -o cgminer-logging.obj `if test -f 'logging.c'; then $(CYGPATH_W) 'logging.c'; else $(CYGPATH_W) '$(srcdir)/logging.c'; fi`
  15369. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-logging.Tpo $(DEPDIR)/cgminer-logging.Po
  15370. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='logging.c' object='cgminer-logging.obj' libtool=no @AMDEPBACKSLASH@
  15371. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15372. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-logging.obj `if test -f 'logging.c'; then $(CYGPATH_W) 'logging.c'; else $(CYGPATH_W) '$(srcdir)/logging.c'; fi`
  15373. +
  15374. +cgminer-driver-opencl.o: driver-opencl.c
  15375. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-opencl.o -MD -MP -MF $(DEPDIR)/cgminer-driver-opencl.Tpo -c -o cgminer-driver-opencl.o `test -f 'driver-opencl.c' || echo '$(srcdir)/'`driver-opencl.c
  15376. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-opencl.Tpo $(DEPDIR)/cgminer-driver-opencl.Po
  15377. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-opencl.c' object='cgminer-driver-opencl.o' libtool=no @AMDEPBACKSLASH@
  15378. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15379. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-opencl.o `test -f 'driver-opencl.c' || echo '$(srcdir)/'`driver-opencl.c
  15380. +
  15381. +cgminer-driver-opencl.obj: driver-opencl.c
  15382. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-opencl.obj -MD -MP -MF $(DEPDIR)/cgminer-driver-opencl.Tpo -c -o cgminer-driver-opencl.obj `if test -f 'driver-opencl.c'; then $(CYGPATH_W) 'driver-opencl.c'; else $(CYGPATH_W) '$(srcdir)/driver-opencl.c'; fi`
  15383. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-opencl.Tpo $(DEPDIR)/cgminer-driver-opencl.Po
  15384. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-opencl.c' object='cgminer-driver-opencl.obj' libtool=no @AMDEPBACKSLASH@
  15385. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15386. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-opencl.obj `if test -f 'driver-opencl.c'; then $(CYGPATH_W) 'driver-opencl.c'; else $(CYGPATH_W) '$(srcdir)/driver-opencl.c'; fi`
  15387. +
  15388. +cgminer-ocl.o: ocl.c
  15389. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-ocl.o -MD -MP -MF $(DEPDIR)/cgminer-ocl.Tpo -c -o cgminer-ocl.o `test -f 'ocl.c' || echo '$(srcdir)/'`ocl.c
  15390. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-ocl.Tpo $(DEPDIR)/cgminer-ocl.Po
  15391. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ocl.c' object='cgminer-ocl.o' libtool=no @AMDEPBACKSLASH@
  15392. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15393. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-ocl.o `test -f 'ocl.c' || echo '$(srcdir)/'`ocl.c
  15394. +
  15395. +cgminer-ocl.obj: ocl.c
  15396. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-ocl.obj -MD -MP -MF $(DEPDIR)/cgminer-ocl.Tpo -c -o cgminer-ocl.obj `if test -f 'ocl.c'; then $(CYGPATH_W) 'ocl.c'; else $(CYGPATH_W) '$(srcdir)/ocl.c'; fi`
  15397. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-ocl.Tpo $(DEPDIR)/cgminer-ocl.Po
  15398. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ocl.c' object='cgminer-ocl.obj' libtool=no @AMDEPBACKSLASH@
  15399. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15400. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-ocl.obj `if test -f 'ocl.c'; then $(CYGPATH_W) 'ocl.c'; else $(CYGPATH_W) '$(srcdir)/ocl.c'; fi`
  15401. +
  15402. +cgminer-findnonce.o: findnonce.c
  15403. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-findnonce.o -MD -MP -MF $(DEPDIR)/cgminer-findnonce.Tpo -c -o cgminer-findnonce.o `test -f 'findnonce.c' || echo '$(srcdir)/'`findnonce.c
  15404. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-findnonce.Tpo $(DEPDIR)/cgminer-findnonce.Po
  15405. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='findnonce.c' object='cgminer-findnonce.o' libtool=no @AMDEPBACKSLASH@
  15406. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15407. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-findnonce.o `test -f 'findnonce.c' || echo '$(srcdir)/'`findnonce.c
  15408. +
  15409. +cgminer-findnonce.obj: findnonce.c
  15410. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-findnonce.obj -MD -MP -MF $(DEPDIR)/cgminer-findnonce.Tpo -c -o cgminer-findnonce.obj `if test -f 'findnonce.c'; then $(CYGPATH_W) 'findnonce.c'; else $(CYGPATH_W) '$(srcdir)/findnonce.c'; fi`
  15411. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-findnonce.Tpo $(DEPDIR)/cgminer-findnonce.Po
  15412. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='findnonce.c' object='cgminer-findnonce.obj' libtool=no @AMDEPBACKSLASH@
  15413. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15414. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-findnonce.obj `if test -f 'findnonce.c'; then $(CYGPATH_W) 'findnonce.c'; else $(CYGPATH_W) '$(srcdir)/findnonce.c'; fi`
  15415. +
  15416. +cgminer-adl.o: adl.c
  15417. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-adl.o -MD -MP -MF $(DEPDIR)/cgminer-adl.Tpo -c -o cgminer-adl.o `test -f 'adl.c' || echo '$(srcdir)/'`adl.c
  15418. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-adl.Tpo $(DEPDIR)/cgminer-adl.Po
  15419. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='adl.c' object='cgminer-adl.o' libtool=no @AMDEPBACKSLASH@
  15420. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15421. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-adl.o `test -f 'adl.c' || echo '$(srcdir)/'`adl.c
  15422. +
  15423. +cgminer-adl.obj: adl.c
  15424. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-adl.obj -MD -MP -MF $(DEPDIR)/cgminer-adl.Tpo -c -o cgminer-adl.obj `if test -f 'adl.c'; then $(CYGPATH_W) 'adl.c'; else $(CYGPATH_W) '$(srcdir)/adl.c'; fi`
  15425. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-adl.Tpo $(DEPDIR)/cgminer-adl.Po
  15426. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='adl.c' object='cgminer-adl.obj' libtool=no @AMDEPBACKSLASH@
  15427. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15428. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-adl.obj `if test -f 'adl.c'; then $(CYGPATH_W) 'adl.c'; else $(CYGPATH_W) '$(srcdir)/adl.c'; fi`
  15429. +
  15430. +cgminer-sha256_generic.o: sha256_generic.c
  15431. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_generic.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_generic.Tpo -c -o cgminer-sha256_generic.o `test -f 'sha256_generic.c' || echo '$(srcdir)/'`sha256_generic.c
  15432. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_generic.Tpo $(DEPDIR)/cgminer-sha256_generic.Po
  15433. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_generic.c' object='cgminer-sha256_generic.o' libtool=no @AMDEPBACKSLASH@
  15434. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15435. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_generic.o `test -f 'sha256_generic.c' || echo '$(srcdir)/'`sha256_generic.c
  15436. +
  15437. +cgminer-sha256_generic.obj: sha256_generic.c
  15438. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_generic.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_generic.Tpo -c -o cgminer-sha256_generic.obj `if test -f 'sha256_generic.c'; then $(CYGPATH_W) 'sha256_generic.c'; else $(CYGPATH_W) '$(srcdir)/sha256_generic.c'; fi`
  15439. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_generic.Tpo $(DEPDIR)/cgminer-sha256_generic.Po
  15440. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_generic.c' object='cgminer-sha256_generic.obj' libtool=no @AMDEPBACKSLASH@
  15441. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15442. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_generic.obj `if test -f 'sha256_generic.c'; then $(CYGPATH_W) 'sha256_generic.c'; else $(CYGPATH_W) '$(srcdir)/sha256_generic.c'; fi`
  15443. +
  15444. +cgminer-sha256_4way.o: sha256_4way.c
  15445. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_4way.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_4way.Tpo -c -o cgminer-sha256_4way.o `test -f 'sha256_4way.c' || echo '$(srcdir)/'`sha256_4way.c
  15446. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_4way.Tpo $(DEPDIR)/cgminer-sha256_4way.Po
  15447. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_4way.c' object='cgminer-sha256_4way.o' libtool=no @AMDEPBACKSLASH@
  15448. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15449. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_4way.o `test -f 'sha256_4way.c' || echo '$(srcdir)/'`sha256_4way.c
  15450. +
  15451. +cgminer-sha256_4way.obj: sha256_4way.c
  15452. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_4way.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_4way.Tpo -c -o cgminer-sha256_4way.obj `if test -f 'sha256_4way.c'; then $(CYGPATH_W) 'sha256_4way.c'; else $(CYGPATH_W) '$(srcdir)/sha256_4way.c'; fi`
  15453. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_4way.Tpo $(DEPDIR)/cgminer-sha256_4way.Po
  15454. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_4way.c' object='cgminer-sha256_4way.obj' libtool=no @AMDEPBACKSLASH@
  15455. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15456. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_4way.obj `if test -f 'sha256_4way.c'; then $(CYGPATH_W) 'sha256_4way.c'; else $(CYGPATH_W) '$(srcdir)/sha256_4way.c'; fi`
  15457. +
  15458. +cgminer-sha256_via.o: sha256_via.c
  15459. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_via.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_via.Tpo -c -o cgminer-sha256_via.o `test -f 'sha256_via.c' || echo '$(srcdir)/'`sha256_via.c
  15460. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_via.Tpo $(DEPDIR)/cgminer-sha256_via.Po
  15461. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_via.c' object='cgminer-sha256_via.o' libtool=no @AMDEPBACKSLASH@
  15462. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15463. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_via.o `test -f 'sha256_via.c' || echo '$(srcdir)/'`sha256_via.c
  15464. +
  15465. +cgminer-sha256_via.obj: sha256_via.c
  15466. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_via.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_via.Tpo -c -o cgminer-sha256_via.obj `if test -f 'sha256_via.c'; then $(CYGPATH_W) 'sha256_via.c'; else $(CYGPATH_W) '$(srcdir)/sha256_via.c'; fi`
  15467. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_via.Tpo $(DEPDIR)/cgminer-sha256_via.Po
  15468. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_via.c' object='cgminer-sha256_via.obj' libtool=no @AMDEPBACKSLASH@
  15469. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15470. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_via.obj `if test -f 'sha256_via.c'; then $(CYGPATH_W) 'sha256_via.c'; else $(CYGPATH_W) '$(srcdir)/sha256_via.c'; fi`
  15471. +
  15472. +cgminer-sha256_cryptopp.o: sha256_cryptopp.c
  15473. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_cryptopp.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_cryptopp.Tpo -c -o cgminer-sha256_cryptopp.o `test -f 'sha256_cryptopp.c' || echo '$(srcdir)/'`sha256_cryptopp.c
  15474. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_cryptopp.Tpo $(DEPDIR)/cgminer-sha256_cryptopp.Po
  15475. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_cryptopp.c' object='cgminer-sha256_cryptopp.o' libtool=no @AMDEPBACKSLASH@
  15476. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15477. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_cryptopp.o `test -f 'sha256_cryptopp.c' || echo '$(srcdir)/'`sha256_cryptopp.c
  15478. +
  15479. +cgminer-sha256_cryptopp.obj: sha256_cryptopp.c
  15480. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_cryptopp.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_cryptopp.Tpo -c -o cgminer-sha256_cryptopp.obj `if test -f 'sha256_cryptopp.c'; then $(CYGPATH_W) 'sha256_cryptopp.c'; else $(CYGPATH_W) '$(srcdir)/sha256_cryptopp.c'; fi`
  15481. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_cryptopp.Tpo $(DEPDIR)/cgminer-sha256_cryptopp.Po
  15482. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_cryptopp.c' object='cgminer-sha256_cryptopp.obj' libtool=no @AMDEPBACKSLASH@
  15483. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15484. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_cryptopp.obj `if test -f 'sha256_cryptopp.c'; then $(CYGPATH_W) 'sha256_cryptopp.c'; else $(CYGPATH_W) '$(srcdir)/sha256_cryptopp.c'; fi`
  15485. +
  15486. +cgminer-sha256_sse2_amd64.o: sha256_sse2_amd64.c
  15487. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_sse2_amd64.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_sse2_amd64.Tpo -c -o cgminer-sha256_sse2_amd64.o `test -f 'sha256_sse2_amd64.c' || echo '$(srcdir)/'`sha256_sse2_amd64.c
  15488. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse2_amd64.Po
  15489. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_amd64.c' object='cgminer-sha256_sse2_amd64.o' libtool=no @AMDEPBACKSLASH@
  15490. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15491. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_sse2_amd64.o `test -f 'sha256_sse2_amd64.c' || echo '$(srcdir)/'`sha256_sse2_amd64.c
  15492. +
  15493. +cgminer-sha256_sse2_amd64.obj: sha256_sse2_amd64.c
  15494. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_sse2_amd64.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_sse2_amd64.Tpo -c -o cgminer-sha256_sse2_amd64.obj `if test -f 'sha256_sse2_amd64.c'; then $(CYGPATH_W) 'sha256_sse2_amd64.c'; else $(CYGPATH_W) '$(srcdir)/sha256_sse2_amd64.c'; fi`
  15495. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse2_amd64.Po
  15496. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_amd64.c' object='cgminer-sha256_sse2_amd64.obj' libtool=no @AMDEPBACKSLASH@
  15497. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15498. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_sse2_amd64.obj `if test -f 'sha256_sse2_amd64.c'; then $(CYGPATH_W) 'sha256_sse2_amd64.c'; else $(CYGPATH_W) '$(srcdir)/sha256_sse2_amd64.c'; fi`
  15499. +
  15500. +cgminer-sha256_sse4_amd64.o: sha256_sse4_amd64.c
  15501. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_sse4_amd64.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_sse4_amd64.Tpo -c -o cgminer-sha256_sse4_amd64.o `test -f 'sha256_sse4_amd64.c' || echo '$(srcdir)/'`sha256_sse4_amd64.c
  15502. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse4_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse4_amd64.Po
  15503. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse4_amd64.c' object='cgminer-sha256_sse4_amd64.o' libtool=no @AMDEPBACKSLASH@
  15504. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15505. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_sse4_amd64.o `test -f 'sha256_sse4_amd64.c' || echo '$(srcdir)/'`sha256_sse4_amd64.c
  15506. +
  15507. +cgminer-sha256_sse4_amd64.obj: sha256_sse4_amd64.c
  15508. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_sse4_amd64.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_sse4_amd64.Tpo -c -o cgminer-sha256_sse4_amd64.obj `if test -f 'sha256_sse4_amd64.c'; then $(CYGPATH_W) 'sha256_sse4_amd64.c'; else $(CYGPATH_W) '$(srcdir)/sha256_sse4_amd64.c'; fi`
  15509. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse4_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse4_amd64.Po
  15510. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse4_amd64.c' object='cgminer-sha256_sse4_amd64.obj' libtool=no @AMDEPBACKSLASH@
  15511. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15512. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_sse4_amd64.obj `if test -f 'sha256_sse4_amd64.c'; then $(CYGPATH_W) 'sha256_sse4_amd64.c'; else $(CYGPATH_W) '$(srcdir)/sha256_sse4_amd64.c'; fi`
  15513. +
  15514. +cgminer-sha256_sse2_i386.o: sha256_sse2_i386.c
  15515. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_sse2_i386.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_sse2_i386.Tpo -c -o cgminer-sha256_sse2_i386.o `test -f 'sha256_sse2_i386.c' || echo '$(srcdir)/'`sha256_sse2_i386.c
  15516. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_i386.Tpo $(DEPDIR)/cgminer-sha256_sse2_i386.Po
  15517. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_i386.c' object='cgminer-sha256_sse2_i386.o' libtool=no @AMDEPBACKSLASH@
  15518. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15519. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_sse2_i386.o `test -f 'sha256_sse2_i386.c' || echo '$(srcdir)/'`sha256_sse2_i386.c
  15520. +
  15521. +cgminer-sha256_sse2_i386.obj: sha256_sse2_i386.c
  15522. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_sse2_i386.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_sse2_i386.Tpo -c -o cgminer-sha256_sse2_i386.obj `if test -f 'sha256_sse2_i386.c'; then $(CYGPATH_W) 'sha256_sse2_i386.c'; else $(CYGPATH_W) '$(srcdir)/sha256_sse2_i386.c'; fi`
  15523. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_i386.Tpo $(DEPDIR)/cgminer-sha256_sse2_i386.Po
  15524. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_i386.c' object='cgminer-sha256_sse2_i386.obj' libtool=no @AMDEPBACKSLASH@
  15525. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15526. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_sse2_i386.obj `if test -f 'sha256_sse2_i386.c'; then $(CYGPATH_W) 'sha256_sse2_i386.c'; else $(CYGPATH_W) '$(srcdir)/sha256_sse2_i386.c'; fi`
  15527. +
  15528. +cgminer-sha256_altivec_4way.o: sha256_altivec_4way.c
  15529. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_altivec_4way.o -MD -MP -MF $(DEPDIR)/cgminer-sha256_altivec_4way.Tpo -c -o cgminer-sha256_altivec_4way.o `test -f 'sha256_altivec_4way.c' || echo '$(srcdir)/'`sha256_altivec_4way.c
  15530. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_altivec_4way.Tpo $(DEPDIR)/cgminer-sha256_altivec_4way.Po
  15531. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_altivec_4way.c' object='cgminer-sha256_altivec_4way.o' libtool=no @AMDEPBACKSLASH@
  15532. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15533. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_altivec_4way.o `test -f 'sha256_altivec_4way.c' || echo '$(srcdir)/'`sha256_altivec_4way.c
  15534. +
  15535. +cgminer-sha256_altivec_4way.obj: sha256_altivec_4way.c
  15536. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-sha256_altivec_4way.obj -MD -MP -MF $(DEPDIR)/cgminer-sha256_altivec_4way.Tpo -c -o cgminer-sha256_altivec_4way.obj `if test -f 'sha256_altivec_4way.c'; then $(CYGPATH_W) 'sha256_altivec_4way.c'; else $(CYGPATH_W) '$(srcdir)/sha256_altivec_4way.c'; fi`
  15537. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_altivec_4way.Tpo $(DEPDIR)/cgminer-sha256_altivec_4way.Po
  15538. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_altivec_4way.c' object='cgminer-sha256_altivec_4way.obj' libtool=no @AMDEPBACKSLASH@
  15539. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15540. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-sha256_altivec_4way.obj `if test -f 'sha256_altivec_4way.c'; then $(CYGPATH_W) 'sha256_altivec_4way.c'; else $(CYGPATH_W) '$(srcdir)/sha256_altivec_4way.c'; fi`
  15541. +
  15542. +cgminer-driver-cpu.o: driver-cpu.c
  15543. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-cpu.o -MD -MP -MF $(DEPDIR)/cgminer-driver-cpu.Tpo -c -o cgminer-driver-cpu.o `test -f 'driver-cpu.c' || echo '$(srcdir)/'`driver-cpu.c
  15544. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-cpu.Tpo $(DEPDIR)/cgminer-driver-cpu.Po
  15545. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-cpu.c' object='cgminer-driver-cpu.o' libtool=no @AMDEPBACKSLASH@
  15546. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15547. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-cpu.o `test -f 'driver-cpu.c' || echo '$(srcdir)/'`driver-cpu.c
  15548. +
  15549. +cgminer-driver-cpu.obj: driver-cpu.c
  15550. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-cpu.obj -MD -MP -MF $(DEPDIR)/cgminer-driver-cpu.Tpo -c -o cgminer-driver-cpu.obj `if test -f 'driver-cpu.c'; then $(CYGPATH_W) 'driver-cpu.c'; else $(CYGPATH_W) '$(srcdir)/driver-cpu.c'; fi`
  15551. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-cpu.Tpo $(DEPDIR)/cgminer-driver-cpu.Po
  15552. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-cpu.c' object='cgminer-driver-cpu.obj' libtool=no @AMDEPBACKSLASH@
  15553. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15554. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-cpu.obj `if test -f 'driver-cpu.c'; then $(CYGPATH_W) 'driver-cpu.c'; else $(CYGPATH_W) '$(srcdir)/driver-cpu.c'; fi`
  15555. +
  15556. +cgminer-driver-bitforce.o: driver-bitforce.c
  15557. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-bitforce.o -MD -MP -MF $(DEPDIR)/cgminer-driver-bitforce.Tpo -c -o cgminer-driver-bitforce.o `test -f 'driver-bitforce.c' || echo '$(srcdir)/'`driver-bitforce.c
  15558. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-bitforce.Tpo $(DEPDIR)/cgminer-driver-bitforce.Po
  15559. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-bitforce.c' object='cgminer-driver-bitforce.o' libtool=no @AMDEPBACKSLASH@
  15560. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15561. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-bitforce.o `test -f 'driver-bitforce.c' || echo '$(srcdir)/'`driver-bitforce.c
  15562. +
  15563. +cgminer-driver-bitforce.obj: driver-bitforce.c
  15564. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-bitforce.obj -MD -MP -MF $(DEPDIR)/cgminer-driver-bitforce.Tpo -c -o cgminer-driver-bitforce.obj `if test -f 'driver-bitforce.c'; then $(CYGPATH_W) 'driver-bitforce.c'; else $(CYGPATH_W) '$(srcdir)/driver-bitforce.c'; fi`
  15565. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-bitforce.Tpo $(DEPDIR)/cgminer-driver-bitforce.Po
  15566. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-bitforce.c' object='cgminer-driver-bitforce.obj' libtool=no @AMDEPBACKSLASH@
  15567. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15568. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-bitforce.obj `if test -f 'driver-bitforce.c'; then $(CYGPATH_W) 'driver-bitforce.c'; else $(CYGPATH_W) '$(srcdir)/driver-bitforce.c'; fi`
  15569. +
  15570. +cgminer-driver-icarus.o: driver-icarus.c
  15571. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-icarus.o -MD -MP -MF $(DEPDIR)/cgminer-driver-icarus.Tpo -c -o cgminer-driver-icarus.o `test -f 'driver-icarus.c' || echo '$(srcdir)/'`driver-icarus.c
  15572. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-icarus.Tpo $(DEPDIR)/cgminer-driver-icarus.Po
  15573. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-icarus.c' object='cgminer-driver-icarus.o' libtool=no @AMDEPBACKSLASH@
  15574. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15575. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-icarus.o `test -f 'driver-icarus.c' || echo '$(srcdir)/'`driver-icarus.c
  15576. +
  15577. +cgminer-driver-icarus.obj: driver-icarus.c
  15578. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-icarus.obj -MD -MP -MF $(DEPDIR)/cgminer-driver-icarus.Tpo -c -o cgminer-driver-icarus.obj `if test -f 'driver-icarus.c'; then $(CYGPATH_W) 'driver-icarus.c'; else $(CYGPATH_W) '$(srcdir)/driver-icarus.c'; fi`
  15579. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-icarus.Tpo $(DEPDIR)/cgminer-driver-icarus.Po
  15580. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-icarus.c' object='cgminer-driver-icarus.obj' libtool=no @AMDEPBACKSLASH@
  15581. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15582. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-icarus.obj `if test -f 'driver-icarus.c'; then $(CYGPATH_W) 'driver-icarus.c'; else $(CYGPATH_W) '$(srcdir)/driver-icarus.c'; fi`
  15583. +
  15584. +cgminer-driver-ztex.o: driver-ztex.c
  15585. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-ztex.o -MD -MP -MF $(DEPDIR)/cgminer-driver-ztex.Tpo -c -o cgminer-driver-ztex.o `test -f 'driver-ztex.c' || echo '$(srcdir)/'`driver-ztex.c
  15586. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-ztex.Tpo $(DEPDIR)/cgminer-driver-ztex.Po
  15587. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-ztex.c' object='cgminer-driver-ztex.o' libtool=no @AMDEPBACKSLASH@
  15588. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15589. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-ztex.o `test -f 'driver-ztex.c' || echo '$(srcdir)/'`driver-ztex.c
  15590. +
  15591. +cgminer-driver-ztex.obj: driver-ztex.c
  15592. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-driver-ztex.obj -MD -MP -MF $(DEPDIR)/cgminer-driver-ztex.Tpo -c -o cgminer-driver-ztex.obj `if test -f 'driver-ztex.c'; then $(CYGPATH_W) 'driver-ztex.c'; else $(CYGPATH_W) '$(srcdir)/driver-ztex.c'; fi`
  15593. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-ztex.Tpo $(DEPDIR)/cgminer-driver-ztex.Po
  15594. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-ztex.c' object='cgminer-driver-ztex.obj' libtool=no @AMDEPBACKSLASH@
  15595. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15596. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-driver-ztex.obj `if test -f 'driver-ztex.c'; then $(CYGPATH_W) 'driver-ztex.c'; else $(CYGPATH_W) '$(srcdir)/driver-ztex.c'; fi`
  15597. +
  15598. +cgminer-libztex.o: libztex.c
  15599. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-libztex.o -MD -MP -MF $(DEPDIR)/cgminer-libztex.Tpo -c -o cgminer-libztex.o `test -f 'libztex.c' || echo '$(srcdir)/'`libztex.c
  15600. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-libztex.Tpo $(DEPDIR)/cgminer-libztex.Po
  15601. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libztex.c' object='cgminer-libztex.o' libtool=no @AMDEPBACKSLASH@
  15602. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15603. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-libztex.o `test -f 'libztex.c' || echo '$(srcdir)/'`libztex.c
  15604. +
  15605. +cgminer-libztex.obj: libztex.c
  15606. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cgminer-libztex.obj -MD -MP -MF $(DEPDIR)/cgminer-libztex.Tpo -c -o cgminer-libztex.obj `if test -f 'libztex.c'; then $(CYGPATH_W) 'libztex.c'; else $(CYGPATH_W) '$(srcdir)/libztex.c'; fi`
  15607. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-libztex.Tpo $(DEPDIR)/cgminer-libztex.Po
  15608. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libztex.c' object='cgminer-libztex.obj' libtool=no @AMDEPBACKSLASH@
  15609. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  15610. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cgminer_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cgminer-libztex.obj `if test -f 'libztex.c'; then $(CYGPATH_W) 'libztex.c'; else $(CYGPATH_W) '$(srcdir)/libztex.c'; fi`
  15611. +install-dist_bitstreamsDATA: $(dist_bitstreams_DATA)
  15612. + @$(NORMAL_INSTALL)
  15613. + test -z "$(bitstreamsdir)" || $(MKDIR_P) "$(DESTDIR)$(bitstreamsdir)"
  15614. + @list='$(dist_bitstreams_DATA)'; test -n "$(bitstreamsdir)" || list=; \
  15615. + for p in $$list; do \
  15616. + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  15617. + echo "$$d$$p"; \
  15618. + done | $(am__base_list) | \
  15619. + while read files; do \
  15620. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(bitstreamsdir)'"; \
  15621. + $(INSTALL_DATA) $$files "$(DESTDIR)$(bitstreamsdir)" || exit $$?; \
  15622. + done
  15623. +
  15624. +uninstall-dist_bitstreamsDATA:
  15625. + @$(NORMAL_UNINSTALL)
  15626. + @list='$(dist_bitstreams_DATA)'; test -n "$(bitstreamsdir)" || list=; \
  15627. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  15628. + dir='$(DESTDIR)$(bitstreamsdir)'; $(am__uninstall_files_from_dir)
  15629. +
  15630. +# This directory's subdirectories are mostly independent; you can cd
  15631. +# into them and run `make' without going through this Makefile.
  15632. +# To change the values of `make' variables: instead of editing Makefiles,
  15633. +# (1) if the variable is set in `config.status', edit `config.status'
  15634. +# (which will cause the Makefiles to be regenerated when you run `make');
  15635. +# (2) otherwise, pass the desired values on the `make' command line.
  15636. +$(RECURSIVE_TARGETS):
  15637. + @fail= failcom='exit 1'; \
  15638. + for f in x $$MAKEFLAGS; do \
  15639. + case $$f in \
  15640. + *=* | --[!k]*);; \
  15641. + *k*) failcom='fail=yes';; \
  15642. + esac; \
  15643. + done; \
  15644. + dot_seen=no; \
  15645. + target=`echo $@ | sed s/-recursive//`; \
  15646. + list='$(SUBDIRS)'; for subdir in $$list; do \
  15647. + echo "Making $$target in $$subdir"; \
  15648. + if test "$$subdir" = "."; then \
  15649. + dot_seen=yes; \
  15650. + local_target="$$target-am"; \
  15651. + else \
  15652. + local_target="$$target"; \
  15653. + fi; \
  15654. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  15655. + || eval $$failcom; \
  15656. + done; \
  15657. + if test "$$dot_seen" = "no"; then \
  15658. + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  15659. + fi; test -z "$$fail"
  15660. +
  15661. +$(RECURSIVE_CLEAN_TARGETS):
  15662. + @fail= failcom='exit 1'; \
  15663. + for f in x $$MAKEFLAGS; do \
  15664. + case $$f in \
  15665. + *=* | --[!k]*);; \
  15666. + *k*) failcom='fail=yes';; \
  15667. + esac; \
  15668. + done; \
  15669. + dot_seen=no; \
  15670. + case "$@" in \
  15671. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  15672. + *) list='$(SUBDIRS)' ;; \
  15673. + esac; \
  15674. + rev=''; for subdir in $$list; do \
  15675. + if test "$$subdir" = "."; then :; else \
  15676. + rev="$$subdir $$rev"; \
  15677. + fi; \
  15678. + done; \
  15679. + rev="$$rev ."; \
  15680. + target=`echo $@ | sed s/-recursive//`; \
  15681. + for subdir in $$rev; do \
  15682. + echo "Making $$target in $$subdir"; \
  15683. + if test "$$subdir" = "."; then \
  15684. + local_target="$$target-am"; \
  15685. + else \
  15686. + local_target="$$target"; \
  15687. + fi; \
  15688. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  15689. + || eval $$failcom; \
  15690. + done && test -z "$$fail"
  15691. +tags-recursive:
  15692. + list='$(SUBDIRS)'; for subdir in $$list; do \
  15693. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  15694. + done
  15695. +ctags-recursive:
  15696. + list='$(SUBDIRS)'; for subdir in $$list; do \
  15697. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  15698. + done
  15699. +
  15700. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  15701. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  15702. + unique=`for i in $$list; do \
  15703. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  15704. + done | \
  15705. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  15706. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  15707. + mkid -fID $$unique
  15708. +tags: TAGS
  15709. +
  15710. +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  15711. + $(TAGS_FILES) $(LISP)
  15712. + set x; \
  15713. + here=`pwd`; \
  15714. + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  15715. + include_option=--etags-include; \
  15716. + empty_fix=.; \
  15717. + else \
  15718. + include_option=--include; \
  15719. + empty_fix=; \
  15720. + fi; \
  15721. + list='$(SUBDIRS)'; for subdir in $$list; do \
  15722. + if test "$$subdir" = .; then :; else \
  15723. + test ! -f $$subdir/TAGS || \
  15724. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  15725. + fi; \
  15726. + done; \
  15727. + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  15728. + unique=`for i in $$list; do \
  15729. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  15730. + done | \
  15731. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  15732. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  15733. + shift; \
  15734. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  15735. + test -n "$$unique" || unique=$$empty_fix; \
  15736. + if test $$# -gt 0; then \
  15737. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  15738. + "$$@" $$unique; \
  15739. + else \
  15740. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  15741. + $$unique; \
  15742. + fi; \
  15743. + fi
  15744. +ctags: CTAGS
  15745. +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  15746. + $(TAGS_FILES) $(LISP)
  15747. + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  15748. + unique=`for i in $$list; do \
  15749. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  15750. + done | \
  15751. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  15752. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  15753. + test -z "$(CTAGS_ARGS)$$unique" \
  15754. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  15755. + $$unique
  15756. +
  15757. +GTAGS:
  15758. + here=`$(am__cd) $(top_builddir) && pwd` \
  15759. + && $(am__cd) $(top_srcdir) \
  15760. + && gtags -i $(GTAGS_ARGS) "$$here"
  15761. +
  15762. +distclean-tags:
  15763. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  15764. +
  15765. +distdir: $(DISTFILES)
  15766. + $(am__remove_distdir)
  15767. + test -d "$(distdir)" || mkdir "$(distdir)"
  15768. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  15769. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  15770. + list='$(DISTFILES)'; \
  15771. + dist_files=`for file in $$list; do echo $$file; done | \
  15772. + sed -e "s|^$$srcdirstrip/||;t" \
  15773. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  15774. + case $$dist_files in \
  15775. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  15776. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  15777. + sort -u` ;; \
  15778. + esac; \
  15779. + for file in $$dist_files; do \
  15780. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  15781. + if test -d $$d/$$file; then \
  15782. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  15783. + if test -d "$(distdir)/$$file"; then \
  15784. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  15785. + fi; \
  15786. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  15787. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  15788. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  15789. + fi; \
  15790. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  15791. + else \
  15792. + test -f "$(distdir)/$$file" \
  15793. + || cp -p $$d/$$file "$(distdir)/$$file" \
  15794. + || exit 1; \
  15795. + fi; \
  15796. + done
  15797. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  15798. + if test "$$subdir" = .; then :; else \
  15799. + test -d "$(distdir)/$$subdir" \
  15800. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  15801. + || exit 1; \
  15802. + fi; \
  15803. + done
  15804. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  15805. + if test "$$subdir" = .; then :; else \
  15806. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  15807. + $(am__relativize); \
  15808. + new_distdir=$$reldir; \
  15809. + dir1=$$subdir; dir2="$(top_distdir)"; \
  15810. + $(am__relativize); \
  15811. + new_top_distdir=$$reldir; \
  15812. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  15813. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  15814. + ($(am__cd) $$subdir && \
  15815. + $(MAKE) $(AM_MAKEFLAGS) \
  15816. + top_distdir="$$new_top_distdir" \
  15817. + distdir="$$new_distdir" \
  15818. + am__remove_distdir=: \
  15819. + am__skip_length_check=: \
  15820. + am__skip_mode_fix=: \
  15821. + distdir) \
  15822. + || exit 1; \
  15823. + fi; \
  15824. + done
  15825. + -test -n "$(am__skip_mode_fix)" \
  15826. + || find "$(distdir)" -type d ! -perm -755 \
  15827. + -exec chmod u+rwx,go+rx {} \; -o \
  15828. + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  15829. + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  15830. + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  15831. + || chmod -R a+r "$(distdir)"
  15832. +dist-gzip: distdir
  15833. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  15834. + $(am__remove_distdir)
  15835. +
  15836. +dist-bzip2: distdir
  15837. + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  15838. + $(am__remove_distdir)
  15839. +
  15840. +dist-lzip: distdir
  15841. + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  15842. + $(am__remove_distdir)
  15843. +
  15844. +dist-lzma: distdir
  15845. + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  15846. + $(am__remove_distdir)
  15847. +
  15848. +dist-xz: distdir
  15849. + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  15850. + $(am__remove_distdir)
  15851. +
  15852. +dist-tarZ: distdir
  15853. + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  15854. + $(am__remove_distdir)
  15855. +
  15856. +dist-shar: distdir
  15857. + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  15858. + $(am__remove_distdir)
  15859. +
  15860. +dist-zip: distdir
  15861. + -rm -f $(distdir).zip
  15862. + zip -rq $(distdir).zip $(distdir)
  15863. + $(am__remove_distdir)
  15864. +
  15865. +dist dist-all: distdir
  15866. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  15867. + $(am__remove_distdir)
  15868. +
  15869. +# This target untars the dist file and tries a VPATH configuration. Then
  15870. +# it guarantees that the distribution is self-contained by making another
  15871. +# tarfile.
  15872. +distcheck: dist
  15873. + case '$(DIST_ARCHIVES)' in \
  15874. + *.tar.gz*) \
  15875. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  15876. + *.tar.bz2*) \
  15877. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  15878. + *.tar.lzma*) \
  15879. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  15880. + *.tar.lz*) \
  15881. + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  15882. + *.tar.xz*) \
  15883. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  15884. + *.tar.Z*) \
  15885. + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  15886. + *.shar.gz*) \
  15887. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  15888. + *.zip*) \
  15889. + unzip $(distdir).zip ;;\
  15890. + esac
  15891. + chmod -R a-w $(distdir); chmod a+w $(distdir)
  15892. + mkdir $(distdir)/_build
  15893. + mkdir $(distdir)/_inst
  15894. + chmod a-w $(distdir)
  15895. + test -d $(distdir)/_build || exit 0; \
  15896. + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  15897. + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  15898. + && am__cwd=`pwd` \
  15899. + && $(am__cd) $(distdir)/_build \
  15900. + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  15901. + $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  15902. + $(DISTCHECK_CONFIGURE_FLAGS) \
  15903. + && $(MAKE) $(AM_MAKEFLAGS) \
  15904. + && $(MAKE) $(AM_MAKEFLAGS) dvi \
  15905. + && $(MAKE) $(AM_MAKEFLAGS) check \
  15906. + && $(MAKE) $(AM_MAKEFLAGS) install \
  15907. + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  15908. + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  15909. + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  15910. + distuninstallcheck \
  15911. + && chmod -R a-w "$$dc_install_base" \
  15912. + && ({ \
  15913. + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  15914. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  15915. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  15916. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  15917. + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  15918. + } || { rm -rf "$$dc_destdir"; exit 1; }) \
  15919. + && rm -rf "$$dc_destdir" \
  15920. + && $(MAKE) $(AM_MAKEFLAGS) dist \
  15921. + && rm -rf $(DIST_ARCHIVES) \
  15922. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  15923. + && cd "$$am__cwd" \
  15924. + || exit 1
  15925. + $(am__remove_distdir)
  15926. + @(echo "$(distdir) archives ready for distribution: "; \
  15927. + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  15928. + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  15929. +distuninstallcheck:
  15930. + @test -n '$(distuninstallcheck_dir)' || { \
  15931. + echo 'ERROR: trying to run $@ with an empty' \
  15932. + '$$(distuninstallcheck_dir)' >&2; \
  15933. + exit 1; \
  15934. + }; \
  15935. + $(am__cd) '$(distuninstallcheck_dir)' || { \
  15936. + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  15937. + exit 1; \
  15938. + }; \
  15939. + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  15940. + || { echo "ERROR: files left after uninstall:" ; \
  15941. + if test -n "$(DESTDIR)"; then \
  15942. + echo " (check DESTDIR support)"; \
  15943. + fi ; \
  15944. + $(distuninstallcheck_listfiles) ; \
  15945. + exit 1; } >&2
  15946. +distcleancheck: distclean
  15947. + @if test '$(srcdir)' = . ; then \
  15948. + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  15949. + exit 1 ; \
  15950. + fi
  15951. + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  15952. + || { echo "ERROR: files left in build directory after distclean:" ; \
  15953. + $(distcleancheck_listfiles) ; \
  15954. + exit 1; } >&2
  15955. +check-am: all-am
  15956. +check: check-recursive
  15957. +all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) config.h
  15958. +installdirs: installdirs-recursive
  15959. +installdirs-am:
  15960. + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bitstreamsdir)"; do \
  15961. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  15962. + done
  15963. +install: install-recursive
  15964. +install-exec: install-exec-recursive
  15965. +install-data: install-data-recursive
  15966. +uninstall: uninstall-recursive
  15967. +
  15968. +install-am: all-am
  15969. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  15970. +
  15971. +installcheck: installcheck-recursive
  15972. +install-strip:
  15973. + if test -z '$(STRIP)'; then \
  15974. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  15975. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  15976. + install; \
  15977. + else \
  15978. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  15979. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  15980. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  15981. + fi
  15982. +mostlyclean-generic:
  15983. +
  15984. +clean-generic:
  15985. +
  15986. +distclean-generic:
  15987. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  15988. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  15989. +
  15990. +maintainer-clean-generic:
  15991. + @echo "This command is intended for maintainers to use"
  15992. + @echo "it deletes files that may require special tools to rebuild."
  15993. +clean: clean-recursive
  15994. +
  15995. +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
  15996. +
  15997. +distclean: distclean-recursive
  15998. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  15999. + -rm -rf ./$(DEPDIR)
  16000. + -rm -f Makefile
  16001. +distclean-am: clean-am distclean-compile distclean-generic \
  16002. + distclean-hdr distclean-tags
  16003. +
  16004. +dvi: dvi-recursive
  16005. +
  16006. +dvi-am:
  16007. +
  16008. +html: html-recursive
  16009. +
  16010. +html-am:
  16011. +
  16012. +info: info-recursive
  16013. +
  16014. +info-am:
  16015. +
  16016. +install-data-am: install-dist_bitstreamsDATA
  16017. +
  16018. +install-dvi: install-dvi-recursive
  16019. +
  16020. +install-dvi-am:
  16021. +
  16022. +install-exec-am: install-binPROGRAMS install-binSCRIPTS
  16023. +
  16024. +install-html: install-html-recursive
  16025. +
  16026. +install-html-am:
  16027. +
  16028. +install-info: install-info-recursive
  16029. +
  16030. +install-info-am:
  16031. +
  16032. +install-man:
  16033. +
  16034. +install-pdf: install-pdf-recursive
  16035. +
  16036. +install-pdf-am:
  16037. +
  16038. +install-ps: install-ps-recursive
  16039. +
  16040. +install-ps-am:
  16041. +
  16042. +installcheck-am:
  16043. +
  16044. +maintainer-clean: maintainer-clean-recursive
  16045. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  16046. + -rm -rf $(top_srcdir)/autom4te.cache
  16047. + -rm -rf ./$(DEPDIR)
  16048. + -rm -f Makefile
  16049. +maintainer-clean-am: distclean-am maintainer-clean-generic
  16050. +
  16051. +mostlyclean: mostlyclean-recursive
  16052. +
  16053. +mostlyclean-am: mostlyclean-compile mostlyclean-generic
  16054. +
  16055. +pdf: pdf-recursive
  16056. +
  16057. +pdf-am:
  16058. +
  16059. +ps: ps-recursive
  16060. +
  16061. +ps-am:
  16062. +
  16063. +uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
  16064. + uninstall-dist_bitstreamsDATA
  16065. +
  16066. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  16067. + ctags-recursive install-am install-strip tags-recursive
  16068. +
  16069. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  16070. + all all-am am--refresh check check-am clean clean-binPROGRAMS \
  16071. + clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \
  16072. + dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
  16073. + dist-zip distcheck distclean distclean-compile \
  16074. + distclean-generic distclean-hdr distclean-tags distcleancheck \
  16075. + distdir distuninstallcheck dvi dvi-am html html-am info \
  16076. + info-am install install-am install-binPROGRAMS \
  16077. + install-binSCRIPTS install-data install-data-am \
  16078. + install-dist_bitstreamsDATA install-dvi install-dvi-am \
  16079. + install-exec install-exec-am install-html install-html-am \
  16080. + install-info install-info-am install-man install-pdf \
  16081. + install-pdf-am install-ps install-ps-am install-strip \
  16082. + installcheck installcheck-am installdirs installdirs-am \
  16083. + maintainer-clean maintainer-clean-generic mostlyclean \
  16084. + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
  16085. + tags tags-recursive uninstall uninstall-am \
  16086. + uninstall-binPROGRAMS uninstall-binSCRIPTS \
  16087. + uninstall-dist_bitstreamsDATA
  16088. +
  16089. +
  16090. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  16091. +# Otherwise a system limit (for SysV at least) may be exceeded.
  16092. +.NOEXPORT:
  16093. --- /dev/null
  16094. +++ cgminer-2.4.1/depcomp
  16095. @@ -0,0 +1,688 @@
  16096. +#! /bin/sh
  16097. +# depcomp - compile a program generating dependencies as side-effects
  16098. +
  16099. +scriptversion=2011-12-04.11; # UTC
  16100. +
  16101. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
  16102. +# 2011 Free Software Foundation, Inc.
  16103. +
  16104. +# This program is free software; you can redistribute it and/or modify
  16105. +# it under the terms of the GNU General Public License as published by
  16106. +# the Free Software Foundation; either version 2, or (at your option)
  16107. +# any later version.
  16108. +
  16109. +# This program is distributed in the hope that it will be useful,
  16110. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  16111. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16112. +# GNU General Public License for more details.
  16113. +
  16114. +# You should have received a copy of the GNU General Public License
  16115. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  16116. +
  16117. +# As a special exception to the GNU General Public License, if you
  16118. +# distribute this file as part of a program that contains a
  16119. +# configuration script generated by Autoconf, you may include it under
  16120. +# the same distribution terms that you use for the rest of that program.
  16121. +
  16122. +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
  16123. +
  16124. +case $1 in
  16125. + '')
  16126. + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
  16127. + exit 1;
  16128. + ;;
  16129. + -h | --h*)
  16130. + cat <<\EOF
  16131. +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
  16132. +
  16133. +Run PROGRAMS ARGS to compile a file, generating dependencies
  16134. +as side-effects.
  16135. +
  16136. +Environment variables:
  16137. + depmode Dependency tracking mode.
  16138. + source Source file read by `PROGRAMS ARGS'.
  16139. + object Object file output by `PROGRAMS ARGS'.
  16140. + DEPDIR directory where to store dependencies.
  16141. + depfile Dependency file to output.
  16142. + tmpdepfile Temporary file to use when outputting dependencies.
  16143. + libtool Whether libtool is used (yes/no).
  16144. +
  16145. +Report bugs to <bug-automake@gnu.org>.
  16146. +EOF
  16147. + exit $?
  16148. + ;;
  16149. + -v | --v*)
  16150. + echo "depcomp $scriptversion"
  16151. + exit $?
  16152. + ;;
  16153. +esac
  16154. +
  16155. +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
  16156. + echo "depcomp: Variables source, object and depmode must be set" 1>&2
  16157. + exit 1
  16158. +fi
  16159. +
  16160. +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
  16161. +depfile=${depfile-`echo "$object" |
  16162. + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
  16163. +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
  16164. +
  16165. +rm -f "$tmpdepfile"
  16166. +
  16167. +# Some modes work just like other modes, but use different flags. We
  16168. +# parameterize here, but still list the modes in the big case below,
  16169. +# to make depend.m4 easier to write. Note that we *cannot* use a case
  16170. +# here, because this file can only contain one case statement.
  16171. +if test "$depmode" = hp; then
  16172. + # HP compiler uses -M and no extra arg.
  16173. + gccflag=-M
  16174. + depmode=gcc
  16175. +fi
  16176. +
  16177. +if test "$depmode" = dashXmstdout; then
  16178. + # This is just like dashmstdout with a different argument.
  16179. + dashmflag=-xM
  16180. + depmode=dashmstdout
  16181. +fi
  16182. +
  16183. +cygpath_u="cygpath -u -f -"
  16184. +if test "$depmode" = msvcmsys; then
  16185. + # This is just like msvisualcpp but w/o cygpath translation.
  16186. + # Just convert the backslash-escaped backslashes to single forward
  16187. + # slashes to satisfy depend.m4
  16188. + cygpath_u='sed s,\\\\,/,g'
  16189. + depmode=msvisualcpp
  16190. +fi
  16191. +
  16192. +if test "$depmode" = msvc7msys; then
  16193. + # This is just like msvc7 but w/o cygpath translation.
  16194. + # Just convert the backslash-escaped backslashes to single forward
  16195. + # slashes to satisfy depend.m4
  16196. + cygpath_u='sed s,\\\\,/,g'
  16197. + depmode=msvc7
  16198. +fi
  16199. +
  16200. +case "$depmode" in
  16201. +gcc3)
  16202. +## gcc 3 implements dependency tracking that does exactly what
  16203. +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
  16204. +## it if -MD -MP comes after the -MF stuff. Hmm.
  16205. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
  16206. +## the command line argument order; so add the flags where they
  16207. +## appear in depend2.am. Note that the slowdown incurred here
  16208. +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
  16209. + for arg
  16210. + do
  16211. + case $arg in
  16212. + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
  16213. + *) set fnord "$@" "$arg" ;;
  16214. + esac
  16215. + shift # fnord
  16216. + shift # $arg
  16217. + done
  16218. + "$@"
  16219. + stat=$?
  16220. + if test $stat -eq 0; then :
  16221. + else
  16222. + rm -f "$tmpdepfile"
  16223. + exit $stat
  16224. + fi
  16225. + mv "$tmpdepfile" "$depfile"
  16226. + ;;
  16227. +
  16228. +gcc)
  16229. +## There are various ways to get dependency output from gcc. Here's
  16230. +## why we pick this rather obscure method:
  16231. +## - Don't want to use -MD because we'd like the dependencies to end
  16232. +## up in a subdir. Having to rename by hand is ugly.
  16233. +## (We might end up doing this anyway to support other compilers.)
  16234. +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
  16235. +## -MM, not -M (despite what the docs say).
  16236. +## - Using -M directly means running the compiler twice (even worse
  16237. +## than renaming).
  16238. + if test -z "$gccflag"; then
  16239. + gccflag=-MD,
  16240. + fi
  16241. + "$@" -Wp,"$gccflag$tmpdepfile"
  16242. + stat=$?
  16243. + if test $stat -eq 0; then :
  16244. + else
  16245. + rm -f "$tmpdepfile"
  16246. + exit $stat
  16247. + fi
  16248. + rm -f "$depfile"
  16249. + echo "$object : \\" > "$depfile"
  16250. + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  16251. +## The second -e expression handles DOS-style file names with drive letters.
  16252. + sed -e 's/^[^:]*: / /' \
  16253. + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
  16254. +## This next piece of magic avoids the `deleted header file' problem.
  16255. +## The problem is that when a header file which appears in a .P file
  16256. +## is deleted, the dependency causes make to die (because there is
  16257. +## typically no way to rebuild the header). We avoid this by adding
  16258. +## dummy dependencies for each header file. Too bad gcc doesn't do
  16259. +## this for us directly.
  16260. + tr ' ' '
  16261. +' < "$tmpdepfile" |
  16262. +## Some versions of gcc put a space before the `:'. On the theory
  16263. +## that the space means something, we add a space to the output as
  16264. +## well. hp depmode also adds that space, but also prefixes the VPATH
  16265. +## to the object. Take care to not repeat it in the output.
  16266. +## Some versions of the HPUX 10.20 sed can't process this invocation
  16267. +## correctly. Breaking it into two sed invocations is a workaround.
  16268. + sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
  16269. + | sed -e 's/$/ :/' >> "$depfile"
  16270. + rm -f "$tmpdepfile"
  16271. + ;;
  16272. +
  16273. +hp)
  16274. + # This case exists only to let depend.m4 do its work. It works by
  16275. + # looking at the text of this script. This case will never be run,
  16276. + # since it is checked for above.
  16277. + exit 1
  16278. + ;;
  16279. +
  16280. +sgi)
  16281. + if test "$libtool" = yes; then
  16282. + "$@" "-Wp,-MDupdate,$tmpdepfile"
  16283. + else
  16284. + "$@" -MDupdate "$tmpdepfile"
  16285. + fi
  16286. + stat=$?
  16287. + if test $stat -eq 0; then :
  16288. + else
  16289. + rm -f "$tmpdepfile"
  16290. + exit $stat
  16291. + fi
  16292. + rm -f "$depfile"
  16293. +
  16294. + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
  16295. + echo "$object : \\" > "$depfile"
  16296. +
  16297. + # Clip off the initial element (the dependent). Don't try to be
  16298. + # clever and replace this with sed code, as IRIX sed won't handle
  16299. + # lines with more than a fixed number of characters (4096 in
  16300. + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
  16301. + # the IRIX cc adds comments like `#:fec' to the end of the
  16302. + # dependency line.
  16303. + tr ' ' '
  16304. +' < "$tmpdepfile" \
  16305. + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  16306. + tr '
  16307. +' ' ' >> "$depfile"
  16308. + echo >> "$depfile"
  16309. +
  16310. + # The second pass generates a dummy entry for each header file.
  16311. + tr ' ' '
  16312. +' < "$tmpdepfile" \
  16313. + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  16314. + >> "$depfile"
  16315. + else
  16316. + # The sourcefile does not contain any dependencies, so just
  16317. + # store a dummy comment line, to avoid errors with the Makefile
  16318. + # "include basename.Plo" scheme.
  16319. + echo "#dummy" > "$depfile"
  16320. + fi
  16321. + rm -f "$tmpdepfile"
  16322. + ;;
  16323. +
  16324. +aix)
  16325. + # The C for AIX Compiler uses -M and outputs the dependencies
  16326. + # in a .u file. In older versions, this file always lives in the
  16327. + # current directory. Also, the AIX compiler puts `$object:' at the
  16328. + # start of each line; $object doesn't have directory information.
  16329. + # Version 6 uses the directory in both cases.
  16330. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  16331. + test "x$dir" = "x$object" && dir=
  16332. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  16333. + if test "$libtool" = yes; then
  16334. + tmpdepfile1=$dir$base.u
  16335. + tmpdepfile2=$base.u
  16336. + tmpdepfile3=$dir.libs/$base.u
  16337. + "$@" -Wc,-M
  16338. + else
  16339. + tmpdepfile1=$dir$base.u
  16340. + tmpdepfile2=$dir$base.u
  16341. + tmpdepfile3=$dir$base.u
  16342. + "$@" -M
  16343. + fi
  16344. + stat=$?
  16345. +
  16346. + if test $stat -eq 0; then :
  16347. + else
  16348. + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  16349. + exit $stat
  16350. + fi
  16351. +
  16352. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  16353. + do
  16354. + test -f "$tmpdepfile" && break
  16355. + done
  16356. + if test -f "$tmpdepfile"; then
  16357. + # Each line is of the form `foo.o: dependent.h'.
  16358. + # Do two passes, one to just change these to
  16359. + # `$object: dependent.h' and one to simply `dependent.h:'.
  16360. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  16361. + # That's a tab and a space in the [].
  16362. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  16363. + else
  16364. + # The sourcefile does not contain any dependencies, so just
  16365. + # store a dummy comment line, to avoid errors with the Makefile
  16366. + # "include basename.Plo" scheme.
  16367. + echo "#dummy" > "$depfile"
  16368. + fi
  16369. + rm -f "$tmpdepfile"
  16370. + ;;
  16371. +
  16372. +icc)
  16373. + # Intel's C compiler understands `-MD -MF file'. However on
  16374. + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
  16375. + # ICC 7.0 will fill foo.d with something like
  16376. + # foo.o: sub/foo.c
  16377. + # foo.o: sub/foo.h
  16378. + # which is wrong. We want:
  16379. + # sub/foo.o: sub/foo.c
  16380. + # sub/foo.o: sub/foo.h
  16381. + # sub/foo.c:
  16382. + # sub/foo.h:
  16383. + # ICC 7.1 will output
  16384. + # foo.o: sub/foo.c sub/foo.h
  16385. + # and will wrap long lines using \ :
  16386. + # foo.o: sub/foo.c ... \
  16387. + # sub/foo.h ... \
  16388. + # ...
  16389. +
  16390. + "$@" -MD -MF "$tmpdepfile"
  16391. + stat=$?
  16392. + if test $stat -eq 0; then :
  16393. + else
  16394. + rm -f "$tmpdepfile"
  16395. + exit $stat
  16396. + fi
  16397. + rm -f "$depfile"
  16398. + # Each line is of the form `foo.o: dependent.h',
  16399. + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
  16400. + # Do two passes, one to just change these to
  16401. + # `$object: dependent.h' and one to simply `dependent.h:'.
  16402. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
  16403. + # Some versions of the HPUX 10.20 sed can't process this invocation
  16404. + # correctly. Breaking it into two sed invocations is a workaround.
  16405. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
  16406. + sed -e 's/$/ :/' >> "$depfile"
  16407. + rm -f "$tmpdepfile"
  16408. + ;;
  16409. +
  16410. +hp2)
  16411. + # The "hp" stanza above does not work with aCC (C++) and HP's ia64
  16412. + # compilers, which have integrated preprocessors. The correct option
  16413. + # to use with these is +Maked; it writes dependencies to a file named
  16414. + # 'foo.d', which lands next to the object file, wherever that
  16415. + # happens to be.
  16416. + # Much of this is similar to the tru64 case; see comments there.
  16417. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  16418. + test "x$dir" = "x$object" && dir=
  16419. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  16420. + if test "$libtool" = yes; then
  16421. + tmpdepfile1=$dir$base.d
  16422. + tmpdepfile2=$dir.libs/$base.d
  16423. + "$@" -Wc,+Maked
  16424. + else
  16425. + tmpdepfile1=$dir$base.d
  16426. + tmpdepfile2=$dir$base.d
  16427. + "$@" +Maked
  16428. + fi
  16429. + stat=$?
  16430. + if test $stat -eq 0; then :
  16431. + else
  16432. + rm -f "$tmpdepfile1" "$tmpdepfile2"
  16433. + exit $stat
  16434. + fi
  16435. +
  16436. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
  16437. + do
  16438. + test -f "$tmpdepfile" && break
  16439. + done
  16440. + if test -f "$tmpdepfile"; then
  16441. + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  16442. + # Add `dependent.h:' lines.
  16443. + sed -ne '2,${
  16444. + s/^ *//
  16445. + s/ \\*$//
  16446. + s/$/:/
  16447. + p
  16448. + }' "$tmpdepfile" >> "$depfile"
  16449. + else
  16450. + echo "#dummy" > "$depfile"
  16451. + fi
  16452. + rm -f "$tmpdepfile" "$tmpdepfile2"
  16453. + ;;
  16454. +
  16455. +tru64)
  16456. + # The Tru64 compiler uses -MD to generate dependencies as a side
  16457. + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
  16458. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
  16459. + # dependencies in `foo.d' instead, so we check for that too.
  16460. + # Subdirectories are respected.
  16461. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  16462. + test "x$dir" = "x$object" && dir=
  16463. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  16464. +
  16465. + if test "$libtool" = yes; then
  16466. + # With Tru64 cc, shared objects can also be used to make a
  16467. + # static library. This mechanism is used in libtool 1.4 series to
  16468. + # handle both shared and static libraries in a single compilation.
  16469. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
  16470. + #
  16471. + # With libtool 1.5 this exception was removed, and libtool now
  16472. + # generates 2 separate objects for the 2 libraries. These two
  16473. + # compilations output dependencies in $dir.libs/$base.o.d and
  16474. + # in $dir$base.o.d. We have to check for both files, because
  16475. + # one of the two compilations can be disabled. We should prefer
  16476. + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
  16477. + # automatically cleaned when .libs/ is deleted, while ignoring
  16478. + # the former would cause a distcleancheck panic.
  16479. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
  16480. + tmpdepfile2=$dir$base.o.d # libtool 1.5
  16481. + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
  16482. + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
  16483. + "$@" -Wc,-MD
  16484. + else
  16485. + tmpdepfile1=$dir$base.o.d
  16486. + tmpdepfile2=$dir$base.d
  16487. + tmpdepfile3=$dir$base.d
  16488. + tmpdepfile4=$dir$base.d
  16489. + "$@" -MD
  16490. + fi
  16491. +
  16492. + stat=$?
  16493. + if test $stat -eq 0; then :
  16494. + else
  16495. + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  16496. + exit $stat
  16497. + fi
  16498. +
  16499. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  16500. + do
  16501. + test -f "$tmpdepfile" && break
  16502. + done
  16503. + if test -f "$tmpdepfile"; then
  16504. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  16505. + # That's a tab and a space in the [].
  16506. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  16507. + else
  16508. + echo "#dummy" > "$depfile"
  16509. + fi
  16510. + rm -f "$tmpdepfile"
  16511. + ;;
  16512. +
  16513. +msvc7)
  16514. + if test "$libtool" = yes; then
  16515. + showIncludes=-Wc,-showIncludes
  16516. + else
  16517. + showIncludes=-showIncludes
  16518. + fi
  16519. + "$@" $showIncludes > "$tmpdepfile"
  16520. + stat=$?
  16521. + grep -v '^Note: including file: ' "$tmpdepfile"
  16522. + if test "$stat" = 0; then :
  16523. + else
  16524. + rm -f "$tmpdepfile"
  16525. + exit $stat
  16526. + fi
  16527. + rm -f "$depfile"
  16528. + echo "$object : \\" > "$depfile"
  16529. + # The first sed program below extracts the file names and escapes
  16530. + # backslashes for cygpath. The second sed program outputs the file
  16531. + # name when reading, but also accumulates all include files in the
  16532. + # hold buffer in order to output them again at the end. This only
  16533. + # works with sed implementations that can handle large buffers.
  16534. + sed < "$tmpdepfile" -n '
  16535. +/^Note: including file: *\(.*\)/ {
  16536. + s//\1/
  16537. + s/\\/\\\\/g
  16538. + p
  16539. +}' | $cygpath_u | sort -u | sed -n '
  16540. +s/ /\\ /g
  16541. +s/\(.*\)/ \1 \\/p
  16542. +s/.\(.*\) \\/\1:/
  16543. +H
  16544. +$ {
  16545. + s/.*/ /
  16546. + G
  16547. + p
  16548. +}' >> "$depfile"
  16549. + rm -f "$tmpdepfile"
  16550. + ;;
  16551. +
  16552. +msvc7msys)
  16553. + # This case exists only to let depend.m4 do its work. It works by
  16554. + # looking at the text of this script. This case will never be run,
  16555. + # since it is checked for above.
  16556. + exit 1
  16557. + ;;
  16558. +
  16559. +#nosideeffect)
  16560. + # This comment above is used by automake to tell side-effect
  16561. + # dependency tracking mechanisms from slower ones.
  16562. +
  16563. +dashmstdout)
  16564. + # Important note: in order to support this mode, a compiler *must*
  16565. + # always write the preprocessed file to stdout, regardless of -o.
  16566. + "$@" || exit $?
  16567. +
  16568. + # Remove the call to Libtool.
  16569. + if test "$libtool" = yes; then
  16570. + while test "X$1" != 'X--mode=compile'; do
  16571. + shift
  16572. + done
  16573. + shift
  16574. + fi
  16575. +
  16576. + # Remove `-o $object'.
  16577. + IFS=" "
  16578. + for arg
  16579. + do
  16580. + case $arg in
  16581. + -o)
  16582. + shift
  16583. + ;;
  16584. + $object)
  16585. + shift
  16586. + ;;
  16587. + *)
  16588. + set fnord "$@" "$arg"
  16589. + shift # fnord
  16590. + shift # $arg
  16591. + ;;
  16592. + esac
  16593. + done
  16594. +
  16595. + test -z "$dashmflag" && dashmflag=-M
  16596. + # Require at least two characters before searching for `:'
  16597. + # in the target name. This is to cope with DOS-style filenames:
  16598. + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
  16599. + "$@" $dashmflag |
  16600. + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
  16601. + rm -f "$depfile"
  16602. + cat < "$tmpdepfile" > "$depfile"
  16603. + tr ' ' '
  16604. +' < "$tmpdepfile" | \
  16605. +## Some versions of the HPUX 10.20 sed can't process this invocation
  16606. +## correctly. Breaking it into two sed invocations is a workaround.
  16607. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
  16608. + rm -f "$tmpdepfile"
  16609. + ;;
  16610. +
  16611. +dashXmstdout)
  16612. + # This case only exists to satisfy depend.m4. It is never actually
  16613. + # run, as this mode is specially recognized in the preamble.
  16614. + exit 1
  16615. + ;;
  16616. +
  16617. +makedepend)
  16618. + "$@" || exit $?
  16619. + # Remove any Libtool call
  16620. + if test "$libtool" = yes; then
  16621. + while test "X$1" != 'X--mode=compile'; do
  16622. + shift
  16623. + done
  16624. + shift
  16625. + fi
  16626. + # X makedepend
  16627. + shift
  16628. + cleared=no eat=no
  16629. + for arg
  16630. + do
  16631. + case $cleared in
  16632. + no)
  16633. + set ""; shift
  16634. + cleared=yes ;;
  16635. + esac
  16636. + if test $eat = yes; then
  16637. + eat=no
  16638. + continue
  16639. + fi
  16640. + case "$arg" in
  16641. + -D*|-I*)
  16642. + set fnord "$@" "$arg"; shift ;;
  16643. + # Strip any option that makedepend may not understand. Remove
  16644. + # the object too, otherwise makedepend will parse it as a source file.
  16645. + -arch)
  16646. + eat=yes ;;
  16647. + -*|$object)
  16648. + ;;
  16649. + *)
  16650. + set fnord "$@" "$arg"; shift ;;
  16651. + esac
  16652. + done
  16653. + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  16654. + touch "$tmpdepfile"
  16655. + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  16656. + rm -f "$depfile"
  16657. + # makedepend may prepend the VPATH from the source file name to the object.
  16658. + # No need to regex-escape $object, excess matching of '.' is harmless.
  16659. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
  16660. + sed '1,2d' "$tmpdepfile" | tr ' ' '
  16661. +' | \
  16662. +## Some versions of the HPUX 10.20 sed can't process this invocation
  16663. +## correctly. Breaking it into two sed invocations is a workaround.
  16664. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
  16665. + rm -f "$tmpdepfile" "$tmpdepfile".bak
  16666. + ;;
  16667. +
  16668. +cpp)
  16669. + # Important note: in order to support this mode, a compiler *must*
  16670. + # always write the preprocessed file to stdout.
  16671. + "$@" || exit $?
  16672. +
  16673. + # Remove the call to Libtool.
  16674. + if test "$libtool" = yes; then
  16675. + while test "X$1" != 'X--mode=compile'; do
  16676. + shift
  16677. + done
  16678. + shift
  16679. + fi
  16680. +
  16681. + # Remove `-o $object'.
  16682. + IFS=" "
  16683. + for arg
  16684. + do
  16685. + case $arg in
  16686. + -o)
  16687. + shift
  16688. + ;;
  16689. + $object)
  16690. + shift
  16691. + ;;
  16692. + *)
  16693. + set fnord "$@" "$arg"
  16694. + shift # fnord
  16695. + shift # $arg
  16696. + ;;
  16697. + esac
  16698. + done
  16699. +
  16700. + "$@" -E |
  16701. + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
  16702. + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
  16703. + sed '$ s: \\$::' > "$tmpdepfile"
  16704. + rm -f "$depfile"
  16705. + echo "$object : \\" > "$depfile"
  16706. + cat < "$tmpdepfile" >> "$depfile"
  16707. + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
  16708. + rm -f "$tmpdepfile"
  16709. + ;;
  16710. +
  16711. +msvisualcpp)
  16712. + # Important note: in order to support this mode, a compiler *must*
  16713. + # always write the preprocessed file to stdout.
  16714. + "$@" || exit $?
  16715. +
  16716. + # Remove the call to Libtool.
  16717. + if test "$libtool" = yes; then
  16718. + while test "X$1" != 'X--mode=compile'; do
  16719. + shift
  16720. + done
  16721. + shift
  16722. + fi
  16723. +
  16724. + IFS=" "
  16725. + for arg
  16726. + do
  16727. + case "$arg" in
  16728. + -o)
  16729. + shift
  16730. + ;;
  16731. + $object)
  16732. + shift
  16733. + ;;
  16734. + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  16735. + set fnord "$@"
  16736. + shift
  16737. + shift
  16738. + ;;
  16739. + *)
  16740. + set fnord "$@" "$arg"
  16741. + shift
  16742. + shift
  16743. + ;;
  16744. + esac
  16745. + done
  16746. + "$@" -E 2>/dev/null |
  16747. + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  16748. + rm -f "$depfile"
  16749. + echo "$object : \\" > "$depfile"
  16750. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  16751. + echo " " >> "$depfile"
  16752. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  16753. + rm -f "$tmpdepfile"
  16754. + ;;
  16755. +
  16756. +msvcmsys)
  16757. + # This case exists only to let depend.m4 do its work. It works by
  16758. + # looking at the text of this script. This case will never be run,
  16759. + # since it is checked for above.
  16760. + exit 1
  16761. + ;;
  16762. +
  16763. +none)
  16764. + exec "$@"
  16765. + ;;
  16766. +
  16767. +*)
  16768. + echo "Unknown depmode $depmode" 1>&2
  16769. + exit 1
  16770. + ;;
  16771. +esac
  16772. +
  16773. +exit 0
  16774. +
  16775. +# Local Variables:
  16776. +# mode: shell-script
  16777. +# sh-indentation: 2
  16778. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  16779. +# time-stamp-start: "scriptversion="
  16780. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  16781. +# time-stamp-time-zone: "UTC"
  16782. +# time-stamp-end: "; # UTC"
  16783. +# End:
  16784. --- cgminer-2.4.1.orig/adl.h
  16785. +++ cgminer-2.4.1/adl.h
  16786. @@ -19,12 +19,10 @@ bool gpu_stats(int gpu, float *temp, int
  16787. void change_gpusettings(int gpu);
  16788. void gpu_autotune(int gpu, enum dev_enable *denable);
  16789. void clear_adl(int nDevs);
  16790. -void reinit_adl(void);
  16791. #else /* HAVE_ADL */
  16792. #define adl_active (0)
  16793. static inline void init_adl(int nDevs) {}
  16794. static inline void change_gpusettings(int gpu) { }
  16795. static inline void clear_adl(int nDevs) {}
  16796. -static inline void reinit_adl(void) {}
  16797. #endif
  16798. #endif
  16799. --- cgminer-2.4.1.orig/adl.c
  16800. +++ cgminer-2.4.1/adl.c
  16801. @@ -1379,17 +1379,4 @@ void clear_adl(int nDevs)
  16802. unlock_adl();
  16803. free_adl();
  16804. }
  16805. -
  16806. -void reinit_adl(void)
  16807. -{
  16808. - bool ret;
  16809. - lock_adl();
  16810. - free_adl();
  16811. - ret = prepare_adl();
  16812. - if (!ret) {
  16813. - adl_active = false;
  16814. - applog(LOG_WARNING, "Attempt to re-initialise ADL has failed, disabling");
  16815. - }
  16816. - unlock_adl();
  16817. -}
  16818. #endif /* HAVE_ADL */
  16819. --- cgminer-2.4.1.orig/README
  16820. +++ cgminer-2.4.1/README
  16821. @@ -801,6 +801,13 @@ The list of requests - a (*) means it re
  16822. restart (*) none There is no status section but just a single "RESTART"
  16823. reply before cgminer restarts
  16824. + stats STATS Each device or pool that has 1 or more getworks
  16825. + with a list of stats regarding getwork times
  16826. + The values returned by stats may change in future
  16827. + versions thus would not normally be displayed
  16828. + Device drivers are also able to add stats to the
  16829. + end of the details returned
  16830. +
  16831. When you enable, disable or restart a GPU or PGA, you will also get Thread messages
  16832. in the cgminer status window
  16833. --- /dev/null
  16834. +++ cgminer-2.4.1/aclocal.m4
  16835. @@ -0,0 +1,1282 @@
  16836. +# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
  16837. +
  16838. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  16839. +# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
  16840. +# Inc.
  16841. +# This file is free software; the Free Software Foundation
  16842. +# gives unlimited permission to copy and/or distribute it,
  16843. +# with or without modifications, as long as this notice is preserved.
  16844. +
  16845. +# This program is distributed in the hope that it will be useful,
  16846. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  16847. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  16848. +# PARTICULAR PURPOSE.
  16849. +
  16850. +m4_ifndef([AC_AUTOCONF_VERSION],
  16851. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16852. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
  16853. +[m4_warning([this file was generated for autoconf 2.68.
  16854. +You have another version of autoconf. It may work, but is not guaranteed to.
  16855. +If you have problems, you may need to regenerate the build system entirely.
  16856. +To do so, use the procedure documented by the package, typically `autoreconf'.])])
  16857. +
  16858. +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
  16859. +# serial 1 (pkg-config-0.24)
  16860. +#
  16861. +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
  16862. +#
  16863. +# This program is free software; you can redistribute it and/or modify
  16864. +# it under the terms of the GNU General Public License as published by
  16865. +# the Free Software Foundation; either version 2 of the License, or
  16866. +# (at your option) any later version.
  16867. +#
  16868. +# This program is distributed in the hope that it will be useful, but
  16869. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  16870. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16871. +# General Public License for more details.
  16872. +#
  16873. +# You should have received a copy of the GNU General Public License
  16874. +# along with this program; if not, write to the Free Software
  16875. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  16876. +#
  16877. +# As a special exception to the GNU General Public License, if you
  16878. +# distribute this file as part of a program that contains a
  16879. +# configuration script generated by Autoconf, you may include it under
  16880. +# the same distribution terms that you use for the rest of that program.
  16881. +
  16882. +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
  16883. +# ----------------------------------
  16884. +AC_DEFUN([PKG_PROG_PKG_CONFIG],
  16885. +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  16886. +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  16887. +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  16888. +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
  16889. +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
  16890. +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
  16891. +
  16892. +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  16893. + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
  16894. +fi
  16895. +if test -n "$PKG_CONFIG"; then
  16896. + _pkg_min_version=m4_default([$1], [0.9.0])
  16897. + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
  16898. + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  16899. + AC_MSG_RESULT([yes])
  16900. + else
  16901. + AC_MSG_RESULT([no])
  16902. + PKG_CONFIG=""
  16903. + fi
  16904. +fi[]dnl
  16905. +])# PKG_PROG_PKG_CONFIG
  16906. +
  16907. +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  16908. +#
  16909. +# Check to see whether a particular set of modules exists. Similar
  16910. +# to PKG_CHECK_MODULES(), but does not set variables or print errors.
  16911. +#
  16912. +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  16913. +# only at the first occurence in configure.ac, so if the first place
  16914. +# it's called might be skipped (such as if it is within an "if", you
  16915. +# have to call PKG_CHECK_EXISTS manually
  16916. +# --------------------------------------------------------------
  16917. +AC_DEFUN([PKG_CHECK_EXISTS],
  16918. +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  16919. +if test -n "$PKG_CONFIG" && \
  16920. + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
  16921. + m4_default([$2], [:])
  16922. +m4_ifvaln([$3], [else
  16923. + $3])dnl
  16924. +fi])
  16925. +
  16926. +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
  16927. +# ---------------------------------------------
  16928. +m4_define([_PKG_CONFIG],
  16929. +[if test -n "$$1"; then
  16930. + pkg_cv_[]$1="$$1"
  16931. + elif test -n "$PKG_CONFIG"; then
  16932. + PKG_CHECK_EXISTS([$3],
  16933. + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
  16934. + test "x$?" != "x0" && pkg_failed=yes ],
  16935. + [pkg_failed=yes])
  16936. + else
  16937. + pkg_failed=untried
  16938. +fi[]dnl
  16939. +])# _PKG_CONFIG
  16940. +
  16941. +# _PKG_SHORT_ERRORS_SUPPORTED
  16942. +# -----------------------------
  16943. +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
  16944. +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  16945. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  16946. + _pkg_short_errors_supported=yes
  16947. +else
  16948. + _pkg_short_errors_supported=no
  16949. +fi[]dnl
  16950. +])# _PKG_SHORT_ERRORS_SUPPORTED
  16951. +
  16952. +
  16953. +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
  16954. +# [ACTION-IF-NOT-FOUND])
  16955. +#
  16956. +#
  16957. +# Note that if there is a possibility the first call to
  16958. +# PKG_CHECK_MODULES might not happen, you should be sure to include an
  16959. +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
  16960. +#
  16961. +#
  16962. +# --------------------------------------------------------------
  16963. +AC_DEFUN([PKG_CHECK_MODULES],
  16964. +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  16965. +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
  16966. +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
  16967. +
  16968. +pkg_failed=no
  16969. +AC_MSG_CHECKING([for $1])
  16970. +
  16971. +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
  16972. +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
  16973. +
  16974. +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
  16975. +and $1[]_LIBS to avoid the need to call pkg-config.
  16976. +See the pkg-config man page for more details.])
  16977. +
  16978. +if test $pkg_failed = yes; then
  16979. + AC_MSG_RESULT([no])
  16980. + _PKG_SHORT_ERRORS_SUPPORTED
  16981. + if test $_pkg_short_errors_supported = yes; then
  16982. + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
  16983. + else
  16984. + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
  16985. + fi
  16986. + # Put the nasty error message in config.log where it belongs
  16987. + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
  16988. +
  16989. + m4_default([$4], [AC_MSG_ERROR(
  16990. +[Package requirements ($2) were not met:
  16991. +
  16992. +$$1_PKG_ERRORS
  16993. +
  16994. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  16995. +installed software in a non-standard prefix.
  16996. +
  16997. +_PKG_TEXT])[]dnl
  16998. + ])
  16999. +elif test $pkg_failed = untried; then
  17000. + AC_MSG_RESULT([no])
  17001. + m4_default([$4], [AC_MSG_FAILURE(
  17002. +[The pkg-config script could not be found or is too old. Make sure it
  17003. +is in your PATH or set the PKG_CONFIG environment variable to the full
  17004. +path to pkg-config.
  17005. +
  17006. +_PKG_TEXT
  17007. +
  17008. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
  17009. + ])
  17010. +else
  17011. + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
  17012. + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
  17013. + AC_MSG_RESULT([yes])
  17014. + $3
  17015. +fi[]dnl
  17016. +])# PKG_CHECK_MODULES
  17017. +
  17018. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
  17019. +# Foundation, Inc.
  17020. +#
  17021. +# This file is free software; the Free Software Foundation
  17022. +# gives unlimited permission to copy and/or distribute it,
  17023. +# with or without modifications, as long as this notice is preserved.
  17024. +
  17025. +# serial 1
  17026. +
  17027. +# AM_AUTOMAKE_VERSION(VERSION)
  17028. +# ----------------------------
  17029. +# Automake X.Y traces this macro to ensure aclocal.m4 has been
  17030. +# generated from the m4 files accompanying Automake X.Y.
  17031. +# (This private macro should not be called outside this file.)
  17032. +AC_DEFUN([AM_AUTOMAKE_VERSION],
  17033. +[am__api_version='1.11'
  17034. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  17035. +dnl require some minimum version. Point them to the right macro.
  17036. +m4_if([$1], [1.11.3], [],
  17037. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  17038. +])
  17039. +
  17040. +# _AM_AUTOCONF_VERSION(VERSION)
  17041. +# -----------------------------
  17042. +# aclocal traces this macro to find the Autoconf version.
  17043. +# This is a private macro too. Using m4_define simplifies
  17044. +# the logic in aclocal, which can simply ignore this definition.
  17045. +m4_define([_AM_AUTOCONF_VERSION], [])
  17046. +
  17047. +# AM_SET_CURRENT_AUTOMAKE_VERSION
  17048. +# -------------------------------
  17049. +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  17050. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  17051. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  17052. +[AM_AUTOMAKE_VERSION([1.11.3])dnl
  17053. +m4_ifndef([AC_AUTOCONF_VERSION],
  17054. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  17055. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  17056. +
  17057. +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
  17058. +
  17059. +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
  17060. +#
  17061. +# This file is free software; the Free Software Foundation
  17062. +# gives unlimited permission to copy and/or distribute it,
  17063. +# with or without modifications, as long as this notice is preserved.
  17064. +
  17065. +# serial 1
  17066. +
  17067. +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  17068. +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  17069. +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  17070. +#
  17071. +# Of course, Automake must honor this variable whenever it calls a
  17072. +# tool from the auxiliary directory. The problem is that $srcdir (and
  17073. +# therefore $ac_aux_dir as well) can be either absolute or relative,
  17074. +# depending on how configure is run. This is pretty annoying, since
  17075. +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
  17076. +# source directory, any form will work fine, but in subdirectories a
  17077. +# relative path needs to be adjusted first.
  17078. +#
  17079. +# $ac_aux_dir/missing
  17080. +# fails when called from a subdirectory if $ac_aux_dir is relative
  17081. +# $top_srcdir/$ac_aux_dir/missing
  17082. +# fails if $ac_aux_dir is absolute,
  17083. +# fails when called from a subdirectory in a VPATH build with
  17084. +# a relative $ac_aux_dir
  17085. +#
  17086. +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  17087. +# are both prefixed by $srcdir. In an in-source build this is usually
  17088. +# harmless because $srcdir is `.', but things will broke when you
  17089. +# start a VPATH build or use an absolute $srcdir.
  17090. +#
  17091. +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  17092. +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
  17093. +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
  17094. +# and then we would define $MISSING as
  17095. +# MISSING="\${SHELL} $am_aux_dir/missing"
  17096. +# This will work as long as MISSING is not called from configure, because
  17097. +# unfortunately $(top_srcdir) has no meaning in configure.
  17098. +# However there are other variables, like CC, which are often used in
  17099. +# configure, and could therefore not use this "fixed" $ac_aux_dir.
  17100. +#
  17101. +# Another solution, used here, is to always expand $ac_aux_dir to an
  17102. +# absolute PATH. The drawback is that using absolute paths prevent a
  17103. +# configured tree to be moved without reconfiguration.
  17104. +
  17105. +AC_DEFUN([AM_AUX_DIR_EXPAND],
  17106. +[dnl Rely on autoconf to set up CDPATH properly.
  17107. +AC_PREREQ([2.50])dnl
  17108. +# expand $ac_aux_dir to an absolute path
  17109. +am_aux_dir=`cd $ac_aux_dir && pwd`
  17110. +])
  17111. +
  17112. +# AM_CONDITIONAL -*- Autoconf -*-
  17113. +
  17114. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  17115. +# Free Software Foundation, Inc.
  17116. +#
  17117. +# This file is free software; the Free Software Foundation
  17118. +# gives unlimited permission to copy and/or distribute it,
  17119. +# with or without modifications, as long as this notice is preserved.
  17120. +
  17121. +# serial 9
  17122. +
  17123. +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
  17124. +# -------------------------------------
  17125. +# Define a conditional.
  17126. +AC_DEFUN([AM_CONDITIONAL],
  17127. +[AC_PREREQ(2.52)dnl
  17128. + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  17129. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  17130. +AC_SUBST([$1_TRUE])dnl
  17131. +AC_SUBST([$1_FALSE])dnl
  17132. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  17133. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  17134. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  17135. +if $2; then
  17136. + $1_TRUE=
  17137. + $1_FALSE='#'
  17138. +else
  17139. + $1_TRUE='#'
  17140. + $1_FALSE=
  17141. +fi
  17142. +AC_CONFIG_COMMANDS_PRE(
  17143. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  17144. + AC_MSG_ERROR([[conditional "$1" was never defined.
  17145. +Usually this means the macro was only invoked conditionally.]])
  17146. +fi])])
  17147. +
  17148. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
  17149. +# 2010, 2011 Free Software Foundation, Inc.
  17150. +#
  17151. +# This file is free software; the Free Software Foundation
  17152. +# gives unlimited permission to copy and/or distribute it,
  17153. +# with or without modifications, as long as this notice is preserved.
  17154. +
  17155. +# serial 12
  17156. +
  17157. +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  17158. +# written in clear, in which case automake, when reading aclocal.m4,
  17159. +# will think it sees a *use*, and therefore will trigger all it's
  17160. +# C support machinery. Also note that it means that autoscan, seeing
  17161. +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  17162. +
  17163. +
  17164. +# _AM_DEPENDENCIES(NAME)
  17165. +# ----------------------
  17166. +# See how the compiler implements dependency checking.
  17167. +# NAME is "CC", "CXX", "GCJ", or "OBJC".
  17168. +# We try a few techniques and use that to set a single cache variable.
  17169. +#
  17170. +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  17171. +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
  17172. +# dependency, and given that the user is not expected to run this macro,
  17173. +# just rely on AC_PROG_CC.
  17174. +AC_DEFUN([_AM_DEPENDENCIES],
  17175. +[AC_REQUIRE([AM_SET_DEPDIR])dnl
  17176. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  17177. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  17178. +AC_REQUIRE([AM_DEP_TRACK])dnl
  17179. +
  17180. +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  17181. + [$1], CXX, [depcc="$CXX" am_compiler_list=],
  17182. + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  17183. + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  17184. + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  17185. + [depcc="$$1" am_compiler_list=])
  17186. +
  17187. +AC_CACHE_CHECK([dependency style of $depcc],
  17188. + [am_cv_$1_dependencies_compiler_type],
  17189. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  17190. + # We make a subdir and do the tests there. Otherwise we can end up
  17191. + # making bogus files that we don't know about and never remove. For
  17192. + # instance it was reported that on HP-UX the gcc test will end up
  17193. + # making a dummy file named `D' -- because `-MD' means `put the output
  17194. + # in D'.
  17195. + rm -rf conftest.dir
  17196. + mkdir conftest.dir
  17197. + # Copy depcomp to subdir because otherwise we won't find it if we're
  17198. + # using a relative directory.
  17199. + cp "$am_depcomp" conftest.dir
  17200. + cd conftest.dir
  17201. + # We will build objects and dependencies in a subdirectory because
  17202. + # it helps to detect inapplicable dependency modes. For instance
  17203. + # both Tru64's cc and ICC support -MD to output dependencies as a
  17204. + # side effect of compilation, but ICC will put the dependencies in
  17205. + # the current directory while Tru64 will put them in the object
  17206. + # directory.
  17207. + mkdir sub
  17208. +
  17209. + am_cv_$1_dependencies_compiler_type=none
  17210. + if test "$am_compiler_list" = ""; then
  17211. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  17212. + fi
  17213. + am__universal=false
  17214. + m4_case([$1], [CC],
  17215. + [case " $depcc " in #(
  17216. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  17217. + esac],
  17218. + [CXX],
  17219. + [case " $depcc " in #(
  17220. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  17221. + esac])
  17222. +
  17223. + for depmode in $am_compiler_list; do
  17224. + # Setup a source with many dependencies, because some compilers
  17225. + # like to wrap large dependency lists on column 80 (with \), and
  17226. + # we should not choose a depcomp mode which is confused by this.
  17227. + #
  17228. + # We need to recreate these files for each test, as the compiler may
  17229. + # overwrite some of them when testing with obscure command lines.
  17230. + # This happens at least with the AIX C compiler.
  17231. + : > sub/conftest.c
  17232. + for i in 1 2 3 4 5 6; do
  17233. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  17234. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  17235. + # Solaris 8's {/usr,}/bin/sh.
  17236. + touch sub/conftst$i.h
  17237. + done
  17238. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  17239. +
  17240. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  17241. + # mode. It turns out that the SunPro C++ compiler does not properly
  17242. + # handle `-M -o', and we need to detect this. Also, some Intel
  17243. + # versions had trouble with output in subdirs
  17244. + am__obj=sub/conftest.${OBJEXT-o}
  17245. + am__minus_obj="-o $am__obj"
  17246. + case $depmode in
  17247. + gcc)
  17248. + # This depmode causes a compiler race in universal mode.
  17249. + test "$am__universal" = false || continue
  17250. + ;;
  17251. + nosideeffect)
  17252. + # after this tag, mechanisms are not by side-effect, so they'll
  17253. + # only be used when explicitly requested
  17254. + if test "x$enable_dependency_tracking" = xyes; then
  17255. + continue
  17256. + else
  17257. + break
  17258. + fi
  17259. + ;;
  17260. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  17261. + # This compiler won't grok `-c -o', but also, the minuso test has
  17262. + # not run yet. These depmodes are late enough in the game, and
  17263. + # so weak that their functioning should not be impacted.
  17264. + am__obj=conftest.${OBJEXT-o}
  17265. + am__minus_obj=
  17266. + ;;
  17267. + none) break ;;
  17268. + esac
  17269. + if depmode=$depmode \
  17270. + source=sub/conftest.c object=$am__obj \
  17271. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  17272. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  17273. + >/dev/null 2>conftest.err &&
  17274. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  17275. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  17276. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  17277. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  17278. + # icc doesn't choke on unknown options, it will just issue warnings
  17279. + # or remarks (even with -Werror). So we grep stderr for any message
  17280. + # that says an option was ignored or not supported.
  17281. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  17282. + # icc: Command line warning: ignoring option '-M'; no argument required
  17283. + # The diagnosis changed in icc 8.0:
  17284. + # icc: Command line remark: option '-MP' not supported
  17285. + if (grep 'ignoring option' conftest.err ||
  17286. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  17287. + am_cv_$1_dependencies_compiler_type=$depmode
  17288. + break
  17289. + fi
  17290. + fi
  17291. + done
  17292. +
  17293. + cd ..
  17294. + rm -rf conftest.dir
  17295. +else
  17296. + am_cv_$1_dependencies_compiler_type=none
  17297. +fi
  17298. +])
  17299. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  17300. +AM_CONDITIONAL([am__fastdep$1], [
  17301. + test "x$enable_dependency_tracking" != xno \
  17302. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  17303. +])
  17304. +
  17305. +
  17306. +# AM_SET_DEPDIR
  17307. +# -------------
  17308. +# Choose a directory name for dependency files.
  17309. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  17310. +AC_DEFUN([AM_SET_DEPDIR],
  17311. +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  17312. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  17313. +])
  17314. +
  17315. +
  17316. +# AM_DEP_TRACK
  17317. +# ------------
  17318. +AC_DEFUN([AM_DEP_TRACK],
  17319. +[AC_ARG_ENABLE(dependency-tracking,
  17320. +[ --disable-dependency-tracking speeds up one-time build
  17321. + --enable-dependency-tracking do not reject slow dependency extractors])
  17322. +if test "x$enable_dependency_tracking" != xno; then
  17323. + am_depcomp="$ac_aux_dir/depcomp"
  17324. + AMDEPBACKSLASH='\'
  17325. + am__nodep='_no'
  17326. +fi
  17327. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  17328. +AC_SUBST([AMDEPBACKSLASH])dnl
  17329. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  17330. +AC_SUBST([am__nodep])dnl
  17331. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  17332. +])
  17333. +
  17334. +# Generate code to set up dependency tracking. -*- Autoconf -*-
  17335. +
  17336. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  17337. +# Free Software Foundation, Inc.
  17338. +#
  17339. +# This file is free software; the Free Software Foundation
  17340. +# gives unlimited permission to copy and/or distribute it,
  17341. +# with or without modifications, as long as this notice is preserved.
  17342. +
  17343. +#serial 5
  17344. +
  17345. +# _AM_OUTPUT_DEPENDENCY_COMMANDS
  17346. +# ------------------------------
  17347. +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  17348. +[{
  17349. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  17350. + # are listed without --file. Let's play safe and only enable the eval
  17351. + # if we detect the quoting.
  17352. + case $CONFIG_FILES in
  17353. + *\'*) eval set x "$CONFIG_FILES" ;;
  17354. + *) set x $CONFIG_FILES ;;
  17355. + esac
  17356. + shift
  17357. + for mf
  17358. + do
  17359. + # Strip MF so we end up with the name of the file.
  17360. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  17361. + # Check whether this is an Automake generated Makefile or not.
  17362. + # We used to match only the files named `Makefile.in', but
  17363. + # some people rename them; so instead we look at the file content.
  17364. + # Grep'ing the first line is not enough: some people post-process
  17365. + # each Makefile.in and add a new line on top of each file to say so.
  17366. + # Grep'ing the whole file is not good either: AIX grep has a line
  17367. + # limit of 2048, but all sed's we know have understand at least 4000.
  17368. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  17369. + dirpart=`AS_DIRNAME("$mf")`
  17370. + else
  17371. + continue
  17372. + fi
  17373. + # Extract the definition of DEPDIR, am__include, and am__quote
  17374. + # from the Makefile without running `make'.
  17375. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  17376. + test -z "$DEPDIR" && continue
  17377. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  17378. + test -z "am__include" && continue
  17379. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  17380. + # When using ansi2knr, U may be empty or an underscore; expand it
  17381. + U=`sed -n 's/^U = //p' < "$mf"`
  17382. + # Find all dependency output files, they are included files with
  17383. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  17384. + # simplest approach to changing $(DEPDIR) to its actual value in the
  17385. + # expansion.
  17386. + for file in `sed -n "
  17387. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  17388. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  17389. + # Make sure the directory exists.
  17390. + test -f "$dirpart/$file" && continue
  17391. + fdir=`AS_DIRNAME(["$file"])`
  17392. + AS_MKDIR_P([$dirpart/$fdir])
  17393. + # echo "creating $dirpart/$file"
  17394. + echo '# dummy' > "$dirpart/$file"
  17395. + done
  17396. + done
  17397. +}
  17398. +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  17399. +
  17400. +
  17401. +# AM_OUTPUT_DEPENDENCY_COMMANDS
  17402. +# -----------------------------
  17403. +# This macro should only be invoked once -- use via AC_REQUIRE.
  17404. +#
  17405. +# This code is only required when automatic dependency tracking
  17406. +# is enabled. FIXME. This creates each `.P' file that we will
  17407. +# need in order to bootstrap the dependency handling code.
  17408. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  17409. +[AC_CONFIG_COMMANDS([depfiles],
  17410. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  17411. + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  17412. +])
  17413. +
  17414. +# Do all the work for Automake. -*- Autoconf -*-
  17415. +
  17416. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  17417. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  17418. +#
  17419. +# This file is free software; the Free Software Foundation
  17420. +# gives unlimited permission to copy and/or distribute it,
  17421. +# with or without modifications, as long as this notice is preserved.
  17422. +
  17423. +# serial 16
  17424. +
  17425. +# This macro actually does too much. Some checks are only needed if
  17426. +# your package does certain things. But this isn't really a big deal.
  17427. +
  17428. +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  17429. +# AM_INIT_AUTOMAKE([OPTIONS])
  17430. +# -----------------------------------------------
  17431. +# The call with PACKAGE and VERSION arguments is the old style
  17432. +# call (pre autoconf-2.50), which is being phased out. PACKAGE
  17433. +# and VERSION should now be passed to AC_INIT and removed from
  17434. +# the call to AM_INIT_AUTOMAKE.
  17435. +# We support both call styles for the transition. After
  17436. +# the next Automake release, Autoconf can make the AC_INIT
  17437. +# arguments mandatory, and then we can depend on a new Autoconf
  17438. +# release and drop the old call support.
  17439. +AC_DEFUN([AM_INIT_AUTOMAKE],
  17440. +[AC_PREREQ([2.62])dnl
  17441. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  17442. +dnl the ones we care about.
  17443. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  17444. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  17445. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  17446. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  17447. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  17448. + # is not polluted with repeated "-I."
  17449. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  17450. + # test to see if srcdir already configured
  17451. + if test -f $srcdir/config.status; then
  17452. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  17453. + fi
  17454. +fi
  17455. +
  17456. +# test whether we have cygpath
  17457. +if test -z "$CYGPATH_W"; then
  17458. + if (cygpath --version) >/dev/null 2>/dev/null; then
  17459. + CYGPATH_W='cygpath -w'
  17460. + else
  17461. + CYGPATH_W=echo
  17462. + fi
  17463. +fi
  17464. +AC_SUBST([CYGPATH_W])
  17465. +
  17466. +# Define the identity of the package.
  17467. +dnl Distinguish between old-style and new-style calls.
  17468. +m4_ifval([$2],
  17469. +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  17470. + AC_SUBST([PACKAGE], [$1])dnl
  17471. + AC_SUBST([VERSION], [$2])],
  17472. +[_AM_SET_OPTIONS([$1])dnl
  17473. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  17474. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  17475. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  17476. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  17477. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  17478. +
  17479. +_AM_IF_OPTION([no-define],,
  17480. +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  17481. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  17482. +
  17483. +# Some tools Automake needs.
  17484. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  17485. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  17486. +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  17487. +AM_MISSING_PROG(AUTOCONF, autoconf)
  17488. +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  17489. +AM_MISSING_PROG(AUTOHEADER, autoheader)
  17490. +AM_MISSING_PROG(MAKEINFO, makeinfo)
  17491. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  17492. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  17493. +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  17494. +# We need awk for the "check" target. The system "awk" is bad on
  17495. +# some platforms.
  17496. +AC_REQUIRE([AC_PROG_AWK])dnl
  17497. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  17498. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  17499. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  17500. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  17501. + [_AM_PROG_TAR([v7])])])
  17502. +_AM_IF_OPTION([no-dependencies],,
  17503. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  17504. + [_AM_DEPENDENCIES(CC)],
  17505. + [define([AC_PROG_CC],
  17506. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  17507. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  17508. + [_AM_DEPENDENCIES(CXX)],
  17509. + [define([AC_PROG_CXX],
  17510. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  17511. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  17512. + [_AM_DEPENDENCIES(OBJC)],
  17513. + [define([AC_PROG_OBJC],
  17514. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  17515. +])
  17516. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  17517. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  17518. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  17519. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  17520. +AC_CONFIG_COMMANDS_PRE(dnl
  17521. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  17522. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  17523. +])
  17524. +
  17525. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  17526. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  17527. +dnl mangled by Autoconf and run in a shell conditional statement.
  17528. +m4_define([_AC_COMPILER_EXEEXT],
  17529. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  17530. +
  17531. +
  17532. +# When config.status generates a header, we must update the stamp-h file.
  17533. +# This file resides in the same directory as the config header
  17534. +# that is generated. The stamp files are numbered to have different names.
  17535. +
  17536. +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
  17537. +# loop where config.status creates the headers, so we can generate
  17538. +# our stamp files there.
  17539. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  17540. +[# Compute $1's index in $config_headers.
  17541. +_am_arg=$1
  17542. +_am_stamp_count=1
  17543. +for _am_header in $config_headers :; do
  17544. + case $_am_header in
  17545. + $_am_arg | $_am_arg:* )
  17546. + break ;;
  17547. + * )
  17548. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  17549. + esac
  17550. +done
  17551. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  17552. +
  17553. +# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
  17554. +# Inc.
  17555. +#
  17556. +# This file is free software; the Free Software Foundation
  17557. +# gives unlimited permission to copy and/or distribute it,
  17558. +# with or without modifications, as long as this notice is preserved.
  17559. +
  17560. +# serial 1
  17561. +
  17562. +# AM_PROG_INSTALL_SH
  17563. +# ------------------
  17564. +# Define $install_sh.
  17565. +AC_DEFUN([AM_PROG_INSTALL_SH],
  17566. +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  17567. +if test x"${install_sh}" != xset; then
  17568. + case $am_aux_dir in
  17569. + *\ * | *\ *)
  17570. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  17571. + *)
  17572. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  17573. + esac
  17574. +fi
  17575. +AC_SUBST(install_sh)])
  17576. +
  17577. +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  17578. +#
  17579. +# This file is free software; the Free Software Foundation
  17580. +# gives unlimited permission to copy and/or distribute it,
  17581. +# with or without modifications, as long as this notice is preserved.
  17582. +
  17583. +# serial 2
  17584. +
  17585. +# Check whether the underlying file-system supports filenames
  17586. +# with a leading dot. For instance MS-DOS doesn't.
  17587. +AC_DEFUN([AM_SET_LEADING_DOT],
  17588. +[rm -rf .tst 2>/dev/null
  17589. +mkdir .tst 2>/dev/null
  17590. +if test -d .tst; then
  17591. + am__leading_dot=.
  17592. +else
  17593. + am__leading_dot=_
  17594. +fi
  17595. +rmdir .tst 2>/dev/null
  17596. +AC_SUBST([am__leading_dot])])
  17597. +
  17598. +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
  17599. +# From Jim Meyering
  17600. +
  17601. +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
  17602. +# 2011 Free Software Foundation, Inc.
  17603. +#
  17604. +# This file is free software; the Free Software Foundation
  17605. +# gives unlimited permission to copy and/or distribute it,
  17606. +# with or without modifications, as long as this notice is preserved.
  17607. +
  17608. +# serial 5
  17609. +
  17610. +# AM_MAINTAINER_MODE([DEFAULT-MODE])
  17611. +# ----------------------------------
  17612. +# Control maintainer-specific portions of Makefiles.
  17613. +# Default is to disable them, unless `enable' is passed literally.
  17614. +# For symmetry, `disable' may be passed as well. Anyway, the user
  17615. +# can override the default with the --enable/--disable switch.
  17616. +AC_DEFUN([AM_MAINTAINER_MODE],
  17617. +[m4_case(m4_default([$1], [disable]),
  17618. + [enable], [m4_define([am_maintainer_other], [disable])],
  17619. + [disable], [m4_define([am_maintainer_other], [enable])],
  17620. + [m4_define([am_maintainer_other], [enable])
  17621. + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  17622. +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  17623. + dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  17624. + AC_ARG_ENABLE([maintainer-mode],
  17625. +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
  17626. + (and sometimes confusing) to the casual installer],
  17627. + [USE_MAINTAINER_MODE=$enableval],
  17628. + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  17629. + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  17630. + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  17631. + MAINT=$MAINTAINER_MODE_TRUE
  17632. + AC_SUBST([MAINT])dnl
  17633. +]
  17634. +)
  17635. +
  17636. +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
  17637. +
  17638. +# Check to see how 'make' treats includes. -*- Autoconf -*-
  17639. +
  17640. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  17641. +#
  17642. +# This file is free software; the Free Software Foundation
  17643. +# gives unlimited permission to copy and/or distribute it,
  17644. +# with or without modifications, as long as this notice is preserved.
  17645. +
  17646. +# serial 4
  17647. +
  17648. +# AM_MAKE_INCLUDE()
  17649. +# -----------------
  17650. +# Check to see how make treats includes.
  17651. +AC_DEFUN([AM_MAKE_INCLUDE],
  17652. +[am_make=${MAKE-make}
  17653. +cat > confinc << 'END'
  17654. +am__doit:
  17655. + @echo this is the am__doit target
  17656. +.PHONY: am__doit
  17657. +END
  17658. +# If we don't find an include directive, just comment out the code.
  17659. +AC_MSG_CHECKING([for style of include used by $am_make])
  17660. +am__include="#"
  17661. +am__quote=
  17662. +_am_result=none
  17663. +# First try GNU make style include.
  17664. +echo "include confinc" > confmf
  17665. +# Ignore all kinds of additional output from `make'.
  17666. +case `$am_make -s -f confmf 2> /dev/null` in #(
  17667. +*the\ am__doit\ target*)
  17668. + am__include=include
  17669. + am__quote=
  17670. + _am_result=GNU
  17671. + ;;
  17672. +esac
  17673. +# Now try BSD make style include.
  17674. +if test "$am__include" = "#"; then
  17675. + echo '.include "confinc"' > confmf
  17676. + case `$am_make -s -f confmf 2> /dev/null` in #(
  17677. + *the\ am__doit\ target*)
  17678. + am__include=.include
  17679. + am__quote="\""
  17680. + _am_result=BSD
  17681. + ;;
  17682. + esac
  17683. +fi
  17684. +AC_SUBST([am__include])
  17685. +AC_SUBST([am__quote])
  17686. +AC_MSG_RESULT([$_am_result])
  17687. +rm -f confinc confmf
  17688. +])
  17689. +
  17690. +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
  17691. +# Free Software Foundation, Inc.
  17692. +#
  17693. +# This file is free software; the Free Software Foundation
  17694. +# gives unlimited permission to copy and/or distribute it,
  17695. +# with or without modifications, as long as this notice is preserved.
  17696. +
  17697. +# serial 6
  17698. +
  17699. +# AM_PROG_CC_C_O
  17700. +# --------------
  17701. +# Like AC_PROG_CC_C_O, but changed for automake.
  17702. +AC_DEFUN([AM_PROG_CC_C_O],
  17703. +[AC_REQUIRE([AC_PROG_CC_C_O])dnl
  17704. +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  17705. +AC_REQUIRE_AUX_FILE([compile])dnl
  17706. +# FIXME: we rely on the cache variable name because
  17707. +# there is no other way.
  17708. +set dummy $CC
  17709. +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
  17710. +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  17711. +if test "$am_t" != yes; then
  17712. + # Losing compiler, so override with the script.
  17713. + # FIXME: It is wrong to rewrite CC.
  17714. + # But if we don't then we get into trouble of one sort or another.
  17715. + # A longer-term fix would be to have automake use am__CC in this case,
  17716. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  17717. + CC="$am_aux_dir/compile $CC"
  17718. +fi
  17719. +dnl Make sure AC_PROG_CC is never called again, or it will override our
  17720. +dnl setting of CC.
  17721. +m4_define([AC_PROG_CC],
  17722. + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
  17723. +])
  17724. +
  17725. +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  17726. +
  17727. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  17728. +# Free Software Foundation, Inc.
  17729. +#
  17730. +# This file is free software; the Free Software Foundation
  17731. +# gives unlimited permission to copy and/or distribute it,
  17732. +# with or without modifications, as long as this notice is preserved.
  17733. +
  17734. +# serial 6
  17735. +
  17736. +# AM_MISSING_PROG(NAME, PROGRAM)
  17737. +# ------------------------------
  17738. +AC_DEFUN([AM_MISSING_PROG],
  17739. +[AC_REQUIRE([AM_MISSING_HAS_RUN])
  17740. +$1=${$1-"${am_missing_run}$2"}
  17741. +AC_SUBST($1)])
  17742. +
  17743. +
  17744. +# AM_MISSING_HAS_RUN
  17745. +# ------------------
  17746. +# Define MISSING if not defined so far and test if it supports --run.
  17747. +# If it does, set am_missing_run to use it, otherwise, to nothing.
  17748. +AC_DEFUN([AM_MISSING_HAS_RUN],
  17749. +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  17750. +AC_REQUIRE_AUX_FILE([missing])dnl
  17751. +if test x"${MISSING+set}" != xset; then
  17752. + case $am_aux_dir in
  17753. + *\ * | *\ *)
  17754. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  17755. + *)
  17756. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  17757. + esac
  17758. +fi
  17759. +# Use eval to expand $SHELL
  17760. +if eval "$MISSING --run true"; then
  17761. + am_missing_run="$MISSING --run "
  17762. +else
  17763. + am_missing_run=
  17764. + AC_MSG_WARN([`missing' script is too old or missing])
  17765. +fi
  17766. +])
  17767. +
  17768. +# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
  17769. +# Inc.
  17770. +#
  17771. +# This file is free software; the Free Software Foundation
  17772. +# gives unlimited permission to copy and/or distribute it,
  17773. +# with or without modifications, as long as this notice is preserved.
  17774. +
  17775. +# serial 1
  17776. +
  17777. +# AM_PROG_MKDIR_P
  17778. +# ---------------
  17779. +# Check for `mkdir -p'.
  17780. +AC_DEFUN([AM_PROG_MKDIR_P],
  17781. +[AC_PREREQ([2.60])dnl
  17782. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  17783. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  17784. +dnl while keeping a definition of mkdir_p for backward compatibility.
  17785. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  17786. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  17787. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  17788. +dnl adjustment using top_builddir (which is defined more often than
  17789. +dnl MKDIR_P).
  17790. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  17791. +case $mkdir_p in
  17792. + [[\\/$]]* | ?:[[\\/]]*) ;;
  17793. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  17794. +esac
  17795. +])
  17796. +
  17797. +# Helper functions for option handling. -*- Autoconf -*-
  17798. +
  17799. +# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
  17800. +# Foundation, Inc.
  17801. +#
  17802. +# This file is free software; the Free Software Foundation
  17803. +# gives unlimited permission to copy and/or distribute it,
  17804. +# with or without modifications, as long as this notice is preserved.
  17805. +
  17806. +# serial 5
  17807. +
  17808. +# _AM_MANGLE_OPTION(NAME)
  17809. +# -----------------------
  17810. +AC_DEFUN([_AM_MANGLE_OPTION],
  17811. +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  17812. +
  17813. +# _AM_SET_OPTION(NAME)
  17814. +# --------------------
  17815. +# Set option NAME. Presently that only means defining a flag for this option.
  17816. +AC_DEFUN([_AM_SET_OPTION],
  17817. +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  17818. +
  17819. +# _AM_SET_OPTIONS(OPTIONS)
  17820. +# ------------------------
  17821. +# OPTIONS is a space-separated list of Automake options.
  17822. +AC_DEFUN([_AM_SET_OPTIONS],
  17823. +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  17824. +
  17825. +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  17826. +# -------------------------------------------
  17827. +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  17828. +AC_DEFUN([_AM_IF_OPTION],
  17829. +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  17830. +
  17831. +# Check to make sure that the build environment is sane. -*- Autoconf -*-
  17832. +
  17833. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  17834. +# Free Software Foundation, Inc.
  17835. +#
  17836. +# This file is free software; the Free Software Foundation
  17837. +# gives unlimited permission to copy and/or distribute it,
  17838. +# with or without modifications, as long as this notice is preserved.
  17839. +
  17840. +# serial 5
  17841. +
  17842. +# AM_SANITY_CHECK
  17843. +# ---------------
  17844. +AC_DEFUN([AM_SANITY_CHECK],
  17845. +[AC_MSG_CHECKING([whether build environment is sane])
  17846. +# Just in case
  17847. +sleep 1
  17848. +echo timestamp > conftest.file
  17849. +# Reject unsafe characters in $srcdir or the absolute working directory
  17850. +# name. Accept space and tab only in the latter.
  17851. +am_lf='
  17852. +'
  17853. +case `pwd` in
  17854. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  17855. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  17856. +esac
  17857. +case $srcdir in
  17858. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  17859. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  17860. +esac
  17861. +
  17862. +# Do `set' in a subshell so we don't clobber the current shell's
  17863. +# arguments. Must try -L first in case configure is actually a
  17864. +# symlink; some systems play weird games with the mod time of symlinks
  17865. +# (eg FreeBSD returns the mod time of the symlink's containing
  17866. +# directory).
  17867. +if (
  17868. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  17869. + if test "$[*]" = "X"; then
  17870. + # -L didn't work.
  17871. + set X `ls -t "$srcdir/configure" conftest.file`
  17872. + fi
  17873. + rm -f conftest.file
  17874. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  17875. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  17876. +
  17877. + # If neither matched, then we have a broken ls. This can happen
  17878. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  17879. + # broken ls alias from the environment. This has actually
  17880. + # happened. Such a system could not be considered "sane".
  17881. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  17882. +alias in your environment])
  17883. + fi
  17884. +
  17885. + test "$[2]" = conftest.file
  17886. + )
  17887. +then
  17888. + # Ok.
  17889. + :
  17890. +else
  17891. + AC_MSG_ERROR([newly created file is older than distributed files!
  17892. +Check your system clock])
  17893. +fi
  17894. +AC_MSG_RESULT(yes)])
  17895. +
  17896. +# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
  17897. +#
  17898. +# This file is free software; the Free Software Foundation
  17899. +# gives unlimited permission to copy and/or distribute it,
  17900. +# with or without modifications, as long as this notice is preserved.
  17901. +
  17902. +# serial 2
  17903. +
  17904. +# AM_SILENT_RULES([DEFAULT])
  17905. +# --------------------------
  17906. +# Enable less verbose build rules; with the default set to DEFAULT
  17907. +# (`yes' being less verbose, `no' or empty being verbose).
  17908. +AC_DEFUN([AM_SILENT_RULES],
  17909. +[AC_ARG_ENABLE([silent-rules],
  17910. +[ --enable-silent-rules less verbose build output (undo: `make V=1')
  17911. + --disable-silent-rules verbose build output (undo: `make V=0')])
  17912. +case $enable_silent_rules in
  17913. +yes) AM_DEFAULT_VERBOSITY=0;;
  17914. +no) AM_DEFAULT_VERBOSITY=1;;
  17915. +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  17916. +esac
  17917. +dnl
  17918. +dnl A few `make' implementations (e.g., NonStop OS and NextStep)
  17919. +dnl do not support nested variable expansions.
  17920. +dnl See automake bug#9928 and bug#10237.
  17921. +am_make=${MAKE-make}
  17922. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  17923. + [am_cv_make_support_nested_variables],
  17924. + [if AS_ECHO([['TRUE=$(BAR$(V))
  17925. +BAR0=false
  17926. +BAR1=true
  17927. +V=1
  17928. +am__doit:
  17929. + @$(TRUE)
  17930. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  17931. + am_cv_make_support_nested_variables=yes
  17932. +else
  17933. + am_cv_make_support_nested_variables=no
  17934. +fi])
  17935. +if test $am_cv_make_support_nested_variables = yes; then
  17936. + dnl Using `$V' instead of `$(V)' breaks IRIX make.
  17937. + AM_V='$(V)'
  17938. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  17939. +else
  17940. + AM_V=$AM_DEFAULT_VERBOSITY
  17941. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  17942. +fi
  17943. +AC_SUBST([AM_V])dnl
  17944. +AM_SUBST_NOTMAKE([AM_V])dnl
  17945. +AC_SUBST([AM_DEFAULT_V])dnl
  17946. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  17947. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  17948. +AM_BACKSLASH='\'
  17949. +AC_SUBST([AM_BACKSLASH])dnl
  17950. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  17951. +])
  17952. +
  17953. +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
  17954. +#
  17955. +# This file is free software; the Free Software Foundation
  17956. +# gives unlimited permission to copy and/or distribute it,
  17957. +# with or without modifications, as long as this notice is preserved.
  17958. +
  17959. +# serial 1
  17960. +
  17961. +# AM_PROG_INSTALL_STRIP
  17962. +# ---------------------
  17963. +# One issue with vendor `install' (even GNU) is that you can't
  17964. +# specify the program used to strip binaries. This is especially
  17965. +# annoying in cross-compiling environments, where the build's strip
  17966. +# is unlikely to handle the host's binaries.
  17967. +# Fortunately install-sh will honor a STRIPPROG variable, so we
  17968. +# always use install-sh in `make install-strip', and initialize
  17969. +# STRIPPROG with the value of the STRIP variable (set by the user).
  17970. +AC_DEFUN([AM_PROG_INSTALL_STRIP],
  17971. +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  17972. +# Installed binaries are usually stripped using `strip' when the user
  17973. +# run `make install-strip'. However `strip' might not be the right
  17974. +# tool to use in cross-compilation environments, therefore Automake
  17975. +# will honor the `STRIP' environment variable to overrule this program.
  17976. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  17977. +if test "$cross_compiling" != no; then
  17978. + AC_CHECK_TOOL([STRIP], [strip], :)
  17979. +fi
  17980. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  17981. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  17982. +
  17983. +# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
  17984. +#
  17985. +# This file is free software; the Free Software Foundation
  17986. +# gives unlimited permission to copy and/or distribute it,
  17987. +# with or without modifications, as long as this notice is preserved.
  17988. +
  17989. +# serial 3
  17990. +
  17991. +# _AM_SUBST_NOTMAKE(VARIABLE)
  17992. +# ---------------------------
  17993. +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  17994. +# This macro is traced by Automake.
  17995. +AC_DEFUN([_AM_SUBST_NOTMAKE])
  17996. +
  17997. +# AM_SUBST_NOTMAKE(VARIABLE)
  17998. +# --------------------------
  17999. +# Public sister of _AM_SUBST_NOTMAKE.
  18000. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  18001. +
  18002. +# Check how to create a tarball. -*- Autoconf -*-
  18003. +
  18004. +# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
  18005. +#
  18006. +# This file is free software; the Free Software Foundation
  18007. +# gives unlimited permission to copy and/or distribute it,
  18008. +# with or without modifications, as long as this notice is preserved.
  18009. +
  18010. +# serial 2
  18011. +
  18012. +# _AM_PROG_TAR(FORMAT)
  18013. +# --------------------
  18014. +# Check how to create a tarball in format FORMAT.
  18015. +# FORMAT should be one of `v7', `ustar', or `pax'.
  18016. +#
  18017. +# Substitute a variable $(am__tar) that is a command
  18018. +# writing to stdout a FORMAT-tarball containing the directory
  18019. +# $tardir.
  18020. +# tardir=directory && $(am__tar) > result.tar
  18021. +#
  18022. +# Substitute a variable $(am__untar) that extract such
  18023. +# a tarball read from stdin.
  18024. +# $(am__untar) < result.tar
  18025. +AC_DEFUN([_AM_PROG_TAR],
  18026. +[# Always define AMTAR for backward compatibility. Yes, it's still used
  18027. +# in the wild :-( We should find a proper way to deprecate it ...
  18028. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  18029. +m4_if([$1], [v7],
  18030. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  18031. + [m4_case([$1], [ustar],, [pax],,
  18032. + [m4_fatal([Unknown tar format])])
  18033. +AC_MSG_CHECKING([how to create a $1 tar archive])
  18034. +# Loop over all known methods to create a tar archive until one works.
  18035. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  18036. +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  18037. +# Do not fold the above two line into one, because Tru64 sh and
  18038. +# Solaris sh will not grok spaces in the rhs of `-'.
  18039. +for _am_tool in $_am_tools
  18040. +do
  18041. + case $_am_tool in
  18042. + gnutar)
  18043. + for _am_tar in tar gnutar gtar;
  18044. + do
  18045. + AM_RUN_LOG([$_am_tar --version]) && break
  18046. + done
  18047. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  18048. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  18049. + am__untar="$_am_tar -xf -"
  18050. + ;;
  18051. + plaintar)
  18052. + # Must skip GNU tar: if it does not support --format= it doesn't create
  18053. + # ustar tarball either.
  18054. + (tar --version) >/dev/null 2>&1 && continue
  18055. + am__tar='tar chf - "$$tardir"'
  18056. + am__tar_='tar chf - "$tardir"'
  18057. + am__untar='tar xf -'
  18058. + ;;
  18059. + pax)
  18060. + am__tar='pax -L -x $1 -w "$$tardir"'
  18061. + am__tar_='pax -L -x $1 -w "$tardir"'
  18062. + am__untar='pax -r'
  18063. + ;;
  18064. + cpio)
  18065. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  18066. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  18067. + am__untar='cpio -i -H $1 -d'
  18068. + ;;
  18069. + none)
  18070. + am__tar=false
  18071. + am__tar_=false
  18072. + am__untar=false
  18073. + ;;
  18074. + esac
  18075. +
  18076. + # If the value was cached, stop now. We just wanted to have am__tar
  18077. + # and am__untar set.
  18078. + test -n "${am_cv_prog_tar_$1}" && break
  18079. +
  18080. + # tar/untar a dummy directory, and stop if the command works
  18081. + rm -rf conftest.dir
  18082. + mkdir conftest.dir
  18083. + echo GrepMe > conftest.dir/file
  18084. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  18085. + rm -rf conftest.dir
  18086. + if test -s conftest.tar; then
  18087. + AM_RUN_LOG([$am__untar <conftest.tar])
  18088. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  18089. + fi
  18090. +done
  18091. +rm -rf conftest.dir
  18092. +
  18093. +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  18094. +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  18095. +AC_SUBST([am__tar])
  18096. +AC_SUBST([am__untar])
  18097. +]) # _AM_PROG_TAR
  18098. +
  18099. +m4_include([m4/00gnulib.m4])
  18100. +m4_include([m4/extensions.m4])
  18101. +m4_include([m4/gnulib-common.m4])
  18102. +m4_include([m4/gnulib-comp.m4])
  18103. +m4_include([m4/include_next.m4])
  18104. +m4_include([m4/longlong.m4])
  18105. +m4_include([m4/memchr.m4])
  18106. +m4_include([m4/memmem.m4])
  18107. +m4_include([m4/mmap-anon.m4])
  18108. +m4_include([m4/multiarch.m4])
  18109. +m4_include([m4/onceonly.m4])
  18110. +m4_include([m4/sigaction.m4])
  18111. +m4_include([m4/signal_h.m4])
  18112. +m4_include([m4/signalblocking.m4])
  18113. +m4_include([m4/stddef_h.m4])
  18114. +m4_include([m4/stdint.m4])
  18115. +m4_include([m4/string_h.m4])
  18116. +m4_include([m4/warn-on-use.m4])
  18117. +m4_include([m4/wchar_t.m4])
  18118. --- /dev/null
  18119. +++ cgminer-2.4.1/compile
  18120. @@ -0,0 +1,310 @@
  18121. +#! /bin/sh
  18122. +# Wrapper for compilers which do not understand '-c -o'.
  18123. +
  18124. +scriptversion=2012-01-04.17; # UTC
  18125. +
  18126. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
  18127. +# Software Foundation, Inc.
  18128. +# Written by Tom Tromey <tromey@cygnus.com>.
  18129. +#
  18130. +# This program is free software; you can redistribute it and/or modify
  18131. +# it under the terms of the GNU General Public License as published by
  18132. +# the Free Software Foundation; either version 2, or (at your option)
  18133. +# any later version.
  18134. +#
  18135. +# This program is distributed in the hope that it will be useful,
  18136. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  18137. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18138. +# GNU General Public License for more details.
  18139. +#
  18140. +# You should have received a copy of the GNU General Public License
  18141. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  18142. +
  18143. +# As a special exception to the GNU General Public License, if you
  18144. +# distribute this file as part of a program that contains a
  18145. +# configuration script generated by Autoconf, you may include it under
  18146. +# the same distribution terms that you use for the rest of that program.
  18147. +
  18148. +# This file is maintained in Automake, please report
  18149. +# bugs to <bug-automake@gnu.org> or send patches to
  18150. +# <automake-patches@gnu.org>.
  18151. +
  18152. +nl='
  18153. +'
  18154. +
  18155. +# We need space, tab and new line, in precisely that order. Quoting is
  18156. +# there to prevent tools from complaining about whitespace usage.
  18157. +IFS=" "" $nl"
  18158. +
  18159. +file_conv=
  18160. +
  18161. +# func_file_conv build_file lazy
  18162. +# Convert a $build file to $host form and store it in $file
  18163. +# Currently only supports Windows hosts. If the determined conversion
  18164. +# type is listed in (the comma separated) LAZY, no conversion will
  18165. +# take place.
  18166. +func_file_conv ()
  18167. +{
  18168. + file=$1
  18169. + case $file in
  18170. + / | /[!/]*) # absolute file, and not a UNC file
  18171. + if test -z "$file_conv"; then
  18172. + # lazily determine how to convert abs files
  18173. + case `uname -s` in
  18174. + MINGW*)
  18175. + file_conv=mingw
  18176. + ;;
  18177. + CYGWIN*)
  18178. + file_conv=cygwin
  18179. + ;;
  18180. + *)
  18181. + file_conv=wine
  18182. + ;;
  18183. + esac
  18184. + fi
  18185. + case $file_conv/,$2, in
  18186. + *,$file_conv,*)
  18187. + ;;
  18188. + mingw/*)
  18189. + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
  18190. + ;;
  18191. + cygwin/*)
  18192. + file=`cygpath -m "$file" || echo "$file"`
  18193. + ;;
  18194. + wine/*)
  18195. + file=`winepath -w "$file" || echo "$file"`
  18196. + ;;
  18197. + esac
  18198. + ;;
  18199. + esac
  18200. +}
  18201. +
  18202. +# func_cl_wrapper cl arg...
  18203. +# Adjust compile command to suit cl
  18204. +func_cl_wrapper ()
  18205. +{
  18206. + # Assume a capable shell
  18207. + lib_path=
  18208. + shared=:
  18209. + linker_opts=
  18210. + for arg
  18211. + do
  18212. + if test -n "$eat"; then
  18213. + eat=
  18214. + else
  18215. + case $1 in
  18216. + -o)
  18217. + # configure might choose to run compile as 'compile cc -o foo foo.c'.
  18218. + eat=1
  18219. + case $2 in
  18220. + *.o | *.[oO][bB][jJ])
  18221. + func_file_conv "$2"
  18222. + set x "$@" -Fo"$file"
  18223. + shift
  18224. + ;;
  18225. + *)
  18226. + func_file_conv "$2"
  18227. + set x "$@" -Fe"$file"
  18228. + shift
  18229. + ;;
  18230. + esac
  18231. + ;;
  18232. + -I*)
  18233. + func_file_conv "${1#-I}" mingw
  18234. + set x "$@" -I"$file"
  18235. + shift
  18236. + ;;
  18237. + -l*)
  18238. + lib=${1#-l}
  18239. + found=no
  18240. + save_IFS=$IFS
  18241. + IFS=';'
  18242. + for dir in $lib_path $LIB
  18243. + do
  18244. + IFS=$save_IFS
  18245. + if $shared && test -f "$dir/$lib.dll.lib"; then
  18246. + found=yes
  18247. + set x "$@" "$dir/$lib.dll.lib"
  18248. + break
  18249. + fi
  18250. + if test -f "$dir/$lib.lib"; then
  18251. + found=yes
  18252. + set x "$@" "$dir/$lib.lib"
  18253. + break
  18254. + fi
  18255. + done
  18256. + IFS=$save_IFS
  18257. +
  18258. + test "$found" != yes && set x "$@" "$lib.lib"
  18259. + shift
  18260. + ;;
  18261. + -L*)
  18262. + func_file_conv "${1#-L}"
  18263. + if test -z "$lib_path"; then
  18264. + lib_path=$file
  18265. + else
  18266. + lib_path="$lib_path;$file"
  18267. + fi
  18268. + linker_opts="$linker_opts -LIBPATH:$file"
  18269. + ;;
  18270. + -static)
  18271. + shared=false
  18272. + ;;
  18273. + -Wl,*)
  18274. + arg=${1#-Wl,}
  18275. + save_ifs="$IFS"; IFS=','
  18276. + for flag in $arg; do
  18277. + IFS="$save_ifs"
  18278. + linker_opts="$linker_opts $flag"
  18279. + done
  18280. + IFS="$save_ifs"
  18281. + ;;
  18282. + -Xlinker)
  18283. + eat=1
  18284. + linker_opts="$linker_opts $2"
  18285. + ;;
  18286. + -*)
  18287. + set x "$@" "$1"
  18288. + shift
  18289. + ;;
  18290. + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
  18291. + func_file_conv "$1"
  18292. + set x "$@" -Tp"$file"
  18293. + shift
  18294. + ;;
  18295. + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
  18296. + func_file_conv "$1" mingw
  18297. + set x "$@" "$file"
  18298. + shift
  18299. + ;;
  18300. + *)
  18301. + set x "$@" "$1"
  18302. + shift
  18303. + ;;
  18304. + esac
  18305. + fi
  18306. + shift
  18307. + done
  18308. + if test -n "$linker_opts"; then
  18309. + linker_opts="-link$linker_opts"
  18310. + fi
  18311. + exec "$@" $linker_opts
  18312. + exit 1
  18313. +}
  18314. +
  18315. +eat=
  18316. +
  18317. +case $1 in
  18318. + '')
  18319. + echo "$0: No command. Try '$0 --help' for more information." 1>&2
  18320. + exit 1;
  18321. + ;;
  18322. + -h | --h*)
  18323. + cat <<\EOF
  18324. +Usage: compile [--help] [--version] PROGRAM [ARGS]
  18325. +
  18326. +Wrapper for compilers which do not understand '-c -o'.
  18327. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
  18328. +arguments, and rename the output as expected.
  18329. +
  18330. +If you are trying to build a whole package this is not the
  18331. +right script to run: please start by reading the file 'INSTALL'.
  18332. +
  18333. +Report bugs to <bug-automake@gnu.org>.
  18334. +EOF
  18335. + exit $?
  18336. + ;;
  18337. + -v | --v*)
  18338. + echo "compile $scriptversion"
  18339. + exit $?
  18340. + ;;
  18341. + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
  18342. + func_cl_wrapper "$@" # Doesn't return...
  18343. + ;;
  18344. +esac
  18345. +
  18346. +ofile=
  18347. +cfile=
  18348. +
  18349. +for arg
  18350. +do
  18351. + if test -n "$eat"; then
  18352. + eat=
  18353. + else
  18354. + case $1 in
  18355. + -o)
  18356. + # configure might choose to run compile as 'compile cc -o foo foo.c'.
  18357. + # So we strip '-o arg' only if arg is an object.
  18358. + eat=1
  18359. + case $2 in
  18360. + *.o | *.obj)
  18361. + ofile=$2
  18362. + ;;
  18363. + *)
  18364. + set x "$@" -o "$2"
  18365. + shift
  18366. + ;;
  18367. + esac
  18368. + ;;
  18369. + *.c)
  18370. + cfile=$1
  18371. + set x "$@" "$1"
  18372. + shift
  18373. + ;;
  18374. + *)
  18375. + set x "$@" "$1"
  18376. + shift
  18377. + ;;
  18378. + esac
  18379. + fi
  18380. + shift
  18381. +done
  18382. +
  18383. +if test -z "$ofile" || test -z "$cfile"; then
  18384. + # If no '-o' option was seen then we might have been invoked from a
  18385. + # pattern rule where we don't need one. That is ok -- this is a
  18386. + # normal compilation that the losing compiler can handle. If no
  18387. + # '.c' file was seen then we are probably linking. That is also
  18388. + # ok.
  18389. + exec "$@"
  18390. +fi
  18391. +
  18392. +# Name of file we expect compiler to create.
  18393. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
  18394. +
  18395. +# Create the lock directory.
  18396. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name
  18397. +# that we are using for the .o file. Also, base the name on the expected
  18398. +# object file name, since that is what matters with a parallel build.
  18399. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
  18400. +while true; do
  18401. + if mkdir "$lockdir" >/dev/null 2>&1; then
  18402. + break
  18403. + fi
  18404. + sleep 1
  18405. +done
  18406. +# FIXME: race condition here if user kills between mkdir and trap.
  18407. +trap "rmdir '$lockdir'; exit 1" 1 2 15
  18408. +
  18409. +# Run the compile.
  18410. +"$@"
  18411. +ret=$?
  18412. +
  18413. +if test -f "$cofile"; then
  18414. + test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
  18415. +elif test -f "${cofile}bj"; then
  18416. + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
  18417. +fi
  18418. +
  18419. +rmdir "$lockdir"
  18420. +exit $ret
  18421. +
  18422. +# Local Variables:
  18423. +# mode: shell-script
  18424. +# sh-indentation: 2
  18425. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  18426. +# time-stamp-start: "scriptversion="
  18427. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  18428. +# time-stamp-time-zone: "UTC"
  18429. +# time-stamp-end: "; # UTC"
  18430. +# End:
  18431. --- cgminer-2.4.1.orig/miner.h
  18432. +++ cgminer-2.4.1/miner.h
  18433. @@ -57,6 +57,33 @@ void *alloca (size_t);
  18434. #endif
  18435. #endif
  18436. +#ifdef WIN32
  18437. + #ifndef timersub
  18438. + #define timersub(a, b, result) \
  18439. + do { \
  18440. + (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
  18441. + (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
  18442. + if ((result)->tv_usec < 0) { \
  18443. + --(result)->tv_sec; \
  18444. + (result)->tv_usec += 1000000; \
  18445. + } \
  18446. + } while (0)
  18447. + #endif
  18448. + #ifndef timeradd
  18449. + # define timeradd(a, b, result) \
  18450. + do { \
  18451. + (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
  18452. + (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
  18453. + if ((result)->tv_usec >= 1000000) \
  18454. + { \
  18455. + ++(result)->tv_sec; \
  18456. + (result)->tv_usec -= 1000000; \
  18457. + } \
  18458. + } while (0)
  18459. + #endif
  18460. +#endif
  18461. +
  18462. +
  18463. #ifdef HAVE_ADL
  18464. #include "ADL_SDK/adl_sdk.h"
  18465. #endif
  18466. @@ -122,6 +149,8 @@ void *alloca (size_t);
  18467. #endif
  18468. #define __maybe_unused __attribute__((unused))
  18469. +#define uninitialised_var(x) x = x
  18470. +
  18471. #if defined(__i386__)
  18472. #define WANT_CRYPTOPP_ASM32
  18473. #endif
  18474. @@ -205,6 +234,7 @@ struct device_api {
  18475. void (*reinit_device)(struct cgpu_info*);
  18476. void (*get_statline_before)(char*, struct cgpu_info*);
  18477. void (*get_statline)(char*, struct cgpu_info*);
  18478. + void (*get_api_stats)(char*, struct cgpu_info*, bool);
  18479. // Thread-specific functions
  18480. bool (*thread_prepare)(struct thr_info*);
  18481. @@ -252,6 +282,15 @@ enum dev_reason {
  18482. #define REASON_DEV_THERMAL_CUTOFF_STR "Device reached thermal cutoff"
  18483. #define REASON_UNKNOWN_STR "Unknown reason - code bug"
  18484. +#define MIN_SEC_UNSET 99999999
  18485. +
  18486. +struct cgminer_stats {
  18487. + uint32_t getwork_calls;
  18488. + struct timeval getwork_wait;
  18489. + struct timeval getwork_wait_max;
  18490. + struct timeval getwork_wait_min;
  18491. +};
  18492. +
  18493. struct cgpu_info {
  18494. int cgminer_id;
  18495. struct device_api *api;
  18496. @@ -324,6 +363,8 @@ struct cgpu_info {
  18497. int dev_nostart_count;
  18498. int dev_over_heat_count; // It's a warning but worth knowing
  18499. int dev_thermal_cutoff_count;
  18500. +
  18501. + struct cgminer_stats cgminer_stats;
  18502. };
  18503. extern bool add_cgpu(struct cgpu_info*);
  18504. @@ -604,17 +645,24 @@ struct curl_ent {
  18505. struct timeval tv;
  18506. };
  18507. +enum pool_enable {
  18508. + POOL_ENABLED,
  18509. + POOL_DISABLED,
  18510. + POOL_REJECTING,
  18511. +};
  18512. +
  18513. struct pool {
  18514. int pool_no;
  18515. int prio;
  18516. int accepted, rejected;
  18517. int seq_rejects;
  18518. + int solved;
  18519. bool submit_fail;
  18520. bool idle;
  18521. bool lagging;
  18522. bool probed;
  18523. - bool enabled;
  18524. + enum pool_enable enabled;
  18525. bool submit_old;
  18526. bool removed;
  18527. bool lp_started;
  18528. @@ -645,6 +693,10 @@ struct pool {
  18529. int curls;
  18530. pthread_cond_t cr_cond;
  18531. struct list_head curlring;
  18532. +
  18533. + time_t last_share_time;
  18534. +
  18535. + struct cgminer_stats cgminer_stats;
  18536. };
  18537. struct work {
  18538. --- cgminer-2.4.1.orig/libztex.h
  18539. +++ cgminer-2.4.1/libztex.h
  18540. @@ -44,6 +44,9 @@ struct libztex_fpgastate {
  18541. };
  18542. struct libztex_device {
  18543. + pthread_mutex_t mutex;
  18544. + struct libztex_device *root;
  18545. + int fpgaNum;
  18546. bool valid;
  18547. struct libusb_device_descriptor descriptor;
  18548. libusb_device_handle *hndl;
  18549. @@ -75,7 +78,7 @@ struct libztex_device {
  18550. int selectedFpga;
  18551. bool parallelConfigSupport;
  18552. - char repr[64];
  18553. + char repr[20];
  18554. };
  18555. struct libztex_dev_list {
  18556. @@ -98,6 +101,7 @@ extern int libztex_setFreq (struct libzt
  18557. extern int libztex_sendHashData (struct libztex_device *ztex, unsigned char *sendbuf);
  18558. extern int libztex_readHashData (struct libztex_device *ztex, struct libztex_hash_data nonces[]);
  18559. extern int libztex_resetFpga (struct libztex_device *ztex);
  18560. -extern int libztex_selectFpga(struct libztex_device *ztex, int number);
  18561. +extern int libztex_selectFpga(struct libztex_device *ztex);
  18562. +extern int libztex_numberOfFpgas(struct libztex_device *ztex);
  18563. #endif /* __LIBZTEX_H__ */
  18564. --- /dev/null
  18565. +++ cgminer-2.4.1/config.sub
  18566. @@ -0,0 +1,1773 @@
  18567. +#! /bin/sh
  18568. +# Configuration validation subroutine script.
  18569. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  18570. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
  18571. +# 2011, 2012 Free Software Foundation, Inc.
  18572. +
  18573. +timestamp='2012-02-10'
  18574. +
  18575. +# This file is (in principle) common to ALL GNU software.
  18576. +# The presence of a machine in this file suggests that SOME GNU software
  18577. +# can handle that machine. It does not imply ALL GNU software can.
  18578. +#
  18579. +# This file is free software; you can redistribute it and/or modify
  18580. +# it under the terms of the GNU General Public License as published by
  18581. +# the Free Software Foundation; either version 2 of the License, or
  18582. +# (at your option) any later version.
  18583. +#
  18584. +# This program is distributed in the hope that it will be useful,
  18585. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  18586. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18587. +# GNU General Public License for more details.
  18588. +#
  18589. +# You should have received a copy of the GNU General Public License
  18590. +# along with this program; if not, see <http://www.gnu.org/licenses/>.
  18591. +#
  18592. +# As a special exception to the GNU General Public License, if you
  18593. +# distribute this file as part of a program that contains a
  18594. +# configuration script generated by Autoconf, you may include it under
  18595. +# the same distribution terms that you use for the rest of that program.
  18596. +
  18597. +
  18598. +# Please send patches to <config-patches@gnu.org>. Submit a context
  18599. +# diff and a properly formatted GNU ChangeLog entry.
  18600. +#
  18601. +# Configuration subroutine to validate and canonicalize a configuration type.
  18602. +# Supply the specified configuration type as an argument.
  18603. +# If it is invalid, we print an error message on stderr and exit with code 1.
  18604. +# Otherwise, we print the canonical config type on stdout and succeed.
  18605. +
  18606. +# You can get the latest version of this script from:
  18607. +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  18608. +
  18609. +# This file is supposed to be the same for all GNU packages
  18610. +# and recognize all the CPU types, system types and aliases
  18611. +# that are meaningful with *any* GNU software.
  18612. +# Each package is responsible for reporting which valid configurations
  18613. +# it does not support. The user should be able to distinguish
  18614. +# a failure to support a valid configuration from a meaningless
  18615. +# configuration.
  18616. +
  18617. +# The goal of this file is to map all the various variations of a given
  18618. +# machine specification into a single specification in the form:
  18619. +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
  18620. +# or in some cases, the newer four-part form:
  18621. +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
  18622. +# It is wrong to echo any other type of specification.
  18623. +
  18624. +me=`echo "$0" | sed -e 's,.*/,,'`
  18625. +
  18626. +usage="\
  18627. +Usage: $0 [OPTION] CPU-MFR-OPSYS
  18628. + $0 [OPTION] ALIAS
  18629. +
  18630. +Canonicalize a configuration name.
  18631. +
  18632. +Operation modes:
  18633. + -h, --help print this help, then exit
  18634. + -t, --time-stamp print date of last modification, then exit
  18635. + -v, --version print version number, then exit
  18636. +
  18637. +Report bugs and patches to <config-patches@gnu.org>."
  18638. +
  18639. +version="\
  18640. +GNU config.sub ($timestamp)
  18641. +
  18642. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
  18643. +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
  18644. +Free Software Foundation, Inc.
  18645. +
  18646. +This is free software; see the source for copying conditions. There is NO
  18647. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  18648. +
  18649. +help="
  18650. +Try \`$me --help' for more information."
  18651. +
  18652. +# Parse command line
  18653. +while test $# -gt 0 ; do
  18654. + case $1 in
  18655. + --time-stamp | --time* | -t )
  18656. + echo "$timestamp" ; exit ;;
  18657. + --version | -v )
  18658. + echo "$version" ; exit ;;
  18659. + --help | --h* | -h )
  18660. + echo "$usage"; exit ;;
  18661. + -- ) # Stop option processing
  18662. + shift; break ;;
  18663. + - ) # Use stdin as input.
  18664. + break ;;
  18665. + -* )
  18666. + echo "$me: invalid option $1$help"
  18667. + exit 1 ;;
  18668. +
  18669. + *local*)
  18670. + # First pass through any local machine types.
  18671. + echo $1
  18672. + exit ;;
  18673. +
  18674. + * )
  18675. + break ;;
  18676. + esac
  18677. +done
  18678. +
  18679. +case $# in
  18680. + 0) echo "$me: missing argument$help" >&2
  18681. + exit 1;;
  18682. + 1) ;;
  18683. + *) echo "$me: too many arguments$help" >&2
  18684. + exit 1;;
  18685. +esac
  18686. +
  18687. +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
  18688. +# Here we must recognize all the valid KERNEL-OS combinations.
  18689. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  18690. +case $maybe_os in
  18691. + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
  18692. + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  18693. + knetbsd*-gnu* | netbsd*-gnu* | \
  18694. + kopensolaris*-gnu* | \
  18695. + storm-chaos* | os2-emx* | rtmk-nova*)
  18696. + os=-$maybe_os
  18697. + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  18698. + ;;
  18699. + android-linux)
  18700. + os=-linux-android
  18701. + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
  18702. + ;;
  18703. + *)
  18704. + basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  18705. + if [ $basic_machine != $1 ]
  18706. + then os=`echo $1 | sed 's/.*-/-/'`
  18707. + else os=; fi
  18708. + ;;
  18709. +esac
  18710. +
  18711. +### Let's recognize common machines as not being operating systems so
  18712. +### that things like config.sub decstation-3100 work. We also
  18713. +### recognize some manufacturers as not being operating systems, so we
  18714. +### can provide default operating systems below.
  18715. +case $os in
  18716. + -sun*os*)
  18717. + # Prevent following clause from handling this invalid input.
  18718. + ;;
  18719. + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
  18720. + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
  18721. + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
  18722. + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  18723. + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  18724. + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  18725. + -apple | -axis | -knuth | -cray | -microblaze)
  18726. + os=
  18727. + basic_machine=$1
  18728. + ;;
  18729. + -bluegene*)
  18730. + os=-cnk
  18731. + ;;
  18732. + -sim | -cisco | -oki | -wec | -winbond)
  18733. + os=
  18734. + basic_machine=$1
  18735. + ;;
  18736. + -scout)
  18737. + ;;
  18738. + -wrs)
  18739. + os=-vxworks
  18740. + basic_machine=$1
  18741. + ;;
  18742. + -chorusos*)
  18743. + os=-chorusos
  18744. + basic_machine=$1
  18745. + ;;
  18746. + -chorusrdb)
  18747. + os=-chorusrdb
  18748. + basic_machine=$1
  18749. + ;;
  18750. + -hiux*)
  18751. + os=-hiuxwe2
  18752. + ;;
  18753. + -sco6)
  18754. + os=-sco5v6
  18755. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18756. + ;;
  18757. + -sco5)
  18758. + os=-sco3.2v5
  18759. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18760. + ;;
  18761. + -sco4)
  18762. + os=-sco3.2v4
  18763. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18764. + ;;
  18765. + -sco3.2.[4-9]*)
  18766. + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
  18767. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18768. + ;;
  18769. + -sco3.2v[4-9]*)
  18770. + # Don't forget version if it is 3.2v4 or newer.
  18771. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18772. + ;;
  18773. + -sco5v6*)
  18774. + # Don't forget version if it is 3.2v4 or newer.
  18775. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18776. + ;;
  18777. + -sco*)
  18778. + os=-sco3.2v2
  18779. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18780. + ;;
  18781. + -udk*)
  18782. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18783. + ;;
  18784. + -isc)
  18785. + os=-isc2.2
  18786. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18787. + ;;
  18788. + -clix*)
  18789. + basic_machine=clipper-intergraph
  18790. + ;;
  18791. + -isc*)
  18792. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  18793. + ;;
  18794. + -lynx*)
  18795. + os=-lynxos
  18796. + ;;
  18797. + -ptx*)
  18798. + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
  18799. + ;;
  18800. + -windowsnt*)
  18801. + os=`echo $os | sed -e 's/windowsnt/winnt/'`
  18802. + ;;
  18803. + -psos*)
  18804. + os=-psos
  18805. + ;;
  18806. + -mint | -mint[0-9]*)
  18807. + basic_machine=m68k-atari
  18808. + os=-mint
  18809. + ;;
  18810. +esac
  18811. +
  18812. +# Decode aliases for certain CPU-COMPANY combinations.
  18813. +case $basic_machine in
  18814. + # Recognize the basic CPU types without company name.
  18815. + # Some are omitted here because they have special meanings below.
  18816. + 1750a | 580 \
  18817. + | a29k \
  18818. + | aarch64 | aarch64_be \
  18819. + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  18820. + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  18821. + | am33_2.0 \
  18822. + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  18823. + | be32 | be64 \
  18824. + | bfin \
  18825. + | c4x | clipper \
  18826. + | d10v | d30v | dlx | dsp16xx \
  18827. + | epiphany \
  18828. + | fido | fr30 | frv \
  18829. + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  18830. + | hexagon \
  18831. + | i370 | i860 | i960 | ia64 \
  18832. + | ip2k | iq2000 \
  18833. + | le32 | le64 \
  18834. + | lm32 \
  18835. + | m32c | m32r | m32rle | m68000 | m68k | m88k \
  18836. + | maxq | mb | microblaze | mcore | mep | metag \
  18837. + | mips | mipsbe | mipseb | mipsel | mipsle \
  18838. + | mips16 \
  18839. + | mips64 | mips64el \
  18840. + | mips64octeon | mips64octeonel \
  18841. + | mips64orion | mips64orionel \
  18842. + | mips64r5900 | mips64r5900el \
  18843. + | mips64vr | mips64vrel \
  18844. + | mips64vr4100 | mips64vr4100el \
  18845. + | mips64vr4300 | mips64vr4300el \
  18846. + | mips64vr5000 | mips64vr5000el \
  18847. + | mips64vr5900 | mips64vr5900el \
  18848. + | mipsisa32 | mipsisa32el \
  18849. + | mipsisa32r2 | mipsisa32r2el \
  18850. + | mipsisa64 | mipsisa64el \
  18851. + | mipsisa64r2 | mipsisa64r2el \
  18852. + | mipsisa64sb1 | mipsisa64sb1el \
  18853. + | mipsisa64sr71k | mipsisa64sr71kel \
  18854. + | mipstx39 | mipstx39el \
  18855. + | mn10200 | mn10300 \
  18856. + | moxie \
  18857. + | mt \
  18858. + | msp430 \
  18859. + | nds32 | nds32le | nds32be \
  18860. + | nios | nios2 \
  18861. + | ns16k | ns32k \
  18862. + | open8 \
  18863. + | or32 \
  18864. + | pdp10 | pdp11 | pj | pjl \
  18865. + | powerpc | powerpc64 | powerpc64le | powerpcle \
  18866. + | pyramid \
  18867. + | rl78 | rx \
  18868. + | score \
  18869. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  18870. + | sh64 | sh64le \
  18871. + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  18872. + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  18873. + | spu \
  18874. + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
  18875. + | ubicom32 \
  18876. + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
  18877. + | we32k \
  18878. + | x86 | xc16x | xstormy16 | xtensa \
  18879. + | z8k | z80)
  18880. + basic_machine=$basic_machine-unknown
  18881. + ;;
  18882. + c54x)
  18883. + basic_machine=tic54x-unknown
  18884. + ;;
  18885. + c55x)
  18886. + basic_machine=tic55x-unknown
  18887. + ;;
  18888. + c6x)
  18889. + basic_machine=tic6x-unknown
  18890. + ;;
  18891. + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
  18892. + basic_machine=$basic_machine-unknown
  18893. + os=-none
  18894. + ;;
  18895. + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
  18896. + ;;
  18897. + ms1)
  18898. + basic_machine=mt-unknown
  18899. + ;;
  18900. +
  18901. + strongarm | thumb | xscale)
  18902. + basic_machine=arm-unknown
  18903. + ;;
  18904. + xgate)
  18905. + basic_machine=$basic_machine-unknown
  18906. + os=-none
  18907. + ;;
  18908. + xscaleeb)
  18909. + basic_machine=armeb-unknown
  18910. + ;;
  18911. +
  18912. + xscaleel)
  18913. + basic_machine=armel-unknown
  18914. + ;;
  18915. +
  18916. + # We use `pc' rather than `unknown'
  18917. + # because (1) that's what they normally are, and
  18918. + # (2) the word "unknown" tends to confuse beginning users.
  18919. + i*86 | x86_64)
  18920. + basic_machine=$basic_machine-pc
  18921. + ;;
  18922. + # Object if more than one company name word.
  18923. + *-*-*)
  18924. + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  18925. + exit 1
  18926. + ;;
  18927. + # Recognize the basic CPU types with company name.
  18928. + 580-* \
  18929. + | a29k-* \
  18930. + | aarch64-* | aarch64_be-* \
  18931. + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  18932. + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  18933. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  18934. + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  18935. + | avr-* | avr32-* \
  18936. + | be32-* | be64-* \
  18937. + | bfin-* | bs2000-* \
  18938. + | c[123]* | c30-* | [cjt]90-* | c4x-* \
  18939. + | clipper-* | craynv-* | cydra-* \
  18940. + | d10v-* | d30v-* | dlx-* \
  18941. + | elxsi-* \
  18942. + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  18943. + | h8300-* | h8500-* \
  18944. + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  18945. + | hexagon-* \
  18946. + | i*86-* | i860-* | i960-* | ia64-* \
  18947. + | ip2k-* | iq2000-* \
  18948. + | le32-* | le64-* \
  18949. + | lm32-* \
  18950. + | m32c-* | m32r-* | m32rle-* \
  18951. + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  18952. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
  18953. + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  18954. + | mips16-* \
  18955. + | mips64-* | mips64el-* \
  18956. + | mips64octeon-* | mips64octeonel-* \
  18957. + | mips64orion-* | mips64orionel-* \
  18958. + | mips64r5900-* | mips64r5900el-* \
  18959. + | mips64vr-* | mips64vrel-* \
  18960. + | mips64vr4100-* | mips64vr4100el-* \
  18961. + | mips64vr4300-* | mips64vr4300el-* \
  18962. + | mips64vr5000-* | mips64vr5000el-* \
  18963. + | mips64vr5900-* | mips64vr5900el-* \
  18964. + | mipsisa32-* | mipsisa32el-* \
  18965. + | mipsisa32r2-* | mipsisa32r2el-* \
  18966. + | mipsisa64-* | mipsisa64el-* \
  18967. + | mipsisa64r2-* | mipsisa64r2el-* \
  18968. + | mipsisa64sb1-* | mipsisa64sb1el-* \
  18969. + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  18970. + | mipstx39-* | mipstx39el-* \
  18971. + | mmix-* \
  18972. + | mt-* \
  18973. + | msp430-* \
  18974. + | nds32-* | nds32le-* | nds32be-* \
  18975. + | nios-* | nios2-* \
  18976. + | none-* | np1-* | ns16k-* | ns32k-* \
  18977. + | open8-* \
  18978. + | orion-* \
  18979. + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  18980. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  18981. + | pyramid-* \
  18982. + | rl78-* | romp-* | rs6000-* | rx-* \
  18983. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  18984. + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  18985. + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  18986. + | sparclite-* \
  18987. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  18988. + | tahoe-* \
  18989. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  18990. + | tile*-* \
  18991. + | tron-* \
  18992. + | ubicom32-* \
  18993. + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  18994. + | vax-* \
  18995. + | we32k-* \
  18996. + | x86-* | x86_64-* | xc16x-* | xps100-* \
  18997. + | xstormy16-* | xtensa*-* \
  18998. + | ymp-* \
  18999. + | z8k-* | z80-*)
  19000. + ;;
  19001. + # Recognize the basic CPU types without company name, with glob match.
  19002. + xtensa*)
  19003. + basic_machine=$basic_machine-unknown
  19004. + ;;
  19005. + # Recognize the various machine names and aliases which stand
  19006. + # for a CPU type and a company and sometimes even an OS.
  19007. + 386bsd)
  19008. + basic_machine=i386-unknown
  19009. + os=-bsd
  19010. + ;;
  19011. + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
  19012. + basic_machine=m68000-att
  19013. + ;;
  19014. + 3b*)
  19015. + basic_machine=we32k-att
  19016. + ;;
  19017. + a29khif)
  19018. + basic_machine=a29k-amd
  19019. + os=-udi
  19020. + ;;
  19021. + abacus)
  19022. + basic_machine=abacus-unknown
  19023. + ;;
  19024. + adobe68k)
  19025. + basic_machine=m68010-adobe
  19026. + os=-scout
  19027. + ;;
  19028. + alliant | fx80)
  19029. + basic_machine=fx80-alliant
  19030. + ;;
  19031. + altos | altos3068)
  19032. + basic_machine=m68k-altos
  19033. + ;;
  19034. + am29k)
  19035. + basic_machine=a29k-none
  19036. + os=-bsd
  19037. + ;;
  19038. + amd64)
  19039. + basic_machine=x86_64-pc
  19040. + ;;
  19041. + amd64-*)
  19042. + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
  19043. + ;;
  19044. + amdahl)
  19045. + basic_machine=580-amdahl
  19046. + os=-sysv
  19047. + ;;
  19048. + amiga | amiga-*)
  19049. + basic_machine=m68k-unknown
  19050. + ;;
  19051. + amigaos | amigados)
  19052. + basic_machine=m68k-unknown
  19053. + os=-amigaos
  19054. + ;;
  19055. + amigaunix | amix)
  19056. + basic_machine=m68k-unknown
  19057. + os=-sysv4
  19058. + ;;
  19059. + apollo68)
  19060. + basic_machine=m68k-apollo
  19061. + os=-sysv
  19062. + ;;
  19063. + apollo68bsd)
  19064. + basic_machine=m68k-apollo
  19065. + os=-bsd
  19066. + ;;
  19067. + aros)
  19068. + basic_machine=i386-pc
  19069. + os=-aros
  19070. + ;;
  19071. + aux)
  19072. + basic_machine=m68k-apple
  19073. + os=-aux
  19074. + ;;
  19075. + balance)
  19076. + basic_machine=ns32k-sequent
  19077. + os=-dynix
  19078. + ;;
  19079. + blackfin)
  19080. + basic_machine=bfin-unknown
  19081. + os=-linux
  19082. + ;;
  19083. + blackfin-*)
  19084. + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  19085. + os=-linux
  19086. + ;;
  19087. + bluegene*)
  19088. + basic_machine=powerpc-ibm
  19089. + os=-cnk
  19090. + ;;
  19091. + c54x-*)
  19092. + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  19093. + ;;
  19094. + c55x-*)
  19095. + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  19096. + ;;
  19097. + c6x-*)
  19098. + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  19099. + ;;
  19100. + c90)
  19101. + basic_machine=c90-cray
  19102. + os=-unicos
  19103. + ;;
  19104. + cegcc)
  19105. + basic_machine=arm-unknown
  19106. + os=-cegcc
  19107. + ;;
  19108. + convex-c1)
  19109. + basic_machine=c1-convex
  19110. + os=-bsd
  19111. + ;;
  19112. + convex-c2)
  19113. + basic_machine=c2-convex
  19114. + os=-bsd
  19115. + ;;
  19116. + convex-c32)
  19117. + basic_machine=c32-convex
  19118. + os=-bsd
  19119. + ;;
  19120. + convex-c34)
  19121. + basic_machine=c34-convex
  19122. + os=-bsd
  19123. + ;;
  19124. + convex-c38)
  19125. + basic_machine=c38-convex
  19126. + os=-bsd
  19127. + ;;
  19128. + cray | j90)
  19129. + basic_machine=j90-cray
  19130. + os=-unicos
  19131. + ;;
  19132. + craynv)
  19133. + basic_machine=craynv-cray
  19134. + os=-unicosmp
  19135. + ;;
  19136. + cr16 | cr16-*)
  19137. + basic_machine=cr16-unknown
  19138. + os=-elf
  19139. + ;;
  19140. + crds | unos)
  19141. + basic_machine=m68k-crds
  19142. + ;;
  19143. + crisv32 | crisv32-* | etraxfs*)
  19144. + basic_machine=crisv32-axis
  19145. + ;;
  19146. + cris | cris-* | etrax*)
  19147. + basic_machine=cris-axis
  19148. + ;;
  19149. + crx)
  19150. + basic_machine=crx-unknown
  19151. + os=-elf
  19152. + ;;
  19153. + da30 | da30-*)
  19154. + basic_machine=m68k-da30
  19155. + ;;
  19156. + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
  19157. + basic_machine=mips-dec
  19158. + ;;
  19159. + decsystem10* | dec10*)
  19160. + basic_machine=pdp10-dec
  19161. + os=-tops10
  19162. + ;;
  19163. + decsystem20* | dec20*)
  19164. + basic_machine=pdp10-dec
  19165. + os=-tops20
  19166. + ;;
  19167. + delta | 3300 | motorola-3300 | motorola-delta \
  19168. + | 3300-motorola | delta-motorola)
  19169. + basic_machine=m68k-motorola
  19170. + ;;
  19171. + delta88)
  19172. + basic_machine=m88k-motorola
  19173. + os=-sysv3
  19174. + ;;
  19175. + dicos)
  19176. + basic_machine=i686-pc
  19177. + os=-dicos
  19178. + ;;
  19179. + djgpp)
  19180. + basic_machine=i586-pc
  19181. + os=-msdosdjgpp
  19182. + ;;
  19183. + dpx20 | dpx20-*)
  19184. + basic_machine=rs6000-bull
  19185. + os=-bosx
  19186. + ;;
  19187. + dpx2* | dpx2*-bull)
  19188. + basic_machine=m68k-bull
  19189. + os=-sysv3
  19190. + ;;
  19191. + ebmon29k)
  19192. + basic_machine=a29k-amd
  19193. + os=-ebmon
  19194. + ;;
  19195. + elxsi)
  19196. + basic_machine=elxsi-elxsi
  19197. + os=-bsd
  19198. + ;;
  19199. + encore | umax | mmax)
  19200. + basic_machine=ns32k-encore
  19201. + ;;
  19202. + es1800 | OSE68k | ose68k | ose | OSE)
  19203. + basic_machine=m68k-ericsson
  19204. + os=-ose
  19205. + ;;
  19206. + fx2800)
  19207. + basic_machine=i860-alliant
  19208. + ;;
  19209. + genix)
  19210. + basic_machine=ns32k-ns
  19211. + ;;
  19212. + gmicro)
  19213. + basic_machine=tron-gmicro
  19214. + os=-sysv
  19215. + ;;
  19216. + go32)
  19217. + basic_machine=i386-pc
  19218. + os=-go32
  19219. + ;;
  19220. + h3050r* | hiux*)
  19221. + basic_machine=hppa1.1-hitachi
  19222. + os=-hiuxwe2
  19223. + ;;
  19224. + h8300hms)
  19225. + basic_machine=h8300-hitachi
  19226. + os=-hms
  19227. + ;;
  19228. + h8300xray)
  19229. + basic_machine=h8300-hitachi
  19230. + os=-xray
  19231. + ;;
  19232. + h8500hms)
  19233. + basic_machine=h8500-hitachi
  19234. + os=-hms
  19235. + ;;
  19236. + harris)
  19237. + basic_machine=m88k-harris
  19238. + os=-sysv3
  19239. + ;;
  19240. + hp300-*)
  19241. + basic_machine=m68k-hp
  19242. + ;;
  19243. + hp300bsd)
  19244. + basic_machine=m68k-hp
  19245. + os=-bsd
  19246. + ;;
  19247. + hp300hpux)
  19248. + basic_machine=m68k-hp
  19249. + os=-hpux
  19250. + ;;
  19251. + hp3k9[0-9][0-9] | hp9[0-9][0-9])
  19252. + basic_machine=hppa1.0-hp
  19253. + ;;
  19254. + hp9k2[0-9][0-9] | hp9k31[0-9])
  19255. + basic_machine=m68000-hp
  19256. + ;;
  19257. + hp9k3[2-9][0-9])
  19258. + basic_machine=m68k-hp
  19259. + ;;
  19260. + hp9k6[0-9][0-9] | hp6[0-9][0-9])
  19261. + basic_machine=hppa1.0-hp
  19262. + ;;
  19263. + hp9k7[0-79][0-9] | hp7[0-79][0-9])
  19264. + basic_machine=hppa1.1-hp
  19265. + ;;
  19266. + hp9k78[0-9] | hp78[0-9])
  19267. + # FIXME: really hppa2.0-hp
  19268. + basic_machine=hppa1.1-hp
  19269. + ;;
  19270. + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
  19271. + # FIXME: really hppa2.0-hp
  19272. + basic_machine=hppa1.1-hp
  19273. + ;;
  19274. + hp9k8[0-9][13679] | hp8[0-9][13679])
  19275. + basic_machine=hppa1.1-hp
  19276. + ;;
  19277. + hp9k8[0-9][0-9] | hp8[0-9][0-9])
  19278. + basic_machine=hppa1.0-hp
  19279. + ;;
  19280. + hppa-next)
  19281. + os=-nextstep3
  19282. + ;;
  19283. + hppaosf)
  19284. + basic_machine=hppa1.1-hp
  19285. + os=-osf
  19286. + ;;
  19287. + hppro)
  19288. + basic_machine=hppa1.1-hp
  19289. + os=-proelf
  19290. + ;;
  19291. + i370-ibm* | ibm*)
  19292. + basic_machine=i370-ibm
  19293. + ;;
  19294. + i*86v32)
  19295. + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  19296. + os=-sysv32
  19297. + ;;
  19298. + i*86v4*)
  19299. + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  19300. + os=-sysv4
  19301. + ;;
  19302. + i*86v)
  19303. + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  19304. + os=-sysv
  19305. + ;;
  19306. + i*86sol2)
  19307. + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  19308. + os=-solaris2
  19309. + ;;
  19310. + i386mach)
  19311. + basic_machine=i386-mach
  19312. + os=-mach
  19313. + ;;
  19314. + i386-vsta | vsta)
  19315. + basic_machine=i386-unknown
  19316. + os=-vsta
  19317. + ;;
  19318. + iris | iris4d)
  19319. + basic_machine=mips-sgi
  19320. + case $os in
  19321. + -irix*)
  19322. + ;;
  19323. + *)
  19324. + os=-irix4
  19325. + ;;
  19326. + esac
  19327. + ;;
  19328. + isi68 | isi)
  19329. + basic_machine=m68k-isi
  19330. + os=-sysv
  19331. + ;;
  19332. + m68knommu)
  19333. + basic_machine=m68k-unknown
  19334. + os=-linux
  19335. + ;;
  19336. + m68knommu-*)
  19337. + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
  19338. + os=-linux
  19339. + ;;
  19340. + m88k-omron*)
  19341. + basic_machine=m88k-omron
  19342. + ;;
  19343. + magnum | m3230)
  19344. + basic_machine=mips-mips
  19345. + os=-sysv
  19346. + ;;
  19347. + merlin)
  19348. + basic_machine=ns32k-utek
  19349. + os=-sysv
  19350. + ;;
  19351. + microblaze)
  19352. + basic_machine=microblaze-xilinx
  19353. + ;;
  19354. + mingw32)
  19355. + basic_machine=i386-pc
  19356. + os=-mingw32
  19357. + ;;
  19358. + mingw32ce)
  19359. + basic_machine=arm-unknown
  19360. + os=-mingw32ce
  19361. + ;;
  19362. + miniframe)
  19363. + basic_machine=m68000-convergent
  19364. + ;;
  19365. + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
  19366. + basic_machine=m68k-atari
  19367. + os=-mint
  19368. + ;;
  19369. + mips3*-*)
  19370. + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  19371. + ;;
  19372. + mips3*)
  19373. + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  19374. + ;;
  19375. + monitor)
  19376. + basic_machine=m68k-rom68k
  19377. + os=-coff
  19378. + ;;
  19379. + morphos)
  19380. + basic_machine=powerpc-unknown
  19381. + os=-morphos
  19382. + ;;
  19383. + msdos)
  19384. + basic_machine=i386-pc
  19385. + os=-msdos
  19386. + ;;
  19387. + ms1-*)
  19388. + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  19389. + ;;
  19390. + msys)
  19391. + basic_machine=i386-pc
  19392. + os=-msys
  19393. + ;;
  19394. + mvs)
  19395. + basic_machine=i370-ibm
  19396. + os=-mvs
  19397. + ;;
  19398. + nacl)
  19399. + basic_machine=le32-unknown
  19400. + os=-nacl
  19401. + ;;
  19402. + ncr3000)
  19403. + basic_machine=i486-ncr
  19404. + os=-sysv4
  19405. + ;;
  19406. + netbsd386)
  19407. + basic_machine=i386-unknown
  19408. + os=-netbsd
  19409. + ;;
  19410. + netwinder)
  19411. + basic_machine=armv4l-rebel
  19412. + os=-linux
  19413. + ;;
  19414. + news | news700 | news800 | news900)
  19415. + basic_machine=m68k-sony
  19416. + os=-newsos
  19417. + ;;
  19418. + news1000)
  19419. + basic_machine=m68030-sony
  19420. + os=-newsos
  19421. + ;;
  19422. + news-3600 | risc-news)
  19423. + basic_machine=mips-sony
  19424. + os=-newsos
  19425. + ;;
  19426. + necv70)
  19427. + basic_machine=v70-nec
  19428. + os=-sysv
  19429. + ;;
  19430. + next | m*-next )
  19431. + basic_machine=m68k-next
  19432. + case $os in
  19433. + -nextstep* )
  19434. + ;;
  19435. + -ns2*)
  19436. + os=-nextstep2
  19437. + ;;
  19438. + *)
  19439. + os=-nextstep3
  19440. + ;;
  19441. + esac
  19442. + ;;
  19443. + nh3000)
  19444. + basic_machine=m68k-harris
  19445. + os=-cxux
  19446. + ;;
  19447. + nh[45]000)
  19448. + basic_machine=m88k-harris
  19449. + os=-cxux
  19450. + ;;
  19451. + nindy960)
  19452. + basic_machine=i960-intel
  19453. + os=-nindy
  19454. + ;;
  19455. + mon960)
  19456. + basic_machine=i960-intel
  19457. + os=-mon960
  19458. + ;;
  19459. + nonstopux)
  19460. + basic_machine=mips-compaq
  19461. + os=-nonstopux
  19462. + ;;
  19463. + np1)
  19464. + basic_machine=np1-gould
  19465. + ;;
  19466. + neo-tandem)
  19467. + basic_machine=neo-tandem
  19468. + ;;
  19469. + nse-tandem)
  19470. + basic_machine=nse-tandem
  19471. + ;;
  19472. + nsr-tandem)
  19473. + basic_machine=nsr-tandem
  19474. + ;;
  19475. + op50n-* | op60c-*)
  19476. + basic_machine=hppa1.1-oki
  19477. + os=-proelf
  19478. + ;;
  19479. + openrisc | openrisc-*)
  19480. + basic_machine=or32-unknown
  19481. + ;;
  19482. + os400)
  19483. + basic_machine=powerpc-ibm
  19484. + os=-os400
  19485. + ;;
  19486. + OSE68000 | ose68000)
  19487. + basic_machine=m68000-ericsson
  19488. + os=-ose
  19489. + ;;
  19490. + os68k)
  19491. + basic_machine=m68k-none
  19492. + os=-os68k
  19493. + ;;
  19494. + pa-hitachi)
  19495. + basic_machine=hppa1.1-hitachi
  19496. + os=-hiuxwe2
  19497. + ;;
  19498. + paragon)
  19499. + basic_machine=i860-intel
  19500. + os=-osf
  19501. + ;;
  19502. + parisc)
  19503. + basic_machine=hppa-unknown
  19504. + os=-linux
  19505. + ;;
  19506. + parisc-*)
  19507. + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
  19508. + os=-linux
  19509. + ;;
  19510. + pbd)
  19511. + basic_machine=sparc-tti
  19512. + ;;
  19513. + pbb)
  19514. + basic_machine=m68k-tti
  19515. + ;;
  19516. + pc532 | pc532-*)
  19517. + basic_machine=ns32k-pc532
  19518. + ;;
  19519. + pc98)
  19520. + basic_machine=i386-pc
  19521. + ;;
  19522. + pc98-*)
  19523. + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
  19524. + ;;
  19525. + pentium | p5 | k5 | k6 | nexgen | viac3)
  19526. + basic_machine=i586-pc
  19527. + ;;
  19528. + pentiumpro | p6 | 6x86 | athlon | athlon_*)
  19529. + basic_machine=i686-pc
  19530. + ;;
  19531. + pentiumii | pentium2 | pentiumiii | pentium3)
  19532. + basic_machine=i686-pc
  19533. + ;;
  19534. + pentium4)
  19535. + basic_machine=i786-pc
  19536. + ;;
  19537. + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
  19538. + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
  19539. + ;;
  19540. + pentiumpro-* | p6-* | 6x86-* | athlon-*)
  19541. + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  19542. + ;;
  19543. + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
  19544. + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  19545. + ;;
  19546. + pentium4-*)
  19547. + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
  19548. + ;;
  19549. + pn)
  19550. + basic_machine=pn-gould
  19551. + ;;
  19552. + power) basic_machine=power-ibm
  19553. + ;;
  19554. + ppc | ppcbe) basic_machine=powerpc-unknown
  19555. + ;;
  19556. + ppc-* | ppcbe-*)
  19557. + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  19558. + ;;
  19559. + ppcle | powerpclittle | ppc-le | powerpc-little)
  19560. + basic_machine=powerpcle-unknown
  19561. + ;;
  19562. + ppcle-* | powerpclittle-*)
  19563. + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
  19564. + ;;
  19565. + ppc64) basic_machine=powerpc64-unknown
  19566. + ;;
  19567. + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
  19568. + ;;
  19569. + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
  19570. + basic_machine=powerpc64le-unknown
  19571. + ;;
  19572. + ppc64le-* | powerpc64little-*)
  19573. + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
  19574. + ;;
  19575. + ps2)
  19576. + basic_machine=i386-ibm
  19577. + ;;
  19578. + pw32)
  19579. + basic_machine=i586-unknown
  19580. + os=-pw32
  19581. + ;;
  19582. + rdos)
  19583. + basic_machine=i386-pc
  19584. + os=-rdos
  19585. + ;;
  19586. + rom68k)
  19587. + basic_machine=m68k-rom68k
  19588. + os=-coff
  19589. + ;;
  19590. + rm[46]00)
  19591. + basic_machine=mips-siemens
  19592. + ;;
  19593. + rtpc | rtpc-*)
  19594. + basic_machine=romp-ibm
  19595. + ;;
  19596. + s390 | s390-*)
  19597. + basic_machine=s390-ibm
  19598. + ;;
  19599. + s390x | s390x-*)
  19600. + basic_machine=s390x-ibm
  19601. + ;;
  19602. + sa29200)
  19603. + basic_machine=a29k-amd
  19604. + os=-udi
  19605. + ;;
  19606. + sb1)
  19607. + basic_machine=mipsisa64sb1-unknown
  19608. + ;;
  19609. + sb1el)
  19610. + basic_machine=mipsisa64sb1el-unknown
  19611. + ;;
  19612. + sde)
  19613. + basic_machine=mipsisa32-sde
  19614. + os=-elf
  19615. + ;;
  19616. + sei)
  19617. + basic_machine=mips-sei
  19618. + os=-seiux
  19619. + ;;
  19620. + sequent)
  19621. + basic_machine=i386-sequent
  19622. + ;;
  19623. + sh)
  19624. + basic_machine=sh-hitachi
  19625. + os=-hms
  19626. + ;;
  19627. + sh5el)
  19628. + basic_machine=sh5le-unknown
  19629. + ;;
  19630. + sh64)
  19631. + basic_machine=sh64-unknown
  19632. + ;;
  19633. + sparclite-wrs | simso-wrs)
  19634. + basic_machine=sparclite-wrs
  19635. + os=-vxworks
  19636. + ;;
  19637. + sps7)
  19638. + basic_machine=m68k-bull
  19639. + os=-sysv2
  19640. + ;;
  19641. + spur)
  19642. + basic_machine=spur-unknown
  19643. + ;;
  19644. + st2000)
  19645. + basic_machine=m68k-tandem
  19646. + ;;
  19647. + stratus)
  19648. + basic_machine=i860-stratus
  19649. + os=-sysv4
  19650. + ;;
  19651. + strongarm-* | thumb-*)
  19652. + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  19653. + ;;
  19654. + sun2)
  19655. + basic_machine=m68000-sun
  19656. + ;;
  19657. + sun2os3)
  19658. + basic_machine=m68000-sun
  19659. + os=-sunos3
  19660. + ;;
  19661. + sun2os4)
  19662. + basic_machine=m68000-sun
  19663. + os=-sunos4
  19664. + ;;
  19665. + sun3os3)
  19666. + basic_machine=m68k-sun
  19667. + os=-sunos3
  19668. + ;;
  19669. + sun3os4)
  19670. + basic_machine=m68k-sun
  19671. + os=-sunos4
  19672. + ;;
  19673. + sun4os3)
  19674. + basic_machine=sparc-sun
  19675. + os=-sunos3
  19676. + ;;
  19677. + sun4os4)
  19678. + basic_machine=sparc-sun
  19679. + os=-sunos4
  19680. + ;;
  19681. + sun4sol2)
  19682. + basic_machine=sparc-sun
  19683. + os=-solaris2
  19684. + ;;
  19685. + sun3 | sun3-*)
  19686. + basic_machine=m68k-sun
  19687. + ;;
  19688. + sun4)
  19689. + basic_machine=sparc-sun
  19690. + ;;
  19691. + sun386 | sun386i | roadrunner)
  19692. + basic_machine=i386-sun
  19693. + ;;
  19694. + sv1)
  19695. + basic_machine=sv1-cray
  19696. + os=-unicos
  19697. + ;;
  19698. + symmetry)
  19699. + basic_machine=i386-sequent
  19700. + os=-dynix
  19701. + ;;
  19702. + t3e)
  19703. + basic_machine=alphaev5-cray
  19704. + os=-unicos
  19705. + ;;
  19706. + t90)
  19707. + basic_machine=t90-cray
  19708. + os=-unicos
  19709. + ;;
  19710. + tile*)
  19711. + basic_machine=$basic_machine-unknown
  19712. + os=-linux-gnu
  19713. + ;;
  19714. + tx39)
  19715. + basic_machine=mipstx39-unknown
  19716. + ;;
  19717. + tx39el)
  19718. + basic_machine=mipstx39el-unknown
  19719. + ;;
  19720. + toad1)
  19721. + basic_machine=pdp10-xkl
  19722. + os=-tops20
  19723. + ;;
  19724. + tower | tower-32)
  19725. + basic_machine=m68k-ncr
  19726. + ;;
  19727. + tpf)
  19728. + basic_machine=s390x-ibm
  19729. + os=-tpf
  19730. + ;;
  19731. + udi29k)
  19732. + basic_machine=a29k-amd
  19733. + os=-udi
  19734. + ;;
  19735. + ultra3)
  19736. + basic_machine=a29k-nyu
  19737. + os=-sym1
  19738. + ;;
  19739. + v810 | necv810)
  19740. + basic_machine=v810-nec
  19741. + os=-none
  19742. + ;;
  19743. + vaxv)
  19744. + basic_machine=vax-dec
  19745. + os=-sysv
  19746. + ;;
  19747. + vms)
  19748. + basic_machine=vax-dec
  19749. + os=-vms
  19750. + ;;
  19751. + vpp*|vx|vx-*)
  19752. + basic_machine=f301-fujitsu
  19753. + ;;
  19754. + vxworks960)
  19755. + basic_machine=i960-wrs
  19756. + os=-vxworks
  19757. + ;;
  19758. + vxworks68)
  19759. + basic_machine=m68k-wrs
  19760. + os=-vxworks
  19761. + ;;
  19762. + vxworks29k)
  19763. + basic_machine=a29k-wrs
  19764. + os=-vxworks
  19765. + ;;
  19766. + w65*)
  19767. + basic_machine=w65-wdc
  19768. + os=-none
  19769. + ;;
  19770. + w89k-*)
  19771. + basic_machine=hppa1.1-winbond
  19772. + os=-proelf
  19773. + ;;
  19774. + xbox)
  19775. + basic_machine=i686-pc
  19776. + os=-mingw32
  19777. + ;;
  19778. + xps | xps100)
  19779. + basic_machine=xps100-honeywell
  19780. + ;;
  19781. + xscale-* | xscalee[bl]-*)
  19782. + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  19783. + ;;
  19784. + ymp)
  19785. + basic_machine=ymp-cray
  19786. + os=-unicos
  19787. + ;;
  19788. + z8k-*-coff)
  19789. + basic_machine=z8k-unknown
  19790. + os=-sim
  19791. + ;;
  19792. + z80-*-coff)
  19793. + basic_machine=z80-unknown
  19794. + os=-sim
  19795. + ;;
  19796. + none)
  19797. + basic_machine=none-none
  19798. + os=-none
  19799. + ;;
  19800. +
  19801. +# Here we handle the default manufacturer of certain CPU types. It is in
  19802. +# some cases the only manufacturer, in others, it is the most popular.
  19803. + w89k)
  19804. + basic_machine=hppa1.1-winbond
  19805. + ;;
  19806. + op50n)
  19807. + basic_machine=hppa1.1-oki
  19808. + ;;
  19809. + op60c)
  19810. + basic_machine=hppa1.1-oki
  19811. + ;;
  19812. + romp)
  19813. + basic_machine=romp-ibm
  19814. + ;;
  19815. + mmix)
  19816. + basic_machine=mmix-knuth
  19817. + ;;
  19818. + rs6000)
  19819. + basic_machine=rs6000-ibm
  19820. + ;;
  19821. + vax)
  19822. + basic_machine=vax-dec
  19823. + ;;
  19824. + pdp10)
  19825. + # there are many clones, so DEC is not a safe bet
  19826. + basic_machine=pdp10-unknown
  19827. + ;;
  19828. + pdp11)
  19829. + basic_machine=pdp11-dec
  19830. + ;;
  19831. + we32k)
  19832. + basic_machine=we32k-att
  19833. + ;;
  19834. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  19835. + basic_machine=sh-unknown
  19836. + ;;
  19837. + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  19838. + basic_machine=sparc-sun
  19839. + ;;
  19840. + cydra)
  19841. + basic_machine=cydra-cydrome
  19842. + ;;
  19843. + orion)
  19844. + basic_machine=orion-highlevel
  19845. + ;;
  19846. + orion105)
  19847. + basic_machine=clipper-highlevel
  19848. + ;;
  19849. + mac | mpw | mac-mpw)
  19850. + basic_machine=m68k-apple
  19851. + ;;
  19852. + pmac | pmac-mpw)
  19853. + basic_machine=powerpc-apple
  19854. + ;;
  19855. + *-unknown)
  19856. + # Make sure to match an already-canonicalized machine name.
  19857. + ;;
  19858. + *)
  19859. + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  19860. + exit 1
  19861. + ;;
  19862. +esac
  19863. +
  19864. +# Here we canonicalize certain aliases for manufacturers.
  19865. +case $basic_machine in
  19866. + *-digital*)
  19867. + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
  19868. + ;;
  19869. + *-commodore*)
  19870. + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
  19871. + ;;
  19872. + *)
  19873. + ;;
  19874. +esac
  19875. +
  19876. +# Decode manufacturer-specific aliases for certain operating systems.
  19877. +
  19878. +if [ x"$os" != x"" ]
  19879. +then
  19880. +case $os in
  19881. + # First match some system type aliases
  19882. + # that might get confused with valid system types.
  19883. + # -solaris* is a basic system type, with this one exception.
  19884. + -auroraux)
  19885. + os=-auroraux
  19886. + ;;
  19887. + -solaris1 | -solaris1.*)
  19888. + os=`echo $os | sed -e 's|solaris1|sunos4|'`
  19889. + ;;
  19890. + -solaris)
  19891. + os=-solaris2
  19892. + ;;
  19893. + -svr4*)
  19894. + os=-sysv4
  19895. + ;;
  19896. + -unixware*)
  19897. + os=-sysv4.2uw
  19898. + ;;
  19899. + -gnu/linux*)
  19900. + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
  19901. + ;;
  19902. + # First accept the basic system types.
  19903. + # The portable systems comes first.
  19904. + # Each alternative MUST END IN A *, to match a version number.
  19905. + # -sysv* is not here because it comes later, after sysvr4.
  19906. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  19907. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  19908. + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  19909. + | -sym* | -kopensolaris* \
  19910. + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  19911. + | -aos* | -aros* \
  19912. + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  19913. + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  19914. + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  19915. + | -openbsd* | -solidbsd* \
  19916. + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  19917. + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  19918. + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  19919. + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  19920. + | -chorusos* | -chorusrdb* | -cegcc* \
  19921. + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  19922. + | -mingw32* | -linux-gnu* | -linux-android* \
  19923. + | -linux-newlib* | -linux-uclibc* \
  19924. + | -uxpv* | -beos* | -mpeix* | -udk* \
  19925. + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  19926. + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  19927. + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
  19928. + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  19929. + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  19930. + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  19931. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  19932. + # Remember, each alternative MUST END IN *, to match a version number.
  19933. + ;;
  19934. + -qnx*)
  19935. + case $basic_machine in
  19936. + x86-* | i*86-*)
  19937. + ;;
  19938. + *)
  19939. + os=-nto$os
  19940. + ;;
  19941. + esac
  19942. + ;;
  19943. + -nto-qnx*)
  19944. + ;;
  19945. + -nto*)
  19946. + os=`echo $os | sed -e 's|nto|nto-qnx|'`
  19947. + ;;
  19948. + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  19949. + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
  19950. + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
  19951. + ;;
  19952. + -mac*)
  19953. + os=`echo $os | sed -e 's|mac|macos|'`
  19954. + ;;
  19955. + -linux-dietlibc)
  19956. + os=-linux-dietlibc
  19957. + ;;
  19958. + -linux*)
  19959. + os=`echo $os | sed -e 's|linux|linux-gnu|'`
  19960. + ;;
  19961. + -sunos5*)
  19962. + os=`echo $os | sed -e 's|sunos5|solaris2|'`
  19963. + ;;
  19964. + -sunos6*)
  19965. + os=`echo $os | sed -e 's|sunos6|solaris3|'`
  19966. + ;;
  19967. + -opened*)
  19968. + os=-openedition
  19969. + ;;
  19970. + -os400*)
  19971. + os=-os400
  19972. + ;;
  19973. + -wince*)
  19974. + os=-wince
  19975. + ;;
  19976. + -osfrose*)
  19977. + os=-osfrose
  19978. + ;;
  19979. + -osf*)
  19980. + os=-osf
  19981. + ;;
  19982. + -utek*)
  19983. + os=-bsd
  19984. + ;;
  19985. + -dynix*)
  19986. + os=-bsd
  19987. + ;;
  19988. + -acis*)
  19989. + os=-aos
  19990. + ;;
  19991. + -atheos*)
  19992. + os=-atheos
  19993. + ;;
  19994. + -syllable*)
  19995. + os=-syllable
  19996. + ;;
  19997. + -386bsd)
  19998. + os=-bsd
  19999. + ;;
  20000. + -ctix* | -uts*)
  20001. + os=-sysv
  20002. + ;;
  20003. + -nova*)
  20004. + os=-rtmk-nova
  20005. + ;;
  20006. + -ns2 )
  20007. + os=-nextstep2
  20008. + ;;
  20009. + -nsk*)
  20010. + os=-nsk
  20011. + ;;
  20012. + # Preserve the version number of sinix5.
  20013. + -sinix5.*)
  20014. + os=`echo $os | sed -e 's|sinix|sysv|'`
  20015. + ;;
  20016. + -sinix*)
  20017. + os=-sysv4
  20018. + ;;
  20019. + -tpf*)
  20020. + os=-tpf
  20021. + ;;
  20022. + -triton*)
  20023. + os=-sysv3
  20024. + ;;
  20025. + -oss*)
  20026. + os=-sysv3
  20027. + ;;
  20028. + -svr4)
  20029. + os=-sysv4
  20030. + ;;
  20031. + -svr3)
  20032. + os=-sysv3
  20033. + ;;
  20034. + -sysvr4)
  20035. + os=-sysv4
  20036. + ;;
  20037. + # This must come after -sysvr4.
  20038. + -sysv*)
  20039. + ;;
  20040. + -ose*)
  20041. + os=-ose
  20042. + ;;
  20043. + -es1800*)
  20044. + os=-ose
  20045. + ;;
  20046. + -xenix)
  20047. + os=-xenix
  20048. + ;;
  20049. + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
  20050. + os=-mint
  20051. + ;;
  20052. + -aros*)
  20053. + os=-aros
  20054. + ;;
  20055. + -kaos*)
  20056. + os=-kaos
  20057. + ;;
  20058. + -zvmoe)
  20059. + os=-zvmoe
  20060. + ;;
  20061. + -dicos*)
  20062. + os=-dicos
  20063. + ;;
  20064. + -nacl*)
  20065. + ;;
  20066. + -none)
  20067. + ;;
  20068. + *)
  20069. + # Get rid of the `-' at the beginning of $os.
  20070. + os=`echo $os | sed 's/[^-]*-//'`
  20071. + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
  20072. + exit 1
  20073. + ;;
  20074. +esac
  20075. +else
  20076. +
  20077. +# Here we handle the default operating systems that come with various machines.
  20078. +# The value should be what the vendor currently ships out the door with their
  20079. +# machine or put another way, the most popular os provided with the machine.
  20080. +
  20081. +# Note that if you're going to try to match "-MANUFACTURER" here (say,
  20082. +# "-sun"), then you have to tell the case statement up towards the top
  20083. +# that MANUFACTURER isn't an operating system. Otherwise, code above
  20084. +# will signal an error saying that MANUFACTURER isn't an operating
  20085. +# system, and we'll never get to this point.
  20086. +
  20087. +case $basic_machine in
  20088. + score-*)
  20089. + os=-elf
  20090. + ;;
  20091. + spu-*)
  20092. + os=-elf
  20093. + ;;
  20094. + *-acorn)
  20095. + os=-riscix1.2
  20096. + ;;
  20097. + arm*-rebel)
  20098. + os=-linux
  20099. + ;;
  20100. + arm*-semi)
  20101. + os=-aout
  20102. + ;;
  20103. + c4x-* | tic4x-*)
  20104. + os=-coff
  20105. + ;;
  20106. + tic54x-*)
  20107. + os=-coff
  20108. + ;;
  20109. + tic55x-*)
  20110. + os=-coff
  20111. + ;;
  20112. + tic6x-*)
  20113. + os=-coff
  20114. + ;;
  20115. + # This must come before the *-dec entry.
  20116. + pdp10-*)
  20117. + os=-tops20
  20118. + ;;
  20119. + pdp11-*)
  20120. + os=-none
  20121. + ;;
  20122. + *-dec | vax-*)
  20123. + os=-ultrix4.2
  20124. + ;;
  20125. + m68*-apollo)
  20126. + os=-domain
  20127. + ;;
  20128. + i386-sun)
  20129. + os=-sunos4.0.2
  20130. + ;;
  20131. + m68000-sun)
  20132. + os=-sunos3
  20133. + ;;
  20134. + m68*-cisco)
  20135. + os=-aout
  20136. + ;;
  20137. + mep-*)
  20138. + os=-elf
  20139. + ;;
  20140. + mips*-cisco)
  20141. + os=-elf
  20142. + ;;
  20143. + mips*-*)
  20144. + os=-elf
  20145. + ;;
  20146. + or32-*)
  20147. + os=-coff
  20148. + ;;
  20149. + *-tti) # must be before sparc entry or we get the wrong os.
  20150. + os=-sysv3
  20151. + ;;
  20152. + sparc-* | *-sun)
  20153. + os=-sunos4.1.1
  20154. + ;;
  20155. + *-be)
  20156. + os=-beos
  20157. + ;;
  20158. + *-haiku)
  20159. + os=-haiku
  20160. + ;;
  20161. + *-ibm)
  20162. + os=-aix
  20163. + ;;
  20164. + *-knuth)
  20165. + os=-mmixware
  20166. + ;;
  20167. + *-wec)
  20168. + os=-proelf
  20169. + ;;
  20170. + *-winbond)
  20171. + os=-proelf
  20172. + ;;
  20173. + *-oki)
  20174. + os=-proelf
  20175. + ;;
  20176. + *-hp)
  20177. + os=-hpux
  20178. + ;;
  20179. + *-hitachi)
  20180. + os=-hiux
  20181. + ;;
  20182. + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
  20183. + os=-sysv
  20184. + ;;
  20185. + *-cbm)
  20186. + os=-amigaos
  20187. + ;;
  20188. + *-dg)
  20189. + os=-dgux
  20190. + ;;
  20191. + *-dolphin)
  20192. + os=-sysv3
  20193. + ;;
  20194. + m68k-ccur)
  20195. + os=-rtu
  20196. + ;;
  20197. + m88k-omron*)
  20198. + os=-luna
  20199. + ;;
  20200. + *-next )
  20201. + os=-nextstep
  20202. + ;;
  20203. + *-sequent)
  20204. + os=-ptx
  20205. + ;;
  20206. + *-crds)
  20207. + os=-unos
  20208. + ;;
  20209. + *-ns)
  20210. + os=-genix
  20211. + ;;
  20212. + i370-*)
  20213. + os=-mvs
  20214. + ;;
  20215. + *-next)
  20216. + os=-nextstep3
  20217. + ;;
  20218. + *-gould)
  20219. + os=-sysv
  20220. + ;;
  20221. + *-highlevel)
  20222. + os=-bsd
  20223. + ;;
  20224. + *-encore)
  20225. + os=-bsd
  20226. + ;;
  20227. + *-sgi)
  20228. + os=-irix
  20229. + ;;
  20230. + *-siemens)
  20231. + os=-sysv4
  20232. + ;;
  20233. + *-masscomp)
  20234. + os=-rtu
  20235. + ;;
  20236. + f30[01]-fujitsu | f700-fujitsu)
  20237. + os=-uxpv
  20238. + ;;
  20239. + *-rom68k)
  20240. + os=-coff
  20241. + ;;
  20242. + *-*bug)
  20243. + os=-coff
  20244. + ;;
  20245. + *-apple)
  20246. + os=-macos
  20247. + ;;
  20248. + *-atari*)
  20249. + os=-mint
  20250. + ;;
  20251. + *)
  20252. + os=-none
  20253. + ;;
  20254. +esac
  20255. +fi
  20256. +
  20257. +# Here we handle the case where we know the os, and the CPU type, but not the
  20258. +# manufacturer. We pick the logical manufacturer.
  20259. +vendor=unknown
  20260. +case $basic_machine in
  20261. + *-unknown)
  20262. + case $os in
  20263. + -riscix*)
  20264. + vendor=acorn
  20265. + ;;
  20266. + -sunos*)
  20267. + vendor=sun
  20268. + ;;
  20269. + -cnk*|-aix*)
  20270. + vendor=ibm
  20271. + ;;
  20272. + -beos*)
  20273. + vendor=be
  20274. + ;;
  20275. + -hpux*)
  20276. + vendor=hp
  20277. + ;;
  20278. + -mpeix*)
  20279. + vendor=hp
  20280. + ;;
  20281. + -hiux*)
  20282. + vendor=hitachi
  20283. + ;;
  20284. + -unos*)
  20285. + vendor=crds
  20286. + ;;
  20287. + -dgux*)
  20288. + vendor=dg
  20289. + ;;
  20290. + -luna*)
  20291. + vendor=omron
  20292. + ;;
  20293. + -genix*)
  20294. + vendor=ns
  20295. + ;;
  20296. + -mvs* | -opened*)
  20297. + vendor=ibm
  20298. + ;;
  20299. + -os400*)
  20300. + vendor=ibm
  20301. + ;;
  20302. + -ptx*)
  20303. + vendor=sequent
  20304. + ;;
  20305. + -tpf*)
  20306. + vendor=ibm
  20307. + ;;
  20308. + -vxsim* | -vxworks* | -windiss*)
  20309. + vendor=wrs
  20310. + ;;
  20311. + -aux*)
  20312. + vendor=apple
  20313. + ;;
  20314. + -hms*)
  20315. + vendor=hitachi
  20316. + ;;
  20317. + -mpw* | -macos*)
  20318. + vendor=apple
  20319. + ;;
  20320. + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
  20321. + vendor=atari
  20322. + ;;
  20323. + -vos*)
  20324. + vendor=stratus
  20325. + ;;
  20326. + esac
  20327. + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
  20328. + ;;
  20329. +esac
  20330. +
  20331. +echo $basic_machine$os
  20332. +exit
  20333. +
  20334. +# Local variables:
  20335. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  20336. +# time-stamp-start: "timestamp='"
  20337. +# time-stamp-format: "%:y-%02m-%02d"
  20338. +# time-stamp-end: "'"
  20339. +# End:
  20340. --- cgminer-2.4.1.orig/driver-ztex.c
  20341. +++ cgminer-2.4.1/driver-ztex.c
  20342. @@ -30,17 +30,37 @@
  20343. #define GOLDEN_BACKLOG 5
  20344. -struct device_api ztex_api, ztex_hotplug_api;
  20345. +struct device_api ztex_api;
  20346. // Forward declarations
  20347. static void ztex_disable(struct thr_info* thr);
  20348. static bool ztex_prepare(struct thr_info *thr);
  20349. +static void ztex_selectFpga(struct libztex_device* ztex)
  20350. +{
  20351. + if (ztex->root->numberOfFpgas > 1) {
  20352. + if (ztex->root->selectedFpga != ztex->fpgaNum)
  20353. + mutex_lock(&ztex->root->mutex);
  20354. + libztex_selectFpga(ztex);
  20355. + }
  20356. +}
  20357. +
  20358. +static void ztex_releaseFpga(struct libztex_device* ztex)
  20359. +{
  20360. + if (ztex->root->numberOfFpgas > 1) {
  20361. + ztex->root->selectedFpga = -1;
  20362. + mutex_unlock(&ztex->root->mutex);
  20363. + }
  20364. +}
  20365. +
  20366. static void ztex_detect(void)
  20367. {
  20368. int cnt;
  20369. - int i;
  20370. + int i,j;
  20371. + int fpgacount;
  20372. struct libztex_dev_list **ztex_devices;
  20373. + struct libztex_device *ztex_slave;
  20374. + struct cgpu_info *ztex;
  20375. cnt = libztex_scanDevices(&ztex_devices);
  20376. applog(LOG_WARNING, "Found %d ztex board(s)", cnt);
  20377. @@ -48,14 +68,33 @@ static void ztex_detect(void)
  20378. for (i = 0; i < cnt; i++) {
  20379. if (total_devices == MAX_DEVICES)
  20380. break;
  20381. - struct cgpu_info *ztex;
  20382. ztex = calloc(1, sizeof(struct cgpu_info));
  20383. ztex->api = &ztex_api;
  20384. ztex->device_ztex = ztex_devices[i]->dev;
  20385. ztex->threads = 1;
  20386. + ztex->device_ztex->fpgaNum = 0;
  20387. + ztex->device_ztex->root = ztex->device_ztex;
  20388. add_cgpu(ztex);
  20389. - applog(LOG_WARNING,"%s: Found Ztex, mark as %d", ztex->device_ztex->repr, ztex->device_id);
  20390. + fpgacount = libztex_numberOfFpgas(ztex->device_ztex);
  20391. +
  20392. + if (fpgacount > 1)
  20393. + pthread_mutex_init(&ztex->device_ztex->mutex, NULL);
  20394. +
  20395. + for (j = 1; j < fpgacount; j++) {
  20396. + ztex = calloc(1, sizeof(struct cgpu_info));
  20397. + ztex->api = &ztex_api;
  20398. + ztex_slave = calloc(1, sizeof(struct libztex_device));
  20399. + memcpy(ztex_slave, ztex_devices[i]->dev, sizeof(struct libztex_device));
  20400. + ztex->device_ztex = ztex_slave;
  20401. + ztex->threads = 1;
  20402. + ztex_slave->fpgaNum = j;
  20403. + ztex_slave->root = ztex_devices[i]->dev;
  20404. + ztex_slave->repr[strlen(ztex_slave->repr) - 1] = ('1' + j);
  20405. + add_cgpu(ztex);
  20406. + }
  20407. +
  20408. + applog(LOG_WARNING,"%s: Found Ztex (fpga count = %d) , mark as %d", ztex->device_ztex->repr, fpgacount, ztex->device_id);
  20409. }
  20410. if (cnt > 0)
  20411. @@ -88,16 +127,18 @@ static bool ztex_updateFreq(struct libzt
  20412. }
  20413. if (bestM != ztex->freqM) {
  20414. - libztex_selectFpga(ztex, 0);
  20415. + ztex_selectFpga(ztex);
  20416. libztex_setFreq(ztex, bestM);
  20417. + ztex_releaseFpga(ztex);
  20418. }
  20419. maxM = ztex->freqMDefault;
  20420. while (maxM < ztex->freqMaxM && ztex->errorWeight[maxM + 1] > 100)
  20421. maxM++;
  20422. if ((bestM < (1.0 - LIBZTEX_OVERHEATTHRESHOLD) * maxM) && bestM < maxM - 1) {
  20423. - libztex_selectFpga(ztex, 0);
  20424. + ztex_selectFpga(ztex);
  20425. libztex_resetFpga(ztex);
  20426. + ztex_releaseFpga(ztex);
  20427. applog(LOG_ERR, "%s: frequency drop of %.1f%% detect. This may be caused by overheating. FPGA is shut down to prevent damage.",
  20428. ztex->repr, (1.0 - 1.0 * bestM / maxM) * 100);
  20429. return false;
  20430. @@ -163,7 +204,7 @@ static uint64_t ztex_scanhash(struct thr
  20431. memcpy(sendbuf, work->data + 64, 12);
  20432. memcpy(sendbuf + 12, work->midstate, 32);
  20433. - libztex_selectFpga(ztex, 0);
  20434. + ztex_selectFpga(ztex);
  20435. i = libztex_sendHashData(ztex, sendbuf);
  20436. if (i < 0) {
  20437. // Something wrong happened in send
  20438. @@ -174,9 +215,11 @@ static uint64_t ztex_scanhash(struct thr
  20439. // And there's nothing we can do about it
  20440. ztex_disable(thr);
  20441. applog(LOG_ERR, "%s: Failed to send hash data with err %d, giving up", ztex->repr, i);
  20442. + ztex_releaseFpga(ztex);
  20443. return 0;
  20444. }
  20445. }
  20446. + ztex_releaseFpga(ztex);
  20447. applog(LOG_DEBUG, "%s: sent hashdata", ztex->repr);
  20448. @@ -204,7 +247,7 @@ static uint64_t ztex_scanhash(struct thr
  20449. applog(LOG_DEBUG, "%s: New work detected", ztex->repr);
  20450. break;
  20451. }
  20452. - libztex_selectFpga(ztex, 0);
  20453. + ztex_selectFpga(ztex);
  20454. i = libztex_readHashData(ztex, &hdata[0]);
  20455. if (i < 0) {
  20456. // Something wrong happened in read
  20457. @@ -217,9 +260,11 @@ static uint64_t ztex_scanhash(struct thr
  20458. applog(LOG_ERR, "%s: Failed to read hash data with err %d, giving up", ztex->repr, i);
  20459. free(lastnonce);
  20460. free(backlog);
  20461. + ztex_releaseFpga(ztex);
  20462. return 0;
  20463. }
  20464. }
  20465. + ztex_releaseFpga(ztex);
  20466. if (work_restart[thr->id].restart) {
  20467. applog(LOG_DEBUG, "%s: New work detected", ztex->repr);
  20468. @@ -302,7 +347,7 @@ static uint64_t ztex_scanhash(struct thr
  20469. static void ztex_statline_before(char *buf, struct cgpu_info *cgpu)
  20470. {
  20471. if (cgpu->deven == DEV_ENABLED) {
  20472. - tailsprintf(buf, "%s | ", cgpu->device_ztex->snString);
  20473. + tailsprintf(buf, "%s-%d | ", cgpu->device_ztex->snString, cgpu->device_ztex->fpgaNum+1);
  20474. tailsprintf(buf, "%0.2fMhz | ", cgpu->device_ztex->freqM1 * (cgpu->device_ztex->freqM + 1));
  20475. }
  20476. }
  20477. @@ -310,24 +355,28 @@ static void ztex_statline_before(char *b
  20478. static bool ztex_prepare(struct thr_info *thr)
  20479. {
  20480. struct timeval now;
  20481. - struct cgpu_info *ztex = thr->cgpu;
  20482. + struct cgpu_info *cgpu = thr->cgpu;
  20483. + struct libztex_device *ztex = cgpu->device_ztex;
  20484. gettimeofday(&now, NULL);
  20485. - get_datestamp(ztex->init, &now);
  20486. -
  20487. - if (libztex_configureFpga(ztex->device_ztex) != 0)
  20488. + get_datestamp(cgpu->init, &now);
  20489. +
  20490. + ztex_selectFpga(ztex);
  20491. + if (libztex_configureFpga(ztex) != 0)
  20492. return false;
  20493. -
  20494. - ztex->device_ztex->freqM = -1;
  20495. - ztex_updateFreq(ztex->device_ztex);
  20496. -
  20497. - applog(LOG_DEBUG, "%s: prepare", ztex->device_ztex->repr);
  20498. + ztex_releaseFpga(ztex);
  20499. + ztex->freqM = ztex->freqMaxM+1;;
  20500. + //ztex_updateFreq(ztex);
  20501. + libztex_setFreq(ztex, ztex->freqMDefault);
  20502. + applog(LOG_DEBUG, "%s: prepare", ztex->repr);
  20503. return true;
  20504. }
  20505. static void ztex_shutdown(struct thr_info *thr)
  20506. {
  20507. if (thr->cgpu->device_ztex != NULL) {
  20508. + if (thr->cgpu->device_ztex->fpgaNum == 0)
  20509. + pthread_mutex_destroy(&thr->cgpu->device_ztex->mutex);
  20510. applog(LOG_DEBUG, "%s: shutdown", thr->cgpu->device_ztex->repr);
  20511. libztex_destroy_device(thr->cgpu->device_ztex);
  20512. thr->cgpu->device_ztex = NULL;
  20513. @@ -350,3 +399,4 @@ struct device_api ztex_api = {
  20514. .scanhash = ztex_scanhash,
  20515. .thread_shutdown = ztex_shutdown,
  20516. };
  20517. +
  20518. --- cgminer-2.4.1.orig/api.c
  20519. +++ cgminer-2.4.1/api.c
  20520. @@ -158,12 +158,14 @@ static const char SEPARATOR = '|';
  20521. #define SEPSTR "|"
  20522. static const char GPUSEP = ',';
  20523. -static const char *APIVERSION = "1.9";
  20524. +static const char *APIVERSION = "1.10";
  20525. static const char *DEAD = "Dead";
  20526. static const char *SICK = "Sick";
  20527. static const char *NOSTART = "NoStart";
  20528. static const char *DISABLED = "Disabled";
  20529. static const char *ALIVE = "Alive";
  20530. +static const char *REJECTING = "Rejecting";
  20531. +static const char *UNKNOWN = "Unknown";
  20532. #define _DYNAMIC "D"
  20533. static const char *DYNAMIC = _DYNAMIC;
  20534. @@ -230,6 +232,7 @@ static const char *OSINFO =
  20535. #define _DEVDETAILS "DEVDETAILS"
  20536. #define _BYE "BYE"
  20537. #define _RESTART "RESTART"
  20538. +#define _MINESTATS "STATS"
  20539. static const char ISJSON = '{';
  20540. #define JSON0 "{"
  20541. @@ -263,6 +266,7 @@ static const char ISJSON = '{';
  20542. #define JSON_BYE JSON1 _BYE JSON1
  20543. #define JSON_RESTART JSON1 _RESTART JSON1
  20544. #define JSON_CLOSE JSON3
  20545. +#define JSON_MINESTATS JSON1 _MINESTATS JSON2
  20546. #define JSON_END JSON4
  20547. static const char *JSON_COMMAND = "command";
  20548. @@ -349,6 +353,7 @@ static const char *JSON_PARAMETER = "par
  20549. #define MSG_ACTPOOL 67
  20550. #define MSG_REMPOOL 68
  20551. #define MSG_DEVDETAILS 69
  20552. +#define MSG_MINESTATS 70
  20553. enum code_severity {
  20554. SEVERITY_ERR,
  20555. @@ -474,6 +479,7 @@ struct CODES {
  20556. { SEVERITY_SUCC, MSG_REMPOOL, PARAM_BOTH, "Removed pool %d:'%s'" },
  20557. { SEVERITY_SUCC, MSG_NOTIFY, PARAM_NONE, "Notify" },
  20558. { SEVERITY_SUCC, MSG_DEVDETAILS,PARAM_NONE, "Device Details" },
  20559. + { SEVERITY_SUCC, MSG_MINESTATS,PARAM_NONE, "CGMiner stats" },
  20560. { SEVERITY_FAIL, 0, 0, NULL }
  20561. };
  20562. @@ -1203,13 +1209,22 @@ static void poolstatus(__maybe_unused SO
  20563. for (i = 0; i < total_pools; i++) {
  20564. struct pool *pool = pools[i];
  20565. - if (!pool->enabled)
  20566. + switch (pool->enabled) {
  20567. + case POOL_DISABLED:
  20568. status = (char *)DISABLED;
  20569. - else {
  20570. + break;
  20571. + case POOL_REJECTING:
  20572. + status = (char *)REJECTING;
  20573. + break;
  20574. + case POOL_ENABLED:
  20575. if (pool->idle)
  20576. status = (char *)DEAD;
  20577. else
  20578. status = (char *)ALIVE;
  20579. + break;
  20580. + default:
  20581. + status = (char *)UNKNOWN;
  20582. + break;
  20583. }
  20584. if (pool->hdr_path)
  20585. @@ -1221,8 +1236,8 @@ static void poolstatus(__maybe_unused SO
  20586. rpc_user = escape_string(pool->rpc_user, isjson);
  20587. sprintf(buf, isjson
  20588. - ? "%s{\"POOL\":%d,\"URL\":\"%s\",\"Status\":\"%s\",\"Priority\":%d,\"Long Poll\":\"%s\",\"Getworks\":%d,\"Accepted\":%d,\"Rejected\":%d,\"Discarded\":%d,\"Stale\":%d,\"Get Failures\":%d,\"Remote Failures\":%d,\"User\":\"%s\"}"
  20589. - : "%sPOOL=%d,URL=%s,Status=%s,Priority=%d,Long Poll=%s,Getworks=%d,Accepted=%d,Rejected=%d,Discarded=%d,Stale=%d,Get Failures=%d,Remote Failures=%d,User=%s" SEPSTR,
  20590. + ? "%s{\"POOL\":%d,\"URL\":\"%s\",\"Status\":\"%s\",\"Priority\":%d,\"Long Poll\":\"%s\",\"Getworks\":%d,\"Accepted\":%d,\"Rejected\":%d,\"Discarded\":%d,\"Stale\":%d,\"Get Failures\":%d,\"Remote Failures\":%d,\"User\":\"%s\",\"Last Share Time\":%lu}"
  20591. + : "%sPOOL=%d,URL=%s,Status=%s,Priority=%d,Long Poll=%s,Getworks=%d,Accepted=%d,Rejected=%d,Discarded=%d,Stale=%d,Get Failures=%d,Remote Failures=%d,User=%s,Last Share Time=%lu" SEPSTR,
  20592. (isjson && (i > 0)) ? COMMA : BLANK,
  20593. i, rpc_url, status, pool->prio, lp,
  20594. pool->getwork_requested,
  20595. @@ -1231,7 +1246,7 @@ static void poolstatus(__maybe_unused SO
  20596. pool->stale_shares,
  20597. pool->getfail_occasions,
  20598. pool->remotefail_occasions,
  20599. - rpc_user);
  20600. + rpc_user, pool->last_share_time);
  20601. strcat(io_buffer, buf);
  20602. @@ -1457,7 +1472,7 @@ static void switchpool(__maybe_unused SO
  20603. }
  20604. pool = pools[id];
  20605. - pool->enabled = true;
  20606. + pool->enabled = POOL_ENABLED;
  20607. switch_pools(pool);
  20608. strcpy(io_buffer, message(MSG_SWITCHP, id, NULL, isjson));
  20609. @@ -1569,12 +1584,12 @@ static void enablepool(__maybe_unused SO
  20610. }
  20611. pool = pools[id];
  20612. - if (pool->enabled == true) {
  20613. + if (pool->enabled == POOL_ENABLED) {
  20614. strcpy(io_buffer, message(MSG_ALRENAP, id, NULL, isjson));
  20615. return;
  20616. }
  20617. - pool->enabled = true;
  20618. + pool->enabled = POOL_ENABLED;
  20619. if (pool->prio < current_pool()->prio)
  20620. switch_pools(pool);
  20621. @@ -1603,7 +1618,7 @@ static void disablepool(__maybe_unused S
  20622. }
  20623. pool = pools[id];
  20624. - if (pool->enabled == false) {
  20625. + if (pool->enabled == POOL_DISABLED) {
  20626. strcpy(io_buffer, message(MSG_ALRDISP, id, NULL, isjson));
  20627. return;
  20628. }
  20629. @@ -1613,7 +1628,7 @@ static void disablepool(__maybe_unused S
  20630. return;
  20631. }
  20632. - pool->enabled = false;
  20633. + pool->enabled = POOL_DISABLED;
  20634. if (pool == current_pool())
  20635. switch_pools(NULL);
  20636. @@ -1657,7 +1672,7 @@ static void removepool(__maybe_unused SO
  20637. return;
  20638. }
  20639. - pool->enabled = false;
  20640. + pool->enabled = POOL_DISABLED;
  20641. rpc_url = escape_string(pool->rpc_url, isjson);
  20642. if (rpc_url != pool->rpc_url)
  20643. dofree = true;
  20644. @@ -1989,6 +2004,71 @@ void dosave(__maybe_unused SOCKETTYPE c,
  20645. ptr = NULL;
  20646. }
  20647. +static int itemstats(int i, char *id, struct cgminer_stats *stats, char *extra, bool isjson)
  20648. +{
  20649. + char buf[BUFSIZ];
  20650. +
  20651. + if (stats->getwork_calls || (extra != NULL && *extra))
  20652. + {
  20653. + if (extra == NULL)
  20654. + extra = (char *)BLANK;
  20655. +
  20656. + sprintf(buf, isjson
  20657. + ? "%s{\"STATS\":%d,\"ID\":\"%s\",\"Elapsed\":%.0f,\"Calls\":%d,\"Wait\":%ld.%06ld,\"Max\":%ld.%06ld,\"Min\":%ld.%06ld%s%s}"
  20658. + : "%sSTATS=%d,ID=%s,Elapsed=%.0f,Calls=%d,Wait=%ld.%06ld,Max=%ld.%06ld,Min=%ld.%06ld%s%s" SEPSTR,
  20659. + (isjson && (i > 0)) ? COMMA : BLANK,
  20660. + i, id, total_secs, stats->getwork_calls,
  20661. + stats->getwork_wait.tv_sec, stats->getwork_wait.tv_usec,
  20662. + stats->getwork_wait_max.tv_sec, stats->getwork_wait_max.tv_usec,
  20663. + stats->getwork_wait_min.tv_sec, stats->getwork_wait_min.tv_usec,
  20664. + *extra ? COMMA : BLANK, extra);
  20665. +
  20666. + strcat(io_buffer, buf);
  20667. +
  20668. + i++;
  20669. + }
  20670. +
  20671. + return i;
  20672. +}
  20673. +static void minerstats(__maybe_unused SOCKETTYPE c, __maybe_unused char *param, bool isjson)
  20674. +{
  20675. + char extra[BUFSIZ];
  20676. + char id[20];
  20677. + int i, j;
  20678. +
  20679. + strcpy(io_buffer, message(MSG_MINESTATS, 0, NULL, isjson));
  20680. +
  20681. + if (isjson) {
  20682. + strcat(io_buffer, COMMA);
  20683. + strcat(io_buffer, JSON_MINESTATS);
  20684. + }
  20685. +
  20686. + i = 0;
  20687. + for (j = 0; j < total_devices; j++) {
  20688. + struct cgpu_info *cgpu = devices[j];
  20689. +
  20690. + if (cgpu && cgpu->api) {
  20691. + if (cgpu->api->get_api_stats)
  20692. + cgpu->api->get_api_stats(extra, cgpu, isjson);
  20693. + else
  20694. + extra[0] = '\0';
  20695. +
  20696. + sprintf(id, "%s%d", cgpu->api->name, cgpu->device_id);
  20697. + i = itemstats(i, id, &(cgpu->cgminer_stats), extra, isjson);
  20698. + }
  20699. + }
  20700. +
  20701. + for (j = 0; j < total_pools; j++) {
  20702. + struct pool *pool = pools[j];
  20703. +
  20704. + sprintf(id, "POOL%d", j);
  20705. + i = itemstats(i, id, &(pool->cgminer_stats), NULL, isjson);
  20706. + }
  20707. +
  20708. + if (isjson)
  20709. + strcat(io_buffer, JSON_CLOSE);
  20710. +}
  20711. +
  20712. struct CMDS {
  20713. char *name;
  20714. void (*func)(SOCKETTYPE, char *, bool);
  20715. @@ -2030,6 +2110,7 @@ struct CMDS {
  20716. { "notify", notify, false },
  20717. { "devdetails", devdetails, false },
  20718. { "restart", dorestart, true },
  20719. + { "stats", minerstats, false },
  20720. { NULL, NULL, false }
  20721. };
  20722. --- /dev/null
  20723. +++ cgminer-2.4.1/install-sh
  20724. @@ -0,0 +1,527 @@
  20725. +#!/bin/sh
  20726. +# install - install a program, script, or datafile
  20727. +
  20728. +scriptversion=2011-01-19.21; # UTC
  20729. +
  20730. +# This originates from X11R5 (mit/util/scripts/install.sh), which was
  20731. +# later released in X11R6 (xc/config/util/install.sh) with the
  20732. +# following copyright and license.
  20733. +#
  20734. +# Copyright (C) 1994 X Consortium
  20735. +#
  20736. +# Permission is hereby granted, free of charge, to any person obtaining a copy
  20737. +# of this software and associated documentation files (the "Software"), to
  20738. +# deal in the Software without restriction, including without limitation the
  20739. +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  20740. +# sell copies of the Software, and to permit persons to whom the Software is
  20741. +# furnished to do so, subject to the following conditions:
  20742. +#
  20743. +# The above copyright notice and this permission notice shall be included in
  20744. +# all copies or substantial portions of the Software.
  20745. +#
  20746. +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  20747. +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20748. +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  20749. +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  20750. +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
  20751. +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  20752. +#
  20753. +# Except as contained in this notice, the name of the X Consortium shall not
  20754. +# be used in advertising or otherwise to promote the sale, use or other deal-
  20755. +# ings in this Software without prior written authorization from the X Consor-
  20756. +# tium.
  20757. +#
  20758. +#
  20759. +# FSF changes to this file are in the public domain.
  20760. +#
  20761. +# Calling this script install-sh is preferred over install.sh, to prevent
  20762. +# `make' implicit rules from creating a file called install from it
  20763. +# when there is no Makefile.
  20764. +#
  20765. +# This script is compatible with the BSD install script, but was written
  20766. +# from scratch.
  20767. +
  20768. +nl='
  20769. +'
  20770. +IFS=" "" $nl"
  20771. +
  20772. +# set DOITPROG to echo to test this script
  20773. +
  20774. +# Don't use :- since 4.3BSD and earlier shells don't like it.
  20775. +doit=${DOITPROG-}
  20776. +if test -z "$doit"; then
  20777. + doit_exec=exec
  20778. +else
  20779. + doit_exec=$doit
  20780. +fi
  20781. +
  20782. +# Put in absolute file names if you don't have them in your path;
  20783. +# or use environment vars.
  20784. +
  20785. +chgrpprog=${CHGRPPROG-chgrp}
  20786. +chmodprog=${CHMODPROG-chmod}
  20787. +chownprog=${CHOWNPROG-chown}
  20788. +cmpprog=${CMPPROG-cmp}
  20789. +cpprog=${CPPROG-cp}
  20790. +mkdirprog=${MKDIRPROG-mkdir}
  20791. +mvprog=${MVPROG-mv}
  20792. +rmprog=${RMPROG-rm}
  20793. +stripprog=${STRIPPROG-strip}
  20794. +
  20795. +posix_glob='?'
  20796. +initialize_posix_glob='
  20797. + test "$posix_glob" != "?" || {
  20798. + if (set -f) 2>/dev/null; then
  20799. + posix_glob=
  20800. + else
  20801. + posix_glob=:
  20802. + fi
  20803. + }
  20804. +'
  20805. +
  20806. +posix_mkdir=
  20807. +
  20808. +# Desired mode of installed file.
  20809. +mode=0755
  20810. +
  20811. +chgrpcmd=
  20812. +chmodcmd=$chmodprog
  20813. +chowncmd=
  20814. +mvcmd=$mvprog
  20815. +rmcmd="$rmprog -f"
  20816. +stripcmd=
  20817. +
  20818. +src=
  20819. +dst=
  20820. +dir_arg=
  20821. +dst_arg=
  20822. +
  20823. +copy_on_change=false
  20824. +no_target_directory=
  20825. +
  20826. +usage="\
  20827. +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
  20828. + or: $0 [OPTION]... SRCFILES... DIRECTORY
  20829. + or: $0 [OPTION]... -t DIRECTORY SRCFILES...
  20830. + or: $0 [OPTION]... -d DIRECTORIES...
  20831. +
  20832. +In the 1st form, copy SRCFILE to DSTFILE.
  20833. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
  20834. +In the 4th, create DIRECTORIES.
  20835. +
  20836. +Options:
  20837. + --help display this help and exit.
  20838. + --version display version info and exit.
  20839. +
  20840. + -c (ignored)
  20841. + -C install only if different (preserve the last data modification time)
  20842. + -d create directories instead of installing files.
  20843. + -g GROUP $chgrpprog installed files to GROUP.
  20844. + -m MODE $chmodprog installed files to MODE.
  20845. + -o USER $chownprog installed files to USER.
  20846. + -s $stripprog installed files.
  20847. + -t DIRECTORY install into DIRECTORY.
  20848. + -T report an error if DSTFILE is a directory.
  20849. +
  20850. +Environment variables override the default commands:
  20851. + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
  20852. + RMPROG STRIPPROG
  20853. +"
  20854. +
  20855. +while test $# -ne 0; do
  20856. + case $1 in
  20857. + -c) ;;
  20858. +
  20859. + -C) copy_on_change=true;;
  20860. +
  20861. + -d) dir_arg=true;;
  20862. +
  20863. + -g) chgrpcmd="$chgrpprog $2"
  20864. + shift;;
  20865. +
  20866. + --help) echo "$usage"; exit $?;;
  20867. +
  20868. + -m) mode=$2
  20869. + case $mode in
  20870. + *' '* | *' '* | *'
  20871. +'* | *'*'* | *'?'* | *'['*)
  20872. + echo "$0: invalid mode: $mode" >&2
  20873. + exit 1;;
  20874. + esac
  20875. + shift;;
  20876. +
  20877. + -o) chowncmd="$chownprog $2"
  20878. + shift;;
  20879. +
  20880. + -s) stripcmd=$stripprog;;
  20881. +
  20882. + -t) dst_arg=$2
  20883. + # Protect names problematic for `test' and other utilities.
  20884. + case $dst_arg in
  20885. + -* | [=\(\)!]) dst_arg=./$dst_arg;;
  20886. + esac
  20887. + shift;;
  20888. +
  20889. + -T) no_target_directory=true;;
  20890. +
  20891. + --version) echo "$0 $scriptversion"; exit $?;;
  20892. +
  20893. + --) shift
  20894. + break;;
  20895. +
  20896. + -*) echo "$0: invalid option: $1" >&2
  20897. + exit 1;;
  20898. +
  20899. + *) break;;
  20900. + esac
  20901. + shift
  20902. +done
  20903. +
  20904. +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
  20905. + # When -d is used, all remaining arguments are directories to create.
  20906. + # When -t is used, the destination is already specified.
  20907. + # Otherwise, the last argument is the destination. Remove it from $@.
  20908. + for arg
  20909. + do
  20910. + if test -n "$dst_arg"; then
  20911. + # $@ is not empty: it contains at least $arg.
  20912. + set fnord "$@" "$dst_arg"
  20913. + shift # fnord
  20914. + fi
  20915. + shift # arg
  20916. + dst_arg=$arg
  20917. + # Protect names problematic for `test' and other utilities.
  20918. + case $dst_arg in
  20919. + -* | [=\(\)!]) dst_arg=./$dst_arg;;
  20920. + esac
  20921. + done
  20922. +fi
  20923. +
  20924. +if test $# -eq 0; then
  20925. + if test -z "$dir_arg"; then
  20926. + echo "$0: no input file specified." >&2
  20927. + exit 1
  20928. + fi
  20929. + # It's OK to call `install-sh -d' without argument.
  20930. + # This can happen when creating conditional directories.
  20931. + exit 0
  20932. +fi
  20933. +
  20934. +if test -z "$dir_arg"; then
  20935. + do_exit='(exit $ret); exit $ret'
  20936. + trap "ret=129; $do_exit" 1
  20937. + trap "ret=130; $do_exit" 2
  20938. + trap "ret=141; $do_exit" 13
  20939. + trap "ret=143; $do_exit" 15
  20940. +
  20941. + # Set umask so as not to create temps with too-generous modes.
  20942. + # However, 'strip' requires both read and write access to temps.
  20943. + case $mode in
  20944. + # Optimize common cases.
  20945. + *644) cp_umask=133;;
  20946. + *755) cp_umask=22;;
  20947. +
  20948. + *[0-7])
  20949. + if test -z "$stripcmd"; then
  20950. + u_plus_rw=
  20951. + else
  20952. + u_plus_rw='% 200'
  20953. + fi
  20954. + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
  20955. + *)
  20956. + if test -z "$stripcmd"; then
  20957. + u_plus_rw=
  20958. + else
  20959. + u_plus_rw=,u+rw
  20960. + fi
  20961. + cp_umask=$mode$u_plus_rw;;
  20962. + esac
  20963. +fi
  20964. +
  20965. +for src
  20966. +do
  20967. + # Protect names problematic for `test' and other utilities.
  20968. + case $src in
  20969. + -* | [=\(\)!]) src=./$src;;
  20970. + esac
  20971. +
  20972. + if test -n "$dir_arg"; then
  20973. + dst=$src
  20974. + dstdir=$dst
  20975. + test -d "$dstdir"
  20976. + dstdir_status=$?
  20977. + else
  20978. +
  20979. + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
  20980. + # might cause directories to be created, which would be especially bad
  20981. + # if $src (and thus $dsttmp) contains '*'.
  20982. + if test ! -f "$src" && test ! -d "$src"; then
  20983. + echo "$0: $src does not exist." >&2
  20984. + exit 1
  20985. + fi
  20986. +
  20987. + if test -z "$dst_arg"; then
  20988. + echo "$0: no destination specified." >&2
  20989. + exit 1
  20990. + fi
  20991. + dst=$dst_arg
  20992. +
  20993. + # If destination is a directory, append the input filename; won't work
  20994. + # if double slashes aren't ignored.
  20995. + if test -d "$dst"; then
  20996. + if test -n "$no_target_directory"; then
  20997. + echo "$0: $dst_arg: Is a directory" >&2
  20998. + exit 1
  20999. + fi
  21000. + dstdir=$dst
  21001. + dst=$dstdir/`basename "$src"`
  21002. + dstdir_status=0
  21003. + else
  21004. + # Prefer dirname, but fall back on a substitute if dirname fails.
  21005. + dstdir=`
  21006. + (dirname "$dst") 2>/dev/null ||
  21007. + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  21008. + X"$dst" : 'X\(//\)[^/]' \| \
  21009. + X"$dst" : 'X\(//\)$' \| \
  21010. + X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
  21011. + echo X"$dst" |
  21012. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  21013. + s//\1/
  21014. + q
  21015. + }
  21016. + /^X\(\/\/\)[^/].*/{
  21017. + s//\1/
  21018. + q
  21019. + }
  21020. + /^X\(\/\/\)$/{
  21021. + s//\1/
  21022. + q
  21023. + }
  21024. + /^X\(\/\).*/{
  21025. + s//\1/
  21026. + q
  21027. + }
  21028. + s/.*/./; q'
  21029. + `
  21030. +
  21031. + test -d "$dstdir"
  21032. + dstdir_status=$?
  21033. + fi
  21034. + fi
  21035. +
  21036. + obsolete_mkdir_used=false
  21037. +
  21038. + if test $dstdir_status != 0; then
  21039. + case $posix_mkdir in
  21040. + '')
  21041. + # Create intermediate dirs using mode 755 as modified by the umask.
  21042. + # This is like FreeBSD 'install' as of 1997-10-28.
  21043. + umask=`umask`
  21044. + case $stripcmd.$umask in
  21045. + # Optimize common cases.
  21046. + *[2367][2367]) mkdir_umask=$umask;;
  21047. + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
  21048. +
  21049. + *[0-7])
  21050. + mkdir_umask=`expr $umask + 22 \
  21051. + - $umask % 100 % 40 + $umask % 20 \
  21052. + - $umask % 10 % 4 + $umask % 2
  21053. + `;;
  21054. + *) mkdir_umask=$umask,go-w;;
  21055. + esac
  21056. +
  21057. + # With -d, create the new directory with the user-specified mode.
  21058. + # Otherwise, rely on $mkdir_umask.
  21059. + if test -n "$dir_arg"; then
  21060. + mkdir_mode=-m$mode
  21061. + else
  21062. + mkdir_mode=
  21063. + fi
  21064. +
  21065. + posix_mkdir=false
  21066. + case $umask in
  21067. + *[123567][0-7][0-7])
  21068. + # POSIX mkdir -p sets u+wx bits regardless of umask, which
  21069. + # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
  21070. + ;;
  21071. + *)
  21072. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
  21073. + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
  21074. +
  21075. + if (umask $mkdir_umask &&
  21076. + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
  21077. + then
  21078. + if test -z "$dir_arg" || {
  21079. + # Check for POSIX incompatibilities with -m.
  21080. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
  21081. + # other-writeable bit of parent directory when it shouldn't.
  21082. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
  21083. + ls_ld_tmpdir=`ls -ld "$tmpdir"`
  21084. + case $ls_ld_tmpdir in
  21085. + d????-?r-*) different_mode=700;;
  21086. + d????-?--*) different_mode=755;;
  21087. + *) false;;
  21088. + esac &&
  21089. + $mkdirprog -m$different_mode -p -- "$tmpdir" && {
  21090. + ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
  21091. + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
  21092. + }
  21093. + }
  21094. + then posix_mkdir=:
  21095. + fi
  21096. + rmdir "$tmpdir/d" "$tmpdir"
  21097. + else
  21098. + # Remove any dirs left behind by ancient mkdir implementations.
  21099. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
  21100. + fi
  21101. + trap '' 0;;
  21102. + esac;;
  21103. + esac
  21104. +
  21105. + if
  21106. + $posix_mkdir && (
  21107. + umask $mkdir_umask &&
  21108. + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
  21109. + )
  21110. + then :
  21111. + else
  21112. +
  21113. + # The umask is ridiculous, or mkdir does not conform to POSIX,
  21114. + # or it failed possibly due to a race condition. Create the
  21115. + # directory the slow way, step by step, checking for races as we go.
  21116. +
  21117. + case $dstdir in
  21118. + /*) prefix='/';;
  21119. + [-=\(\)!]*) prefix='./';;
  21120. + *) prefix='';;
  21121. + esac
  21122. +
  21123. + eval "$initialize_posix_glob"
  21124. +
  21125. + oIFS=$IFS
  21126. + IFS=/
  21127. + $posix_glob set -f
  21128. + set fnord $dstdir
  21129. + shift
  21130. + $posix_glob set +f
  21131. + IFS=$oIFS
  21132. +
  21133. + prefixes=
  21134. +
  21135. + for d
  21136. + do
  21137. + test X"$d" = X && continue
  21138. +
  21139. + prefix=$prefix$d
  21140. + if test -d "$prefix"; then
  21141. + prefixes=
  21142. + else
  21143. + if $posix_mkdir; then
  21144. + (umask=$mkdir_umask &&
  21145. + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
  21146. + # Don't fail if two instances are running concurrently.
  21147. + test -d "$prefix" || exit 1
  21148. + else
  21149. + case $prefix in
  21150. + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
  21151. + *) qprefix=$prefix;;
  21152. + esac
  21153. + prefixes="$prefixes '$qprefix'"
  21154. + fi
  21155. + fi
  21156. + prefix=$prefix/
  21157. + done
  21158. +
  21159. + if test -n "$prefixes"; then
  21160. + # Don't fail if two instances are running concurrently.
  21161. + (umask $mkdir_umask &&
  21162. + eval "\$doit_exec \$mkdirprog $prefixes") ||
  21163. + test -d "$dstdir" || exit 1
  21164. + obsolete_mkdir_used=true
  21165. + fi
  21166. + fi
  21167. + fi
  21168. +
  21169. + if test -n "$dir_arg"; then
  21170. + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
  21171. + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
  21172. + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
  21173. + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
  21174. + else
  21175. +
  21176. + # Make a couple of temp file names in the proper directory.
  21177. + dsttmp=$dstdir/_inst.$$_
  21178. + rmtmp=$dstdir/_rm.$$_
  21179. +
  21180. + # Trap to clean up those temp files at exit.
  21181. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
  21182. +
  21183. + # Copy the file name to the temp name.
  21184. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
  21185. +
  21186. + # and set any options; do chmod last to preserve setuid bits.
  21187. + #
  21188. + # If any of these fail, we abort the whole thing. If we want to
  21189. + # ignore errors from any of these, just make sure not to ignore
  21190. + # errors from the above "$doit $cpprog $src $dsttmp" command.
  21191. + #
  21192. + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
  21193. + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
  21194. + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
  21195. + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
  21196. +
  21197. + # If -C, don't bother to copy if it wouldn't change the file.
  21198. + if $copy_on_change &&
  21199. + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
  21200. + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
  21201. +
  21202. + eval "$initialize_posix_glob" &&
  21203. + $posix_glob set -f &&
  21204. + set X $old && old=:$2:$4:$5:$6 &&
  21205. + set X $new && new=:$2:$4:$5:$6 &&
  21206. + $posix_glob set +f &&
  21207. +
  21208. + test "$old" = "$new" &&
  21209. + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
  21210. + then
  21211. + rm -f "$dsttmp"
  21212. + else
  21213. + # Rename the file to the real destination.
  21214. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
  21215. +
  21216. + # The rename failed, perhaps because mv can't rename something else
  21217. + # to itself, or perhaps because mv is so ancient that it does not
  21218. + # support -f.
  21219. + {
  21220. + # Now remove or move aside any old file at destination location.
  21221. + # We try this two ways since rm can't unlink itself on some
  21222. + # systems and the destination file might be busy for other
  21223. + # reasons. In this case, the final cleanup might fail but the new
  21224. + # file should still install successfully.
  21225. + {
  21226. + test ! -f "$dst" ||
  21227. + $doit $rmcmd -f "$dst" 2>/dev/null ||
  21228. + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
  21229. + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
  21230. + } ||
  21231. + { echo "$0: cannot unlink or rename $dst" >&2
  21232. + (exit 1); exit 1
  21233. + }
  21234. + } &&
  21235. +
  21236. + # Now rename the file to the real destination.
  21237. + $doit $mvcmd "$dsttmp" "$dst"
  21238. + }
  21239. + fi || exit 1
  21240. +
  21241. + trap '' 0
  21242. + fi
  21243. +done
  21244. +
  21245. +# Local variables:
  21246. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  21247. +# time-stamp-start: "scriptversion="
  21248. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  21249. +# time-stamp-time-zone: "UTC"
  21250. +# time-stamp-end: "; # UTC"
  21251. +# End:
  21252. --- /dev/null
  21253. +++ cgminer-2.4.1/ADL_SDK/adl_defines.h
  21254. @@ -0,0 +1,1343 @@
  21255. +//
  21256. +// Copyright (c) 2008 - 2012 Advanced Micro Devices, Inc.
  21257. +
  21258. +// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  21259. +// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
  21260. +// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  21261. +
  21262. +/// \file adl_defines.h
  21263. +/// \brief Contains all definitions exposed by ADL for \ALL platforms.\n <b>Included in ADL SDK</b>
  21264. +///
  21265. +/// This file contains all definitions used by ADL.
  21266. +/// The ADL definitions include the following:
  21267. +/// \li ADL error codes
  21268. +/// \li Enumerations for the ADLDisplayInfo structure
  21269. +/// \li Maximum limits
  21270. +///
  21271. +
  21272. +#ifndef ADL_DEFINES_H_
  21273. +#define ADL_DEFINES_H_
  21274. +
  21275. +/// \defgroup DEFINES Constants and Definitions
  21276. +// @{
  21277. +
  21278. +/// \defgroup define_misc Miscellaneous Constant Definitions
  21279. +// @{
  21280. +
  21281. +/// \name General Definitions
  21282. +// @{
  21283. +
  21284. +/// Defines ADL_TRUE
  21285. +#define ADL_TRUE 1
  21286. +/// Defines ADL_FALSE
  21287. +#define ADL_FALSE 0
  21288. +
  21289. +/// Defines the maximum string length
  21290. +#define ADL_MAX_CHAR 4096
  21291. +/// Defines the maximum string length
  21292. +#define ADL_MAX_PATH 256
  21293. +/// Defines the maximum number of supported adapters
  21294. +#define ADL_MAX_ADAPTERS 250
  21295. +/// Defines the maxumum number of supported displays
  21296. +#define ADL_MAX_DISPLAYS 150
  21297. +/// Defines the maxumum string length for device name
  21298. +#define ADL_MAX_DEVICENAME 32
  21299. +/// Defines for all adapters
  21300. +#define ADL_ADAPTER_INDEX_ALL -1
  21301. +/// Defines APIs with iOption none
  21302. +#define ADL_MAIN_API_OPTION_NONE 0
  21303. +// @}
  21304. +
  21305. +/// \name Definitions for iOption parameter used by
  21306. +/// ADL_Display_DDCBlockAccess_Get()
  21307. +// @{
  21308. +
  21309. +/// Switch to DDC line 2 before sending the command to the display.
  21310. +#define ADL_DDC_OPTION_SWITCHDDC2 0x00000001
  21311. +/// Save command in the registry under a unique key, corresponding to parameter \b iCommandIndex
  21312. +#define ADL_DDC_OPTION_RESTORECOMMAND 0x00000002
  21313. +/// Combine write-read DDC block access command.
  21314. +#define ADL_DDC_OPTION_COMBOWRITEREAD 0x00000010
  21315. +// @}
  21316. +
  21317. +/// \name Values for
  21318. +/// ADLI2C.iAction used with ADL_Display_WriteAndReadI2C()
  21319. +// @{
  21320. +
  21321. +#define ADL_DL_I2C_ACTIONREAD 0x00000001
  21322. +#define ADL_DL_I2C_ACTIONWRITE 0x00000002
  21323. +#define ADL_DL_I2C_ACTIONREAD_REPEATEDSTART 0x00000003
  21324. +// @}
  21325. +
  21326. +
  21327. +// @} //Misc
  21328. +
  21329. +/// \defgroup define_adl_results Result Codes
  21330. +/// This group of definitions are the various results returned by all ADL functions \n
  21331. +// @{
  21332. +/// All OK, but need to wait
  21333. +#define ADL_OK_WAIT 4
  21334. +/// All OK, but need restart
  21335. +#define ADL_OK_RESTART 3
  21336. +/// All OK but need mode change
  21337. +#define ADL_OK_MODE_CHANGE 2
  21338. +/// All OK, but with warning
  21339. +#define ADL_OK_WARNING 1
  21340. +/// ADL function completed successfully
  21341. +#define ADL_OK 0
  21342. +/// Generic Error. Most likely one or more of the Escape calls to the driver failed!
  21343. +#define ADL_ERR -1
  21344. +/// ADL not initialized
  21345. +#define ADL_ERR_NOT_INIT -2
  21346. +/// One of the parameter passed is invalid
  21347. +#define ADL_ERR_INVALID_PARAM -3
  21348. +/// One of the parameter size is invalid
  21349. +#define ADL_ERR_INVALID_PARAM_SIZE -4
  21350. +/// Invalid ADL index passed
  21351. +#define ADL_ERR_INVALID_ADL_IDX -5
  21352. +/// Invalid controller index passed
  21353. +#define ADL_ERR_INVALID_CONTROLLER_IDX -6
  21354. +/// Invalid display index passed
  21355. +#define ADL_ERR_INVALID_DIPLAY_IDX -7
  21356. +/// Function not supported by the driver
  21357. +#define ADL_ERR_NOT_SUPPORTED -8
  21358. +/// Null Pointer error
  21359. +#define ADL_ERR_NULL_POINTER -9
  21360. +/// Call can't be made due to disabled adapter
  21361. +#define ADL_ERR_DISABLED_ADAPTER -10
  21362. +/// Invalid Callback
  21363. +#define ADL_ERR_INVALID_CALLBACK -11
  21364. +/// Display Resource conflict
  21365. +#define ADL_ERR_RESOURCE_CONFLICT -12
  21366. +
  21367. +// @}
  21368. +/// </A>
  21369. +
  21370. +/// \defgroup define_display_type Display Type
  21371. +/// Define Monitor/CRT display type
  21372. +// @{
  21373. +/// Define Monitor display type
  21374. +#define ADL_DT_MONITOR 0
  21375. +/// Define TV display type
  21376. +#define ADL_DT_TELEVISION 1
  21377. +/// Define LCD display type
  21378. +#define ADL_DT_LCD_PANEL 2
  21379. +/// Define DFP display type
  21380. +#define ADL_DT_DIGITAL_FLAT_PANEL 3
  21381. +/// Define Componment Video display type
  21382. +#define ADL_DT_COMPONENT_VIDEO 4
  21383. +/// Define Projector display type
  21384. +#define ADL_DT_PROJECTOR 5
  21385. +// @}
  21386. +
  21387. +/// \defgroup define_display_connection_type Display Connection Type
  21388. +// @{
  21389. +/// Define unknown display output type
  21390. +#define ADL_DOT_UNKNOWN 0
  21391. +/// Define composite display output type
  21392. +#define ADL_DOT_COMPOSITE 1
  21393. +/// Define SVideo display output type
  21394. +#define ADL_DOT_SVIDEO 2
  21395. +/// Define analog display output type
  21396. +#define ADL_DOT_ANALOG 3
  21397. +/// Define digital display output type
  21398. +#define ADL_DOT_DIGITAL 4
  21399. +// @}
  21400. +
  21401. +/// \defgroup define_color_type Display Color Type and Source
  21402. +/// Define Display Color Type and Source
  21403. +// @{
  21404. +#define ADL_DISPLAY_COLOR_BRIGHTNESS (1 << 0)
  21405. +#define ADL_DISPLAY_COLOR_CONTRAST (1 << 1)
  21406. +#define ADL_DISPLAY_COLOR_SATURATION (1 << 2)
  21407. +#define ADL_DISPLAY_COLOR_HUE (1 << 3)
  21408. +#define ADL_DISPLAY_COLOR_TEMPERATURE (1 << 4)
  21409. +
  21410. +/// Color Temperature Source is EDID
  21411. +#define ADL_DISPLAY_COLOR_TEMPERATURE_SOURCE_EDID (1 << 5)
  21412. +/// Color Temperature Source is User
  21413. +#define ADL_DISPLAY_COLOR_TEMPERATURE_SOURCE_USER (1 << 6)
  21414. +// @}
  21415. +
  21416. +/// \defgroup define_adjustment_capabilities Display Adjustment Capabilities
  21417. +/// Display adjustment capabilities values. Returned by ADL_Display_AdjustCaps_Get
  21418. +// @{
  21419. +#define ADL_DISPLAY_ADJUST_OVERSCAN (1 << 0)
  21420. +#define ADL_DISPLAY_ADJUST_VERT_POS (1 << 1)
  21421. +#define ADL_DISPLAY_ADJUST_HOR_POS (1 << 2)
  21422. +#define ADL_DISPLAY_ADJUST_VERT_SIZE (1 << 3)
  21423. +#define ADL_DISPLAY_ADJUST_HOR_SIZE (1 << 4)
  21424. +#define ADL_DISPLAY_ADJUST_SIZEPOS (ADL_DISPLAY_ADJUST_VERT_POS | ADL_DISPLAY_ADJUST_HOR_POS | ADL_DISPLAY_ADJUST_VERT_SIZE | ADL_DISPLAY_ADJUST_HOR_SIZE)
  21425. +#define ADL_DISPLAY_CUSTOMMODES (1<<5)
  21426. +#define ADL_DISPLAY_ADJUST_UNDERSCAN (1<<6)
  21427. +// @}
  21428. +
  21429. +
  21430. +/// \defgroup define_desktop_config Desktop Configuration Flags
  21431. +/// These flags are used by ADL_DesktopConfig_xxx
  21432. +// @{
  21433. +#define ADL_DESKTOPCONFIG_UNKNOWN 0 /* UNKNOWN desktop config */
  21434. +#define ADL_DESKTOPCONFIG_SINGLE (1 << 0) /* Single */
  21435. +#define ADL_DESKTOPCONFIG_CLONE (1 << 2) /* Clone */
  21436. +#define ADL_DESKTOPCONFIG_BIGDESK_H (1 << 4) /* Big Desktop Horizontal */
  21437. +#define ADL_DESKTOPCONFIG_BIGDESK_V (1 << 5) /* Big Desktop Vertical */
  21438. +#define ADL_DESKTOPCONFIG_BIGDESK_HR (1 << 6) /* Big Desktop Reverse Horz */
  21439. +#define ADL_DESKTOPCONFIG_BIGDESK_VR (1 << 7) /* Big Desktop Reverse Vert */
  21440. +#define ADL_DESKTOPCONFIG_RANDR12 (1 << 8) /* RandR 1.2 Multi-display */
  21441. +// @}
  21442. +
  21443. +/// needed for ADLDDCInfo structure
  21444. +#define ADL_MAX_DISPLAY_NAME 256
  21445. +
  21446. +/// \defgroup define_edid_flags Values for ulDDCInfoFlag
  21447. +/// defines for ulDDCInfoFlag EDID flag
  21448. +// @{
  21449. +#define ADL_DISPLAYDDCINFOEX_FLAG_PROJECTORDEVICE (1 << 0)
  21450. +#define ADL_DISPLAYDDCINFOEX_FLAG_EDIDEXTENSION (1 << 1)
  21451. +#define ADL_DISPLAYDDCINFOEX_FLAG_DIGITALDEVICE (1 << 2)
  21452. +#define ADL_DISPLAYDDCINFOEX_FLAG_HDMIAUDIODEVICE (1 << 3)
  21453. +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORTS_AI (1 << 4)
  21454. +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC601 (1 << 5)
  21455. +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC709 (1 << 6)
  21456. +// @}
  21457. +
  21458. +/// \defgroup define_displayinfo_connector Display Connector Type
  21459. +/// defines for ADLDisplayInfo.iDisplayConnector
  21460. +// @{
  21461. +#define ADL_DISPLAY_CONTYPE_UNKNOWN 0
  21462. +#define ADL_DISPLAY_CONTYPE_VGA 1
  21463. +#define ADL_DISPLAY_CONTYPE_DVI_D 2
  21464. +#define ADL_DISPLAY_CONTYPE_DVI_I 3
  21465. +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NTSC 4
  21466. +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_JPN 5
  21467. +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_JPN 6
  21468. +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_NTSC 7
  21469. +#define ADL_DISPLAY_CONTYPE_PROPRIETARY 8
  21470. +#define ADL_DISPLAY_CONTYPE_HDMI_TYPE_A 10
  21471. +#define ADL_DISPLAY_CONTYPE_HDMI_TYPE_B 11
  21472. +#define ADL_DISPLAY_CONTYPE_SVIDEO 12
  21473. +#define ADL_DISPLAY_CONTYPE_COMPOSITE 13
  21474. +#define ADL_DISPLAY_CONTYPE_RCA_3COMPONENT 14
  21475. +#define ADL_DISPLAY_CONTYPE_DISPLAYPORT 15
  21476. +#define ADL_DISPLAY_CONTYPE_EDP 16
  21477. +#define ADL_DISPLAY_CONTYPE_WIRELESSDISPLAY 17
  21478. +// @}
  21479. +
  21480. +/// TV Capabilities and Standards
  21481. +/// \defgroup define_tv_caps TV Capabilities and Standards
  21482. +// @{
  21483. +#define ADL_TV_STANDARDS (1 << 0)
  21484. +#define ADL_TV_SCART (1 << 1)
  21485. +
  21486. +/// TV Standards Definitions
  21487. +#define ADL_STANDARD_NTSC_M (1 << 0)
  21488. +#define ADL_STANDARD_NTSC_JPN (1 << 1)
  21489. +#define ADL_STANDARD_NTSC_N (1 << 2)
  21490. +#define ADL_STANDARD_PAL_B (1 << 3)
  21491. +#define ADL_STANDARD_PAL_COMB_N (1 << 4)
  21492. +#define ADL_STANDARD_PAL_D (1 << 5)
  21493. +#define ADL_STANDARD_PAL_G (1 << 6)
  21494. +#define ADL_STANDARD_PAL_H (1 << 7)
  21495. +#define ADL_STANDARD_PAL_I (1 << 8)
  21496. +#define ADL_STANDARD_PAL_K (1 << 9)
  21497. +#define ADL_STANDARD_PAL_K1 (1 << 10)
  21498. +#define ADL_STANDARD_PAL_L (1 << 11)
  21499. +#define ADL_STANDARD_PAL_M (1 << 12)
  21500. +#define ADL_STANDARD_PAL_N (1 << 13)
  21501. +#define ADL_STANDARD_PAL_SECAM_D (1 << 14)
  21502. +#define ADL_STANDARD_PAL_SECAM_K (1 << 15)
  21503. +#define ADL_STANDARD_PAL_SECAM_K1 (1 << 16)
  21504. +#define ADL_STANDARD_PAL_SECAM_L (1 << 17)
  21505. +// @}
  21506. +
  21507. +
  21508. +/// \defgroup define_video_custom_mode Video Custom Mode flags
  21509. +/// Component Video Custom Mode flags. This is used by the iFlags parameter in ADLCustomMode
  21510. +// @{
  21511. +#define ADL_CUSTOMIZEDMODEFLAG_MODESUPPORTED (1 << 0)
  21512. +#define ADL_CUSTOMIZEDMODEFLAG_NOTDELETETABLE (1 << 1)
  21513. +#define ADL_CUSTOMIZEDMODEFLAG_INSERTBYDRIVER (1 << 2)
  21514. +#define ADL_CUSTOMIZEDMODEFLAG_INTERLACED (1 << 3)
  21515. +#define ADL_CUSTOMIZEDMODEFLAG_BASEMODE (1 << 4)
  21516. +// @}
  21517. +
  21518. +/// \defgroup define_ddcinfoflag Values used for DDCInfoFlag
  21519. +/// ulDDCInfoFlag field values used by the ADLDDCInfo structure
  21520. +// @{
  21521. +#define ADL_DISPLAYDDCINFOEX_FLAG_PROJECTORDEVICE (1 << 0)
  21522. +#define ADL_DISPLAYDDCINFOEX_FLAG_EDIDEXTENSION (1 << 1)
  21523. +#define ADL_DISPLAYDDCINFOEX_FLAG_DIGITALDEVICE (1 << 2)
  21524. +#define ADL_DISPLAYDDCINFOEX_FLAG_HDMIAUDIODEVICE (1 << 3)
  21525. +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORTS_AI (1 << 4)
  21526. +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC601 (1 << 5)
  21527. +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC709 (1 << 6)
  21528. +// @}
  21529. +
  21530. +/// \defgroup define_cv_dongle Values used by ADL_CV_DongleSettings_xxx
  21531. +/// The following is applicable to ADL_DISPLAY_CONTYPE_ATICVDONGLE_JP and ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_D only
  21532. +// @{
  21533. +#define ADL_DISPLAY_CV_DONGLE_D1 (1 << 0)
  21534. +#define ADL_DISPLAY_CV_DONGLE_D2 (1 << 1)
  21535. +#define ADL_DISPLAY_CV_DONGLE_D3 (1 << 2)
  21536. +#define ADL_DISPLAY_CV_DONGLE_D4 (1 << 3)
  21537. +#define ADL_DISPLAY_CV_DONGLE_D5 (1 << 4)
  21538. +
  21539. +/// The following is applicable to ADL_DISPLAY_CONTYPE_ATICVDONGLE_NA and ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C only
  21540. +
  21541. +#define ADL_DISPLAY_CV_DONGLE_480I (1 << 0)
  21542. +#define ADL_DISPLAY_CV_DONGLE_480P (1 << 1)
  21543. +#define ADL_DISPLAY_CV_DONGLE_540P (1 << 2)
  21544. +#define ADL_DISPLAY_CV_DONGLE_720P (1 << 3)
  21545. +#define ADL_DISPLAY_CV_DONGLE_1080I (1 << 4)
  21546. +#define ADL_DISPLAY_CV_DONGLE_1080P (1 << 5)
  21547. +#define ADL_DISPLAY_CV_DONGLE_16_9 (1 << 6)
  21548. +#define ADL_DISPLAY_CV_DONGLE_720P50 (1 << 7)
  21549. +#define ADL_DISPLAY_CV_DONGLE_1080I25 (1 << 8)
  21550. +#define ADL_DISPLAY_CV_DONGLE_576I25 (1 << 9)
  21551. +#define ADL_DISPLAY_CV_DONGLE_576P50 (1 << 10)
  21552. +#define ADL_DISPLAY_CV_DONGLE_1080P24 (1 << 11)
  21553. +#define ADL_DISPLAY_CV_DONGLE_1080P25 (1 << 12)
  21554. +#define ADL_DISPLAY_CV_DONGLE_1080P30 (1 << 13)
  21555. +#define ADL_DISPLAY_CV_DONGLE_1080P50 (1 << 14)
  21556. +// @}
  21557. +
  21558. +/// \defgroup define_formats_ovr Formats Override Settings
  21559. +/// Display force modes flags
  21560. +// @{
  21561. +///
  21562. +#define ADL_DISPLAY_FORMAT_FORCE_720P 0x00000001
  21563. +#define ADL_DISPLAY_FORMAT_FORCE_1080I 0x00000002
  21564. +#define ADL_DISPLAY_FORMAT_FORCE_1080P 0x00000004
  21565. +#define ADL_DISPLAY_FORMAT_FORCE_720P50 0x00000008
  21566. +#define ADL_DISPLAY_FORMAT_FORCE_1080I25 0x00000010
  21567. +#define ADL_DISPLAY_FORMAT_FORCE_576I25 0x00000020
  21568. +#define ADL_DISPLAY_FORMAT_FORCE_576P50 0x00000040
  21569. +#define ADL_DISPLAY_FORMAT_FORCE_1080P24 0x00000080
  21570. +#define ADL_DISPLAY_FORMAT_FORCE_1080P25 0x00000100
  21571. +#define ADL_DISPLAY_FORMAT_FORCE_1080P30 0x00000200
  21572. +#define ADL_DISPLAY_FORMAT_FORCE_1080P50 0x00000400
  21573. +
  21574. +///< Below are \b EXTENDED display mode flags
  21575. +
  21576. +#define ADL_DISPLAY_FORMAT_CVDONGLEOVERIDE 0x00000001
  21577. +#define ADL_DISPLAY_FORMAT_CVMODEUNDERSCAN 0x00000002
  21578. +#define ADL_DISPLAY_FORMAT_FORCECONNECT_SUPPORTED 0x00000004
  21579. +#define ADL_DISPLAY_FORMAT_RESTRICT_FORMAT_SELECTION 0x00000008
  21580. +#define ADL_DISPLAY_FORMAT_SETASPECRATIO 0x00000010
  21581. +#define ADL_DISPLAY_FORMAT_FORCEMODES 0x00000020
  21582. +#define ADL_DISPLAY_FORMAT_LCDRTCCOEFF 0x00000040
  21583. +// @}
  21584. +
  21585. +/// Defines used by OD5
  21586. +#define ADL_PM_PARAM_DONT_CHANGE 0
  21587. +
  21588. +/// The following defines Bus types
  21589. +// @{
  21590. +#define ADL_BUSTYPE_PCI 0 /* PCI bus */
  21591. +#define ADL_BUSTYPE_AGP 1 /* AGP bus */
  21592. +#define ADL_BUSTYPE_PCIE 2 /* PCI Express bus */
  21593. +#define ADL_BUSTYPE_PCIE_GEN2 3 /* PCI Express 2nd generation bus */
  21594. +#define ADL_BUSTYPE_PCIE_GEN3 4 /* PCI Express 3rd generation bus */
  21595. +// @}
  21596. +
  21597. +/// \defgroup define_ws_caps Workstation Capabilities
  21598. +/// Workstation values
  21599. +// @{
  21600. +
  21601. +/// This value indicates that the workstation card supports active stereo though stereo output connector
  21602. +#define ADL_STEREO_SUPPORTED (1 << 2)
  21603. +/// This value indicates that the workstation card supports active stereo via "blue-line"
  21604. +#define ADL_STEREO_BLUE_LINE (1 << 3)
  21605. +/// This value is used to turn off stereo mode.
  21606. +#define ADL_STEREO_OFF 0
  21607. +/// This value indicates that the workstation card supports active stereo. This is also used to set the stereo mode to active though the stereo output connector
  21608. +#define ADL_STEREO_ACTIVE (1 << 1)
  21609. +/// This value indicates that the workstation card supports auto-stereo monitors with horizontal interleave. This is also used to set the stereo mode to use the auto-stereo monitor with horizontal interleave
  21610. +#define ADL_STEREO_AUTO_HORIZONTAL (1 << 30)
  21611. +/// This value indicates that the workstation card supports auto-stereo monitors with vertical interleave. This is also used to set the stereo mode to use the auto-stereo monitor with vertical interleave
  21612. +#define ADL_STEREO_AUTO_VERTICAL (1 << 31)
  21613. +/// This value indicates that the workstation card supports passive stereo, ie. non stereo sync
  21614. +#define ADL_STEREO_PASSIVE (1 << 6)
  21615. +/// This value indicates that the workstation card supports auto-stereo monitors with vertical interleave. This is also used to set the stereo mode to use the auto-stereo monitor with vertical interleave
  21616. +#define ADL_STEREO_PASSIVE_HORIZ (1 << 7)
  21617. +/// This value indicates that the workstation card supports auto-stereo monitors with vertical interleave. This is also used to set the stereo mode to use the auto-stereo monitor with vertical interleave
  21618. +#define ADL_STEREO_PASSIVE_VERT (1 << 8)
  21619. +/// This value indicates that the workstation card supports DeepBitDepth (10 bpp)
  21620. +#define ADL_DEEPBITDEPTH_10BPP_SUPPORTED (1 << 5)
  21621. +
  21622. +/// This value indicates that the workstation supports 8-Bit Grayscale
  21623. +#define ADL_8BIT_GREYSCALE_SUPPORTED (1 << 9)
  21624. +
  21625. +/// Load balancing is supported.
  21626. +#define ADL_WORKSTATION_LOADBALANCING_SUPPORTED 0x00000001
  21627. +/// Load balancing is available.
  21628. +#define ADL_WORKSTATION_LOADBALANCING_AVAILABLE 0x00000002
  21629. +
  21630. +/// Load balancing is disabled.
  21631. +#define ADL_WORKSTATION_LOADBALANCING_DISABLED 0x00000000
  21632. +/// Load balancing is Enabled.
  21633. +#define ADL_WORKSTATION_LOADBALANCING_ENABLED 0x00000001
  21634. +
  21635. +
  21636. +
  21637. +// @}
  21638. +
  21639. +/// \defgroup define_adapterspeed speed setting from the adapter
  21640. +// @{
  21641. +#define ADL_CONTEXT_SPEED_UNFORCED 0 /* default asic running speed */
  21642. +#define ADL_CONTEXT_SPEED_FORCEHIGH 1 /* asic running speed is forced to high */
  21643. +#define ADL_CONTEXT_SPEED_FORCELOW 2 /* asic running speed is forced to low */
  21644. +
  21645. +#define ADL_ADAPTER_SPEEDCAPS_SUPPORTED (1 << 0) /* change asic running speed setting is supported */
  21646. +// @}
  21647. +
  21648. +/// \defgroup define_glsync Genlock related values
  21649. +/// GL-Sync port types (unique values)
  21650. +// @{
  21651. +/// Unknown port of GL-Sync module
  21652. +#define ADL_GLSYNC_PORT_UNKNOWN 0
  21653. +/// BNC port of of GL-Sync module
  21654. +#define ADL_GLSYNC_PORT_BNC 1
  21655. +/// RJ45(1) port of of GL-Sync module
  21656. +#define ADL_GLSYNC_PORT_RJ45PORT1 2
  21657. +/// RJ45(2) port of of GL-Sync module
  21658. +#define ADL_GLSYNC_PORT_RJ45PORT2 3
  21659. +
  21660. +// GL-Sync Genlock settings mask (bit-vector)
  21661. +
  21662. +/// None of the ADLGLSyncGenlockConfig members are valid
  21663. +#define ADL_GLSYNC_CONFIGMASK_NONE 0
  21664. +/// The ADLGLSyncGenlockConfig.lSignalSource member is valid
  21665. +#define ADL_GLSYNC_CONFIGMASK_SIGNALSOURCE (1 << 0)
  21666. +/// The ADLGLSyncGenlockConfig.iSyncField member is valid
  21667. +#define ADL_GLSYNC_CONFIGMASK_SYNCFIELD (1 << 1)
  21668. +/// The ADLGLSyncGenlockConfig.iSampleRate member is valid
  21669. +#define ADL_GLSYNC_CONFIGMASK_SAMPLERATE (1 << 2)
  21670. +/// The ADLGLSyncGenlockConfig.lSyncDelay member is valid
  21671. +#define ADL_GLSYNC_CONFIGMASK_SYNCDELAY (1 << 3)
  21672. +/// The ADLGLSyncGenlockConfig.iTriggerEdge member is valid
  21673. +#define ADL_GLSYNC_CONFIGMASK_TRIGGEREDGE (1 << 4)
  21674. +/// The ADLGLSyncGenlockConfig.iScanRateCoeff member is valid
  21675. +#define ADL_GLSYNC_CONFIGMASK_SCANRATECOEFF (1 << 5)
  21676. +/// The ADLGLSyncGenlockConfig.lFramelockCntlVector member is valid
  21677. +#define ADL_GLSYNC_CONFIGMASK_FRAMELOCKCNTL (1 << 6)
  21678. +
  21679. +
  21680. +// GL-Sync Framelock control mask (bit-vector)
  21681. +
  21682. +/// Framelock is disabled
  21683. +#define ADL_GLSYNC_FRAMELOCKCNTL_NONE 0
  21684. +/// Framelock is enabled
  21685. +#define ADL_GLSYNC_FRAMELOCKCNTL_ENABLE ( 1 << 0)
  21686. +
  21687. +#define ADL_GLSYNC_FRAMELOCKCNTL_DISABLE ( 1 << 1)
  21688. +#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_RESET ( 1 << 2)
  21689. +#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_ACK ( 1 << 3)
  21690. +
  21691. +#define ADL_GLSYNC_FRAMELOCKCNTL_STATE_ENABLE ( 1 << 0)
  21692. +
  21693. +// GL-Sync Framelock counters mask (bit-vector)
  21694. +#define ADL_GLSYNC_COUNTER_SWAP ( 1 << 0 )
  21695. +
  21696. +// GL-Sync Signal Sources (unique values)
  21697. +
  21698. +/// GL-Sync signal source is undefined
  21699. +#define ADL_GLSYNC_SIGNALSOURCE_UNDEFINED 0x00000100
  21700. +/// GL-Sync signal source is Free Run
  21701. +#define ADL_GLSYNC_SIGNALSOURCE_FREERUN 0x00000101
  21702. +/// GL-Sync signal source is the BNC GL-Sync port
  21703. +#define ADL_GLSYNC_SIGNALSOURCE_BNCPORT 0x00000102
  21704. +/// GL-Sync signal source is the RJ45(1) GL-Sync port
  21705. +#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT1 0x00000103
  21706. +/// GL-Sync signal source is the RJ45(2) GL-Sync port
  21707. +#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT2 0x00000104
  21708. +
  21709. +
  21710. +// GL-Sync Signal Types (unique values)
  21711. +
  21712. +/// GL-Sync signal type is unknown
  21713. +#define ADL_GLSYNC_SIGNALTYPE_UNDEFINED 0
  21714. +/// GL-Sync signal type is 480I
  21715. +#define ADL_GLSYNC_SIGNALTYPE_480I 1
  21716. +/// GL-Sync signal type is 576I
  21717. +#define ADL_GLSYNC_SIGNALTYPE_576I 2
  21718. +/// GL-Sync signal type is 480P
  21719. +#define ADL_GLSYNC_SIGNALTYPE_480P 3
  21720. +/// GL-Sync signal type is 576P
  21721. +#define ADL_GLSYNC_SIGNALTYPE_576P 4
  21722. +/// GL-Sync signal type is 720P
  21723. +#define ADL_GLSYNC_SIGNALTYPE_720P 5
  21724. +/// GL-Sync signal type is 1080P
  21725. +#define ADL_GLSYNC_SIGNALTYPE_1080P 6
  21726. +/// GL-Sync signal type is 1080I
  21727. +#define ADL_GLSYNC_SIGNALTYPE_1080I 7
  21728. +/// GL-Sync signal type is SDI
  21729. +#define ADL_GLSYNC_SIGNALTYPE_SDI 8
  21730. +/// GL-Sync signal type is TTL
  21731. +#define ADL_GLSYNC_SIGNALTYPE_TTL 9
  21732. +/// GL_Sync signal type is Analog
  21733. +#define ADL_GLSYNC_SIGNALTYPE_ANALOG 10
  21734. +
  21735. +// GL-Sync Sync Field options (unique values)
  21736. +
  21737. +///GL-Sync sync field option is undefined
  21738. +#define ADL_GLSYNC_SYNCFIELD_UNDEFINED 0
  21739. +///GL-Sync sync field option is Sync to Field 1 (used for Interlaced signal types)
  21740. +#define ADL_GLSYNC_SYNCFIELD_BOTH 1
  21741. +///GL-Sync sync field option is Sync to Both fields (used for Interlaced signal types)
  21742. +#define ADL_GLSYNC_SYNCFIELD_1 2
  21743. +
  21744. +
  21745. +// GL-Sync trigger edge options (unique values)
  21746. +
  21747. +/// GL-Sync trigger edge is undefined
  21748. +#define ADL_GLSYNC_TRIGGEREDGE_UNDEFINED 0
  21749. +/// GL-Sync trigger edge is the rising edge
  21750. +#define ADL_GLSYNC_TRIGGEREDGE_RISING 1
  21751. +/// GL-Sync trigger edge is the falling edge
  21752. +#define ADL_GLSYNC_TRIGGEREDGE_FALLING 2
  21753. +/// GL-Sync trigger edge is both the rising and the falling edge
  21754. +#define ADL_GLSYNC_TRIGGEREDGE_BOTH 3
  21755. +
  21756. +
  21757. +// GL-Sync scan rate coefficient/multiplier options (unique values)
  21758. +
  21759. +/// GL-Sync scan rate coefficient/multiplier is undefined
  21760. +#define ADL_GLSYNC_SCANRATECOEFF_UNDEFINED 0
  21761. +/// GL-Sync scan rate coefficient/multiplier is 5
  21762. +#define ADL_GLSYNC_SCANRATECOEFF_x5 1
  21763. +/// GL-Sync scan rate coefficient/multiplier is 4
  21764. +#define ADL_GLSYNC_SCANRATECOEFF_x4 2
  21765. +/// GL-Sync scan rate coefficient/multiplier is 3
  21766. +#define ADL_GLSYNC_SCANRATECOEFF_x3 3
  21767. +/// GL-Sync scan rate coefficient/multiplier is 5:2 (SMPTE)
  21768. +#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_2 4
  21769. +/// GL-Sync scan rate coefficient/multiplier is 2
  21770. +#define ADL_GLSYNC_SCANRATECOEFF_x2 5
  21771. +/// GL-Sync scan rate coefficient/multiplier is 3 : 2
  21772. +#define ADL_GLSYNC_SCANRATECOEFF_x3_DIV_2 6
  21773. +/// GL-Sync scan rate coefficient/multiplier is 5 : 4
  21774. +#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_4 7
  21775. +/// GL-Sync scan rate coefficient/multiplier is 1 (default)
  21776. +#define ADL_GLSYNC_SCANRATECOEFF_x1 8
  21777. +/// GL-Sync scan rate coefficient/multiplier is 4 : 5
  21778. +#define ADL_GLSYNC_SCANRATECOEFF_x4_DIV_5 9
  21779. +/// GL-Sync scan rate coefficient/multiplier is 2 : 3
  21780. +#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_3 10
  21781. +/// GL-Sync scan rate coefficient/multiplier is 1 : 2
  21782. +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_2 11
  21783. +/// GL-Sync scan rate coefficient/multiplier is 2 : 5 (SMPTE)
  21784. +#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_5 12
  21785. +/// GL-Sync scan rate coefficient/multiplier is 1 : 3
  21786. +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_3 13
  21787. +/// GL-Sync scan rate coefficient/multiplier is 1 : 4
  21788. +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_4 14
  21789. +/// GL-Sync scan rate coefficient/multiplier is 1 : 5
  21790. +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_5 15
  21791. +
  21792. +
  21793. +// GL-Sync port (signal presence) states (unique values)
  21794. +
  21795. +/// GL-Sync port state is undefined
  21796. +#define ADL_GLSYNC_PORTSTATE_UNDEFINED 0
  21797. +/// GL-Sync port is not connected
  21798. +#define ADL_GLSYNC_PORTSTATE_NOCABLE 1
  21799. +/// GL-Sync port is Idle
  21800. +#define ADL_GLSYNC_PORTSTATE_IDLE 2
  21801. +/// GL-Sync port has an Input signal
  21802. +#define ADL_GLSYNC_PORTSTATE_INPUT 3
  21803. +/// GL-Sync port is Output
  21804. +#define ADL_GLSYNC_PORTSTATE_OUTPUT 4
  21805. +
  21806. +
  21807. +// GL-Sync LED types (used index within ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array) (unique values)
  21808. +
  21809. +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the one LED of the BNC port
  21810. +#define ADL_GLSYNC_LEDTYPE_BNC 0
  21811. +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Left LED of the RJ45(1) or RJ45(2) port
  21812. +#define ADL_GLSYNC_LEDTYPE_RJ45_LEFT 0
  21813. +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Right LED of the RJ45(1) or RJ45(2) port
  21814. +#define ADL_GLSYNC_LEDTYPE_RJ45_RIGHT 1
  21815. +
  21816. +
  21817. +// GL-Sync LED colors (unique values)
  21818. +
  21819. +/// GL-Sync LED undefined color
  21820. +#define ADL_GLSYNC_LEDCOLOR_UNDEFINED 0
  21821. +/// GL-Sync LED is unlit
  21822. +#define ADL_GLSYNC_LEDCOLOR_NOLIGHT 1
  21823. +/// GL-Sync LED is yellow
  21824. +#define ADL_GLSYNC_LEDCOLOR_YELLOW 2
  21825. +/// GL-Sync LED is red
  21826. +#define ADL_GLSYNC_LEDCOLOR_RED 3
  21827. +/// GL-Sync LED is green
  21828. +#define ADL_GLSYNC_LEDCOLOR_GREEN 4
  21829. +/// GL-Sync LED is flashing green
  21830. +#define ADL_GLSYNC_LEDCOLOR_FLASH_GREEN 5
  21831. +
  21832. +
  21833. +// GL-Sync Port Control (refers one GL-Sync Port) (unique values)
  21834. +
  21835. +/// Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Idle
  21836. +#define ADL_GLSYNC_PORTCNTL_NONE 0x00000000
  21837. +/// Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Output
  21838. +#define ADL_GLSYNC_PORTCNTL_OUTPUT 0x00000001
  21839. +
  21840. +
  21841. +// GL-Sync Mode Control (refers one Display/Controller) (bitfields)
  21842. +
  21843. +/// Used to configure the display to use internal timing (not genlocked)
  21844. +#define ADL_GLSYNC_MODECNTL_NONE 0x00000000
  21845. +/// Bitfield used to configure the display as genlocked (either as Timing Client or as Timing Server)
  21846. +#define ADL_GLSYNC_MODECNTL_GENLOCK 0x00000001
  21847. +/// Bitfield used to configure the display as Timing Server
  21848. +#define ADL_GLSYNC_MODECNTL_TIMINGSERVER 0x00000002
  21849. +
  21850. +// GL-Sync Mode Status
  21851. +/// Display is currently not genlocked
  21852. +#define ADL_GLSYNC_MODECNTL_STATUS_NONE 0x00000000
  21853. +/// Display is currently genlocked
  21854. +#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK 0x00000001
  21855. +/// Display requires a mode switch
  21856. +#define ADL_GLSYNC_MODECNTL_STATUS_SETMODE_REQUIRED 0x00000002
  21857. +/// Display is capable of being genlocked
  21858. +#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK_ALLOWED 0x00000004
  21859. +
  21860. +#define ADL_MAX_GLSYNC_PORTS 8
  21861. +#define ADL_MAX_GLSYNC_PORT_LEDS 8
  21862. +
  21863. +// @}
  21864. +
  21865. +/// \defgroup define_crossfirestate CrossfireX state of a particular adapter CrossfireX combination
  21866. +// @{
  21867. +#define ADL_XFIREX_STATE_NOINTERCONNECT ( 1 << 0 ) /* Dongle / cable is missing */
  21868. +#define ADL_XFIREX_STATE_DOWNGRADEPIPES ( 1 << 1 ) /* CrossfireX can be enabled if pipes are downgraded */
  21869. +#define ADL_XFIREX_STATE_DOWNGRADEMEM ( 1 << 2 ) /* CrossfireX cannot be enabled unless mem downgraded */
  21870. +#define ADL_XFIREX_STATE_REVERSERECOMMENDED ( 1 << 3 ) /* Card reversal recommended, CrossfireX cannot be enabled. */
  21871. +#define ADL_XFIREX_STATE_3DACTIVE ( 1 << 4 ) /* 3D client is active - CrossfireX cannot be safely enabled */
  21872. +#define ADL_XFIREX_STATE_MASTERONSLAVE ( 1 << 5 ) /* Dongle is OK but master is on slave */
  21873. +#define ADL_XFIREX_STATE_NODISPLAYCONNECT ( 1 << 6 ) /* No (valid) display connected to master card. */
  21874. +#define ADL_XFIREX_STATE_NOPRIMARYVIEW ( 1 << 7 ) /* CrossfireX is enabled but master is not current primary device */
  21875. +#define ADL_XFIREX_STATE_DOWNGRADEVISMEM ( 1 << 8 ) /* CrossfireX cannot be enabled unless visible mem downgraded */
  21876. +#define ADL_XFIREX_STATE_LESSTHAN8LANE_MASTER ( 1 << 9 ) /* CrossfireX can be enabled however performance not optimal due to <8 lanes */
  21877. +#define ADL_XFIREX_STATE_LESSTHAN8LANE_SLAVE ( 1 << 10 ) /* CrossfireX can be enabled however performance not optimal due to <8 lanes */
  21878. +#define ADL_XFIREX_STATE_PEERTOPEERFAILED ( 1 << 11 ) /* CrossfireX cannot be enabled due to failed peer to peer test */
  21879. +#define ADL_XFIREX_STATE_MEMISDOWNGRADED ( 1 << 16 ) /* Notification that memory is currently downgraded */
  21880. +#define ADL_XFIREX_STATE_PIPESDOWNGRADED ( 1 << 17 ) /* Notification that pipes are currently downgraded */
  21881. +#define ADL_XFIREX_STATE_XFIREXACTIVE ( 1 << 18 ) /* CrossfireX is enabled on current device */
  21882. +#define ADL_XFIREX_STATE_VISMEMISDOWNGRADED ( 1 << 19 ) /* Notification that visible FB memory is currently downgraded */
  21883. +#define ADL_XFIREX_STATE_INVALIDINTERCONNECTION ( 1 << 20 ) /* Cannot support current inter-connection configuration */
  21884. +#define ADL_XFIREX_STATE_NONP2PMODE ( 1 << 21 ) /* CrossfireX will only work with clients supporting non P2P mode */
  21885. +#define ADL_XFIREX_STATE_DOWNGRADEMEMBANKS ( 1 << 22 ) /* CrossfireX cannot be enabled unless memory banks downgraded */
  21886. +#define ADL_XFIREX_STATE_MEMBANKSDOWNGRADED ( 1 << 23 ) /* Notification that memory banks are currently downgraded */
  21887. +#define ADL_XFIREX_STATE_DUALDISPLAYSALLOWED ( 1 << 24 ) /* Extended desktop or clone mode is allowed. */
  21888. +#define ADL_XFIREX_STATE_P2P_APERTURE_MAPPING ( 1 << 25 ) /* P2P mapping was through peer aperture */
  21889. +#define ADL_XFIREX_STATE_P2PFLUSH_REQUIRED ADL_XFIREX_STATE_P2P_APERTURE_MAPPING /* For back compatible */
  21890. +#define ADL_XFIREX_STATE_XSP_CONNECTED ( 1 << 26 ) /* There is CrossfireX side port connection between GPUs */
  21891. +#define ADL_XFIREX_STATE_ENABLE_CF_REBOOT_REQUIRED ( 1 << 27 ) /* System needs a reboot bofore enable CrossfireX */
  21892. +#define ADL_XFIREX_STATE_DISABLE_CF_REBOOT_REQUIRED ( 1 << 28 ) /* System needs a reboot after disable CrossfireX */
  21893. +#define ADL_XFIREX_STATE_DRV_HANDLE_DOWNGRADE_KEY ( 1 << 29 ) /* Indicate base driver handles the downgrade key updating */
  21894. +#define ADL_XFIREX_STATE_CF_RECONFIG_REQUIRED ( 1 << 30 ) /* CrossfireX need to be reconfigured by CCC because of a LDA chain broken */
  21895. +#define ADL_XFIREX_STATE_ERRORGETTINGSTATUS ( 1 << 31 ) /* Could not obtain current status */
  21896. +// @}
  21897. +
  21898. +///////////////////////////////////////////////////////////////////////////
  21899. +// ADL_DISPLAY_ADJUSTMENT_PIXELFORMAT adjustment values
  21900. +// (bit-vector)
  21901. +///////////////////////////////////////////////////////////////////////////
  21902. +/// \defgroup define_pixel_formats Pixel Formats values
  21903. +/// This group defines the various Pixel Formats that a particular digital display can support. \n
  21904. +/// Since a display can support multiple formats, these values can be bit-or'ed to indicate the various formats \n
  21905. +// @{
  21906. +#define ADL_DISPLAY_PIXELFORMAT_UNKNOWN 0
  21907. +#define ADL_DISPLAY_PIXELFORMAT_RGB (1 << 0)
  21908. +#define ADL_DISPLAY_PIXELFORMAT_YCRCB444 (1 << 1) //Limited range
  21909. +#define ADL_DISPLAY_PIXELFORMAT_YCRCB422 (1 << 2) //Limited range
  21910. +#define ADL_DISPLAY_PIXELFORMAT_RGB_LIMITED_RANGE (1 << 3)
  21911. +#define ADL_DISPLAY_PIXELFORMAT_RGB_FULL_RANGE ADL_DISPLAY_PIXELFORMAT_RGB //Full range
  21912. +// @}
  21913. +
  21914. +/// \defgroup define_contype Connector Type Values
  21915. +/// ADLDisplayConfig.ulConnectorType defines
  21916. +// @{
  21917. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_UNKNOWN 0
  21918. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NONI2C_JP 1
  21919. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_JPN 2
  21920. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NA 3
  21921. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NONI2C_NA 4
  21922. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_VGA 5
  21923. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DVI_D 6
  21924. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DVI_I 7
  21925. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_HDMI_TYPE_A 8
  21926. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_HDMI_TYPE_B 9
  21927. +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DISPLAYPORT 10
  21928. +// @}
  21929. +
  21930. +
  21931. +///////////////////////////////////////////////////////////////////////////
  21932. +// ADL_DISPLAY_DISPLAYINFO_ Definitions
  21933. +// for ADLDisplayInfo.iDisplayInfoMask and ADLDisplayInfo.iDisplayInfoValue
  21934. +// (bit-vector)
  21935. +///////////////////////////////////////////////////////////////////////////
  21936. +/// \defgroup define_displayinfomask Display Info Mask Values
  21937. +// @{
  21938. +#define ADL_DISPLAY_DISPLAYINFO_DISPLAYCONNECTED 0x00000001
  21939. +#define ADL_DISPLAY_DISPLAYINFO_DISPLAYMAPPED 0x00000002
  21940. +#define ADL_DISPLAY_DISPLAYINFO_NONLOCAL 0x00000004
  21941. +#define ADL_DISPLAY_DISPLAYINFO_FORCIBLESUPPORTED 0x00000008
  21942. +#define ADL_DISPLAY_DISPLAYINFO_GENLOCKSUPPORTED 0x00000010
  21943. +#define ADL_DISPLAY_DISPLAYINFO_MULTIVPU_SUPPORTED 0x00000020
  21944. +
  21945. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_SINGLE 0x00000100
  21946. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_CLONE 0x00000200
  21947. +
  21948. +/// Legacy support for XP
  21949. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_2VSTRETCH 0x00000400
  21950. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_2HSTRETCH 0x00000800
  21951. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_EXTENDED 0x00001000
  21952. +
  21953. +/// More support manners
  21954. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_NSTRETCH1GPU 0x00010000
  21955. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_NSTRETCHNGPU 0x00020000
  21956. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_RESERVED2 0x00040000
  21957. +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_RESERVED3 0x00080000
  21958. +
  21959. +/// Projector display type
  21960. +#define ADL_DISPLAY_DISPLAYINFO_SHOWTYPE_PROJECTOR 0x00100000
  21961. +
  21962. +// @}
  21963. +
  21964. +
  21965. +///////////////////////////////////////////////////////////////////////////
  21966. +// ADL_ADAPTER_DISPLAY_MANNER_SUPPORTED_ Definitions
  21967. +// for ADLAdapterDisplayCap of ADL_Adapter_Display_Cap()
  21968. +// (bit-vector)
  21969. +///////////////////////////////////////////////////////////////////////////
  21970. +/// \defgroup define_adaptermanner Adapter Manner Support Values
  21971. +// @{
  21972. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NOTACTIVE 0x00000001
  21973. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_SINGLE 0x00000002
  21974. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_CLONE 0x00000004
  21975. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NSTRETCH1GPU 0x00000008
  21976. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NSTRETCHNGPU 0x00000010
  21977. +
  21978. +/// Legacy support for XP
  21979. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_2VSTRETCH 0x00000020
  21980. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_2HSTRETCH 0x00000040
  21981. +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_EXTENDED 0x00000080
  21982. +
  21983. +#define ADL_ADAPTER_DISPLAYCAP_PREFERDISPLAY_SUPPORTED 0x00000100
  21984. +#define ADL_ADAPTER_DISPLAYCAP_BEZEL_SUPPORTED 0x00000200
  21985. +
  21986. +
  21987. +///////////////////////////////////////////////////////////////////////////
  21988. +// ADL_DISPLAY_DISPLAYMAP_MANNER_ Definitions
  21989. +// for ADLDisplayMap.iDisplayMapMask and ADLDisplayMap.iDisplayMapValue
  21990. +// (bit-vector)
  21991. +///////////////////////////////////////////////////////////////////////////
  21992. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_RESERVED 0x00000001
  21993. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_NOTACTIVE 0x00000002
  21994. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_SINGLE 0x00000004
  21995. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_CLONE 0x00000008
  21996. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_RESERVED1 0x00000010 // Removed NSTRETCH
  21997. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_HSTRETCH 0x00000020
  21998. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_VSTRETCH 0x00000040
  21999. +#define ADL_DISPLAY_DISPLAYMAP_MANNER_VLD 0x00000080
  22000. +
  22001. +// @}
  22002. +
  22003. +///////////////////////////////////////////////////////////////////////////
  22004. +// ADL_DISPLAY_DISPLAYMAP_OPTION_ Definitions
  22005. +// for iOption in function ADL_Display_DisplayMapConfig_Get
  22006. +// (bit-vector)
  22007. +///////////////////////////////////////////////////////////////////////////
  22008. +#define ADL_DISPLAY_DISPLAYMAP_OPTION_GPUINFO 0x00000001
  22009. +
  22010. +///////////////////////////////////////////////////////////////////////////
  22011. +// ADL_DISPLAY_DISPLAYTARGET_ Definitions
  22012. +// for ADLDisplayTarget.iDisplayTargetMask and ADLDisplayTarget.iDisplayTargetValue
  22013. +// (bit-vector)
  22014. +///////////////////////////////////////////////////////////////////////////
  22015. +#define ADL_DISPLAY_DISPLAYTARGET_PREFERRED 0x00000001
  22016. +
  22017. +///////////////////////////////////////////////////////////////////////////
  22018. +// ADL_DISPLAY_POSSIBLEMAPRESULT_VALID Definitions
  22019. +// for ADLPossibleMapResult.iPossibleMapResultMask and ADLPossibleMapResult.iPossibleMapResultValue
  22020. +// (bit-vector)
  22021. +///////////////////////////////////////////////////////////////////////////
  22022. +#define ADL_DISPLAY_POSSIBLEMAPRESULT_VALID 0x00000001
  22023. +#define ADL_DISPLAY_POSSIBLEMAPRESULT_BEZELSUPPORTED 0x00000002
  22024. +#define ADL_DISPLAY_POSSIBLEMAPRESULT_OVERLAPSUPPORTED 0x00000004
  22025. +
  22026. +///////////////////////////////////////////////////////////////////////////
  22027. +// ADL_DISPLAY_MODE_ Definitions
  22028. +// for ADLMode.iModeMask, ADLMode.iModeValue, and ADLMode.iModeFlag
  22029. +// (bit-vector)
  22030. +///////////////////////////////////////////////////////////////////////////
  22031. +/// \defgroup define_displaymode Display Mode Values
  22032. +// @{
  22033. +#define ADL_DISPLAY_MODE_COLOURFORMAT_565 0x00000001
  22034. +#define ADL_DISPLAY_MODE_COLOURFORMAT_8888 0x00000002
  22035. +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_000 0x00000004
  22036. +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_090 0x00000008
  22037. +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_180 0x00000010
  22038. +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_270 0x00000020
  22039. +#define ADL_DISPLAY_MODE_REFRESHRATE_ROUNDED 0x00000040
  22040. +#define ADL_DISPLAY_MODE_REFRESHRATE_ONLY 0x00000080
  22041. +
  22042. +#define ADL_DISPLAY_MODE_PROGRESSIVE_FLAG 0
  22043. +#define ADL_DISPLAY_MODE_INTERLACED_FLAG 2
  22044. +// @}
  22045. +
  22046. +///////////////////////////////////////////////////////////////////////////
  22047. +// ADL_OSMODEINFO Definitions
  22048. +///////////////////////////////////////////////////////////////////////////
  22049. +/// \defgroup define_osmode OS Mode Values
  22050. +// @{
  22051. +#define ADL_OSMODEINFOXPOS_DEFAULT -640
  22052. +#define ADL_OSMODEINFOYPOS_DEFAULT 0
  22053. +#define ADL_OSMODEINFOXRES_DEFAULT 640
  22054. +#define ADL_OSMODEINFOYRES_DEFAULT 480
  22055. +#define ADL_OSMODEINFOXRES_DEFAULT800 800
  22056. +#define ADL_OSMODEINFOYRES_DEFAULT600 600
  22057. +#define ADL_OSMODEINFOREFRESHRATE_DEFAULT 60
  22058. +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT 8
  22059. +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT16 16
  22060. +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT24 24
  22061. +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT32 32
  22062. +#define ADL_OSMODEINFOORIENTATION_DEFAULT 0
  22063. +#define ADL_OSMODEINFOORIENTATION_DEFAULT_WIN7 DISPLAYCONFIG_ROTATION_FORCE_UINT32
  22064. +#define ADL_OSMODEFLAG_DEFAULT 0
  22065. +// @}
  22066. +
  22067. +
  22068. +///////////////////////////////////////////////////////////////////////////
  22069. +// ADLPurposeCode Enumeration
  22070. +///////////////////////////////////////////////////////////////////////////
  22071. +enum ADLPurposeCode
  22072. +{
  22073. + ADL_PURPOSECODE_NORMAL = 0,
  22074. + ADL_PURPOSECODE_HIDE_MODE_SWITCH,
  22075. + ADL_PURPOSECODE_MODE_SWITCH,
  22076. + ADL_PURPOSECODE_ATTATCH_DEVICE,
  22077. + ADL_PURPOSECODE_DETACH_DEVICE,
  22078. + ADL_PURPOSECODE_SETPRIMARY_DEVICE,
  22079. + ADL_PURPOSECODE_GDI_ROTATION,
  22080. + ADL_PURPOSECODE_ATI_ROTATION,
  22081. +};
  22082. +///////////////////////////////////////////////////////////////////////////
  22083. +// ADLAngle Enumeration
  22084. +///////////////////////////////////////////////////////////////////////////
  22085. +enum ADLAngle
  22086. +{
  22087. + ADL_ANGLE_LANDSCAPE = 0,
  22088. + ADL_ANGLE_ROTATERIGHT = 90,
  22089. + ADL_ANGLE_ROTATE180 = 180,
  22090. + ADL_ANGLE_ROTATELEFT = 270,
  22091. +};
  22092. +
  22093. +///////////////////////////////////////////////////////////////////////////
  22094. +// ADLOrientationDataType Enumeration
  22095. +///////////////////////////////////////////////////////////////////////////
  22096. +enum ADLOrientationDataType
  22097. +{
  22098. + ADL_ORIENTATIONTYPE_OSDATATYPE,
  22099. + ADL_ORIENTATIONTYPE_NONOSDATATYPE
  22100. +};
  22101. +
  22102. +///////////////////////////////////////////////////////////////////////////
  22103. +// ADLPanningMode Enumeration
  22104. +///////////////////////////////////////////////////////////////////////////
  22105. +enum ADLPanningMode
  22106. +{
  22107. + ADL_PANNINGMODE_NO_PANNING = 0,
  22108. + ADL_PANNINGMODE_AT_LEAST_ONE_NO_PANNING = 1,
  22109. + ADL_PANNINGMODE_ALLOW_PANNING = 2,
  22110. +};
  22111. +
  22112. +///////////////////////////////////////////////////////////////////////////
  22113. +// ADLLARGEDESKTOPTYPE Enumeration
  22114. +///////////////////////////////////////////////////////////////////////////
  22115. +enum ADLLARGEDESKTOPTYPE
  22116. +{
  22117. + ADL_LARGEDESKTOPTYPE_NORMALDESKTOP = 0,
  22118. + ADL_LARGEDESKTOPTYPE_PSEUDOLARGEDESKTOP = 1,
  22119. + ADL_LARGEDESKTOPTYPE_VERYLARGEDESKTOP = 2,
  22120. +};
  22121. +
  22122. +// Other Definitions for internal use
  22123. +
  22124. +// Values for ADL_Display_WriteAndReadI2CRev_Get()
  22125. +
  22126. +#define ADL_I2C_MAJOR_API_REV 0x00000001
  22127. +#define ADL_I2C_MINOR_DEFAULT_API_REV 0x00000000
  22128. +#define ADL_I2C_MINOR_OEM_API_REV 0x00000001
  22129. +
  22130. +// Values for ADL_Display_WriteAndReadI2C()
  22131. +#define ADL_DL_I2C_LINE_OEM 0x00000001
  22132. +#define ADL_DL_I2C_LINE_OD_CONTROL 0x00000002
  22133. +#define ADL_DL_I2C_LINE_OEM2 0x00000003
  22134. +#define ADL_DL_I2C_LINE_OEM3 0x00000004
  22135. +#define ADL_DL_I2C_LINE_OEM4 0x00000005
  22136. +#define ADL_DL_I2C_LINE_OEM5 0x00000006
  22137. +#define ADL_DL_I2C_LINE_OEM6 0x00000007
  22138. +
  22139. +// Max size of I2C data buffer
  22140. +#define ADL_DL_I2C_MAXDATASIZE 0x00000040
  22141. +#define ADL_DL_I2C_MAXWRITEDATASIZE 0x0000000C
  22142. +#define ADL_DL_I2C_MAXADDRESSLENGTH 0x00000006
  22143. +#define ADL_DL_I2C_MAXOFFSETLENGTH 0x00000004
  22144. +
  22145. +
  22146. +/// Values for ADLDisplayProperty.iPropertyType
  22147. +#define ADL_DL_DISPLAYPROPERTY_TYPE_UNKNOWN 0
  22148. +#define ADL_DL_DISPLAYPROPERTY_TYPE_EXPANSIONMODE 1
  22149. +#define ADL_DL_DISPLAYPROPERTY_TYPE_USEUNDERSCANSCALING 2
  22150. +/// Enables ITC processing for HDMI panels that are capable of the feature
  22151. +#define ADL_DL_DISPLAYPROPERTY_TYPE_ITCFLAGENABLE 9
  22152. +
  22153. +
  22154. +/// Values for ADLDisplayContent.iContentType
  22155. +/// Certain HDMI panels that support ITC have support for a feature such that, the display on the panel
  22156. +/// can be adjusted to optimize the view of the content being displayed, depending on the type of content.
  22157. +#define ADL_DL_DISPLAYCONTENT_TYPE_GRAPHICS 1
  22158. +#define ADL_DL_DISPLAYCONTENT_TYPE_PHOTO 2
  22159. +#define ADL_DL_DISPLAYCONTENT_TYPE_CINEMA 4
  22160. +#define ADL_DL_DISPLAYCONTENT_TYPE_GAME 8
  22161. +
  22162. +
  22163. +
  22164. +
  22165. +
  22166. +//values for ADLDisplayProperty.iExpansionMode
  22167. +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_CENTER 0
  22168. +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_FULLSCREEN 1
  22169. +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_ASPECTRATIO 2
  22170. +
  22171. +//values for ADL_Display_DitherState_Get
  22172. +#define ADL_DL_DISPLAY_DITHER_UNKNOWN 0
  22173. +#define ADL_DL_DISPLAY_DITHER_DISABLED 1
  22174. +#define ADL_DL_DISPLAY_DITHER_ENABLED 2
  22175. +
  22176. +/// Display Get Cached EDID flag
  22177. +#define ADL_MAX_EDIDDATA_SIZE 256 // number of UCHAR
  22178. +#define ADL_MAX_OVERRIDEEDID_SIZE 512 // number of UCHAR
  22179. +#define ADL_MAX_EDID_EXTENSION_BLOCKS 3
  22180. +
  22181. +#define ADL_DL_CONTROLLER_OVERLAY_ALPHA 0
  22182. +#define ADL_DL_CONTROLLER_OVERLAY_ALPHAPERPIX 1
  22183. +
  22184. +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_RESET 0x00000000
  22185. +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_SET 0x00000001
  22186. +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_SCAN 0x00000002
  22187. +
  22188. +///\defgroup define_display_packet Display Data Packet Types
  22189. +// @{
  22190. +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__AVI 0x00000001
  22191. +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__RESERVED 0x00000002
  22192. +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__VENDORINFO 0x00000004
  22193. +// @}
  22194. +
  22195. +// matrix types
  22196. +#define ADL_GAMUT_MATRIX_SD 1 // SD matrix i.e. BT601
  22197. +#define ADL_GAMUT_MATRIX_HD 2 // HD matrix i.e. BT709
  22198. +
  22199. +///\defgroup define_clockinfo_flags Clock flags
  22200. +/// Used by ADLAdapterODClockInfo.iFlag
  22201. +// @{
  22202. +#define ADL_DL_CLOCKINFO_FLAG_FULLSCREEN3DONLY 0x00000001
  22203. +#define ADL_DL_CLOCKINFO_FLAG_ALWAYSFULLSCREEN3D 0x00000002
  22204. +#define ADL_DL_CLOCKINFO_FLAG_VPURECOVERYREDUCED 0x00000004
  22205. +#define ADL_DL_CLOCKINFO_FLAG_THERMALPROTECTION 0x00000008
  22206. +// @}
  22207. +
  22208. +// Supported GPUs
  22209. +// ADL_Display_PowerXpressActiveGPU_Get()
  22210. +#define ADL_DL_POWERXPRESS_GPU_INTEGRATED 1
  22211. +#define ADL_DL_POWERXPRESS_GPU_DISCRETE 2
  22212. +
  22213. +// Possible values for lpOperationResult
  22214. +// ADL_Display_PowerXpressActiveGPU_Get()
  22215. +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_STARTED 1 // Switch procedure has been started - Windows platform only
  22216. +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_DECLINED 2 // Switch procedure cannot be started - All platforms
  22217. +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_ALREADY 3 // System already has required status - All platforms
  22218. +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_DEFERRED 5 // Switch was deferred and requires an X restart - Linux platform only
  22219. +
  22220. +// PowerXpress support version
  22221. +// ADL_Display_PowerXpressVersion_Get()
  22222. +#define ADL_DL_POWERXPRESS_VERSION_MAJOR 2 // Current PowerXpress support version 2.0
  22223. +#define ADL_DL_POWERXPRESS_VERSION_MINOR 0
  22224. +
  22225. +#define ADL_DL_POWERXPRESS_VERSION (((ADL_DL_POWERXPRESS_VERSION_MAJOR) << 16) | ADL_DL_POWERXPRESS_VERSION_MINOR)
  22226. +
  22227. +//values for ADLThermalControllerInfo.iThermalControllerDomain
  22228. +#define ADL_DL_THERMAL_DOMAIN_OTHER 0
  22229. +#define ADL_DL_THERMAL_DOMAIN_GPU 1
  22230. +
  22231. +//values for ADLThermalControllerInfo.iFlags
  22232. +#define ADL_DL_THERMAL_FLAG_INTERRUPT 1
  22233. +#define ADL_DL_THERMAL_FLAG_FANCONTROL 2
  22234. +
  22235. +///\defgroup define_fanctrl Fan speed cotrol
  22236. +/// Values for ADLFanSpeedInfo.iFlags
  22237. +// @{
  22238. +#define ADL_DL_FANCTRL_SUPPORTS_PERCENT_READ 1
  22239. +#define ADL_DL_FANCTRL_SUPPORTS_PERCENT_WRITE 2
  22240. +#define ADL_DL_FANCTRL_SUPPORTS_RPM_READ 4
  22241. +#define ADL_DL_FANCTRL_SUPPORTS_RPM_WRITE 8
  22242. +// @}
  22243. +
  22244. +//values for ADLFanSpeedValue.iSpeedType
  22245. +#define ADL_DL_FANCTRL_SPEED_TYPE_PERCENT 1
  22246. +#define ADL_DL_FANCTRL_SPEED_TYPE_RPM 2
  22247. +
  22248. +//values for ADLFanSpeedValue.iFlags
  22249. +#define ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED 1
  22250. +
  22251. +// MVPU interfaces
  22252. +#define ADL_DL_MAX_MVPU_ADAPTERS 4
  22253. +#define MVPU_ADAPTER_0 0x00000001
  22254. +#define MVPU_ADAPTER_1 0x00000002
  22255. +#define MVPU_ADAPTER_2 0x00000004
  22256. +#define MVPU_ADAPTER_3 0x00000008
  22257. +#define ADL_DL_MAX_REGISTRY_PATH 256
  22258. +
  22259. +//values for ADLMVPUStatus.iStatus
  22260. +#define ADL_DL_MVPU_STATUS_OFF 0
  22261. +#define ADL_DL_MVPU_STATUS_ON 1
  22262. +
  22263. +// values for ASIC family
  22264. +///\defgroup define_Asic_type Detailed asic types
  22265. +/// Defines for Adapter ASIC family type
  22266. +// @{
  22267. +#define ADL_ASIC_UNDEFINED 0
  22268. +#define ADL_ASIC_DISCRETE (1 << 0)
  22269. +#define ADL_ASIC_INTEGRATED (1 << 1)
  22270. +#define ADL_ASIC_FIREGL (1 << 2)
  22271. +#define ADL_ASIC_FIREMV (1 << 3)
  22272. +#define ADL_ASIC_XGP (1 << 4)
  22273. +#define ADL_ASIC_FUSION (1 << 5)
  22274. +#define ADL_ASIC_FIRESTREAM (1 << 6)
  22275. +// @}
  22276. +
  22277. +///\defgroup define_detailed_timing_flags Detailed Timimg Flags
  22278. +/// Defines for ADLDetailedTiming.sTimingFlags field
  22279. +// @{
  22280. +#define ADL_DL_TIMINGFLAG_DOUBLE_SCAN 0x0001
  22281. +#define ADL_DL_TIMINGFLAG_INTERLACED 0x0002
  22282. +#define ADL_DL_TIMINGFLAG_H_SYNC_POLARITY 0x0004
  22283. +#define ADL_DL_TIMINGFLAG_V_SYNC_POLARITY 0x0008
  22284. +// @}
  22285. +
  22286. +///\defgroup define_modetiming_standard Timing Standards
  22287. +/// Defines for ADLDisplayModeInfo.iTimingStandard field
  22288. +// @{
  22289. +#define ADL_DL_MODETIMING_STANDARD_CVT 0x00000001 // CVT Standard
  22290. +#define ADL_DL_MODETIMING_STANDARD_GTF 0x00000002 // GFT Standard
  22291. +#define ADL_DL_MODETIMING_STANDARD_DMT 0x00000004 // DMT Standard
  22292. +#define ADL_DL_MODETIMING_STANDARD_CUSTOM 0x00000008 // User-defined standard
  22293. +#define ADL_DL_MODETIMING_STANDARD_DRIVER_DEFAULT 0x00000010 // Remove Mode from overriden list
  22294. +// @}
  22295. +
  22296. +// \defgroup define_xserverinfo driver x-server info
  22297. +/// These flags are used by ADL_XServerInfo_Get()
  22298. +// @
  22299. +
  22300. +/// Xinerama is active in the x-server, Xinerama extension may report it to be active but it
  22301. +/// may not be active in x-server
  22302. +#define ADL_XSERVERINFO_XINERAMAACTIVE (1<<0)
  22303. +
  22304. +/// RandR 1.2 is supported by driver, RandR extension may report version 1.2
  22305. +/// but driver may not support it
  22306. +#define ADL_XSERVERINFO_RANDR12SUPPORTED (1<<1)
  22307. +// @
  22308. +
  22309. +
  22310. +///\defgroup define_eyefinity_constants Eyefinity Definitions
  22311. +// @{
  22312. +
  22313. +#define ADL_CONTROLLERVECTOR_0 1 // ADL_CONTROLLERINDEX_0 = 0, (1 << ADL_CONTROLLERINDEX_0)
  22314. +#define ADL_CONTROLLERVECTOR_1 2 // ADL_CONTROLLERINDEX_1 = 1, (1 << ADL_CONTROLLERINDEX_1)
  22315. +
  22316. +#define ADL_DISPLAY_SLSGRID_ORIENTATION_000 0x00000001
  22317. +#define ADL_DISPLAY_SLSGRID_ORIENTATION_090 0x00000002
  22318. +#define ADL_DISPLAY_SLSGRID_ORIENTATION_180 0x00000004
  22319. +#define ADL_DISPLAY_SLSGRID_ORIENTATION_270 0x00000008
  22320. +#define ADL_DISPLAY_SLSGRID_CAP_OPTION_RELATIVETO_LANDSCAPE 0x00000001
  22321. +#define ADL_DISPLAY_SLSGRID_CAP_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
  22322. +#define ADL_DISPLAY_SLSGRID_PORTAIT_MODE 0x00000004
  22323. +
  22324. +
  22325. +#define ADL_DISPLAY_SLSMAPCONFIG_GET_OPTION_RELATIVETO_LANDSCAPE 0x00000001
  22326. +#define ADL_DISPLAY_SLSMAPCONFIG_GET_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
  22327. +
  22328. +#define ADL_DISPLAY_SLSMAPCONFIG_CREATE_OPTION_RELATIVETO_LANDSCAPE 0x00000001
  22329. +#define ADL_DISPLAY_SLSMAPCONFIG_CREATE_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
  22330. +
  22331. +#define ADL_DISPLAY_SLSMAPCONFIG_REARRANGE_OPTION_RELATIVETO_LANDSCAPE 0x00000001
  22332. +#define ADL_DISPLAY_SLSMAPCONFIG_REARRANGE_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
  22333. +
  22334. +
  22335. +#define ADL_DISPLAY_SLSGRID_RELATIVETO_LANDSCAPE 0x00000010
  22336. +#define ADL_DISPLAY_SLSGRID_RELATIVETO_CURRENTANGLE 0x00000020
  22337. +
  22338. +
  22339. +/// The bit mask identifies displays is currently in bezel mode.
  22340. +#define ADL_DISPLAY_SLSMAP_BEZELMODE 0x00000010
  22341. +/// The bit mask identifies displays from this map is arranged.
  22342. +#define ADL_DISPLAY_SLSMAP_DISPLAYARRANGED 0x00000002
  22343. +/// The bit mask identifies this map is currently in used for the current adapter.
  22344. +#define ADL_DISPLAY_SLSMAP_CURRENTCONFIG 0x00000004
  22345. +
  22346. + ///For onlay active SLS map info
  22347. +#define ADL_DISPLAY_SLSMAPINDEXLIST_OPTION_ACTIVE 0x00000001
  22348. +
  22349. +///For Bezel
  22350. +#define ADL_DISPLAY_BEZELOFFSET_STEPBYSTEPSET 0x00000004
  22351. +#define ADL_DISPLAY_BEZELOFFSET_COMMIT 0x00000008
  22352. +
  22353. +// @}
  22354. +
  22355. +///\defgroup define_powerxpress_constants PowerXpress Definitions
  22356. +// @{
  22357. +
  22358. +/// The bit mask identifies PX caps for ADLPXConfigCaps.iPXConfigCapMask and ADLPXConfigCaps.iPXConfigCapValue
  22359. +#define ADL_PX_CONFIGCAPS_SPLASHSCREEN_SUPPORT 0x0001
  22360. +#define ADL_PX_CONFIGCAPS_CF_SUPPORT 0x0002
  22361. +#define ADL_PX_CONFIGCAPS_MUXLESS 0x0004
  22362. +#define ADL_PX_CONFIGCAPS_PROFILE_COMPLIANT 0x0008
  22363. +#define ADL_PX_CONFIGCAPS_NON_AMD_DRIVEN_DISPLAYS 0x0010
  22364. +#define ADL_PX_CONFIGCAPS_FIXED_SUPPORT 0x0020
  22365. +#define ADL_PX_CONFIGCAPS_DYNAMIC_SUPPORT 0x0040
  22366. +#define ADL_PX_CONFIGCAPS_HIDE_AUTO_SWITCH 0x0080
  22367. +
  22368. +/// The bit mask identifies PX schemes for ADLPXSchemeRange
  22369. +#define ADL_PX_SCHEMEMASK_FIXED 0x0001
  22370. +#define ADL_PX_SCHEMEMASK_DYNAMIC 0x0002
  22371. +
  22372. +/// PX Schemes
  22373. +typedef enum _ADLPXScheme
  22374. +{
  22375. + ADL_PX_SCHEME_INVALID = 0,
  22376. + ADL_PX_SCHEME_FIXED = ADL_PX_SCHEMEMASK_FIXED,
  22377. + ADL_PX_SCHEME_DYNAMIC = ADL_PX_SCHEMEMASK_DYNAMIC,
  22378. +}ADLPXScheme;
  22379. +
  22380. +/// Just keep the old definitions for compatibility, need to be removed later
  22381. +typedef enum PXScheme
  22382. +{
  22383. + PX_SCHEME_INVALID = 0,
  22384. + PX_SCHEME_FIXED = 1,
  22385. + PX_SCHEME_DYNAMIC = 2
  22386. +} PXScheme;
  22387. +
  22388. +
  22389. +// @}
  22390. +
  22391. +///\defgroup define_appprofiles For Application Profiles
  22392. +// @{
  22393. +
  22394. +#define ADL_APP_PROFILE_FILENAME_LENGTH 64
  22395. +#define ADL_APP_PROFILE_TIMESTAMP_LENGTH 32
  22396. +#define ADL_APP_PROFILE_VERSION_LENGTH 32
  22397. +#define ADL_APP_PROFILE_PROPERTY_LENGTH 64
  22398. +
  22399. +enum ApplicationListType
  22400. +{
  22401. + ADL_PX40_MRU,
  22402. + ADL_PX40_MISSED,
  22403. + ADL_PX40_DISCRETE,
  22404. + ADL_PX40_INTEGRATED,
  22405. +
  22406. + ADL_PX40_TOTAL,
  22407. +};
  22408. +
  22409. +typedef enum _ADLProfilePropertyType
  22410. +{
  22411. + ADL_PROFILEPROPERTY_TYPE_BINARY = 0,
  22412. + ADL_PROFILEPROPERTY_TYPE_BOOLEAN,
  22413. + ADL_PROFILEPROPERTY_TYPE_DWORD,
  22414. + ADL_PROFILEPROPERTY_TYPE_QWORD,
  22415. + ADL_PROFILEPROPERTY_TYPE_ENUMERATED,
  22416. + ADL_PROFILEPROPERTY_TYPE_STRING,
  22417. +}ADLProfilePropertyType;
  22418. +
  22419. +// @}
  22420. +
  22421. +///\defgroup define_dp12 For Display Port 1.2
  22422. +// @{
  22423. +
  22424. +/// Maximum Relative Address Link
  22425. +#define ADL_MAX_RAD_LINK_COUNT 15
  22426. +
  22427. +// @}
  22428. +
  22429. +///\defgroup defines_gamutspace Driver Supported Gamut Space
  22430. +// @{
  22431. +
  22432. +/// The flags desribes that gamut is related to source or to destination and to overlay or to graphics
  22433. +#define ADL_GAMUT_REFERENCE_SOURCE (1 << 0)
  22434. +#define ADL_GAMUT_GAMUT_VIDEO_CONTENT (1 << 1)
  22435. +
  22436. +/// The flags are used to describe the source of gamut and how read information from struct ADLGamutData
  22437. +#define ADL_CUSTOM_WHITE_POINT (1 << 0)
  22438. +#define ADL_CUSTOM_GAMUT (1 << 1)
  22439. +
  22440. +/// The define means the predefined gamut values .
  22441. +///Driver uses to find entry in the table and apply appropriate gamut space.
  22442. +#define ADL_GAMUT_SPACE_CCIR_709 (1 << 0)
  22443. +#define ADL_GAMUT_SPACE_CCIR_601 (1 << 1)
  22444. +#define ADL_GAMUT_SPACE_ADOBE_RGB (1 << 2)
  22445. +#define ADL_GAMUT_SPACE_CIE_RGB (1 << 3)
  22446. +#define ADL_GAMUT_SPACE_CUSTOM (1 << 4)
  22447. +
  22448. +/// Predefine white point values are structed similar to gamut .
  22449. +#define ADL_WHITE_POINT_5000K (1 << 0)
  22450. +#define ADL_WHITE_POINT_6500K (1 << 1)
  22451. +#define ADL_WHITE_POINT_7500K (1 << 2)
  22452. +#define ADL_WHITE_POINT_9300K (1 << 3)
  22453. +#define ADL_WHITE_POINT_CUSTOM (1 << 4)
  22454. +
  22455. +///gamut and white point coordinates are from 0.0 -1.0 and divider is used to find the real value .
  22456. +/// X float = X int /divider
  22457. +#define ADL_GAMUT_WHITEPOINT_DIVIDER 10000
  22458. +
  22459. +///gamma a0 coefficient uses the following divider:
  22460. +#define ADL_REGAMMA_COEFFICIENT_A0_DIVIDER 10000000
  22461. +///gamma a1 ,a2,a3 coefficients use the following divider:
  22462. +#define ADL_REGAMMA_COEFFICIENT_A1A2A3_DIVIDER 1000
  22463. +
  22464. +///describes whether the coefficients are from EDID or custom user values.
  22465. +#define ADL_EDID_REGAMMA_COEFFICIENTS (1 << 0)
  22466. +///Used for struct ADLRegamma.Feature if set use gamma ramp , if missing use regamma coefficents
  22467. +#define ADL_USE_GAMMA_RAMP (1 << 4)
  22468. +
  22469. +// @}
  22470. +
  22471. +/// \defgroup define_ddcinfo_pixelformats DDCInfo Pixel Formats
  22472. +// @{
  22473. +/// defines for iPanelPixelFormat in struct ADLDDCInfo2
  22474. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB656 0x00000001L
  22475. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB666 0x00000002L
  22476. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB888 0x00000004L
  22477. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB101010 0x00000008L
  22478. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB161616 0x00000010L
  22479. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED1 0x00000020L
  22480. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED2 0x00000040L
  22481. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED3 0x00000080L
  22482. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_XRGB_BIAS101010 0x00000100L
  22483. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_8BPCC 0x00000200L
  22484. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_10BPCC 0x00000400L
  22485. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_12BPCC 0x00000800L
  22486. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_8BPCC 0x00001000L
  22487. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_10BPCC 0x00002000L
  22488. +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_12BPCC 0x00004000L
  22489. +// @}
  22490. +
  22491. +
  22492. +
  22493. +/// \defgroup define_dbd_state Deep Bit Depth
  22494. +// @{
  22495. +
  22496. +/// defines for ADL_Workstation_DeepBitDepth_Get and ADL_Workstation_DeepBitDepth_Set functions
  22497. +// This value indicates that the deep bit depth state is forced off
  22498. +#define ADL_DEEPBITDEPTH_FORCEOFF 0
  22499. +/// This value indicates that the deep bit depth state is set to auto, the driver will automatically enable the
  22500. +/// appropriate deep bit depth state depending on what connected display supports.
  22501. +#define ADL_DEEPBITDEPTH_10BPP_AUTO 1
  22502. +/// This value indicates that the deep bit depth state is forced on to 10 bits per pixel, this is regardless if the display
  22503. +/// supports 10 bpp.
  22504. +#define ADL_DEEPBITDEPTH_10BPP_FORCEON 2
  22505. +
  22506. +/// defines for ADLAdapterConfigMemory of ADL_Adapter_ConfigMemory_Get
  22507. +/// If this bit is set, it indicates that the Deep Bit Depth pixel is set on the display
  22508. +#define ADL_ADAPTER_CONFIGMEMORY_DBD (1 << 0)
  22509. +/// If this bit is set, it indicates that the display is rotated (90, 180 or 270)
  22510. +#define ADL_ADAPTER_CONFIGMEMORY_ROTATE (1 << 1)
  22511. +/// If this bit is set, it indicates that passive stereo is set on the display
  22512. +#define ADL_ADAPTER_CONFIGMEMORY_STEREO_PASSIVE (1 << 2)
  22513. +/// If this bit is set, it indicates that the active stereo is set on the display
  22514. +#define ADL_ADAPTER_CONFIGMEMORY_STEREO_ACTIVE (1 << 3)
  22515. +/// If this bit is set, it indicates that the tear free vsync is set on the display
  22516. +#define ADL_ADAPTER_CONFIGMEMORY_ENHANCEDVSYNC (1 << 4)
  22517. +#define ADL_ADAPTER_CONFIGMEMORY_TEARFREEVSYNC (1 << 4)
  22518. +/// @}
  22519. +
  22520. +/// \defgroup define_adl_validmemoryrequiredfields Memory Type
  22521. +/// @{
  22522. +
  22523. +/// This group defines memory types in ADLMemoryRequired struct \n
  22524. +/// Indicates that this is the visible memory
  22525. +#define ADL_MEMORYREQTYPE_VISIBLE (1 << 0)
  22526. +/// Indicates that this is the invisible memory.
  22527. +#define ADL_MEMORYREQTYPE_INVISIBLE (1 << 1)
  22528. +/// Indicates that this is amount of visible memory per GPU that should be reserved for all other allocations.
  22529. +#define ADL_MEMORYREQTYPE_GPURESERVEDVISIBLE (1 << 2)
  22530. +/// @}
  22531. +
  22532. +/// \defgroup define_adapter_tear_free_status
  22533. +/// Used in ADL_Adapter_TEAR_FREE_Set and ADL_Adapter_TFD_Get functions to indicate the tear free
  22534. +/// desktop status.
  22535. +/// @{
  22536. +/// Tear free desktop is enabled.
  22537. +#define ADL_ADAPTER_TEAR_FREE_ON 1
  22538. +/// Tear free desktop can't be enabled due to a lack of graphic adapter memory.
  22539. +#define ADL_ADAPTER_TEAR_FREE_NOTENOUGHMEM -1
  22540. +/// Tear free desktop can't be enabled due to quad buffer stereo being enabled.
  22541. +#define ADL_ADAPTER_TEAR_FREE_OFF_ERR_QUADBUFFERSTEREO -2
  22542. +/// Tear free desktop is disabled.
  22543. +#define ADL_ADAPTER_TEAR_FREE_OFF 0
  22544. +/// @}
  22545. +
  22546. +/// \defgroup define_adapter_crossdisplay_platforminfo
  22547. +/// Used in ADL_Adapter_CrossDisplayPlatformInfo_Get function to indicate the Crossdisplay platform info.
  22548. +/// @{
  22549. +/// CROSSDISPLAY platform.
  22550. +#define ADL_CROSSDISPLAY_PLATFORM (1 << 0)
  22551. +/// CROSSDISPLAY platform for Lasso station.
  22552. +#define ADL_CROSSDISPLAY_PLATFORM_LASSO (1 << 1)
  22553. +/// CROSSDISPLAY platform for docking station.
  22554. +#define ADL_CROSSDISPLAY_PLATFORM_DOCKSTATION (1 << 2)
  22555. +/// @}
  22556. +
  22557. +/// \defgroup define_adapter_crossdisplay_option
  22558. +/// Used in ADL_Adapter_CrossdisplayInfoX2_Set function to indicate cross display options.
  22559. +/// @{
  22560. +/// Checking if 3D application is runnning. If yes, not to do switch, return ADL_OK_WAIT; otherwise do switch.
  22561. +#define ADL_CROSSDISPLAY_OPTION_NONE 0
  22562. +/// Force switching without checking for running 3D applications
  22563. +#define ADL_CROSSDISPLAY_OPTION_FORCESWITCH (1 << 0)
  22564. +/// @}
  22565. +
  22566. +/// \defgroup define_adapter_states Adapter Capabilities
  22567. +/// These defines the capabilities supported by an adapter. It is used by \ref ADL_Adapter_ConfigureState_Get
  22568. +/// @{
  22569. +/// Indicates that the adapter is headless (i.e. no displays can be connected to it)
  22570. +#define ADL_ADAPTERCONFIGSTATE_HEADLESS ( 1 << 2 )
  22571. +/// Indicates that the adapter is configured to define the main rendering capabilities. For example, adapters
  22572. +/// in Crossfire(TM) configuration, this bit would only be set on the adapter driving the display(s).
  22573. +#define ADL_ADAPTERCONFIGSTATE_REQUISITE_RENDER ( 1 << 0 )
  22574. +/// Indicates that the adapter is configured to be used to unload some of the rendering work for a particular
  22575. +/// requisite rendering adapter. For eample, for adapters in a Crossfire configuration, this bit would be set
  22576. +/// on all adapters that are currently not driving the display(s)
  22577. +#define ADL_ADAPTERCONFIGSTATE_ANCILLARY_RENDER ( 1 << 1 )
  22578. +/// @}
  22579. +
  22580. +/// \defgroup define_controllermode_ulModifiers
  22581. +/// These defines the detailed actions supported by set viewport. It is used by \ref ADL_Display_ViewPort_Set
  22582. +/// @{
  22583. +/// Indicate that the viewport set will change the view position
  22584. +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_POSITION 0x00000001
  22585. +/// Indicate that the viewport set will change the view PanLock
  22586. +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_PANLOCK 0x00000002
  22587. +/// Indicate that the viewport set will change the view size
  22588. +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_SIZE 0x00000008
  22589. +/// @}
  22590. +
  22591. +
  22592. +// End Bracket for Constants and Definitions. Add new groups ABOVE this line!
  22593. +
  22594. +// @}
  22595. +#endif /* ADL_DEFINES_H_ */
  22596. +
  22597. +
  22598. --- /dev/null
  22599. +++ cgminer-2.4.1/ADL_SDK/readme.txt
  22600. @@ -0,0 +1,3 @@
  22601. +Please insert AMD ADL files adl_defines.h adl_sdk.h adl_structures.h here.
  22602. +They can be found here:
  22603. +http://developer.amd.com/sdks/ADLSDK/Pages/default.aspx
  22604. --- /dev/null
  22605. +++ cgminer-2.4.1/ADL_SDK/adl_structures.h
  22606. @@ -0,0 +1,1752 @@
  22607. +///
  22608. +/// Copyright (c) 2008 - 2012 Advanced Micro Devices, Inc.
  22609. +
  22610. +/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  22611. +/// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
  22612. +/// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  22613. +
  22614. +/// \file adl_structures.h
  22615. +///\brief This file contains the structure declarations that are used by the public ADL interfaces for \ALL platforms.\n <b>Included in ADL SDK</b>
  22616. +///
  22617. +/// All data structures used in AMD Display Library (ADL) public interfaces should be defined in this header file.
  22618. +///
  22619. +
  22620. +#ifndef ADL_STRUCTURES_H_
  22621. +#define ADL_STRUCTURES_H_
  22622. +
  22623. +#include "adl_defines.h"
  22624. +
  22625. +/////////////////////////////////////////////////////////////////////////////////////////////
  22626. +///\brief Structure containing information about the graphics adapter.
  22627. +///
  22628. +/// This structure is used to store various information about the graphics adapter. This
  22629. +/// information can be returned to the user. Alternatively, it can be used to access various driver calls to set
  22630. +/// or fetch various settings upon the user's request.
  22631. +/// \nosubgrouping
  22632. +////////////////////////////////////////////////////////////////////////////////////////////
  22633. +typedef struct AdapterInfo
  22634. +{
  22635. +/// \ALL_STRUCT_MEM
  22636. +
  22637. +/// Size of the structure.
  22638. + int iSize;
  22639. +/// The ADL index handle. One GPU may be associated with one or two index handles
  22640. + int iAdapterIndex;
  22641. +/// The unique device ID associated with this adapter.
  22642. + char strUDID[ADL_MAX_PATH];
  22643. +/// The BUS number associated with this adapter.
  22644. + int iBusNumber;
  22645. +/// The driver number associated with this adapter.
  22646. + int iDeviceNumber;
  22647. +/// The function number.
  22648. + int iFunctionNumber;
  22649. +/// The vendor ID associated with this adapter.
  22650. + int iVendorID;
  22651. +/// Adapter name.
  22652. + char strAdapterName[ADL_MAX_PATH];
  22653. +/// Display name. For example, "\\Display0" for Windows or ":0:0" for Linux.
  22654. + char strDisplayName[ADL_MAX_PATH];
  22655. +/// Present or not; 1 if present and 0 if not present.It the logical adapter is present, the display name such as \\.\Display1 can be found from OS
  22656. + int iPresent;
  22657. +// @}
  22658. +
  22659. +#if defined (_WIN32) || defined (_WIN64)
  22660. +/// \WIN_STRUCT_MEM
  22661. +
  22662. +/// Exist or not; 1 is exist and 0 is not present.
  22663. + int iExist;
  22664. +/// Driver registry path.
  22665. + char strDriverPath[ADL_MAX_PATH];
  22666. +/// Driver registry path Ext for.
  22667. + char strDriverPathExt[ADL_MAX_PATH];
  22668. +/// PNP string from Windows.
  22669. + char strPNPString[ADL_MAX_PATH];
  22670. +/// It is generated from EnumDisplayDevices.
  22671. + int iOSDisplayIndex;
  22672. +// @}
  22673. +#endif /* (_WIN32) || (_WIN64) */
  22674. +
  22675. +#if defined (LINUX)
  22676. +/// \LNX_STRUCT_MEM
  22677. +
  22678. +/// Internal X screen number from GPUMapInfo (DEPRICATED use XScreenInfo)
  22679. + int iXScreenNum;
  22680. +/// Internal driver index from GPUMapInfo
  22681. + int iDrvIndex;
  22682. +/// \deprecated Internal x config file screen identifier name. Use XScreenInfo instead.
  22683. + char strXScreenConfigName[ADL_MAX_PATH];
  22684. +
  22685. +// @}
  22686. +#endif /* (LINUX) */
  22687. +} AdapterInfo, *LPAdapterInfo;
  22688. +
  22689. +/////////////////////////////////////////////////////////////////////////////////////////////
  22690. +///\brief Structure containing information about the Linux X screen information.
  22691. +///
  22692. +/// This structure is used to store the current screen number and xorg.conf ID name assoicated with an adapter index.
  22693. +/// This structure is updated during ADL_Main_Control_Refresh or ADL_ScreenInfo_Update.
  22694. +/// Note: This structure should be used in place of iXScreenNum and strXScreenConfigName in AdapterInfo as they will be
  22695. +/// deprecated.
  22696. +/// \nosubgrouping
  22697. +////////////////////////////////////////////////////////////////////////////////////////////
  22698. +#if defined (LINUX)
  22699. +typedef struct XScreenInfo
  22700. +{
  22701. +/// Internal X screen number from GPUMapInfo.
  22702. + int iXScreenNum;
  22703. +/// Internal x config file screen identifier name.
  22704. + char strXScreenConfigName[ADL_MAX_PATH];
  22705. +} XScreenInfo, *LPXScreenInfo;
  22706. +#endif /* (LINUX) */
  22707. +
  22708. +
  22709. +/////////////////////////////////////////////////////////////////////////////////////////////
  22710. +///\brief Structure containing information about the ASIC memory.
  22711. +///
  22712. +/// This structure is used to store various information about the ASIC memory. This
  22713. +/// information can be returned to the user.
  22714. +/// \nosubgrouping
  22715. +////////////////////////////////////////////////////////////////////////////////////////////
  22716. +typedef struct ADLMemoryInfo
  22717. +{
  22718. +/// Memory size in bytes.
  22719. + long long iMemorySize;
  22720. +/// Memory type in string.
  22721. + char strMemoryType[ADL_MAX_PATH];
  22722. +/// Memory bandwidth in Mbytes/s.
  22723. + long long iMemoryBandwidth;
  22724. +} ADLMemoryInfo, *LPADLMemoryInfo;
  22725. +
  22726. +/////////////////////////////////////////////////////////////////////////////////////////////
  22727. +///\brief Structure containing information about memory required by type
  22728. +///
  22729. +/// This structure is returned by ADL_Adapter_ConfigMemory_Get, which given a desktop and display configuration
  22730. +/// will return the Memory used.
  22731. +/// \nosubgrouping
  22732. +////////////////////////////////////////////////////////////////////////////////////////////
  22733. +typedef struct ADLMemoryRequired
  22734. +{
  22735. + long long iMemoryReq; /// Memory in bytes required
  22736. + int iType; /// Type of Memory \ref define_adl_validmemoryrequiredfields
  22737. + int iDisplayFeatureValue; /// Display features \ref define_adl_visiblememoryfeatures that are using this type of memory
  22738. +} ADLMemoryRequired, *LPADLMemoryRequired;
  22739. +
  22740. +/////////////////////////////////////////////////////////////////////////////////////////////
  22741. +///\brief Structure containing information about the features associated with a display
  22742. +///
  22743. +/// This structure is a parameter to ADL_Adapter_ConfigMemory_Get, which given a desktop and display configuration
  22744. +/// will return the Memory used.
  22745. +/// \nosubgrouping
  22746. +////////////////////////////////////////////////////////////////////////////////////////////
  22747. +typedef struct ADLMemoryDisplayFeatures
  22748. +{
  22749. + int iDisplayIndex; /// ADL Display index
  22750. + int iDisplayFeatureValue; /// features that the display is using \ref define_adl_visiblememoryfeatures
  22751. +} ADLMemoryDisplayFeatures, *LPADLMemoryDisplayFeatures;
  22752. +
  22753. +/////////////////////////////////////////////////////////////////////////////////////////////
  22754. +///\brief Structure containing DDC information.
  22755. +///
  22756. +/// This structure is used to store various DDC information that can be returned to the user.
  22757. +/// Note that all fields of type int are actually defined as unsigned int types within the driver.
  22758. +/// \nosubgrouping
  22759. +////////////////////////////////////////////////////////////////////////////////////////////
  22760. +typedef struct ADLDDCInfo
  22761. +{
  22762. +/// Size of the structure
  22763. + int ulSize;
  22764. +/// Indicates whether the attached display supports DDC. If this field is zero on return, no other DDC information fields will be used.
  22765. + int ulSupportsDDC;
  22766. +/// Returns the manufacturer ID of the display device. Should be zeroed if this information is not available.
  22767. + int ulManufacturerID;
  22768. +/// Returns the product ID of the display device. Should be zeroed if this information is not available.
  22769. + int ulProductID;
  22770. +/// Returns the name of the display device. Should be zeroed if this information is not available.
  22771. + char cDisplayName[ADL_MAX_DISPLAY_NAME];
  22772. +/// Returns the maximum Horizontal supported resolution. Should be zeroed if this information is not available.
  22773. + int ulMaxHResolution;
  22774. +/// Returns the maximum Vertical supported resolution. Should be zeroed if this information is not available.
  22775. + int ulMaxVResolution;
  22776. +/// Returns the maximum supported refresh rate. Should be zeroed if this information is not available.
  22777. + int ulMaxRefresh;
  22778. +/// Returns the display device preferred timing mode's horizontal resolution.
  22779. + int ulPTMCx;
  22780. +/// Returns the display device preferred timing mode's vertical resolution.
  22781. + int ulPTMCy;
  22782. +/// Returns the display device preferred timing mode's refresh rate.
  22783. + int ulPTMRefreshRate;
  22784. +/// Return EDID flags.
  22785. + int ulDDCInfoFlag;
  22786. +} ADLDDCInfo, *LPADLDDCInfo;
  22787. +
  22788. +/////////////////////////////////////////////////////////////////////////////////////////////
  22789. +///\brief Structure containing DDC information.
  22790. +///
  22791. +/// This structure is used to store various DDC information that can be returned to the user.
  22792. +/// Note that all fields of type int are actually defined as unsigned int types within the driver.
  22793. +/// \nosubgrouping
  22794. +////////////////////////////////////////////////////////////////////////////////////////////
  22795. +typedef struct ADLDDCInfo2
  22796. +{
  22797. +/// Size of the structure
  22798. + int ulSize;
  22799. +/// Indicates whether the attached display supports DDC. If this field is zero on return, no other DDC
  22800. +/// information fields will be used.
  22801. + int ulSupportsDDC;
  22802. +/// Returns the manufacturer ID of the display device. Should be zeroed if this information is not available.
  22803. + int ulManufacturerID;
  22804. +/// Returns the product ID of the display device. Should be zeroed if this information is not available.
  22805. + int ulProductID;
  22806. +/// Returns the name of the display device. Should be zeroed if this information is not available.
  22807. + char cDisplayName[ADL_MAX_DISPLAY_NAME];
  22808. +/// Returns the maximum Horizontal supported resolution. Should be zeroed if this information is not available.
  22809. + int ulMaxHResolution;
  22810. +/// Returns the maximum Vertical supported resolution. Should be zeroed if this information is not available.
  22811. + int ulMaxVResolution;
  22812. +/// Returns the maximum supported refresh rate. Should be zeroed if this information is not available.
  22813. + int ulMaxRefresh;
  22814. +/// Returns the display device preferred timing mode's horizontal resolution.
  22815. + int ulPTMCx;
  22816. +/// Returns the display device preferred timing mode's vertical resolution.
  22817. + int ulPTMCy;
  22818. +/// Returns the display device preferred timing mode's refresh rate.
  22819. + int ulPTMRefreshRate;
  22820. +/// Return EDID flags.
  22821. + int ulDDCInfoFlag;
  22822. +// Returns 1 if the display supported packed pixel, 0 otherwise
  22823. + int bPackedPixelSupported;
  22824. +// Returns the Pixel formats the display supports \ref define_ddcinfo_pixelformats
  22825. + int iPanelPixelFormat;
  22826. +/// Return EDID serial ID.
  22827. + int ulSerialID;
  22828. +// Reserved for future use
  22829. + int iReserved[26];
  22830. +} ADLDDCInfo2, *LPADLDDCInfo2;
  22831. +
  22832. +/////////////////////////////////////////////////////////////////////////////////////////////
  22833. +///\brief Structure containing information controller Gamma settings.
  22834. +///
  22835. +/// This structure is used to store the red, green and blue color channel information for the.
  22836. +/// controller gamma setting. This information is returned by ADL, and it can also be used to
  22837. +/// set the controller gamma setting.
  22838. +/// \nosubgrouping
  22839. +////////////////////////////////////////////////////////////////////////////////////////////
  22840. +typedef struct ADLGamma
  22841. +{
  22842. +/// Red color channel gamma value.
  22843. + float fRed;
  22844. +/// Green color channel gamma value.
  22845. + float fGreen;
  22846. +/// Blue color channel gamma value.
  22847. + float fBlue;
  22848. +} ADLGamma, *LPADLGamma;
  22849. +
  22850. +/////////////////////////////////////////////////////////////////////////////////////////////
  22851. +///\brief Structure containing information about component video custom modes.
  22852. +///
  22853. +/// This structure is used to store the component video custom mode.
  22854. +/// \nosubgrouping
  22855. +////////////////////////////////////////////////////////////////////////////////////////////
  22856. +typedef struct ADLCustomMode
  22857. +{
  22858. +/// Custom mode flags. They are returned by the ADL driver.
  22859. + int iFlags;
  22860. +/// Custom mode width.
  22861. + int iModeWidth;
  22862. +/// Custom mode height.
  22863. + int iModeHeight;
  22864. +/// Custom mode base width.
  22865. + int iBaseModeWidth;
  22866. +/// Custom mode base height.
  22867. + int iBaseModeHeight;
  22868. +/// Custom mode refresh rate.
  22869. + int iRefreshRate;
  22870. +} ADLCustomMode, *LPADLCustomMode;
  22871. +
  22872. +/////////////////////////////////////////////////////////////////////////////////////////////
  22873. +///\brief Structure containing Clock information for OD5 calls.
  22874. +///
  22875. +/// This structure is used to retrieve clock information for OD5 calls.
  22876. +/// \nosubgrouping
  22877. +////////////////////////////////////////////////////////////////////////////////////////////
  22878. +typedef struct ADLGetClocksOUT
  22879. +{
  22880. + long ulHighCoreClock;
  22881. + long ulHighMemoryClock;
  22882. + long ulHighVddc;
  22883. + long ulCoreMin;
  22884. + long ulCoreMax;
  22885. + long ulMemoryMin;
  22886. + long ulMemoryMax;
  22887. + long ulActivityPercent;
  22888. + long ulCurrentCoreClock;
  22889. + long ulCurrentMemoryClock;
  22890. + long ulReserved;
  22891. +} ADLGetClocksOUT;
  22892. +
  22893. +/////////////////////////////////////////////////////////////////////////////////////////////
  22894. +///\brief Structure containing HDTV information for display calls.
  22895. +///
  22896. +/// This structure is used to retrieve HDTV information information for display calls.
  22897. +/// \nosubgrouping
  22898. +////////////////////////////////////////////////////////////////////////////////////////////
  22899. +typedef struct ADLDisplayConfig
  22900. +{
  22901. +/// Size of the structure
  22902. + long ulSize;
  22903. +/// HDTV connector type.
  22904. + long ulConnectorType;
  22905. +/// HDTV capabilities.
  22906. + long ulDeviceData;
  22907. +/// Overridden HDTV capabilities.
  22908. + long ulOverridedDeviceData;
  22909. +/// Reserved field
  22910. + long ulReserved;
  22911. +} ADLDisplayConfig;
  22912. +
  22913. +
  22914. +/////////////////////////////////////////////////////////////////////////////////////////////
  22915. +///\brief Structure containing information about the display device.
  22916. +///
  22917. +/// This structure is used to store display device information
  22918. +/// such as display index, type, name, connection status, mapped adapter and controller indexes,
  22919. +/// whether or not multiple VPUs are supported, local display connections or not (through Lasso), etc.
  22920. +/// This information can be returned to the user. Alternatively, it can be used to access various driver calls to set
  22921. +/// or fetch various display device related settings upon the user's request.
  22922. +/// \nosubgrouping
  22923. +////////////////////////////////////////////////////////////////////////////////////////////
  22924. +typedef struct ADLDisplayID
  22925. +{
  22926. +/// The logical display index belonging to this adapter.
  22927. + int iDisplayLogicalIndex;
  22928. +
  22929. +///\brief The physical display index.
  22930. +/// For example, display index 2 from adapter 2 can be used by current adapter 1.\n
  22931. +/// So current adapter may enumerate this adapter as logical display 7 but the physical display
  22932. +/// index is still 2.
  22933. + int iDisplayPhysicalIndex;
  22934. +
  22935. +/// The persistent logical adapter index for the display.
  22936. + int iDisplayLogicalAdapterIndex;
  22937. +
  22938. +///\brief The persistent physical adapter index for the display.
  22939. +/// It can be the current adapter or a non-local adapter. \n
  22940. +/// If this adapter index is different than the current adapter,
  22941. +/// the Display Non Local flag is set inside DisplayInfoValue.
  22942. + int iDisplayPhysicalAdapterIndex;
  22943. +} ADLDisplayID, *LPADLDisplayID;
  22944. +
  22945. +/////////////////////////////////////////////////////////////////////////////////////////////
  22946. +///\brief Structure containing information about the display device.
  22947. +///
  22948. +/// This structure is used to store various information about the display device. This
  22949. +/// information can be returned to the user, or used to access various driver calls to set
  22950. +/// or fetch various display-device-related settings upon the user's request
  22951. +/// \nosubgrouping
  22952. +////////////////////////////////////////////////////////////////////////////////////////////
  22953. +typedef struct ADLDisplayInfo
  22954. +{
  22955. +/// The DisplayID structure
  22956. + ADLDisplayID displayID;
  22957. +
  22958. +///\deprecated The controller index to which the display is mapped.\n Will not be used in the future\n
  22959. + int iDisplayControllerIndex;
  22960. +
  22961. +/// The display's EDID name.
  22962. + char strDisplayName[ADL_MAX_PATH];
  22963. +
  22964. +/// The display's manufacturer name.
  22965. + char strDisplayManufacturerName[ADL_MAX_PATH];
  22966. +
  22967. +/// The Display type. For example: CRT, TV, CV, DFP.
  22968. + int iDisplayType;
  22969. +
  22970. +/// The display output type. For example: HDMI, SVIDEO, COMPONMNET VIDEO.
  22971. + int iDisplayOutputType;
  22972. +
  22973. +/// The connector type for the device.
  22974. + int iDisplayConnector;
  22975. +
  22976. +///\brief The bit mask identifies the number of bits ADLDisplayInfo is currently using. \n
  22977. +/// It will be the sum all the bit definitions in ADL_DISPLAY_DISPLAYINFO_xxx.
  22978. + int iDisplayInfoMask;
  22979. +
  22980. +/// The bit mask identifies the display status. \ref define_displayinfomask
  22981. + int iDisplayInfoValue;
  22982. +} ADLDisplayInfo, *LPADLDisplayInfo;
  22983. +
  22984. +/////////////////////////////////////////////////////////////////////////////////////////////
  22985. +///\brief Structure containing information about the display port MST device.
  22986. +///
  22987. +/// This structure is used to store various MST information about the display port device. This
  22988. +/// information can be returned to the user, or used to access various driver calls to
  22989. +/// fetch various display-device-related settings upon the user's request
  22990. +/// \nosubgrouping
  22991. +////////////////////////////////////////////////////////////////////////////////////////////
  22992. +typedef struct ADLDisplayDPMSTInfo
  22993. +{
  22994. + /// The ADLDisplayID structure
  22995. + ADLDisplayID displayID;
  22996. +
  22997. + /// total bandwidth available on the DP connector
  22998. + int iTotalAvailableBandwidthInMpbs;
  22999. + /// bandwidth allocated to this display
  23000. + int iAllocatedBandwidthInMbps;
  23001. +
  23002. + // info from DAL DpMstSinkInfo
  23003. + /// string identifier for the display
  23004. + char strGlobalUniqueIdentifier[ADL_MAX_PATH];
  23005. +
  23006. + /// The link count of relative address, rad[0] upto rad[linkCount] are valid
  23007. + int radLinkCount;
  23008. + /// The physical connector ID, used to identify the physical DP port
  23009. + int iPhysicalConnectorID;
  23010. +
  23011. + /// Relative address, address scheme starts from source side
  23012. + char rad[ADL_MAX_RAD_LINK_COUNT];
  23013. +} ADLDisplayDPMSTInfo, *LPADLDisplayDPMSTInfo;
  23014. +
  23015. +/////////////////////////////////////////////////////////////////////////////////////////////
  23016. +///\brief Structure containing the display mode definition used per controller.
  23017. +///
  23018. +/// This structure is used to store the display mode definition used per controller.
  23019. +/// \nosubgrouping
  23020. +////////////////////////////////////////////////////////////////////////////////////////////
  23021. +typedef struct ADLDisplayMode
  23022. +{
  23023. +/// Vertical resolution (in pixels).
  23024. + int iPelsHeight;
  23025. +/// Horizontal resolution (in pixels).
  23026. + int iPelsWidth;
  23027. +/// Color depth.
  23028. + int iBitsPerPel;
  23029. +/// Refresh rate.
  23030. + int iDisplayFrequency;
  23031. +} ADLDisplayMode;
  23032. +
  23033. +/////////////////////////////////////////////////////////////////////////////////////////////
  23034. +///\brief Structure containing detailed timing parameters.
  23035. +///
  23036. +/// This structure is used to store the detailed timing parameters.
  23037. +/// \nosubgrouping
  23038. +////////////////////////////////////////////////////////////////////////////////////////////
  23039. +typedef struct ADLDetailedTiming
  23040. +{
  23041. +/// Size of the structure.
  23042. + int iSize;
  23043. +/// Timing flags. \ref define_detailed_timing_flags
  23044. + short sTimingFlags;
  23045. +/// Total width (columns).
  23046. + short sHTotal;
  23047. +/// Displayed width.
  23048. + short sHDisplay;
  23049. +/// Horizontal sync signal offset.
  23050. + short sHSyncStart;
  23051. +/// Horizontal sync signal width.
  23052. + short sHSyncWidth;
  23053. +/// Total height (rows).
  23054. + short sVTotal;
  23055. +/// Displayed height.
  23056. + short sVDisplay;
  23057. +/// Vertical sync signal offset.
  23058. + short sVSyncStart;
  23059. +/// Vertical sync signal width.
  23060. + short sVSyncWidth;
  23061. +/// Pixel clock value.
  23062. + short sPixelClock;
  23063. +/// Overscan right.
  23064. + short sHOverscanRight;
  23065. +/// Overscan left.
  23066. + short sHOverscanLeft;
  23067. +/// Overscan bottom.
  23068. + short sVOverscanBottom;
  23069. +/// Overscan top.
  23070. + short sVOverscanTop;
  23071. + short sOverscan8B;
  23072. + short sOverscanGR;
  23073. +} ADLDetailedTiming;
  23074. +
  23075. +/////////////////////////////////////////////////////////////////////////////////////////////
  23076. +///\brief Structure containing display mode information.
  23077. +///
  23078. +/// This structure is used to store the display mode information.
  23079. +/// \nosubgrouping
  23080. +////////////////////////////////////////////////////////////////////////////////////////////
  23081. +typedef struct ADLDisplayModeInfo
  23082. +{
  23083. +/// Timing standard of the current mode. \ref define_modetiming_standard
  23084. + int iTimingStandard;
  23085. +/// Applicable timing standards for the current mode.
  23086. + int iPossibleStandard;
  23087. +/// Refresh rate factor.
  23088. + int iRefreshRate;
  23089. +/// Num of pixels in a row.
  23090. + int iPelsWidth;
  23091. +/// Num of pixels in a column.
  23092. + int iPelsHeight;
  23093. +/// Detailed timing parameters.
  23094. + ADLDetailedTiming sDetailedTiming;
  23095. +} ADLDisplayModeInfo;
  23096. +
  23097. +/////////////////////////////////////////////////////////////////////////////////////////////
  23098. +/// \brief Structure containing information about display property.
  23099. +///
  23100. +/// This structure is used to store the display property for the current adapter.
  23101. +/// \nosubgrouping
  23102. +////////////////////////////////////////////////////////////////////////////////////////////
  23103. +typedef struct ADLDisplayProperty
  23104. +{
  23105. +/// Must be set to sizeof the structure
  23106. + int iSize;
  23107. +/// Must be set to \ref ADL_DL_DISPLAYPROPERTY_TYPE_EXPANSIONMODE or \ref ADL_DL_DISPLAYPROPERTY_TYPE_USEUNDERSCANSCALING
  23108. + int iPropertyType;
  23109. +/// Get or Set \ref ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_CENTER or \ref ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_FULLSCREEN or \ref ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_ASPECTRATIO or \ref ADL_DL_DISPLAYPROPERTY_TYPE_ITCFLAGENABLE
  23110. + int iExpansionMode;
  23111. +/// Display Property supported? 1: Supported, 0: Not supported
  23112. + int iSupport;
  23113. +/// Display Property current value
  23114. + int iCurrent;
  23115. +/// Display Property Default value
  23116. + int iDefault;
  23117. +} ADLDisplayProperty;
  23118. +
  23119. +/////////////////////////////////////////////////////////////////////////////////////////////
  23120. +///\brief Structure containing information about Clock.
  23121. +///
  23122. +/// This structure is used to store the clock information for the current adapter
  23123. +/// such as core clock and memory clock info.
  23124. +///\nosubgrouping
  23125. +////////////////////////////////////////////////////////////////////////////////////////////
  23126. +typedef struct ADLClockInfo
  23127. +{
  23128. +/// Core clock in 10 KHz.
  23129. + int iCoreClock;
  23130. +/// Memory clock in 10 KHz.
  23131. + int iMemoryClock;
  23132. +} ADLClockInfo, *LPADLClockInfo;
  23133. +
  23134. +/////////////////////////////////////////////////////////////////////////////////////////////
  23135. +///\brief Structure containing information about I2C.
  23136. +///
  23137. +/// This structure is used to store the I2C information for the current adapter.
  23138. +/// This structure is used by the ADL_Display_WriteAndReadI2C() function.
  23139. +/// \nosubgrouping
  23140. +////////////////////////////////////////////////////////////////////////////////////////////
  23141. +typedef struct ADLI2C
  23142. +{
  23143. +/// Size of the structure
  23144. + int iSize;
  23145. +/// Numerical value representing hardware I2C.
  23146. + int iLine;
  23147. +/// The 7-bit I2C slave device address, shifted one bit to the left.
  23148. + int iAddress;
  23149. +/// The offset of the data from the address.
  23150. + int iOffset;
  23151. +/// Read from or write to slave device. \ref ADL_DL_I2C_ACTIONREAD or \ref ADL_DL_I2C_ACTIONWRITE or \ref ADL_DL_I2C_ACTIONREAD_REPEATEDSTART
  23152. + int iAction;
  23153. +/// I2C clock speed in KHz.
  23154. + int iSpeed;
  23155. +/// A numerical value representing the number of bytes to be sent or received on the I2C bus.
  23156. + int iDataSize;
  23157. +/// Address of the characters which are to be sent or received on the I2C bus.
  23158. + char *pcData;
  23159. +} ADLI2C;
  23160. +
  23161. +/////////////////////////////////////////////////////////////////////////////////////////////
  23162. +///\brief Structure containing information about EDID data.
  23163. +///
  23164. +/// This structure is used to store the information about EDID data for the adapter.
  23165. +/// This structure is used by the ADL_Display_EdidData_Get() and ADL_Display_EdidData_Set() functions.
  23166. +/// \nosubgrouping
  23167. +////////////////////////////////////////////////////////////////////////////////////////////
  23168. +typedef struct ADLDisplayEDIDData
  23169. +{
  23170. +/// Size of the structure
  23171. + int iSize;
  23172. +/// Set to 0
  23173. + int iFlag;
  23174. + /// Size of cEDIDData. Set by ADL_Display_EdidData_Get() upon return
  23175. + int iEDIDSize;
  23176. +/// 0, 1 or 2. If set to 3 or above an error ADL_ERR_INVALID_PARAM is generated
  23177. + int iBlockIndex;
  23178. +/// EDID data
  23179. + char cEDIDData[ADL_MAX_EDIDDATA_SIZE];
  23180. +/// Reserved
  23181. + int iReserved[4];
  23182. +}ADLDisplayEDIDData;
  23183. +
  23184. +/////////////////////////////////////////////////////////////////////////////////////////////
  23185. +///\brief Structure containing information about input of controller overlay adjustment.
  23186. +///
  23187. +/// This structure is used to store the information about input of controller overlay adjustment for the adapter.
  23188. +/// This structure is used by the ADL_Display_ControllerOverlayAdjustmentCaps_Get, ADL_Display_ControllerOverlayAdjustmentData_Get, and
  23189. +/// ADL_Display_ControllerOverlayAdjustmentData_Set() functions.
  23190. +/// \nosubgrouping
  23191. +////////////////////////////////////////////////////////////////////////////////////////////
  23192. +typedef struct ADLControllerOverlayInput
  23193. +{
  23194. +/// Should be set to the sizeof the structure
  23195. + int iSize;
  23196. +///\ref ADL_DL_CONTROLLER_OVERLAY_ALPHA or \ref ADL_DL_CONTROLLER_OVERLAY_ALPHAPERPIX
  23197. + int iOverlayAdjust;
  23198. +/// Data.
  23199. + int iValue;
  23200. +/// Should be 0.
  23201. + int iReserved;
  23202. +} ADLControllerOverlayInput;
  23203. +
  23204. +/////////////////////////////////////////////////////////////////////////////////////////////
  23205. +///\brief Structure containing information about overlay adjustment.
  23206. +///
  23207. +/// This structure is used to store the information about overlay adjustment for the adapter.
  23208. +/// This structure is used by the ADLControllerOverlayInfo() function.
  23209. +/// \nosubgrouping
  23210. +////////////////////////////////////////////////////////////////////////////////////////////
  23211. +typedef struct ADLAdjustmentinfo
  23212. +{
  23213. +/// Default value
  23214. + int iDefault;
  23215. +/// Minimum value
  23216. + int iMin;
  23217. +/// Maximum Value
  23218. + int iMax;
  23219. +/// Step value
  23220. + int iStep;
  23221. +} ADLAdjustmentinfo;
  23222. +
  23223. +/////////////////////////////////////////////////////////////////////////////////////////////
  23224. +///\brief Structure containing information about controller overlay information.
  23225. +///
  23226. +/// This structure is used to store information about controller overlay info for the adapter.
  23227. +/// This structure is used by the ADL_Display_ControllerOverlayAdjustmentCaps_Get() function.
  23228. +/// \nosubgrouping
  23229. +////////////////////////////////////////////////////////////////////////////////////////////
  23230. +typedef struct ADLControllerOverlayInfo
  23231. +{
  23232. +/// Should be set to the sizeof the structure
  23233. + int iSize;
  23234. +/// Data.
  23235. + ADLAdjustmentinfo sOverlayInfo;
  23236. +/// Should be 0.
  23237. + int iReserved[3];
  23238. +} ADLControllerOverlayInfo;
  23239. +
  23240. +/////////////////////////////////////////////////////////////////////////////////////////////
  23241. +///\brief Structure containing GL-Sync module information.
  23242. +///
  23243. +/// This structure is used to retrieve GL-Sync module information for
  23244. +/// Workstation Framelock/Genlock.
  23245. +/// \nosubgrouping
  23246. +////////////////////////////////////////////////////////////////////////////////////////////
  23247. +typedef struct ADLGLSyncModuleID
  23248. +{
  23249. +/// Unique GL-Sync module ID.
  23250. + int iModuleID;
  23251. +/// GL-Sync GPU port index (to be passed into ADLGLSyncGenlockConfig.lSignalSource and ADLGlSyncPortControl.lSignalSource).
  23252. + int iGlSyncGPUPort;
  23253. +/// GL-Sync module firmware version of Boot Sector.
  23254. + int iFWBootSectorVersion;
  23255. +/// GL-Sync module firmware version of User Sector.
  23256. + int iFWUserSectorVersion;
  23257. +} ADLGLSyncModuleID , *LPADLGLSyncModuleID;
  23258. +
  23259. +/////////////////////////////////////////////////////////////////////////////////////////////
  23260. +///\brief Structure containing GL-Sync ports capabilities.
  23261. +///
  23262. +/// This structure is used to retrieve hardware capabilities for the ports of the GL-Sync module
  23263. +/// for Workstation Framelock/Genlock (such as port type and number of associated LEDs).
  23264. +/// \nosubgrouping
  23265. +////////////////////////////////////////////////////////////////////////////////////////////
  23266. +typedef struct ADLGLSyncPortCaps
  23267. +{
  23268. +/// Port type. Bitfield of ADL_GLSYNC_PORTTYPE_* \ref define_glsync
  23269. + int iPortType;
  23270. +/// Number of LEDs associated for this port.
  23271. + int iNumOfLEDs;
  23272. +}ADLGLSyncPortCaps, *LPADLGLSyncPortCaps;
  23273. +
  23274. +/////////////////////////////////////////////////////////////////////////////////////////////
  23275. +///\brief Structure containing GL-Sync Genlock settings.
  23276. +///
  23277. +/// This structure is used to get and set genlock settings for the GPU ports of the GL-Sync module
  23278. +/// for Workstation Framelock/Genlock.\n
  23279. +/// \see define_glsync
  23280. +/// \nosubgrouping
  23281. +////////////////////////////////////////////////////////////////////////////////////////////
  23282. +typedef struct ADLGLSyncGenlockConfig
  23283. +{
  23284. +/// Specifies what fields in this structure are valid \ref define_glsync
  23285. + int iValidMask;
  23286. +/// Delay (ms) generating a sync signal.
  23287. + int iSyncDelay;
  23288. +/// Vector of framelock control bits. Bitfield of ADL_GLSYNC_FRAMELOCKCNTL_* \ref define_glsync
  23289. + int iFramelockCntlVector;
  23290. +/// Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* \ref define_glsync
  23291. + int iSignalSource;
  23292. +/// Use sampled sync signal. A value of 0 specifies no sampling.
  23293. + int iSampleRate;
  23294. +/// For interlaced sync signals, the value can be ADL_GLSYNC_SYNCFIELD_1 or *_BOTH \ref define_glsync
  23295. + int iSyncField;
  23296. +/// The signal edge that should trigger synchronization. ADL_GLSYNC_TRIGGEREDGE_* \ref define_glsync
  23297. + int iTriggerEdge;
  23298. +/// Scan rate multiplier applied to the sync signal. ADL_GLSYNC_SCANRATECOEFF_* \ref define_glsync
  23299. + int iScanRateCoeff;
  23300. +}ADLGLSyncGenlockConfig, *LPADLGLSyncGenlockConfig;
  23301. +
  23302. +/////////////////////////////////////////////////////////////////////////////////////////////
  23303. +///\brief Structure containing GL-Sync port information.
  23304. +///
  23305. +/// This structure is used to get status of the GL-Sync ports (BNC or RJ45s)
  23306. +/// for Workstation Framelock/Genlock.
  23307. +/// \see define_glsync
  23308. +/// \nosubgrouping
  23309. +////////////////////////////////////////////////////////////////////////////////////////////
  23310. +typedef struct ADLGlSyncPortInfo
  23311. +{
  23312. +/// Type of GL-Sync port (ADL_GLSYNC_PORT_*).
  23313. + int iPortType;
  23314. +/// The number of LEDs for this port. It's also filled within ADLGLSyncPortCaps.
  23315. + int iNumOfLEDs;
  23316. +/// Port state ADL_GLSYNC_PORTSTATE_* \ref define_glsync
  23317. + int iPortState;
  23318. +/// Scanned frequency for this port (vertical refresh rate in milliHz; 60000 means 60 Hz).
  23319. + int iFrequency;
  23320. +/// Used for ADL_GLSYNC_PORT_BNC. It is ADL_GLSYNC_SIGNALTYPE_* \ref define_glsync
  23321. + int iSignalType;
  23322. +/// Used for ADL_GLSYNC_PORT_RJ45PORT*. It is GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_*. \ref define_glsync
  23323. + int iSignalSource;
  23324. +
  23325. +} ADLGlSyncPortInfo, *LPADLGlSyncPortInfo;
  23326. +
  23327. +/////////////////////////////////////////////////////////////////////////////////////////////
  23328. +///\brief Structure containing GL-Sync port control settings.
  23329. +///
  23330. +/// This structure is used to configure the GL-Sync ports (RJ45s only)
  23331. +/// for Workstation Framelock/Genlock.
  23332. +/// \see define_glsync
  23333. +/// \nosubgrouping
  23334. +////////////////////////////////////////////////////////////////////////////////////////////
  23335. +typedef struct ADLGlSyncPortControl
  23336. +{
  23337. +/// Port to control ADL_GLSYNC_PORT_RJ45PORT1 or ADL_GLSYNC_PORT_RJ45PORT2 \ref define_glsync
  23338. + int iPortType;
  23339. +/// Port control data ADL_GLSYNC_PORTCNTL_* \ref define_glsync
  23340. + int iControlVector;
  23341. +/// Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* \ref define_glsync
  23342. + int iSignalSource;
  23343. +} ADLGlSyncPortControl;
  23344. +
  23345. +/////////////////////////////////////////////////////////////////////////////////////////////
  23346. +///\brief Structure containing GL-Sync mode of a display.
  23347. +///
  23348. +/// This structure is used to get and set GL-Sync mode settings for a display connected to
  23349. +/// an adapter attached to a GL-Sync module for Workstation Framelock/Genlock.
  23350. +/// \see define_glsync
  23351. +/// \nosubgrouping
  23352. +////////////////////////////////////////////////////////////////////////////////////////////
  23353. +typedef struct ADLGlSyncMode
  23354. +{
  23355. +/// Mode control vector. Bitfield of ADL_GLSYNC_MODECNTL_* \ref define_glsync
  23356. + int iControlVector;
  23357. +/// Mode status vector. Bitfield of ADL_GLSYNC_MODECNTL_STATUS_* \ref define_glsync
  23358. + int iStatusVector;
  23359. +/// Index of GL-Sync connector used to genlock the display/controller.
  23360. + int iGLSyncConnectorIndex;
  23361. +} ADLGlSyncMode, *LPADLGlSyncMode;
  23362. +
  23363. +/////////////////////////////////////////////////////////////////////////////////////////////
  23364. +///\brief Structure containing GL-Sync mode of a display.
  23365. +///
  23366. +/// This structure is used to get and set GL-Sync mode settings for a display connected to
  23367. +/// an adapter attached to a GL-Sync module for Workstation Framelock/Genlock.
  23368. +/// \see define_glsync
  23369. +/// \nosubgrouping
  23370. +////////////////////////////////////////////////////////////////////////////////////////////
  23371. +typedef struct ADLGlSyncMode2
  23372. +{
  23373. +/// Mode control vector. Bitfield of ADL_GLSYNC_MODECNTL_* \ref define_glsync
  23374. + int iControlVector;
  23375. +/// Mode status vector. Bitfield of ADL_GLSYNC_MODECNTL_STATUS_* \ref define_glsync
  23376. + int iStatusVector;
  23377. +/// Index of GL-Sync connector used to genlock the display/controller.
  23378. + int iGLSyncConnectorIndex;
  23379. +/// Index of the display to which this GLSync applies to.
  23380. + int iDisplayIndex;
  23381. +} ADLGlSyncMode2, *LPADLGlSyncMode2;
  23382. +
  23383. +
  23384. +/////////////////////////////////////////////////////////////////////////////////////////////
  23385. +///\brief Structure containing the packet info of a display.
  23386. +///
  23387. +/// This structure is used to get and set the packet information of a display.
  23388. +/// This structure is used by ADLDisplayDataPacket.
  23389. +/// \nosubgrouping
  23390. +////////////////////////////////////////////////////////////////////////////////////////////
  23391. +typedef struct ADLInfoPacket
  23392. +{
  23393. + char hb0;
  23394. + char hb1;
  23395. + char hb2;
  23396. +/// sb0~sb27
  23397. + char sb[28];
  23398. +}ADLInfoPacket;
  23399. +
  23400. +/////////////////////////////////////////////////////////////////////////////////////////////
  23401. +///\brief Structure containing the AVI packet info of a display.
  23402. +///
  23403. +/// This structure is used to get and set AVI the packet info of a display.
  23404. +/// This structure is used by ADLDisplayDataPacket.
  23405. +/// \nosubgrouping
  23406. +////////////////////////////////////////////////////////////////////////////////////////////
  23407. +typedef struct ADLAVIInfoPacket //Valid user defined data/
  23408. +{
  23409. +/// byte 3, bit 7
  23410. + char bPB3_ITC;
  23411. +/// byte 5, bit [7:4].
  23412. + char bPB5;
  23413. +}ADLAVIInfoPacket;
  23414. +
  23415. +// Overdrive clock setting structure definition.
  23416. +
  23417. +/////////////////////////////////////////////////////////////////////////////////////////////
  23418. +///\brief Structure containing the Overdrive clock setting.
  23419. +///
  23420. +/// This structure is used to get the Overdrive clock setting.
  23421. +/// This structure is used by ADLAdapterODClockInfo.
  23422. +/// \nosubgrouping
  23423. +////////////////////////////////////////////////////////////////////////////////////////////
  23424. +typedef struct ADLODClockSetting
  23425. +{
  23426. +/// Deafult clock
  23427. + int iDefaultClock;
  23428. +/// Current clock
  23429. + int iCurrentClock;
  23430. +/// Maximum clcok
  23431. + int iMaxClock;
  23432. +/// Minimum clock
  23433. + int iMinClock;
  23434. +/// Requested clcock
  23435. + int iRequestedClock;
  23436. +/// Step
  23437. + int iStepClock;
  23438. +} ADLODClockSetting;
  23439. +
  23440. +/////////////////////////////////////////////////////////////////////////////////////////////
  23441. +///\brief Structure containing the Overdrive clock information.
  23442. +///
  23443. +/// This structure is used to get the Overdrive clock information.
  23444. +/// This structure is used by the ADL_Display_ODClockInfo_Get() function.
  23445. +/// \nosubgrouping
  23446. +////////////////////////////////////////////////////////////////////////////////////////////
  23447. +typedef struct ADLAdapterODClockInfo
  23448. +{
  23449. +/// Size of the structure
  23450. + int iSize;
  23451. +/// Flag \ref define_clockinfo_flags
  23452. + int iFlags;
  23453. +/// Memory Clock
  23454. + ADLODClockSetting sMemoryClock;
  23455. +/// Engine Clock
  23456. + ADLODClockSetting sEngineClock;
  23457. +} ADLAdapterODClockInfo;
  23458. +
  23459. +/////////////////////////////////////////////////////////////////////////////////////////////
  23460. +///\brief Structure containing the Overdrive clock configuration.
  23461. +///
  23462. +/// This structure is used to set the Overdrive clock configuration.
  23463. +/// This structure is used by the ADL_Display_ODClockConfig_Set() function.
  23464. +/// \nosubgrouping
  23465. +////////////////////////////////////////////////////////////////////////////////////////////
  23466. +typedef struct ADLAdapterODClockConfig
  23467. +{
  23468. +/// Size of the structure
  23469. + int iSize;
  23470. +/// Flag \ref define_clockinfo_flags
  23471. + int iFlags;
  23472. +/// Memory Clock
  23473. + int iMemoryClock;
  23474. +/// Engine Clock
  23475. + int iEngineClock;
  23476. +} ADLAdapterODClockConfig;
  23477. +
  23478. +/////////////////////////////////////////////////////////////////////////////////////////////
  23479. +///\brief Structure containing information about current power management related activity.
  23480. +///
  23481. +/// This structure is used to store information about current power management related activity.
  23482. +/// This structure (Overdrive 5 interfaces) is used by the ADL_PM_CurrentActivity_Get() function.
  23483. +/// \nosubgrouping
  23484. +////////////////////////////////////////////////////////////////////////////////////////////
  23485. +typedef struct ADLPMActivity
  23486. +{
  23487. +/// Must be set to the size of the structure
  23488. + int iSize;
  23489. +/// Current engine clock.
  23490. + int iEngineClock;
  23491. +/// Current memory clock.
  23492. + int iMemoryClock;
  23493. +/// Current core voltage.
  23494. + int iVddc;
  23495. +/// GPU utilization.
  23496. + int iActivityPercent;
  23497. +/// Performance level index.
  23498. + int iCurrentPerformanceLevel;
  23499. +/// Current PCIE bus speed.
  23500. + int iCurrentBusSpeed;
  23501. +/// Number of PCIE bus lanes.
  23502. + int iCurrentBusLanes;
  23503. +/// Maximum number of PCIE bus lanes.
  23504. + int iMaximumBusLanes;
  23505. +/// Reserved for future purposes.
  23506. + int iReserved;
  23507. +} ADLPMActivity;
  23508. +
  23509. +/////////////////////////////////////////////////////////////////////////////////////////////
  23510. +///\brief Structure containing information about thermal controller.
  23511. +///
  23512. +/// This structure is used to store information about thermal controller.
  23513. +/// This structure is used by ADL_PM_ThermalDevices_Enum.
  23514. +/// \nosubgrouping
  23515. +////////////////////////////////////////////////////////////////////////////////////////////
  23516. +typedef struct ADLThermalControllerInfo
  23517. +{
  23518. +/// Must be set to the size of the structure
  23519. + int iSize;
  23520. +/// Possible valies: \ref ADL_DL_THERMAL_DOMAIN_OTHER or \ref ADL_DL_THERMAL_DOMAIN_GPU.
  23521. + int iThermalDomain;
  23522. +/// GPU 0, 1, etc.
  23523. + int iDomainIndex;
  23524. +/// Possible valies: \ref ADL_DL_THERMAL_FLAG_INTERRUPT or \ref ADL_DL_THERMAL_FLAG_FANCONTROL
  23525. + int iFlags;
  23526. +} ADLThermalControllerInfo;
  23527. +
  23528. +/////////////////////////////////////////////////////////////////////////////////////////////
  23529. +///\brief Structure containing information about thermal controller temperature.
  23530. +///
  23531. +/// This structure is used to store information about thermal controller temperature.
  23532. +/// This structure is used by the ADL_PM_Temperature_Get() function.
  23533. +/// \nosubgrouping
  23534. +////////////////////////////////////////////////////////////////////////////////////////////
  23535. +typedef struct ADLTemperature
  23536. +{
  23537. +/// Must be set to the size of the structure
  23538. + int iSize;
  23539. +/// Temperature in millidegrees Celsius.
  23540. + int iTemperature;
  23541. +} ADLTemperature;
  23542. +
  23543. +/////////////////////////////////////////////////////////////////////////////////////////////
  23544. +///\brief Structure containing information about thermal controller fan speed.
  23545. +///
  23546. +/// This structure is used to store information about thermal controller fan speed.
  23547. +/// This structure is used by the ADL_PM_FanSpeedInfo_Get() function.
  23548. +/// \nosubgrouping
  23549. +////////////////////////////////////////////////////////////////////////////////////////////
  23550. +typedef struct ADLFanSpeedInfo
  23551. +{
  23552. +/// Must be set to the size of the structure
  23553. + int iSize;
  23554. +/// \ref define_fanctrl
  23555. + int iFlags;
  23556. +/// Minimum possible fan speed value in percents.
  23557. + int iMinPercent;
  23558. +/// Maximum possible fan speed value in percents.
  23559. + int iMaxPercent;
  23560. +/// Minimum possible fan speed value in RPM.
  23561. + int iMinRPM;
  23562. +/// Maximum possible fan speed value in RPM.
  23563. + int iMaxRPM;
  23564. +} ADLFanSpeedInfo;
  23565. +
  23566. +/////////////////////////////////////////////////////////////////////////////////////////////
  23567. +///\brief Structure containing information about fan speed reported by thermal controller.
  23568. +///
  23569. +/// This structure is used to store information about fan speed reported by thermal controller.
  23570. +/// This structure is used by the ADL_Overdrive5_FanSpeed_Get() and ADL_Overdrive5_FanSpeed_Set() functions.
  23571. +/// \nosubgrouping
  23572. +////////////////////////////////////////////////////////////////////////////////////////////
  23573. +typedef struct ADLFanSpeedValue
  23574. +{
  23575. +/// Must be set to the size of the structure
  23576. + int iSize;
  23577. +/// Possible valies: \ref ADL_DL_FANCTRL_SPEED_TYPE_PERCENT or \ref ADL_DL_FANCTRL_SPEED_TYPE_RPM
  23578. + int iSpeedType;
  23579. +/// Fan speed value
  23580. + int iFanSpeed;
  23581. +/// The only flag for now is: \ref ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED
  23582. + int iFlags;
  23583. +} ADLFanSpeedValue;
  23584. +
  23585. +////////////////////////////////////////////////////////////////////////////////////////////
  23586. +///\brief Structure containing the range of Overdrive parameter.
  23587. +///
  23588. +/// This structure is used to store information about the range of Overdrive parameter.
  23589. +/// This structure is used by ADLODParameters.
  23590. +/// \nosubgrouping
  23591. +////////////////////////////////////////////////////////////////////////////////////////////
  23592. +typedef struct ADLODParameterRange
  23593. +{
  23594. +/// Minimum parameter value.
  23595. + int iMin;
  23596. +/// Maximum parameter value.
  23597. + int iMax;
  23598. +/// Parameter step value.
  23599. + int iStep;
  23600. +} ADLODParameterRange;
  23601. +
  23602. +/////////////////////////////////////////////////////////////////////////////////////////////
  23603. +///\brief Structure containing information about Overdrive parameters.
  23604. +///
  23605. +/// This structure is used to store information about Overdrive parameters.
  23606. +/// This structure is used by the ADL_Overdrive5_ODParameters_Get() function.
  23607. +/// \nosubgrouping
  23608. +////////////////////////////////////////////////////////////////////////////////////////////
  23609. +typedef struct ADLODParameters
  23610. +{
  23611. +/// Must be set to the size of the structure
  23612. + int iSize;
  23613. +/// Number of standard performance states.
  23614. + int iNumberOfPerformanceLevels;
  23615. +/// Indicates whether the GPU is capable to measure its activity.
  23616. + int iActivityReportingSupported;
  23617. +/// Indicates whether the GPU supports discrete performance levels or performance range.
  23618. + int iDiscretePerformanceLevels;
  23619. +/// Reserved for future use.
  23620. + int iReserved;
  23621. +/// Engine clock range.
  23622. + ADLODParameterRange sEngineClock;
  23623. +/// Memory clock range.
  23624. + ADLODParameterRange sMemoryClock;
  23625. +/// Core voltage range.
  23626. + ADLODParameterRange sVddc;
  23627. +} ADLODParameters;
  23628. +
  23629. +/////////////////////////////////////////////////////////////////////////////////////////////
  23630. +///\brief Structure containing information about Overdrive level.
  23631. +///
  23632. +/// This structure is used to store information about Overdrive level.
  23633. +/// This structure is used by ADLODPerformanceLevels.
  23634. +/// \nosubgrouping
  23635. +////////////////////////////////////////////////////////////////////////////////////////////
  23636. +typedef struct ADLODPerformanceLevel
  23637. +{
  23638. +/// Engine clock.
  23639. + int iEngineClock;
  23640. +/// Memory clock.
  23641. + int iMemoryClock;
  23642. +/// Core voltage.
  23643. + int iVddc;
  23644. +} ADLODPerformanceLevel;
  23645. +
  23646. +/////////////////////////////////////////////////////////////////////////////////////////////
  23647. +///\brief Structure containing information about Overdrive performance levels.
  23648. +///
  23649. +/// This structure is used to store information about Overdrive performance levels.
  23650. +/// This structure is used by the ADL_Overdrive5_ODPerformanceLevels_Get() and ADL_Overdrive5_ODPerformanceLevels_Set() functions.
  23651. +/// \nosubgrouping
  23652. +////////////////////////////////////////////////////////////////////////////////////////////
  23653. +typedef struct ADLODPerformanceLevels
  23654. +{
  23655. +/// Must be set to sizeof( \ref ADLODPerformanceLevels ) + sizeof( \ref ADLODPerformanceLevel ) * (ADLODParameters.iNumberOfPerformanceLevels - 1)
  23656. + int iSize;
  23657. + int iReserved;
  23658. +/// Array of performance state descriptors. Must have ADLODParameters.iNumberOfPerformanceLevels elements.
  23659. + ADLODPerformanceLevel aLevels [1];
  23660. +} ADLODPerformanceLevels;
  23661. +
  23662. +/////////////////////////////////////////////////////////////////////////////////////////////
  23663. +///\brief Structure containing information about the proper CrossfireX chains combinations.
  23664. +///
  23665. +/// This structure is used to store information about the CrossfireX chains combination for a particular adapter.
  23666. +/// This structure is used by the ADL_Adapter_Crossfire_Caps(), ADL_Adapter_Crossfire_Get(), and ADL_Adapter_Crossfire_Set() functions.
  23667. +/// \nosubgrouping
  23668. +////////////////////////////////////////////////////////////////////////////////////////////
  23669. +typedef struct ADLCrossfireComb
  23670. +{
  23671. +/// Number of adapters in this combination.
  23672. + int iNumLinkAdapter;
  23673. +/// A list of ADL indexes of the linked adapters in this combination.
  23674. + int iAdaptLink[3];
  23675. +} ADLCrossfireComb;
  23676. +
  23677. +/////////////////////////////////////////////////////////////////////////////////////////////
  23678. +///\brief Structure containing CrossfireX state and error information.
  23679. +///
  23680. +/// This structure is used to store state and error information about a particular adapter CrossfireX combination.
  23681. +/// This structure is used by the ADL_Adapter_Crossfire_Get() function.
  23682. +/// \nosubgrouping
  23683. +////////////////////////////////////////////////////////////////////////////////////////////
  23684. +typedef struct ADLCrossfireInfo
  23685. +{
  23686. +/// Current error code of this CrossfireX combination.
  23687. + int iErrorCode;
  23688. +/// Current \ref define_crossfirestate
  23689. + int iState;
  23690. +/// If CrossfireX is supported by this combination. The value is either \ref ADL_TRUE or \ref ADL_FALSE.
  23691. + int iSupported;
  23692. +} ADLCrossfireInfo;
  23693. +
  23694. +/////////////////////////////////////////////////////////////////////////////////////////////
  23695. +/// \brief Structure containing information about the BIOS.
  23696. +///
  23697. +/// This structure is used to store various information about the Chipset. This
  23698. +/// information can be returned to the user.
  23699. +/// \nosubgrouping
  23700. +////////////////////////////////////////////////////////////////////////////////////////////
  23701. +typedef struct ADLBiosInfo
  23702. +{
  23703. + char strPartNumber[ADL_MAX_PATH]; ///< Part number.
  23704. + char strVersion[ADL_MAX_PATH]; ///< Version number.
  23705. + char strDate[ADL_MAX_PATH]; ///< BIOS date in yyyy/mm/dd hh:mm format.
  23706. +} ADLBiosInfo, *LPADLBiosInfo;
  23707. +
  23708. +
  23709. +/////////////////////////////////////////////////////////////////////////////////////////////
  23710. +/// \brief Structure containing information about adapter location.
  23711. +///
  23712. +/// This structure is used to store information about adapter location.
  23713. +/// This structure is used by ADLMVPUStatus.
  23714. +/// \nosubgrouping
  23715. +////////////////////////////////////////////////////////////////////////////////////////////
  23716. +typedef struct ADLAdapterLocation
  23717. +{
  23718. +/// PCI Bus number : 8 bits
  23719. + int iBus;
  23720. +/// Device number : 5 bits
  23721. + int iDevice;
  23722. +/// Function number : 3 bits
  23723. + int iFunction;
  23724. +} ADLAdapterLocation,ADLBdf;
  23725. +
  23726. +
  23727. +/////////////////////////////////////////////////////////////////////////////////////////////
  23728. +/// \brief Structure containing information about MultiVPU capabilities.
  23729. +///
  23730. +/// This structure is used to store information about MultiVPU capabilities.
  23731. +/// This structure is used by the ADL_Display_MVPUCaps_Get() function.
  23732. +/// \nosubgrouping
  23733. +////////////////////////////////////////////////////////////////////////////////////////////
  23734. +typedef struct ADLMVPUCaps
  23735. +{
  23736. +/// Must be set to sizeof( ADLMVPUCaps ).
  23737. + int iSize;
  23738. +/// Number of adapters.
  23739. + int iAdapterCount;
  23740. +/// Bits set for all possible MVPU masters. \ref MVPU_ADAPTER_0 .. \ref MVPU_ADAPTER_3
  23741. + int iPossibleMVPUMasters;
  23742. +/// Bits set for all possible MVPU slaves. \ref MVPU_ADAPTER_0 .. \ref MVPU_ADAPTER_3
  23743. + int iPossibleMVPUSlaves;
  23744. +/// Registry path for each adapter.
  23745. + char cAdapterPath[ADL_DL_MAX_MVPU_ADAPTERS][ADL_DL_MAX_REGISTRY_PATH];
  23746. +} ADLMVPUCaps;
  23747. +
  23748. +/////////////////////////////////////////////////////////////////////////////////////////////
  23749. +/// \brief Structure containing information about MultiVPU status.
  23750. +///
  23751. +/// This structure is used to store information about MultiVPU status.
  23752. +/// Ths structure is used by the ADL_Display_MVPUStatus_Get() function.
  23753. +/// \nosubgrouping
  23754. +////////////////////////////////////////////////////////////////////////////////////////////
  23755. +typedef struct ADLMVPUStatus
  23756. +{
  23757. +/// Must be set to sizeof( ADLMVPUStatus ).
  23758. + int iSize;
  23759. +/// Number of active adapters.
  23760. + int iActiveAdapterCount;
  23761. +/// MVPU status.
  23762. + int iStatus;
  23763. +/// PCI Bus/Device/Function for each active adapter participating in MVPU.
  23764. + ADLAdapterLocation aAdapterLocation[ADL_DL_MAX_MVPU_ADAPTERS];
  23765. +} ADLMVPUStatus;
  23766. +
  23767. +// Displays Manager structures
  23768. +
  23769. +///////////////////////////////////////////////////////////////////////////
  23770. +/// \brief Structure containing information about the activatable source.
  23771. +///
  23772. +/// This structure is used to store activatable source information
  23773. +/// This information can be returned to the user.
  23774. +/// \nosubgrouping
  23775. +////////////////////////////////////////////////////////////////////////////////////////////
  23776. +typedef struct ADLActivatableSource
  23777. +{
  23778. + /// The Persistent logical Adapter Index.
  23779. + int iAdapterIndex;
  23780. + /// The number of Activatable Sources.
  23781. + int iNumActivatableSources;
  23782. + /// The bit mask identifies the number of bits ActivatableSourceValue is using. (Not currnetly used)
  23783. + int iActivatableSourceMask;
  23784. + /// The bit mask identifies the status. (Not currnetly used)
  23785. + int iActivatableSourceValue;
  23786. +} ADLActivatableSource, *LPADLActivatableSource;
  23787. +
  23788. +/////////////////////////////////////////////////////////////////////////////////////////////
  23789. +/// \brief Structure containing information about display mode.
  23790. +///
  23791. +/// This structure is used to store the display mode for the current adapter
  23792. +/// such as X, Y positions, screen resolutions, orientation,
  23793. +/// color depth, refresh rate, progressive or interlace mode, etc.
  23794. +/// \nosubgrouping
  23795. +////////////////////////////////////////////////////////////////////////////////////////////
  23796. +
  23797. +typedef struct ADLMode
  23798. +{
  23799. +/// Adapter index.
  23800. + int iAdapterIndex;
  23801. +/// Display IDs.
  23802. + ADLDisplayID displayID;
  23803. +/// Screen position X coordinate.
  23804. + int iXPos;
  23805. +/// Screen position Y coordinate.
  23806. + int iYPos;
  23807. +/// Screen resolution Width.
  23808. + int iXRes;
  23809. +/// Screen resolution Height.
  23810. + int iYRes;
  23811. +/// Screen Color Depth. E.g., 16, 32.
  23812. + int iColourDepth;
  23813. +/// Screen refresh rate. Could be fractional E.g. 59.97
  23814. + float fRefreshRate;
  23815. +/// Screen orientation. E.g., 0, 90, 180, 270.
  23816. + int iOrientation;
  23817. +/// Vista mode flag indicating Progressive or Interlaced mode.
  23818. + int iModeFlag;
  23819. +/// The bit mask identifying the number of bits this Mode is currently using. It is the sum of all the bit definitions defined in \ref define_displaymode
  23820. + int iModeMask;
  23821. +/// The bit mask identifying the display status. The detailed definition is in \ref define_displaymode
  23822. + int iModeValue;
  23823. +} ADLMode, *LPADLMode;
  23824. +
  23825. +
  23826. +/////////////////////////////////////////////////////////////////////////////////////////////
  23827. +/// \brief Structure containing information about display target information.
  23828. +///
  23829. +/// This structure is used to store the display target information.
  23830. +/// \nosubgrouping
  23831. +////////////////////////////////////////////////////////////////////////////////////////////
  23832. +typedef struct ADLDisplayTarget
  23833. +{
  23834. + /// The Display ID.
  23835. + ADLDisplayID displayID;
  23836. +
  23837. + /// The display map index identify this manner and the desktop surface.
  23838. + int iDisplayMapIndex;
  23839. +
  23840. + /// The bit mask identifies the number of bits DisplayTarget is currently using. It is the sum of all the bit definitions defined in \ref ADL_DISPLAY_DISPLAYTARGET_PREFERRED.
  23841. + int iDisplayTargetMask;
  23842. +
  23843. + /// The bit mask identifies the display status. The detailed definition is in \ref ADL_DISPLAY_DISPLAYTARGET_PREFERRED.
  23844. + int iDisplayTargetValue;
  23845. +
  23846. +} ADLDisplayTarget, *LPADLDisplayTarget;
  23847. +
  23848. +
  23849. +/////////////////////////////////////////////////////////////////////////////////////////////
  23850. +///\brief Structure containing information about the display SLS bezel Mode information.
  23851. +///
  23852. +/// This structure is used to store the display SLS bezel Mode information.
  23853. +/// \nosubgrouping
  23854. +////////////////////////////////////////////////////////////////////////////////////////////
  23855. +typedef struct tagADLBezelTransientMode
  23856. +{
  23857. + /// Adapter Index
  23858. + int iAdapterIndex;
  23859. +
  23860. + /// SLS Map Index
  23861. + int iSLSMapIndex;
  23862. +
  23863. + /// The mode index
  23864. + int iSLSModeIndex;
  23865. +
  23866. + /// The mode
  23867. + ADLMode displayMode;
  23868. +
  23869. + /// The number of bezel offsets belongs to this map
  23870. + int iNumBezelOffset;
  23871. +
  23872. + /// The first bezel offset array index in the native mode array
  23873. + int iFirstBezelOffsetArrayIndex;
  23874. +
  23875. + /// The bit mask identifies the bits this structure is currently using. It will be the total OR of all the bit definitions.
  23876. + int iSLSBezelTransientModeMask;
  23877. +
  23878. + /// The bit mask identifies the display status. The detail definition is defined below.
  23879. + int iSLSBezelTransientModeValue;
  23880. +
  23881. +} ADLBezelTransientMode, *LPADLBezelTransientMode;
  23882. +
  23883. +
  23884. +/////////////////////////////////////////////////////////////////////////////////////////////
  23885. +/// \brief Structure containing information about the adapter display manner.
  23886. +///
  23887. +/// This structure is used to store adapter display manner information
  23888. +/// This information can be returned to the user. Alternatively, it can be used to access various driver calls to
  23889. +/// fetch various display device related display manner settings upon the user's request.
  23890. +/// \nosubgrouping
  23891. +////////////////////////////////////////////////////////////////////////////////////////////
  23892. +typedef struct ADLAdapterDisplayCap
  23893. +{
  23894. + /// The Persistent logical Adapter Index.
  23895. + int iAdapterIndex;
  23896. + /// The bit mask identifies the number of bits AdapterDisplayCap is currently using. Sum all the bits defined in ADL_ADAPTER_DISPLAYCAP_XXX
  23897. + int iAdapterDisplayCapMask;
  23898. + /// The bit mask identifies the status. Refer to ADL_ADAPTER_DISPLAYCAP_XXX
  23899. + int iAdapterDisplayCapValue;
  23900. +} ADLAdapterDisplayCap, *LPADLAdapterDisplayCap;
  23901. +
  23902. +
  23903. +/////////////////////////////////////////////////////////////////////////////////////////////
  23904. +///\brief Structure containing information about display mapping.
  23905. +///
  23906. +/// This structure is used to store the display mapping data such as display manner.
  23907. +/// For displays with horizontal or vertical stretch manner,
  23908. +/// this structure also stores the display order, display row, and column data.
  23909. +/// \nosubgrouping
  23910. +////////////////////////////////////////////////////////////////////////////////////////////
  23911. +typedef struct ADLDisplayMap
  23912. +{
  23913. +/// The current display map index. It is the OS desktop index. For example, if the OS index 1 is showing clone mode, the display map will be 1.
  23914. + int iDisplayMapIndex;
  23915. +
  23916. +/// The Display Mode for the current map
  23917. + ADLMode displayMode;
  23918. +
  23919. +/// The number of display targets belongs to this map\n
  23920. + int iNumDisplayTarget;
  23921. +
  23922. +/// The first target array index in the Target array\n
  23923. + int iFirstDisplayTargetArrayIndex;
  23924. +
  23925. +/// The bit mask identifies the number of bits DisplayMap is currently using. It is the sum of all the bit definitions defined in ADL_DISPLAY_DISPLAYMAP_MANNER_xxx.
  23926. + int iDisplayMapMask;
  23927. +
  23928. +///The bit mask identifies the display status. The detailed definition is in ADL_DISPLAY_DISPLAYMAP_MANNER_xxx.
  23929. + int iDisplayMapValue;
  23930. +
  23931. +} ADLDisplayMap, *LPADLDisplayMap;
  23932. +
  23933. +
  23934. +/////////////////////////////////////////////////////////////////////////////////////////////
  23935. +/// \brief Structure containing information about the display device possible map for one GPU
  23936. +///
  23937. +/// This structure is used to store the display device possible map
  23938. +/// This information can be returned to the user.
  23939. +/// \nosubgrouping
  23940. +////////////////////////////////////////////////////////////////////////////////////////////
  23941. +typedef struct ADLPossibleMap
  23942. +{
  23943. + /// The current PossibleMap index. Each PossibleMap is assigned an index
  23944. + int iIndex;
  23945. + /// The adapter index identifying the GPU for which to validate these Maps & Targets
  23946. + int iAdapterIndex;
  23947. + /// Number of display Maps for this GPU to be validated
  23948. + int iNumDisplayMap;
  23949. + /// The display Maps list to validate
  23950. + ADLDisplayMap* displayMap;
  23951. + /// the number of display Targets for these display Maps
  23952. + int iNumDisplayTarget;
  23953. + /// The display Targets list for these display Maps to be validated.
  23954. + ADLDisplayTarget* displayTarget;
  23955. +} ADLPossibleMap, *LPADLPossibleMap;
  23956. +
  23957. +
  23958. +/////////////////////////////////////////////////////////////////////////////////////////////
  23959. +/// \brief Structure containing information about display possible mapping.
  23960. +///
  23961. +/// This structure is used to store the display possible mapping's controller index for the current display.
  23962. +/// \nosubgrouping
  23963. +////////////////////////////////////////////////////////////////////////////////////////////
  23964. +typedef struct ADLPossibleMapping
  23965. +{
  23966. + int iDisplayIndex; ///< The display index. Each display is assigned an index.
  23967. + int iDisplayControllerIndex; ///< The controller index to which display is mapped.
  23968. + int iDisplayMannerSupported; ///< The supported display manner.
  23969. +} ADLPossibleMapping, *LPADLPossibleMapping;
  23970. +
  23971. +/////////////////////////////////////////////////////////////////////////////////////////////
  23972. +/// \brief Structure containing information about the validated display device possible map result.
  23973. +///
  23974. +/// This structure is used to store the validated display device possible map result
  23975. +/// This information can be returned to the user.
  23976. +/// \nosubgrouping
  23977. +////////////////////////////////////////////////////////////////////////////////////////////
  23978. +typedef struct ADLPossibleMapResult
  23979. +{
  23980. + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1.
  23981. + int iIndex;
  23982. + // The bit mask identifies the number of bits PossibleMapResult is currently using. It will be the sum all the bit definitions defined in ADL_DISPLAY_POSSIBLEMAPRESULT_VALID.
  23983. + int iPossibleMapResultMask;
  23984. + /// The bit mask identifies the possible map result. The detail definition is defined in ADL_DISPLAY_POSSIBLEMAPRESULT_XXX.
  23985. + int iPossibleMapResultValue;
  23986. +} ADLPossibleMapResult, *LPADLPossibleMapResult;
  23987. +
  23988. +/////////////////////////////////////////////////////////////////////////////////////////////
  23989. +///\brief Structure containing information about the display SLS Grid information.
  23990. +///
  23991. +/// This structure is used to store the display SLS Grid information.
  23992. +/// \nosubgrouping
  23993. +////////////////////////////////////////////////////////////////////////////////////////////
  23994. +typedef struct ADLSLSGrid
  23995. +{
  23996. +/// The Adapter index.
  23997. + int iAdapterIndex;
  23998. +
  23999. +/// The grid index.
  24000. + int iSLSGridIndex;
  24001. +
  24002. +/// The grid row.
  24003. + int iSLSGridRow;
  24004. +
  24005. +/// The grid column.
  24006. + int iSLSGridColumn;
  24007. +
  24008. +/// The grid bit mask identifies the number of bits DisplayMap is currently using. Sum of all bits defined in ADL_DISPLAY_SLSGRID_ORIENTATION_XXX
  24009. + int iSLSGridMask;
  24010. +
  24011. +/// The grid bit value identifies the display status. Refer to ADL_DISPLAY_SLSGRID_ORIENTATION_XXX
  24012. + int iSLSGridValue;
  24013. +
  24014. +} ADLSLSGrid, *LPADLSLSGrid;
  24015. +
  24016. +/////////////////////////////////////////////////////////////////////////////////////////////
  24017. +///\brief Structure containing information about the display SLS Map information.
  24018. +///
  24019. +/// This structure is used to store the display SLS Map information.
  24020. +/// \nosubgrouping
  24021. +////////////////////////////////////////////////////////////////////////////////////////////
  24022. +typedef struct ADLSLSMap
  24023. +{
  24024. + /// The Adapter Index
  24025. + int iAdapterIndex;
  24026. +
  24027. + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1.
  24028. + int iSLSMapIndex;
  24029. +
  24030. + /// Indicate the current grid
  24031. + ADLSLSGrid grid;
  24032. +
  24033. + /// OS surface index
  24034. + int iSurfaceMapIndex;
  24035. +
  24036. + /// Screen orientation. E.g., 0, 90, 180, 270
  24037. + int iOrientation;
  24038. +
  24039. + /// The number of display targets belongs to this map
  24040. + int iNumSLSTarget;
  24041. +
  24042. + /// The first target array index in the Target array
  24043. + int iFirstSLSTargetArrayIndex;
  24044. +
  24045. + /// The number of native modes belongs to this map
  24046. + int iNumNativeMode;
  24047. +
  24048. + /// The first native mode array index in the native mode array
  24049. + int iFirstNativeModeArrayIndex;
  24050. +
  24051. + /// The number of bezel modes belongs to this map
  24052. + int iNumBezelMode;
  24053. +
  24054. + /// The first bezel mode array index in the native mode array
  24055. + int iFirstBezelModeArrayIndex;
  24056. +
  24057. + /// The number of bezel offsets belongs to this map
  24058. + int iNumBezelOffset;
  24059. +
  24060. + /// The first bezel offset array index in the
  24061. + int iFirstBezelOffsetArrayIndex;
  24062. +
  24063. + /// The bit mask identifies the number of bits DisplayMap is currently using. Sum all the bit definitions defined in ADL_DISPLAY_SLSMAP_XXX.
  24064. + int iSLSMapMask;
  24065. +
  24066. + /// The bit mask identifies the display map status. Refer to ADL_DISPLAY_SLSMAP_XXX
  24067. + int iSLSMapValue;
  24068. +
  24069. +
  24070. +} ADLSLSMap, *LPADLSLSMap;
  24071. +
  24072. +/////////////////////////////////////////////////////////////////////////////////////////////
  24073. +///\brief Structure containing information about the display SLS Offset information.
  24074. +///
  24075. +/// This structure is used to store the display SLS Offset information.
  24076. +/// \nosubgrouping
  24077. +////////////////////////////////////////////////////////////////////////////////////////////
  24078. +typedef struct ADLSLSOffset
  24079. +{
  24080. + /// The Adapter Index
  24081. + int iAdapterIndex;
  24082. +
  24083. + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1.
  24084. + int iSLSMapIndex;
  24085. +
  24086. + /// The Display ID.
  24087. + ADLDisplayID displayID;
  24088. +
  24089. + /// SLS Bezel Mode Index
  24090. + int iBezelModeIndex;
  24091. +
  24092. + /// SLS Bezel Offset X
  24093. + int iBezelOffsetX;
  24094. +
  24095. + /// SLS Bezel Offset Y
  24096. + int iBezelOffsetY;
  24097. +
  24098. + /// SLS Display Width
  24099. + int iDisplayWidth;
  24100. +
  24101. + /// SLS Display Height
  24102. + int iDisplayHeight;
  24103. +
  24104. + /// The bit mask identifies the number of bits Offset is currently using.
  24105. + int iBezelOffsetMask;
  24106. +
  24107. + /// The bit mask identifies the display status.
  24108. + int iBezelffsetValue;
  24109. +} ADLSLSOffset, *LPADLSLSOffset;
  24110. +
  24111. +/////////////////////////////////////////////////////////////////////////////////////////////
  24112. +///\brief Structure containing information about the display SLS Mode information.
  24113. +///
  24114. +/// This structure is used to store the display SLS Mode information.
  24115. +/// \nosubgrouping
  24116. +////////////////////////////////////////////////////////////////////////////////////////////
  24117. +typedef struct ADLSLSMode
  24118. +{
  24119. + /// The Adapter Index
  24120. + int iAdapterIndex;
  24121. +
  24122. + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1.
  24123. + int iSLSMapIndex;
  24124. +
  24125. + /// The mode index
  24126. + int iSLSModeIndex;
  24127. +
  24128. + /// The mode for this map.
  24129. + ADLMode displayMode;
  24130. +
  24131. + /// The bit mask identifies the number of bits Mode is currently using.
  24132. + int iSLSNativeModeMask;
  24133. +
  24134. + /// The bit mask identifies the display status.
  24135. + int iSLSNativeModeValue;
  24136. +} ADLSLSMode, *LPADLSLSMode;
  24137. +
  24138. +
  24139. +
  24140. +
  24141. +/////////////////////////////////////////////////////////////////////////////////////////////
  24142. +///\brief Structure containing information about the display Possible SLS Map information.
  24143. +///
  24144. +/// This structure is used to store the display Possible SLS Map information.
  24145. +/// \nosubgrouping
  24146. +////////////////////////////////////////////////////////////////////////////////////////////
  24147. +typedef struct ADLPossibleSLSMap
  24148. +{
  24149. + /// The current display map index. It is the OS Desktop index.
  24150. + /// For example, OS Index 1 showing clone mode. The Display Map will be 1.
  24151. + int iSLSMapIndex;
  24152. +
  24153. + /// Number of display map to be validated.
  24154. + int iNumSLSMap;
  24155. +
  24156. + /// The display map list for validation
  24157. + ADLSLSMap* lpSLSMap;
  24158. +
  24159. + /// the number of display map config to be validated.
  24160. + int iNumSLSTarget;
  24161. +
  24162. + /// The display target list for validation.
  24163. + ADLDisplayTarget* lpDisplayTarget;
  24164. +} ADLPossibleSLSMap, *LPADLPossibleSLSMap;
  24165. +
  24166. +
  24167. +/////////////////////////////////////////////////////////////////////////////////////////////
  24168. +///\brief Structure containing information about the SLS targets.
  24169. +///
  24170. +/// This structure is used to store the SLS targets information.
  24171. +/// \nosubgrouping
  24172. +////////////////////////////////////////////////////////////////////////////////////////////
  24173. +typedef struct ADLSLSTarget
  24174. +{
  24175. + /// the logic adapter index
  24176. + int iAdapterIndex;
  24177. +
  24178. + /// The SLS map index
  24179. + int iSLSMapIndex;
  24180. +
  24181. + /// The target ID
  24182. + ADLDisplayTarget displayTarget;
  24183. +
  24184. + /// Target postion X in SLS grid
  24185. + int iSLSGridPositionX;
  24186. +
  24187. + /// Target postion Y in SLS grid
  24188. + int iSLSGridPositionY;
  24189. +
  24190. + /// The view size width, height and rotation angle per SLS Target
  24191. + ADLMode viewSize;
  24192. +
  24193. + /// The bit mask identifies the bits in iSLSTargetValue are currently used
  24194. + int iSLSTargetMask;
  24195. +
  24196. + /// The bit mask identifies status info. It is for function extension purpose
  24197. + int iSLSTargetValue;
  24198. +
  24199. +} ADLSLSTarget, *LPADLSLSTarget;
  24200. +
  24201. +/////////////////////////////////////////////////////////////////////////////////////////////
  24202. +///\brief Structure containing information about the Adapter offset stepping size.
  24203. +///
  24204. +/// This structure is used to store the Adapter offset stepping size information.
  24205. +/// \nosubgrouping
  24206. +////////////////////////////////////////////////////////////////////////////////////////////
  24207. +typedef struct ADLBezelOffsetSteppingSize
  24208. +{
  24209. + /// the logic adapter index
  24210. + int iAdapterIndex;
  24211. +
  24212. + /// The SLS map index
  24213. + int iSLSMapIndex;
  24214. +
  24215. + /// Bezel X stepping size offset
  24216. + int iBezelOffsetSteppingSizeX;
  24217. +
  24218. + /// Bezel Y stepping size offset
  24219. + int iBezelOffsetSteppingSizeY;
  24220. +
  24221. + /// Identifies the bits this structure is currently using. It will be the total OR of all the bit definitions.
  24222. + int iBezelOffsetSteppingSizeMask;
  24223. +
  24224. + /// Bit mask identifies the display status.
  24225. + int iBezelOffsetSteppingSizeValue;
  24226. +
  24227. +} ADLBezelOffsetSteppingSize, *LPADLBezelOffsetSteppingSize;
  24228. +
  24229. +/////////////////////////////////////////////////////////////////////////////////////////////
  24230. +///\brief Structure containing information about driver supported PowerExpress Config Caps
  24231. +///
  24232. +/// This structure is used to store the driver supported PowerExpress Config Caps
  24233. +/// \nosubgrouping
  24234. +////////////////////////////////////////////////////////////////////////////////////////////
  24235. +typedef struct ADLPXConfigCaps
  24236. +{
  24237. + /// The Persistent logical Adapter Index.
  24238. + int iAdapterIndex;
  24239. +
  24240. + /// The bit mask identifies the number of bits PowerExpress Config Caps is currently using. It is the sum of all the bit definitions defined in \ref ADL_PX_CONFIGCAPS_XXXX.
  24241. + int iPXConfigCapMask;
  24242. +
  24243. + /// The bit mask identifies the PowerExpress Config Caps value. The detailed definition is in \ref ADL_PX_CONFIGCAPS_XXXX.
  24244. + int iPXConfigCapValue;
  24245. +
  24246. +} ADLPXConfigCaps, *LPADLPXConfigCaps;
  24247. +
  24248. +
  24249. +/////////////////////////////////////////////////////////////////////////////////////////////
  24250. +///\brief Structure containing information about an application
  24251. +///
  24252. +/// This structure is used to store basic information of an application
  24253. +/// \nosubgrouping
  24254. +////////////////////////////////////////////////////////////////////////////////////////////
  24255. +typedef struct _ADLApplicationData
  24256. +{
  24257. + /// Path Name
  24258. + char strPathName[ADL_MAX_PATH];
  24259. + /// File Name
  24260. + char strFileName[ADL_APP_PROFILE_FILENAME_LENGTH];
  24261. + /// Creation timestamp
  24262. + char strTimeStamp[ADL_APP_PROFILE_TIMESTAMP_LENGTH];
  24263. + /// Version
  24264. + char strVersion[ADL_APP_PROFILE_VERSION_LENGTH];
  24265. +}ADLApplicationData;
  24266. +
  24267. +
  24268. +/////////////////////////////////////////////////////////////////////////////////////////////
  24269. +///\brief Structure containing information of a property of an application profile
  24270. +///
  24271. +/// This structure is used to store property information of an application profile
  24272. +/// \nosubgrouping
  24273. +////////////////////////////////////////////////////////////////////////////////////////////
  24274. +typedef struct _PropertyRecord
  24275. +{
  24276. + /// Property Name
  24277. + char strName [ADL_APP_PROFILE_PROPERTY_LENGTH];
  24278. + /// Property Type
  24279. + ADLProfilePropertyType eType;
  24280. + /// Data Size in bytes
  24281. + int iDataSize;
  24282. + /// Property Value, can be any data type
  24283. + unsigned char uData[1];
  24284. +}PropertyRecord;
  24285. +
  24286. +/////////////////////////////////////////////////////////////////////////////////////////////
  24287. +///\brief Structure containing information about an application profile
  24288. +///
  24289. +/// This structure is used to store information of an application profile
  24290. +/// \nosubgrouping
  24291. +////////////////////////////////////////////////////////////////////////////////////////////
  24292. +typedef struct _ADLApplicationProfile
  24293. +{
  24294. + /// Number of properties
  24295. + int iCount;
  24296. + /// Buffer to store all property records
  24297. + PropertyRecord record[1];
  24298. +}ADLApplicationProfile;
  24299. +
  24300. +// @}
  24301. +
  24302. +/////////////////////////////////////////////////////////////////////////////////////////////
  24303. +///\brief Structure containing information about an OD5 Power Control feature
  24304. +///
  24305. +/// This structure is used to store information of an Power Control feature
  24306. +/// \nosubgrouping
  24307. +////////////////////////////////////////////////////////////////////////////////////////////
  24308. +typedef struct ADLPowerControlInfo
  24309. +{
  24310. +/// Minimum value.
  24311. +int iMinValue;
  24312. +/// Maximum value.
  24313. +int iMaxValue;
  24314. +/// The minimum change in between minValue and maxValue.
  24315. +int iStepValue;
  24316. + } ADLPowerControlInfo;
  24317. +
  24318. +/////////////////////////////////////////////////////////////////////////////////////////////
  24319. +///\brief Structure containing information about an controller mode
  24320. +///
  24321. +/// This structure is used to store information of an controller mode
  24322. +/// \nosubgrouping
  24323. +////////////////////////////////////////////////////////////////////////////////////////////
  24324. +typedef struct _ADLControllerMode
  24325. +{
  24326. + /// This falg indicates actions that will be applied by set viewport
  24327. + /// The value can be a combination of ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_POSITION,
  24328. + /// ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_PANLOCK and ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_SIZE
  24329. + int iModifiers;
  24330. +
  24331. + /// Horizontal view starting position
  24332. + int iViewPositionCx;
  24333. +
  24334. + /// Vertical view starting position
  24335. + int iViewPositionCy;
  24336. +
  24337. + /// Horizontal left panlock position
  24338. + int iViewPanLockLeft;
  24339. +
  24340. + /// Horizontal right panlock position
  24341. + int iViewPanLockRight;
  24342. +
  24343. + /// Vertical top panlock position
  24344. + int iViewPanLockTop;
  24345. +
  24346. + /// Vertical bottom panlock position
  24347. + int iViewPanLockBottom;
  24348. +
  24349. + /// View resolution in pixels (width)
  24350. + int iViewResolutionCx;
  24351. +
  24352. + /// View resolution in pixels (hight)
  24353. + int iViewResolutionCy;
  24354. +}ADLControllerMode;
  24355. +
  24356. +
  24357. +#endif /* ADL_STRUCTURES_H_ */
  24358. +
  24359. --- /dev/null
  24360. +++ cgminer-2.4.1/ADL_SDK/adl_sdk.h
  24361. @@ -0,0 +1,29 @@
  24362. +///
  24363. +/// Copyright (c) 2008 - 2009 Advanced Micro Devices, Inc.
  24364. +
  24365. +/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  24366. +/// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
  24367. +/// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  24368. +
  24369. +/// \file adl_sdk.h
  24370. +/// \brief Contains the definition of the Memory Allocation Callback.\n <b>Included in ADL SDK</b>
  24371. +///
  24372. +/// \n\n
  24373. +/// This file contains the definition of the Memory Allocation Callback.\n
  24374. +/// It also includes definitions of the respective structures and constants.\n
  24375. +/// <b> This is the only header file to be included in a C/C++ project using ADL </b>
  24376. +
  24377. +#ifndef ADL_SDK_H_
  24378. +#define ADL_SDK_H_
  24379. +
  24380. +#include "adl_structures.h"
  24381. +
  24382. +#if defined (LINUX)
  24383. +#define __stdcall
  24384. +#endif /* (LINUX) */
  24385. +
  24386. +/// Memory Allocation Call back
  24387. +typedef void* ( __stdcall *ADL_MAIN_MALLOC_CALLBACK )( int );
  24388. +
  24389. +
  24390. +#endif /* ADL_SDK_H_ */
  24391. --- /dev/null
  24392. +++ cgminer-2.4.1/ccan/Makefile.in
  24393. @@ -0,0 +1,675 @@
  24394. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  24395. +# @configure_input@
  24396. +
  24397. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  24398. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  24399. +# Foundation, Inc.
  24400. +# This Makefile.in is free software; the Free Software Foundation
  24401. +# gives unlimited permission to copy and/or distribute it,
  24402. +# with or without modifications, as long as this notice is preserved.
  24403. +
  24404. +# This program is distributed in the hope that it will be useful,
  24405. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  24406. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  24407. +# PARTICULAR PURPOSE.
  24408. +
  24409. +@SET_MAKE@
  24410. +
  24411. +VPATH = @srcdir@
  24412. +pkgdatadir = $(datadir)/@PACKAGE@
  24413. +pkgincludedir = $(includedir)/@PACKAGE@
  24414. +pkglibdir = $(libdir)/@PACKAGE@
  24415. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  24416. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  24417. +install_sh_DATA = $(install_sh) -c -m 644
  24418. +install_sh_PROGRAM = $(install_sh) -c
  24419. +install_sh_SCRIPT = $(install_sh) -c
  24420. +INSTALL_HEADER = $(INSTALL_DATA)
  24421. +transform = $(program_transform_name)
  24422. +NORMAL_INSTALL = :
  24423. +PRE_INSTALL = :
  24424. +POST_INSTALL = :
  24425. +NORMAL_UNINSTALL = :
  24426. +PRE_UNINSTALL = :
  24427. +POST_UNINSTALL = :
  24428. +build_triplet = @build@
  24429. +host_triplet = @host@
  24430. +target_triplet = @target@
  24431. +subdir = ccan
  24432. +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  24433. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  24434. +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  24435. + $(top_srcdir)/m4/extensions.m4 \
  24436. + $(top_srcdir)/m4/gnulib-common.m4 \
  24437. + $(top_srcdir)/m4/gnulib-comp.m4 \
  24438. + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
  24439. + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
  24440. + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
  24441. + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
  24442. + $(top_srcdir)/m4/signal_h.m4 \
  24443. + $(top_srcdir)/m4/signalblocking.m4 \
  24444. + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
  24445. + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
  24446. + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
  24447. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  24448. + $(ACLOCAL_M4)
  24449. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  24450. +CONFIG_HEADER = $(top_builddir)/config.h
  24451. +CONFIG_CLEAN_FILES =
  24452. +CONFIG_CLEAN_VPATH_FILES =
  24453. +LIBRARIES = $(noinst_LIBRARIES)
  24454. +AR = ar
  24455. +ARFLAGS = cru
  24456. +AM_V_AR = $(am__v_AR_@AM_V@)
  24457. +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
  24458. +am__v_AR_0 = @echo " AR " $@;
  24459. +AM_V_at = $(am__v_at_@AM_V@)
  24460. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  24461. +am__v_at_0 = @
  24462. +libccan_a_AR = $(AR) $(ARFLAGS)
  24463. +libccan_a_LIBADD =
  24464. +am_libccan_a_OBJECTS = helpers.$(OBJEXT) opt.$(OBJEXT) parse.$(OBJEXT) \
  24465. + usage.$(OBJEXT)
  24466. +libccan_a_OBJECTS = $(am_libccan_a_OBJECTS)
  24467. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  24468. +depcomp = $(SHELL) $(top_srcdir)/depcomp
  24469. +am__depfiles_maybe = depfiles
  24470. +am__mv = mv -f
  24471. +AM_V_lt = $(am__v_lt_@AM_V@)
  24472. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  24473. +am__v_lt_0 = --silent
  24474. +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  24475. + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  24476. +AM_V_CC = $(am__v_CC_@AM_V@)
  24477. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  24478. +am__v_CC_0 = @echo " CC " $@;
  24479. +CCLD = $(CC)
  24480. +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  24481. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  24482. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  24483. +am__v_CCLD_0 = @echo " CCLD " $@;
  24484. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  24485. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  24486. +am__v_GEN_0 = @echo " GEN " $@;
  24487. +SOURCES = $(libccan_a_SOURCES)
  24488. +DIST_SOURCES = $(libccan_a_SOURCES)
  24489. +ETAGS = etags
  24490. +CTAGS = ctags
  24491. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  24492. +ACLOCAL = @ACLOCAL@
  24493. +ALLOCA = @ALLOCA@
  24494. +AMTAR = @AMTAR@
  24495. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  24496. +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
  24497. +AUTOCONF = @AUTOCONF@
  24498. +AUTOHEADER = @AUTOHEADER@
  24499. +AUTOMAKE = @AUTOMAKE@
  24500. +AWK = @AWK@
  24501. +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
  24502. +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
  24503. +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
  24504. +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
  24505. +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
  24506. +CC = @CC@
  24507. +CCDEPMODE = @CCDEPMODE@
  24508. +CFLAGS = @CFLAGS@
  24509. +CPP = @CPP@
  24510. +CPPFLAGS = @CPPFLAGS@
  24511. +CYGPATH_W = @CYGPATH_W@
  24512. +DEFS = @DEFS@
  24513. +DEPDIR = @DEPDIR@
  24514. +DLOPEN_FLAGS = @DLOPEN_FLAGS@
  24515. +ECHO_C = @ECHO_C@
  24516. +ECHO_N = @ECHO_N@
  24517. +ECHO_T = @ECHO_T@
  24518. +EGREP = @EGREP@
  24519. +EXEEXT = @EXEEXT@
  24520. +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
  24521. +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
  24522. +GNULIB_MBSCHR = @GNULIB_MBSCHR@
  24523. +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
  24524. +GNULIB_MBSLEN = @GNULIB_MBSLEN@
  24525. +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
  24526. +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
  24527. +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
  24528. +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
  24529. +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
  24530. +GNULIB_MBSSEP = @GNULIB_MBSSEP@
  24531. +GNULIB_MBSSPN = @GNULIB_MBSSPN@
  24532. +GNULIB_MBSSTR = @GNULIB_MBSSTR@
  24533. +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
  24534. +GNULIB_MEMCHR = @GNULIB_MEMCHR@
  24535. +GNULIB_MEMMEM = @GNULIB_MEMMEM@
  24536. +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
  24537. +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
  24538. +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
  24539. +GNULIB_SIGACTION = @GNULIB_SIGACTION@
  24540. +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
  24541. +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
  24542. +GNULIB_STPCPY = @GNULIB_STPCPY@
  24543. +GNULIB_STPNCPY = @GNULIB_STPNCPY@
  24544. +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
  24545. +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
  24546. +GNULIB_STRDUP = @GNULIB_STRDUP@
  24547. +GNULIB_STRERROR = @GNULIB_STRERROR@
  24548. +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
  24549. +GNULIB_STRNCAT = @GNULIB_STRNCAT@
  24550. +GNULIB_STRNDUP = @GNULIB_STRNDUP@
  24551. +GNULIB_STRNLEN = @GNULIB_STRNLEN@
  24552. +GNULIB_STRPBRK = @GNULIB_STRPBRK@
  24553. +GNULIB_STRSEP = @GNULIB_STRSEP@
  24554. +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
  24555. +GNULIB_STRSTR = @GNULIB_STRSTR@
  24556. +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
  24557. +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
  24558. +GREP = @GREP@
  24559. +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
  24560. +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
  24561. +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
  24562. +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
  24563. +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
  24564. +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
  24565. +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
  24566. +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
  24567. +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
  24568. +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
  24569. +HAVE_MBSLEN = @HAVE_MBSLEN@
  24570. +HAVE_MEMCHR = @HAVE_MEMCHR@
  24571. +HAVE_MEMPCPY = @HAVE_MEMPCPY@
  24572. +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
  24573. +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
  24574. +HAVE_SIGACTION = @HAVE_SIGACTION@
  24575. +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
  24576. +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
  24577. +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
  24578. +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
  24579. +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
  24580. +HAVE_SIGSET_T = @HAVE_SIGSET_T@
  24581. +HAVE_STDINT_H = @HAVE_STDINT_H@
  24582. +HAVE_STPCPY = @HAVE_STPCPY@
  24583. +HAVE_STPNCPY = @HAVE_STPNCPY@
  24584. +HAVE_STRCASESTR = @HAVE_STRCASESTR@
  24585. +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
  24586. +HAVE_STRPBRK = @HAVE_STRPBRK@
  24587. +HAVE_STRSEP = @HAVE_STRSEP@
  24588. +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
  24589. +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
  24590. +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
  24591. +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
  24592. +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
  24593. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
  24594. +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
  24595. +HAVE_WCHAR_H = @HAVE_WCHAR_H@
  24596. +HAVE_WCHAR_T = @HAVE_WCHAR_T@
  24597. +INCLUDE_NEXT = @INCLUDE_NEXT@
  24598. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  24599. +INSTALL = @INSTALL@
  24600. +INSTALL_DATA = @INSTALL_DATA@
  24601. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  24602. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  24603. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  24604. +JANSSON_LIBS = @JANSSON_LIBS@
  24605. +LDFLAGS = @LDFLAGS@
  24606. +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
  24607. +LIBCURL_LIBS = @LIBCURL_LIBS@
  24608. +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
  24609. +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
  24610. +LIBOBJS = @LIBOBJS@
  24611. +LIBS = @LIBS@
  24612. +LTLIBOBJS = @LTLIBOBJS@
  24613. +MAINT = @MAINT@
  24614. +MAKEINFO = @MAKEINFO@
  24615. +MATH_LIBS = @MATH_LIBS@
  24616. +MKDIR_P = @MKDIR_P@
  24617. +NCURSES_LIBS = @NCURSES_LIBS@
  24618. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
  24619. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
  24620. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
  24621. +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
  24622. +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
  24623. +NEXT_STDDEF_H = @NEXT_STDDEF_H@
  24624. +NEXT_STDINT_H = @NEXT_STDINT_H@
  24625. +NEXT_STRING_H = @NEXT_STRING_H@
  24626. +OBJEXT = @OBJEXT@
  24627. +OPENCL_FLAGS = @OPENCL_FLAGS@
  24628. +OPENCL_LIBS = @OPENCL_LIBS@
  24629. +PACKAGE = @PACKAGE@
  24630. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  24631. +PACKAGE_NAME = @PACKAGE_NAME@
  24632. +PACKAGE_STRING = @PACKAGE_STRING@
  24633. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  24634. +PACKAGE_URL = @PACKAGE_URL@
  24635. +PACKAGE_VERSION = @PACKAGE_VERSION@
  24636. +PATH_SEPARATOR = @PATH_SEPARATOR@
  24637. +PDCURSES_LIBS = @PDCURSES_LIBS@
  24638. +PKG_CONFIG = @PKG_CONFIG@
  24639. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  24640. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  24641. +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
  24642. +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
  24643. +PTHREAD_FLAGS = @PTHREAD_FLAGS@
  24644. +PTHREAD_LIBS = @PTHREAD_LIBS@
  24645. +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
  24646. +RANLIB = @RANLIB@
  24647. +REPLACE_MEMCHR = @REPLACE_MEMCHR@
  24648. +REPLACE_MEMMEM = @REPLACE_MEMMEM@
  24649. +REPLACE_NULL = @REPLACE_NULL@
  24650. +REPLACE_STPNCPY = @REPLACE_STPNCPY@
  24651. +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
  24652. +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
  24653. +REPLACE_STRDUP = @REPLACE_STRDUP@
  24654. +REPLACE_STRERROR = @REPLACE_STRERROR@
  24655. +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
  24656. +REPLACE_STRNCAT = @REPLACE_STRNCAT@
  24657. +REPLACE_STRNDUP = @REPLACE_STRNDUP@
  24658. +REPLACE_STRNLEN = @REPLACE_STRNLEN@
  24659. +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
  24660. +REPLACE_STRSTR = @REPLACE_STRSTR@
  24661. +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
  24662. +SET_MAKE = @SET_MAKE@
  24663. +SHELL = @SHELL@
  24664. +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
  24665. +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
  24666. +STDDEF_H = @STDDEF_H@
  24667. +STDINT_H = @STDINT_H@
  24668. +STRIP = @STRIP@
  24669. +UDEV_LIBS = @UDEV_LIBS@
  24670. +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
  24671. +USB_FLAGS = @USB_FLAGS@
  24672. +USB_LIBS = @USB_LIBS@
  24673. +VERSION = @VERSION@
  24674. +VMAJ = @VMAJ@
  24675. +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
  24676. +WINT_T_SUFFIX = @WINT_T_SUFFIX@
  24677. +WS2_LIBS = @WS2_LIBS@
  24678. +YASM = @YASM@
  24679. +abs_builddir = @abs_builddir@
  24680. +abs_srcdir = @abs_srcdir@
  24681. +abs_top_builddir = @abs_top_builddir@
  24682. +abs_top_srcdir = @abs_top_srcdir@
  24683. +ac_ct_CC = @ac_ct_CC@
  24684. +am__include = @am__include@
  24685. +am__leading_dot = @am__leading_dot@
  24686. +am__quote = @am__quote@
  24687. +am__tar = @am__tar@
  24688. +am__untar = @am__untar@
  24689. +bindir = @bindir@
  24690. +build = @build@
  24691. +build_alias = @build_alias@
  24692. +build_cpu = @build_cpu@
  24693. +build_os = @build_os@
  24694. +build_vendor = @build_vendor@
  24695. +builddir = @builddir@
  24696. +datadir = @datadir@
  24697. +datarootdir = @datarootdir@
  24698. +docdir = @docdir@
  24699. +dvidir = @dvidir@
  24700. +exec_prefix = @exec_prefix@
  24701. +gl_LIBOBJS = @gl_LIBOBJS@
  24702. +gl_LTLIBOBJS = @gl_LTLIBOBJS@
  24703. +gltests_LIBOBJS = @gltests_LIBOBJS@
  24704. +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
  24705. +gltests_WITNESS = @gltests_WITNESS@
  24706. +host = @host@
  24707. +host_alias = @host_alias@
  24708. +host_cpu = @host_cpu@
  24709. +host_os = @host_os@
  24710. +host_vendor = @host_vendor@
  24711. +htmldir = @htmldir@
  24712. +includedir = @includedir@
  24713. +infodir = @infodir@
  24714. +install_sh = @install_sh@
  24715. +libdir = @libdir@
  24716. +libexecdir = @libexecdir@
  24717. +localedir = @localedir@
  24718. +localstatedir = @localstatedir@
  24719. +mandir = @mandir@
  24720. +mkdir_p = @mkdir_p@
  24721. +oldincludedir = @oldincludedir@
  24722. +pdfdir = @pdfdir@
  24723. +prefix = @prefix@
  24724. +program_transform_name = @program_transform_name@
  24725. +psdir = @psdir@
  24726. +release_info = @release_info@
  24727. +sbindir = @sbindir@
  24728. +sharedstatedir = @sharedstatedir@
  24729. +srcdir = @srcdir@
  24730. +sysconfdir = @sysconfdir@
  24731. +target = @target@
  24732. +target_alias = @target_alias@
  24733. +target_cpu = @target_cpu@
  24734. +target_os = @target_os@
  24735. +target_vendor = @target_vendor@
  24736. +top_build_prefix = @top_build_prefix@
  24737. +top_builddir = @top_builddir@
  24738. +top_srcdir = @top_srcdir@
  24739. +version_info = @version_info@
  24740. +noinst_LIBRARIES = libccan.a
  24741. +libccan_a_SOURCES = compiler/compiler.h opt/helpers.c opt/opt.c opt/opt.h opt/parse.c opt/private.h opt/usage.c typesafe_cb/typesafe_cb.h
  24742. +all: all-am
  24743. +
  24744. +.SUFFIXES:
  24745. +.SUFFIXES: .c .o .obj
  24746. +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  24747. + @for dep in $?; do \
  24748. + case '$(am__configure_deps)' in \
  24749. + *$$dep*) \
  24750. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  24751. + && { if test -f $@; then exit 0; else break; fi; }; \
  24752. + exit 1;; \
  24753. + esac; \
  24754. + done; \
  24755. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ccan/Makefile'; \
  24756. + $(am__cd) $(top_srcdir) && \
  24757. + $(AUTOMAKE) --foreign ccan/Makefile
  24758. +.PRECIOUS: Makefile
  24759. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  24760. + @case '$?' in \
  24761. + *config.status*) \
  24762. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  24763. + *) \
  24764. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  24765. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  24766. + esac;
  24767. +
  24768. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  24769. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  24770. +
  24771. +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  24772. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  24773. +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  24774. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  24775. +$(am__aclocal_m4_deps):
  24776. +
  24777. +clean-noinstLIBRARIES:
  24778. + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  24779. +libccan.a: $(libccan_a_OBJECTS) $(libccan_a_DEPENDENCIES) $(EXTRA_libccan_a_DEPENDENCIES)
  24780. + $(AM_V_at)-rm -f libccan.a
  24781. + $(AM_V_AR)$(libccan_a_AR) libccan.a $(libccan_a_OBJECTS) $(libccan_a_LIBADD)
  24782. + $(AM_V_at)$(RANLIB) libccan.a
  24783. +
  24784. +mostlyclean-compile:
  24785. + -rm -f *.$(OBJEXT)
  24786. +
  24787. +distclean-compile:
  24788. + -rm -f *.tab.c
  24789. +
  24790. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/helpers.Po@am__quote@
  24791. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opt.Po@am__quote@
  24792. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@
  24793. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usage.Po@am__quote@
  24794. +
  24795. +.c.o:
  24796. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  24797. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  24798. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  24799. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24800. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
  24801. +
  24802. +.c.obj:
  24803. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  24804. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  24805. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  24806. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24807. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
  24808. +
  24809. +helpers.o: opt/helpers.c
  24810. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT helpers.o -MD -MP -MF $(DEPDIR)/helpers.Tpo -c -o helpers.o `test -f 'opt/helpers.c' || echo '$(srcdir)/'`opt/helpers.c
  24811. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/helpers.Tpo $(DEPDIR)/helpers.Po
  24812. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/helpers.c' object='helpers.o' libtool=no @AMDEPBACKSLASH@
  24813. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24814. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o helpers.o `test -f 'opt/helpers.c' || echo '$(srcdir)/'`opt/helpers.c
  24815. +
  24816. +helpers.obj: opt/helpers.c
  24817. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT helpers.obj -MD -MP -MF $(DEPDIR)/helpers.Tpo -c -o helpers.obj `if test -f 'opt/helpers.c'; then $(CYGPATH_W) 'opt/helpers.c'; else $(CYGPATH_W) '$(srcdir)/opt/helpers.c'; fi`
  24818. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/helpers.Tpo $(DEPDIR)/helpers.Po
  24819. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/helpers.c' object='helpers.obj' libtool=no @AMDEPBACKSLASH@
  24820. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24821. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o helpers.obj `if test -f 'opt/helpers.c'; then $(CYGPATH_W) 'opt/helpers.c'; else $(CYGPATH_W) '$(srcdir)/opt/helpers.c'; fi`
  24822. +
  24823. +opt.o: opt/opt.c
  24824. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT opt.o -MD -MP -MF $(DEPDIR)/opt.Tpo -c -o opt.o `test -f 'opt/opt.c' || echo '$(srcdir)/'`opt/opt.c
  24825. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/opt.Tpo $(DEPDIR)/opt.Po
  24826. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/opt.c' object='opt.o' libtool=no @AMDEPBACKSLASH@
  24827. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24828. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o opt.o `test -f 'opt/opt.c' || echo '$(srcdir)/'`opt/opt.c
  24829. +
  24830. +opt.obj: opt/opt.c
  24831. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT opt.obj -MD -MP -MF $(DEPDIR)/opt.Tpo -c -o opt.obj `if test -f 'opt/opt.c'; then $(CYGPATH_W) 'opt/opt.c'; else $(CYGPATH_W) '$(srcdir)/opt/opt.c'; fi`
  24832. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/opt.Tpo $(DEPDIR)/opt.Po
  24833. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/opt.c' object='opt.obj' libtool=no @AMDEPBACKSLASH@
  24834. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24835. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o opt.obj `if test -f 'opt/opt.c'; then $(CYGPATH_W) 'opt/opt.c'; else $(CYGPATH_W) '$(srcdir)/opt/opt.c'; fi`
  24836. +
  24837. +parse.o: opt/parse.c
  24838. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT parse.o -MD -MP -MF $(DEPDIR)/parse.Tpo -c -o parse.o `test -f 'opt/parse.c' || echo '$(srcdir)/'`opt/parse.c
  24839. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parse.Tpo $(DEPDIR)/parse.Po
  24840. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/parse.c' object='parse.o' libtool=no @AMDEPBACKSLASH@
  24841. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24842. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o parse.o `test -f 'opt/parse.c' || echo '$(srcdir)/'`opt/parse.c
  24843. +
  24844. +parse.obj: opt/parse.c
  24845. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT parse.obj -MD -MP -MF $(DEPDIR)/parse.Tpo -c -o parse.obj `if test -f 'opt/parse.c'; then $(CYGPATH_W) 'opt/parse.c'; else $(CYGPATH_W) '$(srcdir)/opt/parse.c'; fi`
  24846. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parse.Tpo $(DEPDIR)/parse.Po
  24847. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/parse.c' object='parse.obj' libtool=no @AMDEPBACKSLASH@
  24848. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24849. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o parse.obj `if test -f 'opt/parse.c'; then $(CYGPATH_W) 'opt/parse.c'; else $(CYGPATH_W) '$(srcdir)/opt/parse.c'; fi`
  24850. +
  24851. +usage.o: opt/usage.c
  24852. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT usage.o -MD -MP -MF $(DEPDIR)/usage.Tpo -c -o usage.o `test -f 'opt/usage.c' || echo '$(srcdir)/'`opt/usage.c
  24853. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/usage.Tpo $(DEPDIR)/usage.Po
  24854. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/usage.c' object='usage.o' libtool=no @AMDEPBACKSLASH@
  24855. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24856. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o usage.o `test -f 'opt/usage.c' || echo '$(srcdir)/'`opt/usage.c
  24857. +
  24858. +usage.obj: opt/usage.c
  24859. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT usage.obj -MD -MP -MF $(DEPDIR)/usage.Tpo -c -o usage.obj `if test -f 'opt/usage.c'; then $(CYGPATH_W) 'opt/usage.c'; else $(CYGPATH_W) '$(srcdir)/opt/usage.c'; fi`
  24860. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/usage.Tpo $(DEPDIR)/usage.Po
  24861. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/usage.c' object='usage.obj' libtool=no @AMDEPBACKSLASH@
  24862. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  24863. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o usage.obj `if test -f 'opt/usage.c'; then $(CYGPATH_W) 'opt/usage.c'; else $(CYGPATH_W) '$(srcdir)/opt/usage.c'; fi`
  24864. +
  24865. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  24866. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  24867. + unique=`for i in $$list; do \
  24868. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  24869. + done | \
  24870. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  24871. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  24872. + mkid -fID $$unique
  24873. +tags: TAGS
  24874. +
  24875. +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  24876. + $(TAGS_FILES) $(LISP)
  24877. + set x; \
  24878. + here=`pwd`; \
  24879. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  24880. + unique=`for i in $$list; do \
  24881. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  24882. + done | \
  24883. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  24884. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  24885. + shift; \
  24886. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  24887. + test -n "$$unique" || unique=$$empty_fix; \
  24888. + if test $$# -gt 0; then \
  24889. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  24890. + "$$@" $$unique; \
  24891. + else \
  24892. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  24893. + $$unique; \
  24894. + fi; \
  24895. + fi
  24896. +ctags: CTAGS
  24897. +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  24898. + $(TAGS_FILES) $(LISP)
  24899. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  24900. + unique=`for i in $$list; do \
  24901. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  24902. + done | \
  24903. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  24904. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  24905. + test -z "$(CTAGS_ARGS)$$unique" \
  24906. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  24907. + $$unique
  24908. +
  24909. +GTAGS:
  24910. + here=`$(am__cd) $(top_builddir) && pwd` \
  24911. + && $(am__cd) $(top_srcdir) \
  24912. + && gtags -i $(GTAGS_ARGS) "$$here"
  24913. +
  24914. +distclean-tags:
  24915. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  24916. +
  24917. +distdir: $(DISTFILES)
  24918. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  24919. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  24920. + list='$(DISTFILES)'; \
  24921. + dist_files=`for file in $$list; do echo $$file; done | \
  24922. + sed -e "s|^$$srcdirstrip/||;t" \
  24923. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  24924. + case $$dist_files in \
  24925. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  24926. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  24927. + sort -u` ;; \
  24928. + esac; \
  24929. + for file in $$dist_files; do \
  24930. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  24931. + if test -d $$d/$$file; then \
  24932. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  24933. + if test -d "$(distdir)/$$file"; then \
  24934. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  24935. + fi; \
  24936. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  24937. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  24938. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  24939. + fi; \
  24940. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  24941. + else \
  24942. + test -f "$(distdir)/$$file" \
  24943. + || cp -p $$d/$$file "$(distdir)/$$file" \
  24944. + || exit 1; \
  24945. + fi; \
  24946. + done
  24947. +check-am: all-am
  24948. +check: check-am
  24949. +all-am: Makefile $(LIBRARIES)
  24950. +installdirs:
  24951. +install: install-am
  24952. +install-exec: install-exec-am
  24953. +install-data: install-data-am
  24954. +uninstall: uninstall-am
  24955. +
  24956. +install-am: all-am
  24957. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  24958. +
  24959. +installcheck: installcheck-am
  24960. +install-strip:
  24961. + if test -z '$(STRIP)'; then \
  24962. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  24963. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  24964. + install; \
  24965. + else \
  24966. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  24967. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  24968. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  24969. + fi
  24970. +mostlyclean-generic:
  24971. +
  24972. +clean-generic:
  24973. +
  24974. +distclean-generic:
  24975. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  24976. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  24977. +
  24978. +maintainer-clean-generic:
  24979. + @echo "This command is intended for maintainers to use"
  24980. + @echo "it deletes files that may require special tools to rebuild."
  24981. +clean: clean-am
  24982. +
  24983. +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
  24984. +
  24985. +distclean: distclean-am
  24986. + -rm -rf ./$(DEPDIR)
  24987. + -rm -f Makefile
  24988. +distclean-am: clean-am distclean-compile distclean-generic \
  24989. + distclean-tags
  24990. +
  24991. +dvi: dvi-am
  24992. +
  24993. +dvi-am:
  24994. +
  24995. +html: html-am
  24996. +
  24997. +html-am:
  24998. +
  24999. +info: info-am
  25000. +
  25001. +info-am:
  25002. +
  25003. +install-data-am:
  25004. +
  25005. +install-dvi: install-dvi-am
  25006. +
  25007. +install-dvi-am:
  25008. +
  25009. +install-exec-am:
  25010. +
  25011. +install-html: install-html-am
  25012. +
  25013. +install-html-am:
  25014. +
  25015. +install-info: install-info-am
  25016. +
  25017. +install-info-am:
  25018. +
  25019. +install-man:
  25020. +
  25021. +install-pdf: install-pdf-am
  25022. +
  25023. +install-pdf-am:
  25024. +
  25025. +install-ps: install-ps-am
  25026. +
  25027. +install-ps-am:
  25028. +
  25029. +installcheck-am:
  25030. +
  25031. +maintainer-clean: maintainer-clean-am
  25032. + -rm -rf ./$(DEPDIR)
  25033. + -rm -f Makefile
  25034. +maintainer-clean-am: distclean-am maintainer-clean-generic
  25035. +
  25036. +mostlyclean: mostlyclean-am
  25037. +
  25038. +mostlyclean-am: mostlyclean-compile mostlyclean-generic
  25039. +
  25040. +pdf: pdf-am
  25041. +
  25042. +pdf-am:
  25043. +
  25044. +ps: ps-am
  25045. +
  25046. +ps-am:
  25047. +
  25048. +uninstall-am:
  25049. +
  25050. +.MAKE: install-am install-strip
  25051. +
  25052. +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  25053. + clean-noinstLIBRARIES ctags distclean distclean-compile \
  25054. + distclean-generic distclean-tags distdir dvi dvi-am html \
  25055. + html-am info info-am install install-am install-data \
  25056. + install-data-am install-dvi install-dvi-am install-exec \
  25057. + install-exec-am install-html install-html-am install-info \
  25058. + install-info-am install-man install-pdf install-pdf-am \
  25059. + install-ps install-ps-am install-strip installcheck \
  25060. + installcheck-am installdirs maintainer-clean \
  25061. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  25062. + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  25063. + uninstall-am
  25064. +
  25065. +
  25066. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  25067. +# Otherwise a system limit (for SysV at least) may be exceeded.
  25068. +.NOEXPORT:
  25069. --- /dev/null
  25070. +++ cgminer-2.4.1/lib/Makefile.in
  25071. @@ -0,0 +1,1044 @@
  25072. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  25073. +# @configure_input@
  25074. +
  25075. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  25076. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  25077. +# Foundation, Inc.
  25078. +# This Makefile.in is free software; the Free Software Foundation
  25079. +# gives unlimited permission to copy and/or distribute it,
  25080. +# with or without modifications, as long as this notice is preserved.
  25081. +
  25082. +# This program is distributed in the hope that it will be useful,
  25083. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  25084. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  25085. +# PARTICULAR PURPOSE.
  25086. +
  25087. +@SET_MAKE@
  25088. +
  25089. +# Copyright (C) 2002-2011 Free Software Foundation, Inc.
  25090. +#
  25091. +# This file is free software, distributed under the terms of the GNU
  25092. +# General Public License. As a special exception to the GNU General
  25093. +# Public License, this file may be distributed as part of a program
  25094. +# that contains a configuration script generated by Autoconf, under
  25095. +# the same distribution terms as the rest of that program.
  25096. +#
  25097. +# Generated by gnulib-tool.
  25098. +# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files memmem sigaction signal
  25099. +
  25100. +
  25101. +
  25102. +VPATH = @srcdir@
  25103. +pkgdatadir = $(datadir)/@PACKAGE@
  25104. +pkgincludedir = $(includedir)/@PACKAGE@
  25105. +pkglibdir = $(libdir)/@PACKAGE@
  25106. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  25107. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  25108. +install_sh_DATA = $(install_sh) -c -m 644
  25109. +install_sh_PROGRAM = $(install_sh) -c
  25110. +install_sh_SCRIPT = $(install_sh) -c
  25111. +INSTALL_HEADER = $(INSTALL_DATA)
  25112. +transform = $(program_transform_name)
  25113. +NORMAL_INSTALL = :
  25114. +PRE_INSTALL = :
  25115. +POST_INSTALL = :
  25116. +NORMAL_UNINSTALL = :
  25117. +PRE_UNINSTALL = :
  25118. +POST_UNINSTALL = :
  25119. +build_triplet = @build@
  25120. +host_triplet = @host@
  25121. +target_triplet = @target@
  25122. +subdir = lib
  25123. +DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  25124. + $(srcdir)/Makefile.in
  25125. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  25126. +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  25127. + $(top_srcdir)/m4/extensions.m4 \
  25128. + $(top_srcdir)/m4/gnulib-common.m4 \
  25129. + $(top_srcdir)/m4/gnulib-comp.m4 \
  25130. + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
  25131. + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
  25132. + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
  25133. + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
  25134. + $(top_srcdir)/m4/signal_h.m4 \
  25135. + $(top_srcdir)/m4/signalblocking.m4 \
  25136. + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
  25137. + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
  25138. + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
  25139. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  25140. + $(ACLOCAL_M4)
  25141. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  25142. +CONFIG_HEADER = $(top_builddir)/config.h
  25143. +CONFIG_CLEAN_FILES =
  25144. +CONFIG_CLEAN_VPATH_FILES =
  25145. +LIBRARIES = $(noinst_LIBRARIES)
  25146. +AR = ar
  25147. +ARFLAGS = cru
  25148. +AM_V_AR = $(am__v_AR_@AM_V@)
  25149. +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
  25150. +am__v_AR_0 = @echo " AR " $@;
  25151. +AM_V_at = $(am__v_at_@AM_V@)
  25152. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  25153. +am__v_at_0 = @
  25154. +libgnu_a_AR = $(AR) $(ARFLAGS)
  25155. +am__DEPENDENCIES_1 =
  25156. +am_libgnu_a_OBJECTS = dummy.$(OBJEXT)
  25157. +libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS)
  25158. +LTLIBRARIES = $(noinst_LTLIBRARIES)
  25159. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  25160. +depcomp = $(SHELL) $(top_srcdir)/depcomp
  25161. +am__depfiles_maybe = depfiles
  25162. +am__mv = mv -f
  25163. +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  25164. + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  25165. +AM_V_CC = $(am__v_CC_@AM_V@)
  25166. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  25167. +am__v_CC_0 = @echo " CC " $@;
  25168. +CCLD = $(CC)
  25169. +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  25170. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  25171. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  25172. +am__v_CCLD_0 = @echo " CCLD " $@;
  25173. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  25174. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  25175. +am__v_GEN_0 = @echo " GEN " $@;
  25176. +SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES)
  25177. +DIST_SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES)
  25178. +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  25179. + html-recursive info-recursive install-data-recursive \
  25180. + install-dvi-recursive install-exec-recursive \
  25181. + install-html-recursive install-info-recursive \
  25182. + install-pdf-recursive install-ps-recursive install-recursive \
  25183. + installcheck-recursive installdirs-recursive pdf-recursive \
  25184. + ps-recursive uninstall-recursive
  25185. +HEADERS = $(noinst_HEADERS)
  25186. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  25187. + distclean-recursive maintainer-clean-recursive
  25188. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  25189. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  25190. + distdir
  25191. +ETAGS = etags
  25192. +CTAGS = ctags
  25193. +DIST_SUBDIRS = $(SUBDIRS)
  25194. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  25195. +am__relativize = \
  25196. + dir0=`pwd`; \
  25197. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  25198. + sed_rest='s,^[^/]*/*,,'; \
  25199. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  25200. + sed_butlast='s,/*[^/]*$$,,'; \
  25201. + while test -n "$$dir1"; do \
  25202. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  25203. + if test "$$first" != "."; then \
  25204. + if test "$$first" = ".."; then \
  25205. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  25206. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  25207. + else \
  25208. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  25209. + if test "$$first2" = "$$first"; then \
  25210. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  25211. + else \
  25212. + dir2="../$$dir2"; \
  25213. + fi; \
  25214. + dir0="$$dir0"/"$$first"; \
  25215. + fi; \
  25216. + fi; \
  25217. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  25218. + done; \
  25219. + reldir="$$dir2"
  25220. +ACLOCAL = @ACLOCAL@
  25221. +ALLOCA = @ALLOCA@
  25222. +AMTAR = @AMTAR@
  25223. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  25224. +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
  25225. +AUTOCONF = @AUTOCONF@
  25226. +AUTOHEADER = @AUTOHEADER@
  25227. +AUTOMAKE = @AUTOMAKE@
  25228. +AWK = @AWK@
  25229. +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
  25230. +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
  25231. +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
  25232. +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
  25233. +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
  25234. +CC = @CC@
  25235. +CCDEPMODE = @CCDEPMODE@
  25236. +CFLAGS = @CFLAGS@
  25237. +CPP = @CPP@
  25238. +CPPFLAGS = @CPPFLAGS@
  25239. +CYGPATH_W = @CYGPATH_W@
  25240. +DEFS = @DEFS@
  25241. +DEPDIR = @DEPDIR@
  25242. +DLOPEN_FLAGS = @DLOPEN_FLAGS@
  25243. +ECHO_C = @ECHO_C@
  25244. +ECHO_N = @ECHO_N@
  25245. +ECHO_T = @ECHO_T@
  25246. +EGREP = @EGREP@
  25247. +EXEEXT = @EXEEXT@
  25248. +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
  25249. +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
  25250. +GNULIB_MBSCHR = @GNULIB_MBSCHR@
  25251. +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
  25252. +GNULIB_MBSLEN = @GNULIB_MBSLEN@
  25253. +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
  25254. +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
  25255. +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
  25256. +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
  25257. +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
  25258. +GNULIB_MBSSEP = @GNULIB_MBSSEP@
  25259. +GNULIB_MBSSPN = @GNULIB_MBSSPN@
  25260. +GNULIB_MBSSTR = @GNULIB_MBSSTR@
  25261. +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
  25262. +GNULIB_MEMCHR = @GNULIB_MEMCHR@
  25263. +GNULIB_MEMMEM = @GNULIB_MEMMEM@
  25264. +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
  25265. +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
  25266. +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
  25267. +GNULIB_SIGACTION = @GNULIB_SIGACTION@
  25268. +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
  25269. +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
  25270. +GNULIB_STPCPY = @GNULIB_STPCPY@
  25271. +GNULIB_STPNCPY = @GNULIB_STPNCPY@
  25272. +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
  25273. +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
  25274. +GNULIB_STRDUP = @GNULIB_STRDUP@
  25275. +GNULIB_STRERROR = @GNULIB_STRERROR@
  25276. +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
  25277. +GNULIB_STRNCAT = @GNULIB_STRNCAT@
  25278. +GNULIB_STRNDUP = @GNULIB_STRNDUP@
  25279. +GNULIB_STRNLEN = @GNULIB_STRNLEN@
  25280. +GNULIB_STRPBRK = @GNULIB_STRPBRK@
  25281. +GNULIB_STRSEP = @GNULIB_STRSEP@
  25282. +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
  25283. +GNULIB_STRSTR = @GNULIB_STRSTR@
  25284. +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
  25285. +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
  25286. +GREP = @GREP@
  25287. +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
  25288. +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
  25289. +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
  25290. +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
  25291. +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
  25292. +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
  25293. +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
  25294. +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
  25295. +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
  25296. +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
  25297. +HAVE_MBSLEN = @HAVE_MBSLEN@
  25298. +HAVE_MEMCHR = @HAVE_MEMCHR@
  25299. +HAVE_MEMPCPY = @HAVE_MEMPCPY@
  25300. +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
  25301. +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
  25302. +HAVE_SIGACTION = @HAVE_SIGACTION@
  25303. +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
  25304. +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
  25305. +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
  25306. +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
  25307. +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
  25308. +HAVE_SIGSET_T = @HAVE_SIGSET_T@
  25309. +HAVE_STDINT_H = @HAVE_STDINT_H@
  25310. +HAVE_STPCPY = @HAVE_STPCPY@
  25311. +HAVE_STPNCPY = @HAVE_STPNCPY@
  25312. +HAVE_STRCASESTR = @HAVE_STRCASESTR@
  25313. +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
  25314. +HAVE_STRPBRK = @HAVE_STRPBRK@
  25315. +HAVE_STRSEP = @HAVE_STRSEP@
  25316. +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
  25317. +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
  25318. +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
  25319. +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
  25320. +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
  25321. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
  25322. +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
  25323. +HAVE_WCHAR_H = @HAVE_WCHAR_H@
  25324. +HAVE_WCHAR_T = @HAVE_WCHAR_T@
  25325. +INCLUDE_NEXT = @INCLUDE_NEXT@
  25326. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  25327. +INSTALL = @INSTALL@
  25328. +INSTALL_DATA = @INSTALL_DATA@
  25329. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  25330. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  25331. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  25332. +JANSSON_LIBS = @JANSSON_LIBS@
  25333. +LDFLAGS = @LDFLAGS@
  25334. +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
  25335. +LIBCURL_LIBS = @LIBCURL_LIBS@
  25336. +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
  25337. +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
  25338. +LIBOBJS = @LIBOBJS@
  25339. +LIBS = @LIBS@
  25340. +LTLIBOBJS = @LTLIBOBJS@
  25341. +MAINT = @MAINT@
  25342. +MAKEINFO = @MAKEINFO@
  25343. +MATH_LIBS = @MATH_LIBS@
  25344. +MKDIR_P = @MKDIR_P@
  25345. +NCURSES_LIBS = @NCURSES_LIBS@
  25346. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
  25347. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
  25348. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
  25349. +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
  25350. +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
  25351. +NEXT_STDDEF_H = @NEXT_STDDEF_H@
  25352. +NEXT_STDINT_H = @NEXT_STDINT_H@
  25353. +NEXT_STRING_H = @NEXT_STRING_H@
  25354. +OBJEXT = @OBJEXT@
  25355. +OPENCL_FLAGS = @OPENCL_FLAGS@
  25356. +OPENCL_LIBS = @OPENCL_LIBS@
  25357. +PACKAGE = @PACKAGE@
  25358. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  25359. +PACKAGE_NAME = @PACKAGE_NAME@
  25360. +PACKAGE_STRING = @PACKAGE_STRING@
  25361. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  25362. +PACKAGE_URL = @PACKAGE_URL@
  25363. +PACKAGE_VERSION = @PACKAGE_VERSION@
  25364. +PATH_SEPARATOR = @PATH_SEPARATOR@
  25365. +PDCURSES_LIBS = @PDCURSES_LIBS@
  25366. +PKG_CONFIG = @PKG_CONFIG@
  25367. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  25368. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  25369. +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
  25370. +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
  25371. +PTHREAD_FLAGS = @PTHREAD_FLAGS@
  25372. +PTHREAD_LIBS = @PTHREAD_LIBS@
  25373. +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
  25374. +RANLIB = @RANLIB@
  25375. +REPLACE_MEMCHR = @REPLACE_MEMCHR@
  25376. +REPLACE_MEMMEM = @REPLACE_MEMMEM@
  25377. +REPLACE_NULL = @REPLACE_NULL@
  25378. +REPLACE_STPNCPY = @REPLACE_STPNCPY@
  25379. +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
  25380. +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
  25381. +REPLACE_STRDUP = @REPLACE_STRDUP@
  25382. +REPLACE_STRERROR = @REPLACE_STRERROR@
  25383. +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
  25384. +REPLACE_STRNCAT = @REPLACE_STRNCAT@
  25385. +REPLACE_STRNDUP = @REPLACE_STRNDUP@
  25386. +REPLACE_STRNLEN = @REPLACE_STRNLEN@
  25387. +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
  25388. +REPLACE_STRSTR = @REPLACE_STRSTR@
  25389. +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
  25390. +SET_MAKE = @SET_MAKE@
  25391. +SHELL = @SHELL@
  25392. +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
  25393. +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
  25394. +STDDEF_H = @STDDEF_H@
  25395. +STDINT_H = @STDINT_H@
  25396. +STRIP = @STRIP@
  25397. +UDEV_LIBS = @UDEV_LIBS@
  25398. +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
  25399. +USB_FLAGS = @USB_FLAGS@
  25400. +USB_LIBS = @USB_LIBS@
  25401. +VERSION = @VERSION@
  25402. +VMAJ = @VMAJ@
  25403. +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
  25404. +WINT_T_SUFFIX = @WINT_T_SUFFIX@
  25405. +WS2_LIBS = @WS2_LIBS@
  25406. +YASM = @YASM@
  25407. +abs_builddir = @abs_builddir@
  25408. +abs_srcdir = @abs_srcdir@
  25409. +abs_top_builddir = @abs_top_builddir@
  25410. +abs_top_srcdir = @abs_top_srcdir@
  25411. +ac_ct_CC = @ac_ct_CC@
  25412. +am__include = @am__include@
  25413. +am__leading_dot = @am__leading_dot@
  25414. +am__quote = @am__quote@
  25415. +am__tar = @am__tar@
  25416. +am__untar = @am__untar@
  25417. +bindir = @bindir@
  25418. +build = @build@
  25419. +build_alias = @build_alias@
  25420. +build_cpu = @build_cpu@
  25421. +build_os = @build_os@
  25422. +build_vendor = @build_vendor@
  25423. +builddir = @builddir@
  25424. +datadir = @datadir@
  25425. +datarootdir = @datarootdir@
  25426. +docdir = @docdir@
  25427. +dvidir = @dvidir@
  25428. +exec_prefix = @exec_prefix@
  25429. +gl_LIBOBJS = @gl_LIBOBJS@
  25430. +gl_LTLIBOBJS = @gl_LTLIBOBJS@
  25431. +gltests_LIBOBJS = @gltests_LIBOBJS@
  25432. +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
  25433. +gltests_WITNESS = @gltests_WITNESS@
  25434. +host = @host@
  25435. +host_alias = @host_alias@
  25436. +host_cpu = @host_cpu@
  25437. +host_os = @host_os@
  25438. +host_vendor = @host_vendor@
  25439. +htmldir = @htmldir@
  25440. +includedir = @includedir@
  25441. +infodir = @infodir@
  25442. +install_sh = @install_sh@
  25443. +libdir = @libdir@
  25444. +libexecdir = @libexecdir@
  25445. +localedir = @localedir@
  25446. +localstatedir = @localstatedir@
  25447. +mandir = @mandir@
  25448. +mkdir_p = @mkdir_p@
  25449. +oldincludedir = @oldincludedir@
  25450. +pdfdir = @pdfdir@
  25451. +prefix = @prefix@
  25452. +program_transform_name = @program_transform_name@
  25453. +psdir = @psdir@
  25454. +release_info = @release_info@
  25455. +sbindir = @sbindir@
  25456. +sharedstatedir = @sharedstatedir@
  25457. +srcdir = @srcdir@
  25458. +sysconfdir = @sysconfdir@
  25459. +target = @target@
  25460. +target_alias = @target_alias@
  25461. +target_cpu = @target_cpu@
  25462. +target_os = @target_os@
  25463. +target_vendor = @target_vendor@
  25464. +top_build_prefix = @top_build_prefix@
  25465. +top_builddir = @top_builddir@
  25466. +top_srcdir = @top_srcdir@
  25467. +version_info = @version_info@
  25468. +AUTOMAKE_OPTIONS = 1.5 gnits
  25469. +SUBDIRS =
  25470. +noinst_HEADERS =
  25471. +noinst_LIBRARIES = libgnu.a
  25472. +noinst_LTLIBRARIES =
  25473. +EXTRA_DIST = $(top_srcdir)/./arg-nonnull.h $(top_srcdir)/./c++defs.h \
  25474. + memchr.c memchr.valgrind memmem.c str-two-way.h sig-handler.h \
  25475. + sigaction.c signal.in.h sigprocmask.c stddef.in.h stdint.in.h \
  25476. + string.in.h $(top_srcdir)/./warn-on-use.h
  25477. +
  25478. +# The BUILT_SOURCES created by this Makefile snippet are not used via #include
  25479. +# statements but through direct file reference. Therefore this snippet must be
  25480. +# present in all Makefile.am that need it. This is ensured by the applicability
  25481. +# 'all' defined above.
  25482. +
  25483. +# The BUILT_SOURCES created by this Makefile snippet are not used via #include
  25484. +# statements but through direct file reference. Therefore this snippet must be
  25485. +# present in all Makefile.am that need it. This is ensured by the applicability
  25486. +# 'all' defined above.
  25487. +BUILT_SOURCES = arg-nonnull.h c++defs.h signal.h $(STDDEF_H) \
  25488. + $(STDINT_H) string.h warn-on-use.h
  25489. +SUFFIXES =
  25490. +MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \
  25491. + c++defs.h c++defs.h-t signal.h signal.h-t stddef.h stddef.h-t \
  25492. + stdint.h stdint.h-t string.h string.h-t warn-on-use.h \
  25493. + warn-on-use.h-t
  25494. +MOSTLYCLEANDIRS =
  25495. +CLEANFILES =
  25496. +DISTCLEANFILES =
  25497. +MAINTAINERCLEANFILES =
  25498. +AM_CPPFLAGS =
  25499. +AM_CFLAGS =
  25500. +libgnu_a_SOURCES = dummy.c
  25501. +libgnu_a_LIBADD = $(gl_LIBOBJS)
  25502. +libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
  25503. +EXTRA_libgnu_a_SOURCES = memchr.c memmem.c sigaction.c sigprocmask.c
  25504. +ARG_NONNULL_H = arg-nonnull.h
  25505. +CXXDEFS_H = c++defs.h
  25506. +WARN_ON_USE_H = warn-on-use.h
  25507. +all: $(BUILT_SOURCES)
  25508. + $(MAKE) $(AM_MAKEFLAGS) all-recursive
  25509. +
  25510. +.SUFFIXES:
  25511. +.SUFFIXES: .c .o .obj
  25512. +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  25513. + @for dep in $?; do \
  25514. + case '$(am__configure_deps)' in \
  25515. + *$$dep*) \
  25516. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  25517. + && { if test -f $@; then exit 0; else break; fi; }; \
  25518. + exit 1;; \
  25519. + esac; \
  25520. + done; \
  25521. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits lib/Makefile'; \
  25522. + $(am__cd) $(top_srcdir) && \
  25523. + $(AUTOMAKE) --gnits lib/Makefile
  25524. +.PRECIOUS: Makefile
  25525. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  25526. + @case '$?' in \
  25527. + *config.status*) \
  25528. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  25529. + *) \
  25530. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  25531. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  25532. + esac;
  25533. +
  25534. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  25535. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  25536. +
  25537. +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  25538. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  25539. +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  25540. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  25541. +$(am__aclocal_m4_deps):
  25542. +
  25543. +clean-noinstLIBRARIES:
  25544. + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  25545. +libgnu.a: $(libgnu_a_OBJECTS) $(libgnu_a_DEPENDENCIES) $(EXTRA_libgnu_a_DEPENDENCIES)
  25546. + $(AM_V_at)-rm -f libgnu.a
  25547. + $(AM_V_AR)$(libgnu_a_AR) libgnu.a $(libgnu_a_OBJECTS) $(libgnu_a_LIBADD)
  25548. + $(AM_V_at)$(RANLIB) libgnu.a
  25549. +
  25550. +clean-noinstLTLIBRARIES:
  25551. + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  25552. + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  25553. + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  25554. + test "$$dir" != "$$p" || dir=.; \
  25555. + echo "rm -f \"$${dir}/so_locations\""; \
  25556. + rm -f "$${dir}/so_locations"; \
  25557. + done
  25558. +
  25559. +mostlyclean-compile:
  25560. + -rm -f *.$(OBJEXT)
  25561. +
  25562. +distclean-compile:
  25563. + -rm -f *.tab.c
  25564. +
  25565. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy.Po@am__quote@
  25566. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memchr.Po@am__quote@
  25567. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memmem.Po@am__quote@
  25568. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigaction.Po@am__quote@
  25569. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigprocmask.Po@am__quote@
  25570. +
  25571. +.c.o:
  25572. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  25573. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  25574. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  25575. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  25576. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
  25577. +
  25578. +.c.obj:
  25579. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  25580. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  25581. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  25582. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  25583. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
  25584. +
  25585. +# This directory's subdirectories are mostly independent; you can cd
  25586. +# into them and run `make' without going through this Makefile.
  25587. +# To change the values of `make' variables: instead of editing Makefiles,
  25588. +# (1) if the variable is set in `config.status', edit `config.status'
  25589. +# (which will cause the Makefiles to be regenerated when you run `make');
  25590. +# (2) otherwise, pass the desired values on the `make' command line.
  25591. +$(RECURSIVE_TARGETS):
  25592. + @fail= failcom='exit 1'; \
  25593. + for f in x $$MAKEFLAGS; do \
  25594. + case $$f in \
  25595. + *=* | --[!k]*);; \
  25596. + *k*) failcom='fail=yes';; \
  25597. + esac; \
  25598. + done; \
  25599. + dot_seen=no; \
  25600. + target=`echo $@ | sed s/-recursive//`; \
  25601. + list='$(SUBDIRS)'; for subdir in $$list; do \
  25602. + echo "Making $$target in $$subdir"; \
  25603. + if test "$$subdir" = "."; then \
  25604. + dot_seen=yes; \
  25605. + local_target="$$target-am"; \
  25606. + else \
  25607. + local_target="$$target"; \
  25608. + fi; \
  25609. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  25610. + || eval $$failcom; \
  25611. + done; \
  25612. + if test "$$dot_seen" = "no"; then \
  25613. + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  25614. + fi; test -z "$$fail"
  25615. +
  25616. +$(RECURSIVE_CLEAN_TARGETS):
  25617. + @fail= failcom='exit 1'; \
  25618. + for f in x $$MAKEFLAGS; do \
  25619. + case $$f in \
  25620. + *=* | --[!k]*);; \
  25621. + *k*) failcom='fail=yes';; \
  25622. + esac; \
  25623. + done; \
  25624. + dot_seen=no; \
  25625. + case "$@" in \
  25626. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  25627. + *) list='$(SUBDIRS)' ;; \
  25628. + esac; \
  25629. + rev=''; for subdir in $$list; do \
  25630. + if test "$$subdir" = "."; then :; else \
  25631. + rev="$$subdir $$rev"; \
  25632. + fi; \
  25633. + done; \
  25634. + rev="$$rev ."; \
  25635. + target=`echo $@ | sed s/-recursive//`; \
  25636. + for subdir in $$rev; do \
  25637. + echo "Making $$target in $$subdir"; \
  25638. + if test "$$subdir" = "."; then \
  25639. + local_target="$$target-am"; \
  25640. + else \
  25641. + local_target="$$target"; \
  25642. + fi; \
  25643. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  25644. + || eval $$failcom; \
  25645. + done && test -z "$$fail"
  25646. +tags-recursive:
  25647. + list='$(SUBDIRS)'; for subdir in $$list; do \
  25648. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  25649. + done
  25650. +ctags-recursive:
  25651. + list='$(SUBDIRS)'; for subdir in $$list; do \
  25652. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  25653. + done
  25654. +
  25655. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  25656. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  25657. + unique=`for i in $$list; do \
  25658. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  25659. + done | \
  25660. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  25661. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  25662. + mkid -fID $$unique
  25663. +tags: TAGS
  25664. +
  25665. +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  25666. + $(TAGS_FILES) $(LISP)
  25667. + set x; \
  25668. + here=`pwd`; \
  25669. + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  25670. + include_option=--etags-include; \
  25671. + empty_fix=.; \
  25672. + else \
  25673. + include_option=--include; \
  25674. + empty_fix=; \
  25675. + fi; \
  25676. + list='$(SUBDIRS)'; for subdir in $$list; do \
  25677. + if test "$$subdir" = .; then :; else \
  25678. + test ! -f $$subdir/TAGS || \
  25679. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  25680. + fi; \
  25681. + done; \
  25682. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  25683. + unique=`for i in $$list; do \
  25684. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  25685. + done | \
  25686. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  25687. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  25688. + shift; \
  25689. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  25690. + test -n "$$unique" || unique=$$empty_fix; \
  25691. + if test $$# -gt 0; then \
  25692. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  25693. + "$$@" $$unique; \
  25694. + else \
  25695. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  25696. + $$unique; \
  25697. + fi; \
  25698. + fi
  25699. +ctags: CTAGS
  25700. +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  25701. + $(TAGS_FILES) $(LISP)
  25702. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  25703. + unique=`for i in $$list; do \
  25704. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  25705. + done | \
  25706. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  25707. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  25708. + test -z "$(CTAGS_ARGS)$$unique" \
  25709. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  25710. + $$unique
  25711. +
  25712. +GTAGS:
  25713. + here=`$(am__cd) $(top_builddir) && pwd` \
  25714. + && $(am__cd) $(top_srcdir) \
  25715. + && gtags -i $(GTAGS_ARGS) "$$here"
  25716. +
  25717. +distclean-tags:
  25718. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  25719. +
  25720. +distdir: $(DISTFILES)
  25721. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  25722. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  25723. + list='$(DISTFILES)'; \
  25724. + dist_files=`for file in $$list; do echo $$file; done | \
  25725. + sed -e "s|^$$srcdirstrip/||;t" \
  25726. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  25727. + case $$dist_files in \
  25728. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  25729. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  25730. + sort -u` ;; \
  25731. + esac; \
  25732. + for file in $$dist_files; do \
  25733. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  25734. + if test -d $$d/$$file; then \
  25735. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  25736. + if test -d "$(distdir)/$$file"; then \
  25737. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  25738. + fi; \
  25739. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  25740. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  25741. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  25742. + fi; \
  25743. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  25744. + else \
  25745. + test -f "$(distdir)/$$file" \
  25746. + || cp -p $$d/$$file "$(distdir)/$$file" \
  25747. + || exit 1; \
  25748. + fi; \
  25749. + done
  25750. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  25751. + if test "$$subdir" = .; then :; else \
  25752. + test -d "$(distdir)/$$subdir" \
  25753. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  25754. + || exit 1; \
  25755. + fi; \
  25756. + done
  25757. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  25758. + if test "$$subdir" = .; then :; else \
  25759. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  25760. + $(am__relativize); \
  25761. + new_distdir=$$reldir; \
  25762. + dir1=$$subdir; dir2="$(top_distdir)"; \
  25763. + $(am__relativize); \
  25764. + new_top_distdir=$$reldir; \
  25765. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  25766. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  25767. + ($(am__cd) $$subdir && \
  25768. + $(MAKE) $(AM_MAKEFLAGS) \
  25769. + top_distdir="$$new_top_distdir" \
  25770. + distdir="$$new_distdir" \
  25771. + am__remove_distdir=: \
  25772. + am__skip_length_check=: \
  25773. + am__skip_mode_fix=: \
  25774. + distdir) \
  25775. + || exit 1; \
  25776. + fi; \
  25777. + done
  25778. +check-am: all-am
  25779. +check: $(BUILT_SOURCES)
  25780. + $(MAKE) $(AM_MAKEFLAGS) check-recursive
  25781. +all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS)
  25782. +installdirs: installdirs-recursive
  25783. +installdirs-am:
  25784. +install: $(BUILT_SOURCES)
  25785. + $(MAKE) $(AM_MAKEFLAGS) install-recursive
  25786. +install-exec: install-exec-recursive
  25787. +install-data: install-data-recursive
  25788. +uninstall: uninstall-recursive
  25789. +
  25790. +install-am: all-am
  25791. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  25792. +
  25793. +installcheck: installcheck-recursive
  25794. +install-strip:
  25795. + if test -z '$(STRIP)'; then \
  25796. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  25797. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  25798. + install; \
  25799. + else \
  25800. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  25801. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  25802. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  25803. + fi
  25804. +mostlyclean-generic:
  25805. + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
  25806. +
  25807. +clean-generic:
  25808. + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  25809. +
  25810. +distclean-generic:
  25811. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  25812. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  25813. + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  25814. +
  25815. +maintainer-clean-generic:
  25816. + @echo "This command is intended for maintainers to use"
  25817. + @echo "it deletes files that may require special tools to rebuild."
  25818. + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
  25819. + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
  25820. +clean: clean-recursive
  25821. +
  25822. +clean-am: clean-generic clean-noinstLIBRARIES clean-noinstLTLIBRARIES \
  25823. + mostlyclean-am
  25824. +
  25825. +distclean: distclean-recursive
  25826. + -rm -rf ./$(DEPDIR)
  25827. + -rm -f Makefile
  25828. +distclean-am: clean-am distclean-compile distclean-generic \
  25829. + distclean-tags
  25830. +
  25831. +dvi: dvi-recursive
  25832. +
  25833. +dvi-am:
  25834. +
  25835. +html: html-recursive
  25836. +
  25837. +html-am:
  25838. +
  25839. +info: info-recursive
  25840. +
  25841. +info-am:
  25842. +
  25843. +install-data-am:
  25844. +
  25845. +install-dvi: install-dvi-recursive
  25846. +
  25847. +install-dvi-am:
  25848. +
  25849. +install-exec-am:
  25850. +
  25851. +install-html: install-html-recursive
  25852. +
  25853. +install-html-am:
  25854. +
  25855. +install-info: install-info-recursive
  25856. +
  25857. +install-info-am:
  25858. +
  25859. +install-man:
  25860. +
  25861. +install-pdf: install-pdf-recursive
  25862. +
  25863. +install-pdf-am:
  25864. +
  25865. +install-ps: install-ps-recursive
  25866. +
  25867. +install-ps-am:
  25868. +
  25869. +installcheck-am:
  25870. +
  25871. +maintainer-clean: maintainer-clean-recursive
  25872. + -rm -rf ./$(DEPDIR)
  25873. + -rm -f Makefile
  25874. +maintainer-clean-am: distclean-am maintainer-clean-generic
  25875. +
  25876. +mostlyclean: mostlyclean-recursive
  25877. +
  25878. +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  25879. + mostlyclean-local
  25880. +
  25881. +pdf: pdf-recursive
  25882. +
  25883. +pdf-am:
  25884. +
  25885. +ps: ps-recursive
  25886. +
  25887. +ps-am:
  25888. +
  25889. +uninstall-am:
  25890. +
  25891. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
  25892. + ctags-recursive install install-am install-strip \
  25893. + tags-recursive
  25894. +
  25895. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  25896. + all all-am check check-am clean clean-generic \
  25897. + clean-noinstLIBRARIES clean-noinstLTLIBRARIES ctags \
  25898. + ctags-recursive distclean distclean-compile distclean-generic \
  25899. + distclean-tags distdir dvi dvi-am html html-am info info-am \
  25900. + install install-am install-data install-data-am install-dvi \
  25901. + install-dvi-am install-exec install-exec-am install-html \
  25902. + install-html-am install-info install-info-am install-man \
  25903. + install-pdf install-pdf-am install-ps install-ps-am \
  25904. + install-strip installcheck installcheck-am installdirs \
  25905. + installdirs-am maintainer-clean maintainer-clean-generic \
  25906. + mostlyclean mostlyclean-compile mostlyclean-generic \
  25907. + mostlyclean-local pdf pdf-am ps ps-am tags tags-recursive \
  25908. + uninstall uninstall-am
  25909. +
  25910. +# The arg-nonnull.h that gets inserted into generated .h files is the same as
  25911. +# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
  25912. +arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
  25913. + $(AM_V_GEN)rm -f $@-t $@ && \
  25914. + sed -n -e '/GL_ARG_NONNULL/,$$p' \
  25915. + < $(top_srcdir)/./arg-nonnull.h \
  25916. + > $@-t && \
  25917. + mv $@-t $@
  25918. +# The c++defs.h that gets inserted into generated .h files is the same as
  25919. +# build-aux/c++defs.h, except that it has the copyright header cut off.
  25920. +c++defs.h: $(top_srcdir)/./c++defs.h
  25921. + $(AM_V_GEN)rm -f $@-t $@ && \
  25922. + sed -n -e '/_GL_CXXDEFS/,$$p' \
  25923. + < $(top_srcdir)/./c++defs.h \
  25924. + > $@-t && \
  25925. + mv $@-t $@
  25926. +
  25927. +# We need the following in order to create <signal.h> when the system
  25928. +# doesn't have a complete one.
  25929. +signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  25930. + $(AM_V_GEN)rm -f $@-t $@ && \
  25931. + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  25932. + sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  25933. + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  25934. + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  25935. + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  25936. + -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
  25937. + -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
  25938. + -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
  25939. + -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
  25940. + -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
  25941. + -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
  25942. + -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
  25943. + -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
  25944. + -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
  25945. + -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
  25946. + -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
  25947. + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  25948. + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  25949. + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  25950. + < $(srcdir)/signal.in.h; \
  25951. + } > $@-t && \
  25952. + mv $@-t $@
  25953. +
  25954. +# We need the following in order to create <stddef.h> when the system
  25955. +# doesn't have one that works with the given compiler.
  25956. +@GL_GENERATE_STDDEF_H_TRUE@stddef.h: stddef.in.h $(top_builddir)/config.status
  25957. +@GL_GENERATE_STDDEF_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \
  25958. +@GL_GENERATE_STDDEF_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  25959. +@GL_GENERATE_STDDEF_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  25960. +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  25961. +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  25962. +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  25963. +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
  25964. +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
  25965. +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
  25966. +@GL_GENERATE_STDDEF_H_TRUE@ < $(srcdir)/stddef.in.h; \
  25967. +@GL_GENERATE_STDDEF_H_TRUE@ } > $@-t && \
  25968. +@GL_GENERATE_STDDEF_H_TRUE@ mv $@-t $@
  25969. +@GL_GENERATE_STDDEF_H_FALSE@stddef.h: $(top_builddir)/config.status
  25970. +@GL_GENERATE_STDDEF_H_FALSE@ rm -f $@
  25971. +
  25972. +# We need the following in order to create <stdint.h> when the system
  25973. +# doesn't have one that works with the given compiler.
  25974. +@GL_GENERATE_STDINT_H_TRUE@stdint.h: stdint.in.h $(top_builddir)/config.status
  25975. +@GL_GENERATE_STDINT_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \
  25976. +@GL_GENERATE_STDINT_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  25977. +@GL_GENERATE_STDINT_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  25978. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
  25979. +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  25980. +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  25981. +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  25982. +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
  25983. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
  25984. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
  25985. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
  25986. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
  25987. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
  25988. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
  25989. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
  25990. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
  25991. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
  25992. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
  25993. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
  25994. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
  25995. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
  25996. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
  25997. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
  25998. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
  25999. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
  26000. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
  26001. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
  26002. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
  26003. +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
  26004. +@GL_GENERATE_STDINT_H_TRUE@ < $(srcdir)/stdint.in.h; \
  26005. +@GL_GENERATE_STDINT_H_TRUE@ } > $@-t && \
  26006. +@GL_GENERATE_STDINT_H_TRUE@ mv $@-t $@
  26007. +@GL_GENERATE_STDINT_H_FALSE@stdint.h: $(top_builddir)/config.status
  26008. +@GL_GENERATE_STDINT_H_FALSE@ rm -f $@
  26009. +
  26010. +# We need the following in order to create <string.h> when the system
  26011. +# doesn't have one that works with the given compiler.
  26012. +string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
  26013. + $(AM_V_GEN)rm -f $@-t $@ && \
  26014. + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  26015. + sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  26016. + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
  26017. + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
  26018. + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
  26019. + -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
  26020. + -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
  26021. + -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
  26022. + -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
  26023. + -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
  26024. + -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
  26025. + -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
  26026. + -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
  26027. + -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
  26028. + -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
  26029. + -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
  26030. + -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
  26031. + -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
  26032. + -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
  26033. + -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
  26034. + -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
  26035. + -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
  26036. + -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
  26037. + -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
  26038. + -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
  26039. + -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
  26040. + -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
  26041. + -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
  26042. + -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
  26043. + -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
  26044. + -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
  26045. + -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
  26046. + -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
  26047. + -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
  26048. + -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
  26049. + -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
  26050. + -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
  26051. + -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
  26052. + -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
  26053. + -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
  26054. + -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
  26055. + < $(srcdir)/string.in.h | \
  26056. + sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
  26057. + -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
  26058. + -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
  26059. + -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
  26060. + -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
  26061. + -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
  26062. + -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
  26063. + -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
  26064. + -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
  26065. + -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
  26066. + -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
  26067. + -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
  26068. + -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
  26069. + -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
  26070. + -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
  26071. + -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
  26072. + -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
  26073. + -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
  26074. + -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
  26075. + -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
  26076. + -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
  26077. + -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
  26078. + -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
  26079. + -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
  26080. + -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
  26081. + -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
  26082. + -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
  26083. + -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
  26084. + -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
  26085. + -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
  26086. + -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
  26087. + -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
  26088. + -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
  26089. + -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
  26090. + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
  26091. + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
  26092. + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  26093. + < $(srcdir)/string.in.h; \
  26094. + } > $@-t && \
  26095. + mv $@-t $@
  26096. +# The warn-on-use.h that gets inserted into generated .h files is the same as
  26097. +# build-aux/warn-on-use.h, except that it has the copyright header cut off.
  26098. +warn-on-use.h: $(top_srcdir)/./warn-on-use.h
  26099. + $(AM_V_GEN)rm -f $@-t $@ && \
  26100. + sed -n -e '/^.ifndef/,$$p' \
  26101. + < $(top_srcdir)/./warn-on-use.h \
  26102. + > $@-t && \
  26103. + mv $@-t $@
  26104. +
  26105. +mostlyclean-local: mostlyclean-generic
  26106. + @for dir in '' $(MOSTLYCLEANDIRS); do \
  26107. + if test -n "$$dir" && test -d $$dir; then \
  26108. + echo "rmdir $$dir"; rmdir $$dir; \
  26109. + fi; \
  26110. + done; \
  26111. + :
  26112. +
  26113. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  26114. +# Otherwise a system limit (for SysV at least) may be exceeded.
  26115. +.NOEXPORT:
  26116. --- /dev/null
  26117. +++ cgminer-2.4.1/compat/Makefile.in
  26118. @@ -0,0 +1,705 @@
  26119. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  26120. +# @configure_input@
  26121. +
  26122. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  26123. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  26124. +# Foundation, Inc.
  26125. +# This Makefile.in is free software; the Free Software Foundation
  26126. +# gives unlimited permission to copy and/or distribute it,
  26127. +# with or without modifications, as long as this notice is preserved.
  26128. +
  26129. +# This program is distributed in the hope that it will be useful,
  26130. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  26131. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  26132. +# PARTICULAR PURPOSE.
  26133. +
  26134. +@SET_MAKE@
  26135. +VPATH = @srcdir@
  26136. +pkgdatadir = $(datadir)/@PACKAGE@
  26137. +pkgincludedir = $(includedir)/@PACKAGE@
  26138. +pkglibdir = $(libdir)/@PACKAGE@
  26139. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  26140. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  26141. +install_sh_DATA = $(install_sh) -c -m 644
  26142. +install_sh_PROGRAM = $(install_sh) -c
  26143. +install_sh_SCRIPT = $(install_sh) -c
  26144. +INSTALL_HEADER = $(INSTALL_DATA)
  26145. +transform = $(program_transform_name)
  26146. +NORMAL_INSTALL = :
  26147. +PRE_INSTALL = :
  26148. +POST_INSTALL = :
  26149. +NORMAL_UNINSTALL = :
  26150. +PRE_UNINSTALL = :
  26151. +POST_UNINSTALL = :
  26152. +build_triplet = @build@
  26153. +host_triplet = @host@
  26154. +target_triplet = @target@
  26155. +subdir = compat
  26156. +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  26157. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  26158. +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  26159. + $(top_srcdir)/m4/extensions.m4 \
  26160. + $(top_srcdir)/m4/gnulib-common.m4 \
  26161. + $(top_srcdir)/m4/gnulib-comp.m4 \
  26162. + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
  26163. + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
  26164. + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
  26165. + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
  26166. + $(top_srcdir)/m4/signal_h.m4 \
  26167. + $(top_srcdir)/m4/signalblocking.m4 \
  26168. + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
  26169. + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
  26170. + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
  26171. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  26172. + $(ACLOCAL_M4)
  26173. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  26174. +CONFIG_HEADER = $(top_builddir)/config.h
  26175. +CONFIG_CLEAN_FILES =
  26176. +CONFIG_CLEAN_VPATH_FILES =
  26177. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  26178. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  26179. +am__v_GEN_0 = @echo " GEN " $@;
  26180. +AM_V_at = $(am__v_at_@AM_V@)
  26181. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  26182. +am__v_at_0 = @
  26183. +SOURCES =
  26184. +DIST_SOURCES =
  26185. +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  26186. + html-recursive info-recursive install-data-recursive \
  26187. + install-dvi-recursive install-exec-recursive \
  26188. + install-html-recursive install-info-recursive \
  26189. + install-pdf-recursive install-ps-recursive install-recursive \
  26190. + installcheck-recursive installdirs-recursive pdf-recursive \
  26191. + ps-recursive uninstall-recursive
  26192. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  26193. + distclean-recursive maintainer-clean-recursive
  26194. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  26195. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  26196. + distdir
  26197. +ETAGS = etags
  26198. +CTAGS = ctags
  26199. +DIST_SUBDIRS = jansson
  26200. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  26201. +am__relativize = \
  26202. + dir0=`pwd`; \
  26203. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  26204. + sed_rest='s,^[^/]*/*,,'; \
  26205. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  26206. + sed_butlast='s,/*[^/]*$$,,'; \
  26207. + while test -n "$$dir1"; do \
  26208. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  26209. + if test "$$first" != "."; then \
  26210. + if test "$$first" = ".."; then \
  26211. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  26212. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  26213. + else \
  26214. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  26215. + if test "$$first2" = "$$first"; then \
  26216. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  26217. + else \
  26218. + dir2="../$$dir2"; \
  26219. + fi; \
  26220. + dir0="$$dir0"/"$$first"; \
  26221. + fi; \
  26222. + fi; \
  26223. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  26224. + done; \
  26225. + reldir="$$dir2"
  26226. +ACLOCAL = @ACLOCAL@
  26227. +ALLOCA = @ALLOCA@
  26228. +AMTAR = @AMTAR@
  26229. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  26230. +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
  26231. +AUTOCONF = @AUTOCONF@
  26232. +AUTOHEADER = @AUTOHEADER@
  26233. +AUTOMAKE = @AUTOMAKE@
  26234. +AWK = @AWK@
  26235. +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
  26236. +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
  26237. +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
  26238. +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
  26239. +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
  26240. +CC = @CC@
  26241. +CCDEPMODE = @CCDEPMODE@
  26242. +CFLAGS = @CFLAGS@
  26243. +CPP = @CPP@
  26244. +CPPFLAGS = @CPPFLAGS@
  26245. +CYGPATH_W = @CYGPATH_W@
  26246. +DEFS = @DEFS@
  26247. +DEPDIR = @DEPDIR@
  26248. +DLOPEN_FLAGS = @DLOPEN_FLAGS@
  26249. +ECHO_C = @ECHO_C@
  26250. +ECHO_N = @ECHO_N@
  26251. +ECHO_T = @ECHO_T@
  26252. +EGREP = @EGREP@
  26253. +EXEEXT = @EXEEXT@
  26254. +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
  26255. +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
  26256. +GNULIB_MBSCHR = @GNULIB_MBSCHR@
  26257. +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
  26258. +GNULIB_MBSLEN = @GNULIB_MBSLEN@
  26259. +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
  26260. +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
  26261. +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
  26262. +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
  26263. +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
  26264. +GNULIB_MBSSEP = @GNULIB_MBSSEP@
  26265. +GNULIB_MBSSPN = @GNULIB_MBSSPN@
  26266. +GNULIB_MBSSTR = @GNULIB_MBSSTR@
  26267. +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
  26268. +GNULIB_MEMCHR = @GNULIB_MEMCHR@
  26269. +GNULIB_MEMMEM = @GNULIB_MEMMEM@
  26270. +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
  26271. +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
  26272. +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
  26273. +GNULIB_SIGACTION = @GNULIB_SIGACTION@
  26274. +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
  26275. +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
  26276. +GNULIB_STPCPY = @GNULIB_STPCPY@
  26277. +GNULIB_STPNCPY = @GNULIB_STPNCPY@
  26278. +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
  26279. +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
  26280. +GNULIB_STRDUP = @GNULIB_STRDUP@
  26281. +GNULIB_STRERROR = @GNULIB_STRERROR@
  26282. +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
  26283. +GNULIB_STRNCAT = @GNULIB_STRNCAT@
  26284. +GNULIB_STRNDUP = @GNULIB_STRNDUP@
  26285. +GNULIB_STRNLEN = @GNULIB_STRNLEN@
  26286. +GNULIB_STRPBRK = @GNULIB_STRPBRK@
  26287. +GNULIB_STRSEP = @GNULIB_STRSEP@
  26288. +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
  26289. +GNULIB_STRSTR = @GNULIB_STRSTR@
  26290. +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
  26291. +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
  26292. +GREP = @GREP@
  26293. +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
  26294. +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
  26295. +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
  26296. +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
  26297. +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
  26298. +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
  26299. +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
  26300. +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
  26301. +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
  26302. +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
  26303. +HAVE_MBSLEN = @HAVE_MBSLEN@
  26304. +HAVE_MEMCHR = @HAVE_MEMCHR@
  26305. +HAVE_MEMPCPY = @HAVE_MEMPCPY@
  26306. +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
  26307. +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
  26308. +HAVE_SIGACTION = @HAVE_SIGACTION@
  26309. +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
  26310. +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
  26311. +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
  26312. +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
  26313. +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
  26314. +HAVE_SIGSET_T = @HAVE_SIGSET_T@
  26315. +HAVE_STDINT_H = @HAVE_STDINT_H@
  26316. +HAVE_STPCPY = @HAVE_STPCPY@
  26317. +HAVE_STPNCPY = @HAVE_STPNCPY@
  26318. +HAVE_STRCASESTR = @HAVE_STRCASESTR@
  26319. +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
  26320. +HAVE_STRPBRK = @HAVE_STRPBRK@
  26321. +HAVE_STRSEP = @HAVE_STRSEP@
  26322. +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
  26323. +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
  26324. +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
  26325. +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
  26326. +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
  26327. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
  26328. +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
  26329. +HAVE_WCHAR_H = @HAVE_WCHAR_H@
  26330. +HAVE_WCHAR_T = @HAVE_WCHAR_T@
  26331. +INCLUDE_NEXT = @INCLUDE_NEXT@
  26332. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  26333. +INSTALL = @INSTALL@
  26334. +INSTALL_DATA = @INSTALL_DATA@
  26335. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  26336. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  26337. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  26338. +JANSSON_LIBS = @JANSSON_LIBS@
  26339. +LDFLAGS = @LDFLAGS@
  26340. +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
  26341. +LIBCURL_LIBS = @LIBCURL_LIBS@
  26342. +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
  26343. +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
  26344. +LIBOBJS = @LIBOBJS@
  26345. +LIBS = @LIBS@
  26346. +LTLIBOBJS = @LTLIBOBJS@
  26347. +MAINT = @MAINT@
  26348. +MAKEINFO = @MAKEINFO@
  26349. +MATH_LIBS = @MATH_LIBS@
  26350. +MKDIR_P = @MKDIR_P@
  26351. +NCURSES_LIBS = @NCURSES_LIBS@
  26352. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
  26353. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
  26354. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
  26355. +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
  26356. +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
  26357. +NEXT_STDDEF_H = @NEXT_STDDEF_H@
  26358. +NEXT_STDINT_H = @NEXT_STDINT_H@
  26359. +NEXT_STRING_H = @NEXT_STRING_H@
  26360. +OBJEXT = @OBJEXT@
  26361. +OPENCL_FLAGS = @OPENCL_FLAGS@
  26362. +OPENCL_LIBS = @OPENCL_LIBS@
  26363. +PACKAGE = @PACKAGE@
  26364. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  26365. +PACKAGE_NAME = @PACKAGE_NAME@
  26366. +PACKAGE_STRING = @PACKAGE_STRING@
  26367. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  26368. +PACKAGE_URL = @PACKAGE_URL@
  26369. +PACKAGE_VERSION = @PACKAGE_VERSION@
  26370. +PATH_SEPARATOR = @PATH_SEPARATOR@
  26371. +PDCURSES_LIBS = @PDCURSES_LIBS@
  26372. +PKG_CONFIG = @PKG_CONFIG@
  26373. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  26374. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  26375. +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
  26376. +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
  26377. +PTHREAD_FLAGS = @PTHREAD_FLAGS@
  26378. +PTHREAD_LIBS = @PTHREAD_LIBS@
  26379. +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
  26380. +RANLIB = @RANLIB@
  26381. +REPLACE_MEMCHR = @REPLACE_MEMCHR@
  26382. +REPLACE_MEMMEM = @REPLACE_MEMMEM@
  26383. +REPLACE_NULL = @REPLACE_NULL@
  26384. +REPLACE_STPNCPY = @REPLACE_STPNCPY@
  26385. +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
  26386. +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
  26387. +REPLACE_STRDUP = @REPLACE_STRDUP@
  26388. +REPLACE_STRERROR = @REPLACE_STRERROR@
  26389. +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
  26390. +REPLACE_STRNCAT = @REPLACE_STRNCAT@
  26391. +REPLACE_STRNDUP = @REPLACE_STRNDUP@
  26392. +REPLACE_STRNLEN = @REPLACE_STRNLEN@
  26393. +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
  26394. +REPLACE_STRSTR = @REPLACE_STRSTR@
  26395. +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
  26396. +SET_MAKE = @SET_MAKE@
  26397. +SHELL = @SHELL@
  26398. +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
  26399. +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
  26400. +STDDEF_H = @STDDEF_H@
  26401. +STDINT_H = @STDINT_H@
  26402. +STRIP = @STRIP@
  26403. +UDEV_LIBS = @UDEV_LIBS@
  26404. +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
  26405. +USB_FLAGS = @USB_FLAGS@
  26406. +USB_LIBS = @USB_LIBS@
  26407. +VERSION = @VERSION@
  26408. +VMAJ = @VMAJ@
  26409. +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
  26410. +WINT_T_SUFFIX = @WINT_T_SUFFIX@
  26411. +WS2_LIBS = @WS2_LIBS@
  26412. +YASM = @YASM@
  26413. +abs_builddir = @abs_builddir@
  26414. +abs_srcdir = @abs_srcdir@
  26415. +abs_top_builddir = @abs_top_builddir@
  26416. +abs_top_srcdir = @abs_top_srcdir@
  26417. +ac_ct_CC = @ac_ct_CC@
  26418. +am__include = @am__include@
  26419. +am__leading_dot = @am__leading_dot@
  26420. +am__quote = @am__quote@
  26421. +am__tar = @am__tar@
  26422. +am__untar = @am__untar@
  26423. +bindir = @bindir@
  26424. +build = @build@
  26425. +build_alias = @build_alias@
  26426. +build_cpu = @build_cpu@
  26427. +build_os = @build_os@
  26428. +build_vendor = @build_vendor@
  26429. +builddir = @builddir@
  26430. +datadir = @datadir@
  26431. +datarootdir = @datarootdir@
  26432. +docdir = @docdir@
  26433. +dvidir = @dvidir@
  26434. +exec_prefix = @exec_prefix@
  26435. +gl_LIBOBJS = @gl_LIBOBJS@
  26436. +gl_LTLIBOBJS = @gl_LTLIBOBJS@
  26437. +gltests_LIBOBJS = @gltests_LIBOBJS@
  26438. +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
  26439. +gltests_WITNESS = @gltests_WITNESS@
  26440. +host = @host@
  26441. +host_alias = @host_alias@
  26442. +host_cpu = @host_cpu@
  26443. +host_os = @host_os@
  26444. +host_vendor = @host_vendor@
  26445. +htmldir = @htmldir@
  26446. +includedir = @includedir@
  26447. +infodir = @infodir@
  26448. +install_sh = @install_sh@
  26449. +libdir = @libdir@
  26450. +libexecdir = @libexecdir@
  26451. +localedir = @localedir@
  26452. +localstatedir = @localstatedir@
  26453. +mandir = @mandir@
  26454. +mkdir_p = @mkdir_p@
  26455. +oldincludedir = @oldincludedir@
  26456. +pdfdir = @pdfdir@
  26457. +prefix = @prefix@
  26458. +program_transform_name = @program_transform_name@
  26459. +psdir = @psdir@
  26460. +release_info = @release_info@
  26461. +sbindir = @sbindir@
  26462. +sharedstatedir = @sharedstatedir@
  26463. +srcdir = @srcdir@
  26464. +sysconfdir = @sysconfdir@
  26465. +target = @target@
  26466. +target_alias = @target_alias@
  26467. +target_cpu = @target_cpu@
  26468. +target_os = @target_os@
  26469. +target_vendor = @target_vendor@
  26470. +top_build_prefix = @top_build_prefix@
  26471. +top_builddir = @top_builddir@
  26472. +top_srcdir = @top_srcdir@
  26473. +version_info = @version_info@
  26474. +@WANT_JANSSON_FALSE@SUBDIRS =
  26475. +@WANT_JANSSON_TRUE@SUBDIRS = jansson
  26476. +all: all-recursive
  26477. +
  26478. +.SUFFIXES:
  26479. +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  26480. + @for dep in $?; do \
  26481. + case '$(am__configure_deps)' in \
  26482. + *$$dep*) \
  26483. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  26484. + && { if test -f $@; then exit 0; else break; fi; }; \
  26485. + exit 1;; \
  26486. + esac; \
  26487. + done; \
  26488. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign compat/Makefile'; \
  26489. + $(am__cd) $(top_srcdir) && \
  26490. + $(AUTOMAKE) --foreign compat/Makefile
  26491. +.PRECIOUS: Makefile
  26492. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  26493. + @case '$?' in \
  26494. + *config.status*) \
  26495. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  26496. + *) \
  26497. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  26498. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  26499. + esac;
  26500. +
  26501. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  26502. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  26503. +
  26504. +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  26505. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  26506. +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  26507. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  26508. +$(am__aclocal_m4_deps):
  26509. +
  26510. +# This directory's subdirectories are mostly independent; you can cd
  26511. +# into them and run `make' without going through this Makefile.
  26512. +# To change the values of `make' variables: instead of editing Makefiles,
  26513. +# (1) if the variable is set in `config.status', edit `config.status'
  26514. +# (which will cause the Makefiles to be regenerated when you run `make');
  26515. +# (2) otherwise, pass the desired values on the `make' command line.
  26516. +$(RECURSIVE_TARGETS):
  26517. + @fail= failcom='exit 1'; \
  26518. + for f in x $$MAKEFLAGS; do \
  26519. + case $$f in \
  26520. + *=* | --[!k]*);; \
  26521. + *k*) failcom='fail=yes';; \
  26522. + esac; \
  26523. + done; \
  26524. + dot_seen=no; \
  26525. + target=`echo $@ | sed s/-recursive//`; \
  26526. + list='$(SUBDIRS)'; for subdir in $$list; do \
  26527. + echo "Making $$target in $$subdir"; \
  26528. + if test "$$subdir" = "."; then \
  26529. + dot_seen=yes; \
  26530. + local_target="$$target-am"; \
  26531. + else \
  26532. + local_target="$$target"; \
  26533. + fi; \
  26534. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  26535. + || eval $$failcom; \
  26536. + done; \
  26537. + if test "$$dot_seen" = "no"; then \
  26538. + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  26539. + fi; test -z "$$fail"
  26540. +
  26541. +$(RECURSIVE_CLEAN_TARGETS):
  26542. + @fail= failcom='exit 1'; \
  26543. + for f in x $$MAKEFLAGS; do \
  26544. + case $$f in \
  26545. + *=* | --[!k]*);; \
  26546. + *k*) failcom='fail=yes';; \
  26547. + esac; \
  26548. + done; \
  26549. + dot_seen=no; \
  26550. + case "$@" in \
  26551. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  26552. + *) list='$(SUBDIRS)' ;; \
  26553. + esac; \
  26554. + rev=''; for subdir in $$list; do \
  26555. + if test "$$subdir" = "."; then :; else \
  26556. + rev="$$subdir $$rev"; \
  26557. + fi; \
  26558. + done; \
  26559. + rev="$$rev ."; \
  26560. + target=`echo $@ | sed s/-recursive//`; \
  26561. + for subdir in $$rev; do \
  26562. + echo "Making $$target in $$subdir"; \
  26563. + if test "$$subdir" = "."; then \
  26564. + local_target="$$target-am"; \
  26565. + else \
  26566. + local_target="$$target"; \
  26567. + fi; \
  26568. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  26569. + || eval $$failcom; \
  26570. + done && test -z "$$fail"
  26571. +tags-recursive:
  26572. + list='$(SUBDIRS)'; for subdir in $$list; do \
  26573. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  26574. + done
  26575. +ctags-recursive:
  26576. + list='$(SUBDIRS)'; for subdir in $$list; do \
  26577. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  26578. + done
  26579. +
  26580. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  26581. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  26582. + unique=`for i in $$list; do \
  26583. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  26584. + done | \
  26585. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  26586. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  26587. + mkid -fID $$unique
  26588. +tags: TAGS
  26589. +
  26590. +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  26591. + $(TAGS_FILES) $(LISP)
  26592. + set x; \
  26593. + here=`pwd`; \
  26594. + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  26595. + include_option=--etags-include; \
  26596. + empty_fix=.; \
  26597. + else \
  26598. + include_option=--include; \
  26599. + empty_fix=; \
  26600. + fi; \
  26601. + list='$(SUBDIRS)'; for subdir in $$list; do \
  26602. + if test "$$subdir" = .; then :; else \
  26603. + test ! -f $$subdir/TAGS || \
  26604. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  26605. + fi; \
  26606. + done; \
  26607. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  26608. + unique=`for i in $$list; do \
  26609. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  26610. + done | \
  26611. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  26612. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  26613. + shift; \
  26614. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  26615. + test -n "$$unique" || unique=$$empty_fix; \
  26616. + if test $$# -gt 0; then \
  26617. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  26618. + "$$@" $$unique; \
  26619. + else \
  26620. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  26621. + $$unique; \
  26622. + fi; \
  26623. + fi
  26624. +ctags: CTAGS
  26625. +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  26626. + $(TAGS_FILES) $(LISP)
  26627. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  26628. + unique=`for i in $$list; do \
  26629. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  26630. + done | \
  26631. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  26632. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  26633. + test -z "$(CTAGS_ARGS)$$unique" \
  26634. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  26635. + $$unique
  26636. +
  26637. +GTAGS:
  26638. + here=`$(am__cd) $(top_builddir) && pwd` \
  26639. + && $(am__cd) $(top_srcdir) \
  26640. + && gtags -i $(GTAGS_ARGS) "$$here"
  26641. +
  26642. +distclean-tags:
  26643. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  26644. +
  26645. +distdir: $(DISTFILES)
  26646. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  26647. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  26648. + list='$(DISTFILES)'; \
  26649. + dist_files=`for file in $$list; do echo $$file; done | \
  26650. + sed -e "s|^$$srcdirstrip/||;t" \
  26651. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  26652. + case $$dist_files in \
  26653. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  26654. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  26655. + sort -u` ;; \
  26656. + esac; \
  26657. + for file in $$dist_files; do \
  26658. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  26659. + if test -d $$d/$$file; then \
  26660. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  26661. + if test -d "$(distdir)/$$file"; then \
  26662. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  26663. + fi; \
  26664. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  26665. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  26666. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  26667. + fi; \
  26668. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  26669. + else \
  26670. + test -f "$(distdir)/$$file" \
  26671. + || cp -p $$d/$$file "$(distdir)/$$file" \
  26672. + || exit 1; \
  26673. + fi; \
  26674. + done
  26675. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  26676. + if test "$$subdir" = .; then :; else \
  26677. + test -d "$(distdir)/$$subdir" \
  26678. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  26679. + || exit 1; \
  26680. + fi; \
  26681. + done
  26682. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  26683. + if test "$$subdir" = .; then :; else \
  26684. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  26685. + $(am__relativize); \
  26686. + new_distdir=$$reldir; \
  26687. + dir1=$$subdir; dir2="$(top_distdir)"; \
  26688. + $(am__relativize); \
  26689. + new_top_distdir=$$reldir; \
  26690. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  26691. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  26692. + ($(am__cd) $$subdir && \
  26693. + $(MAKE) $(AM_MAKEFLAGS) \
  26694. + top_distdir="$$new_top_distdir" \
  26695. + distdir="$$new_distdir" \
  26696. + am__remove_distdir=: \
  26697. + am__skip_length_check=: \
  26698. + am__skip_mode_fix=: \
  26699. + distdir) \
  26700. + || exit 1; \
  26701. + fi; \
  26702. + done
  26703. +check-am: all-am
  26704. +check: check-recursive
  26705. +all-am: Makefile
  26706. +installdirs: installdirs-recursive
  26707. +installdirs-am:
  26708. +install: install-recursive
  26709. +install-exec: install-exec-recursive
  26710. +install-data: install-data-recursive
  26711. +uninstall: uninstall-recursive
  26712. +
  26713. +install-am: all-am
  26714. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  26715. +
  26716. +installcheck: installcheck-recursive
  26717. +install-strip:
  26718. + if test -z '$(STRIP)'; then \
  26719. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  26720. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  26721. + install; \
  26722. + else \
  26723. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  26724. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  26725. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  26726. + fi
  26727. +mostlyclean-generic:
  26728. +
  26729. +clean-generic:
  26730. +
  26731. +distclean-generic:
  26732. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  26733. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  26734. +
  26735. +maintainer-clean-generic:
  26736. + @echo "This command is intended for maintainers to use"
  26737. + @echo "it deletes files that may require special tools to rebuild."
  26738. +clean: clean-recursive
  26739. +
  26740. +clean-am: clean-generic mostlyclean-am
  26741. +
  26742. +distclean: distclean-recursive
  26743. + -rm -f Makefile
  26744. +distclean-am: clean-am distclean-generic distclean-tags
  26745. +
  26746. +dvi: dvi-recursive
  26747. +
  26748. +dvi-am:
  26749. +
  26750. +html: html-recursive
  26751. +
  26752. +html-am:
  26753. +
  26754. +info: info-recursive
  26755. +
  26756. +info-am:
  26757. +
  26758. +install-data-am:
  26759. +
  26760. +install-dvi: install-dvi-recursive
  26761. +
  26762. +install-dvi-am:
  26763. +
  26764. +install-exec-am:
  26765. +
  26766. +install-html: install-html-recursive
  26767. +
  26768. +install-html-am:
  26769. +
  26770. +install-info: install-info-recursive
  26771. +
  26772. +install-info-am:
  26773. +
  26774. +install-man:
  26775. +
  26776. +install-pdf: install-pdf-recursive
  26777. +
  26778. +install-pdf-am:
  26779. +
  26780. +install-ps: install-ps-recursive
  26781. +
  26782. +install-ps-am:
  26783. +
  26784. +installcheck-am:
  26785. +
  26786. +maintainer-clean: maintainer-clean-recursive
  26787. + -rm -f Makefile
  26788. +maintainer-clean-am: distclean-am maintainer-clean-generic
  26789. +
  26790. +mostlyclean: mostlyclean-recursive
  26791. +
  26792. +mostlyclean-am: mostlyclean-generic
  26793. +
  26794. +pdf: pdf-recursive
  26795. +
  26796. +pdf-am:
  26797. +
  26798. +ps: ps-recursive
  26799. +
  26800. +ps-am:
  26801. +
  26802. +uninstall-am:
  26803. +
  26804. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  26805. + install-am install-strip tags-recursive
  26806. +
  26807. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  26808. + all all-am check check-am clean clean-generic ctags \
  26809. + ctags-recursive distclean distclean-generic distclean-tags \
  26810. + distdir dvi dvi-am html html-am info info-am install \
  26811. + install-am install-data install-data-am install-dvi \
  26812. + install-dvi-am install-exec install-exec-am install-html \
  26813. + install-html-am install-info install-info-am install-man \
  26814. + install-pdf install-pdf-am install-ps install-ps-am \
  26815. + install-strip installcheck installcheck-am installdirs \
  26816. + installdirs-am maintainer-clean maintainer-clean-generic \
  26817. + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
  26818. + tags-recursive uninstall uninstall-am
  26819. +
  26820. +
  26821. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  26822. +# Otherwise a system limit (for SysV at least) may be exceeded.
  26823. +.NOEXPORT:
  26824. --- /dev/null
  26825. +++ cgminer-2.4.1/compat/jansson/Makefile.in
  26826. @@ -0,0 +1,638 @@
  26827. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  26828. +# @configure_input@
  26829. +
  26830. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  26831. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  26832. +# Foundation, Inc.
  26833. +# This Makefile.in is free software; the Free Software Foundation
  26834. +# gives unlimited permission to copy and/or distribute it,
  26835. +# with or without modifications, as long as this notice is preserved.
  26836. +
  26837. +# This program is distributed in the hope that it will be useful,
  26838. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  26839. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  26840. +# PARTICULAR PURPOSE.
  26841. +
  26842. +@SET_MAKE@
  26843. +
  26844. +VPATH = @srcdir@
  26845. +pkgdatadir = $(datadir)/@PACKAGE@
  26846. +pkgincludedir = $(includedir)/@PACKAGE@
  26847. +pkglibdir = $(libdir)/@PACKAGE@
  26848. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  26849. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  26850. +install_sh_DATA = $(install_sh) -c -m 644
  26851. +install_sh_PROGRAM = $(install_sh) -c
  26852. +install_sh_SCRIPT = $(install_sh) -c
  26853. +INSTALL_HEADER = $(INSTALL_DATA)
  26854. +transform = $(program_transform_name)
  26855. +NORMAL_INSTALL = :
  26856. +PRE_INSTALL = :
  26857. +POST_INSTALL = :
  26858. +NORMAL_UNINSTALL = :
  26859. +PRE_UNINSTALL = :
  26860. +POST_UNINSTALL = :
  26861. +build_triplet = @build@
  26862. +host_triplet = @host@
  26863. +target_triplet = @target@
  26864. +subdir = compat/jansson
  26865. +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  26866. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  26867. +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  26868. + $(top_srcdir)/m4/extensions.m4 \
  26869. + $(top_srcdir)/m4/gnulib-common.m4 \
  26870. + $(top_srcdir)/m4/gnulib-comp.m4 \
  26871. + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
  26872. + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
  26873. + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
  26874. + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
  26875. + $(top_srcdir)/m4/signal_h.m4 \
  26876. + $(top_srcdir)/m4/signalblocking.m4 \
  26877. + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
  26878. + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
  26879. + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
  26880. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  26881. + $(ACLOCAL_M4)
  26882. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  26883. +CONFIG_HEADER = $(top_builddir)/config.h
  26884. +CONFIG_CLEAN_FILES =
  26885. +CONFIG_CLEAN_VPATH_FILES =
  26886. +LIBRARIES = $(noinst_LIBRARIES)
  26887. +AR = ar
  26888. +ARFLAGS = cru
  26889. +AM_V_AR = $(am__v_AR_@AM_V@)
  26890. +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
  26891. +am__v_AR_0 = @echo " AR " $@;
  26892. +AM_V_at = $(am__v_at_@AM_V@)
  26893. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  26894. +am__v_at_0 = @
  26895. +libjansson_a_AR = $(AR) $(ARFLAGS)
  26896. +libjansson_a_LIBADD =
  26897. +am_libjansson_a_OBJECTS = dump.$(OBJEXT) hashtable.$(OBJEXT) \
  26898. + load.$(OBJEXT) strbuffer.$(OBJEXT) utf.$(OBJEXT) \
  26899. + value.$(OBJEXT) memory.$(OBJEXT) error.$(OBJEXT)
  26900. +libjansson_a_OBJECTS = $(am_libjansson_a_OBJECTS)
  26901. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  26902. +depcomp = $(SHELL) $(top_srcdir)/depcomp
  26903. +am__depfiles_maybe = depfiles
  26904. +am__mv = mv -f
  26905. +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  26906. + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  26907. +AM_V_CC = $(am__v_CC_@AM_V@)
  26908. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  26909. +am__v_CC_0 = @echo " CC " $@;
  26910. +CCLD = $(CC)
  26911. +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  26912. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  26913. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  26914. +am__v_CCLD_0 = @echo " CCLD " $@;
  26915. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  26916. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  26917. +am__v_GEN_0 = @echo " GEN " $@;
  26918. +SOURCES = $(libjansson_a_SOURCES)
  26919. +DIST_SOURCES = $(libjansson_a_SOURCES)
  26920. +ETAGS = etags
  26921. +CTAGS = ctags
  26922. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  26923. +ACLOCAL = @ACLOCAL@
  26924. +ALLOCA = @ALLOCA@
  26925. +AMTAR = @AMTAR@
  26926. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  26927. +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
  26928. +AUTOCONF = @AUTOCONF@
  26929. +AUTOHEADER = @AUTOHEADER@
  26930. +AUTOMAKE = @AUTOMAKE@
  26931. +AWK = @AWK@
  26932. +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
  26933. +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
  26934. +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
  26935. +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
  26936. +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
  26937. +CC = @CC@
  26938. +CCDEPMODE = @CCDEPMODE@
  26939. +CFLAGS = @CFLAGS@
  26940. +CPP = @CPP@
  26941. +CPPFLAGS = @CPPFLAGS@
  26942. +CYGPATH_W = @CYGPATH_W@
  26943. +DEFS = @DEFS@
  26944. +DEPDIR = @DEPDIR@
  26945. +DLOPEN_FLAGS = @DLOPEN_FLAGS@
  26946. +ECHO_C = @ECHO_C@
  26947. +ECHO_N = @ECHO_N@
  26948. +ECHO_T = @ECHO_T@
  26949. +EGREP = @EGREP@
  26950. +EXEEXT = @EXEEXT@
  26951. +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
  26952. +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
  26953. +GNULIB_MBSCHR = @GNULIB_MBSCHR@
  26954. +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
  26955. +GNULIB_MBSLEN = @GNULIB_MBSLEN@
  26956. +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
  26957. +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
  26958. +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
  26959. +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
  26960. +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
  26961. +GNULIB_MBSSEP = @GNULIB_MBSSEP@
  26962. +GNULIB_MBSSPN = @GNULIB_MBSSPN@
  26963. +GNULIB_MBSSTR = @GNULIB_MBSSTR@
  26964. +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
  26965. +GNULIB_MEMCHR = @GNULIB_MEMCHR@
  26966. +GNULIB_MEMMEM = @GNULIB_MEMMEM@
  26967. +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
  26968. +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
  26969. +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
  26970. +GNULIB_SIGACTION = @GNULIB_SIGACTION@
  26971. +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
  26972. +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
  26973. +GNULIB_STPCPY = @GNULIB_STPCPY@
  26974. +GNULIB_STPNCPY = @GNULIB_STPNCPY@
  26975. +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
  26976. +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
  26977. +GNULIB_STRDUP = @GNULIB_STRDUP@
  26978. +GNULIB_STRERROR = @GNULIB_STRERROR@
  26979. +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
  26980. +GNULIB_STRNCAT = @GNULIB_STRNCAT@
  26981. +GNULIB_STRNDUP = @GNULIB_STRNDUP@
  26982. +GNULIB_STRNLEN = @GNULIB_STRNLEN@
  26983. +GNULIB_STRPBRK = @GNULIB_STRPBRK@
  26984. +GNULIB_STRSEP = @GNULIB_STRSEP@
  26985. +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
  26986. +GNULIB_STRSTR = @GNULIB_STRSTR@
  26987. +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
  26988. +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
  26989. +GREP = @GREP@
  26990. +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
  26991. +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
  26992. +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
  26993. +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
  26994. +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
  26995. +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
  26996. +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
  26997. +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
  26998. +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
  26999. +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
  27000. +HAVE_MBSLEN = @HAVE_MBSLEN@
  27001. +HAVE_MEMCHR = @HAVE_MEMCHR@
  27002. +HAVE_MEMPCPY = @HAVE_MEMPCPY@
  27003. +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
  27004. +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
  27005. +HAVE_SIGACTION = @HAVE_SIGACTION@
  27006. +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
  27007. +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
  27008. +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
  27009. +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
  27010. +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
  27011. +HAVE_SIGSET_T = @HAVE_SIGSET_T@
  27012. +HAVE_STDINT_H = @HAVE_STDINT_H@
  27013. +HAVE_STPCPY = @HAVE_STPCPY@
  27014. +HAVE_STPNCPY = @HAVE_STPNCPY@
  27015. +HAVE_STRCASESTR = @HAVE_STRCASESTR@
  27016. +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
  27017. +HAVE_STRPBRK = @HAVE_STRPBRK@
  27018. +HAVE_STRSEP = @HAVE_STRSEP@
  27019. +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
  27020. +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
  27021. +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
  27022. +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
  27023. +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
  27024. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
  27025. +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
  27026. +HAVE_WCHAR_H = @HAVE_WCHAR_H@
  27027. +HAVE_WCHAR_T = @HAVE_WCHAR_T@
  27028. +INCLUDE_NEXT = @INCLUDE_NEXT@
  27029. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  27030. +INSTALL = @INSTALL@
  27031. +INSTALL_DATA = @INSTALL_DATA@
  27032. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  27033. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  27034. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  27035. +JANSSON_LIBS = @JANSSON_LIBS@
  27036. +LDFLAGS = @LDFLAGS@
  27037. +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
  27038. +LIBCURL_LIBS = @LIBCURL_LIBS@
  27039. +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
  27040. +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
  27041. +LIBOBJS = @LIBOBJS@
  27042. +LIBS = @LIBS@
  27043. +LTLIBOBJS = @LTLIBOBJS@
  27044. +MAINT = @MAINT@
  27045. +MAKEINFO = @MAKEINFO@
  27046. +MATH_LIBS = @MATH_LIBS@
  27047. +MKDIR_P = @MKDIR_P@
  27048. +NCURSES_LIBS = @NCURSES_LIBS@
  27049. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
  27050. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
  27051. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
  27052. +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
  27053. +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
  27054. +NEXT_STDDEF_H = @NEXT_STDDEF_H@
  27055. +NEXT_STDINT_H = @NEXT_STDINT_H@
  27056. +NEXT_STRING_H = @NEXT_STRING_H@
  27057. +OBJEXT = @OBJEXT@
  27058. +OPENCL_FLAGS = @OPENCL_FLAGS@
  27059. +OPENCL_LIBS = @OPENCL_LIBS@
  27060. +PACKAGE = @PACKAGE@
  27061. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  27062. +PACKAGE_NAME = @PACKAGE_NAME@
  27063. +PACKAGE_STRING = @PACKAGE_STRING@
  27064. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  27065. +PACKAGE_URL = @PACKAGE_URL@
  27066. +PACKAGE_VERSION = @PACKAGE_VERSION@
  27067. +PATH_SEPARATOR = @PATH_SEPARATOR@
  27068. +PDCURSES_LIBS = @PDCURSES_LIBS@
  27069. +PKG_CONFIG = @PKG_CONFIG@
  27070. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  27071. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  27072. +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
  27073. +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
  27074. +PTHREAD_FLAGS = @PTHREAD_FLAGS@
  27075. +PTHREAD_LIBS = @PTHREAD_LIBS@
  27076. +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
  27077. +RANLIB = @RANLIB@
  27078. +REPLACE_MEMCHR = @REPLACE_MEMCHR@
  27079. +REPLACE_MEMMEM = @REPLACE_MEMMEM@
  27080. +REPLACE_NULL = @REPLACE_NULL@
  27081. +REPLACE_STPNCPY = @REPLACE_STPNCPY@
  27082. +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
  27083. +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
  27084. +REPLACE_STRDUP = @REPLACE_STRDUP@
  27085. +REPLACE_STRERROR = @REPLACE_STRERROR@
  27086. +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
  27087. +REPLACE_STRNCAT = @REPLACE_STRNCAT@
  27088. +REPLACE_STRNDUP = @REPLACE_STRNDUP@
  27089. +REPLACE_STRNLEN = @REPLACE_STRNLEN@
  27090. +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
  27091. +REPLACE_STRSTR = @REPLACE_STRSTR@
  27092. +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
  27093. +SET_MAKE = @SET_MAKE@
  27094. +SHELL = @SHELL@
  27095. +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
  27096. +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
  27097. +STDDEF_H = @STDDEF_H@
  27098. +STDINT_H = @STDINT_H@
  27099. +STRIP = @STRIP@
  27100. +UDEV_LIBS = @UDEV_LIBS@
  27101. +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
  27102. +USB_FLAGS = @USB_FLAGS@
  27103. +USB_LIBS = @USB_LIBS@
  27104. +VERSION = @VERSION@
  27105. +VMAJ = @VMAJ@
  27106. +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
  27107. +WINT_T_SUFFIX = @WINT_T_SUFFIX@
  27108. +WS2_LIBS = @WS2_LIBS@
  27109. +YASM = @YASM@
  27110. +abs_builddir = @abs_builddir@
  27111. +abs_srcdir = @abs_srcdir@
  27112. +abs_top_builddir = @abs_top_builddir@
  27113. +abs_top_srcdir = @abs_top_srcdir@
  27114. +ac_ct_CC = @ac_ct_CC@
  27115. +am__include = @am__include@
  27116. +am__leading_dot = @am__leading_dot@
  27117. +am__quote = @am__quote@
  27118. +am__tar = @am__tar@
  27119. +am__untar = @am__untar@
  27120. +bindir = @bindir@
  27121. +build = @build@
  27122. +build_alias = @build_alias@
  27123. +build_cpu = @build_cpu@
  27124. +build_os = @build_os@
  27125. +build_vendor = @build_vendor@
  27126. +builddir = @builddir@
  27127. +datadir = @datadir@
  27128. +datarootdir = @datarootdir@
  27129. +docdir = @docdir@
  27130. +dvidir = @dvidir@
  27131. +exec_prefix = @exec_prefix@
  27132. +gl_LIBOBJS = @gl_LIBOBJS@
  27133. +gl_LTLIBOBJS = @gl_LTLIBOBJS@
  27134. +gltests_LIBOBJS = @gltests_LIBOBJS@
  27135. +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
  27136. +gltests_WITNESS = @gltests_WITNESS@
  27137. +host = @host@
  27138. +host_alias = @host_alias@
  27139. +host_cpu = @host_cpu@
  27140. +host_os = @host_os@
  27141. +host_vendor = @host_vendor@
  27142. +htmldir = @htmldir@
  27143. +includedir = @includedir@
  27144. +infodir = @infodir@
  27145. +install_sh = @install_sh@
  27146. +libdir = @libdir@
  27147. +libexecdir = @libexecdir@
  27148. +localedir = @localedir@
  27149. +localstatedir = @localstatedir@
  27150. +mandir = @mandir@
  27151. +mkdir_p = @mkdir_p@
  27152. +oldincludedir = @oldincludedir@
  27153. +pdfdir = @pdfdir@
  27154. +prefix = @prefix@
  27155. +program_transform_name = @program_transform_name@
  27156. +psdir = @psdir@
  27157. +release_info = @release_info@
  27158. +sbindir = @sbindir@
  27159. +sharedstatedir = @sharedstatedir@
  27160. +srcdir = @srcdir@
  27161. +sysconfdir = @sysconfdir@
  27162. +target = @target@
  27163. +target_alias = @target_alias@
  27164. +target_cpu = @target_cpu@
  27165. +target_os = @target_os@
  27166. +target_vendor = @target_vendor@
  27167. +top_build_prefix = @top_build_prefix@
  27168. +top_builddir = @top_builddir@
  27169. +top_srcdir = @top_srcdir@
  27170. +version_info = @version_info@
  27171. +noinst_LIBRARIES = libjansson.a
  27172. +libjansson_a_SOURCES = \
  27173. + config.h \
  27174. + jansson_config.h \
  27175. + dump.c \
  27176. + hashtable.c \
  27177. + hashtable.h \
  27178. + jansson.h \
  27179. + jansson_private.h \
  27180. + load.c \
  27181. + strbuffer.c \
  27182. + strbuffer.h \
  27183. + utf.c \
  27184. + utf.h \
  27185. + util.h \
  27186. + value.c \
  27187. + memory.c \
  27188. + error.c
  27189. +
  27190. +all: all-am
  27191. +
  27192. +.SUFFIXES:
  27193. +.SUFFIXES: .c .o .obj
  27194. +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  27195. + @for dep in $?; do \
  27196. + case '$(am__configure_deps)' in \
  27197. + *$$dep*) \
  27198. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  27199. + && { if test -f $@; then exit 0; else break; fi; }; \
  27200. + exit 1;; \
  27201. + esac; \
  27202. + done; \
  27203. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign compat/jansson/Makefile'; \
  27204. + $(am__cd) $(top_srcdir) && \
  27205. + $(AUTOMAKE) --foreign compat/jansson/Makefile
  27206. +.PRECIOUS: Makefile
  27207. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  27208. + @case '$?' in \
  27209. + *config.status*) \
  27210. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  27211. + *) \
  27212. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  27213. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  27214. + esac;
  27215. +
  27216. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  27217. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  27218. +
  27219. +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  27220. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  27221. +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  27222. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  27223. +$(am__aclocal_m4_deps):
  27224. +
  27225. +clean-noinstLIBRARIES:
  27226. + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  27227. +libjansson.a: $(libjansson_a_OBJECTS) $(libjansson_a_DEPENDENCIES) $(EXTRA_libjansson_a_DEPENDENCIES)
  27228. + $(AM_V_at)-rm -f libjansson.a
  27229. + $(AM_V_AR)$(libjansson_a_AR) libjansson.a $(libjansson_a_OBJECTS) $(libjansson_a_LIBADD)
  27230. + $(AM_V_at)$(RANLIB) libjansson.a
  27231. +
  27232. +mostlyclean-compile:
  27233. + -rm -f *.$(OBJEXT)
  27234. +
  27235. +distclean-compile:
  27236. + -rm -f *.tab.c
  27237. +
  27238. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump.Po@am__quote@
  27239. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Po@am__quote@
  27240. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtable.Po@am__quote@
  27241. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/load.Po@am__quote@
  27242. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memory.Po@am__quote@
  27243. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strbuffer.Po@am__quote@
  27244. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf.Po@am__quote@
  27245. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Po@am__quote@
  27246. +
  27247. +.c.o:
  27248. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  27249. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  27250. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  27251. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  27252. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
  27253. +
  27254. +.c.obj:
  27255. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  27256. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  27257. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  27258. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  27259. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
  27260. +
  27261. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  27262. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  27263. + unique=`for i in $$list; do \
  27264. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  27265. + done | \
  27266. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  27267. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  27268. + mkid -fID $$unique
  27269. +tags: TAGS
  27270. +
  27271. +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  27272. + $(TAGS_FILES) $(LISP)
  27273. + set x; \
  27274. + here=`pwd`; \
  27275. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  27276. + unique=`for i in $$list; do \
  27277. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  27278. + done | \
  27279. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  27280. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  27281. + shift; \
  27282. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  27283. + test -n "$$unique" || unique=$$empty_fix; \
  27284. + if test $$# -gt 0; then \
  27285. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  27286. + "$$@" $$unique; \
  27287. + else \
  27288. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  27289. + $$unique; \
  27290. + fi; \
  27291. + fi
  27292. +ctags: CTAGS
  27293. +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  27294. + $(TAGS_FILES) $(LISP)
  27295. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  27296. + unique=`for i in $$list; do \
  27297. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  27298. + done | \
  27299. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  27300. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  27301. + test -z "$(CTAGS_ARGS)$$unique" \
  27302. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  27303. + $$unique
  27304. +
  27305. +GTAGS:
  27306. + here=`$(am__cd) $(top_builddir) && pwd` \
  27307. + && $(am__cd) $(top_srcdir) \
  27308. + && gtags -i $(GTAGS_ARGS) "$$here"
  27309. +
  27310. +distclean-tags:
  27311. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  27312. +
  27313. +distdir: $(DISTFILES)
  27314. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  27315. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  27316. + list='$(DISTFILES)'; \
  27317. + dist_files=`for file in $$list; do echo $$file; done | \
  27318. + sed -e "s|^$$srcdirstrip/||;t" \
  27319. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  27320. + case $$dist_files in \
  27321. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  27322. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  27323. + sort -u` ;; \
  27324. + esac; \
  27325. + for file in $$dist_files; do \
  27326. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  27327. + if test -d $$d/$$file; then \
  27328. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  27329. + if test -d "$(distdir)/$$file"; then \
  27330. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  27331. + fi; \
  27332. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  27333. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  27334. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  27335. + fi; \
  27336. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  27337. + else \
  27338. + test -f "$(distdir)/$$file" \
  27339. + || cp -p $$d/$$file "$(distdir)/$$file" \
  27340. + || exit 1; \
  27341. + fi; \
  27342. + done
  27343. +check-am: all-am
  27344. +check: check-am
  27345. +all-am: Makefile $(LIBRARIES)
  27346. +installdirs:
  27347. +install: install-am
  27348. +install-exec: install-exec-am
  27349. +install-data: install-data-am
  27350. +uninstall: uninstall-am
  27351. +
  27352. +install-am: all-am
  27353. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  27354. +
  27355. +installcheck: installcheck-am
  27356. +install-strip:
  27357. + if test -z '$(STRIP)'; then \
  27358. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  27359. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  27360. + install; \
  27361. + else \
  27362. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  27363. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  27364. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  27365. + fi
  27366. +mostlyclean-generic:
  27367. +
  27368. +clean-generic:
  27369. +
  27370. +distclean-generic:
  27371. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  27372. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  27373. +
  27374. +maintainer-clean-generic:
  27375. + @echo "This command is intended for maintainers to use"
  27376. + @echo "it deletes files that may require special tools to rebuild."
  27377. +clean: clean-am
  27378. +
  27379. +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
  27380. +
  27381. +distclean: distclean-am
  27382. + -rm -rf ./$(DEPDIR)
  27383. + -rm -f Makefile
  27384. +distclean-am: clean-am distclean-compile distclean-generic \
  27385. + distclean-tags
  27386. +
  27387. +dvi: dvi-am
  27388. +
  27389. +dvi-am:
  27390. +
  27391. +html: html-am
  27392. +
  27393. +html-am:
  27394. +
  27395. +info: info-am
  27396. +
  27397. +info-am:
  27398. +
  27399. +install-data-am:
  27400. +
  27401. +install-dvi: install-dvi-am
  27402. +
  27403. +install-dvi-am:
  27404. +
  27405. +install-exec-am:
  27406. +
  27407. +install-html: install-html-am
  27408. +
  27409. +install-html-am:
  27410. +
  27411. +install-info: install-info-am
  27412. +
  27413. +install-info-am:
  27414. +
  27415. +install-man:
  27416. +
  27417. +install-pdf: install-pdf-am
  27418. +
  27419. +install-pdf-am:
  27420. +
  27421. +install-ps: install-ps-am
  27422. +
  27423. +install-ps-am:
  27424. +
  27425. +installcheck-am:
  27426. +
  27427. +maintainer-clean: maintainer-clean-am
  27428. + -rm -rf ./$(DEPDIR)
  27429. + -rm -f Makefile
  27430. +maintainer-clean-am: distclean-am maintainer-clean-generic
  27431. +
  27432. +mostlyclean: mostlyclean-am
  27433. +
  27434. +mostlyclean-am: mostlyclean-compile mostlyclean-generic
  27435. +
  27436. +pdf: pdf-am
  27437. +
  27438. +pdf-am:
  27439. +
  27440. +ps: ps-am
  27441. +
  27442. +ps-am:
  27443. +
  27444. +uninstall-am:
  27445. +
  27446. +.MAKE: install-am install-strip
  27447. +
  27448. +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  27449. + clean-noinstLIBRARIES ctags distclean distclean-compile \
  27450. + distclean-generic distclean-tags distdir dvi dvi-am html \
  27451. + html-am info info-am install install-am install-data \
  27452. + install-data-am install-dvi install-dvi-am install-exec \
  27453. + install-exec-am install-html install-html-am install-info \
  27454. + install-info-am install-man install-pdf install-pdf-am \
  27455. + install-ps install-ps-am install-strip installcheck \
  27456. + installcheck-am installdirs maintainer-clean \
  27457. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  27458. + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  27459. + uninstall-am
  27460. +
  27461. +
  27462. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  27463. +# Otherwise a system limit (for SysV at least) may be exceeded.
  27464. +.NOEXPORT:
  27465. --- /dev/null
  27466. +++ cgminer-2.4.1/x86_64/Makefile.in
  27467. @@ -0,0 +1,536 @@
  27468. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  27469. +# @configure_input@
  27470. +
  27471. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  27472. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  27473. +# Foundation, Inc.
  27474. +# This Makefile.in is free software; the Free Software Foundation
  27475. +# gives unlimited permission to copy and/or distribute it,
  27476. +# with or without modifications, as long as this notice is preserved.
  27477. +
  27478. +# This program is distributed in the hope that it will be useful,
  27479. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  27480. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  27481. +# PARTICULAR PURPOSE.
  27482. +
  27483. +@SET_MAKE@
  27484. +
  27485. +VPATH = @srcdir@
  27486. +pkgdatadir = $(datadir)/@PACKAGE@
  27487. +pkgincludedir = $(includedir)/@PACKAGE@
  27488. +pkglibdir = $(libdir)/@PACKAGE@
  27489. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  27490. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  27491. +install_sh_DATA = $(install_sh) -c -m 644
  27492. +install_sh_PROGRAM = $(install_sh) -c
  27493. +install_sh_SCRIPT = $(install_sh) -c
  27494. +INSTALL_HEADER = $(INSTALL_DATA)
  27495. +transform = $(program_transform_name)
  27496. +NORMAL_INSTALL = :
  27497. +PRE_INSTALL = :
  27498. +POST_INSTALL = :
  27499. +NORMAL_UNINSTALL = :
  27500. +PRE_UNINSTALL = :
  27501. +POST_UNINSTALL = :
  27502. +build_triplet = @build@
  27503. +host_triplet = @host@
  27504. +target_triplet = @target@
  27505. +subdir = x86_64
  27506. +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  27507. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  27508. +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  27509. + $(top_srcdir)/m4/extensions.m4 \
  27510. + $(top_srcdir)/m4/gnulib-common.m4 \
  27511. + $(top_srcdir)/m4/gnulib-comp.m4 \
  27512. + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
  27513. + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
  27514. + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
  27515. + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
  27516. + $(top_srcdir)/m4/signal_h.m4 \
  27517. + $(top_srcdir)/m4/signalblocking.m4 \
  27518. + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
  27519. + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
  27520. + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
  27521. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  27522. + $(ACLOCAL_M4)
  27523. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  27524. +CONFIG_HEADER = $(top_builddir)/config.h
  27525. +CONFIG_CLEAN_FILES =
  27526. +CONFIG_CLEAN_VPATH_FILES =
  27527. +LIBRARIES = $(noinst_LIBRARIES)
  27528. +AR = ar
  27529. +ARFLAGS = cru
  27530. +AM_V_AR = $(am__v_AR_@AM_V@)
  27531. +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
  27532. +am__v_AR_0 = @echo " AR " $@;
  27533. +AM_V_at = $(am__v_at_@AM_V@)
  27534. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  27535. +am__v_at_0 = @
  27536. +libx8664_a_AR = $(AR) $(ARFLAGS)
  27537. +libx8664_a_LIBADD =
  27538. +am_libx8664_a_OBJECTS = sha256_xmm_amd64.$(OBJEXT) \
  27539. + sha256_sse4_amd64.$(OBJEXT)
  27540. +libx8664_a_OBJECTS = $(am_libx8664_a_OBJECTS)
  27541. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  27542. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  27543. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  27544. +am__v_GEN_0 = @echo " GEN " $@;
  27545. +SOURCES = $(libx8664_a_SOURCES)
  27546. +DIST_SOURCES = $(libx8664_a_SOURCES)
  27547. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  27548. +ACLOCAL = @ACLOCAL@
  27549. +ALLOCA = @ALLOCA@
  27550. +AMTAR = @AMTAR@
  27551. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  27552. +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
  27553. +AUTOCONF = @AUTOCONF@
  27554. +AUTOHEADER = @AUTOHEADER@
  27555. +AUTOMAKE = @AUTOMAKE@
  27556. +AWK = @AWK@
  27557. +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
  27558. +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
  27559. +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
  27560. +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
  27561. +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
  27562. +CC = @CC@
  27563. +CCDEPMODE = @CCDEPMODE@
  27564. +CFLAGS = @CFLAGS@
  27565. +CPP = @CPP@
  27566. +CPPFLAGS = @CPPFLAGS@
  27567. +CYGPATH_W = @CYGPATH_W@
  27568. +DEFS = @DEFS@
  27569. +DEPDIR = @DEPDIR@
  27570. +DLOPEN_FLAGS = @DLOPEN_FLAGS@
  27571. +ECHO_C = @ECHO_C@
  27572. +ECHO_N = @ECHO_N@
  27573. +ECHO_T = @ECHO_T@
  27574. +EGREP = @EGREP@
  27575. +EXEEXT = @EXEEXT@
  27576. +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
  27577. +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
  27578. +GNULIB_MBSCHR = @GNULIB_MBSCHR@
  27579. +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
  27580. +GNULIB_MBSLEN = @GNULIB_MBSLEN@
  27581. +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
  27582. +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
  27583. +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
  27584. +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
  27585. +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
  27586. +GNULIB_MBSSEP = @GNULIB_MBSSEP@
  27587. +GNULIB_MBSSPN = @GNULIB_MBSSPN@
  27588. +GNULIB_MBSSTR = @GNULIB_MBSSTR@
  27589. +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
  27590. +GNULIB_MEMCHR = @GNULIB_MEMCHR@
  27591. +GNULIB_MEMMEM = @GNULIB_MEMMEM@
  27592. +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
  27593. +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
  27594. +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
  27595. +GNULIB_SIGACTION = @GNULIB_SIGACTION@
  27596. +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
  27597. +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
  27598. +GNULIB_STPCPY = @GNULIB_STPCPY@
  27599. +GNULIB_STPNCPY = @GNULIB_STPNCPY@
  27600. +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
  27601. +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
  27602. +GNULIB_STRDUP = @GNULIB_STRDUP@
  27603. +GNULIB_STRERROR = @GNULIB_STRERROR@
  27604. +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
  27605. +GNULIB_STRNCAT = @GNULIB_STRNCAT@
  27606. +GNULIB_STRNDUP = @GNULIB_STRNDUP@
  27607. +GNULIB_STRNLEN = @GNULIB_STRNLEN@
  27608. +GNULIB_STRPBRK = @GNULIB_STRPBRK@
  27609. +GNULIB_STRSEP = @GNULIB_STRSEP@
  27610. +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
  27611. +GNULIB_STRSTR = @GNULIB_STRSTR@
  27612. +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
  27613. +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
  27614. +GREP = @GREP@
  27615. +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
  27616. +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
  27617. +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
  27618. +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
  27619. +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
  27620. +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
  27621. +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
  27622. +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
  27623. +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
  27624. +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
  27625. +HAVE_MBSLEN = @HAVE_MBSLEN@
  27626. +HAVE_MEMCHR = @HAVE_MEMCHR@
  27627. +HAVE_MEMPCPY = @HAVE_MEMPCPY@
  27628. +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
  27629. +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
  27630. +HAVE_SIGACTION = @HAVE_SIGACTION@
  27631. +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
  27632. +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
  27633. +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
  27634. +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
  27635. +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
  27636. +HAVE_SIGSET_T = @HAVE_SIGSET_T@
  27637. +HAVE_STDINT_H = @HAVE_STDINT_H@
  27638. +HAVE_STPCPY = @HAVE_STPCPY@
  27639. +HAVE_STPNCPY = @HAVE_STPNCPY@
  27640. +HAVE_STRCASESTR = @HAVE_STRCASESTR@
  27641. +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
  27642. +HAVE_STRPBRK = @HAVE_STRPBRK@
  27643. +HAVE_STRSEP = @HAVE_STRSEP@
  27644. +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
  27645. +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
  27646. +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
  27647. +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
  27648. +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
  27649. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
  27650. +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
  27651. +HAVE_WCHAR_H = @HAVE_WCHAR_H@
  27652. +HAVE_WCHAR_T = @HAVE_WCHAR_T@
  27653. +INCLUDE_NEXT = @INCLUDE_NEXT@
  27654. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  27655. +INSTALL = @INSTALL@
  27656. +INSTALL_DATA = @INSTALL_DATA@
  27657. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  27658. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  27659. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  27660. +JANSSON_LIBS = @JANSSON_LIBS@
  27661. +LDFLAGS = @LDFLAGS@
  27662. +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
  27663. +LIBCURL_LIBS = @LIBCURL_LIBS@
  27664. +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
  27665. +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
  27666. +LIBOBJS = @LIBOBJS@
  27667. +LIBS = @LIBS@
  27668. +LTLIBOBJS = @LTLIBOBJS@
  27669. +MAINT = @MAINT@
  27670. +MAKEINFO = @MAKEINFO@
  27671. +MATH_LIBS = @MATH_LIBS@
  27672. +MKDIR_P = @MKDIR_P@
  27673. +NCURSES_LIBS = @NCURSES_LIBS@
  27674. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
  27675. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
  27676. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
  27677. +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
  27678. +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
  27679. +NEXT_STDDEF_H = @NEXT_STDDEF_H@
  27680. +NEXT_STDINT_H = @NEXT_STDINT_H@
  27681. +NEXT_STRING_H = @NEXT_STRING_H@
  27682. +OBJEXT = @OBJEXT@
  27683. +OPENCL_FLAGS = @OPENCL_FLAGS@
  27684. +OPENCL_LIBS = @OPENCL_LIBS@
  27685. +PACKAGE = @PACKAGE@
  27686. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  27687. +PACKAGE_NAME = @PACKAGE_NAME@
  27688. +PACKAGE_STRING = @PACKAGE_STRING@
  27689. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  27690. +PACKAGE_URL = @PACKAGE_URL@
  27691. +PACKAGE_VERSION = @PACKAGE_VERSION@
  27692. +PATH_SEPARATOR = @PATH_SEPARATOR@
  27693. +PDCURSES_LIBS = @PDCURSES_LIBS@
  27694. +PKG_CONFIG = @PKG_CONFIG@
  27695. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  27696. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  27697. +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
  27698. +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
  27699. +PTHREAD_FLAGS = @PTHREAD_FLAGS@
  27700. +PTHREAD_LIBS = @PTHREAD_LIBS@
  27701. +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
  27702. +RANLIB = @RANLIB@
  27703. +REPLACE_MEMCHR = @REPLACE_MEMCHR@
  27704. +REPLACE_MEMMEM = @REPLACE_MEMMEM@
  27705. +REPLACE_NULL = @REPLACE_NULL@
  27706. +REPLACE_STPNCPY = @REPLACE_STPNCPY@
  27707. +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
  27708. +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
  27709. +REPLACE_STRDUP = @REPLACE_STRDUP@
  27710. +REPLACE_STRERROR = @REPLACE_STRERROR@
  27711. +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
  27712. +REPLACE_STRNCAT = @REPLACE_STRNCAT@
  27713. +REPLACE_STRNDUP = @REPLACE_STRNDUP@
  27714. +REPLACE_STRNLEN = @REPLACE_STRNLEN@
  27715. +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
  27716. +REPLACE_STRSTR = @REPLACE_STRSTR@
  27717. +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
  27718. +SET_MAKE = @SET_MAKE@
  27719. +SHELL = @SHELL@
  27720. +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
  27721. +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
  27722. +STDDEF_H = @STDDEF_H@
  27723. +STDINT_H = @STDINT_H@
  27724. +STRIP = @STRIP@
  27725. +UDEV_LIBS = @UDEV_LIBS@
  27726. +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
  27727. +USB_FLAGS = @USB_FLAGS@
  27728. +USB_LIBS = @USB_LIBS@
  27729. +VERSION = @VERSION@
  27730. +VMAJ = @VMAJ@
  27731. +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
  27732. +WINT_T_SUFFIX = @WINT_T_SUFFIX@
  27733. +WS2_LIBS = @WS2_LIBS@
  27734. +YASM = @YASM@
  27735. +abs_builddir = @abs_builddir@
  27736. +abs_srcdir = @abs_srcdir@
  27737. +abs_top_builddir = @abs_top_builddir@
  27738. +abs_top_srcdir = @abs_top_srcdir@
  27739. +ac_ct_CC = @ac_ct_CC@
  27740. +am__include = @am__include@
  27741. +am__leading_dot = @am__leading_dot@
  27742. +am__quote = @am__quote@
  27743. +am__tar = @am__tar@
  27744. +am__untar = @am__untar@
  27745. +bindir = @bindir@
  27746. +build = @build@
  27747. +build_alias = @build_alias@
  27748. +build_cpu = @build_cpu@
  27749. +build_os = @build_os@
  27750. +build_vendor = @build_vendor@
  27751. +builddir = @builddir@
  27752. +datadir = @datadir@
  27753. +datarootdir = @datarootdir@
  27754. +docdir = @docdir@
  27755. +dvidir = @dvidir@
  27756. +exec_prefix = @exec_prefix@
  27757. +gl_LIBOBJS = @gl_LIBOBJS@
  27758. +gl_LTLIBOBJS = @gl_LTLIBOBJS@
  27759. +gltests_LIBOBJS = @gltests_LIBOBJS@
  27760. +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
  27761. +gltests_WITNESS = @gltests_WITNESS@
  27762. +host = @host@
  27763. +host_alias = @host_alias@
  27764. +host_cpu = @host_cpu@
  27765. +host_os = @host_os@
  27766. +host_vendor = @host_vendor@
  27767. +htmldir = @htmldir@
  27768. +includedir = @includedir@
  27769. +infodir = @infodir@
  27770. +install_sh = @install_sh@
  27771. +libdir = @libdir@
  27772. +libexecdir = @libexecdir@
  27773. +localedir = @localedir@
  27774. +localstatedir = @localstatedir@
  27775. +mandir = @mandir@
  27776. +mkdir_p = @mkdir_p@
  27777. +oldincludedir = @oldincludedir@
  27778. +pdfdir = @pdfdir@
  27779. +prefix = @prefix@
  27780. +program_transform_name = @program_transform_name@
  27781. +psdir = @psdir@
  27782. +release_info = @release_info@
  27783. +sbindir = @sbindir@
  27784. +sharedstatedir = @sharedstatedir@
  27785. +srcdir = @srcdir@
  27786. +sysconfdir = @sysconfdir@
  27787. +target = @target@
  27788. +target_alias = @target_alias@
  27789. +target_cpu = @target_cpu@
  27790. +target_os = @target_os@
  27791. +target_vendor = @target_vendor@
  27792. +top_build_prefix = @top_build_prefix@
  27793. +top_builddir = @top_builddir@
  27794. +top_srcdir = @top_srcdir@
  27795. +version_info = @version_info@
  27796. +noinst_LIBRARIES = libx8664.a
  27797. +SUFFIXES = .asm
  27798. +libx8664_a_SOURCES = sha256_xmm_amd64.asm sha256_sse4_amd64.asm
  27799. +all: all-am
  27800. +
  27801. +.SUFFIXES:
  27802. +.SUFFIXES: .asm .o
  27803. +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  27804. + @for dep in $?; do \
  27805. + case '$(am__configure_deps)' in \
  27806. + *$$dep*) \
  27807. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  27808. + && { if test -f $@; then exit 0; else break; fi; }; \
  27809. + exit 1;; \
  27810. + esac; \
  27811. + done; \
  27812. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign x86_64/Makefile'; \
  27813. + $(am__cd) $(top_srcdir) && \
  27814. + $(AUTOMAKE) --foreign x86_64/Makefile
  27815. +.PRECIOUS: Makefile
  27816. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  27817. + @case '$?' in \
  27818. + *config.status*) \
  27819. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  27820. + *) \
  27821. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  27822. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  27823. + esac;
  27824. +
  27825. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  27826. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  27827. +
  27828. +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  27829. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  27830. +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  27831. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  27832. +$(am__aclocal_m4_deps):
  27833. +
  27834. +clean-noinstLIBRARIES:
  27835. + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  27836. +libx8664.a: $(libx8664_a_OBJECTS) $(libx8664_a_DEPENDENCIES) $(EXTRA_libx8664_a_DEPENDENCIES)
  27837. + $(AM_V_at)-rm -f libx8664.a
  27838. + $(AM_V_AR)$(libx8664_a_AR) libx8664.a $(libx8664_a_OBJECTS) $(libx8664_a_LIBADD)
  27839. + $(AM_V_at)$(RANLIB) libx8664.a
  27840. +
  27841. +mostlyclean-compile:
  27842. + -rm -f *.$(OBJEXT)
  27843. +
  27844. +distclean-compile:
  27845. + -rm -f *.tab.c
  27846. +tags: TAGS
  27847. +TAGS:
  27848. +
  27849. +ctags: CTAGS
  27850. +CTAGS:
  27851. +
  27852. +
  27853. +distdir: $(DISTFILES)
  27854. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  27855. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  27856. + list='$(DISTFILES)'; \
  27857. + dist_files=`for file in $$list; do echo $$file; done | \
  27858. + sed -e "s|^$$srcdirstrip/||;t" \
  27859. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  27860. + case $$dist_files in \
  27861. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  27862. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  27863. + sort -u` ;; \
  27864. + esac; \
  27865. + for file in $$dist_files; do \
  27866. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  27867. + if test -d $$d/$$file; then \
  27868. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  27869. + if test -d "$(distdir)/$$file"; then \
  27870. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  27871. + fi; \
  27872. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  27873. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  27874. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  27875. + fi; \
  27876. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  27877. + else \
  27878. + test -f "$(distdir)/$$file" \
  27879. + || cp -p $$d/$$file "$(distdir)/$$file" \
  27880. + || exit 1; \
  27881. + fi; \
  27882. + done
  27883. +check-am: all-am
  27884. +check: check-am
  27885. +all-am: Makefile $(LIBRARIES)
  27886. +installdirs:
  27887. +install: install-am
  27888. +install-exec: install-exec-am
  27889. +install-data: install-data-am
  27890. +uninstall: uninstall-am
  27891. +
  27892. +install-am: all-am
  27893. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  27894. +
  27895. +installcheck: installcheck-am
  27896. +install-strip:
  27897. + if test -z '$(STRIP)'; then \
  27898. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  27899. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  27900. + install; \
  27901. + else \
  27902. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  27903. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  27904. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  27905. + fi
  27906. +mostlyclean-generic:
  27907. +
  27908. +clean-generic:
  27909. +
  27910. +distclean-generic:
  27911. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  27912. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  27913. +
  27914. +maintainer-clean-generic:
  27915. + @echo "This command is intended for maintainers to use"
  27916. + @echo "it deletes files that may require special tools to rebuild."
  27917. +clean: clean-am
  27918. +
  27919. +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
  27920. +
  27921. +distclean: distclean-am
  27922. + -rm -f Makefile
  27923. +distclean-am: clean-am distclean-compile distclean-generic
  27924. +
  27925. +dvi: dvi-am
  27926. +
  27927. +dvi-am:
  27928. +
  27929. +html: html-am
  27930. +
  27931. +html-am:
  27932. +
  27933. +info: info-am
  27934. +
  27935. +info-am:
  27936. +
  27937. +install-data-am:
  27938. +
  27939. +install-dvi: install-dvi-am
  27940. +
  27941. +install-dvi-am:
  27942. +
  27943. +install-exec-am:
  27944. +
  27945. +install-html: install-html-am
  27946. +
  27947. +install-html-am:
  27948. +
  27949. +install-info: install-info-am
  27950. +
  27951. +install-info-am:
  27952. +
  27953. +install-man:
  27954. +
  27955. +install-pdf: install-pdf-am
  27956. +
  27957. +install-pdf-am:
  27958. +
  27959. +install-ps: install-ps-am
  27960. +
  27961. +install-ps-am:
  27962. +
  27963. +installcheck-am:
  27964. +
  27965. +maintainer-clean: maintainer-clean-am
  27966. + -rm -f Makefile
  27967. +maintainer-clean-am: distclean-am maintainer-clean-generic
  27968. +
  27969. +mostlyclean: mostlyclean-am
  27970. +
  27971. +mostlyclean-am: mostlyclean-compile mostlyclean-generic
  27972. +
  27973. +pdf: pdf-am
  27974. +
  27975. +pdf-am:
  27976. +
  27977. +ps: ps-am
  27978. +
  27979. +ps-am:
  27980. +
  27981. +uninstall-am:
  27982. +
  27983. +.MAKE: install-am install-strip
  27984. +
  27985. +.PHONY: all all-am check check-am clean clean-generic \
  27986. + clean-noinstLIBRARIES distclean distclean-compile \
  27987. + distclean-generic distdir dvi dvi-am html html-am info info-am \
  27988. + install install-am install-data install-data-am install-dvi \
  27989. + install-dvi-am install-exec install-exec-am install-html \
  27990. + install-html-am install-info install-info-am install-man \
  27991. + install-pdf install-pdf-am install-ps install-ps-am \
  27992. + install-strip installcheck installcheck-am installdirs \
  27993. + maintainer-clean maintainer-clean-generic mostlyclean \
  27994. + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
  27995. + uninstall uninstall-am
  27996. +
  27997. +
  27998. +.asm.o:
  27999. + $(YASM) -f elf64 $<
  28000. +
  28001. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  28002. +# Otherwise a system limit (for SysV at least) may be exceeded.
  28003. +.NOEXPORT:
  28004. --- /dev/null
  28005. +++ cgminer-2.4.1/x86_32/Makefile.in
  28006. @@ -0,0 +1,535 @@
  28007. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  28008. +# @configure_input@
  28009. +
  28010. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  28011. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  28012. +# Foundation, Inc.
  28013. +# This Makefile.in is free software; the Free Software Foundation
  28014. +# gives unlimited permission to copy and/or distribute it,
  28015. +# with or without modifications, as long as this notice is preserved.
  28016. +
  28017. +# This program is distributed in the hope that it will be useful,
  28018. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  28019. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  28020. +# PARTICULAR PURPOSE.
  28021. +
  28022. +@SET_MAKE@
  28023. +
  28024. +VPATH = @srcdir@
  28025. +pkgdatadir = $(datadir)/@PACKAGE@
  28026. +pkgincludedir = $(includedir)/@PACKAGE@
  28027. +pkglibdir = $(libdir)/@PACKAGE@
  28028. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  28029. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  28030. +install_sh_DATA = $(install_sh) -c -m 644
  28031. +install_sh_PROGRAM = $(install_sh) -c
  28032. +install_sh_SCRIPT = $(install_sh) -c
  28033. +INSTALL_HEADER = $(INSTALL_DATA)
  28034. +transform = $(program_transform_name)
  28035. +NORMAL_INSTALL = :
  28036. +PRE_INSTALL = :
  28037. +POST_INSTALL = :
  28038. +NORMAL_UNINSTALL = :
  28039. +PRE_UNINSTALL = :
  28040. +POST_UNINSTALL = :
  28041. +build_triplet = @build@
  28042. +host_triplet = @host@
  28043. +target_triplet = @target@
  28044. +subdir = x86_32
  28045. +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  28046. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  28047. +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  28048. + $(top_srcdir)/m4/extensions.m4 \
  28049. + $(top_srcdir)/m4/gnulib-common.m4 \
  28050. + $(top_srcdir)/m4/gnulib-comp.m4 \
  28051. + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
  28052. + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
  28053. + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
  28054. + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
  28055. + $(top_srcdir)/m4/signal_h.m4 \
  28056. + $(top_srcdir)/m4/signalblocking.m4 \
  28057. + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
  28058. + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
  28059. + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
  28060. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  28061. + $(ACLOCAL_M4)
  28062. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  28063. +CONFIG_HEADER = $(top_builddir)/config.h
  28064. +CONFIG_CLEAN_FILES =
  28065. +CONFIG_CLEAN_VPATH_FILES =
  28066. +LIBRARIES = $(noinst_LIBRARIES)
  28067. +AR = ar
  28068. +ARFLAGS = cru
  28069. +AM_V_AR = $(am__v_AR_@AM_V@)
  28070. +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
  28071. +am__v_AR_0 = @echo " AR " $@;
  28072. +AM_V_at = $(am__v_at_@AM_V@)
  28073. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  28074. +am__v_at_0 = @
  28075. +libx8632_a_AR = $(AR) $(ARFLAGS)
  28076. +libx8632_a_LIBADD =
  28077. +am_libx8632_a_OBJECTS = sha256_xmm.$(OBJEXT)
  28078. +libx8632_a_OBJECTS = $(am_libx8632_a_OBJECTS)
  28079. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  28080. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  28081. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  28082. +am__v_GEN_0 = @echo " GEN " $@;
  28083. +SOURCES = $(libx8632_a_SOURCES)
  28084. +DIST_SOURCES = $(libx8632_a_SOURCES)
  28085. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  28086. +ACLOCAL = @ACLOCAL@
  28087. +ALLOCA = @ALLOCA@
  28088. +AMTAR = @AMTAR@
  28089. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  28090. +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
  28091. +AUTOCONF = @AUTOCONF@
  28092. +AUTOHEADER = @AUTOHEADER@
  28093. +AUTOMAKE = @AUTOMAKE@
  28094. +AWK = @AWK@
  28095. +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
  28096. +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
  28097. +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
  28098. +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
  28099. +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
  28100. +CC = @CC@
  28101. +CCDEPMODE = @CCDEPMODE@
  28102. +CFLAGS = @CFLAGS@
  28103. +CPP = @CPP@
  28104. +CPPFLAGS = @CPPFLAGS@
  28105. +CYGPATH_W = @CYGPATH_W@
  28106. +DEFS = @DEFS@
  28107. +DEPDIR = @DEPDIR@
  28108. +DLOPEN_FLAGS = @DLOPEN_FLAGS@
  28109. +ECHO_C = @ECHO_C@
  28110. +ECHO_N = @ECHO_N@
  28111. +ECHO_T = @ECHO_T@
  28112. +EGREP = @EGREP@
  28113. +EXEEXT = @EXEEXT@
  28114. +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
  28115. +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
  28116. +GNULIB_MBSCHR = @GNULIB_MBSCHR@
  28117. +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
  28118. +GNULIB_MBSLEN = @GNULIB_MBSLEN@
  28119. +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
  28120. +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
  28121. +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
  28122. +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
  28123. +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
  28124. +GNULIB_MBSSEP = @GNULIB_MBSSEP@
  28125. +GNULIB_MBSSPN = @GNULIB_MBSSPN@
  28126. +GNULIB_MBSSTR = @GNULIB_MBSSTR@
  28127. +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
  28128. +GNULIB_MEMCHR = @GNULIB_MEMCHR@
  28129. +GNULIB_MEMMEM = @GNULIB_MEMMEM@
  28130. +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
  28131. +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
  28132. +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
  28133. +GNULIB_SIGACTION = @GNULIB_SIGACTION@
  28134. +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
  28135. +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
  28136. +GNULIB_STPCPY = @GNULIB_STPCPY@
  28137. +GNULIB_STPNCPY = @GNULIB_STPNCPY@
  28138. +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
  28139. +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
  28140. +GNULIB_STRDUP = @GNULIB_STRDUP@
  28141. +GNULIB_STRERROR = @GNULIB_STRERROR@
  28142. +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
  28143. +GNULIB_STRNCAT = @GNULIB_STRNCAT@
  28144. +GNULIB_STRNDUP = @GNULIB_STRNDUP@
  28145. +GNULIB_STRNLEN = @GNULIB_STRNLEN@
  28146. +GNULIB_STRPBRK = @GNULIB_STRPBRK@
  28147. +GNULIB_STRSEP = @GNULIB_STRSEP@
  28148. +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
  28149. +GNULIB_STRSTR = @GNULIB_STRSTR@
  28150. +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
  28151. +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
  28152. +GREP = @GREP@
  28153. +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
  28154. +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
  28155. +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
  28156. +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
  28157. +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
  28158. +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
  28159. +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
  28160. +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
  28161. +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
  28162. +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
  28163. +HAVE_MBSLEN = @HAVE_MBSLEN@
  28164. +HAVE_MEMCHR = @HAVE_MEMCHR@
  28165. +HAVE_MEMPCPY = @HAVE_MEMPCPY@
  28166. +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
  28167. +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
  28168. +HAVE_SIGACTION = @HAVE_SIGACTION@
  28169. +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
  28170. +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
  28171. +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
  28172. +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
  28173. +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
  28174. +HAVE_SIGSET_T = @HAVE_SIGSET_T@
  28175. +HAVE_STDINT_H = @HAVE_STDINT_H@
  28176. +HAVE_STPCPY = @HAVE_STPCPY@
  28177. +HAVE_STPNCPY = @HAVE_STPNCPY@
  28178. +HAVE_STRCASESTR = @HAVE_STRCASESTR@
  28179. +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
  28180. +HAVE_STRPBRK = @HAVE_STRPBRK@
  28181. +HAVE_STRSEP = @HAVE_STRSEP@
  28182. +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
  28183. +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
  28184. +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
  28185. +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
  28186. +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
  28187. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
  28188. +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
  28189. +HAVE_WCHAR_H = @HAVE_WCHAR_H@
  28190. +HAVE_WCHAR_T = @HAVE_WCHAR_T@
  28191. +INCLUDE_NEXT = @INCLUDE_NEXT@
  28192. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
  28193. +INSTALL = @INSTALL@
  28194. +INSTALL_DATA = @INSTALL_DATA@
  28195. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  28196. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  28197. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  28198. +JANSSON_LIBS = @JANSSON_LIBS@
  28199. +LDFLAGS = @LDFLAGS@
  28200. +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
  28201. +LIBCURL_LIBS = @LIBCURL_LIBS@
  28202. +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
  28203. +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
  28204. +LIBOBJS = @LIBOBJS@
  28205. +LIBS = @LIBS@
  28206. +LTLIBOBJS = @LTLIBOBJS@
  28207. +MAINT = @MAINT@
  28208. +MAKEINFO = @MAKEINFO@
  28209. +MATH_LIBS = @MATH_LIBS@
  28210. +MKDIR_P = @MKDIR_P@
  28211. +NCURSES_LIBS = @NCURSES_LIBS@
  28212. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
  28213. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
  28214. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
  28215. +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
  28216. +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
  28217. +NEXT_STDDEF_H = @NEXT_STDDEF_H@
  28218. +NEXT_STDINT_H = @NEXT_STDINT_H@
  28219. +NEXT_STRING_H = @NEXT_STRING_H@
  28220. +OBJEXT = @OBJEXT@
  28221. +OPENCL_FLAGS = @OPENCL_FLAGS@
  28222. +OPENCL_LIBS = @OPENCL_LIBS@
  28223. +PACKAGE = @PACKAGE@
  28224. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  28225. +PACKAGE_NAME = @PACKAGE_NAME@
  28226. +PACKAGE_STRING = @PACKAGE_STRING@
  28227. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  28228. +PACKAGE_URL = @PACKAGE_URL@
  28229. +PACKAGE_VERSION = @PACKAGE_VERSION@
  28230. +PATH_SEPARATOR = @PATH_SEPARATOR@
  28231. +PDCURSES_LIBS = @PDCURSES_LIBS@
  28232. +PKG_CONFIG = @PKG_CONFIG@
  28233. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  28234. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  28235. +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
  28236. +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
  28237. +PTHREAD_FLAGS = @PTHREAD_FLAGS@
  28238. +PTHREAD_LIBS = @PTHREAD_LIBS@
  28239. +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
  28240. +RANLIB = @RANLIB@
  28241. +REPLACE_MEMCHR = @REPLACE_MEMCHR@
  28242. +REPLACE_MEMMEM = @REPLACE_MEMMEM@
  28243. +REPLACE_NULL = @REPLACE_NULL@
  28244. +REPLACE_STPNCPY = @REPLACE_STPNCPY@
  28245. +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
  28246. +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
  28247. +REPLACE_STRDUP = @REPLACE_STRDUP@
  28248. +REPLACE_STRERROR = @REPLACE_STRERROR@
  28249. +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
  28250. +REPLACE_STRNCAT = @REPLACE_STRNCAT@
  28251. +REPLACE_STRNDUP = @REPLACE_STRNDUP@
  28252. +REPLACE_STRNLEN = @REPLACE_STRNLEN@
  28253. +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
  28254. +REPLACE_STRSTR = @REPLACE_STRSTR@
  28255. +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
  28256. +SET_MAKE = @SET_MAKE@
  28257. +SHELL = @SHELL@
  28258. +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
  28259. +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
  28260. +STDDEF_H = @STDDEF_H@
  28261. +STDINT_H = @STDINT_H@
  28262. +STRIP = @STRIP@
  28263. +UDEV_LIBS = @UDEV_LIBS@
  28264. +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
  28265. +USB_FLAGS = @USB_FLAGS@
  28266. +USB_LIBS = @USB_LIBS@
  28267. +VERSION = @VERSION@
  28268. +VMAJ = @VMAJ@
  28269. +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
  28270. +WINT_T_SUFFIX = @WINT_T_SUFFIX@
  28271. +WS2_LIBS = @WS2_LIBS@
  28272. +YASM = @YASM@
  28273. +abs_builddir = @abs_builddir@
  28274. +abs_srcdir = @abs_srcdir@
  28275. +abs_top_builddir = @abs_top_builddir@
  28276. +abs_top_srcdir = @abs_top_srcdir@
  28277. +ac_ct_CC = @ac_ct_CC@
  28278. +am__include = @am__include@
  28279. +am__leading_dot = @am__leading_dot@
  28280. +am__quote = @am__quote@
  28281. +am__tar = @am__tar@
  28282. +am__untar = @am__untar@
  28283. +bindir = @bindir@
  28284. +build = @build@
  28285. +build_alias = @build_alias@
  28286. +build_cpu = @build_cpu@
  28287. +build_os = @build_os@
  28288. +build_vendor = @build_vendor@
  28289. +builddir = @builddir@
  28290. +datadir = @datadir@
  28291. +datarootdir = @datarootdir@
  28292. +docdir = @docdir@
  28293. +dvidir = @dvidir@
  28294. +exec_prefix = @exec_prefix@
  28295. +gl_LIBOBJS = @gl_LIBOBJS@
  28296. +gl_LTLIBOBJS = @gl_LTLIBOBJS@
  28297. +gltests_LIBOBJS = @gltests_LIBOBJS@
  28298. +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
  28299. +gltests_WITNESS = @gltests_WITNESS@
  28300. +host = @host@
  28301. +host_alias = @host_alias@
  28302. +host_cpu = @host_cpu@
  28303. +host_os = @host_os@
  28304. +host_vendor = @host_vendor@
  28305. +htmldir = @htmldir@
  28306. +includedir = @includedir@
  28307. +infodir = @infodir@
  28308. +install_sh = @install_sh@
  28309. +libdir = @libdir@
  28310. +libexecdir = @libexecdir@
  28311. +localedir = @localedir@
  28312. +localstatedir = @localstatedir@
  28313. +mandir = @mandir@
  28314. +mkdir_p = @mkdir_p@
  28315. +oldincludedir = @oldincludedir@
  28316. +pdfdir = @pdfdir@
  28317. +prefix = @prefix@
  28318. +program_transform_name = @program_transform_name@
  28319. +psdir = @psdir@
  28320. +release_info = @release_info@
  28321. +sbindir = @sbindir@
  28322. +sharedstatedir = @sharedstatedir@
  28323. +srcdir = @srcdir@
  28324. +sysconfdir = @sysconfdir@
  28325. +target = @target@
  28326. +target_alias = @target_alias@
  28327. +target_cpu = @target_cpu@
  28328. +target_os = @target_os@
  28329. +target_vendor = @target_vendor@
  28330. +top_build_prefix = @top_build_prefix@
  28331. +top_builddir = @top_builddir@
  28332. +top_srcdir = @top_srcdir@
  28333. +version_info = @version_info@
  28334. +noinst_LIBRARIES = libx8632.a
  28335. +SUFFIXES = .asm
  28336. +libx8632_a_SOURCES = sha256_xmm.asm
  28337. +all: all-am
  28338. +
  28339. +.SUFFIXES:
  28340. +.SUFFIXES: .asm .o
  28341. +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  28342. + @for dep in $?; do \
  28343. + case '$(am__configure_deps)' in \
  28344. + *$$dep*) \
  28345. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  28346. + && { if test -f $@; then exit 0; else break; fi; }; \
  28347. + exit 1;; \
  28348. + esac; \
  28349. + done; \
  28350. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign x86_32/Makefile'; \
  28351. + $(am__cd) $(top_srcdir) && \
  28352. + $(AUTOMAKE) --foreign x86_32/Makefile
  28353. +.PRECIOUS: Makefile
  28354. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  28355. + @case '$?' in \
  28356. + *config.status*) \
  28357. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  28358. + *) \
  28359. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  28360. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  28361. + esac;
  28362. +
  28363. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  28364. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  28365. +
  28366. +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  28367. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  28368. +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  28369. + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  28370. +$(am__aclocal_m4_deps):
  28371. +
  28372. +clean-noinstLIBRARIES:
  28373. + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  28374. +libx8632.a: $(libx8632_a_OBJECTS) $(libx8632_a_DEPENDENCIES) $(EXTRA_libx8632_a_DEPENDENCIES)
  28375. + $(AM_V_at)-rm -f libx8632.a
  28376. + $(AM_V_AR)$(libx8632_a_AR) libx8632.a $(libx8632_a_OBJECTS) $(libx8632_a_LIBADD)
  28377. + $(AM_V_at)$(RANLIB) libx8632.a
  28378. +
  28379. +mostlyclean-compile:
  28380. + -rm -f *.$(OBJEXT)
  28381. +
  28382. +distclean-compile:
  28383. + -rm -f *.tab.c
  28384. +tags: TAGS
  28385. +TAGS:
  28386. +
  28387. +ctags: CTAGS
  28388. +CTAGS:
  28389. +
  28390. +
  28391. +distdir: $(DISTFILES)
  28392. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  28393. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  28394. + list='$(DISTFILES)'; \
  28395. + dist_files=`for file in $$list; do echo $$file; done | \
  28396. + sed -e "s|^$$srcdirstrip/||;t" \
  28397. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  28398. + case $$dist_files in \
  28399. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  28400. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  28401. + sort -u` ;; \
  28402. + esac; \
  28403. + for file in $$dist_files; do \
  28404. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  28405. + if test -d $$d/$$file; then \
  28406. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  28407. + if test -d "$(distdir)/$$file"; then \
  28408. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  28409. + fi; \
  28410. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  28411. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  28412. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  28413. + fi; \
  28414. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  28415. + else \
  28416. + test -f "$(distdir)/$$file" \
  28417. + || cp -p $$d/$$file "$(distdir)/$$file" \
  28418. + || exit 1; \
  28419. + fi; \
  28420. + done
  28421. +check-am: all-am
  28422. +check: check-am
  28423. +all-am: Makefile $(LIBRARIES)
  28424. +installdirs:
  28425. +install: install-am
  28426. +install-exec: install-exec-am
  28427. +install-data: install-data-am
  28428. +uninstall: uninstall-am
  28429. +
  28430. +install-am: all-am
  28431. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  28432. +
  28433. +installcheck: installcheck-am
  28434. +install-strip:
  28435. + if test -z '$(STRIP)'; then \
  28436. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  28437. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  28438. + install; \
  28439. + else \
  28440. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  28441. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  28442. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  28443. + fi
  28444. +mostlyclean-generic:
  28445. +
  28446. +clean-generic:
  28447. +
  28448. +distclean-generic:
  28449. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  28450. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  28451. +
  28452. +maintainer-clean-generic:
  28453. + @echo "This command is intended for maintainers to use"
  28454. + @echo "it deletes files that may require special tools to rebuild."
  28455. +clean: clean-am
  28456. +
  28457. +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
  28458. +
  28459. +distclean: distclean-am
  28460. + -rm -f Makefile
  28461. +distclean-am: clean-am distclean-compile distclean-generic
  28462. +
  28463. +dvi: dvi-am
  28464. +
  28465. +dvi-am:
  28466. +
  28467. +html: html-am
  28468. +
  28469. +html-am:
  28470. +
  28471. +info: info-am
  28472. +
  28473. +info-am:
  28474. +
  28475. +install-data-am:
  28476. +
  28477. +install-dvi: install-dvi-am
  28478. +
  28479. +install-dvi-am:
  28480. +
  28481. +install-exec-am:
  28482. +
  28483. +install-html: install-html-am
  28484. +
  28485. +install-html-am:
  28486. +
  28487. +install-info: install-info-am
  28488. +
  28489. +install-info-am:
  28490. +
  28491. +install-man:
  28492. +
  28493. +install-pdf: install-pdf-am
  28494. +
  28495. +install-pdf-am:
  28496. +
  28497. +install-ps: install-ps-am
  28498. +
  28499. +install-ps-am:
  28500. +
  28501. +installcheck-am:
  28502. +
  28503. +maintainer-clean: maintainer-clean-am
  28504. + -rm -f Makefile
  28505. +maintainer-clean-am: distclean-am maintainer-clean-generic
  28506. +
  28507. +mostlyclean: mostlyclean-am
  28508. +
  28509. +mostlyclean-am: mostlyclean-compile mostlyclean-generic
  28510. +
  28511. +pdf: pdf-am
  28512. +
  28513. +pdf-am:
  28514. +
  28515. +ps: ps-am
  28516. +
  28517. +ps-am:
  28518. +
  28519. +uninstall-am:
  28520. +
  28521. +.MAKE: install-am install-strip
  28522. +
  28523. +.PHONY: all all-am check check-am clean clean-generic \
  28524. + clean-noinstLIBRARIES distclean distclean-compile \
  28525. + distclean-generic distdir dvi dvi-am html html-am info info-am \
  28526. + install install-am install-data install-data-am install-dvi \
  28527. + install-dvi-am install-exec install-exec-am install-html \
  28528. + install-html-am install-info install-info-am install-man \
  28529. + install-pdf install-pdf-am install-ps install-ps-am \
  28530. + install-strip installcheck installcheck-am installdirs \
  28531. + maintainer-clean maintainer-clean-generic mostlyclean \
  28532. + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
  28533. + uninstall uninstall-am
  28534. +
  28535. +
  28536. +.asm.o:
  28537. + $(YASM) -f elf32 $<
  28538. +
  28539. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  28540. +# Otherwise a system limit (for SysV at least) may be exceeded.
  28541. +.NOEXPORT: