| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653 |
- Description: <short summary of the patch>
- TODO: Put a short summary on the line above and replace this paragraph
- with a longer explanation of this change. Complete the meta-information
- with other relevant fields (see below for details). To make it easier, the
- information below has been extracted from the changelog. Adjust it or drop
- it.
- .
- cgminer (2.4.1-1) stable; urgency=low
- .
- Version 2.4.1-1 - May 6, 2012
- - In the unlikely event of finding a block, display the block solved count with
- the pool it came from for auditing.
- - Display the device summary on exit even if a device has been disabled.
- - Use correct pool enabled enums in api.c.
- - Import Debian packaging configs
- - Ensure we test for a pool recovering from idle so long as it's not set to
- disabled.
- - Fix pool number display.
- - Give cgminer -T message only if curses is in use.
- - Reinit_adl is no longer used.
- - API 'stats' allow devices to add their own stats also for testing/debug
- - API add getwork stats to cgminer - accesable from API 'stats'
- - Don't initialise variables to zero when in global scope since they're already
- initialised.
- - Get rid of unitialised variable warning when it's false.
- - Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
- continuous rejected shares.
- - Some tweaks to reporting and logging.
- - Change FPGA detection order since BFL hangs on an ICA
- - API support new pool status
- - Add a temporarily disabled state for enabled pools called POOL_REJECTING and
- use the work from each longpoll to help determine when a rejecting pool has
- started working again. Switch pools based on the multipool strategy once a pool
- is re-enabled.
- - Removing extra debug
- - Fix the benchmark feature by bypassing the new networking code.
- - Reset sequential reject counter after a pool is disabled for when it is
- re-enabled.
- - Icarus - correct MH/s and U: with work restart set at 8 seconds
- - ztex updateFreq was always reporting on fpga 0
- - Trying harder to get 1.15y working
- - Specifying threads on multi fpga boards extra cgpu
- - Missing the add cgpu per extra fpga on 1.15y boards
- - API add last share time to each pool
- - Don't try to reap curls if benchmarking is enabled.
- Author: nushor <nushor11@gmail.com>
- ---
- The information above should follow the Patch Tagging Guidelines, please
- checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
- are templates for supplementary fields that you might want to add:
- Origin: <vendor|upstream|other>, <url of original patch>
- Bug: <url in upstream bugtracker>
- Bug-Debian: http://bugs.debian.org/<bugnumber>
- Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
- Forwarded: <no|not-needed|url proving that it has been forwarded>
- Reviewed-By: <name and email of someone who approved the patch>
- Last-Update: <YYYY-MM-DD>
- --- cgminer-2.4.1.orig/libztex.c
- +++ cgminer-2.4.1/libztex.c
- @@ -125,6 +125,107 @@ static int libztex_getFpgaState(struct l
- return 0;
- }
-
- +static int libztex_configureFpgaHS(struct libztex_device *ztex, const char* firmware, bool force, char bs)
- +{
- + struct libztex_fpgastate state;
- + const int transactionBytes = 65536;
- + unsigned char buf[transactionBytes], settings[2];
- + int tries, cnt, buf_p, i;
- + ssize_t pos = 0;
- + FILE *fp;
- +
- + if (!libztex_checkCapability(ztex, CAPABILITY_HS_FPGA))
- + return -1;
- + libztex_getFpgaState(ztex, &state);
- + if (!force && state.fpgaConfigured) {
- + applog(LOG_INFO, "Bitstream already configured");
- + return 1;
- + }
- + cnt = libusb_control_transfer(ztex->hndl, 0xc0, 0x33, 0, 0, settings, 2, 1000);
- + if (unlikely(cnt < 0)) {
- + applog(LOG_ERR, "%s: Failed getHSFpgaSettings with err %d", ztex->repr, cnt);
- + return cnt;
- + }
- +
- + libusb_claim_interface(ztex->hndl, settings[1]);
- +
- + for (tries = 3; tries > 0; tries--) {
- + fp = fopen(firmware, "rb");
- + if (!fp) {
- + applog(LOG_ERR, "%s: failed to read firmware '%s'", ztex->repr, firmware);
- + return -2;
- + }
- +
- + while (pos < transactionBytes && !feof(fp)) {
- + buf[pos++] = getc(fp);
- + }
- +
- + if (feof(fp))
- + pos--;
- +
- + if (bs != 0 && bs != 1)
- + bs = libztex_detectBitstreamBitOrder(buf, transactionBytes < pos? transactionBytes: pos);
- +
- +
- + if (bs == 1)
- + libztex_swapBits(buf, pos);
- +
- + libusb_control_transfer(ztex->hndl, 0x40, 0x34, 0, 0, NULL, 0, 1000);
- + // 0x34 - initHSFPGAConfiguration
- +
- + buf_p = pos;
- + while (1) {
- + i = 0;
- + while (i < buf_p) {
- + if (libusb_bulk_transfer(ztex->hndl,
- + settings[0],
- + &buf[i],
- + buf_p - i,
- + &cnt, 1000) != 0) {
- + applog(LOG_ERR, "%s: Failed send hs fpga data", ztex->repr);
- + break;
- + }
- + usleep(500);
- + i += cnt;
- + }
- + if (i < buf_p || buf_p < transactionBytes)
- + break;
- + buf_p = 0;
- + while (buf_p < transactionBytes && !feof(fp)) {
- + buf[buf_p++] = getc(fp);
- + }
- + if (feof(fp))
- + buf_p--;
- + pos += buf_p;
- + if (buf_p == 0)
- + break;
- + if (bs == 1)
- + libztex_swapBits(buf, buf_p);
- + }
- +
- + libusb_control_transfer(ztex->hndl, 0x40, 0x35, 0, 0, NULL, 0, 1000);
- + // 0x35 - finishHSFPGAConfiguration
- + if (cnt >= 0)
- + tries = 0;
- +
- + fclose(fp);
- +
- + libztex_getFpgaState(ztex, &state);
- + if (!state.fpgaConfigured) {
- + applog(LOG_ERR, "%s: HS FPGA configuration failed: DONE pin does not go high", ztex->repr);
- + return -3;
- + }
- +
- + }
- +
- + libusb_release_interface(ztex->hndl, settings[1]);
- +
- + usleep(200000);
- + applog(LOG_INFO, "%s: HS FPGA configuration done", ztex->repr);
- + return 0;
- +
- +}
- +
- static int libztex_configureFpgaLS(struct libztex_device *ztex, const char* firmware, bool force, char bs)
- {
- struct libztex_fpgastate state;
- @@ -216,12 +317,15 @@ static int libztex_configureFpgaLS(struc
- int libztex_configureFpga(struct libztex_device *ztex)
- {
- char buf[256] = "bitstreams/";
- + int rv;
-
- memset(&buf[11], 0, 245);
- strcpy(&buf[11], ztex->bitFileName);
- strcpy(&buf[strlen(buf)], ".bit");
- -
- - return libztex_configureFpgaLS(ztex, buf, true, 2);
- + rv = libztex_configureFpgaHS(ztex, buf, true, 2);
- + if (rv != 0)
- + rv = libztex_configureFpgaLS(ztex, buf, true, 2);
- + return rv;
- }
-
- int libztex_numberOfFpgas(struct libztex_device *ztex) {
- @@ -235,30 +339,31 @@ int libztex_numberOfFpgas(struct libztex
- return cnt;
- }
- ztex->numberOfFpgas = buf[0] + 1;
- - ztex->selectedFpga = buf[1];
- + ztex->selectedFpga = -1;//buf[1];
- ztex->parallelConfigSupport = (buf[2] == 1);
- } else {
- ztex->numberOfFpgas = 1;
- - ztex->selectedFpga = 0;
- + ztex->selectedFpga = -1;//0;
- ztex->parallelConfigSupport = false;
- }
- }
- return ztex->numberOfFpgas;
- }
-
- -int libztex_selectFpga(struct libztex_device *ztex, int number) {
- - int cnt, fpgacnt = libztex_numberOfFpgas(ztex);
- +int libztex_selectFpga(struct libztex_device *ztex) {
- + int cnt, fpgacnt = libztex_numberOfFpgas(ztex->root);
- + int number = ztex->fpgaNum;
- if (number < 0 || number >= fpgacnt) {
- applog(LOG_WARNING, "%s: Trying to select wrong fpga (%d in %d)", ztex->repr, number, fpgacnt);
- return 1;
- }
- - if (ztex->selectedFpga != number && libztex_checkCapability(ztex, CAPABILITY_MULTI_FPGA)) {
- - cnt = libusb_control_transfer(ztex->hndl, 0x40, 0x51, number, 0, NULL, 0, 500);
- + if (ztex->root->selectedFpga != number && libztex_checkCapability(ztex->root, CAPABILITY_MULTI_FPGA)) {
- + cnt = libusb_control_transfer(ztex->root->hndl, 0x40, 0x51, number, 0, NULL, 0, 500);
- if (unlikely(cnt < 0)) {
- applog(LOG_ERR, "Ztex check device: Failed to set fpga with err %d", cnt);
- return cnt;
- }
- - ztex->selectedFpga = number;
- + ztex->root->selectedFpga = number;
- }
- return 0;
- }
- @@ -276,8 +381,12 @@ int libztex_setFreq(struct libztex_devic
- return cnt;
- }
- ztex->freqM = freq;
- - applog(LOG_WARNING, "%s: Frequency change from %0.2f to %0.2f Mhz",
- - ztex->repr, ztex->freqM1 * (oldfreq + 1), ztex->freqM1 * (ztex->freqM + 1));
- + if (oldfreq > ztex->freqMaxM)
- + applog(LOG_WARNING, "%s: Frequency set to %0.2f Mhz",
- + ztex->repr, ztex->freqM1 * (ztex->freqM + 1));
- + else
- + applog(LOG_WARNING, "%s: Frequency change from %0.2f to %0.2f Mhz",
- + ztex->repr, ztex->freqM1 * (oldfreq + 1), ztex->freqM1 * (ztex->freqM + 1));
-
- return 0;
- }
- @@ -426,7 +535,7 @@ int libztex_prepare_device(struct libusb
-
- newdev->usbbus = libusb_get_bus_number(dev);
- newdev->usbaddress = libusb_get_device_address(dev);
- - sprintf(newdev->repr, "ZTEX %.3d:%.3d-%s", newdev->usbbus, newdev->usbaddress, newdev->snString);
- + sprintf(newdev->repr, "ZTEX %s-1", newdev->snString);
- newdev->valid = true;
- return 0;
- }
- --- /dev/null
- +++ cgminer-2.4.1/config.h.in
- @@ -0,0 +1,465 @@
- +/* config.h.in. Generated from configure.ac by autoheader. */
- +
- +/* Define to the number of bits in type 'ptrdiff_t'. */
- +#undef BITSIZEOF_PTRDIFF_T
- +
- +/* Define to the number of bits in type 'sig_atomic_t'. */
- +#undef BITSIZEOF_SIG_ATOMIC_T
- +
- +/* Define to the number of bits in type 'size_t'. */
- +#undef BITSIZEOF_SIZE_T
- +
- +/* Define to the number of bits in type 'wchar_t'. */
- +#undef BITSIZEOF_WCHAR_T
- +
- +/* Define to the number of bits in type 'wint_t'. */
- +#undef BITSIZEOF_WINT_T
- +
- +/* Major version */
- +#undef CGMINER_MAJOR_VERSION
- +
- +/* Micro version */
- +#undef CGMINER_MINOR_SUBVERSION
- +
- +/* Minor version */
- +#undef CGMINER_MINOR_VERSION
- +
- +/* Path to cgminer install */
- +#undef CGMINER_PREFIX
- +
- +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
- + systems. This function is required for `alloca.c' support on those systems.
- + */
- +#undef CRAY_STACKSEG_END
- +
- +/* Defined if version of curl supports sockopts. */
- +#undef CURL_HAS_SOCKOPT
- +
- +/* Define to 1 if using `alloca.c'. */
- +#undef C_ALLOCA
- +
- +/* Filename for diablo kernel */
- +#undef DIABLO_KERNNAME
- +
- +/* Filename for diakgcn kernel */
- +#undef DIAKGCN_KERNNAME
- +
- +/* Define to 1 when the gnulib module memchr should be tested. */
- +#undef GNULIB_TEST_MEMCHR
- +
- +/* Define to 1 when the gnulib module memmem should be tested. */
- +#undef GNULIB_TEST_MEMMEM
- +
- +/* Define to 1 when the gnulib module sigaction should be tested. */
- +#undef GNULIB_TEST_SIGACTION
- +
- +/* Define to 1 when the gnulib module sigprocmask should be tested. */
- +#undef GNULIB_TEST_SIGPROCMASK
- +
- +/* Defined if ADL headers were found */
- +#undef HAVE_ADL
- +
- +/* Define to 1 if you have `alloca', as a function or macro. */
- +#undef HAVE_ALLOCA
- +
- +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
- + */
- +#undef HAVE_ALLOCA_H
- +
- +/* Define if __attribute__((cold)) */
- +#undef HAVE_ATTRIBUTE_COLD
- +
- +/* Define if __attribute__((const)) */
- +#undef HAVE_ATTRIBUTE_CONST
- +
- +/* Define if __attribute__((noreturn)) */
- +#undef HAVE_ATTRIBUTE_NORETURN
- +
- +/* Define if __attribute__((format(__printf__))) */
- +#undef HAVE_ATTRIBUTE_PRINTF
- +
- +/* Define if __attribute__((unused)) */
- +#undef HAVE_ATTRIBUTE_UNUSED
- +
- +/* Define if __attribute__((used)) */
- +#undef HAVE_ATTRIBUTE_USED
- +
- +/* Define to 1 if you have the <bp-sym.h> header file. */
- +#undef HAVE_BP_SYM_H
- +
- +/* Define if have __builtin_constant_p */
- +#undef HAVE_BUILTIN_CONSTANT_P
- +
- +/* Define if have __builtin_types_compatible_p */
- +#undef HAVE_BUILTIN_TYPES_COMPATIBLE_P
- +
- +/* Defined to 1 if curses TUI support is wanted */
- +#undef HAVE_CURSES
- +
- +/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
- + */
- +#undef HAVE_DECL_MEMMEM
- +
- +/* Define to 1 if you have the <inttypes.h> header file. */
- +#undef HAVE_INTTYPES_H
- +
- +/* Define to 1 if you have the `pthread' library (-lpthread). */
- +#undef HAVE_LIBPTHREAD
- +
- +/* Defined to 1 if libudev is wanted */
- +#undef HAVE_LIBUDEV
- +
- +/* Defined to 1 if libusb is wanted */
- +#undef HAVE_LIBUSB
- +
- +/* Define to 1 if you have the `usb-1.0' library (-lusb-1.0). */
- +#undef HAVE_LIBUSB_1_0
- +
- +/* Define to 1 if the system has the type `long long int'. */
- +#undef HAVE_LONG_LONG_INT
- +
- +/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
- + config.h and <sys/mman.h>. */
- +#undef HAVE_MAP_ANONYMOUS
- +
- +/* Define to 1 if you have the `memmem' function. */
- +#undef HAVE_MEMMEM
- +
- +/* Define to 1 if you have the <memory.h> header file. */
- +#undef HAVE_MEMORY_H
- +
- +/* Define to 1 if you have the `mprotect' function. */
- +#undef HAVE_MPROTECT
- +
- +/* Defined to 1 if OpenCL is present on the system. */
- +#undef HAVE_OPENCL
- +
- +/* Define to 1 if memmem is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_MEMMEM
- +
- +/* Define to 1 if mempcpy is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_MEMPCPY
- +
- +/* Define to 1 if memrchr is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_MEMRCHR
- +
- +/* Define to 1 if rawmemchr is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_RAWMEMCHR
- +
- +/* Define to 1 if sigaction is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGACTION
- +
- +/* Define to 1 if sigaddset is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGADDSET
- +
- +/* Define to 1 if sigdelset is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGDELSET
- +
- +/* Define to 1 if sigemptyset is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGEMPTYSET
- +
- +/* Define to 1 if sigfillset is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGFILLSET
- +
- +/* Define to 1 if sigismember is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGISMEMBER
- +
- +/* Define to 1 if sigpending is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGPENDING
- +
- +/* Define to 1 if sigprocmask is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_SIGPROCMASK
- +
- +/* Define to 1 if stpcpy is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STPCPY
- +
- +/* Define to 1 if stpncpy is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STPNCPY
- +
- +/* Define to 1 if strcasestr is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRCASESTR
- +
- +/* Define to 1 if strchrnul is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRCHRNUL
- +
- +/* Define to 1 if strdup is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRDUP
- +
- +/* Define to 1 if strerror_r is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRERROR_R
- +
- +/* Define to 1 if strncat is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRNCAT
- +
- +/* Define to 1 if strndup is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRNDUP
- +
- +/* Define to 1 if strnlen is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRNLEN
- +
- +/* Define to 1 if strpbrk is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRPBRK
- +
- +/* Define to 1 if strsep is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRSEP
- +
- +/* Define to 1 if strsignal is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRSIGNAL
- +
- +/* Define to 1 if strtok_r is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRTOK_R
- +
- +/* Define to 1 if strverscmp is declared even after undefining macros. */
- +#undef HAVE_RAW_DECL_STRVERSCMP
- +
- +/* Define to 1 if you have the `sigaction' function. */
- +#undef HAVE_SIGACTION
- +
- +/* Define to 1 if you have the `sigaltstack' function. */
- +#undef HAVE_SIGALTSTACK
- +
- +/* Define to 1 if the system has the type `siginfo_t'. */
- +#undef HAVE_SIGINFO_T
- +
- +/* Define to 1 if you have the `siginterrupt' function. */
- +#undef HAVE_SIGINTERRUPT
- +
- +/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
- +#undef HAVE_SIGNED_SIG_ATOMIC_T
- +
- +/* Define to 1 if 'wchar_t' is a signed integer type. */
- +#undef HAVE_SIGNED_WCHAR_T
- +
- +/* Define to 1 if 'wint_t' is a signed integer type. */
- +#undef HAVE_SIGNED_WINT_T
- +
- +/* Define to 1 if the system has the type `sigset_t'. */
- +#undef HAVE_SIGSET_T
- +
- +/* Define to 1 if you have the <stdint.h> header file. */
- +#undef HAVE_STDINT_H
- +
- +/* Define to 1 if you have the <stdlib.h> header file. */
- +#undef HAVE_STDLIB_H
- +
- +/* Define to 1 if you have the <strings.h> header file. */
- +#undef HAVE_STRINGS_H
- +
- +/* Define to 1 if you have the <string.h> header file. */
- +#undef HAVE_STRING_H
- +
- +/* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */
- +#undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
- +
- +/* Define to 1 if you have the <syslog.h> header file. */
- +#undef HAVE_SYSLOG_H
- +
- +/* Define to 1 if you have the <sys/bitypes.h> header file. */
- +#undef HAVE_SYS_BITYPES_H
- +
- +/* Define to 1 if you have the <sys/inttypes.h> header file. */
- +#undef HAVE_SYS_INTTYPES_H
- +
- +/* Define to 1 if you have the <sys/mman.h> header file. */
- +#undef HAVE_SYS_MMAN_H
- +
- +/* Define to 1 if you have the <sys/stat.h> header file. */
- +#undef HAVE_SYS_STAT_H
- +
- +/* Define to 1 if you have the <sys/types.h> header file. */
- +#undef HAVE_SYS_TYPES_H
- +
- +/* Define to 1 if you have the <unistd.h> header file. */
- +#undef HAVE_UNISTD_H
- +
- +/* Define to 1 if the system has the type `unsigned long long int'. */
- +#undef HAVE_UNSIGNED_LONG_LONG_INT
- +
- +/* Define if __attribute__((warn_unused_result)) */
- +#undef HAVE_WARN_UNUSED_RESULT
- +
- +/* Define to 1 if you have the <wchar.h> header file. */
- +#undef HAVE_WCHAR_H
- +
- +/* Define if you have the 'wchar_t' type. */
- +#undef HAVE_WCHAR_T
- +
- +/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
- +#undef MAP_ANONYMOUS
- +
- +/* Define to 1 if your C compiler doesn't accept -c and -o together. */
- +#undef NO_MINUS_C_MINUS_O
- +
- +/* Name of package */
- +#undef PACKAGE
- +
- +/* Define to the address where bug reports for this package should be sent. */
- +#undef PACKAGE_BUGREPORT
- +
- +/* Define to the full name of this package. */
- +#undef PACKAGE_NAME
- +
- +/* Define to the full name and version of this package. */
- +#undef PACKAGE_STRING
- +
- +/* Define to the one symbol short name of this package. */
- +#undef PACKAGE_TARNAME
- +
- +/* Define to the home page for this package. */
- +#undef PACKAGE_URL
- +
- +/* Define to the version of this package. */
- +#undef PACKAGE_VERSION
- +
- +/* Filename for phatk kernel */
- +#undef PHATK_KERNNAME
- +
- +/* Filename for poclbm kernel */
- +#undef POCLBM_KERNNAME
- +
- +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
- + 'ptrdiff_t'. */
- +#undef PTRDIFF_T_SUFFIX
- +
- +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
- + 'sig_atomic_t'. */
- +#undef SIG_ATOMIC_T_SUFFIX
- +
- +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
- + 'size_t'. */
- +#undef SIZE_T_SUFFIX
- +
- +/* If using the C implementation of alloca, define if you know the
- + direction of stack growth for your system; otherwise it will be
- + automatically deduced at runtime.
- + STACK_DIRECTION > 0 => grows toward higher addresses
- + STACK_DIRECTION < 0 => grows toward lower addresses
- + STACK_DIRECTION = 0 => direction of growth unknown */
- +#undef STACK_DIRECTION
- +
- +/* Define to 1 if you have the ANSI C header files. */
- +#undef STDC_HEADERS
- +
- +/* Defined to 1 if BitForce support is wanted */
- +#undef USE_BITFORCE
- +
- +/* Defined to 1 if Icarus support is wanted */
- +#undef USE_ICARUS
- +
- +/* Defined to 1 if Ztex support is wanted */
- +#undef USE_ZTEX
- +
- +/* Version number of package */
- +#undef VERSION
- +
- +/* Enable CPUMINING */
- +#undef WANT_CPUMINE
- +
- +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
- + 'wchar_t'. */
- +#undef WCHAR_T_SUFFIX
- +
- +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
- + 'wint_t'. */
- +#undef WINT_T_SUFFIX
- +
- +/* Define to 1 if on MINIX. */
- +#undef _MINIX
- +
- +/* Define to 2 if the system does not provide POSIX.1 features except with
- + this defined. */
- +#undef _POSIX_1_SOURCE
- +
- +/* Define to 1 if you need to in order for `stat' and other things to work. */
- +#undef _POSIX_SOURCE
- +
- +/* Define to 500 only on HP-UX. */
- +#undef _XOPEN_SOURCE
- +
- +/* Enable extensions on AIX 3, Interix. */
- +#ifndef _ALL_SOURCE
- +# undef _ALL_SOURCE
- +#endif
- +/* Enable GNU extensions on systems that have them. */
- +#ifndef _GNU_SOURCE
- +# undef _GNU_SOURCE
- +#endif
- +/* Enable threading extensions on Solaris. */
- +#ifndef _POSIX_PTHREAD_SEMANTICS
- +# undef _POSIX_PTHREAD_SEMANTICS
- +#endif
- +/* Enable extensions on HP NonStop. */
- +#ifndef _TANDEM_SOURCE
- +# undef _TANDEM_SOURCE
- +#endif
- +/* Enable general extensions on Solaris. */
- +#ifndef __EXTENSIONS__
- +# undef __EXTENSIONS__
- +#endif
- +
- +
- +/* Define to `int' if <sys/types.h> doesn't define. */
- +#undef gid_t
- +
- +/* Define to `__inline__' or `__inline' if that's what the C compiler
- + calls it, or to nothing if 'inline' is not supported under any name. */
- +#ifndef __cplusplus
- +#undef inline
- +#endif
- +
- +/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
- + the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
- + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
- + __APPLE__ && __MACH__ test for MacOS X.
- + __APPLE_CC__ tests for the Apple compiler and its version.
- + __STDC_VERSION__ tests for the C99 mode. */
- +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
- +# define __GNUC_STDC_INLINE__ 1
- +#endif
- +
- +/* Define to the equivalent of the C99 'restrict' keyword, or to
- + nothing if this is not supported. Do not define if restrict is
- + supported directly. */
- +#undef restrict
- +/* Work around a bug in Sun C++: it does not support _Restrict or
- + __restrict__, even though the corresponding Sun C compiler ends up with
- + "#define restrict _Restrict" or "#define restrict __restrict__" in the
- + previous line. Perhaps some future version of Sun C++ will work with
- + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
- +#if defined __SUNPRO_CC && !defined __RESTRICT
- +# define _Restrict
- +# define __restrict__
- +#endif
- +
- +/* Define to `unsigned int' if <sys/types.h> does not define. */
- +#undef size_t
- +
- +/* Define to `int' if <sys/types.h> doesn't define. */
- +#undef uid_t
- +
- +/* Define as a marker that can be attached to declarations that might not
- + be used. This helps to reduce warnings, such as from
- + GCC -Wunused-parameter. */
- +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
- +# define _GL_UNUSED __attribute__ ((__unused__))
- +#else
- +# define _GL_UNUSED
- +#endif
- +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
- + is a misnomer outside of parameter lists. */
- +#define _UNUSED_PARAMETER_ _GL_UNUSED
- +
- +/* The __pure__ attribute was added in gcc 2.96. */
- +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
- +# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
- +#else
- +# define _GL_ATTRIBUTE_PURE /* empty */
- +#endif
- +
- +/* The __const__ attribute was added in gcc 2.95. */
- +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
- +# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
- +#else
- +# define _GL_ATTRIBUTE_CONST /* empty */
- +#endif
- +
- --- cgminer-2.4.1.orig/cgminer.c
- +++ cgminer-2.4.1/cgminer.c
- @@ -79,14 +79,14 @@ static char packagename[255];
-
- int gpu_threads;
-
- -bool opt_protocol = false;
- +bool opt_protocol;
- static bool opt_benchmark;
- -static bool have_longpoll = false;
- -static bool want_per_device_stats = false;
- -bool use_syslog = false;
- -static bool opt_quiet = false;
- -static bool opt_realquiet = false;
- -bool opt_loginput = false;
- +static bool have_longpoll;
- +static bool want_per_device_stats;
- +bool use_syslog;
- +static bool opt_quiet;
- +static bool opt_realquiet;
- +bool opt_loginput;
- const int opt_cutofftemp = 95;
- static int opt_retries = -1;
- static int opt_fail_pause = 5;
- @@ -107,22 +107,20 @@ static bool opt_nogpu;
- struct list_head scan_devices;
- int nDevs;
- int opt_g_threads = 2;
- -static signed int devices_enabled = 0;
- -static bool opt_removedisabled = false;
- -int total_devices = 0;
- +static signed int devices_enabled;
- +static bool opt_removedisabled;
- +int total_devices;
- struct cgpu_info *devices[MAX_DEVICES];
- -bool have_opencl = false;
- +bool have_opencl;
- int gpu_threads;
- int opt_n_threads = -1;
- int mining_threads;
- int num_processors;
- -bool use_curses =
- #ifdef HAVE_CURSES
- - true
- +bool use_curses = true;
- #else
- - false
- +bool use_curses;
- #endif
- -;
- static bool opt_submit_stale = true;
- static int opt_shares;
- static bool opt_fail_only;
- @@ -132,9 +130,9 @@ bool opt_noadl;
- char *opt_api_allow = NULL;
- char *opt_api_description = PACKAGE_STRING;
- int opt_api_port = 4028;
- -bool opt_api_listen = false;
- -bool opt_api_network = false;
- -bool opt_delaynet = false;
- +bool opt_api_listen;
- +bool opt_api_network;
- +bool opt_delaynet;
- bool opt_disable_pool = true;
-
- char *opt_kernel_path;
- @@ -194,7 +192,7 @@ static int total_urls, total_users, tota
- #ifndef HAVE_CURSES
- const
- #endif
- -static bool curses_active = false;
- +static bool curses_active;
-
- static char current_block[37];
- static char *current_hash;
- @@ -211,8 +209,8 @@ static struct block *blocks = NULL;
- char *opt_socks_proxy = NULL;
-
- static const char def_conf[] = "cgminer.conf";
- -static bool config_loaded = false;
- -static int include_count = 0;
- +static bool config_loaded;
- +static int include_count;
- #define JSON_INCLUDE_CONF "include"
- #define JSON_LOAD_ERROR "JSON decode of file '%s' failed"
- #define JSON_LOAD_ERROR_LEN strlen(JSON_LOAD_ERROR)
- @@ -221,7 +219,7 @@ static int include_count = 0;
-
- #if defined(unix)
- static char *opt_stderr_cmd = NULL;
- - static int forkpid = 0;
- + static int forkpid;
- #endif // defined(unix)
-
- bool ping = true;
- @@ -1642,8 +1640,10 @@ static bool submit_upstream_work(const s
- #ifndef MIPSEB
- // This one segfaults on my router for some reason
- isblock = regeneratehash(work);
- - if (isblock)
- + if (unlikely(isblock)) {
- + pool->solved++;
- found_blocks++;
- + }
- hash32 = (uint32_t *)(work->hash);
- sprintf(hashshow, "%08lx.%08lx%s", (unsigned long)(hash32[6]), (unsigned long)(hash32[5]),
- isblock ? " BLOCK!" : "");
- @@ -1660,6 +1660,7 @@ static bool submit_upstream_work(const s
- pool->seq_rejects = 0;
- cgpu->last_share_pool = pool->pool_no;
- cgpu->last_share_pool_time = time(NULL);
- + pool->last_share_time = cgpu->last_share_pool_time;
- applog(LOG_DEBUG, "PROOF OF WORK RESULT: true (yay!!!)");
- if (!QUIET) {
- if (total_pools > 1)
- @@ -1675,6 +1676,16 @@ static bool submit_upstream_work(const s
- kill_work();
- goto out;
- }
- +
- + /* Detect if a pool that has been temporarily disabled for
- + * continually rejecting shares has started accepting shares.
- + * This will only happen with the work returned from a
- + * longpoll */
- + if (unlikely(pool->enabled == POOL_REJECTING)) {
- + applog(LOG_WARNING, "Rejecting pool %d now accepting shares, re-enabling!", pool->pool_no);
- + pool->enabled = POOL_ENABLED;
- + switch_pools(NULL);
- + }
- } else {
- cgpu->rejected++;
- total_rejected++;
- @@ -1712,18 +1723,19 @@ static bool submit_upstream_work(const s
- }
-
- /* Once we have more than a nominal amount of sequential rejects,
- - * at least 10 and more than the current utility rate per minute,
- + * at least 10 and more than 3 mins at the current utility,
- * disable the pool because some pool error is likely to have
- * ensued. */
- if (pool->seq_rejects > 10 && opt_disable_pool && total_pools > 1) {
- double utility = total_accepted / ( total_secs ? total_secs : 1 ) * 60;
-
- - if (pool->seq_rejects > utility) {
- + if (pool->seq_rejects > utility * 3) {
- applog(LOG_WARNING, "Pool %d rejected %d sequential shares, disabling!",
- pool->pool_no, pool->seq_rejects);
- - pool->enabled = false;
- + pool->enabled = POOL_REJECTING;
- if (pool == current_pool())
- switch_pools(NULL);
- + pool->seq_rejects = 0;
- }
- }
- }
- @@ -1768,7 +1780,7 @@ static inline struct pool *select_pool(b
- if (++rotating_pool >= total_pools)
- rotating_pool = 0;
- pool = pools[rotating_pool];
- - if ((!pool->idle && pool->enabled) || pool == cp)
- + if ((!pool->idle && pool->enabled == POOL_ENABLED) || pool == cp)
- break;
- pool = NULL;
- }
- @@ -2025,12 +2037,14 @@ static void push_curl_entry(struct curl_
- mutex_unlock(&pool->pool_lock);
- }
-
- +/* ce and pool may appear uninitialised at push_curl_entry, but they're always
- + * set when we don't have opt_benchmark enabled */
- static void *get_work_thread(void *userdata)
- {
- struct workio_cmd *wc = (struct workio_cmd *)userdata;
- + struct curl_ent * uninitialised_var(ce);
- + struct pool * uninitialised_var(pool);
- struct work *ret_work = make_work();
- - struct curl_ent *ce;
- - struct pool *pool;
- int failures = 0;
-
- pthread_detach(pthread_self());
- @@ -2042,25 +2056,30 @@ static void *get_work_thread(void *userd
- else
- ret_work->thr = NULL;
-
- - pool = ret_work->pool = select_pool(wc->lagging);
- - ce = pop_curl_entry(pool);
- + if (opt_benchmark)
- + get_benchmark_work(ret_work);
- + else {
- + pool = ret_work->pool = select_pool(wc->lagging);
- +
- + ce = pop_curl_entry(pool);
- +
- + /* obtain new work from bitcoin via JSON-RPC */
- + while (!get_upstream_work(ret_work, ce->curl)) {
- + if (unlikely((opt_retries >= 0) && (++failures > opt_retries))) {
- + applog(LOG_ERR, "json_rpc_call failed, terminating workio thread");
- + free_work(ret_work);
- + kill_work();
- + goto out;
- + }
-
- - /* obtain new work from bitcoin via JSON-RPC */
- - while (!get_upstream_work(ret_work, ce->curl)) {
- - if (unlikely((opt_retries >= 0) && (++failures > opt_retries))) {
- - applog(LOG_ERR, "json_rpc_call failed, terminating workio thread");
- - free_work(ret_work);
- - kill_work();
- - goto out;
- + /* pause, then restart work-request loop */
- + applog(LOG_DEBUG, "json_rpc_call failed on get work, retry after %d seconds",
- + fail_pause);
- + sleep(fail_pause);
- + fail_pause += opt_fail_pause;
- }
- -
- - /* pause, then restart work-request loop */
- - applog(LOG_DEBUG, "json_rpc_call failed on get work, retry after %d seconds",
- - fail_pause);
- - sleep(fail_pause);
- - fail_pause += opt_fail_pause;
- + fail_pause = opt_fail_pause;
- }
- - fail_pause = opt_fail_pause;
-
- applog(LOG_DEBUG, "Pushing work to requesting thread");
-
- @@ -2073,7 +2092,8 @@ static void *get_work_thread(void *userd
-
- out:
- workio_cmd_free(wc);
- - push_curl_entry(ce, pool);
- + if (!opt_benchmark)
- + push_curl_entry(ce, pool);
- return NULL;
- }
-
- @@ -2094,6 +2114,7 @@ static bool workio_get_work(struct worki
- static bool stale_work(struct work *work, bool share)
- {
- struct timeval now;
- + struct pool *pool;
-
- if (opt_benchmark)
- return false;
- @@ -2108,7 +2129,8 @@ static bool stale_work(struct work *work
- if (work->work_block != work_block)
- return true;
-
- - if (opt_fail_only && !share && work->pool != current_pool())
- + pool = work->pool;
- + if (opt_fail_only && !share && pool != current_pool() && pool->enabled != POOL_REJECTING)
- return true;
-
- return false;
- @@ -2233,7 +2255,7 @@ void switch_pools(struct pool *selected)
- case POOL_LOADBALANCE:
- for (i = 0; i < total_pools; i++) {
- pool = priority_pool(i);
- - if (!pool->idle && pool->enabled) {
- + if (!pool->idle && pool->enabled == POOL_ENABLED) {
- pool_no = pool->pool_no;
- break;
- }
- @@ -2542,7 +2564,7 @@ int active_pools(void)
- int i;
-
- for (i = 0; i < total_pools; i++) {
- - if ((pools[i])->enabled)
- + if ((pools[i])->enabled == POOL_ENABLED)
- ret++;
- }
- return ret;
- @@ -2555,7 +2577,9 @@ static void display_pool_summary(struct
-
- if (curses_active_locked()) {
- wlog("Pool: %s\n", pool->rpc_url);
- - wlog("%s long-poll support\n", pool->hdr_path ? "Has" : "Does not have");
- + if (pool->solved)
- + wlog("SOLVED %d BLOCK%s!\n", pool->solved, pool->solved > 1 ? "S" : "");
- + wlog("%s own long-poll support\n", pool->hdr_path ? "Has" : "Does not have");
- wlog(" Queued work requests: %d\n", pool->getwork_requested);
- wlog(" Share submissions: %d\n", pool->accepted + pool->rejected);
- wlog(" Accepted shares: %d\n", pool->accepted);
- @@ -2764,11 +2788,21 @@ updated:
-
- if (pool == current_pool())
- wattron(logwin, A_BOLD);
- - if (!pool->enabled)
- + if (pool->enabled != POOL_ENABLED)
- wattron(logwin, A_DIM);
- - wlogprint("%d: %s %s Priority %d: %s User:%s\n",
- - pool->pool_no,
- - pool->enabled? "Enabled" : "Disabled",
- + wlogprint("%d: ", pool->pool_no);
- + switch (pool->enabled) {
- + case POOL_ENABLED:
- + wlogprint("Enabled ");
- + break;
- + case POOL_DISABLED:
- + wlogprint("Disabled ");
- + break;
- + case POOL_REJECTING:
- + wlogprint("Rejecting ");
- + break;
- + }
- + wlogprint("%s Priority %d: %s User:%s\n",
- pool->idle? "Dead" : "Alive",
- pool->prio,
- pool->rpc_url, pool->rpc_user);
- @@ -2804,7 +2838,7 @@ retry:
- wlogprint("Unable to remove pool due to activity\n");
- goto retry;
- }
- - pool->enabled = false;
- + pool->enabled = POOL_DISABLED;
- remove_pool(pool);
- goto updated;
- } else if (!strncasecmp(&input, "s", 1)) {
- @@ -2814,7 +2848,7 @@ retry:
- goto retry;
- }
- pool = pools[selected];
- - pool->enabled = true;
- + pool->enabled = POOL_ENABLED;
- switch_pools(pool);
- goto updated;
- } else if (!strncasecmp(&input, "d", 1)) {
- @@ -2828,7 +2862,7 @@ retry:
- goto retry;
- }
- pool = pools[selected];
- - pool->enabled = false;
- + pool->enabled = POOL_DISABLED;
- if (pool == current_pool())
- switch_pools(NULL);
- goto updated;
- @@ -2839,7 +2873,7 @@ retry:
- goto retry;
- }
- pool = pools[selected];
- - pool->enabled = true;
- + pool->enabled = POOL_ENABLED;
- if (pool->prio < current_pool()->prio)
- switch_pools(pool);
- goto updated;
- @@ -3687,6 +3721,9 @@ void *miner_thread(void *userdata)
- const int thr_id = mythr->id;
- struct cgpu_info *cgpu = mythr->cgpu;
- struct device_api *api = cgpu->api;
- + struct cgminer_stats *dev_stats = &(cgpu->cgminer_stats);
- + struct cgminer_stats *pool_stats;
- + struct timeval getwork_start;
-
- /* Try to cycle approximately 5 times before each log update */
- const unsigned long def_cycle = opt_log_interval / 5 ? : 1;
- @@ -3702,6 +3739,8 @@ void *miner_thread(void *userdata)
- bool requested = false;
- pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
-
- + gettimeofday(&getwork_start, NULL);
- +
- if (api->thread_init && !api->thread_init(mythr)) {
- cgpu->device_last_not_well = time(NULL);
- cgpu->device_not_well_reason = REASON_THREAD_FAIL_INIT;
- @@ -3740,7 +3779,40 @@ void *miner_thread(void *userdata)
- do {
- gettimeofday(&tv_start, NULL);
-
- + timersub(&tv_start, &getwork_start, &getwork_start);
- +
- + timeradd(&getwork_start,
- + &(dev_stats->getwork_wait),
- + &(dev_stats->getwork_wait));
- + if (timercmp(&getwork_start, &(dev_stats->getwork_wait_max), >)) {
- + dev_stats->getwork_wait_max.tv_sec = getwork_start.tv_sec;
- + dev_stats->getwork_wait_max.tv_usec = getwork_start.tv_usec;
- + }
- + if (timercmp(&getwork_start, &(dev_stats->getwork_wait_min), <)) {
- + dev_stats->getwork_wait_min.tv_sec = getwork_start.tv_sec;
- + dev_stats->getwork_wait_min.tv_usec = getwork_start.tv_usec;
- + }
- + dev_stats->getwork_calls++;
- +
- + pool_stats = &(work->pool->cgminer_stats);
- +
- + timeradd(&getwork_start,
- + &(pool_stats->getwork_wait),
- + &(pool_stats->getwork_wait));
- + if (timercmp(&getwork_start, &(pool_stats->getwork_wait_max), >)) {
- + pool_stats->getwork_wait_max.tv_sec = getwork_start.tv_sec;
- + pool_stats->getwork_wait_max.tv_usec = getwork_start.tv_usec;
- + }
- + if (timercmp(&getwork_start, &(pool_stats->getwork_wait_min), <)) {
- + pool_stats->getwork_wait_min.tv_sec = getwork_start.tv_sec;
- + pool_stats->getwork_wait_min.tv_usec = getwork_start.tv_usec;
- + }
- + pool_stats->getwork_calls++;
- +
- hashes = api->scanhash(mythr, work, work->blk.nonce + max_nonce);
- +
- + gettimeofday(&getwork_start, NULL);
- +
- if (unlikely(work_restart[thr_id].restart)) {
-
- /* Apart from device_thread 0, we stagger the
- @@ -3880,8 +3952,11 @@ static void convert_to_work(json_t *val,
- * allows testwork to know whether LP discovered the block or not. */
- test_work_current(work);
-
- - /* Don't use backup LPs as work if we have failover-only enabled */
- - if (pool != current_pool() && opt_fail_only) {
- + /* Don't use backup LPs as work if we have failover-only enabled. Use
- + * the longpoll work from a pool that has been rejecting shares as a
- + * way to detect when the pool has recovered.
- + */
- + if (pool != current_pool() && opt_fail_only && pool->enabled != POOL_REJECTING) {
- free_work(work);
- return;
- }
- @@ -4060,7 +4135,7 @@ static void *watchpool_thread(void __may
-
- if (!opt_benchmark)
- reap_curl(pool);
- - if (!pool->enabled)
- + if (pool->enabled == POOL_DISABLED)
- continue;
-
- /* Test pool is idle once every minute */
- @@ -4294,6 +4369,8 @@ static void print_summary(void)
- struct pool *pool = pools[i];
-
- applog(LOG_WARNING, "Pool: %s", pool->rpc_url);
- + if (pool->solved)
- + applog(LOG_WARNING, "SOLVED %d BLOCK%s!", pool->solved, pool->solved > 1 ? "S" : "");
- applog(LOG_WARNING, " Queued work requests: %d", pool->getwork_requested);
- applog(LOG_WARNING, " Share submissions: %d", pool->accepted + pool->rejected);
- applog(LOG_WARNING, " Accepted shares: %d", pool->accepted);
- @@ -4311,10 +4388,8 @@ static void print_summary(void)
- }
-
- applog(LOG_WARNING, "Summary of per device statistics:\n");
- - for (i = 0; i < total_devices; ++i) {
- - if (devices[i]->deven == DEV_ENABLED)
- - log_print_status(devices[i]);
- - }
- + for (i = 0; i < total_devices; ++i)
- + log_print_status(devices[i]);
-
- if (opt_shares)
- applog(LOG_WARNING, "Mined %d accepted shares of %d requested\n", total_accepted, opt_shares);
- @@ -4409,7 +4484,7 @@ int add_pool_details(bool live, char *ur
-
- /* Test the pool is not idle if we're live running, otherwise
- * it will be tested separately */
- - pool->enabled = true;
- + pool->enabled = POOL_ENABLED;
- if (live && !pool_active(pool, false))
- pool->idle = true;
-
- @@ -4729,7 +4804,7 @@ int main(int argc, char *argv[])
- strcpy(pool->rpc_url, "Benchmark");
- pool->rpc_user = pool->rpc_url;
- pool->rpc_pass = pool->rpc_url;
- - pool->enabled = true;
- + pool->enabled = POOL_ENABLED;
- pool->idle = false;
- successful_connect = true;
- }
- @@ -4752,7 +4827,8 @@ int main(int argc, char *argv[])
- break;
- case -1:
- applog(LOG_WARNING, "Error in configuration file, partially loaded.");
- - applog(LOG_WARNING, "Start cgminer with -T to see what failed to load.");
- + if (use_curses)
- + applog(LOG_WARNING, "Start cgminer with -T to see what failed to load.");
- break;
- default:
- break;
- @@ -4809,14 +4885,14 @@ int main(int argc, char *argv[])
- opencl_api.api_detect();
- #endif
-
- -#ifdef USE_BITFORCE
- - bitforce_api.api_detect();
- -#endif
- -
- #ifdef USE_ICARUS
- icarus_api.api_detect();
- #endif
-
- +#ifdef USE_BITFORCE
- + bitforce_api.api_detect();
- +#endif
- +
- #ifdef USE_ZTEX
- ztex_api.api_detect();
- #endif
- @@ -4866,6 +4942,9 @@ int main(int argc, char *argv[])
-
- load_temp_cutoffs();
-
- + for (i = 0; i < total_devices; ++i)
- + devices[i]->cgminer_stats.getwork_wait_min.tv_sec = MIN_SEC_UNSET;
- +
- logstart += total_devices;
- logcursor = logstart + 1;
-
- @@ -4884,6 +4963,8 @@ int main(int argc, char *argv[])
- for (i = 0; i < total_pools; i++) {
- struct pool *pool = pools[i];
-
- + pool->cgminer_stats.getwork_wait_min.tv_sec = MIN_SEC_UNSET;
- +
- if (!pool->rpc_userpass) {
- if (!pool->rpc_user || !pool->rpc_pass)
- quit(1, "No login credentials supplied for pool %u %s", i, pool->rpc_url);
- @@ -4958,7 +5039,7 @@ int main(int argc, char *argv[])
- for (i = 0; i < total_pools; i++) {
- struct pool *pool = pools[i];
-
- - pool->enabled = true;
- + pool->enabled = POOL_ENABLED;
- pool->idle = true;
- }
-
- --- cgminer-2.4.1.orig/configure.ac
- +++ cgminer-2.4.1/configure.ac
- @@ -2,7 +2,7 @@
- ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
- m4_define([v_maj], [2])
- m4_define([v_min], [4])
- -m4_define([v_mic], [0])
- +m4_define([v_mic], [1])
- ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
- m4_define([v_ver], [v_maj.v_min.v_mic])
- m4_define([lt_rev], m4_eval(v_maj + v_min))
- --- cgminer-2.4.1.orig/NEWS
- +++ cgminer-2.4.1/NEWS
- @@ -1,3 +1,42 @@
- +Version 2.4.1 - May 6, 2012
- +
- +- In the unlikely event of finding a block, display the block solved count with
- +the pool it came from for auditing.
- +- Display the device summary on exit even if a device has been disabled.
- +- Use correct pool enabled enums in api.c.
- +- Import Debian packaging configs
- +- Ensure we test for a pool recovering from idle so long as it's not set to
- +disabled.
- +- Fix pool number display.
- +- Give cgminer -T message only if curses is in use.
- +- Reinit_adl is no longer used.
- +- API 'stats' allow devices to add their own stats also for testing/debug
- +- API add getwork stats to cgminer - accesable from API 'stats'
- +- Don't initialise variables to zero when in global scope since they're already
- +initialised.
- +- Get rid of unitialised variable warning when it's false.
- +- Move a pool to POOL_REJECTING to be disabled only after 3 minutes of
- +continuous rejected shares.
- +- Some tweaks to reporting and logging.
- +- Change FPGA detection order since BFL hangs on an ICA
- +- API support new pool status
- +- Add a temporarily disabled state for enabled pools called POOL_REJECTING and
- +use the work from each longpoll to help determine when a rejecting pool has
- +started working again. Switch pools based on the multipool strategy once a pool
- +is re-enabled.
- +- Removing extra debug
- +- Fix the benchmark feature by bypassing the new networking code.
- +- Reset sequential reject counter after a pool is disabled for when it is
- +re-enabled.
- +- Icarus - correct MH/s and U: with work restart set at 8 seconds
- +- ztex updateFreq was always reporting on fpga 0
- +- Trying harder to get 1.15y working
- +- Specifying threads on multi fpga boards extra cgpu
- +- Missing the add cgpu per extra fpga on 1.15y boards
- +- API add last share time to each pool
- +- Don't try to reap curls if benchmarking is enabled.
- +
- +
- Version 2.4.0 - May 3, 2012
-
- - Only show longpoll warning once when it has failed.
- --- /dev/null
- +++ cgminer-2.4.1/config.guess
- @@ -0,0 +1,1530 @@
- +#! /bin/sh
- +# Attempt to guess a canonical system name.
- +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- +# 2011, 2012 Free Software Foundation, Inc.
- +
- +timestamp='2012-02-10'
- +
- +# This file is free software; you can redistribute it and/or modify it
- +# under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful, but
- +# WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- +# General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, see <http://www.gnu.org/licenses/>.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +
- +# Originally written by Per Bothner. Please send patches (context
- +# diff format) to <config-patches@gnu.org> and include a ChangeLog
- +# entry.
- +#
- +# This script attempts to guess a canonical system name similar to
- +# config.sub. If it succeeds, it prints the system name on stdout, and
- +# exits with 0. Otherwise, it exits with 1.
- +#
- +# You can get the latest version of this script from:
- +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
- +
- +me=`echo "$0" | sed -e 's,.*/,,'`
- +
- +usage="\
- +Usage: $0 [OPTION]
- +
- +Output the configuration name of the system \`$me' is run on.
- +
- +Operation modes:
- + -h, --help print this help, then exit
- + -t, --time-stamp print date of last modification, then exit
- + -v, --version print version number, then exit
- +
- +Report bugs and patches to <config-patches@gnu.org>."
- +
- +version="\
- +GNU config.guess ($timestamp)
- +
- +Originally written by Per Bothner.
- +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
- +Free Software Foundation, Inc.
- +
- +This is free software; see the source for copying conditions. There is NO
- +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
- +
- +help="
- +Try \`$me --help' for more information."
- +
- +# Parse command line
- +while test $# -gt 0 ; do
- + case $1 in
- + --time-stamp | --time* | -t )
- + echo "$timestamp" ; exit ;;
- + --version | -v )
- + echo "$version" ; exit ;;
- + --help | --h* | -h )
- + echo "$usage"; exit ;;
- + -- ) # Stop option processing
- + shift; break ;;
- + - ) # Use stdin as input.
- + break ;;
- + -* )
- + echo "$me: invalid option $1$help" >&2
- + exit 1 ;;
- + * )
- + break ;;
- + esac
- +done
- +
- +if test $# != 0; then
- + echo "$me: too many arguments$help" >&2
- + exit 1
- +fi
- +
- +trap 'exit 1' 1 2 15
- +
- +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
- +# compiler to aid in system detection is discouraged as it requires
- +# temporary files to be created and, as you can see below, it is a
- +# headache to deal with in a portable fashion.
- +
- +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
- +# use `HOST_CC' if defined, but it is deprecated.
- +
- +# Portable tmp directory creation inspired by the Autoconf team.
- +
- +set_cc_for_build='
- +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
- +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
- +: ${TMPDIR=/tmp} ;
- + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
- + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
- + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
- + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
- +dummy=$tmp/dummy ;
- +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
- +case $CC_FOR_BUILD,$HOST_CC,$CC in
- + ,,) echo "int x;" > $dummy.c ;
- + for c in cc gcc c89 c99 ; do
- + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
- + CC_FOR_BUILD="$c"; break ;
- + fi ;
- + done ;
- + if test x"$CC_FOR_BUILD" = x ; then
- + CC_FOR_BUILD=no_compiler_found ;
- + fi
- + ;;
- + ,,*) CC_FOR_BUILD=$CC ;;
- + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
- +esac ; set_cc_for_build= ;'
- +
- +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
- +# (ghazi@noc.rutgers.edu 1994-08-24)
- +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
- + PATH=$PATH:/.attbin ; export PATH
- +fi
- +
- +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
- +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
- +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
- +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
- +
- +# Note: order is significant - the case branches are not exclusive.
- +
- +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- + *:NetBSD:*:*)
- + # NetBSD (nbsd) targets should (where applicable) match one or
- + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
- + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
- + # switched to ELF, *-*-netbsd* would select the old
- + # object file format. This provides both forward
- + # compatibility and a consistent mechanism for selecting the
- + # object file format.
- + #
- + # Note: NetBSD doesn't particularly care about the vendor
- + # portion of the name. We always set it to "unknown".
- + sysctl="sysctl -n hw.machine_arch"
- + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
- + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
- + case "${UNAME_MACHINE_ARCH}" in
- + armeb) machine=armeb-unknown ;;
- + arm*) machine=arm-unknown ;;
- + sh3el) machine=shl-unknown ;;
- + sh3eb) machine=sh-unknown ;;
- + sh5el) machine=sh5le-unknown ;;
- + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
- + esac
- + # The Operating System including object format, if it has switched
- + # to ELF recently, or will in the future.
- + case "${UNAME_MACHINE_ARCH}" in
- + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
- + eval $set_cc_for_build
- + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- + | grep -q __ELF__
- + then
- + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
- + # Return netbsd for either. FIX?
- + os=netbsd
- + else
- + os=netbsdelf
- + fi
- + ;;
- + *)
- + os=netbsd
- + ;;
- + esac
- + # The OS release
- + # Debian GNU/NetBSD machines have a different userland, and
- + # thus, need a distinct triplet. However, they do not need
- + # kernel version information, so it can be replaced with a
- + # suitable tag, in the style of linux-gnu.
- + case "${UNAME_VERSION}" in
- + Debian*)
- + release='-gnu'
- + ;;
- + *)
- + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- + ;;
- + esac
- + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
- + # contains redundant information, the shorter form:
- + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
- + echo "${machine}-${os}${release}"
- + exit ;;
- + *:OpenBSD:*:*)
- + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
- + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
- + exit ;;
- + *:ekkoBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
- + exit ;;
- + *:SolidBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
- + exit ;;
- + macppc:MirBSD:*:*)
- + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
- + exit ;;
- + *:MirBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
- + exit ;;
- + alpha:OSF1:*:*)
- + case $UNAME_RELEASE in
- + *4.0)
- + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
- + ;;
- + *5.*)
- + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
- + ;;
- + esac
- + # According to Compaq, /usr/sbin/psrinfo has been available on
- + # OSF/1 and Tru64 systems produced since 1995. I hope that
- + # covers most systems running today. This code pipes the CPU
- + # types through head -n 1, so we only detect the type of CPU 0.
- + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
- + case "$ALPHA_CPU_TYPE" in
- + "EV4 (21064)")
- + UNAME_MACHINE="alpha" ;;
- + "EV4.5 (21064)")
- + UNAME_MACHINE="alpha" ;;
- + "LCA4 (21066/21068)")
- + UNAME_MACHINE="alpha" ;;
- + "EV5 (21164)")
- + UNAME_MACHINE="alphaev5" ;;
- + "EV5.6 (21164A)")
- + UNAME_MACHINE="alphaev56" ;;
- + "EV5.6 (21164PC)")
- + UNAME_MACHINE="alphapca56" ;;
- + "EV5.7 (21164PC)")
- + UNAME_MACHINE="alphapca57" ;;
- + "EV6 (21264)")
- + UNAME_MACHINE="alphaev6" ;;
- + "EV6.7 (21264A)")
- + UNAME_MACHINE="alphaev67" ;;
- + "EV6.8CB (21264C)")
- + UNAME_MACHINE="alphaev68" ;;
- + "EV6.8AL (21264B)")
- + UNAME_MACHINE="alphaev68" ;;
- + "EV6.8CX (21264D)")
- + UNAME_MACHINE="alphaev68" ;;
- + "EV6.9A (21264/EV69A)")
- + UNAME_MACHINE="alphaev69" ;;
- + "EV7 (21364)")
- + UNAME_MACHINE="alphaev7" ;;
- + "EV7.9 (21364A)")
- + UNAME_MACHINE="alphaev79" ;;
- + esac
- + # A Pn.n version is a patched version.
- + # A Vn.n version is a released version.
- + # A Tn.n version is a released field test version.
- + # A Xn.n version is an unreleased experimental baselevel.
- + # 1.2 uses "1.2" for uname -r.
- + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- + # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
- + exitcode=$?
- + trap '' 0
- + exit $exitcode ;;
- + Alpha\ *:Windows_NT*:*)
- + # How do we know it's Interix rather than the generic POSIX subsystem?
- + # Should we change UNAME_MACHINE based on the output of uname instead
- + # of the specific Alpha model?
- + echo alpha-pc-interix
- + exit ;;
- + 21064:Windows_NT:50:3)
- + echo alpha-dec-winnt3.5
- + exit ;;
- + Amiga*:UNIX_System_V:4.0:*)
- + echo m68k-unknown-sysv4
- + exit ;;
- + *:[Aa]miga[Oo][Ss]:*:*)
- + echo ${UNAME_MACHINE}-unknown-amigaos
- + exit ;;
- + *:[Mm]orph[Oo][Ss]:*:*)
- + echo ${UNAME_MACHINE}-unknown-morphos
- + exit ;;
- + *:OS/390:*:*)
- + echo i370-ibm-openedition
- + exit ;;
- + *:z/VM:*:*)
- + echo s390-ibm-zvmoe
- + exit ;;
- + *:OS400:*:*)
- + echo powerpc-ibm-os400
- + exit ;;
- + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
- + echo arm-acorn-riscix${UNAME_RELEASE}
- + exit ;;
- + arm:riscos:*:*|arm:RISCOS:*:*)
- + echo arm-unknown-riscos
- + exit ;;
- + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
- + echo hppa1.1-hitachi-hiuxmpp
- + exit ;;
- + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
- + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
- + if test "`(/bin/universe) 2>/dev/null`" = att ; then
- + echo pyramid-pyramid-sysv3
- + else
- + echo pyramid-pyramid-bsd
- + fi
- + exit ;;
- + NILE*:*:*:dcosx)
- + echo pyramid-pyramid-svr4
- + exit ;;
- + DRS?6000:unix:4.0:6*)
- + echo sparc-icl-nx6
- + exit ;;
- + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
- + case `/usr/bin/uname -p` in
- + sparc) echo sparc-icl-nx7; exit ;;
- + esac ;;
- + s390x:SunOS:*:*)
- + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit ;;
- + sun4H:SunOS:5.*:*)
- + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit ;;
- + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
- + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit ;;
- + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
- + echo i386-pc-auroraux${UNAME_RELEASE}
- + exit ;;
- + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
- + eval $set_cc_for_build
- + SUN_ARCH="i386"
- + # If there is a compiler, see if it is configured for 64-bit objects.
- + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
- + # This test works for both compilers.
- + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
- + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- + grep IS_64BIT_ARCH >/dev/null
- + then
- + SUN_ARCH="x86_64"
- + fi
- + fi
- + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit ;;
- + sun4*:SunOS:6*:*)
- + # According to config.sub, this is the proper way to canonicalize
- + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
- + # it's likely to be more like Solaris than SunOS4.
- + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit ;;
- + sun4*:SunOS:*:*)
- + case "`/usr/bin/arch -k`" in
- + Series*|S4*)
- + UNAME_RELEASE=`uname -v`
- + ;;
- + esac
- + # Japanese Language versions have a version number like `4.1.3-JL'.
- + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
- + exit ;;
- + sun3*:SunOS:*:*)
- + echo m68k-sun-sunos${UNAME_RELEASE}
- + exit ;;
- + sun*:*:4.2BSD:*)
- + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
- + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
- + case "`/bin/arch`" in
- + sun3)
- + echo m68k-sun-sunos${UNAME_RELEASE}
- + ;;
- + sun4)
- + echo sparc-sun-sunos${UNAME_RELEASE}
- + ;;
- + esac
- + exit ;;
- + aushp:SunOS:*:*)
- + echo sparc-auspex-sunos${UNAME_RELEASE}
- + exit ;;
- + # The situation for MiNT is a little confusing. The machine name
- + # can be virtually everything (everything which is not
- + # "atarist" or "atariste" at least should have a processor
- + # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
- + # to the lowercase version "mint" (or "freemint"). Finally
- + # the system name "TOS" denotes a system which is actually not
- + # MiNT. But MiNT is downward compatible to TOS, so this should
- + # be no problem.
- + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
- + echo m68k-atari-mint${UNAME_RELEASE}
- + exit ;;
- + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
- + echo m68k-atari-mint${UNAME_RELEASE}
- + exit ;;
- + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
- + echo m68k-atari-mint${UNAME_RELEASE}
- + exit ;;
- + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
- + echo m68k-milan-mint${UNAME_RELEASE}
- + exit ;;
- + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
- + echo m68k-hades-mint${UNAME_RELEASE}
- + exit ;;
- + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
- + echo m68k-unknown-mint${UNAME_RELEASE}
- + exit ;;
- + m68k:machten:*:*)
- + echo m68k-apple-machten${UNAME_RELEASE}
- + exit ;;
- + powerpc:machten:*:*)
- + echo powerpc-apple-machten${UNAME_RELEASE}
- + exit ;;
- + RISC*:Mach:*:*)
- + echo mips-dec-mach_bsd4.3
- + exit ;;
- + RISC*:ULTRIX:*:*)
- + echo mips-dec-ultrix${UNAME_RELEASE}
- + exit ;;
- + VAX*:ULTRIX*:*:*)
- + echo vax-dec-ultrix${UNAME_RELEASE}
- + exit ;;
- + 2020:CLIX:*:* | 2430:CLIX:*:*)
- + echo clipper-intergraph-clix${UNAME_RELEASE}
- + exit ;;
- + mips:*:*:UMIPS | mips:*:*:RISCos)
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- +#ifdef __cplusplus
- +#include <stdio.h> /* for printf() prototype */
- + int main (int argc, char *argv[]) {
- +#else
- + int main (argc, argv) int argc; char *argv[]; {
- +#endif
- + #if defined (host_mips) && defined (MIPSEB)
- + #if defined (SYSTYPE_SYSV)
- + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
- + #endif
- + #if defined (SYSTYPE_SVR4)
- + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
- + #endif
- + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
- + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
- + #endif
- + #endif
- + exit (-1);
- + }
- +EOF
- + $CC_FOR_BUILD -o $dummy $dummy.c &&
- + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
- + SYSTEM_NAME=`$dummy $dummyarg` &&
- + { echo "$SYSTEM_NAME"; exit; }
- + echo mips-mips-riscos${UNAME_RELEASE}
- + exit ;;
- + Motorola:PowerMAX_OS:*:*)
- + echo powerpc-motorola-powermax
- + exit ;;
- + Motorola:*:4.3:PL8-*)
- + echo powerpc-harris-powermax
- + exit ;;
- + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
- + echo powerpc-harris-powermax
- + exit ;;
- + Night_Hawk:Power_UNIX:*:*)
- + echo powerpc-harris-powerunix
- + exit ;;
- + m88k:CX/UX:7*:*)
- + echo m88k-harris-cxux7
- + exit ;;
- + m88k:*:4*:R4*)
- + echo m88k-motorola-sysv4
- + exit ;;
- + m88k:*:3*:R3*)
- + echo m88k-motorola-sysv3
- + exit ;;
- + AViiON:dgux:*:*)
- + # DG/UX returns AViiON for all architectures
- + UNAME_PROCESSOR=`/usr/bin/uname -p`
- + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
- + then
- + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
- + [ ${TARGET_BINARY_INTERFACE}x = x ]
- + then
- + echo m88k-dg-dgux${UNAME_RELEASE}
- + else
- + echo m88k-dg-dguxbcs${UNAME_RELEASE}
- + fi
- + else
- + echo i586-dg-dgux${UNAME_RELEASE}
- + fi
- + exit ;;
- + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
- + echo m88k-dolphin-sysv3
- + exit ;;
- + M88*:*:R3*:*)
- + # Delta 88k system running SVR3
- + echo m88k-motorola-sysv3
- + exit ;;
- + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
- + echo m88k-tektronix-sysv3
- + exit ;;
- + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
- + echo m68k-tektronix-bsd
- + exit ;;
- + *:IRIX*:*:*)
- + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
- + exit ;;
- + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
- + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
- + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
- + i*86:AIX:*:*)
- + echo i386-ibm-aix
- + exit ;;
- + ia64:AIX:*:*)
- + if [ -x /usr/bin/oslevel ] ; then
- + IBM_REV=`/usr/bin/oslevel`
- + else
- + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- + fi
- + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
- + exit ;;
- + *:AIX:2:3)
- + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- + #include <sys/systemcfg.h>
- +
- + main()
- + {
- + if (!__power_pc())
- + exit(1);
- + puts("powerpc-ibm-aix3.2.5");
- + exit(0);
- + }
- +EOF
- + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
- + then
- + echo "$SYSTEM_NAME"
- + else
- + echo rs6000-ibm-aix3.2.5
- + fi
- + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
- + echo rs6000-ibm-aix3.2.4
- + else
- + echo rs6000-ibm-aix3.2
- + fi
- + exit ;;
- + *:AIX:*:[4567])
- + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
- + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
- + IBM_ARCH=rs6000
- + else
- + IBM_ARCH=powerpc
- + fi
- + if [ -x /usr/bin/oslevel ] ; then
- + IBM_REV=`/usr/bin/oslevel`
- + else
- + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- + fi
- + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
- + exit ;;
- + *:AIX:*:*)
- + echo rs6000-ibm-aix
- + exit ;;
- + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
- + echo romp-ibm-bsd4.4
- + exit ;;
- + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
- + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
- + exit ;; # report: romp-ibm BSD 4.3
- + *:BOSX:*:*)
- + echo rs6000-bull-bosx
- + exit ;;
- + DPX/2?00:B.O.S.:*:*)
- + echo m68k-bull-sysv3
- + exit ;;
- + 9000/[34]??:4.3bsd:1.*:*)
- + echo m68k-hp-bsd
- + exit ;;
- + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
- + echo m68k-hp-bsd4.4
- + exit ;;
- + 9000/[34678]??:HP-UX:*:*)
- + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- + case "${UNAME_MACHINE}" in
- + 9000/31? ) HP_ARCH=m68000 ;;
- + 9000/[34]?? ) HP_ARCH=m68k ;;
- + 9000/[678][0-9][0-9])
- + if [ -x /usr/bin/getconf ]; then
- + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
- + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
- + case "${sc_cpu_version}" in
- + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
- + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
- + 532) # CPU_PA_RISC2_0
- + case "${sc_kernel_bits}" in
- + 32) HP_ARCH="hppa2.0n" ;;
- + 64) HP_ARCH="hppa2.0w" ;;
- + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
- + esac ;;
- + esac
- + fi
- + if [ "${HP_ARCH}" = "" ]; then
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- +
- + #define _HPUX_SOURCE
- + #include <stdlib.h>
- + #include <unistd.h>
- +
- + int main ()
- + {
- + #if defined(_SC_KERNEL_BITS)
- + long bits = sysconf(_SC_KERNEL_BITS);
- + #endif
- + long cpu = sysconf (_SC_CPU_VERSION);
- +
- + switch (cpu)
- + {
- + case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
- + case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
- + case CPU_PA_RISC2_0:
- + #if defined(_SC_KERNEL_BITS)
- + switch (bits)
- + {
- + case 64: puts ("hppa2.0w"); break;
- + case 32: puts ("hppa2.0n"); break;
- + default: puts ("hppa2.0"); break;
- + } break;
- + #else /* !defined(_SC_KERNEL_BITS) */
- + puts ("hppa2.0"); break;
- + #endif
- + default: puts ("hppa1.0"); break;
- + }
- + exit (0);
- + }
- +EOF
- + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
- + test -z "$HP_ARCH" && HP_ARCH=hppa
- + fi ;;
- + esac
- + if [ ${HP_ARCH} = "hppa2.0w" ]
- + then
- + eval $set_cc_for_build
- +
- + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
- + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
- + # generating 64-bit code. GNU and HP use different nomenclature:
- + #
- + # $ CC_FOR_BUILD=cc ./config.guess
- + # => hppa2.0w-hp-hpux11.23
- + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
- + # => hppa64-hp-hpux11.23
- +
- + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
- + grep -q __LP64__
- + then
- + HP_ARCH="hppa2.0w"
- + else
- + HP_ARCH="hppa64"
- + fi
- + fi
- + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
- + exit ;;
- + ia64:HP-UX:*:*)
- + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- + echo ia64-hp-hpux${HPUX_REV}
- + exit ;;
- + 3050*:HI-UX:*:*)
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- + #include <unistd.h>
- + int
- + main ()
- + {
- + long cpu = sysconf (_SC_CPU_VERSION);
- + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
- + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
- + results, however. */
- + if (CPU_IS_PA_RISC (cpu))
- + {
- + switch (cpu)
- + {
- + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
- + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
- + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
- + default: puts ("hppa-hitachi-hiuxwe2"); break;
- + }
- + }
- + else if (CPU_IS_HP_MC68K (cpu))
- + puts ("m68k-hitachi-hiuxwe2");
- + else puts ("unknown-hitachi-hiuxwe2");
- + exit (0);
- + }
- +EOF
- + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
- + { echo "$SYSTEM_NAME"; exit; }
- + echo unknown-hitachi-hiuxwe2
- + exit ;;
- + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
- + echo hppa1.1-hp-bsd
- + exit ;;
- + 9000/8??:4.3bsd:*:*)
- + echo hppa1.0-hp-bsd
- + exit ;;
- + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
- + echo hppa1.0-hp-mpeix
- + exit ;;
- + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
- + echo hppa1.1-hp-osf
- + exit ;;
- + hp8??:OSF1:*:*)
- + echo hppa1.0-hp-osf
- + exit ;;
- + i*86:OSF1:*:*)
- + if [ -x /usr/sbin/sysversion ] ; then
- + echo ${UNAME_MACHINE}-unknown-osf1mk
- + else
- + echo ${UNAME_MACHINE}-unknown-osf1
- + fi
- + exit ;;
- + parisc*:Lites*:*:*)
- + echo hppa1.1-hp-lites
- + exit ;;
- + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
- + echo c1-convex-bsd
- + exit ;;
- + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
- + if getsysinfo -f scalar_acc
- + then echo c32-convex-bsd
- + else echo c2-convex-bsd
- + fi
- + exit ;;
- + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
- + echo c34-convex-bsd
- + exit ;;
- + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
- + echo c38-convex-bsd
- + exit ;;
- + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
- + echo c4-convex-bsd
- + exit ;;
- + CRAY*Y-MP:*:*:*)
- + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + CRAY*[A-Z]90:*:*:*)
- + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
- + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
- + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
- + -e 's/\.[^.]*$/.X/'
- + exit ;;
- + CRAY*TS:*:*:*)
- + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + CRAY*T3E:*:*:*)
- + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + CRAY*SV1:*:*:*)
- + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + *:UNICOS/mp:*:*)
- + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
- + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
- + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- + exit ;;
- + 5000:UNIX_System_V:4.*:*)
- + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
- + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- + exit ;;
- + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
- + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
- + exit ;;
- + sparc*:BSD/OS:*:*)
- + echo sparc-unknown-bsdi${UNAME_RELEASE}
- + exit ;;
- + *:BSD/OS:*:*)
- + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
- + exit ;;
- + *:FreeBSD:*:*)
- + UNAME_PROCESSOR=`/usr/bin/uname -p`
- + case ${UNAME_PROCESSOR} in
- + amd64)
- + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- + *)
- + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- + esac
- + exit ;;
- + i*:CYGWIN*:*)
- + echo ${UNAME_MACHINE}-pc-cygwin
- + exit ;;
- + *:MINGW*:*)
- + echo ${UNAME_MACHINE}-pc-mingw32
- + exit ;;
- + i*:MSYS*:*)
- + echo ${UNAME_MACHINE}-pc-msys
- + exit ;;
- + i*:windows32*:*)
- + # uname -m includes "-pc" on this system.
- + echo ${UNAME_MACHINE}-mingw32
- + exit ;;
- + i*:PW*:*)
- + echo ${UNAME_MACHINE}-pc-pw32
- + exit ;;
- + *:Interix*:*)
- + case ${UNAME_MACHINE} in
- + x86)
- + echo i586-pc-interix${UNAME_RELEASE}
- + exit ;;
- + authenticamd | genuineintel | EM64T)
- + echo x86_64-unknown-interix${UNAME_RELEASE}
- + exit ;;
- + IA64)
- + echo ia64-unknown-interix${UNAME_RELEASE}
- + exit ;;
- + esac ;;
- + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
- + echo i${UNAME_MACHINE}-pc-mks
- + exit ;;
- + 8664:Windows_NT:*)
- + echo x86_64-pc-mks
- + exit ;;
- + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
- + # How do we know it's Interix rather than the generic POSIX subsystem?
- + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
- + # UNAME_MACHINE based on the output of uname instead of i386?
- + echo i586-pc-interix
- + exit ;;
- + i*:UWIN*:*)
- + echo ${UNAME_MACHINE}-pc-uwin
- + exit ;;
- + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
- + echo x86_64-unknown-cygwin
- + exit ;;
- + p*:CYGWIN*:*)
- + echo powerpcle-unknown-cygwin
- + exit ;;
- + prep*:SunOS:5.*:*)
- + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit ;;
- + *:GNU:*:*)
- + # the GNU system
- + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
- + exit ;;
- + *:GNU/*:*:*)
- + # other systems with GNU libc and userland
- + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
- + exit ;;
- + i*86:Minix:*:*)
- + echo ${UNAME_MACHINE}-pc-minix
- + exit ;;
- + aarch64:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + aarch64_be:Linux:*:*)
- + UNAME_MACHINE=aarch64_be
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + alpha:Linux:*:*)
- + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- + EV5) UNAME_MACHINE=alphaev5 ;;
- + EV56) UNAME_MACHINE=alphaev56 ;;
- + PCA56) UNAME_MACHINE=alphapca56 ;;
- + PCA57) UNAME_MACHINE=alphapca56 ;;
- + EV6) UNAME_MACHINE=alphaev6 ;;
- + EV67) UNAME_MACHINE=alphaev67 ;;
- + EV68*) UNAME_MACHINE=alphaev68 ;;
- + esac
- + objdump --private-headers /bin/sh | grep -q ld.so.1
- + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- + exit ;;
- + arm*:Linux:*:*)
- + eval $set_cc_for_build
- + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
- + | grep -q __ARM_EABI__
- + then
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + else
- + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
- + | grep -q __ARM_PCS_VFP
- + then
- + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
- + else
- + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
- + fi
- + fi
- + exit ;;
- + avr32*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + cris:Linux:*:*)
- + echo ${UNAME_MACHINE}-axis-linux-gnu
- + exit ;;
- + crisv32:Linux:*:*)
- + echo ${UNAME_MACHINE}-axis-linux-gnu
- + exit ;;
- + frv:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + hexagon:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + i*86:Linux:*:*)
- + LIBC=gnu
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- + #ifdef __dietlibc__
- + LIBC=dietlibc
- + #endif
- +EOF
- + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
- + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- + exit ;;
- + ia64:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + m32r*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + m68*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + mips:Linux:*:* | mips64:Linux:*:*)
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- + #undef CPU
- + #undef ${UNAME_MACHINE}
- + #undef ${UNAME_MACHINE}el
- + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- + CPU=${UNAME_MACHINE}el
- + #else
- + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- + CPU=${UNAME_MACHINE}
- + #else
- + CPU=
- + #endif
- + #endif
- +EOF
- + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
- + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- + ;;
- + or32:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + padre:Linux:*:*)
- + echo sparc-unknown-linux-gnu
- + exit ;;
- + parisc64:Linux:*:* | hppa64:Linux:*:*)
- + echo hppa64-unknown-linux-gnu
- + exit ;;
- + parisc:Linux:*:* | hppa:Linux:*:*)
- + # Look for CPU level
- + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- + PA7*) echo hppa1.1-unknown-linux-gnu ;;
- + PA8*) echo hppa2.0-unknown-linux-gnu ;;
- + *) echo hppa-unknown-linux-gnu ;;
- + esac
- + exit ;;
- + ppc64:Linux:*:*)
- + echo powerpc64-unknown-linux-gnu
- + exit ;;
- + ppc:Linux:*:*)
- + echo powerpc-unknown-linux-gnu
- + exit ;;
- + s390:Linux:*:* | s390x:Linux:*:*)
- + echo ${UNAME_MACHINE}-ibm-linux
- + exit ;;
- + sh64*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + sh*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + sparc:Linux:*:* | sparc64:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + tile*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + vax:Linux:*:*)
- + echo ${UNAME_MACHINE}-dec-linux-gnu
- + exit ;;
- + x86_64:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + xtensa*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + i*86:DYNIX/ptx:4*:*)
- + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
- + # earlier versions are messed up and put the nodename in both
- + # sysname and nodename.
- + echo i386-sequent-sysv4
- + exit ;;
- + i*86:UNIX_SV:4.2MP:2.*)
- + # Unixware is an offshoot of SVR4, but it has its own version
- + # number series starting with 2...
- + # I am not positive that other SVR4 systems won't match this,
- + # I just have to hope. -- rms.
- + # Use sysv4.2uw... so that sysv4* matches it.
- + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
- + exit ;;
- + i*86:OS/2:*:*)
- + # If we were able to find `uname', then EMX Unix compatibility
- + # is probably installed.
- + echo ${UNAME_MACHINE}-pc-os2-emx
- + exit ;;
- + i*86:XTS-300:*:STOP)
- + echo ${UNAME_MACHINE}-unknown-stop
- + exit ;;
- + i*86:atheos:*:*)
- + echo ${UNAME_MACHINE}-unknown-atheos
- + exit ;;
- + i*86:syllable:*:*)
- + echo ${UNAME_MACHINE}-pc-syllable
- + exit ;;
- + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
- + echo i386-unknown-lynxos${UNAME_RELEASE}
- + exit ;;
- + i*86:*DOS:*:*)
- + echo ${UNAME_MACHINE}-pc-msdosdjgpp
- + exit ;;
- + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
- + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
- + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
- + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
- + else
- + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
- + fi
- + exit ;;
- + i*86:*:5:[678]*)
- + # UnixWare 7.x, OpenUNIX and OpenServer 6.
- + case `/bin/uname -X | grep "^Machine"` in
- + *486*) UNAME_MACHINE=i486 ;;
- + *Pentium) UNAME_MACHINE=i586 ;;
- + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
- + esac
- + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
- + exit ;;
- + i*86:*:3.2:*)
- + if test -f /usr/options/cb.name; then
- + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
- + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
- + elif /bin/uname -X 2>/dev/null >/dev/null ; then
- + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
- + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
- + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
- + && UNAME_MACHINE=i586
- + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
- + && UNAME_MACHINE=i686
- + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
- + && UNAME_MACHINE=i686
- + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
- + else
- + echo ${UNAME_MACHINE}-pc-sysv32
- + fi
- + exit ;;
- + pc:*:*:*)
- + # Left here for compatibility:
- + # uname -m prints for DJGPP always 'pc', but it prints nothing about
- + # the processor, so we play safe by assuming i586.
- + # Note: whatever this is, it MUST be the same as what config.sub
- + # prints for the "djgpp" host, or else GDB configury will decide that
- + # this is a cross-build.
- + echo i586-pc-msdosdjgpp
- + exit ;;
- + Intel:Mach:3*:*)
- + echo i386-pc-mach3
- + exit ;;
- + paragon:*:*:*)
- + echo i860-intel-osf1
- + exit ;;
- + i860:*:4.*:*) # i860-SVR4
- + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
- + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
- + else # Add other i860-SVR4 vendors below as they are discovered.
- + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
- + fi
- + exit ;;
- + mini*:CTIX:SYS*5:*)
- + # "miniframe"
- + echo m68010-convergent-sysv
- + exit ;;
- + mc68k:UNIX:SYSTEM5:3.51m)
- + echo m68k-convergent-sysv
- + exit ;;
- + M680?0:D-NIX:5.3:*)
- + echo m68k-diab-dnix
- + exit ;;
- + M68*:*:R3V[5678]*:*)
- + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
- + 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)
- + OS_REL=''
- + test -r /etc/.relid \
- + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
- + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
- + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
- + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
- + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
- + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- + && { echo i486-ncr-sysv4; exit; } ;;
- + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
- + OS_REL='.3'
- + test -r /etc/.relid \
- + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
- + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
- + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
- + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
- + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
- + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
- + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
- + echo m68k-unknown-lynxos${UNAME_RELEASE}
- + exit ;;
- + mc68030:UNIX_System_V:4.*:*)
- + echo m68k-atari-sysv4
- + exit ;;
- + TSUNAMI:LynxOS:2.*:*)
- + echo sparc-unknown-lynxos${UNAME_RELEASE}
- + exit ;;
- + rs6000:LynxOS:2.*:*)
- + echo rs6000-unknown-lynxos${UNAME_RELEASE}
- + exit ;;
- + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
- + echo powerpc-unknown-lynxos${UNAME_RELEASE}
- + exit ;;
- + SM[BE]S:UNIX_SV:*:*)
- + echo mips-dde-sysv${UNAME_RELEASE}
- + exit ;;
- + RM*:ReliantUNIX-*:*:*)
- + echo mips-sni-sysv4
- + exit ;;
- + RM*:SINIX-*:*:*)
- + echo mips-sni-sysv4
- + exit ;;
- + *:SINIX-*:*:*)
- + if uname -p 2>/dev/null >/dev/null ; then
- + UNAME_MACHINE=`(uname -p) 2>/dev/null`
- + echo ${UNAME_MACHINE}-sni-sysv4
- + else
- + echo ns32k-sni-sysv
- + fi
- + exit ;;
- + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
- + # says <Richard.M.Bartel@ccMail.Census.GOV>
- + echo i586-unisys-sysv4
- + exit ;;
- + *:UNIX_System_V:4*:FTX*)
- + # From Gerald Hewes <hewes@openmarket.com>.
- + # How about differentiating between stratus architectures? -djm
- + echo hppa1.1-stratus-sysv4
- + exit ;;
- + *:*:*:FTX*)
- + # From seanf@swdc.stratus.com.
- + echo i860-stratus-sysv4
- + exit ;;
- + i*86:VOS:*:*)
- + # From Paul.Green@stratus.com.
- + echo ${UNAME_MACHINE}-stratus-vos
- + exit ;;
- + *:VOS:*:*)
- + # From Paul.Green@stratus.com.
- + echo hppa1.1-stratus-vos
- + exit ;;
- + mc68*:A/UX:*:*)
- + echo m68k-apple-aux${UNAME_RELEASE}
- + exit ;;
- + news*:NEWS-OS:6*:*)
- + echo mips-sony-newsos6
- + exit ;;
- + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
- + if [ -d /usr/nec ]; then
- + echo mips-nec-sysv${UNAME_RELEASE}
- + else
- + echo mips-unknown-sysv${UNAME_RELEASE}
- + fi
- + exit ;;
- + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
- + echo powerpc-be-beos
- + exit ;;
- + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
- + echo powerpc-apple-beos
- + exit ;;
- + BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
- + echo i586-pc-beos
- + exit ;;
- + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
- + echo i586-pc-haiku
- + exit ;;
- + SX-4:SUPER-UX:*:*)
- + echo sx4-nec-superux${UNAME_RELEASE}
- + exit ;;
- + SX-5:SUPER-UX:*:*)
- + echo sx5-nec-superux${UNAME_RELEASE}
- + exit ;;
- + SX-6:SUPER-UX:*:*)
- + echo sx6-nec-superux${UNAME_RELEASE}
- + exit ;;
- + SX-7:SUPER-UX:*:*)
- + echo sx7-nec-superux${UNAME_RELEASE}
- + exit ;;
- + SX-8:SUPER-UX:*:*)
- + echo sx8-nec-superux${UNAME_RELEASE}
- + exit ;;
- + SX-8R:SUPER-UX:*:*)
- + echo sx8r-nec-superux${UNAME_RELEASE}
- + exit ;;
- + Power*:Rhapsody:*:*)
- + echo powerpc-apple-rhapsody${UNAME_RELEASE}
- + exit ;;
- + *:Rhapsody:*:*)
- + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
- + exit ;;
- + *:Darwin:*:*)
- + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
- + case $UNAME_PROCESSOR in
- + i386)
- + eval $set_cc_for_build
- + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
- + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- + grep IS_64BIT_ARCH >/dev/null
- + then
- + UNAME_PROCESSOR="x86_64"
- + fi
- + fi ;;
- + unknown) UNAME_PROCESSOR=powerpc ;;
- + esac
- + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
- + exit ;;
- + *:procnto*:*:* | *:QNX:[0123456789]*:*)
- + UNAME_PROCESSOR=`uname -p`
- + if test "$UNAME_PROCESSOR" = "x86"; then
- + UNAME_PROCESSOR=i386
- + UNAME_MACHINE=pc
- + fi
- + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
- + exit ;;
- + *:QNX:*:4*)
- + echo i386-pc-qnx
- + exit ;;
- + NEO-?:NONSTOP_KERNEL:*:*)
- + echo neo-tandem-nsk${UNAME_RELEASE}
- + exit ;;
- + NSE-?:NONSTOP_KERNEL:*:*)
- + echo nse-tandem-nsk${UNAME_RELEASE}
- + exit ;;
- + NSR-?:NONSTOP_KERNEL:*:*)
- + echo nsr-tandem-nsk${UNAME_RELEASE}
- + exit ;;
- + *:NonStop-UX:*:*)
- + echo mips-compaq-nonstopux
- + exit ;;
- + BS2000:POSIX*:*:*)
- + echo bs2000-siemens-sysv
- + exit ;;
- + DS/*:UNIX_System_V:*:*)
- + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
- + exit ;;
- + *:Plan9:*:*)
- + # "uname -m" is not consistent, so use $cputype instead. 386
- + # is converted to i386 for consistency with other x86
- + # operating systems.
- + if test "$cputype" = "386"; then
- + UNAME_MACHINE=i386
- + else
- + UNAME_MACHINE="$cputype"
- + fi
- + echo ${UNAME_MACHINE}-unknown-plan9
- + exit ;;
- + *:TOPS-10:*:*)
- + echo pdp10-unknown-tops10
- + exit ;;
- + *:TENEX:*:*)
- + echo pdp10-unknown-tenex
- + exit ;;
- + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
- + echo pdp10-dec-tops20
- + exit ;;
- + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
- + echo pdp10-xkl-tops20
- + exit ;;
- + *:TOPS-20:*:*)
- + echo pdp10-unknown-tops20
- + exit ;;
- + *:ITS:*:*)
- + echo pdp10-unknown-its
- + exit ;;
- + SEI:*:*:SEIUX)
- + echo mips-sei-seiux${UNAME_RELEASE}
- + exit ;;
- + *:DragonFly:*:*)
- + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
- + exit ;;
- + *:*VMS:*:*)
- + UNAME_MACHINE=`(uname -p) 2>/dev/null`
- + case "${UNAME_MACHINE}" in
- + A*) echo alpha-dec-vms ; exit ;;
- + I*) echo ia64-dec-vms ; exit ;;
- + V*) echo vax-dec-vms ; exit ;;
- + esac ;;
- + *:XENIX:*:SysV)
- + echo i386-pc-xenix
- + exit ;;
- + i*86:skyos:*:*)
- + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
- + exit ;;
- + i*86:rdos:*:*)
- + echo ${UNAME_MACHINE}-pc-rdos
- + exit ;;
- + i*86:AROS:*:*)
- + echo ${UNAME_MACHINE}-pc-aros
- + exit ;;
- + x86_64:VMkernel:*:*)
- + echo ${UNAME_MACHINE}-unknown-esx
- + exit ;;
- +esac
- +
- +#echo '(No uname command or uname output not recognized.)' 1>&2
- +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
- +
- +eval $set_cc_for_build
- +cat >$dummy.c <<EOF
- +#ifdef _SEQUENT_
- +# include <sys/types.h>
- +# include <sys/utsname.h>
- +#endif
- +main ()
- +{
- +#if defined (sony)
- +#if defined (MIPSEB)
- + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
- + I don't know.... */
- + printf ("mips-sony-bsd\n"); exit (0);
- +#else
- +#include <sys/param.h>
- + printf ("m68k-sony-newsos%s\n",
- +#ifdef NEWSOS4
- + "4"
- +#else
- + ""
- +#endif
- + ); exit (0);
- +#endif
- +#endif
- +
- +#if defined (__arm) && defined (__acorn) && defined (__unix)
- + printf ("arm-acorn-riscix\n"); exit (0);
- +#endif
- +
- +#if defined (hp300) && !defined (hpux)
- + printf ("m68k-hp-bsd\n"); exit (0);
- +#endif
- +
- +#if defined (NeXT)
- +#if !defined (__ARCHITECTURE__)
- +#define __ARCHITECTURE__ "m68k"
- +#endif
- + int version;
- + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
- + if (version < 4)
- + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
- + else
- + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
- + exit (0);
- +#endif
- +
- +#if defined (MULTIMAX) || defined (n16)
- +#if defined (UMAXV)
- + printf ("ns32k-encore-sysv\n"); exit (0);
- +#else
- +#if defined (CMU)
- + printf ("ns32k-encore-mach\n"); exit (0);
- +#else
- + printf ("ns32k-encore-bsd\n"); exit (0);
- +#endif
- +#endif
- +#endif
- +
- +#if defined (__386BSD__)
- + printf ("i386-pc-bsd\n"); exit (0);
- +#endif
- +
- +#if defined (sequent)
- +#if defined (i386)
- + printf ("i386-sequent-dynix\n"); exit (0);
- +#endif
- +#if defined (ns32000)
- + printf ("ns32k-sequent-dynix\n"); exit (0);
- +#endif
- +#endif
- +
- +#if defined (_SEQUENT_)
- + struct utsname un;
- +
- + uname(&un);
- +
- + if (strncmp(un.version, "V2", 2) == 0) {
- + printf ("i386-sequent-ptx2\n"); exit (0);
- + }
- + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
- + printf ("i386-sequent-ptx1\n"); exit (0);
- + }
- + printf ("i386-sequent-ptx\n"); exit (0);
- +
- +#endif
- +
- +#if defined (vax)
- +# if !defined (ultrix)
- +# include <sys/param.h>
- +# if defined (BSD)
- +# if BSD == 43
- + printf ("vax-dec-bsd4.3\n"); exit (0);
- +# else
- +# if BSD == 199006
- + printf ("vax-dec-bsd4.3reno\n"); exit (0);
- +# else
- + printf ("vax-dec-bsd\n"); exit (0);
- +# endif
- +# endif
- +# else
- + printf ("vax-dec-bsd\n"); exit (0);
- +# endif
- +# else
- + printf ("vax-dec-ultrix\n"); exit (0);
- +# endif
- +#endif
- +
- +#if defined (alliant) && defined (i860)
- + printf ("i860-alliant-bsd\n"); exit (0);
- +#endif
- +
- + exit (1);
- +}
- +EOF
- +
- +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
- + { echo "$SYSTEM_NAME"; exit; }
- +
- +# Apollos put the system type in the environment.
- +
- +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
- +
- +# Convex versions that predate uname can use getsysinfo(1)
- +
- +if [ -x /usr/convex/getsysinfo ]
- +then
- + case `getsysinfo -f cpu_type` in
- + c1*)
- + echo c1-convex-bsd
- + exit ;;
- + c2*)
- + if getsysinfo -f scalar_acc
- + then echo c32-convex-bsd
- + else echo c2-convex-bsd
- + fi
- + exit ;;
- + c34*)
- + echo c34-convex-bsd
- + exit ;;
- + c38*)
- + echo c38-convex-bsd
- + exit ;;
- + c4*)
- + echo c4-convex-bsd
- + exit ;;
- + esac
- +fi
- +
- +cat >&2 <<EOF
- +$0: unable to guess system type
- +
- +This script, last modified $timestamp, has failed to recognize
- +the operating system you are using. It is advised that you
- +download the most up to date version of the config scripts from
- +
- + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
- +and
- + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
- +
- +If the version you run ($0) is already up to date, please
- +send the following data and any information you think might be
- +pertinent to <config-patches@gnu.org> in order to provide the needed
- +information to handle your system.
- +
- +config.guess timestamp = $timestamp
- +
- +uname -m = `(uname -m) 2>/dev/null || echo unknown`
- +uname -r = `(uname -r) 2>/dev/null || echo unknown`
- +uname -s = `(uname -s) 2>/dev/null || echo unknown`
- +uname -v = `(uname -v) 2>/dev/null || echo unknown`
- +
- +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
- +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
- +
- +hostinfo = `(hostinfo) 2>/dev/null`
- +/bin/universe = `(/bin/universe) 2>/dev/null`
- +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
- +/bin/arch = `(/bin/arch) 2>/dev/null`
- +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
- +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
- +
- +UNAME_MACHINE = ${UNAME_MACHINE}
- +UNAME_RELEASE = ${UNAME_RELEASE}
- +UNAME_SYSTEM = ${UNAME_SYSTEM}
- +UNAME_VERSION = ${UNAME_VERSION}
- +EOF
- +
- +exit 1
- +
- +# Local variables:
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "timestamp='"
- +# time-stamp-format: "%:y-%02m-%02d"
- +# time-stamp-end: "'"
- +# End:
- --- /dev/null
- +++ cgminer-2.4.1/configure
- @@ -0,0 +1,11455 @@
- +#! /bin/sh
- +# Guess values for system-dependent variables and create Makefiles.
- +# Generated by GNU Autoconf 2.68 for cgminer 2.4.1.
- +#
- +# Report bugs to <kernel@kolivas.org>.
- +#
- +#
- +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
- +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
- +# Foundation, Inc.
- +#
- +#
- +# This configure script is free software; the Free Software Foundation
- +# gives unlimited permission to copy, distribute and modify it.
- +## -------------------- ##
- +## M4sh Initialization. ##
- +## -------------------- ##
- +
- +# Be more Bourne compatible
- +DUALCASE=1; export DUALCASE # for MKS sh
- +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- + emulate sh
- + NULLCMD=:
- + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- + # is contrary to our usage. Disable this feature.
- + alias -g '${1+"$@"}'='"$@"'
- + setopt NO_GLOB_SUBST
- +else
- + case `(set -o) 2>/dev/null` in #(
- + *posix*) :
- + set -o posix ;; #(
- + *) :
- + ;;
- +esac
- +fi
- +
- +
- +as_nl='
- +'
- +export as_nl
- +# Printing a long string crashes Solaris 7 /usr/bin/printf.
- +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
- +# Prefer a ksh shell builtin over an external printf program on Solaris,
- +# but without wasting forks for bash or zsh.
- +if test -z "$BASH_VERSION$ZSH_VERSION" \
- + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='print -r --'
- + as_echo_n='print -rn --'
- +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='printf %s\n'
- + as_echo_n='printf %s'
- +else
- + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- + as_echo_n='/usr/ucb/echo -n'
- + else
- + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- + as_echo_n_body='eval
- + arg=$1;
- + case $arg in #(
- + *"$as_nl"*)
- + expr "X$arg" : "X\\(.*\\)$as_nl";
- + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- + esac;
- + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- + '
- + export as_echo_n_body
- + as_echo_n='sh -c $as_echo_n_body as_echo'
- + fi
- + export as_echo_body
- + as_echo='sh -c $as_echo_body as_echo'
- +fi
- +
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + PATH_SEPARATOR=:
- + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- + PATH_SEPARATOR=';'
- + }
- +fi
- +
- +
- +# IFS
- +# We need space, tab and new line, in precisely that order. Quoting is
- +# there to prevent editors from complaining about space-tab.
- +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
- +# splitting by setting IFS to empty value.)
- +IFS=" "" $as_nl"
- +
- +# Find who we are. Look in the path if we contain no directory separator.
- +as_myself=
- +case $0 in #((
- + *[\\/]* ) as_myself=$0 ;;
- + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- + done
- +IFS=$as_save_IFS
- +
- + ;;
- +esac
- +# We did not find ourselves, most probably we were run as `sh COMMAND'
- +# in which case we are not to be found in the path.
- +if test "x$as_myself" = x; then
- + as_myself=$0
- +fi
- +if test ! -f "$as_myself"; then
- + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- + exit 1
- +fi
- +
- +# Unset variables that we do not need and which cause bugs (e.g. in
- +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
- +# suppresses any "Segmentation fault" message there. '((' could
- +# trigger a bug in pdksh 5.2.14.
- +for as_var in BASH_ENV ENV MAIL MAILPATH
- +do eval test x\${$as_var+set} = xset \
- + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- +done
- +PS1='$ '
- +PS2='> '
- +PS4='+ '
- +
- +# NLS nuisances.
- +LC_ALL=C
- +export LC_ALL
- +LANGUAGE=C
- +export LANGUAGE
- +
- +# CDPATH.
- +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- +
- +if test "x$CONFIG_SHELL" = x; then
- + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- + emulate sh
- + NULLCMD=:
- + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- + # is contrary to our usage. Disable this feature.
- + alias -g '\${1+\"\$@\"}'='\"\$@\"'
- + setopt NO_GLOB_SUBST
- +else
- + case \`(set -o) 2>/dev/null\` in #(
- + *posix*) :
- + set -o posix ;; #(
- + *) :
- + ;;
- +esac
- +fi
- +"
- + as_required="as_fn_return () { (exit \$1); }
- +as_fn_success () { as_fn_return 0; }
- +as_fn_failure () { as_fn_return 1; }
- +as_fn_ret_success () { return 0; }
- +as_fn_ret_failure () { return 1; }
- +
- +exitcode=0
- +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
- +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
- +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
- +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
- +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
- +
- +else
- + exitcode=1; echo positional parameters were not saved.
- +fi
- +test x\$exitcode = x0 || exit 1"
- + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
- +test \$(( 1 + 1 )) = 2 || exit 1"
- + if (eval "$as_required") 2>/dev/null; then :
- + as_have_required=yes
- +else
- + as_have_required=no
- +fi
- + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
- +
- +else
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +as_found=false
- +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + as_found=:
- + case $as_dir in #(
- + /*)
- + for as_base in sh bash ksh sh5; do
- + # Try only shells that exist, to save several forks.
- + as_shell=$as_dir/$as_base
- + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- + CONFIG_SHELL=$as_shell as_have_required=yes
- + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- + break 2
- +fi
- +fi
- + done;;
- + esac
- + as_found=false
- +done
- +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- + CONFIG_SHELL=$SHELL as_have_required=yes
- +fi; }
- +IFS=$as_save_IFS
- +
- +
- + if test "x$CONFIG_SHELL" != x; then :
- + # We cannot yet assume a decent shell, so we have to provide a
- + # neutralization value for shells without unset; and this also
- + # works around shells that cannot unset nonexistent variables.
- + # Preserve -v and -x to the replacement shell.
- + BASH_ENV=/dev/null
- + ENV=/dev/null
- + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- + export CONFIG_SHELL
- + case $- in # ((((
- + *v*x* | *x*v* ) as_opts=-vx ;;
- + *v* ) as_opts=-v ;;
- + *x* ) as_opts=-x ;;
- + * ) as_opts= ;;
- + esac
- + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
- +fi
- +
- + if test x$as_have_required = xno; then :
- + $as_echo "$0: This script requires a shell more modern than all"
- + $as_echo "$0: the shells that I found on your system."
- + if test x${ZSH_VERSION+set} = xset ; then
- + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- + else
- + $as_echo "$0: Please tell bug-autoconf@gnu.org and kernel@kolivas.org
- +$0: about your system, including any error possibly output
- +$0: before this message. Then install a modern shell, or
- +$0: manually run the script under such a shell if you do
- +$0: have one."
- + fi
- + exit 1
- +fi
- +fi
- +fi
- +SHELL=${CONFIG_SHELL-/bin/sh}
- +export SHELL
- +# Unset more variables known to interfere with behavior of common tools.
- +CLICOLOR_FORCE= GREP_OPTIONS=
- +unset CLICOLOR_FORCE GREP_OPTIONS
- +
- +## --------------------- ##
- +## M4sh Shell Functions. ##
- +## --------------------- ##
- +# as_fn_unset VAR
- +# ---------------
- +# Portably unset VAR.
- +as_fn_unset ()
- +{
- + { eval $1=; unset $1;}
- +}
- +as_unset=as_fn_unset
- +
- +# as_fn_set_status STATUS
- +# -----------------------
- +# Set $? to STATUS, without forking.
- +as_fn_set_status ()
- +{
- + return $1
- +} # as_fn_set_status
- +
- +# as_fn_exit STATUS
- +# -----------------
- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
- +as_fn_exit ()
- +{
- + set +e
- + as_fn_set_status $1
- + exit $1
- +} # as_fn_exit
- +
- +# as_fn_mkdir_p
- +# -------------
- +# Create "$as_dir" as a directory, including parents if necessary.
- +as_fn_mkdir_p ()
- +{
- +
- + case $as_dir in #(
- + -*) as_dir=./$as_dir;;
- + esac
- + test -d "$as_dir" || eval $as_mkdir_p || {
- + as_dirs=
- + while :; do
- + case $as_dir in #(
- + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- + *) as_qdir=$as_dir;;
- + esac
- + as_dirs="'$as_qdir' $as_dirs"
- + as_dir=`$as_dirname -- "$as_dir" ||
- +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$as_dir" : 'X\(//\)[^/]' \| \
- + X"$as_dir" : 'X\(//\)$' \| \
- + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$as_dir" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + test -d "$as_dir" && break
- + done
- + test -z "$as_dirs" || eval "mkdir $as_dirs"
- + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
- +
- +
- +} # as_fn_mkdir_p
- +# as_fn_append VAR VALUE
- +# ----------------------
- +# Append the text in VALUE to the end of the definition contained in VAR. Take
- +# advantage of any shell optimizations that allow amortized linear growth over
- +# repeated appends, instead of the typical quadratic growth present in naive
- +# implementations.
- +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- + eval 'as_fn_append ()
- + {
- + eval $1+=\$2
- + }'
- +else
- + as_fn_append ()
- + {
- + eval $1=\$$1\$2
- + }
- +fi # as_fn_append
- +
- +# as_fn_arith ARG...
- +# ------------------
- +# Perform arithmetic evaluation on the ARGs, and store the result in the
- +# global $as_val. Take advantage of shells that can avoid forks. The arguments
- +# must be portable across $(()) and expr.
- +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- + eval 'as_fn_arith ()
- + {
- + as_val=$(( $* ))
- + }'
- +else
- + as_fn_arith ()
- + {
- + as_val=`expr "$@" || test $? -eq 1`
- + }
- +fi # as_fn_arith
- +
- +
- +# as_fn_error STATUS ERROR [LINENO LOG_FD]
- +# ----------------------------------------
- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
- +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
- +# script with STATUS, using 1 if that was 0.
- +as_fn_error ()
- +{
- + as_status=$1; test $as_status -eq 0 && as_status=1
- + if test "$4"; then
- + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- + fi
- + $as_echo "$as_me: error: $2" >&2
- + as_fn_exit $as_status
- +} # as_fn_error
- +
- +if expr a : '\(a\)' >/dev/null 2>&1 &&
- + test "X`expr 00001 : '.*\(...\)'`" = X001; then
- + as_expr=expr
- +else
- + as_expr=false
- +fi
- +
- +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- + as_basename=basename
- +else
- + as_basename=false
- +fi
- +
- +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- + as_dirname=dirname
- +else
- + as_dirname=false
- +fi
- +
- +as_me=`$as_basename -- "$0" ||
- +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- + X"$0" : 'X\(//\)$' \| \
- + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X/"$0" |
- + sed '/^.*\/\([^/][^/]*\)\/*$/{
- + s//\1/
- + q
- + }
- + /^X\/\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\/\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- +
- +# Avoid depending upon Character Ranges.
- +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- +as_cr_digits='0123456789'
- +as_cr_alnum=$as_cr_Letters$as_cr_digits
- +
- +
- + as_lineno_1=$LINENO as_lineno_1a=$LINENO
- + as_lineno_2=$LINENO as_lineno_2a=$LINENO
- + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- + sed -n '
- + p
- + /[$]LINENO/=
- + ' <$as_myself |
- + sed '
- + s/[$]LINENO.*/&-/
- + t lineno
- + b
- + :lineno
- + N
- + :loop
- + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- + t loop
- + s/-\n.*//
- + ' >$as_me.lineno &&
- + chmod +x "$as_me.lineno" ||
- + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
- +
- + # Don't try to exec as it changes $[0], causing all sort of problems
- + # (the dirname of $[0] is not the place where we might find the
- + # original and so on. Autoconf is especially sensitive to this).
- + . "./$as_me.lineno"
- + # Exit status is that of the last command.
- + exit
- +}
- +
- +ECHO_C= ECHO_N= ECHO_T=
- +case `echo -n x` in #(((((
- +-n*)
- + case `echo 'xy\c'` in
- + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- + xy) ECHO_C='\c';;
- + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- + ECHO_T=' ';;
- + esac;;
- +*)
- + ECHO_N='-n';;
- +esac
- +
- +rm -f conf$$ conf$$.exe conf$$.file
- +if test -d conf$$.dir; then
- + rm -f conf$$.dir/conf$$.file
- +else
- + rm -f conf$$.dir
- + mkdir conf$$.dir 2>/dev/null
- +fi
- +if (echo >conf$$.file) 2>/dev/null; then
- + if ln -s conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s='ln -s'
- + # ... but there are two gotchas:
- + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- + # In both cases, we have to default to `cp -p'.
- + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- + as_ln_s='cp -p'
- + elif ln conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s=ln
- + else
- + as_ln_s='cp -p'
- + fi
- +else
- + as_ln_s='cp -p'
- +fi
- +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- +rmdir conf$$.dir 2>/dev/null
- +
- +if mkdir -p . 2>/dev/null; then
- + as_mkdir_p='mkdir -p "$as_dir"'
- +else
- + test -d ./-p && rmdir ./-p
- + as_mkdir_p=false
- +fi
- +
- +if test -x / >/dev/null 2>&1; then
- + as_test_x='test -x'
- +else
- + if ls -dL / >/dev/null 2>&1; then
- + as_ls_L_option=L
- + else
- + as_ls_L_option=
- + fi
- + as_test_x='
- + eval sh -c '\''
- + if test -d "$1"; then
- + test -d "$1/.";
- + else
- + case $1 in #(
- + -*)set "./$1";;
- + esac;
- + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- + ???[sx]*):;;*)false;;esac;fi
- + '\'' sh
- + '
- +fi
- +as_executable_p=$as_test_x
- +
- +# Sed expression to map a string onto a valid CPP name.
- +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- +
- +# Sed expression to map a string onto a valid variable name.
- +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- +
- +
- +test -n "$DJDIR" || exec 7<&0 </dev/null
- +exec 6>&1
- +
- +# Name of the host.
- +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
- +# so uname gets run too.
- +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
- +
- +#
- +# Initializations.
- +#
- +ac_default_prefix=/usr/local
- +ac_clean_files=
- +ac_config_libobj_dir=.
- +LIBOBJS=
- +cross_compiling=no
- +subdirs=
- +MFLAGS=
- +MAKEFLAGS=
- +
- +# Identity of this package.
- +PACKAGE_NAME='cgminer'
- +PACKAGE_TARNAME='cgminer'
- +PACKAGE_VERSION='2.4.1'
- +PACKAGE_STRING='cgminer 2.4.1'
- +PACKAGE_BUGREPORT='kernel@kolivas.org'
- +PACKAGE_URL=''
- +
- +ac_unique_file="cgminer.c"
- +# Factoring default headers for most tests.
- +ac_includes_default="\
- +#include <stdio.h>
- +#ifdef HAVE_SYS_TYPES_H
- +# include <sys/types.h>
- +#endif
- +#ifdef HAVE_SYS_STAT_H
- +# include <sys/stat.h>
- +#endif
- +#ifdef STDC_HEADERS
- +# include <stdlib.h>
- +# include <stddef.h>
- +#else
- +# ifdef HAVE_STDLIB_H
- +# include <stdlib.h>
- +# endif
- +#endif
- +#ifdef HAVE_STRING_H
- +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
- +# include <memory.h>
- +# endif
- +# include <string.h>
- +#endif
- +#ifdef HAVE_STRINGS_H
- +# include <strings.h>
- +#endif
- +#ifdef HAVE_INTTYPES_H
- +# include <inttypes.h>
- +#endif
- +#ifdef HAVE_STDINT_H
- +# include <stdint.h>
- +#endif
- +#ifdef HAVE_UNISTD_H
- +# include <unistd.h>
- +#endif"
- +
- +gl_header_list=
- +gl_func_list=
- +ac_subst_vars='gltests_LTLIBOBJS
- +gltests_LIBOBJS
- +gl_LTLIBOBJS
- +gl_LIBOBJS
- +am__EXEEXT_FALSE
- +am__EXEEXT_TRUE
- +LTLIBOBJS
- +LIBOBJS
- +USB_FLAGS
- +USB_LIBS
- +UDEV_LIBS
- +MATH_LIBS
- +WS2_LIBS
- +PDCURSES_LIBS
- +NCURSES_LIBS
- +PTHREAD_LIBS
- +DLOPEN_FLAGS
- +PTHREAD_FLAGS
- +JANSSON_LIBS
- +OPENCL_FLAGS
- +OPENCL_LIBS
- +LIBCURL_LIBS
- +LIBCURL_CFLAGS
- +PKG_CONFIG_LIBDIR
- +PKG_CONFIG_PATH
- +PKG_CONFIG
- +HAVE_LIBUDEV_FALSE
- +HAVE_LIBUDEV_TRUE
- +HAS_YASM_FALSE
- +HAS_YASM_TRUE
- +YASM
- +HAVE_x86_64_FALSE
- +HAVE_x86_64_TRUE
- +HAVE_WINDOWS_FALSE
- +HAVE_WINDOWS_TRUE
- +WANT_JANSSON_FALSE
- +WANT_JANSSON_TRUE
- +HAVE_CURSES_FALSE
- +HAVE_CURSES_TRUE
- +HAS_ZTEX_FALSE
- +HAS_ZTEX_TRUE
- +HAS_ICARUS_FALSE
- +HAS_ICARUS_TRUE
- +HAS_BITFORCE_FALSE
- +HAS_BITFORCE_TRUE
- +HAS_CPUMINE_FALSE
- +HAS_CPUMINE_TRUE
- +ALLOCA
- +LIBGNU_LTLIBDEPS
- +LIBGNU_LIBDEPS
- +gltests_WITNESS
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H
- +NEXT_STRING_H
- +GL_GENERATE_STDINT_H_FALSE
- +GL_GENERATE_STDINT_H_TRUE
- +STDINT_H
- +WINT_T_SUFFIX
- +WCHAR_T_SUFFIX
- +SIG_ATOMIC_T_SUFFIX
- +SIZE_T_SUFFIX
- +PTRDIFF_T_SUFFIX
- +HAVE_SIGNED_WINT_T
- +HAVE_SIGNED_WCHAR_T
- +HAVE_SIGNED_SIG_ATOMIC_T
- +BITSIZEOF_WINT_T
- +BITSIZEOF_WCHAR_T
- +BITSIZEOF_SIG_ATOMIC_T
- +BITSIZEOF_SIZE_T
- +BITSIZEOF_PTRDIFF_T
- +HAVE_SYS_BITYPES_H
- +HAVE_SYS_INTTYPES_H
- +HAVE_STDINT_H
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H
- +NEXT_STDINT_H
- +HAVE_SYS_TYPES_H
- +HAVE_INTTYPES_H
- +HAVE_WCHAR_H
- +HAVE_UNSIGNED_LONG_LONG_INT
- +HAVE_LONG_LONG_INT
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
- +NEXT_STDDEF_H
- +GL_GENERATE_STDDEF_H_FALSE
- +GL_GENERATE_STDDEF_H_TRUE
- +STDDEF_H
- +HAVE_WCHAR_T
- +REPLACE_NULL
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
- +NEXT_SIGNAL_H
- +PRAGMA_COLUMNS
- +PRAGMA_SYSTEM_HEADER
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE
- +INCLUDE_NEXT
- +HAVE_SIGHANDLER_T
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION
- +HAVE_SIGACTION
- +HAVE_SIGINFO_T
- +HAVE_SIGSET_T
- +HAVE_POSIX_SIGNALBLOCKING
- +GNULIB_SIGACTION
- +GNULIB_SIGPROCMASK
- +GNULIB_SIGNAL_H_SIGPIPE
- +APPLE_UNIVERSAL_BUILD
- +UNDEFINE_STRTOK_R
- +REPLACE_STRTOK_R
- +REPLACE_STRSIGNAL
- +REPLACE_STRNLEN
- +REPLACE_STRNDUP
- +REPLACE_STRNCAT
- +REPLACE_STRERROR_R
- +REPLACE_STRERROR
- +REPLACE_STRCHRNUL
- +REPLACE_STRCASESTR
- +REPLACE_STRSTR
- +REPLACE_STRDUP
- +REPLACE_STPNCPY
- +REPLACE_MEMMEM
- +REPLACE_MEMCHR
- +HAVE_STRVERSCMP
- +HAVE_DECL_STRSIGNAL
- +HAVE_DECL_STRERROR_R
- +HAVE_DECL_STRTOK_R
- +HAVE_STRCASESTR
- +HAVE_STRSEP
- +HAVE_STRPBRK
- +HAVE_DECL_STRNLEN
- +HAVE_DECL_STRNDUP
- +HAVE_DECL_STRDUP
- +HAVE_STRCHRNUL
- +HAVE_STPNCPY
- +HAVE_STPCPY
- +HAVE_RAWMEMCHR
- +HAVE_DECL_MEMRCHR
- +HAVE_MEMPCPY
- +HAVE_DECL_MEMMEM
- +HAVE_MEMCHR
- +HAVE_MBSLEN
- +GNULIB_STRVERSCMP
- +GNULIB_STRSIGNAL
- +GNULIB_STRERROR_R
- +GNULIB_STRERROR
- +GNULIB_MBSTOK_R
- +GNULIB_MBSSEP
- +GNULIB_MBSSPN
- +GNULIB_MBSPBRK
- +GNULIB_MBSCSPN
- +GNULIB_MBSCASESTR
- +GNULIB_MBSPCASECMP
- +GNULIB_MBSNCASECMP
- +GNULIB_MBSCASECMP
- +GNULIB_MBSSTR
- +GNULIB_MBSRCHR
- +GNULIB_MBSCHR
- +GNULIB_MBSNLEN
- +GNULIB_MBSLEN
- +GNULIB_STRTOK_R
- +GNULIB_STRCASESTR
- +GNULIB_STRSTR
- +GNULIB_STRSEP
- +GNULIB_STRPBRK
- +GNULIB_STRNLEN
- +GNULIB_STRNDUP
- +GNULIB_STRNCAT
- +GNULIB_STRDUP
- +GNULIB_STRCHRNUL
- +GNULIB_STPNCPY
- +GNULIB_STPCPY
- +GNULIB_RAWMEMCHR
- +GNULIB_MEMRCHR
- +GNULIB_MEMPCPY
- +GNULIB_MEMMEM
- +GNULIB_MEMCHR
- +GL_COND_LIBTOOL_FALSE
- +GL_COND_LIBTOOL_TRUE
- +RANLIB
- +MAINT
- +MAINTAINER_MODE_FALSE
- +MAINTAINER_MODE_TRUE
- +VMAJ
- +release_info
- +version_info
- +EGREP
- +GREP
- +CPP
- +am__fastdepCC_FALSE
- +am__fastdepCC_TRUE
- +CCDEPMODE
- +am__nodep
- +AMDEPBACKSLASH
- +AMDEP_FALSE
- +AMDEP_TRUE
- +am__quote
- +am__include
- +DEPDIR
- +OBJEXT
- +EXEEXT
- +ac_ct_CC
- +CPPFLAGS
- +LDFLAGS
- +CFLAGS
- +CC
- +AM_BACKSLASH
- +AM_DEFAULT_VERBOSITY
- +AM_DEFAULT_V
- +AM_V
- +am__untar
- +am__tar
- +AMTAR
- +am__leading_dot
- +SET_MAKE
- +AWK
- +mkdir_p
- +MKDIR_P
- +INSTALL_STRIP_PROGRAM
- +STRIP
- +install_sh
- +MAKEINFO
- +AUTOHEADER
- +AUTOMAKE
- +AUTOCONF
- +ACLOCAL
- +VERSION
- +PACKAGE
- +CYGPATH_W
- +am__isrc
- +INSTALL_DATA
- +INSTALL_SCRIPT
- +INSTALL_PROGRAM
- +target_os
- +target_vendor
- +target_cpu
- +target
- +host_os
- +host_vendor
- +host_cpu
- +host
- +build_os
- +build_vendor
- +build_cpu
- +build
- +target_alias
- +host_alias
- +build_alias
- +LIBS
- +ECHO_T
- +ECHO_N
- +ECHO_C
- +DEFS
- +mandir
- +localedir
- +libdir
- +psdir
- +pdfdir
- +dvidir
- +htmldir
- +infodir
- +docdir
- +oldincludedir
- +includedir
- +localstatedir
- +sharedstatedir
- +sysconfdir
- +datadir
- +datarootdir
- +libexecdir
- +sbindir
- +bindir
- +program_transform_name
- +prefix
- +exec_prefix
- +PACKAGE_URL
- +PACKAGE_BUGREPORT
- +PACKAGE_STRING
- +PACKAGE_VERSION
- +PACKAGE_TARNAME
- +PACKAGE_NAME
- +PATH_SEPARATOR
- +SHELL'
- +ac_subst_files=''
- +ac_user_opts='
- +enable_option_checking
- +enable_silent_rules
- +enable_dependency_tracking
- +enable_maintainer_mode
- +enable_cpumining
- +enable_opencl
- +enable_adl
- +enable_bitforce
- +enable_icarus
- +enable_ztex
- +with_curses
- +with_libudev
- +'
- + ac_precious_vars='build_alias
- +host_alias
- +target_alias
- +CC
- +CFLAGS
- +LDFLAGS
- +LIBS
- +CPPFLAGS
- +CPP
- +PKG_CONFIG
- +PKG_CONFIG_PATH
- +PKG_CONFIG_LIBDIR
- +LIBCURL_CFLAGS
- +LIBCURL_LIBS'
- +
- +
- +# Initialize some variables set by options.
- +ac_init_help=
- +ac_init_version=false
- +ac_unrecognized_opts=
- +ac_unrecognized_sep=
- +# The variables have the same names as the options, with
- +# dashes changed to underlines.
- +cache_file=/dev/null
- +exec_prefix=NONE
- +no_create=
- +no_recursion=
- +prefix=NONE
- +program_prefix=NONE
- +program_suffix=NONE
- +program_transform_name=s,x,x,
- +silent=
- +site=
- +srcdir=
- +verbose=
- +x_includes=NONE
- +x_libraries=NONE
- +
- +# Installation directory options.
- +# These are left unexpanded so users can "make install exec_prefix=/foo"
- +# and all the variables that are supposed to be based on exec_prefix
- +# by default will actually change.
- +# Use braces instead of parens because sh, perl, etc. also accept them.
- +# (The list follows the same order as the GNU Coding Standards.)
- +bindir='${exec_prefix}/bin'
- +sbindir='${exec_prefix}/sbin'
- +libexecdir='${exec_prefix}/libexec'
- +datarootdir='${prefix}/share'
- +datadir='${datarootdir}'
- +sysconfdir='${prefix}/etc'
- +sharedstatedir='${prefix}/com'
- +localstatedir='${prefix}/var'
- +includedir='${prefix}/include'
- +oldincludedir='/usr/include'
- +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
- +infodir='${datarootdir}/info'
- +htmldir='${docdir}'
- +dvidir='${docdir}'
- +pdfdir='${docdir}'
- +psdir='${docdir}'
- +libdir='${exec_prefix}/lib'
- +localedir='${datarootdir}/locale'
- +mandir='${datarootdir}/man'
- +
- +ac_prev=
- +ac_dashdash=
- +for ac_option
- +do
- + # If the previous option needs an argument, assign it.
- + if test -n "$ac_prev"; then
- + eval $ac_prev=\$ac_option
- + ac_prev=
- + continue
- + fi
- +
- + case $ac_option in
- + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- + *=) ac_optarg= ;;
- + *) ac_optarg=yes ;;
- + esac
- +
- + # Accept the important Cygnus configure options, so we can diagnose typos.
- +
- + case $ac_dashdash$ac_option in
- + --)
- + ac_dashdash=yes ;;
- +
- + -bindir | --bindir | --bindi | --bind | --bin | --bi)
- + ac_prev=bindir ;;
- + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- + bindir=$ac_optarg ;;
- +
- + -build | --build | --buil | --bui | --bu)
- + ac_prev=build_alias ;;
- + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- + build_alias=$ac_optarg ;;
- +
- + -cache-file | --cache-file | --cache-fil | --cache-fi \
- + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- + ac_prev=cache_file ;;
- + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- + cache_file=$ac_optarg ;;
- +
- + --config-cache | -C)
- + cache_file=config.cache ;;
- +
- + -datadir | --datadir | --datadi | --datad)
- + ac_prev=datadir ;;
- + -datadir=* | --datadir=* | --datadi=* | --datad=*)
- + datadir=$ac_optarg ;;
- +
- + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- + | --dataroo | --dataro | --datar)
- + ac_prev=datarootdir ;;
- + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- + datarootdir=$ac_optarg ;;
- +
- + -disable-* | --disable-*)
- + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- + # Reject names that are not valid shell variable names.
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid feature name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"enable_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval enable_$ac_useropt=no ;;
- +
- + -docdir | --docdir | --docdi | --doc | --do)
- + ac_prev=docdir ;;
- + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- + docdir=$ac_optarg ;;
- +
- + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- + ac_prev=dvidir ;;
- + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- + dvidir=$ac_optarg ;;
- +
- + -enable-* | --enable-*)
- + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- + # Reject names that are not valid shell variable names.
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid feature name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"enable_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval enable_$ac_useropt=\$ac_optarg ;;
- +
- + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- + | --exec | --exe | --ex)
- + ac_prev=exec_prefix ;;
- + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- + | --exec=* | --exe=* | --ex=*)
- + exec_prefix=$ac_optarg ;;
- +
- + -gas | --gas | --ga | --g)
- + # Obsolete; use --with-gas.
- + with_gas=yes ;;
- +
- + -help | --help | --hel | --he | -h)
- + ac_init_help=long ;;
- + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- + ac_init_help=recursive ;;
- + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- + ac_init_help=short ;;
- +
- + -host | --host | --hos | --ho)
- + ac_prev=host_alias ;;
- + -host=* | --host=* | --hos=* | --ho=*)
- + host_alias=$ac_optarg ;;
- +
- + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- + ac_prev=htmldir ;;
- + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- + | --ht=*)
- + htmldir=$ac_optarg ;;
- +
- + -includedir | --includedir | --includedi | --included | --include \
- + | --includ | --inclu | --incl | --inc)
- + ac_prev=includedir ;;
- + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- + | --includ=* | --inclu=* | --incl=* | --inc=*)
- + includedir=$ac_optarg ;;
- +
- + -infodir | --infodir | --infodi | --infod | --info | --inf)
- + ac_prev=infodir ;;
- + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- + infodir=$ac_optarg ;;
- +
- + -libdir | --libdir | --libdi | --libd)
- + ac_prev=libdir ;;
- + -libdir=* | --libdir=* | --libdi=* | --libd=*)
- + libdir=$ac_optarg ;;
- +
- + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- + | --libexe | --libex | --libe)
- + ac_prev=libexecdir ;;
- + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- + | --libexe=* | --libex=* | --libe=*)
- + libexecdir=$ac_optarg ;;
- +
- + -localedir | --localedir | --localedi | --localed | --locale)
- + ac_prev=localedir ;;
- + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- + localedir=$ac_optarg ;;
- +
- + -localstatedir | --localstatedir | --localstatedi | --localstated \
- + | --localstate | --localstat | --localsta | --localst | --locals)
- + ac_prev=localstatedir ;;
- + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- + localstatedir=$ac_optarg ;;
- +
- + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- + ac_prev=mandir ;;
- + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- + mandir=$ac_optarg ;;
- +
- + -nfp | --nfp | --nf)
- + # Obsolete; use --without-fp.
- + with_fp=no ;;
- +
- + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- + | --no-cr | --no-c | -n)
- + no_create=yes ;;
- +
- + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- + no_recursion=yes ;;
- +
- + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- + | --oldin | --oldi | --old | --ol | --o)
- + ac_prev=oldincludedir ;;
- + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- + oldincludedir=$ac_optarg ;;
- +
- + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- + ac_prev=prefix ;;
- + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- + prefix=$ac_optarg ;;
- +
- + -program-prefix | --program-prefix | --program-prefi | --program-pref \
- + | --program-pre | --program-pr | --program-p)
- + ac_prev=program_prefix ;;
- + -program-prefix=* | --program-prefix=* | --program-prefi=* \
- + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- + program_prefix=$ac_optarg ;;
- +
- + -program-suffix | --program-suffix | --program-suffi | --program-suff \
- + | --program-suf | --program-su | --program-s)
- + ac_prev=program_suffix ;;
- + -program-suffix=* | --program-suffix=* | --program-suffi=* \
- + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- + program_suffix=$ac_optarg ;;
- +
- + -program-transform-name | --program-transform-name \
- + | --program-transform-nam | --program-transform-na \
- + | --program-transform-n | --program-transform- \
- + | --program-transform | --program-transfor \
- + | --program-transfo | --program-transf \
- + | --program-trans | --program-tran \
- + | --progr-tra | --program-tr | --program-t)
- + ac_prev=program_transform_name ;;
- + -program-transform-name=* | --program-transform-name=* \
- + | --program-transform-nam=* | --program-transform-na=* \
- + | --program-transform-n=* | --program-transform-=* \
- + | --program-transform=* | --program-transfor=* \
- + | --program-transfo=* | --program-transf=* \
- + | --program-trans=* | --program-tran=* \
- + | --progr-tra=* | --program-tr=* | --program-t=*)
- + program_transform_name=$ac_optarg ;;
- +
- + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- + ac_prev=pdfdir ;;
- + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- + pdfdir=$ac_optarg ;;
- +
- + -psdir | --psdir | --psdi | --psd | --ps)
- + ac_prev=psdir ;;
- + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- + psdir=$ac_optarg ;;
- +
- + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- + | -silent | --silent | --silen | --sile | --sil)
- + silent=yes ;;
- +
- + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- + ac_prev=sbindir ;;
- + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- + | --sbi=* | --sb=*)
- + sbindir=$ac_optarg ;;
- +
- + -sharedstatedir | --sharedstatedir | --sharedstatedi \
- + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- + | --sharedst | --shareds | --shared | --share | --shar \
- + | --sha | --sh)
- + ac_prev=sharedstatedir ;;
- + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- + | --sha=* | --sh=*)
- + sharedstatedir=$ac_optarg ;;
- +
- + -site | --site | --sit)
- + ac_prev=site ;;
- + -site=* | --site=* | --sit=*)
- + site=$ac_optarg ;;
- +
- + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- + ac_prev=srcdir ;;
- + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- + srcdir=$ac_optarg ;;
- +
- + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- + | --syscon | --sysco | --sysc | --sys | --sy)
- + ac_prev=sysconfdir ;;
- + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- + sysconfdir=$ac_optarg ;;
- +
- + -target | --target | --targe | --targ | --tar | --ta | --t)
- + ac_prev=target_alias ;;
- + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- + target_alias=$ac_optarg ;;
- +
- + -v | -verbose | --verbose | --verbos | --verbo | --verb)
- + verbose=yes ;;
- +
- + -version | --version | --versio | --versi | --vers | -V)
- + ac_init_version=: ;;
- +
- + -with-* | --with-*)
- + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- + # Reject names that are not valid shell variable names.
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid package name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"with_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval with_$ac_useropt=\$ac_optarg ;;
- +
- + -without-* | --without-*)
- + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- + # Reject names that are not valid shell variable names.
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid package name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"with_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval with_$ac_useropt=no ;;
- +
- + --x)
- + # Obsolete; use --with-x.
- + with_x=yes ;;
- +
- + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- + | --x-incl | --x-inc | --x-in | --x-i)
- + ac_prev=x_includes ;;
- + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- + x_includes=$ac_optarg ;;
- +
- + -x-libraries | --x-libraries | --x-librarie | --x-librari \
- + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- + ac_prev=x_libraries ;;
- + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- + x_libraries=$ac_optarg ;;
- +
- + -*) as_fn_error $? "unrecognized option: \`$ac_option'
- +Try \`$0 --help' for more information"
- + ;;
- +
- + *=*)
- + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- + # Reject names that are not valid shell variable names.
- + case $ac_envvar in #(
- + '' | [0-9]* | *[!_$as_cr_alnum]* )
- + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- + esac
- + eval $ac_envvar=\$ac_optarg
- + export $ac_envvar ;;
- +
- + *)
- + # FIXME: should be removed in autoconf 3.0.
- + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- + ;;
- +
- + esac
- +done
- +
- +if test -n "$ac_prev"; then
- + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- + as_fn_error $? "missing argument to $ac_option"
- +fi
- +
- +if test -n "$ac_unrecognized_opts"; then
- + case $enable_option_checking in
- + no) ;;
- + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- + esac
- +fi
- +
- +# Check all directory arguments for consistency.
- +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- + datadir sysconfdir sharedstatedir localstatedir includedir \
- + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- + libdir localedir mandir
- +do
- + eval ac_val=\$$ac_var
- + # Remove trailing slashes.
- + case $ac_val in
- + */ )
- + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- + eval $ac_var=\$ac_val;;
- + esac
- + # Be sure to have absolute directory names.
- + case $ac_val in
- + [\\/$]* | ?:[\\/]* ) continue;;
- + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- + esac
- + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
- +done
- +
- +# There might be people who depend on the old broken behavior: `$host'
- +# used to hold the argument of --host etc.
- +# FIXME: To remove some day.
- +build=$build_alias
- +host=$host_alias
- +target=$target_alias
- +
- +# FIXME: To remove some day.
- +if test "x$host_alias" != x; then
- + if test "x$build_alias" = x; then
- + cross_compiling=maybe
- + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- + If a cross compiler is detected then cross compile mode will be used" >&2
- + elif test "x$build_alias" != "x$host_alias"; then
- + cross_compiling=yes
- + fi
- +fi
- +
- +ac_tool_prefix=
- +test -n "$host_alias" && ac_tool_prefix=$host_alias-
- +
- +test "$silent" = yes && exec 6>/dev/null
- +
- +
- +ac_pwd=`pwd` && test -n "$ac_pwd" &&
- +ac_ls_di=`ls -di .` &&
- +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- + as_fn_error $? "working directory cannot be determined"
- +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- + as_fn_error $? "pwd does not report name of working directory"
- +
- +
- +# Find the source files, if location was not specified.
- +if test -z "$srcdir"; then
- + ac_srcdir_defaulted=yes
- + # Try the directory containing this script, then the parent directory.
- + ac_confdir=`$as_dirname -- "$as_myself" ||
- +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$as_myself" : 'X\(//\)[^/]' \| \
- + X"$as_myself" : 'X\(//\)$' \| \
- + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$as_myself" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + srcdir=$ac_confdir
- + if test ! -r "$srcdir/$ac_unique_file"; then
- + srcdir=..
- + fi
- +else
- + ac_srcdir_defaulted=no
- +fi
- +if test ! -r "$srcdir/$ac_unique_file"; then
- + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
- +fi
- +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
- +ac_abs_confdir=`(
- + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- + pwd)`
- +# When building in place, set srcdir=.
- +if test "$ac_abs_confdir" = "$ac_pwd"; then
- + srcdir=.
- +fi
- +# Remove unnecessary trailing slashes from srcdir.
- +# Double slashes in file names in object file debugging info
- +# mess up M-x gdb in Emacs.
- +case $srcdir in
- +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
- +esac
- +for ac_var in $ac_precious_vars; do
- + eval ac_env_${ac_var}_set=\${${ac_var}+set}
- + eval ac_env_${ac_var}_value=\$${ac_var}
- + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- + eval ac_cv_env_${ac_var}_value=\$${ac_var}
- +done
- +
- +#
- +# Report the --help message.
- +#
- +if test "$ac_init_help" = "long"; then
- + # Omit some internal or obsolete options to make the list less imposing.
- + # This message is too long to be a string in the A/UX 3.1 sh.
- + cat <<_ACEOF
- +\`configure' configures cgminer 2.4.1 to adapt to many kinds of systems.
- +
- +Usage: $0 [OPTION]... [VAR=VALUE]...
- +
- +To assign environment variables (e.g., CC, CFLAGS...), specify them as
- +VAR=VALUE. See below for descriptions of some of the useful variables.
- +
- +Defaults for the options are specified in brackets.
- +
- +Configuration:
- + -h, --help display this help and exit
- + --help=short display options specific to this package
- + --help=recursive display the short help of all the included packages
- + -V, --version display version information and exit
- + -q, --quiet, --silent do not print \`checking ...' messages
- + --cache-file=FILE cache test results in FILE [disabled]
- + -C, --config-cache alias for \`--cache-file=config.cache'
- + -n, --no-create do not create output files
- + --srcdir=DIR find the sources in DIR [configure dir or \`..']
- +
- +Installation directories:
- + --prefix=PREFIX install architecture-independent files in PREFIX
- + [$ac_default_prefix]
- + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- + [PREFIX]
- +
- +By default, \`make install' will install all the files in
- +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
- +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
- +for instance \`--prefix=\$HOME'.
- +
- +For better control, use the options below.
- +
- +Fine tuning of the installation directories:
- + --bindir=DIR user executables [EPREFIX/bin]
- + --sbindir=DIR system admin executables [EPREFIX/sbin]
- + --libexecdir=DIR program executables [EPREFIX/libexec]
- + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- + --libdir=DIR object code libraries [EPREFIX/lib]
- + --includedir=DIR C header files [PREFIX/include]
- + --oldincludedir=DIR C header files for non-gcc [/usr/include]
- + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- + --infodir=DIR info documentation [DATAROOTDIR/info]
- + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- + --mandir=DIR man documentation [DATAROOTDIR/man]
- + --docdir=DIR documentation root [DATAROOTDIR/doc/cgminer]
- + --htmldir=DIR html documentation [DOCDIR]
- + --dvidir=DIR dvi documentation [DOCDIR]
- + --pdfdir=DIR pdf documentation [DOCDIR]
- + --psdir=DIR ps documentation [DOCDIR]
- +_ACEOF
- +
- + cat <<\_ACEOF
- +
- +Program names:
- + --program-prefix=PREFIX prepend PREFIX to installed program names
- + --program-suffix=SUFFIX append SUFFIX to installed program names
- + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
- +
- +System types:
- + --build=BUILD configure for building on BUILD [guessed]
- + --host=HOST cross-compile to build programs to run on HOST [BUILD]
- + --target=TARGET configure for building compilers for TARGET [HOST]
- +_ACEOF
- +fi
- +
- +if test -n "$ac_init_help"; then
- + case $ac_init_help in
- + short | recursive ) echo "Configuration of cgminer 2.4.1:";;
- + esac
- + cat <<\_ACEOF
- +
- +Optional Features:
- + --disable-option-checking ignore unrecognized --enable/--with options
- + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- + --enable-silent-rules less verbose build output (undo: `make V=1')
- + --disable-silent-rules verbose build output (undo: `make V=0')
- + --disable-dependency-tracking speeds up one-time build
- + --enable-dependency-tracking do not reject slow dependency extractors
- + --enable-maintainer-mode enable make rules and dependencies not useful
- + (and sometimes confusing) to the casual installer
- + --enable-cpumining Build with cpu mining support(default disabled)
- + --disable-opencl Override detection and disable building with opencl
- + --disable-adl Override detection and disable building with adl
- + --enable-bitforce Compile support for BitForce FPGAs(default disabled)
- + --enable-icarus Compile support for Icarus (default disabled)
- + --enable-ztex Compile support for Ztex (default disabled)
- +
- +Optional Packages:
- + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- + --without-curses Compile support for curses TUI (default enabled)
- + --without-libudev Autodetect FPGAs using libudev (default enabled)
- +
- +Some influential environment variables:
- + CC C compiler command
- + CFLAGS C compiler flags
- + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
- + nonstandard directory <lib dir>
- + LIBS libraries to pass to the linker, e.g. -l<library>
- + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
- + you have headers in a nonstandard directory <include dir>
- + CPP C preprocessor
- + PKG_CONFIG path to pkg-config utility
- + PKG_CONFIG_PATH
- + directories to add to pkg-config's search path
- + PKG_CONFIG_LIBDIR
- + path overriding pkg-config's built-in search path
- + LIBCURL_CFLAGS
- + C compiler flags for LIBCURL, overriding pkg-config
- + LIBCURL_LIBS
- + linker flags for LIBCURL, overriding pkg-config
- +
- +Use these variables to override the choices made by `configure' or to help
- +it to find libraries and programs with nonstandard names/locations.
- +
- +Report bugs to <kernel@kolivas.org>.
- +_ACEOF
- +ac_status=$?
- +fi
- +
- +if test "$ac_init_help" = "recursive"; then
- + # If there are subdirs, report their specific --help.
- + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- + test -d "$ac_dir" ||
- + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- + continue
- + ac_builddir=.
- +
- +case "$ac_dir" in
- +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- +*)
- + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- + # A ".." for each directory in $ac_dir_suffix.
- + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- + case $ac_top_builddir_sub in
- + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- + esac ;;
- +esac
- +ac_abs_top_builddir=$ac_pwd
- +ac_abs_builddir=$ac_pwd$ac_dir_suffix
- +# for backward compatibility:
- +ac_top_builddir=$ac_top_build_prefix
- +
- +case $srcdir in
- + .) # We are building in place.
- + ac_srcdir=.
- + ac_top_srcdir=$ac_top_builddir_sub
- + ac_abs_top_srcdir=$ac_pwd ;;
- + [\\/]* | ?:[\\/]* ) # Absolute name.
- + ac_srcdir=$srcdir$ac_dir_suffix;
- + ac_top_srcdir=$srcdir
- + ac_abs_top_srcdir=$srcdir ;;
- + *) # Relative name.
- + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- + ac_top_srcdir=$ac_top_build_prefix$srcdir
- + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
- +esac
- +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
- +
- + cd "$ac_dir" || { ac_status=$?; continue; }
- + # Check for guested configure.
- + if test -f "$ac_srcdir/configure.gnu"; then
- + echo &&
- + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- + elif test -f "$ac_srcdir/configure"; then
- + echo &&
- + $SHELL "$ac_srcdir/configure" --help=recursive
- + else
- + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- + fi || ac_status=$?
- + cd "$ac_pwd" || { ac_status=$?; break; }
- + done
- +fi
- +
- +test -n "$ac_init_help" && exit $ac_status
- +if $ac_init_version; then
- + cat <<\_ACEOF
- +cgminer configure 2.4.1
- +generated by GNU Autoconf 2.68
- +
- +Copyright (C) 2010 Free Software Foundation, Inc.
- +This configure script is free software; the Free Software Foundation
- +gives unlimited permission to copy, distribute and modify it.
- +_ACEOF
- + exit
- +fi
- +
- +## ------------------------ ##
- +## Autoconf initialization. ##
- +## ------------------------ ##
- +
- +# ac_fn_c_try_compile LINENO
- +# --------------------------
- +# Try to compile conftest.$ac_ext, and return whether this succeeded.
- +ac_fn_c_try_compile ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + rm -f conftest.$ac_objext
- + if { { ac_try="$ac_compile"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_compile") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + grep -v '^ *+' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + mv -f conftest.er1 conftest.err
- + fi
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } && {
- + test -z "$ac_c_werror_flag" ||
- + test ! -s conftest.err
- + } && test -s conftest.$ac_objext; then :
- + ac_retval=0
- +else
- + $as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- + ac_retval=1
- +fi
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- + as_fn_set_status $ac_retval
- +
- +} # ac_fn_c_try_compile
- +
- +# ac_fn_c_try_cpp LINENO
- +# ----------------------
- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
- +ac_fn_c_try_cpp ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + if { { ac_try="$ac_cpp conftest.$ac_ext"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + grep -v '^ *+' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + mv -f conftest.er1 conftest.err
- + fi
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } > conftest.i && {
- + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- + test ! -s conftest.err
- + }; then :
- + ac_retval=0
- +else
- + $as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- + ac_retval=1
- +fi
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- + as_fn_set_status $ac_retval
- +
- +} # ac_fn_c_try_cpp
- +
- +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
- +# -------------------------------------------------------
- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
- +# the include files in INCLUDES and setting the cache variable VAR
- +# accordingly.
- +ac_fn_c_check_header_mongrel ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + if eval \${$3+:} false; then :
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
- +$as_echo_n "checking for $2... " >&6; }
- +if eval \${$3+:} false; then :
- + $as_echo_n "(cached) " >&6
- +fi
- +eval ac_res=\$$3
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- +else
- + # Is the header compilable?
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
- +$as_echo_n "checking $2 usability... " >&6; }
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +#include <$2>
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_header_compiler=yes
- +else
- + ac_header_compiler=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
- +$as_echo "$ac_header_compiler" >&6; }
- +
- +# Is the header present?
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
- +$as_echo_n "checking $2 presence... " >&6; }
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <$2>
- +_ACEOF
- +if ac_fn_c_try_cpp "$LINENO"; then :
- + ac_header_preproc=yes
- +else
- + ac_header_preproc=no
- +fi
- +rm -f conftest.err conftest.i conftest.$ac_ext
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
- +$as_echo "$ac_header_preproc" >&6; }
- +
- +# So? What about this header?
- +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
- + yes:no: )
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
- +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
- +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
- + ;;
- + no:yes:* )
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
- +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
- +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
- +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
- +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
- +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
- +( $as_echo "## --------------------------------- ##
- +## Report this to kernel@kolivas.org ##
- +## --------------------------------- ##"
- + ) | sed "s/^/$as_me: WARNING: /" >&2
- + ;;
- +esac
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
- +$as_echo_n "checking for $2... " >&6; }
- +if eval \${$3+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + eval "$3=\$ac_header_compiler"
- +fi
- +eval ac_res=\$$3
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- +fi
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- +
- +} # ac_fn_c_check_header_mongrel
- +
- +# ac_fn_c_try_run LINENO
- +# ----------------------
- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
- +# that executables *can* be run.
- +ac_fn_c_try_run ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + if { { ac_try="$ac_link"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_link") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
- + { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; }; then :
- + ac_retval=0
- +else
- + $as_echo "$as_me: program exited with status $ac_status" >&5
- + $as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- + ac_retval=$ac_status
- +fi
- + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- + as_fn_set_status $ac_retval
- +
- +} # ac_fn_c_try_run
- +
- +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
- +# -------------------------------------------------------
- +# Tests whether HEADER exists and can be compiled using the include files in
- +# INCLUDES, setting the cache variable VAR accordingly.
- +ac_fn_c_check_header_compile ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
- +$as_echo_n "checking for $2... " >&6; }
- +if eval \${$3+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +#include <$2>
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval "$3=yes"
- +else
- + eval "$3=no"
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +eval ac_res=\$$3
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- +
- +} # ac_fn_c_check_header_compile
- +
- +# ac_fn_c_try_link LINENO
- +# -----------------------
- +# Try to link conftest.$ac_ext, and return whether this succeeded.
- +ac_fn_c_try_link ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + rm -f conftest.$ac_objext conftest$ac_exeext
- + if { { ac_try="$ac_link"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_link") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + grep -v '^ *+' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + mv -f conftest.er1 conftest.err
- + fi
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } && {
- + test -z "$ac_c_werror_flag" ||
- + test ! -s conftest.err
- + } && test -s conftest$ac_exeext && {
- + test "$cross_compiling" = yes ||
- + $as_test_x conftest$ac_exeext
- + }; then :
- + ac_retval=0
- +else
- + $as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- + ac_retval=1
- +fi
- + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
- + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
- + # interfere with the next link command; also delete a directory that is
- + # left behind by Apple's compiler. We do this before executing the actions.
- + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- + as_fn_set_status $ac_retval
- +
- +} # ac_fn_c_try_link
- +
- +# ac_fn_c_check_func LINENO FUNC VAR
- +# ----------------------------------
- +# Tests whether FUNC exists, setting the cache variable VAR accordingly
- +ac_fn_c_check_func ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
- +$as_echo_n "checking for $2... " >&6; }
- +if eval \${$3+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
- + For example, HP-UX 11i <limits.h> declares gettimeofday. */
- +#define $2 innocuous_$2
- +
- +/* System header to define __stub macros and hopefully few prototypes,
- + which can conflict with char $2 (); below.
- + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- + <limits.h> exists even on freestanding compilers. */
- +
- +#ifdef __STDC__
- +# include <limits.h>
- +#else
- +# include <assert.h>
- +#endif
- +
- +#undef $2
- +
- +/* Override any GCC internal prototype to avoid an error.
- + Use char because int might match the return type of a GCC
- + builtin and then its argument prototype would still apply. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +char $2 ();
- +/* The GNU C library defines this for functions which it implements
- + to always fail with ENOSYS. Some functions are actually named
- + something starting with __ and the normal name is an alias. */
- +#if defined __stub_$2 || defined __stub___$2
- +choke me
- +#endif
- +
- +int
- +main ()
- +{
- +return $2 ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- + eval "$3=yes"
- +else
- + eval "$3=no"
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +fi
- +eval ac_res=\$$3
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- +
- +} # ac_fn_c_check_func
- +
- +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
- +# ---------------------------------------------
- +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
- +# accordingly.
- +ac_fn_c_check_decl ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + as_decl_name=`echo $2|sed 's/ *(.*//'`
- + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
- +$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
- +if eval \${$3+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +#ifndef $as_decl_name
- +#ifdef __cplusplus
- + (void) $as_decl_use;
- +#else
- + (void) $as_decl_name;
- +#endif
- +#endif
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval "$3=yes"
- +else
- + eval "$3=no"
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +eval ac_res=\$$3
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- +
- +} # ac_fn_c_check_decl
- +
- +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
- +# ----------------------------------------------------
- +# Tries to find if the field MEMBER exists in type AGGR, after including
- +# INCLUDES, setting cache variable VAR accordingly.
- +ac_fn_c_check_member ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
- +$as_echo_n "checking for $2.$3... " >&6; }
- +if eval \${$4+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$5
- +int
- +main ()
- +{
- +static $2 ac_aggr;
- +if (ac_aggr.$3)
- +return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval "$4=yes"
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$5
- +int
- +main ()
- +{
- +static $2 ac_aggr;
- +if (sizeof ac_aggr.$3)
- +return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval "$4=yes"
- +else
- + eval "$4=no"
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +eval ac_res=\$$4
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- +
- +} # ac_fn_c_check_member
- +
- +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
- +# -------------------------------------------
- +# Tests whether TYPE exists after having included INCLUDES, setting cache
- +# variable VAR accordingly.
- +ac_fn_c_check_type ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
- +$as_echo_n "checking for $2... " >&6; }
- +if eval \${$3+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + eval "$3=no"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +if (sizeof ($2))
- + return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +if (sizeof (($2)))
- + return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +else
- + eval "$3=yes"
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +eval ac_res=\$$3
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- +
- +} # ac_fn_c_check_type
- +
- +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
- +# --------------------------------------------
- +# Tries to find the compile-time value of EXPR in a program that includes
- +# INCLUDES, setting VAR accordingly. Returns whether the value could be
- +# computed
- +ac_fn_c_compute_int ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + if test "$cross_compiling" = yes; then
- + # Depending upon the size, compute the lo and hi bounds.
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(($2) >= 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_lo=0 ac_mid=0
- + while :; do
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_hi=$ac_mid; break
- +else
- + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
- + if test $ac_lo -le $ac_mid; then
- + ac_lo= ac_hi=
- + break
- + fi
- + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + done
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(($2) < 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_hi=-1 ac_mid=-1
- + while :; do
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_lo=$ac_mid; break
- +else
- + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
- + if test $ac_mid -le $ac_hi; then
- + ac_lo= ac_hi=
- + break
- + fi
- + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + done
- +else
- + ac_lo= ac_hi=
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +# Binary search between lo and hi bounds.
- +while test "x$ac_lo" != "x$ac_hi"; do
- + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_hi=$ac_mid
- +else
- + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +done
- +case $ac_lo in #((
- +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
- +'') ac_retval=1 ;;
- +esac
- + else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$4
- +static long int longval () { return $2; }
- +static unsigned long int ulongval () { return $2; }
- +#include <stdio.h>
- +#include <stdlib.h>
- +int
- +main ()
- +{
- +
- + FILE *f = fopen ("conftest.val", "w");
- + if (! f)
- + return 1;
- + if (($2) < 0)
- + {
- + long int i = longval ();
- + if (i != ($2))
- + return 1;
- + fprintf (f, "%ld", i);
- + }
- + else
- + {
- + unsigned long int i = ulongval ();
- + if (i != ($2))
- + return 1;
- + fprintf (f, "%lu", i);
- + }
- + /* Do not output a trailing newline, as this causes \r\n confusion
- + on some platforms. */
- + return ferror (f) || fclose (f) != 0;
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
- +else
- + ac_retval=1
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +rm -f conftest.val
- +
- + fi
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- + as_fn_set_status $ac_retval
- +
- +} # ac_fn_c_compute_int
- +cat >config.log <<_ACEOF
- +This file contains any messages produced by compilers while
- +running configure, to aid debugging if configure makes a mistake.
- +
- +It was created by cgminer $as_me 2.4.1, which was
- +generated by GNU Autoconf 2.68. Invocation command line was
- +
- + $ $0 $@
- +
- +_ACEOF
- +exec 5>>config.log
- +{
- +cat <<_ASUNAME
- +## --------- ##
- +## Platform. ##
- +## --------- ##
- +
- +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
- +uname -m = `(uname -m) 2>/dev/null || echo unknown`
- +uname -r = `(uname -r) 2>/dev/null || echo unknown`
- +uname -s = `(uname -s) 2>/dev/null || echo unknown`
- +uname -v = `(uname -v) 2>/dev/null || echo unknown`
- +
- +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
- +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
- +
- +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
- +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
- +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
- +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
- +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
- +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
- +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
- +
- +_ASUNAME
- +
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + $as_echo "PATH: $as_dir"
- + done
- +IFS=$as_save_IFS
- +
- +} >&5
- +
- +cat >&5 <<_ACEOF
- +
- +
- +## ----------- ##
- +## Core tests. ##
- +## ----------- ##
- +
- +_ACEOF
- +
- +
- +# Keep a trace of the command line.
- +# Strip out --no-create and --no-recursion so they do not pile up.
- +# Strip out --silent because we don't want to record it for future runs.
- +# Also quote any args containing shell meta-characters.
- +# Make two passes to allow for proper duplicate-argument suppression.
- +ac_configure_args=
- +ac_configure_args0=
- +ac_configure_args1=
- +ac_must_keep_next=false
- +for ac_pass in 1 2
- +do
- + for ac_arg
- + do
- + case $ac_arg in
- + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- + | -silent | --silent | --silen | --sile | --sil)
- + continue ;;
- + *\'*)
- + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- + esac
- + case $ac_pass in
- + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- + 2)
- + as_fn_append ac_configure_args1 " '$ac_arg'"
- + if test $ac_must_keep_next = true; then
- + ac_must_keep_next=false # Got value, back to normal.
- + else
- + case $ac_arg in
- + *=* | --config-cache | -C | -disable-* | --disable-* \
- + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- + | -with-* | --with-* | -without-* | --without-* | --x)
- + case "$ac_configure_args0 " in
- + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- + esac
- + ;;
- + -* ) ac_must_keep_next=true ;;
- + esac
- + fi
- + as_fn_append ac_configure_args " '$ac_arg'"
- + ;;
- + esac
- + done
- +done
- +{ ac_configure_args0=; unset ac_configure_args0;}
- +{ ac_configure_args1=; unset ac_configure_args1;}
- +
- +# When interrupted or exit'd, cleanup temporary files, and complete
- +# config.log. We remove comments because anyway the quotes in there
- +# would cause problems or look ugly.
- +# WARNING: Use '\'' to represent an apostrophe within the trap.
- +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
- +trap 'exit_status=$?
- + # Save into config.log some information that might help in debugging.
- + {
- + echo
- +
- + $as_echo "## ---------------- ##
- +## Cache variables. ##
- +## ---------------- ##"
- + echo
- + # The following way of writing the cache mishandles newlines in values,
- +(
- + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- + eval ac_val=\$$ac_var
- + case $ac_val in #(
- + *${as_nl}*)
- + case $ac_var in #(
- + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
- +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- + esac
- + case $ac_var in #(
- + _ | IFS | as_nl) ;; #(
- + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- + *) { eval $ac_var=; unset $ac_var;} ;;
- + esac ;;
- + esac
- + done
- + (set) 2>&1 |
- + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- + *${as_nl}ac_space=\ *)
- + sed -n \
- + "s/'\''/'\''\\\\'\'''\''/g;
- + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- + ;; #(
- + *)
- + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- + ;;
- + esac |
- + sort
- +)
- + echo
- +
- + $as_echo "## ----------------- ##
- +## Output variables. ##
- +## ----------------- ##"
- + echo
- + for ac_var in $ac_subst_vars
- + do
- + eval ac_val=\$$ac_var
- + case $ac_val in
- + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- + esac
- + $as_echo "$ac_var='\''$ac_val'\''"
- + done | sort
- + echo
- +
- + if test -n "$ac_subst_files"; then
- + $as_echo "## ------------------- ##
- +## File substitutions. ##
- +## ------------------- ##"
- + echo
- + for ac_var in $ac_subst_files
- + do
- + eval ac_val=\$$ac_var
- + case $ac_val in
- + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- + esac
- + $as_echo "$ac_var='\''$ac_val'\''"
- + done | sort
- + echo
- + fi
- +
- + if test -s confdefs.h; then
- + $as_echo "## ----------- ##
- +## confdefs.h. ##
- +## ----------- ##"
- + echo
- + cat confdefs.h
- + echo
- + fi
- + test "$ac_signal" != 0 &&
- + $as_echo "$as_me: caught signal $ac_signal"
- + $as_echo "$as_me: exit $exit_status"
- + } >&5
- + rm -f core *.core core.conftest.* &&
- + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- + exit $exit_status
- +' 0
- +for ac_signal in 1 2 13 15; do
- + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
- +done
- +ac_signal=0
- +
- +# confdefs.h avoids OS command line length limits that DEFS can exceed.
- +rm -f -r conftest* confdefs.h
- +
- +$as_echo "/* confdefs.h */" > confdefs.h
- +
- +# Predefined preprocessor variables.
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_NAME "$PACKAGE_NAME"
- +_ACEOF
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
- +_ACEOF
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_VERSION "$PACKAGE_VERSION"
- +_ACEOF
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_STRING "$PACKAGE_STRING"
- +_ACEOF
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
- +_ACEOF
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_URL "$PACKAGE_URL"
- +_ACEOF
- +
- +
- +# Let the site file select an alternate cache file if it wants to.
- +# Prefer an explicitly selected file to automatically selected ones.
- +ac_site_file1=NONE
- +ac_site_file2=NONE
- +if test -n "$CONFIG_SITE"; then
- + # We do not want a PATH search for config.site.
- + case $CONFIG_SITE in #((
- + -*) ac_site_file1=./$CONFIG_SITE;;
- + */*) ac_site_file1=$CONFIG_SITE;;
- + *) ac_site_file1=./$CONFIG_SITE;;
- + esac
- +elif test "x$prefix" != xNONE; then
- + ac_site_file1=$prefix/share/config.site
- + ac_site_file2=$prefix/etc/config.site
- +else
- + ac_site_file1=$ac_default_prefix/share/config.site
- + ac_site_file2=$ac_default_prefix/etc/config.site
- +fi
- +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
- +do
- + test "x$ac_site_file" = xNONE && continue
- + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
- +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- + sed 's/^/| /' "$ac_site_file" >&5
- + . "$ac_site_file" \
- + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "failed to load site script $ac_site_file
- +See \`config.log' for more details" "$LINENO" 5; }
- + fi
- +done
- +
- +if test -r "$cache_file"; then
- + # Some versions of bash will fail to source /dev/null (special files
- + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
- +$as_echo "$as_me: loading cache $cache_file" >&6;}
- + case $cache_file in
- + [\\/]* | ?:[\\/]* ) . "$cache_file";;
- + *) . "./$cache_file";;
- + esac
- + fi
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
- +$as_echo "$as_me: creating cache $cache_file" >&6;}
- + >$cache_file
- +fi
- +
- +gl_header_list="$gl_header_list sys/mman.h"
- +gl_func_list="$gl_func_list mprotect"
- +gl_func_list="$gl_func_list sigaction"
- +gl_func_list="$gl_func_list sigaltstack"
- +gl_func_list="$gl_func_list siginterrupt"
- +gl_header_list="$gl_header_list wchar.h"
- +gl_header_list="$gl_header_list stdint.h"
- +# Check that the precious variables saved in the cache have kept the same
- +# value.
- +ac_cache_corrupted=false
- +for ac_var in $ac_precious_vars; do
- + eval ac_old_set=\$ac_cv_env_${ac_var}_set
- + eval ac_new_set=\$ac_env_${ac_var}_set
- + eval ac_old_val=\$ac_cv_env_${ac_var}_value
- + eval ac_new_val=\$ac_env_${ac_var}_value
- + case $ac_old_set,$ac_new_set in
- + set,)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
- +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- + ac_cache_corrupted=: ;;
- + ,set)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
- +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- + ac_cache_corrupted=: ;;
- + ,);;
- + *)
- + if test "x$ac_old_val" != "x$ac_new_val"; then
- + # differences in whitespace do not lead to failure.
- + ac_old_val_w=`echo x $ac_old_val`
- + ac_new_val_w=`echo x $ac_new_val`
- + if test "$ac_old_val_w" != "$ac_new_val_w"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
- +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- + ac_cache_corrupted=:
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
- +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- + eval $ac_var=\$ac_old_val
- + fi
- + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
- +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
- +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- + fi;;
- + esac
- + # Pass precious variables to config.status.
- + if test "$ac_new_set" = set; then
- + case $ac_new_val in
- + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- + *) ac_arg=$ac_var=$ac_new_val ;;
- + esac
- + case " $ac_configure_args " in
- + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- + esac
- + fi
- +done
- +if $ac_cache_corrupted; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
- +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
- +fi
- +## -------------------- ##
- +## Main body of script. ##
- +## -------------------- ##
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +
- +
- +
- +
- +ac_aux_dir=
- +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- + if test -f "$ac_dir/install-sh"; then
- + ac_aux_dir=$ac_dir
- + ac_install_sh="$ac_aux_dir/install-sh -c"
- + break
- + elif test -f "$ac_dir/install.sh"; then
- + ac_aux_dir=$ac_dir
- + ac_install_sh="$ac_aux_dir/install.sh -c"
- + break
- + elif test -f "$ac_dir/shtool"; then
- + ac_aux_dir=$ac_dir
- + ac_install_sh="$ac_aux_dir/shtool install -c"
- + break
- + fi
- +done
- +if test -z "$ac_aux_dir"; then
- + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
- +fi
- +
- +# These three variables are undocumented and unsupported,
- +# and are intended to be withdrawn in a future Autoconf release.
- +# They can cause serious problems if a builder's source tree is in a directory
- +# whose full name contains unusual characters.
- +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
- +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
- +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
- +
- +
- +# Make sure we can run config.sub.
- +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
- +$as_echo_n "checking build system type... " >&6; }
- +if ${ac_cv_build+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_build_alias=$build_alias
- +test "x$ac_build_alias" = x &&
- + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
- +test "x$ac_build_alias" = x &&
- + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
- +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
- +$as_echo "$ac_cv_build" >&6; }
- +case $ac_cv_build in
- +*-*-*) ;;
- +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
- +esac
- +build=$ac_cv_build
- +ac_save_IFS=$IFS; IFS='-'
- +set x $ac_cv_build
- +shift
- +build_cpu=$1
- +build_vendor=$2
- +shift; shift
- +# Remember, the first character of IFS is used to create $*,
- +# except with old shells:
- +build_os=$*
- +IFS=$ac_save_IFS
- +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
- +$as_echo_n "checking host system type... " >&6; }
- +if ${ac_cv_host+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test "x$host_alias" = x; then
- + ac_cv_host=$ac_cv_build
- +else
- + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
- +fi
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
- +$as_echo "$ac_cv_host" >&6; }
- +case $ac_cv_host in
- +*-*-*) ;;
- +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
- +esac
- +host=$ac_cv_host
- +ac_save_IFS=$IFS; IFS='-'
- +set x $ac_cv_host
- +shift
- +host_cpu=$1
- +host_vendor=$2
- +shift; shift
- +# Remember, the first character of IFS is used to create $*,
- +# except with old shells:
- +host_os=$*
- +IFS=$ac_save_IFS
- +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
- +$as_echo_n "checking target system type... " >&6; }
- +if ${ac_cv_target+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test "x$target_alias" = x; then
- + ac_cv_target=$ac_cv_host
- +else
- + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
- +fi
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
- +$as_echo "$ac_cv_target" >&6; }
- +case $ac_cv_target in
- +*-*-*) ;;
- +*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
- +esac
- +target=$ac_cv_target
- +ac_save_IFS=$IFS; IFS='-'
- +set x $ac_cv_target
- +shift
- +target_cpu=$1
- +target_vendor=$2
- +shift; shift
- +# Remember, the first character of IFS is used to create $*,
- +# except with old shells:
- +target_os=$*
- +IFS=$ac_save_IFS
- +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
- +
- +
- +# The aliases save the names the user supplied, while $host etc.
- +# will get canonicalized.
- +test -n "$target_alias" &&
- + test "$program_prefix$program_suffix$program_transform_name" = \
- + NONENONEs,x,x, &&
- + program_prefix=${target_alias}-
- +
- +
- +
- +ac_config_headers="$ac_config_headers config.h"
- +
- +
- +am__api_version='1.11'
- +
- +# Find a good install program. We prefer a C program (faster),
- +# so one script is as good as another. But avoid the broken or
- +# incompatible versions:
- +# SysV /etc/install, /usr/sbin/install
- +# SunOS /usr/etc/install
- +# IRIX /sbin/install
- +# AIX /bin/install
- +# AmigaOS /C/install, which installs bootblocks on floppy discs
- +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
- +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
- +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- +# OS/2's system install, which has a completely different semantic
- +# ./install, which can be erroneously created by make from ./install.sh.
- +# Reject install programs that cannot install multiple files.
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
- +$as_echo_n "checking for a BSD-compatible install... " >&6; }
- +if test -z "$INSTALL"; then
- +if ${ac_cv_path_install+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + # Account for people who put trailing slashes in PATH elements.
- +case $as_dir/ in #((
- + ./ | .// | /[cC]/* | \
- + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- + /usr/ucb/* ) ;;
- + *)
- + # OSF1 and SCO ODT 3.0 have their own names for install.
- + # Don't use installbsd from OSF since it installs stuff as root
- + # by default.
- + for ac_prog in ginstall scoinst install; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- + if test $ac_prog = install &&
- + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- + # AIX install. It has an incompatible calling convention.
- + :
- + elif test $ac_prog = install &&
- + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- + # program-specific install script used by HP pwplus--don't use.
- + :
- + else
- + rm -rf conftest.one conftest.two conftest.dir
- + echo one > conftest.one
- + echo two > conftest.two
- + mkdir conftest.dir
- + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- + test -s conftest.one && test -s conftest.two &&
- + test -s conftest.dir/conftest.one &&
- + test -s conftest.dir/conftest.two
- + then
- + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- + break 3
- + fi
- + fi
- + fi
- + done
- + done
- + ;;
- +esac
- +
- + done
- +IFS=$as_save_IFS
- +
- +rm -rf conftest.one conftest.two conftest.dir
- +
- +fi
- + if test "${ac_cv_path_install+set}" = set; then
- + INSTALL=$ac_cv_path_install
- + else
- + # As a last resort, use the slow shell script. Don't cache a
- + # value for INSTALL within a source directory, because that will
- + # break other packages using the cache if that directory is
- + # removed, or if the value is a relative name.
- + INSTALL=$ac_install_sh
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
- +$as_echo "$INSTALL" >&6; }
- +
- +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
- +# It thinks the first close brace ends the variable substitution.
- +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
- +
- +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
- +
- +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
- +$as_echo_n "checking whether build environment is sane... " >&6; }
- +# Just in case
- +sleep 1
- +echo timestamp > conftest.file
- +# Reject unsafe characters in $srcdir or the absolute working directory
- +# name. Accept space and tab only in the latter.
- +am_lf='
- +'
- +case `pwd` in
- + *[\\\"\#\$\&\'\`$am_lf]*)
- + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
- +esac
- +case $srcdir in
- + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
- +esac
- +
- +# Do `set' in a subshell so we don't clobber the current shell's
- +# arguments. Must try -L first in case configure is actually a
- +# symlink; some systems play weird games with the mod time of symlinks
- +# (eg FreeBSD returns the mod time of the symlink's containing
- +# directory).
- +if (
- + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- + if test "$*" = "X"; then
- + # -L didn't work.
- + set X `ls -t "$srcdir/configure" conftest.file`
- + fi
- + rm -f conftest.file
- + if test "$*" != "X $srcdir/configure conftest.file" \
- + && test "$*" != "X conftest.file $srcdir/configure"; then
- +
- + # If neither matched, then we have a broken ls. This can happen
- + # if, for instance, CONFIG_SHELL is bash and it inherits a
- + # broken ls alias from the environment. This has actually
- + # happened. Such a system could not be considered "sane".
- + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
- +alias in your environment" "$LINENO" 5
- + fi
- +
- + test "$2" = conftest.file
- + )
- +then
- + # Ok.
- + :
- +else
- + as_fn_error $? "newly created file is older than distributed files!
- +Check your system clock" "$LINENO" 5
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +test "$program_prefix" != NONE &&
- + program_transform_name="s&^&$program_prefix&;$program_transform_name"
- +# Use a double $ so make ignores it.
- +test "$program_suffix" != NONE &&
- + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
- +# Double any \ or $.
- +# By default was `s,x,x', remove it if useless.
- +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
- +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
- +
- +# expand $ac_aux_dir to an absolute path
- +am_aux_dir=`cd $ac_aux_dir && pwd`
- +
- +if test x"${MISSING+set}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- + *)
- + MISSING="\${SHELL} $am_aux_dir/missing" ;;
- + esac
- +fi
- +# Use eval to expand $SHELL
- +if eval "$MISSING --run true"; then
- + am_missing_run="$MISSING --run "
- +else
- + am_missing_run=
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
- +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
- +fi
- +
- +if test x"${install_sh}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- + *)
- + install_sh="\${SHELL} $am_aux_dir/install-sh"
- + esac
- +fi
- +
- +# Installed binaries are usually stripped using `strip' when the user
- +# run `make install-strip'. However `strip' might not be the right
- +# tool to use in cross-compilation environments, therefore Automake
- +# will honor the `STRIP' environment variable to overrule this program.
- +if test "$cross_compiling" != no; then
- + if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}strip; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_STRIP+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$STRIP"; then
- + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +STRIP=$ac_cv_prog_STRIP
- +if test -n "$STRIP"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
- +$as_echo "$STRIP" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$ac_cv_prog_STRIP"; then
- + ac_ct_STRIP=$STRIP
- + # Extract the first word of "strip", so it can be a program name with args.
- +set dummy strip; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$ac_ct_STRIP"; then
- + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_ac_ct_STRIP="strip"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
- +if test -n "$ac_ct_STRIP"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
- +$as_echo "$ac_ct_STRIP" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- + if test "x$ac_ct_STRIP" = x; then
- + STRIP=":"
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + STRIP=$ac_ct_STRIP
- + fi
- +else
- + STRIP="$ac_cv_prog_STRIP"
- +fi
- +
- +fi
- +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
- +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
- +if test -z "$MKDIR_P"; then
- + if ${ac_cv_path_mkdir+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in mkdir gmkdir; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
- + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- + 'mkdir (GNU coreutils) '* | \
- + 'mkdir (coreutils) '* | \
- + 'mkdir (fileutils) '4.1*)
- + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
- + break 3;;
- + esac
- + done
- + done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +
- + test -d ./--version && rmdir ./--version
- + if test "${ac_cv_path_mkdir+set}" = set; then
- + MKDIR_P="$ac_cv_path_mkdir -p"
- + else
- + # As a last resort, use the slow shell script. Don't cache a
- + # value for MKDIR_P within a source directory, because that will
- + # break other packages using the cache if that directory is
- + # removed, or if the value is a relative name.
- + MKDIR_P="$ac_install_sh -d"
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
- +$as_echo "$MKDIR_P" >&6; }
- +
- +
- +mkdir_p="$MKDIR_P"
- +case $mkdir_p in
- + [\\/$]* | ?:[\\/]*) ;;
- + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
- +esac
- +
- +for ac_prog in gawk mawk nawk awk
- +do
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- +set dummy $ac_prog; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_AWK+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$AWK"; then
- + ac_cv_prog_AWK="$AWK" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_AWK="$ac_prog"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +AWK=$ac_cv_prog_AWK
- +if test -n "$AWK"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
- +$as_echo "$AWK" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + test -n "$AWK" && break
- +done
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
- +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
- +set x ${MAKE-make}
- +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
- +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat >conftest.make <<\_ACEOF
- +SHELL = /bin/sh
- +all:
- + @echo '@@@%%%=$(MAKE)=@@@%%%'
- +_ACEOF
- +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
- +case `${MAKE-make} -f conftest.make 2>/dev/null` in
- + *@@@%%%=?*=@@@%%%*)
- + eval ac_cv_prog_make_${ac_make}_set=yes;;
- + *)
- + eval ac_cv_prog_make_${ac_make}_set=no;;
- +esac
- +rm -f conftest.make
- +fi
- +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- + SET_MAKE=
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + SET_MAKE="MAKE=${MAKE-make}"
- +fi
- +
- +rm -rf .tst 2>/dev/null
- +mkdir .tst 2>/dev/null
- +if test -d .tst; then
- + am__leading_dot=.
- +else
- + am__leading_dot=_
- +fi
- +rmdir .tst 2>/dev/null
- +
- +if test "`cd $srcdir && pwd`" != "`pwd`"; then
- + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- + # is not polluted with repeated "-I."
- + am__isrc=' -I$(srcdir)'
- + # test to see if srcdir already configured
- + if test -f $srcdir/config.status; then
- + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
- + fi
- +fi
- +
- +# test whether we have cygpath
- +if test -z "$CYGPATH_W"; then
- + if (cygpath --version) >/dev/null 2>/dev/null; then
- + CYGPATH_W='cygpath -w'
- + else
- + CYGPATH_W=echo
- + fi
- +fi
- +
- +
- +# Define the identity of the package.
- + PACKAGE='cgminer'
- + VERSION='2.4.1'
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE "$PACKAGE"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define VERSION "$VERSION"
- +_ACEOF
- +
- +# Some tools Automake needs.
- +
- +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
- +
- +
- +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
- +
- +
- +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
- +
- +
- +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
- +
- +
- +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
- +
- +# We need awk for the "check" target. The system "awk" is bad on
- +# some platforms.
- +# Always define AMTAR for backward compatibility. Yes, it's still used
- +# in the wild :-( We should find a proper way to deprecate it ...
- +AMTAR='$${TAR-tar}'
- +
- +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
- +
- +
- +
- +
- +
- +# Check whether --enable-silent-rules was given.
- +if test "${enable_silent_rules+set}" = set; then :
- + enableval=$enable_silent_rules;
- +fi
- +
- +case $enable_silent_rules in
- +yes) AM_DEFAULT_VERBOSITY=0;;
- +no) AM_DEFAULT_VERBOSITY=1;;
- +*) AM_DEFAULT_VERBOSITY=0;;
- +esac
- +am_make=${MAKE-make}
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
- +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
- +if ${am_cv_make_support_nested_variables+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if $as_echo 'TRUE=$(BAR$(V))
- +BAR0=false
- +BAR1=true
- +V=1
- +am__doit:
- + @$(TRUE)
- +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
- + am_cv_make_support_nested_variables=yes
- +else
- + am_cv_make_support_nested_variables=no
- +fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
- +$as_echo "$am_cv_make_support_nested_variables" >&6; }
- +if test $am_cv_make_support_nested_variables = yes; then
- + AM_V='$(V)'
- + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
- +else
- + AM_V=$AM_DEFAULT_VERBOSITY
- + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
- +fi
- +AM_BACKSLASH='\'
- +
- +DEPDIR="${am__leading_dot}deps"
- +
- +ac_config_commands="$ac_config_commands depfiles"
- +
- +
- +am_make=${MAKE-make}
- +cat > confinc << 'END'
- +am__doit:
- + @echo this is the am__doit target
- +.PHONY: am__doit
- +END
- +# If we don't find an include directive, just comment out the code.
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
- +$as_echo_n "checking for style of include used by $am_make... " >&6; }
- +am__include="#"
- +am__quote=
- +_am_result=none
- +# First try GNU make style include.
- +echo "include confinc" > confmf
- +# Ignore all kinds of additional output from `make'.
- +case `$am_make -s -f confmf 2> /dev/null` in #(
- +*the\ am__doit\ target*)
- + am__include=include
- + am__quote=
- + _am_result=GNU
- + ;;
- +esac
- +# Now try BSD make style include.
- +if test "$am__include" = "#"; then
- + echo '.include "confinc"' > confmf
- + case `$am_make -s -f confmf 2> /dev/null` in #(
- + *the\ am__doit\ target*)
- + am__include=.include
- + am__quote="\""
- + _am_result=BSD
- + ;;
- + esac
- +fi
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
- +$as_echo "$_am_result" >&6; }
- +rm -f confinc confmf
- +
- +# Check whether --enable-dependency-tracking was given.
- +if test "${enable_dependency_tracking+set}" = set; then :
- + enableval=$enable_dependency_tracking;
- +fi
- +
- +if test "x$enable_dependency_tracking" != xno; then
- + am_depcomp="$ac_aux_dir/depcomp"
- + AMDEPBACKSLASH='\'
- + am__nodep='_no'
- +fi
- + if test "x$enable_dependency_tracking" != xno; then
- + AMDEP_TRUE=
- + AMDEP_FALSE='#'
- +else
- + AMDEP_TRUE='#'
- + AMDEP_FALSE=
- +fi
- +
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}gcc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_CC="${ac_tool_prefix}gcc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$ac_cv_prog_CC"; then
- + ac_ct_CC=$CC
- + # Extract the first word of "gcc", so it can be a program name with args.
- +set dummy gcc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$ac_ct_CC"; then
- + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_ac_ct_CC="gcc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +ac_ct_CC=$ac_cv_prog_ac_ct_CC
- +if test -n "$ac_ct_CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- + if test "x$ac_ct_CC" = x; then
- + CC=""
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + CC=$ac_ct_CC
- + fi
- +else
- + CC="$ac_cv_prog_CC"
- +fi
- +
- +if test -z "$CC"; then
- + if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}cc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_CC="${ac_tool_prefix}cc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + fi
- +fi
- +if test -z "$CC"; then
- + # Extract the first word of "cc", so it can be a program name with args.
- +set dummy cc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- + ac_prog_rejected=no
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- + ac_prog_rejected=yes
- + continue
- + fi
- + ac_cv_prog_CC="cc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +if test $ac_prog_rejected = yes; then
- + # We found a bogon in the path, so make sure we never use it.
- + set dummy $ac_cv_prog_CC
- + shift
- + if test $# != 0; then
- + # We chose a different compiler from the bogus one.
- + # However, it has the same basename, so the bogon will be chosen
- + # first if we set CC to just the basename; use the full file name.
- + shift
- + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- + fi
- +fi
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$CC"; then
- + if test -n "$ac_tool_prefix"; then
- + for ac_prog in cl.exe
- + do
- + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + test -n "$CC" && break
- + done
- +fi
- +if test -z "$CC"; then
- + ac_ct_CC=$CC
- + for ac_prog in cl.exe
- +do
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- +set dummy $ac_prog; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$ac_ct_CC"; then
- + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_ac_ct_CC="$ac_prog"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +ac_ct_CC=$ac_cv_prog_ac_ct_CC
- +if test -n "$ac_ct_CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + test -n "$ac_ct_CC" && break
- +done
- +
- + if test "x$ac_ct_CC" = x; then
- + CC=""
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + CC=$ac_ct_CC
- + fi
- +fi
- +
- +fi
- +
- +
- +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "no acceptable C compiler found in \$PATH
- +See \`config.log' for more details" "$LINENO" 5; }
- +
- +# Provide some information about the compiler.
- +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
- +set X $ac_compile
- +ac_compiler=$2
- +for ac_option in --version -v -V -qversion; do
- + { { ac_try="$ac_compiler $ac_option >&5"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + sed '10a\
- +... rest of stderr output deleted ...
- + 10q' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + fi
- + rm -f conftest.er1 conftest.err
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }
- +done
- +
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +ac_clean_files_save=$ac_clean_files
- +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
- +# Try to create an executable without -o first, disregard a.out.
- +# It will help us diagnose broken compilers, and finding out an intuition
- +# of exeext.
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
- +$as_echo_n "checking whether the C compiler works... " >&6; }
- +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
- +
- +# The possible output files:
- +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
- +
- +ac_rmfiles=
- +for ac_file in $ac_files
- +do
- + case $ac_file in
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
- + esac
- +done
- +rm -f $ac_rmfiles
- +
- +if { { ac_try="$ac_link_default"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_link_default") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then :
- + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
- +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
- +# in a Makefile. We should not override ac_cv_exeext if it was cached,
- +# so that the user can short-circuit this test for compilers unknown to
- +# Autoconf.
- +for ac_file in $ac_files ''
- +do
- + test -f "$ac_file" || continue
- + case $ac_file in
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
- + ;;
- + [ab].out )
- + # We found the default executable, but exeext='' is most
- + # certainly right.
- + break;;
- + *.* )
- + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- + then :; else
- + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- + fi
- + # We set ac_cv_exeext here because the later test for it is not
- + # safe: cross compilers may not add the suffix if given an `-o'
- + # argument, so we may need to know it at that point already.
- + # Even if this section looks crufty: it has the advantage of
- + # actually working.
- + break;;
- + * )
- + break;;
- + esac
- +done
- +test "$ac_cv_exeext" = no && ac_cv_exeext=
- +
- +else
- + ac_file=''
- +fi
- +if test -z "$ac_file"; then :
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +$as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error 77 "C compiler cannot create executables
- +See \`config.log' for more details" "$LINENO" 5; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
- +$as_echo_n "checking for C compiler default output file name... " >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
- +$as_echo "$ac_file" >&6; }
- +ac_exeext=$ac_cv_exeext
- +
- +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
- +ac_clean_files=$ac_clean_files_save
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
- +$as_echo_n "checking for suffix of executables... " >&6; }
- +if { { ac_try="$ac_link"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_link") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then :
- + # If both `conftest.exe' and `conftest' are `present' (well, observable)
- +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
- +# work properly (i.e., refer to `conftest.exe'), while it won't with
- +# `rm'.
- +for ac_file in conftest.exe conftest conftest.*; do
- + test -f "$ac_file" || continue
- + case $ac_file in
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- + break;;
- + * ) break;;
- + esac
- +done
- +else
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
- +See \`config.log' for more details" "$LINENO" 5; }
- +fi
- +rm -f conftest conftest$ac_cv_exeext
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
- +$as_echo "$ac_cv_exeext" >&6; }
- +
- +rm -f conftest.$ac_ext
- +EXEEXT=$ac_cv_exeext
- +ac_exeext=$EXEEXT
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdio.h>
- +int
- +main ()
- +{
- +FILE *f = fopen ("conftest.out", "w");
- + return ferror (f) || fclose (f) != 0;
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +ac_clean_files="$ac_clean_files conftest.out"
- +# Check that the compiler produces executables we can run. If not, either
- +# the compiler is broken, or we cross compile.
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
- +$as_echo_n "checking whether we are cross compiling... " >&6; }
- +if test "$cross_compiling" != yes; then
- + { { ac_try="$ac_link"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_link") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }
- + if { ac_try='./conftest$ac_cv_exeext'
- + { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; }; then
- + cross_compiling=no
- + else
- + if test "$cross_compiling" = maybe; then
- + cross_compiling=yes
- + else
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "cannot run C compiled programs.
- +If you meant to cross compile, use \`--host'.
- +See \`config.log' for more details" "$LINENO" 5; }
- + fi
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
- +$as_echo "$cross_compiling" >&6; }
- +
- +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
- +ac_clean_files=$ac_clean_files_save
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
- +$as_echo_n "checking for suffix of object files... " >&6; }
- +if ${ac_cv_objext+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.o conftest.obj
- +if { { ac_try="$ac_compile"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_compile") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then :
- + for ac_file in conftest.o conftest.obj conftest.*; do
- + test -f "$ac_file" || continue;
- + case $ac_file in
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
- + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- + break;;
- + esac
- +done
- +else
- + $as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "cannot compute suffix of object files: cannot compile
- +See \`config.log' for more details" "$LINENO" 5; }
- +fi
- +rm -f conftest.$ac_cv_objext conftest.$ac_ext
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
- +$as_echo "$ac_cv_objext" >&6; }
- +OBJEXT=$ac_cv_objext
- +ac_objext=$OBJEXT
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
- +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
- +if ${ac_cv_c_compiler_gnu+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +#ifndef __GNUC__
- + choke me
- +#endif
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_compiler_gnu=yes
- +else
- + ac_compiler_gnu=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +ac_cv_c_compiler_gnu=$ac_compiler_gnu
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
- +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
- +if test $ac_compiler_gnu = yes; then
- + GCC=yes
- +else
- + GCC=
- +fi
- +ac_test_CFLAGS=${CFLAGS+set}
- +ac_save_CFLAGS=$CFLAGS
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
- +$as_echo_n "checking whether $CC accepts -g... " >&6; }
- +if ${ac_cv_prog_cc_g+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_save_c_werror_flag=$ac_c_werror_flag
- + ac_c_werror_flag=yes
- + ac_cv_prog_cc_g=no
- + CFLAGS="-g"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_prog_cc_g=yes
- +else
- + CFLAGS=""
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +else
- + ac_c_werror_flag=$ac_save_c_werror_flag
- + CFLAGS="-g"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_prog_cc_g=yes
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + ac_c_werror_flag=$ac_save_c_werror_flag
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
- +$as_echo "$ac_cv_prog_cc_g" >&6; }
- +if test "$ac_test_CFLAGS" = set; then
- + CFLAGS=$ac_save_CFLAGS
- +elif test $ac_cv_prog_cc_g = yes; then
- + if test "$GCC" = yes; then
- + CFLAGS="-g -O2"
- + else
- + CFLAGS="-g"
- + fi
- +else
- + if test "$GCC" = yes; then
- + CFLAGS="-O2"
- + else
- + CFLAGS=
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
- +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
- +if ${ac_cv_prog_cc_c89+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_cv_prog_cc_c89=no
- +ac_save_CC=$CC
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdarg.h>
- +#include <stdio.h>
- +#include <sys/types.h>
- +#include <sys/stat.h>
- +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
- +struct buf { int x; };
- +FILE * (*rcsopen) (struct buf *, struct stat *, int);
- +static char *e (p, i)
- + char **p;
- + int i;
- +{
- + return p[i];
- +}
- +static char *f (char * (*g) (char **, int), char **p, ...)
- +{
- + char *s;
- + va_list v;
- + va_start (v,p);
- + s = g (p, va_arg (v,int));
- + va_end (v);
- + return s;
- +}
- +
- +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- + function prototypes and stuff, but not '\xHH' hex character constants.
- + These don't provoke an error unfortunately, instead are silently treated
- + as 'x'. The following induces an error, until -std is added to get
- + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- + array size at least. It's necessary to write '\x00'==0 to get something
- + that's true only with -std. */
- +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
- +
- +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- + inside strings and character constants. */
- +#define FOO(x) 'x'
- +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
- +
- +int test (int i, double x);
- +struct s1 {int (*f) (int a);};
- +struct s2 {int (*f) (double a);};
- +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
- +int argc;
- +char **argv;
- +int
- +main ()
- +{
- +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- + ;
- + return 0;
- +}
- +_ACEOF
- +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
- +do
- + CC="$ac_save_CC $ac_arg"
- + if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_prog_cc_c89=$ac_arg
- +fi
- +rm -f core conftest.err conftest.$ac_objext
- + test "x$ac_cv_prog_cc_c89" != "xno" && break
- +done
- +rm -f conftest.$ac_ext
- +CC=$ac_save_CC
- +
- +fi
- +# AC_CACHE_VAL
- +case "x$ac_cv_prog_cc_c89" in
- + x)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
- +$as_echo "none needed" >&6; } ;;
- + xno)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
- +$as_echo "unsupported" >&6; } ;;
- + *)
- + CC="$CC $ac_cv_prog_cc_c89"
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
- +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
- +esac
- +if test "x$ac_cv_prog_cc_c89" != xno; then :
- +
- +fi
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +
- +depcc="$CC" am_compiler_list=
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
- +$as_echo_n "checking dependency style of $depcc... " >&6; }
- +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- + # We make a subdir and do the tests there. Otherwise we can end up
- + # making bogus files that we don't know about and never remove. For
- + # instance it was reported that on HP-UX the gcc test will end up
- + # making a dummy file named `D' -- because `-MD' means `put the output
- + # in D'.
- + rm -rf conftest.dir
- + mkdir conftest.dir
- + # Copy depcomp to subdir because otherwise we won't find it if we're
- + # using a relative directory.
- + cp "$am_depcomp" conftest.dir
- + cd conftest.dir
- + # We will build objects and dependencies in a subdirectory because
- + # it helps to detect inapplicable dependency modes. For instance
- + # both Tru64's cc and ICC support -MD to output dependencies as a
- + # side effect of compilation, but ICC will put the dependencies in
- + # the current directory while Tru64 will put them in the object
- + # directory.
- + mkdir sub
- +
- + am_cv_CC_dependencies_compiler_type=none
- + if test "$am_compiler_list" = ""; then
- + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- + fi
- + am__universal=false
- + case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac
- +
- + for depmode in $am_compiler_list; do
- + # Setup a source with many dependencies, because some compilers
- + # like to wrap large dependency lists on column 80 (with \), and
- + # we should not choose a depcomp mode which is confused by this.
- + #
- + # We need to recreate these files for each test, as the compiler may
- + # overwrite some of them when testing with obscure command lines.
- + # This happens at least with the AIX C compiler.
- + : > sub/conftest.c
- + for i in 1 2 3 4 5 6; do
- + echo '#include "conftst'$i'.h"' >> sub/conftest.c
- + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- + # Solaris 8's {/usr,}/bin/sh.
- + touch sub/conftst$i.h
- + done
- + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
- +
- + # We check with `-c' and `-o' for the sake of the "dashmstdout"
- + # mode. It turns out that the SunPro C++ compiler does not properly
- + # handle `-M -o', and we need to detect this. Also, some Intel
- + # versions had trouble with output in subdirs
- + am__obj=sub/conftest.${OBJEXT-o}
- + am__minus_obj="-o $am__obj"
- + case $depmode in
- + gcc)
- + # This depmode causes a compiler race in universal mode.
- + test "$am__universal" = false || continue
- + ;;
- + nosideeffect)
- + # after this tag, mechanisms are not by side-effect, so they'll
- + # only be used when explicitly requested
- + if test "x$enable_dependency_tracking" = xyes; then
- + continue
- + else
- + break
- + fi
- + ;;
- + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- + # This compiler won't grok `-c -o', but also, the minuso test has
- + # not run yet. These depmodes are late enough in the game, and
- + # so weak that their functioning should not be impacted.
- + am__obj=conftest.${OBJEXT-o}
- + am__minus_obj=
- + ;;
- + none) break ;;
- + esac
- + if depmode=$depmode \
- + source=sub/conftest.c object=$am__obj \
- + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- + >/dev/null 2>conftest.err &&
- + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- + # icc doesn't choke on unknown options, it will just issue warnings
- + # or remarks (even with -Werror). So we grep stderr for any message
- + # that says an option was ignored or not supported.
- + # When given -MP, icc 7.0 and 7.1 complain thusly:
- + # icc: Command line warning: ignoring option '-M'; no argument required
- + # The diagnosis changed in icc 8.0:
- + # icc: Command line remark: option '-MP' not supported
- + if (grep 'ignoring option' conftest.err ||
- + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- + am_cv_CC_dependencies_compiler_type=$depmode
- + break
- + fi
- + fi
- + done
- +
- + cd ..
- + rm -rf conftest.dir
- +else
- + am_cv_CC_dependencies_compiler_type=none
- +fi
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
- +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
- +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
- +
- + if
- + test "x$enable_dependency_tracking" != xno \
- + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- + am__fastdepCC_TRUE=
- + am__fastdepCC_FALSE='#'
- +else
- + am__fastdepCC_TRUE='#'
- + am__fastdepCC_FALSE=
- +fi
- +
- +
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
- +$as_echo_n "checking how to run the C preprocessor... " >&6; }
- +# On Suns, sometimes $CPP names a directory.
- +if test -n "$CPP" && test -d "$CPP"; then
- + CPP=
- +fi
- +if test -z "$CPP"; then
- + if ${ac_cv_prog_CPP+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + # Double quotes because CPP needs to be expanded
- + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
- + do
- + ac_preproc_ok=false
- +for ac_c_preproc_warn_flag in '' yes
- +do
- + # Use a header file that comes with gcc, so configuring glibc
- + # with a fresh cross-compiler works.
- + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- + # <limits.h> exists even on freestanding compilers.
- + # On the NeXT, cc -E runs the code through the compiler's parser,
- + # not just through cpp. "Syntax error" is here to catch this case.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#ifdef __STDC__
- +# include <limits.h>
- +#else
- +# include <assert.h>
- +#endif
- + Syntax error
- +_ACEOF
- +if ac_fn_c_try_cpp "$LINENO"; then :
- +
- +else
- + # Broken: fails on valid input.
- +continue
- +fi
- +rm -f conftest.err conftest.i conftest.$ac_ext
- +
- + # OK, works on sane cases. Now check whether nonexistent headers
- + # can be detected and how.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <ac_nonexistent.h>
- +_ACEOF
- +if ac_fn_c_try_cpp "$LINENO"; then :
- + # Broken: success on invalid input.
- +continue
- +else
- + # Passes both tests.
- +ac_preproc_ok=:
- +break
- +fi
- +rm -f conftest.err conftest.i conftest.$ac_ext
- +
- +done
- +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
- +rm -f conftest.i conftest.err conftest.$ac_ext
- +if $ac_preproc_ok; then :
- + break
- +fi
- +
- + done
- + ac_cv_prog_CPP=$CPP
- +
- +fi
- + CPP=$ac_cv_prog_CPP
- +else
- + ac_cv_prog_CPP=$CPP
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
- +$as_echo "$CPP" >&6; }
- +ac_preproc_ok=false
- +for ac_c_preproc_warn_flag in '' yes
- +do
- + # Use a header file that comes with gcc, so configuring glibc
- + # with a fresh cross-compiler works.
- + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- + # <limits.h> exists even on freestanding compilers.
- + # On the NeXT, cc -E runs the code through the compiler's parser,
- + # not just through cpp. "Syntax error" is here to catch this case.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#ifdef __STDC__
- +# include <limits.h>
- +#else
- +# include <assert.h>
- +#endif
- + Syntax error
- +_ACEOF
- +if ac_fn_c_try_cpp "$LINENO"; then :
- +
- +else
- + # Broken: fails on valid input.
- +continue
- +fi
- +rm -f conftest.err conftest.i conftest.$ac_ext
- +
- + # OK, works on sane cases. Now check whether nonexistent headers
- + # can be detected and how.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <ac_nonexistent.h>
- +_ACEOF
- +if ac_fn_c_try_cpp "$LINENO"; then :
- + # Broken: success on invalid input.
- +continue
- +else
- + # Passes both tests.
- +ac_preproc_ok=:
- +break
- +fi
- +rm -f conftest.err conftest.i conftest.$ac_ext
- +
- +done
- +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
- +rm -f conftest.i conftest.err conftest.$ac_ext
- +if $ac_preproc_ok; then :
- +
- +else
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
- +See \`config.log' for more details" "$LINENO" 5; }
- +fi
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
- +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
- +if ${ac_cv_path_GREP+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -z "$GREP"; then
- + ac_path_GREP_found=false
- + # Loop through the user's path and test for each of PROGNAME-LIST
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in grep ggrep; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
- +# Check for GNU ac_path_GREP and select it if it is found.
- + # Check for GNU $ac_path_GREP
- +case `"$ac_path_GREP" --version 2>&1` in
- +*GNU*)
- + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
- +*)
- + ac_count=0
- + $as_echo_n 0123456789 >"conftest.in"
- + while :
- + do
- + cat "conftest.in" "conftest.in" >"conftest.tmp"
- + mv "conftest.tmp" "conftest.in"
- + cp "conftest.in" "conftest.nl"
- + $as_echo 'GREP' >> "conftest.nl"
- + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- + as_fn_arith $ac_count + 1 && ac_count=$as_val
- + if test $ac_count -gt ${ac_path_GREP_max-0}; then
- + # Best one so far, save it but keep looking for a better one
- + ac_cv_path_GREP="$ac_path_GREP"
- + ac_path_GREP_max=$ac_count
- + fi
- + # 10*(2^10) chars as input seems more than enough
- + test $ac_count -gt 10 && break
- + done
- + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
- +esac
- +
- + $ac_path_GREP_found && break 3
- + done
- + done
- + done
- +IFS=$as_save_IFS
- + if test -z "$ac_cv_path_GREP"; then
- + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- + fi
- +else
- + ac_cv_path_GREP=$GREP
- +fi
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
- +$as_echo "$ac_cv_path_GREP" >&6; }
- + GREP="$ac_cv_path_GREP"
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
- +$as_echo_n "checking for egrep... " >&6; }
- +if ${ac_cv_path_EGREP+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
- + then ac_cv_path_EGREP="$GREP -E"
- + else
- + if test -z "$EGREP"; then
- + ac_path_EGREP_found=false
- + # Loop through the user's path and test for each of PROGNAME-LIST
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in egrep; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
- +# Check for GNU ac_path_EGREP and select it if it is found.
- + # Check for GNU $ac_path_EGREP
- +case `"$ac_path_EGREP" --version 2>&1` in
- +*GNU*)
- + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
- +*)
- + ac_count=0
- + $as_echo_n 0123456789 >"conftest.in"
- + while :
- + do
- + cat "conftest.in" "conftest.in" >"conftest.tmp"
- + mv "conftest.tmp" "conftest.in"
- + cp "conftest.in" "conftest.nl"
- + $as_echo 'EGREP' >> "conftest.nl"
- + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- + as_fn_arith $ac_count + 1 && ac_count=$as_val
- + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
- + # Best one so far, save it but keep looking for a better one
- + ac_cv_path_EGREP="$ac_path_EGREP"
- + ac_path_EGREP_max=$ac_count
- + fi
- + # 10*(2^10) chars as input seems more than enough
- + test $ac_count -gt 10 && break
- + done
- + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
- +esac
- +
- + $ac_path_EGREP_found && break 3
- + done
- + done
- + done
- +IFS=$as_save_IFS
- + if test -z "$ac_cv_path_EGREP"; then
- + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- + fi
- +else
- + ac_cv_path_EGREP=$EGREP
- +fi
- +
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
- +$as_echo "$ac_cv_path_EGREP" >&6; }
- + EGREP="$ac_cv_path_EGREP"
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
- +$as_echo_n "checking for ANSI C header files... " >&6; }
- +if ${ac_cv_header_stdc+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdlib.h>
- +#include <stdarg.h>
- +#include <string.h>
- +#include <float.h>
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_header_stdc=yes
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +
- +if test $ac_cv_header_stdc = yes; then
- + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <string.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "memchr" >/dev/null 2>&1; then :
- +
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f conftest*
- +
- +fi
- +
- +if test $ac_cv_header_stdc = yes; then
- + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdlib.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "free" >/dev/null 2>&1; then :
- +
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f conftest*
- +
- +fi
- +
- +if test $ac_cv_header_stdc = yes; then
- + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- + if test "$cross_compiling" = yes; then :
- + :
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <ctype.h>
- +#include <stdlib.h>
- +#if ((' ' & 0x0FF) == 0x020)
- +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- +#else
- +# define ISLOWER(c) \
- + (('a' <= (c) && (c) <= 'i') \
- + || ('j' <= (c) && (c) <= 'r') \
- + || ('s' <= (c) && (c) <= 'z'))
- +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
- +#endif
- +
- +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- +int
- +main ()
- +{
- + int i;
- + for (i = 0; i < 256; i++)
- + if (XOR (islower (i), ISLOWER (i))
- + || toupper (i) != TOUPPER (i))
- + return 2;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- +
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
- +$as_echo "$ac_cv_header_stdc" >&6; }
- +if test $ac_cv_header_stdc = yes; then
- +
- +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
- +
- +fi
- +
- +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
- +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
- + inttypes.h stdint.h unistd.h
- +do :
- + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
- +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
- +"
- +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- + cat >>confdefs.h <<_ACEOF
- +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
- +_ACEOF
- +
- +fi
- +
- +done
- +
- +
- +
- +
- +
- + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
- +if test "x$ac_cv_header_minix_config_h" = xyes; then :
- + MINIX=yes
- +else
- + MINIX=
- +fi
- +
- +
- + if test "$MINIX" = yes; then
- +
- +$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
- +
- +
- +$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
- +
- +
- +$as_echo "#define _MINIX 1" >>confdefs.h
- +
- + fi
- +
- + case "$host_os" in
- + hpux*)
- +
- +$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
- +
- + ;;
- + esac
- +
- +
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
- +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
- +if ${ac_cv_safe_to_define___extensions__+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +# define __EXTENSIONS__ 1
- + $ac_includes_default
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_safe_to_define___extensions__=yes
- +else
- + ac_cv_safe_to_define___extensions__=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
- +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
- + test $ac_cv_safe_to_define___extensions__ = yes &&
- + $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
- +
- + $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
- +
- + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
- +
- + $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
- +
- + $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
- +
- +
- +
- +
- +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
- +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
- +
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define CGMINER_MAJOR_VERSION 2
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define CGMINER_MINOR_VERSION 4
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define CGMINER_MINOR_SUBVERSION 1
- +_ACEOF
- +
- +version_info="6:1:4"
- +release_info=""
- +
- +
- +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
- +##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
- +VMAJ=2
- +
- +
- +
- +
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
- +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
- + # Check whether --enable-maintainer-mode was given.
- +if test "${enable_maintainer_mode+set}" = set; then :
- + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
- +else
- + USE_MAINTAINER_MODE=no
- +fi
- +
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
- +$as_echo "$USE_MAINTAINER_MODE" >&6; }
- + if test $USE_MAINTAINER_MODE = yes; then
- + MAINTAINER_MODE_TRUE=
- + MAINTAINER_MODE_FALSE='#'
- +else
- + MAINTAINER_MODE_TRUE='#'
- + MAINTAINER_MODE_FALSE=
- +fi
- +
- + MAINT=$MAINTAINER_MODE_TRUE
- +
- +
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}gcc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_CC="${ac_tool_prefix}gcc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$ac_cv_prog_CC"; then
- + ac_ct_CC=$CC
- + # Extract the first word of "gcc", so it can be a program name with args.
- +set dummy gcc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$ac_ct_CC"; then
- + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_ac_ct_CC="gcc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +ac_ct_CC=$ac_cv_prog_ac_ct_CC
- +if test -n "$ac_ct_CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- + if test "x$ac_ct_CC" = x; then
- + CC=""
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + CC=$ac_ct_CC
- + fi
- +else
- + CC="$ac_cv_prog_CC"
- +fi
- +
- +if test -z "$CC"; then
- + if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}cc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_CC="${ac_tool_prefix}cc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + fi
- +fi
- +if test -z "$CC"; then
- + # Extract the first word of "cc", so it can be a program name with args.
- +set dummy cc; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- + ac_prog_rejected=no
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- + ac_prog_rejected=yes
- + continue
- + fi
- + ac_cv_prog_CC="cc"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +if test $ac_prog_rejected = yes; then
- + # We found a bogon in the path, so make sure we never use it.
- + set dummy $ac_cv_prog_CC
- + shift
- + if test $# != 0; then
- + # We chose a different compiler from the bogus one.
- + # However, it has the same basename, so the bogon will be chosen
- + # first if we set CC to just the basename; use the full file name.
- + shift
- + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- + fi
- +fi
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$CC"; then
- + if test -n "$ac_tool_prefix"; then
- + for ac_prog in cl.exe
- + do
- + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + test -n "$CC" && break
- + done
- +fi
- +if test -z "$CC"; then
- + ac_ct_CC=$CC
- + for ac_prog in cl.exe
- +do
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- +set dummy $ac_prog; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$ac_ct_CC"; then
- + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_ac_ct_CC="$ac_prog"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +ac_ct_CC=$ac_cv_prog_ac_ct_CC
- +if test -n "$ac_ct_CC"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + test -n "$ac_ct_CC" && break
- +done
- +
- + if test "x$ac_ct_CC" = x; then
- + CC=""
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + CC=$ac_ct_CC
- + fi
- +fi
- +
- +fi
- +
- +
- +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "no acceptable C compiler found in \$PATH
- +See \`config.log' for more details" "$LINENO" 5; }
- +
- +# Provide some information about the compiler.
- +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
- +set X $ac_compile
- +ac_compiler=$2
- +for ac_option in --version -v -V -qversion; do
- + { { ac_try="$ac_compiler $ac_option >&5"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + sed '10a\
- +... rest of stderr output deleted ...
- + 10q' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + fi
- + rm -f conftest.er1 conftest.err
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }
- +done
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
- +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
- +if ${ac_cv_c_compiler_gnu+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +#ifndef __GNUC__
- + choke me
- +#endif
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_compiler_gnu=yes
- +else
- + ac_compiler_gnu=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +ac_cv_c_compiler_gnu=$ac_compiler_gnu
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
- +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
- +if test $ac_compiler_gnu = yes; then
- + GCC=yes
- +else
- + GCC=
- +fi
- +ac_test_CFLAGS=${CFLAGS+set}
- +ac_save_CFLAGS=$CFLAGS
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
- +$as_echo_n "checking whether $CC accepts -g... " >&6; }
- +if ${ac_cv_prog_cc_g+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_save_c_werror_flag=$ac_c_werror_flag
- + ac_c_werror_flag=yes
- + ac_cv_prog_cc_g=no
- + CFLAGS="-g"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_prog_cc_g=yes
- +else
- + CFLAGS=""
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +else
- + ac_c_werror_flag=$ac_save_c_werror_flag
- + CFLAGS="-g"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_prog_cc_g=yes
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + ac_c_werror_flag=$ac_save_c_werror_flag
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
- +$as_echo "$ac_cv_prog_cc_g" >&6; }
- +if test "$ac_test_CFLAGS" = set; then
- + CFLAGS=$ac_save_CFLAGS
- +elif test $ac_cv_prog_cc_g = yes; then
- + if test "$GCC" = yes; then
- + CFLAGS="-g -O2"
- + else
- + CFLAGS="-g"
- + fi
- +else
- + if test "$GCC" = yes; then
- + CFLAGS="-O2"
- + else
- + CFLAGS=
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
- +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
- +if ${ac_cv_prog_cc_c89+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_cv_prog_cc_c89=no
- +ac_save_CC=$CC
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdarg.h>
- +#include <stdio.h>
- +#include <sys/types.h>
- +#include <sys/stat.h>
- +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
- +struct buf { int x; };
- +FILE * (*rcsopen) (struct buf *, struct stat *, int);
- +static char *e (p, i)
- + char **p;
- + int i;
- +{
- + return p[i];
- +}
- +static char *f (char * (*g) (char **, int), char **p, ...)
- +{
- + char *s;
- + va_list v;
- + va_start (v,p);
- + s = g (p, va_arg (v,int));
- + va_end (v);
- + return s;
- +}
- +
- +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- + function prototypes and stuff, but not '\xHH' hex character constants.
- + These don't provoke an error unfortunately, instead are silently treated
- + as 'x'. The following induces an error, until -std is added to get
- + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- + array size at least. It's necessary to write '\x00'==0 to get something
- + that's true only with -std. */
- +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
- +
- +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- + inside strings and character constants. */
- +#define FOO(x) 'x'
- +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
- +
- +int test (int i, double x);
- +struct s1 {int (*f) (int a);};
- +struct s2 {int (*f) (double a);};
- +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
- +int argc;
- +char **argv;
- +int
- +main ()
- +{
- +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- + ;
- + return 0;
- +}
- +_ACEOF
- +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
- +do
- + CC="$ac_save_CC $ac_arg"
- + if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_prog_cc_c89=$ac_arg
- +fi
- +rm -f core conftest.err conftest.$ac_objext
- + test "x$ac_cv_prog_cc_c89" != "xno" && break
- +done
- +rm -f conftest.$ac_ext
- +CC=$ac_save_CC
- +
- +fi
- +# AC_CACHE_VAL
- +case "x$ac_cv_prog_cc_c89" in
- + x)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
- +$as_echo "none needed" >&6; } ;;
- + xno)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
- +$as_echo "unsupported" >&6; } ;;
- + *)
- + CC="$CC $ac_cv_prog_cc_c89"
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
- +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
- +esac
- +if test "x$ac_cv_prog_cc_c89" != xno; then :
- +
- +fi
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +
- +depcc="$CC" am_compiler_list=
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
- +$as_echo_n "checking dependency style of $depcc... " >&6; }
- +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- + # We make a subdir and do the tests there. Otherwise we can end up
- + # making bogus files that we don't know about and never remove. For
- + # instance it was reported that on HP-UX the gcc test will end up
- + # making a dummy file named `D' -- because `-MD' means `put the output
- + # in D'.
- + rm -rf conftest.dir
- + mkdir conftest.dir
- + # Copy depcomp to subdir because otherwise we won't find it if we're
- + # using a relative directory.
- + cp "$am_depcomp" conftest.dir
- + cd conftest.dir
- + # We will build objects and dependencies in a subdirectory because
- + # it helps to detect inapplicable dependency modes. For instance
- + # both Tru64's cc and ICC support -MD to output dependencies as a
- + # side effect of compilation, but ICC will put the dependencies in
- + # the current directory while Tru64 will put them in the object
- + # directory.
- + mkdir sub
- +
- + am_cv_CC_dependencies_compiler_type=none
- + if test "$am_compiler_list" = ""; then
- + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- + fi
- + am__universal=false
- + case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac
- +
- + for depmode in $am_compiler_list; do
- + # Setup a source with many dependencies, because some compilers
- + # like to wrap large dependency lists on column 80 (with \), and
- + # we should not choose a depcomp mode which is confused by this.
- + #
- + # We need to recreate these files for each test, as the compiler may
- + # overwrite some of them when testing with obscure command lines.
- + # This happens at least with the AIX C compiler.
- + : > sub/conftest.c
- + for i in 1 2 3 4 5 6; do
- + echo '#include "conftst'$i'.h"' >> sub/conftest.c
- + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- + # Solaris 8's {/usr,}/bin/sh.
- + touch sub/conftst$i.h
- + done
- + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
- +
- + # We check with `-c' and `-o' for the sake of the "dashmstdout"
- + # mode. It turns out that the SunPro C++ compiler does not properly
- + # handle `-M -o', and we need to detect this. Also, some Intel
- + # versions had trouble with output in subdirs
- + am__obj=sub/conftest.${OBJEXT-o}
- + am__minus_obj="-o $am__obj"
- + case $depmode in
- + gcc)
- + # This depmode causes a compiler race in universal mode.
- + test "$am__universal" = false || continue
- + ;;
- + nosideeffect)
- + # after this tag, mechanisms are not by side-effect, so they'll
- + # only be used when explicitly requested
- + if test "x$enable_dependency_tracking" = xyes; then
- + continue
- + else
- + break
- + fi
- + ;;
- + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- + # This compiler won't grok `-c -o', but also, the minuso test has
- + # not run yet. These depmodes are late enough in the game, and
- + # so weak that their functioning should not be impacted.
- + am__obj=conftest.${OBJEXT-o}
- + am__minus_obj=
- + ;;
- + none) break ;;
- + esac
- + if depmode=$depmode \
- + source=sub/conftest.c object=$am__obj \
- + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- + >/dev/null 2>conftest.err &&
- + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- + # icc doesn't choke on unknown options, it will just issue warnings
- + # or remarks (even with -Werror). So we grep stderr for any message
- + # that says an option was ignored or not supported.
- + # When given -MP, icc 7.0 and 7.1 complain thusly:
- + # icc: Command line warning: ignoring option '-M'; no argument required
- + # The diagnosis changed in icc 8.0:
- + # icc: Command line remark: option '-MP' not supported
- + if (grep 'ignoring option' conftest.err ||
- + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- + am_cv_CC_dependencies_compiler_type=$depmode
- + break
- + fi
- + fi
- + done
- +
- + cd ..
- + rm -rf conftest.dir
- +else
- + am_cv_CC_dependencies_compiler_type=none
- +fi
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
- +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
- +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
- +
- + if
- + test "x$enable_dependency_tracking" != xno \
- + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- + am__fastdepCC_TRUE=
- + am__fastdepCC_FALSE='#'
- +else
- + am__fastdepCC_TRUE='#'
- + am__fastdepCC_FALSE=
- +fi
- +
- +
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_RANLIB+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$RANLIB"; then
- + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +RANLIB=$ac_cv_prog_RANLIB
- +if test -n "$RANLIB"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
- +$as_echo "$RANLIB" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$ac_cv_prog_RANLIB"; then
- + ac_ct_RANLIB=$RANLIB
- + # Extract the first word of "ranlib", so it can be a program name with args.
- +set dummy ranlib; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$ac_ct_RANLIB"; then
- + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_ac_ct_RANLIB="ranlib"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
- +if test -n "$ac_ct_RANLIB"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
- +$as_echo "$ac_ct_RANLIB" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- + if test "x$ac_ct_RANLIB" = x; then
- + RANLIB=":"
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + RANLIB=$ac_ct_RANLIB
- + fi
- +else
- + RANLIB="$ac_cv_prog_RANLIB"
- +fi
- +
- +
- +
- +
- +
- +
- +
- +
- + # Code from module arg-nonnull:
- + # Code from module c++defs:
- + # Code from module extensions:
- +
- + # Code from module include_next:
- + # Code from module memchr:
- + # Code from module memmem:
- + # Code from module memmem-simple:
- + # Code from module multiarch:
- + # Code from module sigaction:
- + # Code from module signal:
- + # Code from module sigprocmask:
- + # Code from module stddef:
- + # Code from module stdint:
- + # Code from module string:
- + # Code from module warn-on-use:
- +
- +if test $ac_cv_c_compiler_gnu = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
- +$as_echo_n "checking whether $CC needs -traditional... " >&6; }
- +if ${ac_cv_prog_gcc_traditional+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_pattern="Autoconf.*'x'"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <sgtty.h>
- +Autoconf TIOCGETP
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "$ac_pattern" >/dev/null 2>&1; then :
- + ac_cv_prog_gcc_traditional=yes
- +else
- + ac_cv_prog_gcc_traditional=no
- +fi
- +rm -f conftest*
- +
- +
- + if test $ac_cv_prog_gcc_traditional = no; then
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <termio.h>
- +Autoconf TCGETA
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "$ac_pattern" >/dev/null 2>&1; then :
- + ac_cv_prog_gcc_traditional=yes
- +fi
- +rm -f conftest*
- +
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
- +$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
- + if test $ac_cv_prog_gcc_traditional = yes; then
- + CC="$CC -traditional"
- + fi
- +fi
- +
- +if test "x$CC" != xcc; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
- +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
- +$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
- +fi
- +set dummy $CC; ac_cc=`$as_echo "$2" |
- + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
- +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +# Make sure it works both with $CC and with simple cc.
- +# We do the test twice because some compilers refuse to overwrite an
- +# existing .o file with -o, though they will create one.
- +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
- +rm -f conftest2.*
- +if { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } &&
- + test -f conftest2.$ac_objext && { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; };
- +then
- + eval ac_cv_prog_cc_${ac_cc}_c_o=yes
- + if test "x$CC" != xcc; then
- + # Test first that cc exists at all.
- + if { ac_try='cc -c conftest.$ac_ext >&5'
- + { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; }; then
- + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
- + rm -f conftest2.*
- + if { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } &&
- + test -f conftest2.$ac_objext && { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; };
- + then
- + # cc works too.
- + :
- + else
- + # cc exists but doesn't like -o.
- + eval ac_cv_prog_cc_${ac_cc}_c_o=no
- + fi
- + fi
- + fi
- +else
- + eval ac_cv_prog_cc_${ac_cc}_c_o=no
- +fi
- +rm -f core conftest*
- +
- +fi
- +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +
- +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
- +
- +fi
- +
- +# FIXME: we rely on the cache variable name because
- +# there is no other way.
- +set dummy $CC
- +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
- +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
- +if test "$am_t" != yes; then
- + # Losing compiler, so override with the script.
- + # FIXME: It is wrong to rewrite CC.
- + # But if we don't then we get into trouble of one sort or another.
- + # A longer-term fix would be to have automake use am__CC in this case,
- + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- + CC="$am_aux_dir/compile $CC"
- +fi
- +
- +
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_RANLIB+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$RANLIB"; then
- + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +RANLIB=$ac_cv_prog_RANLIB
- +if test -n "$RANLIB"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
- +$as_echo "$RANLIB" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$ac_cv_prog_RANLIB"; then
- + ac_ct_RANLIB=$RANLIB
- + # Extract the first word of "ranlib", so it can be a program name with args.
- +set dummy ranlib; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$ac_ct_RANLIB"; then
- + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_ac_ct_RANLIB="ranlib"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
- +if test -n "$ac_ct_RANLIB"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
- +$as_echo "$ac_ct_RANLIB" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- + if test "x$ac_ct_RANLIB" = x; then
- + RANLIB=":"
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + RANLIB=$ac_ct_RANLIB
- + fi
- +else
- + RANLIB="$ac_cv_prog_RANLIB"
- +fi
- +
- +
- +
- +
- +
- +
- + LIBC_FATAL_STDERR_=1
- + export LIBC_FATAL_STDERR_
- +
- +
- +
- +
- +
- + for ac_header in $gl_header_list
- +do :
- + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
- +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
- +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- + cat >>confdefs.h <<_ACEOF
- +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
- +_ACEOF
- +
- +fi
- +
- +done
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + for ac_func in $gl_func_list
- +do :
- + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
- +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
- +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
- + cat >>confdefs.h <<_ACEOF
- +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
- +_ACEOF
- +
- +fi
- +done
- +
- +
- +
- +
- +
- +
- + GNULIB_MEMCHR=0;
- + GNULIB_MEMMEM=0;
- + GNULIB_MEMPCPY=0;
- + GNULIB_MEMRCHR=0;
- + GNULIB_RAWMEMCHR=0;
- + GNULIB_STPCPY=0;
- + GNULIB_STPNCPY=0;
- + GNULIB_STRCHRNUL=0;
- + GNULIB_STRDUP=0;
- + GNULIB_STRNCAT=0;
- + GNULIB_STRNDUP=0;
- + GNULIB_STRNLEN=0;
- + GNULIB_STRPBRK=0;
- + GNULIB_STRSEP=0;
- + GNULIB_STRSTR=0;
- + GNULIB_STRCASESTR=0;
- + GNULIB_STRTOK_R=0;
- + GNULIB_MBSLEN=0;
- + GNULIB_MBSNLEN=0;
- + GNULIB_MBSCHR=0;
- + GNULIB_MBSRCHR=0;
- + GNULIB_MBSSTR=0;
- + GNULIB_MBSCASECMP=0;
- + GNULIB_MBSNCASECMP=0;
- + GNULIB_MBSPCASECMP=0;
- + GNULIB_MBSCASESTR=0;
- + GNULIB_MBSCSPN=0;
- + GNULIB_MBSPBRK=0;
- + GNULIB_MBSSPN=0;
- + GNULIB_MBSSEP=0;
- + GNULIB_MBSTOK_R=0;
- + GNULIB_STRERROR=0;
- + GNULIB_STRERROR_R=0;
- + GNULIB_STRSIGNAL=0;
- + GNULIB_STRVERSCMP=0;
- + HAVE_MBSLEN=0;
- + HAVE_MEMCHR=1;
- + HAVE_DECL_MEMMEM=1;
- + HAVE_MEMPCPY=1;
- + HAVE_DECL_MEMRCHR=1;
- + HAVE_RAWMEMCHR=1;
- + HAVE_STPCPY=1;
- + HAVE_STPNCPY=1;
- + HAVE_STRCHRNUL=1;
- + HAVE_DECL_STRDUP=1;
- + HAVE_DECL_STRNDUP=1;
- + HAVE_DECL_STRNLEN=1;
- + HAVE_STRPBRK=1;
- + HAVE_STRSEP=1;
- + HAVE_STRCASESTR=1;
- + HAVE_DECL_STRTOK_R=1;
- + HAVE_DECL_STRERROR_R=1;
- + HAVE_DECL_STRSIGNAL=1;
- + HAVE_STRVERSCMP=1;
- + REPLACE_MEMCHR=0;
- + REPLACE_MEMMEM=0;
- + REPLACE_STPNCPY=0;
- + REPLACE_STRDUP=0;
- + REPLACE_STRSTR=0;
- + REPLACE_STRCASESTR=0;
- + REPLACE_STRCHRNUL=0;
- + REPLACE_STRERROR=0;
- + REPLACE_STRERROR_R=0;
- + REPLACE_STRNCAT=0;
- + REPLACE_STRNDUP=0;
- + REPLACE_STRNLEN=0;
- + REPLACE_STRSIGNAL=0;
- + REPLACE_STRTOK_R=0;
- + UNDEFINE_STRTOK_R=0;
- +
- +
- +
- +
- +
- + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
- + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
- + # irrelevant for anonymous mappings.
- + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
- +if test "x$ac_cv_func_mmap" = xyes; then :
- + gl_have_mmap=yes
- +else
- + gl_have_mmap=no
- +fi
- +
- +
- + # Try to allow MAP_ANONYMOUS.
- + gl_have_mmap_anonymous=no
- + if test $gl_have_mmap = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
- +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#include <sys/mman.h>
- +#ifdef MAP_ANONYMOUS
- + I cant identify this map.
- +#endif
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
- + gl_have_mmap_anonymous=yes
- +fi
- +rm -f conftest*
- +
- + if test $gl_have_mmap_anonymous != yes; then
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#include <sys/mman.h>
- +#ifdef MAP_ANON
- + I cant identify this map.
- +#endif
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
- +
- +$as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
- +
- + gl_have_mmap_anonymous=yes
- +fi
- +rm -f conftest*
- +
- + fi
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
- +$as_echo "$gl_have_mmap_anonymous" >&6; }
- + if test $gl_have_mmap_anonymous = yes; then
- +
- +$as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
- +
- + fi
- + fi
- +
- +
- + :
- +
- +
- +
- +
- +
- +
- + :
- +
- +
- +
- +
- +
- +
- +
- +
- + if test $HAVE_MEMCHR = 1; then
- + # Detect platform-specific bugs in some versions of glibc:
- + # memchr should not dereference anything with length 0
- + # http://bugzilla.redhat.com/499689
- + # memchr should not dereference overestimated length after a match
- + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
- + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
- + # Assume that memchr works on platforms that lack mprotect.
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
- +$as_echo_n "checking whether memchr works... " >&6; }
- +if ${gl_cv_func_memchr_works+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test "$cross_compiling" = yes; then :
- + gl_cv_func_memchr_works="guessing no"
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#include <string.h>
- +#if HAVE_SYS_MMAN_H
- +# include <fcntl.h>
- +# include <unistd.h>
- +# include <sys/types.h>
- +# include <sys/mman.h>
- +# ifndef MAP_FILE
- +# define MAP_FILE 0
- +# endif
- +#endif
- +
- +int
- +main ()
- +{
- +
- + int result = 0;
- + char *fence = NULL;
- +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
- +# if HAVE_MAP_ANONYMOUS
- + const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
- + const int fd = -1;
- +# else /* !HAVE_MAP_ANONYMOUS */
- + const int flags = MAP_FILE | MAP_PRIVATE;
- + int fd = open ("/dev/zero", O_RDONLY, 0666);
- + if (fd >= 0)
- +# endif
- + {
- + int pagesize = getpagesize ();
- + char *two_pages =
- + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
- + flags, fd, 0);
- + if (two_pages != (char *)(-1)
- + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
- + fence = two_pages + pagesize;
- + }
- +#endif
- + if (fence)
- + {
- + if (memchr (fence, 0, 0))
- + result |= 1;
- + strcpy (fence - 9, "12345678");
- + if (memchr (fence - 9, 0, 79) != fence - 1)
- + result |= 2;
- + if (memchr (fence - 1, 0, 3) != fence - 1)
- + result |= 4;
- + }
- + return result;
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- + gl_cv_func_memchr_works=yes
- +else
- + gl_cv_func_memchr_works=no
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
- +$as_echo "$gl_cv_func_memchr_works" >&6; }
- + if test "$gl_cv_func_memchr_works" != yes; then
- + REPLACE_MEMCHR=1
- + fi
- + fi
- +
- +
- + ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
- +if test "x$ac_cv_have_decl_memmem" = xyes; then :
- + ac_have_decl=1
- +else
- + ac_have_decl=0
- +fi
- +
- +cat >>confdefs.h <<_ACEOF
- +#define HAVE_DECL_MEMMEM $ac_have_decl
- +_ACEOF
- +
- +
- +
- +
- +
- +
- + for ac_func in memmem
- +do :
- + ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem"
- +if test "x$ac_cv_func_memmem" = xyes; then :
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_MEMMEM 1
- +_ACEOF
- +
- +fi
- +done
- +
- + if test $ac_cv_func_memmem = yes; then
- + HAVE_MEMMEM=1
- + else
- + HAVE_MEMMEM=0
- + fi
- +
- + :
- +
- +
- +
- +
- +
- + if test $ac_cv_have_decl_memmem = no; then
- + HAVE_DECL_MEMMEM=0
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5
- +$as_echo_n "checking whether memmem works... " >&6; }
- +if ${gl_cv_func_memmem_works_always+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test "$cross_compiling" = yes; then :
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#ifdef __GNU_LIBRARY__
- + #include <features.h>
- + #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \
- + || __GLIBC_MINOR__ > 12)) \
- + || (__GLIBC__ > 2)) \
- + || defined __UCLIBC__
- + Lucky user
- + #endif
- +#elif defined __CYGWIN__
- + #include <cygwin/version.h>
- + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
- + Lucky user
- + #endif
- +#else
- + Lucky user
- +#endif
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "Lucky user" >/dev/null 2>&1; then :
- + gl_cv_func_memmem_works_always=yes
- +else
- + gl_cv_func_memmem_works_always="guessing no"
- +fi
- +rm -f conftest*
- +
- +
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#include <string.h> /* for memmem */
- +#define P "_EF_BF_BD"
- +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
- +#define NEEDLE P P P P P
- +
- +int
- +main ()
- +{
- +
- + int result = 0;
- + if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
- + result |= 1;
- + /* Check for empty needle behavior. */
- + {
- + const char *haystack = "AAA";
- + if (memmem (haystack, 3, NULL, 0) != haystack)
- + result |= 2;
- + }
- + return result;
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- + gl_cv_func_memmem_works_always=yes
- +else
- + gl_cv_func_memmem_works_always=no
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5
- +$as_echo "$gl_cv_func_memmem_works_always" >&6; }
- + if test "$gl_cv_func_memmem_works_always" != yes; then
- + REPLACE_MEMMEM=1
- + fi
- + fi
- + :
- +
- +
- + gl_cv_c_multiarch=no
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#ifndef __APPLE_CC__
- + not a universal capable compiler
- + #endif
- + typedef int dummy;
- +
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- + arch=
- + prev=
- + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
- + if test -n "$prev"; then
- + case $word in
- + i?86 | x86_64 | ppc | ppc64)
- + if test -z "$arch" || test "$arch" = "$word"; then
- + arch="$word"
- + else
- + gl_cv_c_multiarch=yes
- + fi
- + ;;
- + esac
- + prev=
- + else
- + if test "x$word" = "x-arch"; then
- + prev=arch
- + fi
- + fi
- + done
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + if test $gl_cv_c_multiarch = yes; then
- + APPLE_UNIVERSAL_BUILD=1
- + else
- + APPLE_UNIVERSAL_BUILD=0
- + fi
- +
- +
- +
- + GNULIB_SIGNAL_H_SIGPIPE=0;
- + GNULIB_SIGPROCMASK=0;
- + GNULIB_SIGACTION=0;
- + HAVE_POSIX_SIGNALBLOCKING=1;
- + HAVE_SIGSET_T=1;
- + HAVE_SIGINFO_T=1;
- + HAVE_SIGACTION=1;
- + HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
- +
- + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
- +
- + HAVE_SIGHANDLER_T=1;
- +
- +
- +
- +
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
- +$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
- +if ${ac_cv_c_restrict+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_cv_c_restrict=no
- + # The order here caters to the fact that C++ does not require restrict.
- + for ac_kw in __restrict __restrict__ _Restrict restrict; do
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +typedef int * int_ptr;
- + int foo (int_ptr $ac_kw ip) {
- + return ip[0];
- + }
- +int
- +main ()
- +{
- +int s[1];
- + int * $ac_kw t = s;
- + t[0] = 0;
- + return foo(t)
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_c_restrict=$ac_kw
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + test "$ac_cv_c_restrict" != no && break
- + done
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
- +$as_echo "$ac_cv_c_restrict" >&6; }
- +
- + case $ac_cv_c_restrict in
- + restrict) ;;
- + no) $as_echo "#define restrict /**/" >>confdefs.h
- + ;;
- + *) cat >>confdefs.h <<_ACEOF
- +#define restrict $ac_cv_c_restrict
- +_ACEOF
- + ;;
- + esac
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
- +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
- +if ${ac_cv_type_uid_t+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <sys/types.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "uid_t" >/dev/null 2>&1; then :
- + ac_cv_type_uid_t=yes
- +else
- + ac_cv_type_uid_t=no
- +fi
- +rm -f conftest*
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
- +$as_echo "$ac_cv_type_uid_t" >&6; }
- +if test $ac_cv_type_uid_t = no; then
- +
- +$as_echo "#define uid_t int" >>confdefs.h
- +
- +
- +$as_echo "#define gid_t int" >>confdefs.h
- +
- +fi
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
- +$as_echo_n "checking for inline... " >&6; }
- +if ${ac_cv_c_inline+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_cv_c_inline=no
- +for ac_kw in inline __inline__ __inline; do
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#ifndef __cplusplus
- +typedef int foo_t;
- +static $ac_kw foo_t static_foo () {return 0; }
- +$ac_kw foo_t foo () {return 0; }
- +#endif
- +
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_c_inline=$ac_kw
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + test "$ac_cv_c_inline" != no && break
- +done
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
- +$as_echo "$ac_cv_c_inline" >&6; }
- +
- +case $ac_cv_c_inline in
- + inline | yes) ;;
- + *)
- + case $ac_cv_c_inline in
- + no) ac_val=;;
- + *) ac_val=$ac_cv_c_inline;;
- + esac
- + cat >>confdefs.h <<_ACEOF
- +#ifndef __cplusplus
- +#define inline $ac_val
- +#endif
- +_ACEOF
- + ;;
- +esac
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
- +$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
- +if ${gl_cv_have_include_next+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + rm -rf conftestd1a conftestd1b conftestd2
- + mkdir conftestd1a conftestd1b conftestd2
- + cat <<EOF > conftestd1a/conftest.h
- +#define DEFINED_IN_CONFTESTD1
- +#include_next <conftest.h>
- +#ifdef DEFINED_IN_CONFTESTD2
- +int foo;
- +#else
- +#error "include_next doesn't work"
- +#endif
- +EOF
- + cat <<EOF > conftestd1b/conftest.h
- +#define DEFINED_IN_CONFTESTD1
- +#include <stdio.h>
- +#include_next <conftest.h>
- +#ifdef DEFINED_IN_CONFTESTD2
- +int foo;
- +#else
- +#error "include_next doesn't work"
- +#endif
- +EOF
- + cat <<EOF > conftestd2/conftest.h
- +#ifndef DEFINED_IN_CONFTESTD1
- +#error "include_next test doesn't work"
- +#endif
- +#define DEFINED_IN_CONFTESTD2
- +EOF
- + gl_save_CPPFLAGS="$CPPFLAGS"
- + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <conftest.h>
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + gl_cv_have_include_next=yes
- +else
- + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <conftest.h>
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + gl_cv_have_include_next=buggy
- +else
- + gl_cv_have_include_next=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + CPPFLAGS="$gl_save_CPPFLAGS"
- + rm -rf conftestd1a conftestd1b conftestd2
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
- +$as_echo "$gl_cv_have_include_next" >&6; }
- + PRAGMA_SYSTEM_HEADER=
- + if test $gl_cv_have_include_next = yes; then
- + INCLUDE_NEXT=include_next
- + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
- + if test -n "$GCC"; then
- + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
- + fi
- + else
- + if test $gl_cv_have_include_next = buggy; then
- + INCLUDE_NEXT=include
- + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
- + else
- + INCLUDE_NEXT=include
- + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
- + fi
- + fi
- +
- +
- +
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
- +$as_echo_n "checking whether system header files limit the line length... " >&6; }
- +if ${gl_cv_pragma_columns+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#ifdef __TANDEM
- +choke me
- +#endif
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "choke me" >/dev/null 2>&1; then :
- + gl_cv_pragma_columns=yes
- +else
- + gl_cv_pragma_columns=no
- +fi
- +rm -f conftest*
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
- +$as_echo "$gl_cv_pragma_columns" >&6; }
- + if test $gl_cv_pragma_columns = yes; then
- + PRAGMA_COLUMNS="#pragma COLUMNS 10000"
- + else
- + PRAGMA_COLUMNS=
- + fi
- +
- +
- +
- + REPLACE_NULL=0;
- + HAVE_WCHAR_T=1;
- +
- +
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
- +$as_echo_n "checking for wchar_t... " >&6; }
- +if ${gt_cv_c_wchar_t+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stddef.h>
- + wchar_t foo = (wchar_t)'\0';
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + gt_cv_c_wchar_t=yes
- +else
- + gt_cv_c_wchar_t=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
- +$as_echo "$gt_cv_c_wchar_t" >&6; }
- + if test $gt_cv_c_wchar_t = yes; then
- +
- +$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
- +
- + fi
- +
- +
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
- +$as_echo_n "checking for unsigned long long int... " >&6; }
- +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_cv_type_unsigned_long_long_int=yes
- + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- + /* For now, do not test the preprocessor; as of 2007 there are too many
- + implementations with broken preprocessors. Perhaps this can
- + be revisited in 2012. In the meantime, code should not expect
- + #if to work with literals wider than 32 bits. */
- + /* Test literals. */
- + long long int ll = 9223372036854775807ll;
- + long long int nll = -9223372036854775807LL;
- + unsigned long long int ull = 18446744073709551615ULL;
- + /* Test constant expressions. */
- + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
- + ? 1 : -1)];
- + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
- + ? 1 : -1)];
- + int i = 63;
- +int
- +main ()
- +{
- +/* Test availability of runtime routines for shift and division. */
- + long long int llmax = 9223372036854775807ll;
- + unsigned long long int ullmax = 18446744073709551615ull;
- + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
- + | (llmax / ll) | (llmax % ll)
- + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
- + | (ullmax / ull) | (ullmax % ull));
- + ;
- + return 0;
- +}
- +
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- +
- +else
- + ac_cv_type_unsigned_long_long_int=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
- +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
- + if test $ac_cv_type_unsigned_long_long_int = yes; then
- +
- +$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
- +
- + fi
- +
- +
- +
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
- +$as_echo_n "checking for long long int... " >&6; }
- +if ${ac_cv_type_long_long_int+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_cv_type_long_long_int=yes
- + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
- + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
- + if test $ac_cv_type_long_long_int = yes; then
- + if test "$cross_compiling" = yes; then :
- + :
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <limits.h>
- + #ifndef LLONG_MAX
- + # define HALF \
- + (1LL << (sizeof (long long int) * CHAR_BIT - 2))
- + # define LLONG_MAX (HALF - 1 + HALF)
- + #endif
- +int
- +main ()
- +{
- +long long int n = 1;
- + int i;
- + for (i = 0; ; i++)
- + {
- + long long int m = n << i;
- + if (m >> i != n)
- + return 1;
- + if (LLONG_MAX / 2 < m)
- + break;
- + }
- + return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- +
- +else
- + ac_cv_type_long_long_int=no
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- + fi
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
- +$as_echo "$ac_cv_type_long_long_int" >&6; }
- + if test $ac_cv_type_long_long_int = yes; then
- +
- +$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
- +
- + fi
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + if test $ac_cv_type_long_long_int = yes; then
- + HAVE_LONG_LONG_INT=1
- + else
- + HAVE_LONG_LONG_INT=0
- + fi
- +
- +
- + if test $ac_cv_type_unsigned_long_long_int = yes; then
- + HAVE_UNSIGNED_LONG_LONG_INT=1
- + else
- + HAVE_UNSIGNED_LONG_LONG_INT=0
- + fi
- +
- +
- +
- + :
- +
- +
- +
- +
- +
- + if test $ac_cv_header_wchar_h = yes; then
- + HAVE_WCHAR_H=1
- + else
- + HAVE_WCHAR_H=0
- + fi
- +
- +
- + if test $ac_cv_header_inttypes_h = yes; then
- + HAVE_INTTYPES_H=1
- + else
- + HAVE_INTTYPES_H=0
- + fi
- +
- +
- + if test $ac_cv_header_sys_types_h = yes; then
- + HAVE_SYS_TYPES_H=1
- + else
- + HAVE_SYS_TYPES_H=0
- + fi
- +
- +
- +
- +
- +
- +
- +
- +
- + :
- +
- +
- +
- +
- +
- +
- +
- +
- + if test $gl_cv_have_include_next = yes; then
- + gl_cv_next_stdint_h='<'stdint.h'>'
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
- +$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
- +if ${gl_cv_next_stdint_h+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- +
- + if test $ac_cv_header_stdint_h = yes; then
- +
- +
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdint.h>
- +
- +_ACEOF
- + case "$host_os" in
- + aix*) gl_absname_cpp="$ac_cpp -C" ;;
- + *) gl_absname_cpp="$ac_cpp" ;;
- + esac
- + gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
- + sed -n '\#/stdint.h#{
- + s#.*"\(.*/stdint.h\)".*#\1#
- + s#^/[^/]#//&#
- + p
- + q
- + }'`'"'
- + else
- + gl_cv_next_stdint_h='<'stdint.h'>'
- + fi
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
- +$as_echo "$gl_cv_next_stdint_h" >&6; }
- + fi
- + NEXT_STDINT_H=$gl_cv_next_stdint_h
- +
- + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
- + gl_next_as_first_directive='<'stdint.h'>'
- + else
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
- + gl_next_as_first_directive=$gl_cv_next_stdint_h
- + fi
- + NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
- +
- +
- +
- +
- + if test $ac_cv_header_stdint_h = yes; then
- + HAVE_STDINT_H=1
- + else
- + HAVE_STDINT_H=0
- + fi
- +
- +
- + if test $ac_cv_header_stdint_h = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
- +$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
- +if ${gl_cv_header_working_stdint_h+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + gl_cv_header_working_stdint_h=no
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +
- +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
- +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
- +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
- +#include <stdint.h>
- +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
- +#if !(defined WCHAR_MIN && defined WCHAR_MAX)
- +#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
- +#endif
- +
- +
- + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
- + included before <wchar.h>. */
- + #include <stddef.h>
- + #include <signal.h>
- + #if HAVE_WCHAR_H
- + # include <stdio.h>
- + # include <time.h>
- + # include <wchar.h>
- + #endif
- +
- +
- +#ifdef INT8_MAX
- +int8_t a1 = INT8_MAX;
- +int8_t a1min = INT8_MIN;
- +#endif
- +#ifdef INT16_MAX
- +int16_t a2 = INT16_MAX;
- +int16_t a2min = INT16_MIN;
- +#endif
- +#ifdef INT32_MAX
- +int32_t a3 = INT32_MAX;
- +int32_t a3min = INT32_MIN;
- +#endif
- +#ifdef INT64_MAX
- +int64_t a4 = INT64_MAX;
- +int64_t a4min = INT64_MIN;
- +#endif
- +#ifdef UINT8_MAX
- +uint8_t b1 = UINT8_MAX;
- +#else
- +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
- +#endif
- +#ifdef UINT16_MAX
- +uint16_t b2 = UINT16_MAX;
- +#endif
- +#ifdef UINT32_MAX
- +uint32_t b3 = UINT32_MAX;
- +#endif
- +#ifdef UINT64_MAX
- +uint64_t b4 = UINT64_MAX;
- +#endif
- +int_least8_t c1 = INT8_C (0x7f);
- +int_least8_t c1max = INT_LEAST8_MAX;
- +int_least8_t c1min = INT_LEAST8_MIN;
- +int_least16_t c2 = INT16_C (0x7fff);
- +int_least16_t c2max = INT_LEAST16_MAX;
- +int_least16_t c2min = INT_LEAST16_MIN;
- +int_least32_t c3 = INT32_C (0x7fffffff);
- +int_least32_t c3max = INT_LEAST32_MAX;
- +int_least32_t c3min = INT_LEAST32_MIN;
- +int_least64_t c4 = INT64_C (0x7fffffffffffffff);
- +int_least64_t c4max = INT_LEAST64_MAX;
- +int_least64_t c4min = INT_LEAST64_MIN;
- +uint_least8_t d1 = UINT8_C (0xff);
- +uint_least8_t d1max = UINT_LEAST8_MAX;
- +uint_least16_t d2 = UINT16_C (0xffff);
- +uint_least16_t d2max = UINT_LEAST16_MAX;
- +uint_least32_t d3 = UINT32_C (0xffffffff);
- +uint_least32_t d3max = UINT_LEAST32_MAX;
- +uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
- +uint_least64_t d4max = UINT_LEAST64_MAX;
- +int_fast8_t e1 = INT_FAST8_MAX;
- +int_fast8_t e1min = INT_FAST8_MIN;
- +int_fast16_t e2 = INT_FAST16_MAX;
- +int_fast16_t e2min = INT_FAST16_MIN;
- +int_fast32_t e3 = INT_FAST32_MAX;
- +int_fast32_t e3min = INT_FAST32_MIN;
- +int_fast64_t e4 = INT_FAST64_MAX;
- +int_fast64_t e4min = INT_FAST64_MIN;
- +uint_fast8_t f1 = UINT_FAST8_MAX;
- +uint_fast16_t f2 = UINT_FAST16_MAX;
- +uint_fast32_t f3 = UINT_FAST32_MAX;
- +uint_fast64_t f4 = UINT_FAST64_MAX;
- +#ifdef INTPTR_MAX
- +intptr_t g = INTPTR_MAX;
- +intptr_t gmin = INTPTR_MIN;
- +#endif
- +#ifdef UINTPTR_MAX
- +uintptr_t h = UINTPTR_MAX;
- +#endif
- +intmax_t i = INTMAX_MAX;
- +uintmax_t j = UINTMAX_MAX;
- +
- +#include <limits.h> /* for CHAR_BIT */
- +#define TYPE_MINIMUM(t) \
- + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
- +#define TYPE_MAXIMUM(t) \
- + ((t) ((t) 0 < (t) -1 \
- + ? (t) -1 \
- + : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
- +struct s {
- + int check_PTRDIFF:
- + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
- + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
- + ? 1 : -1;
- + /* Detect bug in FreeBSD 6.0 / ia64. */
- + int check_SIG_ATOMIC:
- + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
- + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
- + ? 1 : -1;
- + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
- + int check_WCHAR:
- + WCHAR_MIN == TYPE_MINIMUM (wchar_t)
- + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
- + ? 1 : -1;
- + /* Detect bug in mingw. */
- + int check_WINT:
- + WINT_MIN == TYPE_MINIMUM (wint_t)
- + && WINT_MAX == TYPE_MAXIMUM (wint_t)
- + ? 1 : -1;
- +
- + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
- + int check_UINT8_C:
- + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
- + int check_UINT16_C:
- + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
- +
- + /* Detect bugs in OpenBSD 3.9 stdint.h. */
- +#ifdef UINT8_MAX
- + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
- +#endif
- +#ifdef UINT16_MAX
- + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
- +#endif
- +#ifdef UINT32_MAX
- + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
- +#endif
- +#ifdef UINT64_MAX
- + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
- +#endif
- + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
- + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
- + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
- + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
- + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
- + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
- + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
- + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
- + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
- + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
- + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
- +};
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + if test "$cross_compiling" = yes; then :
- + gl_cv_header_working_stdint_h=yes
- +
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +
- +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
- +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
- +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
- +#include <stdint.h>
- +
- +
- + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
- + included before <wchar.h>. */
- + #include <stddef.h>
- + #include <signal.h>
- + #if HAVE_WCHAR_H
- + # include <stdio.h>
- + # include <time.h>
- + # include <wchar.h>
- + #endif
- +
- +
- +#include <stdio.h>
- +#include <string.h>
- +#define MVAL(macro) MVAL1(macro)
- +#define MVAL1(expression) #expression
- +static const char *macro_values[] =
- + {
- +#ifdef INT8_MAX
- + MVAL (INT8_MAX),
- +#endif
- +#ifdef INT16_MAX
- + MVAL (INT16_MAX),
- +#endif
- +#ifdef INT32_MAX
- + MVAL (INT32_MAX),
- +#endif
- +#ifdef INT64_MAX
- + MVAL (INT64_MAX),
- +#endif
- +#ifdef UINT8_MAX
- + MVAL (UINT8_MAX),
- +#endif
- +#ifdef UINT16_MAX
- + MVAL (UINT16_MAX),
- +#endif
- +#ifdef UINT32_MAX
- + MVAL (UINT32_MAX),
- +#endif
- +#ifdef UINT64_MAX
- + MVAL (UINT64_MAX),
- +#endif
- + NULL
- + };
- +
- +int
- +main ()
- +{
- +
- + const char **mv;
- + for (mv = macro_values; *mv != NULL; mv++)
- + {
- + const char *value = *mv;
- + /* Test whether it looks like a cast expression. */
- + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
- + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
- + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
- + || strncmp (value, "((int)"/*)*/, 6) == 0
- + || strncmp (value, "((signed short)"/*)*/, 15) == 0
- + || strncmp (value, "((signed char)"/*)*/, 14) == 0)
- + return mv - macro_values + 1;
- + }
- + return 0;
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- + gl_cv_header_working_stdint_h=yes
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
- +$as_echo "$gl_cv_header_working_stdint_h" >&6; }
- + fi
- + if test "$gl_cv_header_working_stdint_h" = yes; then
- + STDINT_H=
- + else
- + for ac_header in sys/inttypes.h sys/bitypes.h
- +do :
- + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
- +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
- +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- + cat >>confdefs.h <<_ACEOF
- +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
- +_ACEOF
- +
- +fi
- +
- +done
- +
- + if test $ac_cv_header_sys_inttypes_h = yes; then
- + HAVE_SYS_INTTYPES_H=1
- + else
- + HAVE_SYS_INTTYPES_H=0
- + fi
- +
- + if test $ac_cv_header_sys_bitypes_h = yes; then
- + HAVE_SYS_BITYPES_H=1
- + else
- + HAVE_SYS_BITYPES_H=0
- + fi
- +
- +
- +
- +
- + if test $APPLE_UNIVERSAL_BUILD = 0; then
- +
- +
- + for gltype in ptrdiff_t size_t ; do
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
- +$as_echo_n "checking for bit size of $gltype... " >&6; }
- +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
- + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
- + included before <wchar.h>. */
- + #include <stddef.h>
- + #include <signal.h>
- + #if HAVE_WCHAR_H
- + # include <stdio.h>
- + # include <time.h>
- + # include <wchar.h>
- + #endif
- +
- +#include <limits.h>"; then :
- +
- +else
- + result=unknown
- +fi
- +
- + eval gl_cv_bitsizeof_${gltype}=\$result
- +
- +fi
- +eval ac_res=\$gl_cv_bitsizeof_${gltype}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval result=\$gl_cv_bitsizeof_${gltype}
- + if test $result = unknown; then
- + result=0
- + fi
- + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- + cat >>confdefs.h <<_ACEOF
- +#define BITSIZEOF_${GLTYPE} $result
- +_ACEOF
- +
- + eval BITSIZEOF_${GLTYPE}=\$result
- + done
- +
- +
- + fi
- +
- +
- + for gltype in sig_atomic_t wchar_t wint_t ; do
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
- +$as_echo_n "checking for bit size of $gltype... " >&6; }
- +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
- + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
- + included before <wchar.h>. */
- + #include <stddef.h>
- + #include <signal.h>
- + #if HAVE_WCHAR_H
- + # include <stdio.h>
- + # include <time.h>
- + # include <wchar.h>
- + #endif
- +
- +#include <limits.h>"; then :
- +
- +else
- + result=unknown
- +fi
- +
- + eval gl_cv_bitsizeof_${gltype}=\$result
- +
- +fi
- +eval ac_res=\$gl_cv_bitsizeof_${gltype}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval result=\$gl_cv_bitsizeof_${gltype}
- + if test $result = unknown; then
- + result=0
- + fi
- + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- + cat >>confdefs.h <<_ACEOF
- +#define BITSIZEOF_${GLTYPE} $result
- +_ACEOF
- +
- + eval BITSIZEOF_${GLTYPE}=\$result
- + done
- +
- +
- +
- +
- + for gltype in sig_atomic_t wchar_t wint_t ; do
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
- +$as_echo_n "checking whether $gltype is signed... " >&6; }
- +if eval \${gl_cv_type_${gltype}_signed+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
- + included before <wchar.h>. */
- + #include <stddef.h>
- + #include <signal.h>
- + #if HAVE_WCHAR_H
- + # include <stdio.h>
- + # include <time.h>
- + # include <wchar.h>
- + #endif
- +
- + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + result=yes
- +else
- + result=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + eval gl_cv_type_${gltype}_signed=\$result
- +
- +fi
- +eval ac_res=\$gl_cv_type_${gltype}_signed
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + eval result=\$gl_cv_type_${gltype}_signed
- + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- + if test "$result" = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_SIGNED_${GLTYPE} 1
- +_ACEOF
- +
- + eval HAVE_SIGNED_${GLTYPE}=1
- + else
- + eval HAVE_SIGNED_${GLTYPE}=0
- + fi
- + done
- +
- +
- + gl_cv_type_ptrdiff_t_signed=yes
- + gl_cv_type_size_t_signed=no
- + if test $APPLE_UNIVERSAL_BUILD = 0; then
- +
- +
- + for gltype in ptrdiff_t size_t ; do
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
- +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
- +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + eval gl_cv_type_${gltype}_suffix=no
- + eval result=\$gl_cv_type_${gltype}_signed
- + if test "$result" = yes; then
- + glsufu=
- + else
- + glsufu=u
- + fi
- + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
- + case $glsuf in
- + '') gltype1='int';;
- + l) gltype1='long int';;
- + ll) gltype1='long long int';;
- + i64) gltype1='__int64';;
- + u) gltype1='unsigned int';;
- + ul) gltype1='unsigned long int';;
- + ull) gltype1='unsigned long long int';;
- + ui64)gltype1='unsigned __int64';;
- + esac
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
- + included before <wchar.h>. */
- + #include <stddef.h>
- + #include <signal.h>
- + #if HAVE_WCHAR_H
- + # include <stdio.h>
- + # include <time.h>
- + # include <wchar.h>
- + #endif
- +
- + extern $gltype foo;
- + extern $gltype1 foo;
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval gl_cv_type_${gltype}_suffix=\$glsuf
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + eval result=\$gl_cv_type_${gltype}_suffix
- + test "$result" != no && break
- + done
- +fi
- +eval ac_res=\$gl_cv_type_${gltype}_suffix
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- + eval result=\$gl_cv_type_${gltype}_suffix
- + test "$result" = no && result=
- + eval ${GLTYPE}_SUFFIX=\$result
- + cat >>confdefs.h <<_ACEOF
- +#define ${GLTYPE}_SUFFIX $result
- +_ACEOF
- +
- + done
- +
- +
- + fi
- +
- +
- + for gltype in sig_atomic_t wchar_t wint_t ; do
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
- +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
- +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + eval gl_cv_type_${gltype}_suffix=no
- + eval result=\$gl_cv_type_${gltype}_signed
- + if test "$result" = yes; then
- + glsufu=
- + else
- + glsufu=u
- + fi
- + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
- + case $glsuf in
- + '') gltype1='int';;
- + l) gltype1='long int';;
- + ll) gltype1='long long int';;
- + i64) gltype1='__int64';;
- + u) gltype1='unsigned int';;
- + ul) gltype1='unsigned long int';;
- + ull) gltype1='unsigned long long int';;
- + ui64)gltype1='unsigned __int64';;
- + esac
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
- + included before <wchar.h>. */
- + #include <stddef.h>
- + #include <signal.h>
- + #if HAVE_WCHAR_H
- + # include <stdio.h>
- + # include <time.h>
- + # include <wchar.h>
- + #endif
- +
- + extern $gltype foo;
- + extern $gltype1 foo;
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval gl_cv_type_${gltype}_suffix=\$glsuf
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- + eval result=\$gl_cv_type_${gltype}_suffix
- + test "$result" != no && break
- + done
- +fi
- +eval ac_res=\$gl_cv_type_${gltype}_suffix
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- + eval result=\$gl_cv_type_${gltype}_suffix
- + test "$result" = no && result=
- + eval ${GLTYPE}_SUFFIX=\$result
- + cat >>confdefs.h <<_ACEOF
- +#define ${GLTYPE}_SUFFIX $result
- +_ACEOF
- +
- + done
- +
- +
- +
- + STDINT_H=stdint.h
- + fi
- +
- + if test -n "$STDINT_H"; then
- + GL_GENERATE_STDINT_H_TRUE=
- + GL_GENERATE_STDINT_H_FALSE='#'
- +else
- + GL_GENERATE_STDINT_H_TRUE='#'
- + GL_GENERATE_STDINT_H_FALSE=
- +fi
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + if test $gl_cv_have_include_next = yes; then
- + gl_cv_next_string_h='<'string.h'>'
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
- +$as_echo_n "checking absolute name of <string.h>... " >&6; }
- +if ${gl_cv_next_string_h+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- +
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <string.h>
- +
- +_ACEOF
- + case "$host_os" in
- + aix*) gl_absname_cpp="$ac_cpp -C" ;;
- + *) gl_absname_cpp="$ac_cpp" ;;
- + esac
- + gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
- + sed -n '\#/string.h#{
- + s#.*"\(.*/string.h\)".*#\1#
- + s#^/[^/]#//&#
- + p
- + q
- + }'`'"'
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
- +$as_echo "$gl_cv_next_string_h" >&6; }
- + fi
- + NEXT_STRING_H=$gl_cv_next_string_h
- +
- + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
- + gl_next_as_first_directive='<'string.h'>'
- + else
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
- + gl_next_as_first_directive=$gl_cv_next_string_h
- + fi
- + NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
- +
- +
- +
- +
- +
- +
- + 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
- + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
- +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
- +if eval \${$as_gl_Symbol+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <string.h>
- +
- +int
- +main ()
- +{
- +#undef $gl_func
- + (void) $gl_func;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval "$as_gl_Symbol=yes"
- +else
- + eval "$as_gl_Symbol=no"
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +eval ac_res=\$$as_gl_Symbol
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
- + cat >>confdefs.h <<_ACEOF
- +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
- +_ACEOF
- +
- + eval ac_cv_have_decl_$gl_func=yes
- +fi
- + done
- +
- +
- +
- + if false; then
- + GL_COND_LIBTOOL_TRUE=
- + GL_COND_LIBTOOL_FALSE='#'
- +else
- + GL_COND_LIBTOOL_TRUE='#'
- + GL_COND_LIBTOOL_FALSE=
- +fi
- +
- + gl_cond_libtool=false
- + gl_libdeps=
- + gl_ltlibdeps=
- + gl_m4_base='m4'
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + gl_source_base='lib'
- +
- +if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
- +
- +
- +
- +
- +
- +
- +
- +
- + gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
- +
- +
- + for ac_header in bp-sym.h
- +do :
- + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
- +if test "x$ac_cv_header_bp_sym_h" = xyes; then :
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_BP_SYM_H 1
- +_ACEOF
- +
- +fi
- +
- +done
- +
- +
- +fi
- +
- +
- +
- +
- +
- + GNULIB_MEMCHR=1
- +
- +
- +
- +
- +
- +$as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
- +
- +
- +
- +
- +
- + if test $HAVE_DECL_MEMMEM = 1 && test $REPLACE_MEMMEM = 0; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works in linear time" >&5
- +$as_echo_n "checking whether memmem works in linear time... " >&6; }
- +if ${gl_cv_func_memmem_works_fast+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test "$cross_compiling" = yes; then :
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#include <features.h>
- +#ifdef __GNU_LIBRARY__
- + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)) \
- + && !defined __UCLIBC__
- + Lucky user
- + #endif
- +#endif
- +#ifdef __CYGWIN__
- + #include <cygwin/version.h>
- + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 0)
- + Lucky user
- + #endif
- +#endif
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "Lucky user" >/dev/null 2>&1; then :
- + gl_cv_func_memmem_works_fast=yes
- +else
- + gl_cv_func_memmem_works_fast="guessing no"
- +fi
- +rm -f conftest*
- +
- +
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#include <signal.h> /* for signal */
- +#include <string.h> /* for memmem */
- +#include <stdlib.h> /* for malloc */
- +#include <unistd.h> /* for alarm */
- +static void quit (int sig) { exit (sig + 128); }
- +
- +int
- +main ()
- +{
- +
- + int result = 0;
- + size_t m = 1000000;
- + char *haystack = (char *) malloc (2 * m + 1);
- + char *needle = (char *) malloc (m + 1);
- + /* Failure to compile this test due to missing alarm is okay,
- + since all such platforms (mingw) also lack memmem. */
- + signal (SIGALRM, quit);
- + alarm (5);
- + /* Check for quadratic performance. */
- + if (haystack && needle)
- + {
- + memset (haystack, 'A', 2 * m);
- + haystack[2 * m] = 'B';
- + memset (needle, 'A', m);
- + needle[m] = 'B';
- + if (!memmem (haystack, 2 * m + 1, needle, m + 1))
- + result |= 1;
- + }
- + return result;
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- + gl_cv_func_memmem_works_fast=yes
- +else
- + gl_cv_func_memmem_works_fast=no
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_fast" >&5
- +$as_echo "$gl_cv_func_memmem_works_fast" >&6; }
- + if test "$gl_cv_func_memmem_works_fast" != yes; then
- + REPLACE_MEMMEM=1
- + fi
- + fi
- +
- +if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
- +
- +
- +
- +
- +
- +
- +
- +
- + gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext"
- +
- +fi
- +
- +
- +
- +
- + for ac_func in memmem
- +do :
- + ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem"
- +if test "x$ac_cv_func_memmem" = xyes; then :
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_MEMMEM 1
- +_ACEOF
- +
- +fi
- +done
- +
- + if test $ac_cv_func_memmem = yes; then
- + HAVE_MEMMEM=1
- + else
- + HAVE_MEMMEM=0
- + fi
- +
- + :
- +
- +
- +
- +
- +
- + if test $ac_cv_have_decl_memmem = no; then
- + HAVE_DECL_MEMMEM=0
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5
- +$as_echo_n "checking whether memmem works... " >&6; }
- +if ${gl_cv_func_memmem_works_always+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test "$cross_compiling" = yes; then :
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#ifdef __GNU_LIBRARY__
- + #include <features.h>
- + #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \
- + || __GLIBC_MINOR__ > 12)) \
- + || (__GLIBC__ > 2)) \
- + || defined __UCLIBC__
- + Lucky user
- + #endif
- +#elif defined __CYGWIN__
- + #include <cygwin/version.h>
- + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
- + Lucky user
- + #endif
- +#else
- + Lucky user
- +#endif
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "Lucky user" >/dev/null 2>&1; then :
- + gl_cv_func_memmem_works_always=yes
- +else
- + gl_cv_func_memmem_works_always="guessing no"
- +fi
- +rm -f conftest*
- +
- +
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +#include <string.h> /* for memmem */
- +#define P "_EF_BF_BD"
- +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
- +#define NEEDLE P P P P P
- +
- +int
- +main ()
- +{
- +
- + int result = 0;
- + if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
- + result |= 1;
- + /* Check for empty needle behavior. */
- + {
- + const char *haystack = "AAA";
- + if (memmem (haystack, 3, NULL, 0) != haystack)
- + result |= 2;
- + }
- + return result;
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- + gl_cv_func_memmem_works_always=yes
- +else
- + gl_cv_func_memmem_works_always=no
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5
- +$as_echo "$gl_cv_func_memmem_works_always" >&6; }
- + if test "$gl_cv_func_memmem_works_always" != yes; then
- + REPLACE_MEMMEM=1
- + fi
- + fi
- + :
- +
- +if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
- +
- +
- +
- +
- +
- +
- +
- +
- + gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext"
- +
- +fi
- +
- +
- +
- +
- +
- + GNULIB_MEMMEM=1
- +
- +
- +
- +
- +
- +$as_echo "#define GNULIB_TEST_MEMMEM 1" >>confdefs.h
- +
- +
- +
- +
- +
- +
- +
- + :
- +
- +
- +
- +
- +
- + if test $ac_cv_func_sigaction = yes; then
- + ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include <signal.h>
- +"
- +if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then :
- +
- +cat >>confdefs.h <<_ACEOF
- +#define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
- +_ACEOF
- +
- +
- +fi
- +
- + if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
- + HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
- + fi
- + else
- + HAVE_SIGACTION=0
- + fi
- +
- +if test $HAVE_SIGACTION = 0; then
- +
- +
- +
- +
- +
- +
- +
- +
- + gl_LIBOBJS="$gl_LIBOBJS sigaction.$ac_objext"
- +
- +
- +
- +
- +
- +
- +
- + :
- +
- +
- +
- +
- +
- +
- +
- +
- + ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "
- +#include <signal.h>
- +
- +"
- +if test "x$ac_cv_type_siginfo_t" = xyes; then :
- +
- +cat >>confdefs.h <<_ACEOF
- +#define HAVE_SIGINFO_T 1
- +_ACEOF
- +
- +
- +fi
- +
- + if test $ac_cv_type_siginfo_t = no; then
- + HAVE_SIGINFO_T=0
- + fi
- +
- +fi
- +
- +
- +
- +
- +
- + GNULIB_SIGACTION=1
- +
- +
- +
- +
- +
- +$as_echo "#define GNULIB_TEST_SIGACTION 1" >>confdefs.h
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + if test $gl_cv_have_include_next = yes; then
- + gl_cv_next_signal_h='<'signal.h'>'
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
- +$as_echo_n "checking absolute name of <signal.h>... " >&6; }
- +if ${gl_cv_next_signal_h+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- +
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <signal.h>
- +
- +_ACEOF
- + case "$host_os" in
- + aix*) gl_absname_cpp="$ac_cpp -C" ;;
- + *) gl_absname_cpp="$ac_cpp" ;;
- + esac
- + gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
- + sed -n '\#/signal.h#{
- + s#.*"\(.*/signal.h\)".*#\1#
- + s#^/[^/]#//&#
- + p
- + q
- + }'`'"'
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
- +$as_echo "$gl_cv_next_signal_h" >&6; }
- + fi
- + NEXT_SIGNAL_H=$gl_cv_next_signal_h
- +
- + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
- + gl_next_as_first_directive='<'signal.h'>'
- + else
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
- + gl_next_as_first_directive=$gl_cv_next_signal_h
- + fi
- + NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
- +
- +
- +
- +
- +
- +# AIX declares sig_atomic_t to already include volatile, and C89 compilers
- +# then choke on 'volatile sig_atomic_t'. C99 requires that it compile.
- + ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
- +#include <signal.h>
- +
- +"
- +if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
- +
- +else
- + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
- +fi
- +
- +
- +
- +
- +
- + ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
- +#include <signal.h>
- +
- +"
- +if test "x$ac_cv_type_sighandler_t" = xyes; then :
- +
- +else
- + HAVE_SIGHANDLER_T=0
- +fi
- +
- +
- +
- + for gl_func in sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask; do
- + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
- +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
- +if eval \${$as_gl_Symbol+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <signal.h>
- +
- +int
- +main ()
- +{
- +#undef $gl_func
- + (void) $gl_func;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + eval "$as_gl_Symbol=yes"
- +else
- + eval "$as_gl_Symbol=no"
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +eval ac_res=\$$as_gl_Symbol
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
- +$as_echo "$ac_res" >&6; }
- + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
- + cat >>confdefs.h <<_ACEOF
- +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
- +_ACEOF
- +
- + eval ac_cv_have_decl_$gl_func=yes
- +fi
- + done
- +
- +
- +
- +
- + signals_not_posix=
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <signal.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "sigset_t" >/dev/null 2>&1; then :
- +
- +else
- + signals_not_posix=1
- +fi
- +rm -f conftest*
- +
- + if test -z "$signals_not_posix"; then
- + ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
- +if test "x$ac_cv_func_sigprocmask" = xyes; then :
- + gl_cv_func_sigprocmask=1
- +fi
- +
- + fi
- + if test -z "$gl_cv_func_sigprocmask"; then
- + HAVE_POSIX_SIGNALBLOCKING=0
- + fi
- +
- +if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
- +
- +
- +
- +
- +
- +
- +
- +
- + gl_LIBOBJS="$gl_LIBOBJS sigprocmask.$ac_objext"
- +
- +
- +
- + ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <signal.h>
- +/* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
- +#include <sys/types.h>
- +"
- +if test "x$ac_cv_type_sigset_t" = xyes; then :
- +
- +cat >>confdefs.h <<_ACEOF
- +#define HAVE_SIGSET_T 1
- +_ACEOF
- +
- +gl_cv_type_sigset_t=yes
- +else
- + gl_cv_type_sigset_t=no
- +fi
- +
- + if test $gl_cv_type_sigset_t != yes; then
- + HAVE_SIGSET_T=0
- + fi
- +
- +
- +fi
- +
- +
- +
- +
- +
- + GNULIB_SIGPROCMASK=1
- +
- +
- +
- +
- +
- +$as_echo "#define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
- +
- +
- +
- +
- +
- +
- + STDDEF_H=
- + if test $gt_cv_c_wchar_t = no; then
- + HAVE_WCHAR_T=0
- + STDDEF_H=stddef.h
- + fi
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
- +$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
- +if ${gl_cv_decl_null_works+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stddef.h>
- + int test[2 * (sizeof NULL == sizeof (void *)) -1];
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + gl_cv_decl_null_works=yes
- +else
- + gl_cv_decl_null_works=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
- +$as_echo "$gl_cv_decl_null_works" >&6; }
- + if test $gl_cv_decl_null_works = no; then
- + REPLACE_NULL=1
- + STDDEF_H=stddef.h
- + fi
- +
- + if test -n "$STDDEF_H"; then
- + GL_GENERATE_STDDEF_H_TRUE=
- + GL_GENERATE_STDDEF_H_FALSE='#'
- +else
- + GL_GENERATE_STDDEF_H_TRUE='#'
- + GL_GENERATE_STDDEF_H_FALSE=
- +fi
- +
- + if test -n "$STDDEF_H"; then
- +
- +
- +
- +
- +
- +
- +
- +
- + if test $gl_cv_have_include_next = yes; then
- + gl_cv_next_stddef_h='<'stddef.h'>'
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
- +$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
- +if ${gl_cv_next_stddef_h+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- +
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stddef.h>
- +
- +_ACEOF
- + case "$host_os" in
- + aix*) gl_absname_cpp="$ac_cpp -C" ;;
- + *) gl_absname_cpp="$ac_cpp" ;;
- + esac
- + gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
- + sed -n '\#/stddef.h#{
- + s#.*"\(.*/stddef.h\)".*#\1#
- + s#^/[^/]#//&#
- + p
- + q
- + }'`'"'
- +
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
- +$as_echo "$gl_cv_next_stddef_h" >&6; }
- + fi
- + NEXT_STDDEF_H=$gl_cv_next_stddef_h
- +
- + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
- + gl_next_as_first_directive='<'stddef.h'>'
- + else
- + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
- + gl_next_as_first_directive=$gl_cv_next_stddef_h
- + fi
- + NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
- +
- +
- +
- +
- + fi
- +
- +
- +
- +
- +
- + # End of code from modules
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + gltests_libdeps=
- + gltests_ltlibdeps=
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + gl_source_base='tests'
- + 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
- +
- + gl_module_indicator_condition=$gltests_WITNESS
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + LIBGNU_LIBDEPS="$gl_libdeps"
- +
- + LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
- +
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
- +$as_echo_n "checking for ANSI C header files... " >&6; }
- +if ${ac_cv_header_stdc+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdlib.h>
- +#include <stdarg.h>
- +#include <string.h>
- +#include <float.h>
- +
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- + ac_cv_header_stdc=yes
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +
- +if test $ac_cv_header_stdc = yes; then
- + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <string.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "memchr" >/dev/null 2>&1; then :
- +
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f conftest*
- +
- +fi
- +
- +if test $ac_cv_header_stdc = yes; then
- + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdlib.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "free" >/dev/null 2>&1; then :
- +
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f conftest*
- +
- +fi
- +
- +if test $ac_cv_header_stdc = yes; then
- + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- + if test "$cross_compiling" = yes; then :
- + :
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <ctype.h>
- +#include <stdlib.h>
- +#if ((' ' & 0x0FF) == 0x020)
- +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- +#else
- +# define ISLOWER(c) \
- + (('a' <= (c) && (c) <= 'i') \
- + || ('j' <= (c) && (c) <= 'r') \
- + || ('s' <= (c) && (c) <= 'z'))
- +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
- +#endif
- +
- +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- +int
- +main ()
- +{
- + int i;
- + for (i = 0; i < 256; i++)
- + if (XOR (islower (i), ISLOWER (i))
- + || toupper (i) != TOUPPER (i))
- + return 2;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- +
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
- +$as_echo "$ac_cv_header_stdc" >&6; }
- +if test $ac_cv_header_stdc = yes; then
- +
- +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
- +
- +fi
- +
- +for ac_header in syslog.h
- +do :
- + ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
- +if test "x$ac_cv_header_syslog_h" = xyes; then :
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_SYSLOG_H 1
- +_ACEOF
- +
- +fi
- +
- +done
- +
- +
- +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
- +if test "x$ac_cv_type_size_t" = xyes; then :
- +
- +else
- +
- +cat >>confdefs.h <<_ACEOF
- +#define size_t unsigned int
- +_ACEOF
- +
- +fi
- +
- +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
- +# for constant arguments. Useless!
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
- +$as_echo_n "checking for working alloca.h... " >&6; }
- +if ${ac_cv_working_alloca_h+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <alloca.h>
- +int
- +main ()
- +{
- +char *p = (char *) alloca (2 * sizeof (int));
- + if (p) return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- + ac_cv_working_alloca_h=yes
- +else
- + ac_cv_working_alloca_h=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
- +$as_echo "$ac_cv_working_alloca_h" >&6; }
- +if test $ac_cv_working_alloca_h = yes; then
- +
- +$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
- +
- +fi
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
- +$as_echo_n "checking for alloca... " >&6; }
- +if ${ac_cv_func_alloca_works+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#ifdef __GNUC__
- +# define alloca __builtin_alloca
- +#else
- +# ifdef _MSC_VER
- +# include <malloc.h>
- +# define alloca _alloca
- +# else
- +# ifdef HAVE_ALLOCA_H
- +# include <alloca.h>
- +# else
- +# ifdef _AIX
- + #pragma alloca
- +# else
- +# ifndef alloca /* predefined by HP cc +Olibcalls */
- +void *alloca (size_t);
- +# endif
- +# endif
- +# endif
- +# endif
- +#endif
- +
- +int
- +main ()
- +{
- +char *p = (char *) alloca (1);
- + if (p) return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- + ac_cv_func_alloca_works=yes
- +else
- + ac_cv_func_alloca_works=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
- +$as_echo "$ac_cv_func_alloca_works" >&6; }
- +
- +if test $ac_cv_func_alloca_works = yes; then
- +
- +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
- +
- +else
- + # The SVR3 libPW and SVR4 libucb both contain incompatible functions
- +# that cause trouble. Some versions do not even contain alloca or
- +# contain a buggy version. If you still want to use their alloca,
- +# use ar to extract alloca.o from them instead of compiling alloca.c.
- +
- +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
- +
- +$as_echo "#define C_ALLOCA 1" >>confdefs.h
- +
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
- +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
- +if ${ac_cv_os_cray+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#if defined CRAY && ! defined CRAY2
- +webecray
- +#else
- +wenotbecray
- +#endif
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + $EGREP "webecray" >/dev/null 2>&1; then :
- + ac_cv_os_cray=yes
- +else
- + ac_cv_os_cray=no
- +fi
- +rm -f conftest*
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
- +$as_echo "$ac_cv_os_cray" >&6; }
- +if test $ac_cv_os_cray = yes; then
- + for ac_func in _getb67 GETB67 getb67; do
- + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
- +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
- +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
- +
- +cat >>confdefs.h <<_ACEOF
- +#define CRAY_STACKSEG_END $ac_func
- +_ACEOF
- +
- + break
- +fi
- +
- + done
- +fi
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
- +$as_echo_n "checking stack direction for C alloca... " >&6; }
- +if ${ac_cv_c_stack_direction+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test "$cross_compiling" = yes; then :
- + ac_cv_c_stack_direction=0
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +$ac_includes_default
- +int
- +find_stack_direction ()
- +{
- + static char *addr = 0;
- + auto char dummy;
- + if (addr == 0)
- + {
- + addr = &dummy;
- + return find_stack_direction ();
- + }
- + else
- + return (&dummy > addr) ? 1 : -1;
- +}
- +
- +int
- +main ()
- +{
- + return find_stack_direction () < 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_run "$LINENO"; then :
- + ac_cv_c_stack_direction=1
- +else
- + ac_cv_c_stack_direction=-1
- +fi
- +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- + conftest.$ac_objext conftest.beam conftest.$ac_ext
- +fi
- +
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
- +$as_echo "$ac_cv_c_stack_direction" >&6; }
- +cat >>confdefs.h <<_ACEOF
- +#define STACK_DIRECTION $ac_cv_c_stack_direction
- +_ACEOF
- +
- +
- +fi
- +
- +
- +have_win32=false
- +PTHREAD_FLAGS="-lpthread"
- +USB_LIBS=""
- +USB_FLAGS=""
- +DLOPEN_FLAGS="-ldl"
- +OPENCL_LIBS="-lOpenCL"
- +WS2_LIBS=""
- +MATH_LIBS="-lm"
- +
- +case $target in
- + x86_64-*)
- + have_x86_64=true
- + ;;
- + *)
- + have_x86_64=false
- + ;;
- +esac
- +
- +case $target in
- + x86_64-w64-mingw32)
- + have_x86_64=true
- + have_win32=true
- + PTHREAD_FLAGS=""
- + DLOPEN_FLAGS=""
- + WS2_LIBS="-lws2_32"
- + ;;
- + *-*-mingw*)
- + have_x86_64=false
- + have_win32=true
- + PTHREAD_FLAGS=""
- + DLOPEN_FLAGS=""
- + WS2_LIBS="-lws2_32"
- + ;;
- + powerpc-*-darwin*)
- + CFLAGS="$CFLAGS -faltivec"
- + OPENCL_LIBS=""
- + PTHREAD_FLAGS=""
- + ;;
- + *-*-darwin*)
- + OPENCL_LIBS="-framework OpenCL"
- + PTHREAD_FLAGS=""
- + ;;
- +esac
- +
- +if test "x$ATISTREAMSDKROOT" != x; then
- + if test "x$have_x86_64" = xtrue; then
- + ATI_STREAM_ARCH_DIR=x86_64
- + else
- + ATI_STREAM_ARCH_DIR=x86
- + fi
- + OPENCL_FLAGS="-I$ATISTREAMSDKROOT/include $OPENCL_FLAGS"
- + OPENCL_LIBS="-L$ATISTREAMSDKROOT/lib/$ATI_STREAM_ARCH_DIR $OPENCL_LIBS"
- +fi
- +
- +cpumining="no"
- +
- +# Check whether --enable-cpumining was given.
- +if test "${enable_cpumining+set}" = set; then :
- + enableval=$enable_cpumining; cpumining=$enableval
- +
- +fi
- +
- +if test "x$cpumining" = xyes; then
- +
- +cat >>confdefs.h <<_ACEOF
- +#define WANT_CPUMINE 1
- +_ACEOF
- +
- +fi
- + if test x$cpumining = xyes; then
- + HAS_CPUMINE_TRUE=
- + HAS_CPUMINE_FALSE='#'
- +else
- + HAS_CPUMINE_TRUE='#'
- + HAS_CPUMINE_FALSE=
- +fi
- +
- +
- +opencl="yes"
- +
- +# Check whether --enable-opencl was given.
- +if test "${enable_opencl+set}" = set; then :
- + enableval=$enable_opencl; opencl=$enableval
- +
- +fi
- +
- +if test "x$opencl" != xno; then
- + # Check for OpenCL (the long way needed on mingw32 due to calling conventions)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenCL" >&5
- +$as_echo_n "checking for OpenCL... " >&6; }
- + SAVED_LIBS=$LIBS
- + SAVED_CFLAGS=$CFLAGS
- + LIBS="$LIBS $OPENCL_LIBS"
- + CFLAGS="$CFLAGS $OPENCL_FLAGS"
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- + #ifdef __APPLE_CC__
- + #include <OpenCL/opencl.h>
- + #else
- + #include <CL/cl.h>
- + #endif
- +
- +int
- +main ()
- +{
- +return clSetKernelArg(0, 0, 0, 0);
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +
- +$as_echo "#define HAVE_OPENCL 1" >>confdefs.h
- +
- + found_opencl=1
- +
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + OPENCL_FLAGS=
- + OPENCL_LIBS=
- + found_opencl=0
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- + LIBS=$SAVED_LIBS
- + CFLAGS=$SAVED_CFLAGS
- +else
- + OPENCL_FLAGS=""
- + OPENCL_LIBS=""
- +fi
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
- +$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
- +if ${ac_cv_lib_pthread_pthread_create+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_check_lib_save_LIBS=$LIBS
- +LIBS="-lpthread $LIBS"
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +/* Override any GCC internal prototype to avoid an error.
- + Use char because int might match the return type of a GCC
- + builtin and then its argument prototype would still apply. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +char pthread_create ();
- +int
- +main ()
- +{
- +return pthread_create ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- + ac_cv_lib_pthread_pthread_create=yes
- +else
- + ac_cv_lib_pthread_pthread_create=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
- +$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
- +if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_LIBPTHREAD 1
- +_ACEOF
- +
- + LIBS="-lpthread $LIBS"
- +
- +else
- + as_fn_error $? "Could not find pthread library - please install libpthread" "$LINENO" 5
- +fi
- +
- +PTHREAD_LIBS=-lpthread
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for json_loads in -ljansson" >&5
- +$as_echo_n "checking for json_loads in -ljansson... " >&6; }
- +if ${ac_cv_lib_jansson_json_loads+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_check_lib_save_LIBS=$LIBS
- +LIBS="-ljansson $LIBS"
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +/* Override any GCC internal prototype to avoid an error.
- + Use char because int might match the return type of a GCC
- + builtin and then its argument prototype would still apply. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +char json_loads ();
- +int
- +main ()
- +{
- +return json_loads ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- + ac_cv_lib_jansson_json_loads=yes
- +else
- + ac_cv_lib_jansson_json_loads=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jansson_json_loads" >&5
- +$as_echo "$ac_cv_lib_jansson_json_loads" >&6; }
- +if test "x$ac_cv_lib_jansson_json_loads" = xyes; then :
- + request_jansson=false
- +else
- + request_jansson=true
- +fi
- +
- +
- +# Check whether --enable-adl was given.
- +if test "${enable_adl+set}" = set; then :
- + enableval=$enable_adl; adl=$enableval
- +
- +fi
- +
- +
- +if test "$found_opencl" = 1; then
- + if test "x$adl" != xno; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_SDK/adl_sdk.h" >&5
- +$as_echo_n "checking for ADL_SDK/adl_sdk.h... " >&6; }
- +if ${ac_cv_file_ADL_SDK_adl_sdk_h+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + test "$cross_compiling" = yes &&
- + as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
- +if test -r "ADL_SDK/adl_sdk.h"; then
- + ac_cv_file_ADL_SDK_adl_sdk_h=yes
- +else
- + ac_cv_file_ADL_SDK_adl_sdk_h=no
- +fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_ADL_SDK_adl_sdk_h" >&5
- +$as_echo "$ac_cv_file_ADL_SDK_adl_sdk_h" >&6; }
- +if test "x$ac_cv_file_ADL_SDK_adl_sdk_h" = xyes; then :
- + have_adl=true
- +else
- + have_adl=false
- +fi
- +
- + if test x$have_adl = xtrue
- + then
- +
- +$as_echo "#define HAVE_ADL 1" >>confdefs.h
- +
- + else
- + DLOPEN_FLAGS=""
- + fi
- + fi
- +else
- + DLOPEN_FLAGS=""
- +fi
- +
- +bitforce="no"
- +
- +# Check whether --enable-bitforce was given.
- +if test "${enable_bitforce+set}" = set; then :
- + enableval=$enable_bitforce; bitforce=$enableval
- +
- +fi
- +
- +if test "x$bitforce" = xyes; then
- +
- +$as_echo "#define USE_BITFORCE 1" >>confdefs.h
- +
- +fi
- + if test x$bitforce = xyes; then
- + HAS_BITFORCE_TRUE=
- + HAS_BITFORCE_FALSE='#'
- +else
- + HAS_BITFORCE_TRUE='#'
- + HAS_BITFORCE_FALSE=
- +fi
- +
- +
- +icarus="no"
- +
- +# Check whether --enable-icarus was given.
- +if test "${enable_icarus+set}" = set; then :
- + enableval=$enable_icarus; icarus=$enableval
- +
- +fi
- +
- +if test "x$icarus" = xyes; then
- +
- +$as_echo "#define USE_ICARUS 1" >>confdefs.h
- +
- +fi
- + if test x$icarus = xyes; then
- + HAS_ICARUS_TRUE=
- + HAS_ICARUS_FALSE='#'
- +else
- + HAS_ICARUS_TRUE='#'
- + HAS_ICARUS_FALSE=
- +fi
- +
- +
- +ztex="no"
- +
- +# Check whether --enable-ztex was given.
- +if test "${enable_ztex+set}" = set; then :
- + enableval=$enable_ztex; ztex=$enableval
- +
- +fi
- +
- +if test "x$ztex" = xyes; then
- +
- +$as_echo "#define USE_ZTEX 1" >>confdefs.h
- +
- +fi
- + if test x$ztex = xyes; then
- + HAS_ZTEX_TRUE=
- + HAS_ZTEX_FALSE='#'
- +else
- + HAS_ZTEX_TRUE='#'
- + HAS_ZTEX_FALSE=
- +fi
- +
- +
- +curses="auto"
- +
- +
- +# Check whether --with-curses was given.
- +if test "${with_curses+set}" = set; then :
- + withval=$with_curses; curses=$withval
- +
- +fi
- +
- +if test "x$curses" = "xno"; then
- + cursesmsg='User specified --without-curses. TUI support DISABLED'
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing addstr" >&5
- +$as_echo_n "checking for library containing addstr... " >&6; }
- +if ${ac_cv_search_addstr+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_func_search_save_LIBS=$LIBS
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +/* Override any GCC internal prototype to avoid an error.
- + Use char because int might match the return type of a GCC
- + builtin and then its argument prototype would still apply. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +char addstr ();
- +int
- +main ()
- +{
- +return addstr ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +for ac_lib in '' ncurses pdcurses; do
- + if test -z "$ac_lib"; then
- + ac_res="none required"
- + else
- + ac_res=-l$ac_lib
- + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
- + fi
- + if ac_fn_c_try_link "$LINENO"; then :
- + ac_cv_search_addstr=$ac_res
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext
- + if ${ac_cv_search_addstr+:} false; then :
- + break
- +fi
- +done
- +if ${ac_cv_search_addstr+:} false; then :
- +
- +else
- + ac_cv_search_addstr=no
- +fi
- +rm conftest.$ac_ext
- +LIBS=$ac_func_search_save_LIBS
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_addstr" >&5
- +$as_echo "$ac_cv_search_addstr" >&6; }
- +ac_res=$ac_cv_search_addstr
- +if test "$ac_res" != no; then :
- + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
- +
- + curses=yes
- + cursesmsg="FOUND: ${ac_cv_search_addstr:2}"
- +
- +$as_echo "#define HAVE_CURSES 1" >>confdefs.h
- +
- +
- +else
- +
- + if test "x$curses" = "xyes"; then
- + as_fn_error $? "Could not find curses library - please install libncurses-dev or pdcurses-dev (or configure --without-curses)" "$LINENO" 5
- + else
- + { $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
- +$as_echo "$as_me: WARNING: Could not find curses library - if you want a TUI, install libncurses-dev or pdcurses-dev" >&2;}
- + curses=no
- + cursesmsg='NOT FOUND. TUI support DISABLED'
- + fi
- +
- +fi
- +
- +fi
- +
- +
- + if test x$curses = xyes; then
- + HAVE_CURSES_TRUE=
- + HAVE_CURSES_FALSE='#'
- +else
- + HAVE_CURSES_TRUE='#'
- + HAVE_CURSES_FALSE=
- +fi
- +
- + if test x$request_jansson = xtrue; then
- + WANT_JANSSON_TRUE=
- + WANT_JANSSON_FALSE='#'
- +else
- + WANT_JANSSON_TRUE='#'
- + WANT_JANSSON_FALSE=
- +fi
- +
- + if test x$have_win32 = xtrue; then
- + HAVE_WINDOWS_TRUE=
- + HAVE_WINDOWS_FALSE='#'
- +else
- + HAVE_WINDOWS_TRUE='#'
- + HAVE_WINDOWS_FALSE=
- +fi
- +
- + if test x$have_x86_64 = xtrue; then
- + HAVE_x86_64_TRUE=
- + HAVE_x86_64_FALSE='#'
- +else
- + HAVE_x86_64_TRUE='#'
- + HAVE_x86_64_FALSE=
- +fi
- +
- +
- +if test x$request_jansson = xtrue
- +then
- + JANSSON_LIBS="compat/jansson/libjansson.a"
- +else
- + JANSSON_LIBS=-ljansson
- +fi
- +
- +has_yasm=false
- +# Extract the first word of "yasm", so it can be a program name with args.
- +set dummy yasm; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_YASM+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + case $YASM in
- + [\\/]* | ?:[\\/]*)
- + ac_cv_path_YASM="$YASM" # Let the user override the test with a path.
- + ;;
- + *)
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_path_YASM="$as_dir/$ac_word$ac_exec_ext"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- + test -z "$ac_cv_path_YASM" && ac_cv_path_YASM="false"
- + ;;
- +esac
- +fi
- +YASM=$ac_cv_path_YASM
- +if test -n "$YASM"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YASM" >&5
- +$as_echo "$YASM" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +if test "x$YASM" != "xfalse" ; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if yasm version is greater than 1.0.1" >&5
- +$as_echo_n "checking if yasm version is greater than 1.0.1... " >&6; }
- + yasmver=`yasm --version | head -1 | cut -d\ -f2`
- + yamajor=`echo $yasmver | cut -d. -f1`
- + yaminor=`echo $yasmver | cut -d. -f2`
- + yamini=`echo $yasmver | cut -d. -f3`
- + if test "$yamajor" -ge "1" ; then
- + if test "$yamajor" -eq "1" ; then
- + if test "$yaminor" -ge "0" ; then
- + if test "$yaminor" -eq "0"; then
- + if test "$yamini" -ge "1"; then
- + has_yasm=true
- + fi
- + else
- + has_yasm=true
- + fi
- + fi
- + fi
- + else
- + has_yasm=false
- + fi
- + if test "x$has_yasm" = "xtrue" ; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + fi
- +fi
- +if test "x$has_yasm" = "xfalse" ; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: yasm is required for the assembly algorithms. They will be skipped." >&5
- +$as_echo "$as_me: yasm is required for the assembly algorithms. They will be skipped." >&6;}
- +fi
- +
- + if test x$has_yasm = xtrue; then
- + HAS_YASM_TRUE=
- + HAS_YASM_FALSE='#'
- +else
- + HAS_YASM_TRUE='#'
- + HAS_YASM_FALSE=
- +fi
- +
- +
- +if test "x$bitforce" != xno; then
- +
- +# Check whether --with-libudev was given.
- +if test "${with_libudev+set}" = set; then :
- + withval=$with_libudev; libudev=$withval
- +else
- + libudev=auto
- +
- +fi
- +
- + if test "x$libudev" != "xno"; then
- + ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
- +if test "x$ac_cv_header_libudev_h" = xyes; then :
- +
- + libudev=yes
- + UDEV_LIBS=-ludev
- +
- +$as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
- +
- +
- +else
- +
- + if test "x$libudev" = "xyes"; then
- + as_fn_error $? "libudev not found" "$LINENO" 5
- + fi
- + libudev=no
- +
- +fi
- +
- +
- + fi
- +fi
- + if test x$libudev != xno; then
- + HAVE_LIBUDEV_TRUE=
- + HAVE_LIBUDEV_FALSE='#'
- +else
- + HAVE_LIBUDEV_TRUE='#'
- + HAVE_LIBUDEV_FALSE=
- +fi
- +
- +
- +if test "x$ztex" != xno; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_init in -lusb-1.0" >&5
- +$as_echo_n "checking for libusb_init in -lusb-1.0... " >&6; }
- +if ${ac_cv_lib_usb_1_0_libusb_init+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + ac_check_lib_save_LIBS=$LIBS
- +LIBS="-lusb-1.0 $LIBS"
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +
- +/* Override any GCC internal prototype to avoid an error.
- + Use char because int might match the return type of a GCC
- + builtin and then its argument prototype would still apply. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +char libusb_init ();
- +int
- +main ()
- +{
- +return libusb_init ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- + ac_cv_lib_usb_1_0_libusb_init=yes
- +else
- + ac_cv_lib_usb_1_0_libusb_init=no
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_init" >&5
- +$as_echo "$ac_cv_lib_usb_1_0_libusb_init" >&6; }
- +if test "x$ac_cv_lib_usb_1_0_libusb_init" = xyes; then :
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_LIBUSB_1_0 1
- +_ACEOF
- +
- + LIBS="-lusb-1.0 $LIBS"
- +
- +else
- + as_fn_error $? "Could not find usb library - please install libusb" "$LINENO" 5
- +fi
- +
- +
- +$as_echo "#define HAVE_LIBUSB 1" >>confdefs.h
- +
- + USB_LIBS="-lusb-1.0"
- + USB_FLAGS=""
- +fi
- +
- +
- +
- +
- +
- +
- +
- +
- +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- + if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_PKG_CONFIG+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + case $PKG_CONFIG in
- + [\\/]* | ?:[\\/]*)
- + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
- + ;;
- + *)
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- + ;;
- +esac
- +fi
- +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
- +if test -n "$PKG_CONFIG"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
- +$as_echo "$PKG_CONFIG" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- +fi
- +if test -z "$ac_cv_path_PKG_CONFIG"; then
- + ac_pt_PKG_CONFIG=$PKG_CONFIG
- + # Extract the first word of "pkg-config", so it can be a program name with args.
- +set dummy pkg-config; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + case $ac_pt_PKG_CONFIG in
- + [\\/]* | ?:[\\/]*)
- + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
- + ;;
- + *)
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- + ;;
- +esac
- +fi
- +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
- +if test -n "$ac_pt_PKG_CONFIG"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
- +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- + if test "x$ac_pt_PKG_CONFIG" = x; then
- + PKG_CONFIG=""
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + PKG_CONFIG=$ac_pt_PKG_CONFIG
- + fi
- +else
- + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
- +fi
- +
- +fi
- +if test -n "$PKG_CONFIG"; then
- + _pkg_min_version=0.9.0
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
- +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
- + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + PKG_CONFIG=""
- + fi
- +fi
- +
- +
- +pkg_failed=no
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
- +$as_echo_n "checking for LIBCURL... " >&6; }
- +
- +if test -n "$LIBCURL_CFLAGS"; then
- + pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.15.6\""; } >&5
- + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.15.6") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- + pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.15.6" 2>/dev/null`
- + test "x$?" != "x0" && pkg_failed=yes
- +else
- + pkg_failed=yes
- +fi
- + else
- + pkg_failed=untried
- +fi
- +if test -n "$LIBCURL_LIBS"; then
- + pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.15.6\""; } >&5
- + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.15.6") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- + pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.6" 2>/dev/null`
- + test "x$?" != "x0" && pkg_failed=yes
- +else
- + pkg_failed=yes
- +fi
- + else
- + pkg_failed=untried
- +fi
- +
- +
- +
- +if test $pkg_failed = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +
- +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- + _pkg_short_errors_supported=yes
- +else
- + _pkg_short_errors_supported=no
- +fi
- + if test $_pkg_short_errors_supported = yes; then
- + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.15.6" 2>&1`
- + else
- + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.15.6" 2>&1`
- + fi
- + # Put the nasty error message in config.log where it belongs
- + echo "$LIBCURL_PKG_ERRORS" >&5
- +
- +
- +pkg_failed=no
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
- +$as_echo_n "checking for LIBCURL... " >&6; }
- +
- +if test -n "$LIBCURL_CFLAGS"; then
- + pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
- + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- + pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.10.1" 2>/dev/null`
- + test "x$?" != "x0" && pkg_failed=yes
- +else
- + pkg_failed=yes
- +fi
- + else
- + pkg_failed=untried
- +fi
- +if test -n "$LIBCURL_LIBS"; then
- + pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
- + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- + pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.10.1" 2>/dev/null`
- + test "x$?" != "x0" && pkg_failed=yes
- +else
- + pkg_failed=yes
- +fi
- + else
- + pkg_failed=untried
- +fi
- +
- +
- +
- +if test $pkg_failed = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +
- +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- + _pkg_short_errors_supported=yes
- +else
- + _pkg_short_errors_supported=no
- +fi
- + if test $_pkg_short_errors_supported = yes; then
- + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
- + else
- + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
- + fi
- + # Put the nasty error message in config.log where it belongs
- + echo "$LIBCURL_PKG_ERRORS" >&5
- +
- + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
- +elif test $pkg_failed = untried; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
- +else
- + LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS
- + LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +
- +fi
- +elif test $pkg_failed = untried; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +
- +pkg_failed=no
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
- +$as_echo_n "checking for LIBCURL... " >&6; }
- +
- +if test -n "$LIBCURL_CFLAGS"; then
- + pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
- + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- + pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.10.1" 2>/dev/null`
- + test "x$?" != "x0" && pkg_failed=yes
- +else
- + pkg_failed=yes
- +fi
- + else
- + pkg_failed=untried
- +fi
- +if test -n "$LIBCURL_LIBS"; then
- + pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.10.1\""; } >&5
- + ($PKG_CONFIG --exists --print-errors "libcurl >= 7.10.1") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- + pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.10.1" 2>/dev/null`
- + test "x$?" != "x0" && pkg_failed=yes
- +else
- + pkg_failed=yes
- +fi
- + else
- + pkg_failed=untried
- +fi
- +
- +
- +
- +if test $pkg_failed = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +
- +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- + _pkg_short_errors_supported=yes
- +else
- + _pkg_short_errors_supported=no
- +fi
- + if test $_pkg_short_errors_supported = yes; then
- + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
- + else
- + LIBCURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.10.1" 2>&1`
- + fi
- + # Put the nasty error message in config.log where it belongs
- + echo "$LIBCURL_PKG_ERRORS" >&5
- +
- + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
- +elif test $pkg_failed = untried; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + as_fn_error $? "Missing required libcurl dev >= 7.10.1" "$LINENO" 5
- +else
- + LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS
- + LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +
- +fi
- +else
- + LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS
- + LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +
- +$as_echo "#define CURL_HAS_SOCKOPT 1" >>confdefs.h
- +
- +fi
- +
- +
- +# All the configuration checks. Regrettably, the __attribute__ checks will
- +# give false positives on old GCCs, since they just cause warnings. But that's
- +# fairly harmless.
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +static void __attribute__((cold)) cleanup(void) { }
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +$as_echo "#define HAVE_ATTRIBUTE_COLD 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +static void __attribute__((const)) cleanup(void) { }
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +$as_echo "#define HAVE_ATTRIBUTE_CONST 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +static void __attribute__((noreturn)) cleanup(void) { exit(1); }
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +$as_echo "#define HAVE_ATTRIBUTE_NORETURN 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +static void __attribute__((format(__printf__, 1, 2))) cleanup(const char *fmt, ...) { }
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +$as_echo "#define HAVE_ATTRIBUTE_PRINTF 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +static void __attribute__((unused)) cleanup(void) { }
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +$as_echo "#define HAVE_ATTRIBUTE_UNUSED 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +static void __attribute__((used)) cleanup(void) { }
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +$as_echo "#define HAVE_ATTRIBUTE_USED 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +int main(void) { return __builtin_constant_p(1) ? 0 : 1; }
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- +
- +$as_echo "#define HAVE_BUILTIN_CONSTANT_P 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +int main(void) { return __builtin_types_compatible_p(char *, int) ? 1 : 0; }
- +_ACEOF
- +if ac_fn_c_try_link "$LINENO"; then :
- +
- +$as_echo "#define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext \
- + conftest$ac_exeext conftest.$ac_ext
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +static int __attribute__((warn_unused_result)) func(int x) { return x; }
- +_ACEOF
- +if ac_fn_c_try_compile "$LINENO"; then :
- +
- +$as_echo "#define HAVE_WARN_UNUSED_RESULT 1" >>confdefs.h
- +
- +fi
- +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- +
- +if test "x$prefix" = xNONE; then
- + prefix=/usr/local
- +fi
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define CGMINER_PREFIX "$prefix/bin"
- +_ACEOF
- +
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PHATK_KERNNAME "phatk120223"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define POCLBM_KERNNAME "poclbm120327"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define DIAKGCN_KERNNAME "diakgcn120427"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define DIABLO_KERNNAME "diablo120328"
- +_ACEOF
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +ac_config_files="$ac_config_files Makefile compat/Makefile compat/jansson/Makefile x86_64/Makefile x86_32/Makefile ccan/Makefile lib/Makefile"
- +
- +cat >confcache <<\_ACEOF
- +# This file is a shell script that caches the results of configure
- +# tests run on this system so they can be shared between configure
- +# scripts and configure runs, see configure's option --config-cache.
- +# It is not useful on other systems. If it contains results you don't
- +# want to keep, you may remove or edit it.
- +#
- +# config.status only pays attention to the cache file if you give it
- +# the --recheck option to rerun configure.
- +#
- +# `ac_cv_env_foo' variables (set or unset) will be overridden when
- +# loading this file, other *unset* `ac_cv_foo' will be assigned the
- +# following values.
- +
- +_ACEOF
- +
- +# The following way of writing the cache mishandles newlines in values,
- +# but we know of no workaround that is simple, portable, and efficient.
- +# So, we kill variables containing newlines.
- +# Ultrix sh set writes to stderr and can't be redirected directly,
- +# and sets the high bit in the cache file unless we assign to the vars.
- +(
- + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- + eval ac_val=\$$ac_var
- + case $ac_val in #(
- + *${as_nl}*)
- + case $ac_var in #(
- + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
- +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- + esac
- + case $ac_var in #(
- + _ | IFS | as_nl) ;; #(
- + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- + *) { eval $ac_var=; unset $ac_var;} ;;
- + esac ;;
- + esac
- + done
- +
- + (set) 2>&1 |
- + case $as_nl`(ac_space=' '; set) 2>&1` in #(
- + *${as_nl}ac_space=\ *)
- + # `set' does not quote correctly, so add quotes: double-quote
- + # substitution turns \\\\ into \\, and sed turns \\ into \.
- + sed -n \
- + "s/'/'\\\\''/g;
- + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- + ;; #(
- + *)
- + # `set' quotes correctly as required by POSIX, so do not add quotes.
- + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- + ;;
- + esac |
- + sort
- +) |
- + sed '
- + /^ac_cv_env_/b end
- + t clear
- + :clear
- + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- + t end
- + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- + :end' >>confcache
- +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- + if test -w "$cache_file"; then
- + if test "x$cache_file" != "x/dev/null"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
- +$as_echo "$as_me: updating cache $cache_file" >&6;}
- + if test ! -f "$cache_file" || test -h "$cache_file"; then
- + cat confcache >"$cache_file"
- + else
- + case $cache_file in #(
- + */* | ?:*)
- + mv -f confcache "$cache_file"$$ &&
- + mv -f "$cache_file"$$ "$cache_file" ;; #(
- + *)
- + mv -f confcache "$cache_file" ;;
- + esac
- + fi
- + fi
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
- +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- + fi
- +fi
- +rm -f confcache
- +
- +test "x$prefix" = xNONE && prefix=$ac_default_prefix
- +# Let make expand exec_prefix.
- +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- +
- +DEFS=-DHAVE_CONFIG_H
- +
- +ac_libobjs=
- +ac_ltlibobjs=
- +U=
- +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- + # 1. Remove the extension, and $U if already installed.
- + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- + # will be set to the directory where LIBOBJS objects are built.
- + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
- +done
- +LIBOBJS=$ac_libobjs
- +
- +LTLIBOBJS=$ac_ltlibobjs
- +
- +
- + if test -n "$EXEEXT"; then
- + am__EXEEXT_TRUE=
- + am__EXEEXT_FALSE='#'
- +else
- + am__EXEEXT_TRUE='#'
- + am__EXEEXT_FALSE=
- +fi
- +
- +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- + as_fn_error $? "conditional \"AMDEP\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
- + as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
- + as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
- + as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +
- + gl_libobjs=
- + gl_ltlibobjs=
- + if test -n "$gl_LIBOBJS"; then
- + # Remove the extension.
- + sed_drop_objext='s/\.o$//;s/\.obj$//'
- + for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
- + gl_libobjs="$gl_libobjs $i.$ac_objext"
- + gl_ltlibobjs="$gl_ltlibobjs $i.lo"
- + done
- + fi
- + gl_LIBOBJS=$gl_libobjs
- +
- + gl_LTLIBOBJS=$gl_ltlibobjs
- +
- +
- +
- + gltests_libobjs=
- + gltests_ltlibobjs=
- + if test -n "$gltests_LIBOBJS"; then
- + # Remove the extension.
- + sed_drop_objext='s/\.o$//;s/\.obj$//'
- + for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
- + gltests_libobjs="$gltests_libobjs $i.$ac_objext"
- + gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
- + done
- + fi
- + gltests_LIBOBJS=$gltests_libobjs
- +
- + gltests_LTLIBOBJS=$gltests_ltlibobjs
- +
- +
- +if test -z "${HAS_CPUMINE_TRUE}" && test -z "${HAS_CPUMINE_FALSE}"; then
- + as_fn_error $? "conditional \"HAS_CPUMINE\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAS_BITFORCE_TRUE}" && test -z "${HAS_BITFORCE_FALSE}"; then
- + as_fn_error $? "conditional \"HAS_BITFORCE\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAS_ICARUS_TRUE}" && test -z "${HAS_ICARUS_FALSE}"; then
- + as_fn_error $? "conditional \"HAS_ICARUS\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAS_ZTEX_TRUE}" && test -z "${HAS_ZTEX_FALSE}"; then
- + as_fn_error $? "conditional \"HAS_ZTEX\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAVE_CURSES_TRUE}" && test -z "${HAVE_CURSES_FALSE}"; then
- + as_fn_error $? "conditional \"HAVE_CURSES\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${WANT_JANSSON_TRUE}" && test -z "${WANT_JANSSON_FALSE}"; then
- + as_fn_error $? "conditional \"WANT_JANSSON\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAVE_WINDOWS_TRUE}" && test -z "${HAVE_WINDOWS_FALSE}"; then
- + as_fn_error $? "conditional \"HAVE_WINDOWS\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAVE_x86_64_TRUE}" && test -z "${HAVE_x86_64_FALSE}"; then
- + as_fn_error $? "conditional \"HAVE_x86_64\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAS_YASM_TRUE}" && test -z "${HAS_YASM_FALSE}"; then
- + as_fn_error $? "conditional \"HAS_YASM\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +if test -z "${HAVE_LIBUDEV_TRUE}" && test -z "${HAVE_LIBUDEV_FALSE}"; then
- + as_fn_error $? "conditional \"HAVE_LIBUDEV\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- +fi
- +
- +: "${CONFIG_STATUS=./config.status}"
- +ac_write_fail=0
- +ac_clean_files_save=$ac_clean_files
- +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
- +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
- +as_write_fail=0
- +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
- +#! $SHELL
- +# Generated by $as_me.
- +# Run this file to recreate the current configuration.
- +# Compiler output produced by configure, useful for debugging
- +# configure, is in config.log if it exists.
- +
- +debug=false
- +ac_cs_recheck=false
- +ac_cs_silent=false
- +
- +SHELL=\${CONFIG_SHELL-$SHELL}
- +export SHELL
- +_ASEOF
- +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
- +## -------------------- ##
- +## M4sh Initialization. ##
- +## -------------------- ##
- +
- +# Be more Bourne compatible
- +DUALCASE=1; export DUALCASE # for MKS sh
- +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- + emulate sh
- + NULLCMD=:
- + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- + # is contrary to our usage. Disable this feature.
- + alias -g '${1+"$@"}'='"$@"'
- + setopt NO_GLOB_SUBST
- +else
- + case `(set -o) 2>/dev/null` in #(
- + *posix*) :
- + set -o posix ;; #(
- + *) :
- + ;;
- +esac
- +fi
- +
- +
- +as_nl='
- +'
- +export as_nl
- +# Printing a long string crashes Solaris 7 /usr/bin/printf.
- +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
- +# Prefer a ksh shell builtin over an external printf program on Solaris,
- +# but without wasting forks for bash or zsh.
- +if test -z "$BASH_VERSION$ZSH_VERSION" \
- + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='print -r --'
- + as_echo_n='print -rn --'
- +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='printf %s\n'
- + as_echo_n='printf %s'
- +else
- + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- + as_echo_n='/usr/ucb/echo -n'
- + else
- + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- + as_echo_n_body='eval
- + arg=$1;
- + case $arg in #(
- + *"$as_nl"*)
- + expr "X$arg" : "X\\(.*\\)$as_nl";
- + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- + esac;
- + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- + '
- + export as_echo_n_body
- + as_echo_n='sh -c $as_echo_n_body as_echo'
- + fi
- + export as_echo_body
- + as_echo='sh -c $as_echo_body as_echo'
- +fi
- +
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + PATH_SEPARATOR=:
- + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- + PATH_SEPARATOR=';'
- + }
- +fi
- +
- +
- +# IFS
- +# We need space, tab and new line, in precisely that order. Quoting is
- +# there to prevent editors from complaining about space-tab.
- +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
- +# splitting by setting IFS to empty value.)
- +IFS=" "" $as_nl"
- +
- +# Find who we are. Look in the path if we contain no directory separator.
- +as_myself=
- +case $0 in #((
- + *[\\/]* ) as_myself=$0 ;;
- + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- + done
- +IFS=$as_save_IFS
- +
- + ;;
- +esac
- +# We did not find ourselves, most probably we were run as `sh COMMAND'
- +# in which case we are not to be found in the path.
- +if test "x$as_myself" = x; then
- + as_myself=$0
- +fi
- +if test ! -f "$as_myself"; then
- + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- + exit 1
- +fi
- +
- +# Unset variables that we do not need and which cause bugs (e.g. in
- +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
- +# suppresses any "Segmentation fault" message there. '((' could
- +# trigger a bug in pdksh 5.2.14.
- +for as_var in BASH_ENV ENV MAIL MAILPATH
- +do eval test x\${$as_var+set} = xset \
- + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- +done
- +PS1='$ '
- +PS2='> '
- +PS4='+ '
- +
- +# NLS nuisances.
- +LC_ALL=C
- +export LC_ALL
- +LANGUAGE=C
- +export LANGUAGE
- +
- +# CDPATH.
- +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- +
- +
- +# as_fn_error STATUS ERROR [LINENO LOG_FD]
- +# ----------------------------------------
- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
- +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
- +# script with STATUS, using 1 if that was 0.
- +as_fn_error ()
- +{
- + as_status=$1; test $as_status -eq 0 && as_status=1
- + if test "$4"; then
- + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- + fi
- + $as_echo "$as_me: error: $2" >&2
- + as_fn_exit $as_status
- +} # as_fn_error
- +
- +
- +# as_fn_set_status STATUS
- +# -----------------------
- +# Set $? to STATUS, without forking.
- +as_fn_set_status ()
- +{
- + return $1
- +} # as_fn_set_status
- +
- +# as_fn_exit STATUS
- +# -----------------
- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
- +as_fn_exit ()
- +{
- + set +e
- + as_fn_set_status $1
- + exit $1
- +} # as_fn_exit
- +
- +# as_fn_unset VAR
- +# ---------------
- +# Portably unset VAR.
- +as_fn_unset ()
- +{
- + { eval $1=; unset $1;}
- +}
- +as_unset=as_fn_unset
- +# as_fn_append VAR VALUE
- +# ----------------------
- +# Append the text in VALUE to the end of the definition contained in VAR. Take
- +# advantage of any shell optimizations that allow amortized linear growth over
- +# repeated appends, instead of the typical quadratic growth present in naive
- +# implementations.
- +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- + eval 'as_fn_append ()
- + {
- + eval $1+=\$2
- + }'
- +else
- + as_fn_append ()
- + {
- + eval $1=\$$1\$2
- + }
- +fi # as_fn_append
- +
- +# as_fn_arith ARG...
- +# ------------------
- +# Perform arithmetic evaluation on the ARGs, and store the result in the
- +# global $as_val. Take advantage of shells that can avoid forks. The arguments
- +# must be portable across $(()) and expr.
- +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- + eval 'as_fn_arith ()
- + {
- + as_val=$(( $* ))
- + }'
- +else
- + as_fn_arith ()
- + {
- + as_val=`expr "$@" || test $? -eq 1`
- + }
- +fi # as_fn_arith
- +
- +
- +if expr a : '\(a\)' >/dev/null 2>&1 &&
- + test "X`expr 00001 : '.*\(...\)'`" = X001; then
- + as_expr=expr
- +else
- + as_expr=false
- +fi
- +
- +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- + as_basename=basename
- +else
- + as_basename=false
- +fi
- +
- +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- + as_dirname=dirname
- +else
- + as_dirname=false
- +fi
- +
- +as_me=`$as_basename -- "$0" ||
- +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- + X"$0" : 'X\(//\)$' \| \
- + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X/"$0" |
- + sed '/^.*\/\([^/][^/]*\)\/*$/{
- + s//\1/
- + q
- + }
- + /^X\/\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\/\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- +
- +# Avoid depending upon Character Ranges.
- +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- +as_cr_digits='0123456789'
- +as_cr_alnum=$as_cr_Letters$as_cr_digits
- +
- +ECHO_C= ECHO_N= ECHO_T=
- +case `echo -n x` in #(((((
- +-n*)
- + case `echo 'xy\c'` in
- + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- + xy) ECHO_C='\c';;
- + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- + ECHO_T=' ';;
- + esac;;
- +*)
- + ECHO_N='-n';;
- +esac
- +
- +rm -f conf$$ conf$$.exe conf$$.file
- +if test -d conf$$.dir; then
- + rm -f conf$$.dir/conf$$.file
- +else
- + rm -f conf$$.dir
- + mkdir conf$$.dir 2>/dev/null
- +fi
- +if (echo >conf$$.file) 2>/dev/null; then
- + if ln -s conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s='ln -s'
- + # ... but there are two gotchas:
- + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- + # In both cases, we have to default to `cp -p'.
- + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- + as_ln_s='cp -p'
- + elif ln conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s=ln
- + else
- + as_ln_s='cp -p'
- + fi
- +else
- + as_ln_s='cp -p'
- +fi
- +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- +rmdir conf$$.dir 2>/dev/null
- +
- +
- +# as_fn_mkdir_p
- +# -------------
- +# Create "$as_dir" as a directory, including parents if necessary.
- +as_fn_mkdir_p ()
- +{
- +
- + case $as_dir in #(
- + -*) as_dir=./$as_dir;;
- + esac
- + test -d "$as_dir" || eval $as_mkdir_p || {
- + as_dirs=
- + while :; do
- + case $as_dir in #(
- + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- + *) as_qdir=$as_dir;;
- + esac
- + as_dirs="'$as_qdir' $as_dirs"
- + as_dir=`$as_dirname -- "$as_dir" ||
- +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$as_dir" : 'X\(//\)[^/]' \| \
- + X"$as_dir" : 'X\(//\)$' \| \
- + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$as_dir" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + test -d "$as_dir" && break
- + done
- + test -z "$as_dirs" || eval "mkdir $as_dirs"
- + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
- +
- +
- +} # as_fn_mkdir_p
- +if mkdir -p . 2>/dev/null; then
- + as_mkdir_p='mkdir -p "$as_dir"'
- +else
- + test -d ./-p && rmdir ./-p
- + as_mkdir_p=false
- +fi
- +
- +if test -x / >/dev/null 2>&1; then
- + as_test_x='test -x'
- +else
- + if ls -dL / >/dev/null 2>&1; then
- + as_ls_L_option=L
- + else
- + as_ls_L_option=
- + fi
- + as_test_x='
- + eval sh -c '\''
- + if test -d "$1"; then
- + test -d "$1/.";
- + else
- + case $1 in #(
- + -*)set "./$1";;
- + esac;
- + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- + ???[sx]*):;;*)false;;esac;fi
- + '\'' sh
- + '
- +fi
- +as_executable_p=$as_test_x
- +
- +# Sed expression to map a string onto a valid CPP name.
- +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- +
- +# Sed expression to map a string onto a valid variable name.
- +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- +
- +
- +exec 6>&1
- +## ----------------------------------- ##
- +## Main body of $CONFIG_STATUS script. ##
- +## ----------------------------------- ##
- +_ASEOF
- +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +# Save the log message, to keep $0 and so on meaningful, and to
- +# report actual input values of CONFIG_FILES etc. instead of their
- +# values after options handling.
- +ac_log="
- +This file was extended by cgminer $as_me 2.4.1, which was
- +generated by GNU Autoconf 2.68. Invocation command line was
- +
- + CONFIG_FILES = $CONFIG_FILES
- + CONFIG_HEADERS = $CONFIG_HEADERS
- + CONFIG_LINKS = $CONFIG_LINKS
- + CONFIG_COMMANDS = $CONFIG_COMMANDS
- + $ $0 $@
- +
- +on `(hostname || uname -n) 2>/dev/null | sed 1q`
- +"
- +
- +_ACEOF
- +
- +case $ac_config_files in *"
- +"*) set x $ac_config_files; shift; ac_config_files=$*;;
- +esac
- +
- +case $ac_config_headers in *"
- +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
- +esac
- +
- +
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +# Files that config.status was made for.
- +config_files="$ac_config_files"
- +config_headers="$ac_config_headers"
- +config_commands="$ac_config_commands"
- +
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +ac_cs_usage="\
- +\`$as_me' instantiates files and other configuration actions
- +from templates according to the current configuration. Unless the files
- +and actions are specified as TAGs, all are instantiated by default.
- +
- +Usage: $0 [OPTION]... [TAG]...
- +
- + -h, --help print this help, then exit
- + -V, --version print version number and configuration settings, then exit
- + --config print configuration, then exit
- + -q, --quiet, --silent
- + do not print progress messages
- + -d, --debug don't remove temporary files
- + --recheck update $as_me by reconfiguring in the same conditions
- + --file=FILE[:TEMPLATE]
- + instantiate the configuration file FILE
- + --header=FILE[:TEMPLATE]
- + instantiate the configuration header FILE
- +
- +Configuration files:
- +$config_files
- +
- +Configuration headers:
- +$config_headers
- +
- +Configuration commands:
- +$config_commands
- +
- +Report bugs to <kernel@kolivas.org>."
- +
- +_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
- +ac_cs_version="\\
- +cgminer config.status 2.4.1
- +configured by $0, generated by GNU Autoconf 2.68,
- + with options \\"\$ac_cs_config\\"
- +
- +Copyright (C) 2010 Free Software Foundation, Inc.
- +This config.status script is free software; the Free Software Foundation
- +gives unlimited permission to copy, distribute and modify it."
- +
- +ac_pwd='$ac_pwd'
- +srcdir='$srcdir'
- +INSTALL='$INSTALL'
- +MKDIR_P='$MKDIR_P'
- +AWK='$AWK'
- +test -n "\$AWK" || AWK=awk
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +# The default lists apply if the user does not specify any file.
- +ac_need_defaults=:
- +while test $# != 0
- +do
- + case $1 in
- + --*=?*)
- + ac_option=`expr "X$1" : 'X\([^=]*\)='`
- + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- + ac_shift=:
- + ;;
- + --*=)
- + ac_option=`expr "X$1" : 'X\([^=]*\)='`
- + ac_optarg=
- + ac_shift=:
- + ;;
- + *)
- + ac_option=$1
- + ac_optarg=$2
- + ac_shift=shift
- + ;;
- + esac
- +
- + case $ac_option in
- + # Handling of the options.
- + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- + ac_cs_recheck=: ;;
- + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- + $as_echo "$ac_cs_version"; exit ;;
- + --config | --confi | --conf | --con | --co | --c )
- + $as_echo "$ac_cs_config"; exit ;;
- + --debug | --debu | --deb | --de | --d | -d )
- + debug=: ;;
- + --file | --fil | --fi | --f )
- + $ac_shift
- + case $ac_optarg in
- + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- + '') as_fn_error $? "missing file argument" ;;
- + esac
- + as_fn_append CONFIG_FILES " '$ac_optarg'"
- + ac_need_defaults=false;;
- + --header | --heade | --head | --hea )
- + $ac_shift
- + case $ac_optarg in
- + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- + esac
- + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- + ac_need_defaults=false;;
- + --he | --h)
- + # Conflict between --help and --header
- + as_fn_error $? "ambiguous option: \`$1'
- +Try \`$0 --help' for more information.";;
- + --help | --hel | -h )
- + $as_echo "$ac_cs_usage"; exit ;;
- + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- + | -silent | --silent | --silen | --sile | --sil | --si | --s)
- + ac_cs_silent=: ;;
- +
- + # This is an error.
- + -*) as_fn_error $? "unrecognized option: \`$1'
- +Try \`$0 --help' for more information." ;;
- +
- + *) as_fn_append ac_config_targets " $1"
- + ac_need_defaults=false ;;
- +
- + esac
- + shift
- +done
- +
- +ac_configure_extra_args=
- +
- +if $ac_cs_silent; then
- + exec 6>/dev/null
- + ac_configure_extra_args="$ac_configure_extra_args --silent"
- +fi
- +
- +_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +if \$ac_cs_recheck; then
- + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- + shift
- + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- + CONFIG_SHELL='$SHELL'
- + export CONFIG_SHELL
- + exec "\$@"
- +fi
- +
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +exec 5>>config.log
- +{
- + echo
- + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- +## Running $as_me. ##
- +_ASBOX
- + $as_echo "$ac_log"
- +} >&5
- +
- +_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +#
- +# INIT-COMMANDS
- +#
- +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
- +
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +
- +# Handling of arguments.
- +for ac_config_target in $ac_config_targets
- +do
- + case $ac_config_target in
- + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- + "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
- + "compat/jansson/Makefile") CONFIG_FILES="$CONFIG_FILES compat/jansson/Makefile" ;;
- + "x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES x86_64/Makefile" ;;
- + "x86_32/Makefile") CONFIG_FILES="$CONFIG_FILES x86_32/Makefile" ;;
- + "ccan/Makefile") CONFIG_FILES="$CONFIG_FILES ccan/Makefile" ;;
- + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
- +
- + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- + esac
- +done
- +
- +
- +# If the user did not use the arguments to specify the items to instantiate,
- +# then the envvar interface is used. Set only those that are not.
- +# We use the long form for the default assignment because of an extremely
- +# bizarre bug on SunOS 4.1.3.
- +if $ac_need_defaults; then
- + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
- +fi
- +
- +# Have a temporary directory for convenience. Make it in the build tree
- +# simply because there is no reason against having it here, and in addition,
- +# creating and moving files from /tmp can sometimes cause problems.
- +# Hook for its removal unless debugging.
- +# Note that there is a small window in which the directory will not be cleaned:
- +# after its creation but before its name has been assigned to `$tmp'.
- +$debug ||
- +{
- + tmp= ac_tmp=
- + trap 'exit_status=$?
- + : "${ac_tmp:=$tmp}"
- + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
- +' 0
- + trap 'as_fn_exit 1' 1 2 13 15
- +}
- +# Create a (secure) tmp directory for tmp files.
- +
- +{
- + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- + test -d "$tmp"
- +} ||
- +{
- + tmp=./conf$$-$RANDOM
- + (umask 077 && mkdir "$tmp")
- +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
- +ac_tmp=$tmp
- +
- +# Set up the scripts for CONFIG_FILES section.
- +# No need to generate them if there are no CONFIG_FILES.
- +# This happens for instance with `./config.status config.h'.
- +if test -n "$CONFIG_FILES"; then
- +
- +
- +ac_cr=`echo X | tr X '\015'`
- +# On cygwin, bash can eat \r inside `` if the user requested igncr.
- +# But we know of no other shell where ac_cr would be empty at this
- +# point, so we can use a bashism as a fallback.
- +if test "x$ac_cr" = x; then
- + eval ac_cr=\$\'\\r\'
- +fi
- +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
- +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- + ac_cs_awk_cr='\\r'
- +else
- + ac_cs_awk_cr=$ac_cr
- +fi
- +
- +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
- +_ACEOF
- +
- +
- +{
- + echo "cat >conf$$subs.awk <<_ACEOF" &&
- + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- + echo "_ACEOF"
- +} >conf$$subs.sh ||
- + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
- +ac_delim='%!_!# '
- +for ac_last_try in false false false false false :; do
- + . ./conf$$subs.sh ||
- + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- +
- + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- + if test $ac_delim_n = $ac_delim_num; then
- + break
- + elif $ac_last_try; then
- + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- + else
- + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- + fi
- +done
- +rm -f conf$$subs.sh
- +
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
- +_ACEOF
- +sed -n '
- +h
- +s/^/S["/; s/!.*/"]=/
- +p
- +g
- +s/^[^!]*!//
- +:repl
- +t repl
- +s/'"$ac_delim"'$//
- +t delim
- +:nl
- +h
- +s/\(.\{148\}\)..*/\1/
- +t more1
- +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
- +p
- +n
- +b repl
- +:more1
- +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
- +p
- +g
- +s/.\{148\}//
- +t nl
- +:delim
- +h
- +s/\(.\{148\}\)..*/\1/
- +t more2
- +s/["\\]/\\&/g; s/^/"/; s/$/"/
- +p
- +b
- +:more2
- +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
- +p
- +g
- +s/.\{148\}//
- +t delim
- +' <conf$$subs.awk | sed '
- +/^[^""]/{
- + N
- + s/\n//
- +}
- +' >>$CONFIG_STATUS || ac_write_fail=1
- +rm -f conf$$subs.awk
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +_ACAWK
- +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- + for (key in S) S_is_set[key] = 1
- + FS = ""
- +
- +}
- +{
- + line = $ 0
- + nfields = split(line, field, "@")
- + substed = 0
- + len = length(field[1])
- + for (i = 2; i < nfields; i++) {
- + key = field[i]
- + keylen = length(key)
- + if (S_is_set[key]) {
- + value = S[key]
- + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- + len += length(value) + length(field[++i])
- + substed = 1
- + } else
- + len += 1 + keylen
- + }
- +
- + print line
- +}
- +
- +_ACAWK
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
- +else
- + cat
- +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
- +_ACEOF
- +
- +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
- +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
- +# trailing colons and then remove the whole line if VPATH becomes empty
- +# (actually we leave an empty line to preserve line numbers).
- +if test "x$srcdir" = x.; then
- + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
- +h
- +s///
- +s/^/:/
- +s/[ ]*$/:/
- +s/:\$(srcdir):/:/g
- +s/:\${srcdir}:/:/g
- +s/:@srcdir@:/:/g
- +s/^:*//
- +s/:*$//
- +x
- +s/\(=[ ]*\).*/\1/
- +G
- +s/\n//
- +s/^[^=]*=[ ]*$//
- +}'
- +fi
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +fi # test -n "$CONFIG_FILES"
- +
- +# Set up the scripts for CONFIG_HEADERS section.
- +# No need to generate them if there are no CONFIG_HEADERS.
- +# This happens for instance with `./config.status Makefile'.
- +if test -n "$CONFIG_HEADERS"; then
- +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
- +BEGIN {
- +_ACEOF
- +
- +# Transform confdefs.h into an awk script `defines.awk', embedded as
- +# here-document in config.status, that substitutes the proper values into
- +# config.h.in to produce config.h.
- +
- +# Create a delimiter string that does not exist in confdefs.h, to ease
- +# handling of long lines.
- +ac_delim='%!_!# '
- +for ac_last_try in false false :; do
- + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
- + if test -z "$ac_tt"; then
- + break
- + elif $ac_last_try; then
- + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
- + else
- + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- + fi
- +done
- +
- +# For the awk script, D is an array of macro values keyed by name,
- +# likewise P contains macro parameters if any. Preserve backslash
- +# newline sequences.
- +
- +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
- +sed -n '
- +s/.\{148\}/&'"$ac_delim"'/g
- +t rset
- +:rset
- +s/^[ ]*#[ ]*define[ ][ ]*/ /
- +t def
- +d
- +:def
- +s/\\$//
- +t bsnl
- +s/["\\]/\\&/g
- +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
- +D["\1"]=" \3"/p
- +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
- +d
- +:bsnl
- +s/["\\]/\\&/g
- +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
- +D["\1"]=" \3\\\\\\n"\\/p
- +t cont
- +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
- +t cont
- +d
- +:cont
- +n
- +s/.\{148\}/&'"$ac_delim"'/g
- +t clear
- +:clear
- +s/\\$//
- +t bsnlc
- +s/["\\]/\\&/g; s/^/"/; s/$/"/p
- +d
- +:bsnlc
- +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
- +b cont
- +' <confdefs.h | sed '
- +s/'"$ac_delim"'/"\\\
- +"/g' >>$CONFIG_STATUS || ac_write_fail=1
- +
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- + for (key in D) D_is_set[key] = 1
- + FS = ""
- +}
- +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
- + line = \$ 0
- + split(line, arg, " ")
- + if (arg[1] == "#") {
- + defundef = arg[2]
- + mac1 = arg[3]
- + } else {
- + defundef = substr(arg[1], 2)
- + mac1 = arg[2]
- + }
- + split(mac1, mac2, "(") #)
- + macro = mac2[1]
- + prefix = substr(line, 1, index(line, defundef) - 1)
- + if (D_is_set[macro]) {
- + # Preserve the white space surrounding the "#".
- + print prefix "define", macro P[macro] D[macro]
- + next
- + } else {
- + # Replace #undef with comments. This is necessary, for example,
- + # in the case of _POSIX_SOURCE, which is predefined and required
- + # on some systems where configure will not decide to define it.
- + if (defundef == "undef") {
- + print "/*", prefix defundef, macro, "*/"
- + next
- + }
- + }
- +}
- +{ print }
- +_ACAWK
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
- +fi # test -n "$CONFIG_HEADERS"
- +
- +
- +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
- +shift
- +for ac_tag
- +do
- + case $ac_tag in
- + :[FHLC]) ac_mode=$ac_tag; continue;;
- + esac
- + case $ac_mode$ac_tag in
- + :[FHL]*:*);;
- + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- + :[FH]-) ac_tag=-:-;;
- + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- + esac
- + ac_save_IFS=$IFS
- + IFS=:
- + set x $ac_tag
- + IFS=$ac_save_IFS
- + shift
- + ac_file=$1
- + shift
- +
- + case $ac_mode in
- + :L) ac_source=$1;;
- + :[FH])
- + ac_file_inputs=
- + for ac_f
- + do
- + case $ac_f in
- + -) ac_f="$ac_tmp/stdin";;
- + *) # Look for the file first in the build tree, then in the source tree
- + # (if the path is not absolute). The absolute path cannot be DOS-style,
- + # because $ac_f cannot contain `:'.
- + test -f "$ac_f" ||
- + case $ac_f in
- + [\\/$]*) false;;
- + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- + esac ||
- + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- + esac
- + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- + as_fn_append ac_file_inputs " '$ac_f'"
- + done
- +
- + # Let's still pretend it is `configure' which instantiates (i.e., don't
- + # use $as_me), people would be surprised to read:
- + # /* config.h. Generated by config.status. */
- + configure_input='Generated from '`
- + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- + `' by configure.'
- + if test x"$ac_file" != x-; then
- + configure_input="$ac_file. $configure_input"
- + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
- +$as_echo "$as_me: creating $ac_file" >&6;}
- + fi
- + # Neutralize special characters interpreted by sed in replacement strings.
- + case $configure_input in #(
- + *\&* | *\|* | *\\* )
- + ac_sed_conf_input=`$as_echo "$configure_input" |
- + sed 's/[\\\\&|]/\\\\&/g'`;; #(
- + *) ac_sed_conf_input=$configure_input;;
- + esac
- +
- + case $ac_tag in
- + *:-:* | *:-) cat >"$ac_tmp/stdin" \
- + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- + esac
- + ;;
- + esac
- +
- + ac_dir=`$as_dirname -- "$ac_file" ||
- +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$ac_file" : 'X\(//\)[^/]' \| \
- + X"$ac_file" : 'X\(//\)$' \| \
- + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$ac_file" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + as_dir="$ac_dir"; as_fn_mkdir_p
- + ac_builddir=.
- +
- +case "$ac_dir" in
- +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- +*)
- + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- + # A ".." for each directory in $ac_dir_suffix.
- + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- + case $ac_top_builddir_sub in
- + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- + esac ;;
- +esac
- +ac_abs_top_builddir=$ac_pwd
- +ac_abs_builddir=$ac_pwd$ac_dir_suffix
- +# for backward compatibility:
- +ac_top_builddir=$ac_top_build_prefix
- +
- +case $srcdir in
- + .) # We are building in place.
- + ac_srcdir=.
- + ac_top_srcdir=$ac_top_builddir_sub
- + ac_abs_top_srcdir=$ac_pwd ;;
- + [\\/]* | ?:[\\/]* ) # Absolute name.
- + ac_srcdir=$srcdir$ac_dir_suffix;
- + ac_top_srcdir=$srcdir
- + ac_abs_top_srcdir=$srcdir ;;
- + *) # Relative name.
- + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- + ac_top_srcdir=$ac_top_build_prefix$srcdir
- + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
- +esac
- +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
- +
- +
- + case $ac_mode in
- + :F)
- + #
- + # CONFIG_FILE
- + #
- +
- + case $INSTALL in
- + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- + esac
- + ac_MKDIR_P=$MKDIR_P
- + case $MKDIR_P in
- + [\\/$]* | ?:[\\/]* ) ;;
- + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- + esac
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +# If the template does not know about datarootdir, expand it.
- +# FIXME: This hack should be removed a few years after 2.60.
- +ac_datarootdir_hack=; ac_datarootdir_seen=
- +ac_sed_dataroot='
- +/datarootdir/ {
- + p
- + q
- +}
- +/@datadir@/p
- +/@docdir@/p
- +/@infodir@/p
- +/@localedir@/p
- +/@mandir@/p'
- +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
- +*datarootdir*) ac_datarootdir_seen=yes;;
- +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
- +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
- +_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- + ac_datarootdir_hack='
- + s&@datadir@&$datadir&g
- + s&@docdir@&$docdir&g
- + s&@infodir@&$infodir&g
- + s&@localedir@&$localedir&g
- + s&@mandir@&$mandir&g
- + s&\\\${datarootdir}&$datarootdir&g' ;;
- +esac
- +_ACEOF
- +
- +# Neutralize VPATH when `$srcdir' = `.'.
- +# Shell code in configure.ac might set extrasub.
- +# FIXME: do we really want to maintain this feature?
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +ac_sed_extra="$ac_vpsub
- +$extrasub
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +:t
- +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- +s|@configure_input@|$ac_sed_conf_input|;t t
- +s&@top_builddir@&$ac_top_builddir_sub&;t t
- +s&@top_build_prefix@&$ac_top_build_prefix&;t t
- +s&@srcdir@&$ac_srcdir&;t t
- +s&@abs_srcdir@&$ac_abs_srcdir&;t t
- +s&@top_srcdir@&$ac_top_srcdir&;t t
- +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
- +s&@builddir@&$ac_builddir&;t t
- +s&@abs_builddir@&$ac_abs_builddir&;t t
- +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
- +s&@INSTALL@&$ac_INSTALL&;t t
- +s&@MKDIR_P@&$ac_MKDIR_P&;t t
- +$ac_datarootdir_hack
- +"
- +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- +
- +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- + "$ac_tmp/out"`; test -z "$ac_out"; } &&
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- +which seems to be undefined. Please make sure it is defined" >&5
- +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- +which seems to be undefined. Please make sure it is defined" >&2;}
- +
- + rm -f "$ac_tmp/stdin"
- + case $ac_file in
- + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- + esac \
- + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- + ;;
- + :H)
- + #
- + # CONFIG_HEADER
- + #
- + if test x"$ac_file" != x-; then
- + {
- + $as_echo "/* $configure_input */" \
- + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- + } >"$ac_tmp/config.h" \
- + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
- +$as_echo "$as_me: $ac_file is unchanged" >&6;}
- + else
- + rm -f "$ac_file"
- + mv "$ac_tmp/config.h" "$ac_file" \
- + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- + fi
- + else
- + $as_echo "/* $configure_input */" \
- + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- + || as_fn_error $? "could not create -" "$LINENO" 5
- + fi
- +# Compute "$ac_file"'s index in $config_headers.
- +_am_arg="$ac_file"
- +_am_stamp_count=1
- +for _am_header in $config_headers :; do
- + case $_am_header in
- + $_am_arg | $_am_arg:* )
- + break ;;
- + * )
- + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- + esac
- +done
- +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
- +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$_am_arg" : 'X\(//\)[^/]' \| \
- + X"$_am_arg" : 'X\(//\)$' \| \
- + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$_am_arg" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`/stamp-h$_am_stamp_count
- + ;;
- +
- + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
- +$as_echo "$as_me: executing $ac_file commands" >&6;}
- + ;;
- + esac
- +
- +
- + case $ac_file$ac_mode in
- + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- + # Autoconf 2.62 quotes --file arguments for eval, but not when files
- + # are listed without --file. Let's play safe and only enable the eval
- + # if we detect the quoting.
- + case $CONFIG_FILES in
- + *\'*) eval set x "$CONFIG_FILES" ;;
- + *) set x $CONFIG_FILES ;;
- + esac
- + shift
- + for mf
- + do
- + # Strip MF so we end up with the name of the file.
- + mf=`echo "$mf" | sed -e 's/:.*$//'`
- + # Check whether this is an Automake generated Makefile or not.
- + # We used to match only the files named `Makefile.in', but
- + # some people rename them; so instead we look at the file content.
- + # Grep'ing the first line is not enough: some people post-process
- + # each Makefile.in and add a new line on top of each file to say so.
- + # Grep'ing the whole file is not good either: AIX grep has a line
- + # limit of 2048, but all sed's we know have understand at least 4000.
- + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- + dirpart=`$as_dirname -- "$mf" ||
- +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$mf" : 'X\(//\)[^/]' \| \
- + X"$mf" : 'X\(//\)$' \| \
- + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$mf" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + else
- + continue
- + fi
- + # Extract the definition of DEPDIR, am__include, and am__quote
- + # from the Makefile without running `make'.
- + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- + test -z "$DEPDIR" && continue
- + am__include=`sed -n 's/^am__include = //p' < "$mf"`
- + test -z "am__include" && continue
- + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- + # When using ansi2knr, U may be empty or an underscore; expand it
- + U=`sed -n 's/^U = //p' < "$mf"`
- + # Find all dependency output files, they are included files with
- + # $(DEPDIR) in their names. We invoke sed twice because it is the
- + # simplest approach to changing $(DEPDIR) to its actual value in the
- + # expansion.
- + for file in `sed -n "
- + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- + # Make sure the directory exists.
- + test -f "$dirpart/$file" && continue
- + fdir=`$as_dirname -- "$file" ||
- +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$file" : 'X\(//\)[^/]' \| \
- + X"$file" : 'X\(//\)$' \| \
- + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$file" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + as_dir=$dirpart/$fdir; as_fn_mkdir_p
- + # echo "creating $dirpart/$file"
- + echo '# dummy' > "$dirpart/$file"
- + done
- + done
- +}
- + ;;
- +
- + esac
- +done # for ac_tag
- +
- +
- +as_fn_exit 0
- +_ACEOF
- +ac_clean_files=$ac_clean_files_save
- +
- +test $ac_write_fail = 0 ||
- + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
- +
- +
- +# configure is writing to config.log, and then calls config.status.
- +# config.status does its own redirection, appending to config.log.
- +# Unfortunately, on DOS this fails, as config.log is still kept open
- +# by configure, so config.status won't be able to write to it; its
- +# output is simply discarded. So we exec the FD to /dev/null,
- +# effectively closing config.log, so it can be properly (re)opened and
- +# appended to by config.status. When coming back to configure, we
- +# need to make the FD available again.
- +if test "$no_create" != yes; then
- + ac_cs_success=:
- + ac_config_status_args=
- + test "$silent" = yes &&
- + ac_config_status_args="$ac_config_status_args --quiet"
- + exec 5>/dev/null
- + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- + exec 5>>config.log
- + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- + # would make configure fail if this is the last instruction.
- + $ac_cs_success || as_fn_exit 1
- +fi
- +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
- +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
- +fi
- +
- +
- +
- +echo
- +echo
- +echo
- +echo "------------------------------------------------------------------------"
- +echo "$PACKAGE $VERSION"
- +echo "------------------------------------------------------------------------"
- +echo
- +echo
- +echo "Configuration Options Summary:"
- +echo
- +
- +echo " curses.TUI...........: $cursesmsg"
- +
- +if test "x$opencl" != xno; then
- + if test $found_opencl = 1; then
- + echo " OpenCL...............: FOUND. GPU mining support enabled"
- + else
- + echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
- + if test "x$cpumining$bitforce$icarus$ztex" = xnononono; then
- + as_fn_error $? "No mining configured in" "$LINENO" 5
- + fi
- + fi
- +else
- + echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
- + if test "x$cpumining$bitforce$icarus$ztex" = xnononono; then
- + as_fn_error $? "No mining configured in" "$LINENO" 5
- + fi
- +fi
- +
- +if test "x$adl" != xno; then
- + if test x$have_adl = xtrue; then
- + echo " ADL..................: SDK found, GPU monitoring support enabled"
- + else
- + echo " ADL..................: SDK NOT found, GPU monitoring support DISABLED"
- + fi
- +else
- + echo " ADL..................: Detection overrided. GPU monitoring support DISABLED"
- +fi
- +
- +echo
- +if test "x$bitforce" = xyes; then
- + echo " BitForce.FPGAs.......: Enabled"
- +else
- + echo " BitForce.FPGAs.......: Disabled"
- +fi
- +
- +if test "x$icarus" = xyes; then
- + echo " Icarus.FPGAs.........: Enabled"
- +else
- + echo " Icarus.FPGAs.........: Disabled"
- +fi
- +
- +if test "x$ztex" = xyes; then
- + echo " Ztex.FPGAs...........: Enabled"
- +else
- + echo " Ztex.FPGAs...........: Disabled"
- +fi
- +
- +if test "x$bitforce" != xno; then
- + echo " libudev.detection....: $libudev"
- +fi
- +
- +if test "x$cpumining" = xyes; then
- + echo
- + echo " CPU Mining...........: Enabled"
- + echo " ASM.(for CPU mining).: $has_yasm"
- +fi
- +
- +echo
- +echo "Compilation............: make (or gmake)"
- +echo " CPPFLAGS.............: $CPPFLAGS"
- +echo " CFLAGS...............: $CFLAGS"
- +echo " LDFLAGS..............: $LDFLAGS $PTHREAD_FLAGS $USB_FLAGS"
- +echo " LDADD................: $DLOPEN_FLAGS $LIBCURL_LIBS $JANSSON_LIBS $PTHREAD_LIBS $OPENCL_LIBS $NCURSES_LIBS $PDCURSES_LIBS $WS2_LIBS $MATH_LIBS $UDEV_LIBS $USB_LIBS"
- +echo
- +echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
- +echo " prefix...............: $prefix"
- +echo
- +
- --- /dev/null
- +++ cgminer-2.4.1/missing
- @@ -0,0 +1,331 @@
- +#! /bin/sh
- +# Common stub for a few missing GNU programs while installing.
- +
- +scriptversion=2012-01-06.13; # UTC
- +
- +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
- +# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
- +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
- +
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2, or (at your option)
- +# any later version.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +
- +# You should have received a copy of the GNU General Public License
- +# along with this program. If not, see <http://www.gnu.org/licenses/>.
- +
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +if test $# -eq 0; then
- + echo 1>&2 "Try \`$0 --help' for more information"
- + exit 1
- +fi
- +
- +run=:
- +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
- +sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
- +
- +# In the cases where this matters, `missing' is being run in the
- +# srcdir already.
- +if test -f configure.ac; then
- + configure_ac=configure.ac
- +else
- + configure_ac=configure.in
- +fi
- +
- +msg="missing on your system"
- +
- +case $1 in
- +--run)
- + # Try to run requested program, and just exit if it succeeds.
- + run=
- + shift
- + "$@" && exit 0
- + # Exit code 63 means version mismatch. This often happens
- + # when the user try to use an ancient version of a tool on
- + # a file that requires a minimum version. In this case we
- + # we should proceed has if the program had been absent, or
- + # if --run hadn't been passed.
- + if test $? = 63; then
- + run=:
- + msg="probably too old"
- + fi
- + ;;
- +
- + -h|--h|--he|--hel|--help)
- + echo "\
- +$0 [OPTION]... PROGRAM [ARGUMENT]...
- +
- +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
- +error status if there is no known handling for PROGRAM.
- +
- +Options:
- + -h, --help display this help and exit
- + -v, --version output version information and exit
- + --run try to run the given command, and emulate it if it fails
- +
- +Supported PROGRAM values:
- + aclocal touch file \`aclocal.m4'
- + autoconf touch file \`configure'
- + autoheader touch file \`config.h.in'
- + autom4te touch the output file, or create a stub one
- + automake touch all \`Makefile.in' files
- + bison create \`y.tab.[ch]', if possible, from existing .[ch]
- + flex create \`lex.yy.c', if possible, from existing .c
- + help2man touch the output file
- + lex create \`lex.yy.c', if possible, from existing .c
- + makeinfo touch the output file
- + yacc create \`y.tab.[ch]', if possible, from existing .[ch]
- +
- +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
- +\`g' are ignored when checking the name.
- +
- +Send bug reports to <bug-automake@gnu.org>."
- + exit $?
- + ;;
- +
- + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
- + echo "missing $scriptversion (GNU Automake)"
- + exit $?
- + ;;
- +
- + -*)
- + echo 1>&2 "$0: Unknown \`$1' option"
- + echo 1>&2 "Try \`$0 --help' for more information"
- + exit 1
- + ;;
- +
- +esac
- +
- +# normalize program name to check for.
- +program=`echo "$1" | sed '
- + s/^gnu-//; t
- + s/^gnu//; t
- + s/^g//; t'`
- +
- +# Now exit if we have it, but it failed. Also exit now if we
- +# don't have it and --version was passed (most likely to detect
- +# the program). This is about non-GNU programs, so use $1 not
- +# $program.
- +case $1 in
- + lex*|yacc*)
- + # Not GNU programs, they don't have --version.
- + ;;
- +
- + *)
- + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
- + # We have it, but it failed.
- + exit 1
- + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
- + # Could not run --version or --help. This is probably someone
- + # running `$TOOL --version' or `$TOOL --help' to check whether
- + # $TOOL exists and not knowing $TOOL uses missing.
- + exit 1
- + fi
- + ;;
- +esac
- +
- +# If it does not exist, or fails to run (possibly an outdated version),
- +# try to emulate it.
- +case $program in
- + aclocal*)
- + echo 1>&2 "\
- +WARNING: \`$1' is $msg. You should only need it if
- + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
- + to install the \`Automake' and \`Perl' packages. Grab them from
- + any GNU archive site."
- + touch aclocal.m4
- + ;;
- +
- + autoconf*)
- + echo 1>&2 "\
- +WARNING: \`$1' is $msg. You should only need it if
- + you modified \`${configure_ac}'. You might want to install the
- + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
- + archive site."
- + touch configure
- + ;;
- +
- + autoheader*)
- + echo 1>&2 "\
- +WARNING: \`$1' is $msg. You should only need it if
- + you modified \`acconfig.h' or \`${configure_ac}'. You might want
- + to install the \`Autoconf' and \`GNU m4' packages. Grab them
- + from any GNU archive site."
- + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
- + test -z "$files" && files="config.h"
- + touch_files=
- + for f in $files; do
- + case $f in
- + *:*) touch_files="$touch_files "`echo "$f" |
- + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
- + *) touch_files="$touch_files $f.in";;
- + esac
- + done
- + touch $touch_files
- + ;;
- +
- + automake*)
- + echo 1>&2 "\
- +WARNING: \`$1' is $msg. You should only need it if
- + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
- + You might want to install the \`Automake' and \`Perl' packages.
- + Grab them from any GNU archive site."
- + find . -type f -name Makefile.am -print |
- + sed 's/\.am$/.in/' |
- + while read f; do touch "$f"; done
- + ;;
- +
- + autom4te*)
- + echo 1>&2 "\
- +WARNING: \`$1' is needed, but is $msg.
- + You might have modified some files without having the
- + proper tools for further handling them.
- + You can get \`$1' as part of \`Autoconf' from any GNU
- + archive site."
- +
- + file=`echo "$*" | sed -n "$sed_output"`
- + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- + if test -f "$file"; then
- + touch $file
- + else
- + test -z "$file" || exec >$file
- + echo "#! /bin/sh"
- + echo "# Created by GNU Automake missing as a replacement of"
- + echo "# $ $@"
- + echo "exit 0"
- + chmod +x $file
- + exit 1
- + fi
- + ;;
- +
- + bison*|yacc*)
- + echo 1>&2 "\
- +WARNING: \`$1' $msg. You should only need it if
- + you modified a \`.y' file. You may need the \`Bison' package
- + in order for those modifications to take effect. You can get
- + \`Bison' from any GNU archive site."
- + rm -f y.tab.c y.tab.h
- + if test $# -ne 1; then
- + eval LASTARG=\${$#}
- + case $LASTARG in
- + *.y)
- + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- + if test -f "$SRCFILE"; then
- + cp "$SRCFILE" y.tab.c
- + fi
- + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- + if test -f "$SRCFILE"; then
- + cp "$SRCFILE" y.tab.h
- + fi
- + ;;
- + esac
- + fi
- + if test ! -f y.tab.h; then
- + echo >y.tab.h
- + fi
- + if test ! -f y.tab.c; then
- + echo 'main() { return 0; }' >y.tab.c
- + fi
- + ;;
- +
- + lex*|flex*)
- + echo 1>&2 "\
- +WARNING: \`$1' is $msg. You should only need it if
- + you modified a \`.l' file. You may need the \`Flex' package
- + in order for those modifications to take effect. You can get
- + \`Flex' from any GNU archive site."
- + rm -f lex.yy.c
- + if test $# -ne 1; then
- + eval LASTARG=\${$#}
- + case $LASTARG in
- + *.l)
- + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- + if test -f "$SRCFILE"; then
- + cp "$SRCFILE" lex.yy.c
- + fi
- + ;;
- + esac
- + fi
- + if test ! -f lex.yy.c; then
- + echo 'main() { return 0; }' >lex.yy.c
- + fi
- + ;;
- +
- + help2man*)
- + echo 1>&2 "\
- +WARNING: \`$1' is $msg. You should only need it if
- + you modified a dependency of a manual page. You may need the
- + \`Help2man' package in order for those modifications to take
- + effect. You can get \`Help2man' from any GNU archive site."
- +
- + file=`echo "$*" | sed -n "$sed_output"`
- + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- + if test -f "$file"; then
- + touch $file
- + else
- + test -z "$file" || exec >$file
- + echo ".ab help2man is required to generate this page"
- + exit $?
- + fi
- + ;;
- +
- + makeinfo*)
- + echo 1>&2 "\
- +WARNING: \`$1' is $msg. You should only need it if
- + you modified a \`.texi' or \`.texinfo' file, or any other file
- + indirectly affecting the aspect of the manual. The spurious
- + call might also be the consequence of using a buggy \`make' (AIX,
- + DU, IRIX). You might want to install the \`Texinfo' package or
- + the \`GNU make' package. Grab either from any GNU archive site."
- + # The file to touch is that specified with -o ...
- + file=`echo "$*" | sed -n "$sed_output"`
- + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- + if test -z "$file"; then
- + # ... or it is the one specified with @setfilename ...
- + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- + file=`sed -n '
- + /^@setfilename/{
- + s/.* \([^ ]*\) *$/\1/
- + p
- + q
- + }' $infile`
- + # ... or it is derived from the source name (dir/f.texi becomes f.info)
- + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
- + fi
- + # If the file does not exist, the user really needs makeinfo;
- + # let's fail without touching anything.
- + test -f $file || exit 1
- + touch $file
- + ;;
- +
- + *)
- + echo 1>&2 "\
- +WARNING: \`$1' is needed, and is $msg.
- + You might have modified some files without having the
- + proper tools for further handling them. Check the \`README' file,
- + it often tells you about the needed prerequisites for installing
- + this package. You may also peek at any GNU archive site, in case
- + some other package would contain this missing \`$1' program."
- + exit 1
- + ;;
- +esac
- +
- +exit 0
- +
- +# Local variables:
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "scriptversion="
- +# time-stamp-format: "%:y-%02m-%02d.%02H"
- +# time-stamp-time-zone: "UTC"
- +# time-stamp-end: "; # UTC"
- +# End:
- --- cgminer-2.4.1.orig/driver-icarus.c
- +++ cgminer-2.4.1/driver-icarus.c
- @@ -46,18 +46,6 @@
- #else
- #include <windows.h>
- #include <io.h>
- -
- - #ifndef timersub
- - #define timersub(a, b, result) \
- - do { \
- - (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
- - (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
- - if ((result)->tv_usec < 0) { \
- - --(result)->tv_sec; \
- - (result)->tv_usec += 1000000; \
- - } \
- - } while (0)
- - #endif
- #endif
-
- #include "elist.h"
- @@ -72,12 +60,8 @@
- // 2 x 11.1 / (5.26 x 10^-9)
- //#define ESTIMATE_HASHES 0xFB90365E
-
- -// This is the 8s value but causes hash rate loss
- -//#define ESTIMATE_HASHES 0xB54E9147
- -
- -// TODO: determine why returning any other value when no nonce is found
- -// causes hash rate loss
- -#define ESTIMATE_HASHES 0xffffffff
- +// This is the 8s value
- +#define ESTIMATE_HASHES 0xB54E9147
-
- struct device_api icarus_api;
-
- @@ -353,6 +337,7 @@ static uint64_t icarus_scanhash(struct t
- if (opt_debug)
- gettimeofday(&tv_finish, NULL);
-
- + work->blk.nonce = 0xffffffff;
- memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin));
-
- // aborted before becoming idle, get new work
- @@ -369,7 +354,6 @@ static uint64_t icarus_scanhash(struct t
- nonce = swab32(nonce);
- #endif
-
- - work->blk.nonce = 0xffffffff;
- submit_nonce(thr, work, nonce);
-
- if (opt_debug) {
- --- /dev/null
- +++ cgminer-2.4.1/Makefile.in
- @@ -0,0 +1,1471 @@
- +# Makefile.in generated by automake 1.11.3 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
- +# Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +
- +
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +target_triplet = @target@
- +bin_PROGRAMS = cgminer$(EXEEXT)
- +
- +# original CPU related sources, unchanged
- +
- +# the CPU portion extracted from original main.c
- +@HAS_CPUMINE_TRUE@am__append_1 = sha256_generic.c sha256_4way.c \
- +@HAS_CPUMINE_TRUE@ sha256_via.c sha256_cryptopp.c \
- +@HAS_CPUMINE_TRUE@ sha256_sse2_amd64.c sha256_sse4_amd64.c \
- +@HAS_CPUMINE_TRUE@ sha256_sse2_i386.c sha256_altivec_4way.c \
- +@HAS_CPUMINE_TRUE@ driver-cpu.h driver-cpu.c
- +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_TRUE@am__append_2 = x86_64
- +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_TRUE@am__append_3 = x86_64/libx8664.a
- +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_FALSE@am__append_4 = x86_32
- +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@@HAVE_x86_64_FALSE@am__append_5 = x86_32/libx8632.a
- +@HAS_BITFORCE_TRUE@am__append_6 = driver-bitforce.c
- +@HAS_ICARUS_TRUE@am__append_7 = driver-icarus.c
- +@HAS_ZTEX_TRUE@am__append_8 = driver-ztex.c libztex.c libztex.h
- +subdir = .
- +DIST_COMMON = README $(am__configure_deps) \
- + $(am__dist_bitstreams_DATA_DIST) $(srcdir)/Makefile.am \
- + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- + $(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS compile \
- + config.guess config.sub depcomp install-sh missing \
- + mkinstalldirs
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
- + $(top_srcdir)/m4/extensions.m4 \
- + $(top_srcdir)/m4/gnulib-common.m4 \
- + $(top_srcdir)/m4/gnulib-comp.m4 \
- + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
- + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
- + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
- + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
- + $(top_srcdir)/m4/signal_h.m4 \
- + $(top_srcdir)/m4/signalblocking.m4 \
- + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
- + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
- + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- + configure.lineno config.status.lineno
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
- + "$(DESTDIR)$(bitstreamsdir)"
- +PROGRAMS = $(bin_PROGRAMS)
- +am__cgminer_SOURCES_DIST = cgminer.c elist.h miner.h compat.h \
- + bench_block.h util.c uthash.h logging.h sha2.c sha2.h api.c \
- + logging.c driver-opencl.h driver-opencl.c ocl.c ocl.h \
- + findnonce.c findnonce.h adl.c adl.h adl_functions.h *.cl \
- + sha256_generic.c sha256_4way.c sha256_via.c sha256_cryptopp.c \
- + sha256_sse2_amd64.c sha256_sse4_amd64.c sha256_sse2_i386.c \
- + sha256_altivec_4way.c driver-cpu.h driver-cpu.c \
- + driver-bitforce.c driver-icarus.c driver-ztex.c libztex.c \
- + libztex.h
- +@HAS_CPUMINE_TRUE@am__objects_1 = cgminer-sha256_generic.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-sha256_4way.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-sha256_via.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-sha256_cryptopp.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-sha256_sse2_amd64.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-sha256_sse4_amd64.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-sha256_sse2_i386.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-sha256_altivec_4way.$(OBJEXT) \
- +@HAS_CPUMINE_TRUE@ cgminer-driver-cpu.$(OBJEXT)
- +@HAS_BITFORCE_TRUE@am__objects_2 = cgminer-driver-bitforce.$(OBJEXT)
- +@HAS_ICARUS_TRUE@am__objects_3 = cgminer-driver-icarus.$(OBJEXT)
- +@HAS_ZTEX_TRUE@am__objects_4 = cgminer-driver-ztex.$(OBJEXT) \
- +@HAS_ZTEX_TRUE@ cgminer-libztex.$(OBJEXT)
- +am_cgminer_OBJECTS = cgminer-cgminer.$(OBJEXT) cgminer-util.$(OBJEXT) \
- + cgminer-sha2.$(OBJEXT) cgminer-api.$(OBJEXT) \
- + cgminer-logging.$(OBJEXT) cgminer-driver-opencl.$(OBJEXT) \
- + cgminer-ocl.$(OBJEXT) cgminer-findnonce.$(OBJEXT) \
- + cgminer-adl.$(OBJEXT) $(am__objects_1) $(am__objects_2) \
- + $(am__objects_3) $(am__objects_4)
- +cgminer_OBJECTS = $(am_cgminer_OBJECTS)
- +am__DEPENDENCIES_1 =
- +cgminer_DEPENDENCIES = $(am__DEPENDENCIES_1) lib/libgnu.a \
- + ccan/libccan.a $(am__append_3) $(am__append_5)
- +cgminer_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(cgminer_LDFLAGS) \
- + $(LDFLAGS) -o $@
- +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- +am__vpath_adj = case $$p in \
- + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- + *) f=$$p;; \
- + esac;
- +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
- +am__install_max = 40
- +am__nobase_strip_setup = \
- + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
- +am__nobase_strip = \
- + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
- +am__nobase_list = $(am__nobase_strip_setup); \
- + for p in $$list; do echo "$$p $$p"; done | \
- + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- + if (++n[$$2] == $(am__install_max)) \
- + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- + END { for (dir in files) print dir, files[dir] }'
- +am__base_list = \
- + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- +am__uninstall_files_from_dir = { \
- + test -z "$$files" \
- + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
- + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
- + $(am__cd) "$$dir" && rm -f $$files; }; \
- + }
- +SCRIPTS = $(bin_SCRIPTS)
- +DEFAULT_INCLUDES = -I.@am__isrc@
- +depcomp = $(SHELL) $(top_srcdir)/depcomp
- +am__depfiles_maybe = depfiles
- +am__mv = mv -f
- +AM_V_lt = $(am__v_lt_@AM_V@)
- +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
- +am__v_lt_0 = --silent
- +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- +AM_V_CC = $(am__v_CC_@AM_V@)
- +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
- +am__v_CC_0 = @echo " CC " $@;
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +CCLD = $(CC)
- +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
- +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
- +am__v_CCLD_0 = @echo " CCLD " $@;
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +SOURCES = $(cgminer_SOURCES)
- +DIST_SOURCES = $(am__cgminer_SOURCES_DIST)
- +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- + html-recursive info-recursive install-data-recursive \
- + install-dvi-recursive install-exec-recursive \
- + install-html-recursive install-info-recursive \
- + install-pdf-recursive install-ps-recursive install-recursive \
- + installcheck-recursive installdirs-recursive pdf-recursive \
- + ps-recursive uninstall-recursive
- +am__dist_bitstreams_DATA_DIST = bitstreams/*
- +DATA = $(dist_bitstreams_DATA)
- +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- + distclean-recursive maintainer-clean-recursive
- +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- + distdir dist dist-all distcheck
- +ETAGS = etags
- +CTAGS = ctags
- +DIST_SUBDIRS = lib compat ccan x86_64 x86_32
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +distdir = $(PACKAGE)-$(VERSION)
- +top_distdir = $(distdir)
- +am__remove_distdir = \
- + if test -d "$(distdir)"; then \
- + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- + && rm -rf "$(distdir)" \
- + || { sleep 5 && rm -rf "$(distdir)"; }; \
- + else :; fi
- +am__relativize = \
- + dir0=`pwd`; \
- + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
- + sed_rest='s,^[^/]*/*,,'; \
- + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
- + sed_butlast='s,/*[^/]*$$,,'; \
- + while test -n "$$dir1"; do \
- + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
- + if test "$$first" != "."; then \
- + if test "$$first" = ".."; then \
- + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
- + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
- + else \
- + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
- + if test "$$first2" = "$$first"; then \
- + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
- + else \
- + dir2="../$$dir2"; \
- + fi; \
- + dir0="$$dir0"/"$$first"; \
- + fi; \
- + fi; \
- + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
- + done; \
- + reldir="$$dir2"
- +DIST_ARCHIVES = $(distdir).tar.gz
- +GZIP_ENV = --best
- +distuninstallcheck_listfiles = find . -type f -print
- +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
- + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
- +distcleancheck_listfiles = find . -type f -print
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
- +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
- +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
- +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
- +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DLOPEN_FLAGS = @DLOPEN_FLAGS@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
- +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
- +GNULIB_MBSCHR = @GNULIB_MBSCHR@
- +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
- +GNULIB_MBSLEN = @GNULIB_MBSLEN@
- +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
- +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
- +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
- +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
- +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
- +GNULIB_MBSSEP = @GNULIB_MBSSEP@
- +GNULIB_MBSSPN = @GNULIB_MBSSPN@
- +GNULIB_MBSSTR = @GNULIB_MBSSTR@
- +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
- +GNULIB_MEMCHR = @GNULIB_MEMCHR@
- +GNULIB_MEMMEM = @GNULIB_MEMMEM@
- +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
- +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
- +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
- +GNULIB_SIGACTION = @GNULIB_SIGACTION@
- +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
- +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
- +GNULIB_STPCPY = @GNULIB_STPCPY@
- +GNULIB_STPNCPY = @GNULIB_STPNCPY@
- +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
- +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
- +GNULIB_STRDUP = @GNULIB_STRDUP@
- +GNULIB_STRERROR = @GNULIB_STRERROR@
- +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
- +GNULIB_STRNCAT = @GNULIB_STRNCAT@
- +GNULIB_STRNDUP = @GNULIB_STRNDUP@
- +GNULIB_STRNLEN = @GNULIB_STRNLEN@
- +GNULIB_STRPBRK = @GNULIB_STRPBRK@
- +GNULIB_STRSEP = @GNULIB_STRSEP@
- +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
- +GNULIB_STRSTR = @GNULIB_STRSTR@
- +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
- +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
- +GREP = @GREP@
- +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
- +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
- +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
- +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
- +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
- +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
- +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
- +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
- +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
- +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
- +HAVE_MBSLEN = @HAVE_MBSLEN@
- +HAVE_MEMCHR = @HAVE_MEMCHR@
- +HAVE_MEMPCPY = @HAVE_MEMPCPY@
- +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
- +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
- +HAVE_SIGACTION = @HAVE_SIGACTION@
- +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
- +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
- +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
- +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
- +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
- +HAVE_SIGSET_T = @HAVE_SIGSET_T@
- +HAVE_STDINT_H = @HAVE_STDINT_H@
- +HAVE_STPCPY = @HAVE_STPCPY@
- +HAVE_STPNCPY = @HAVE_STPNCPY@
- +HAVE_STRCASESTR = @HAVE_STRCASESTR@
- +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
- +HAVE_STRPBRK = @HAVE_STRPBRK@
- +HAVE_STRSEP = @HAVE_STRSEP@
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
- +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
- +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
- +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
- +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
- +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
- +HAVE_WCHAR_H = @HAVE_WCHAR_H@
- +HAVE_WCHAR_T = @HAVE_WCHAR_T@
- +INCLUDE_NEXT = @INCLUDE_NEXT@
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JANSSON_LIBS = @JANSSON_LIBS@
- +LDFLAGS = @LDFLAGS@
- +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
- +LIBCURL_LIBS = @LIBCURL_LIBS@
- +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
- +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MATH_LIBS = @MATH_LIBS@
- +MKDIR_P = @MKDIR_P@
- +NCURSES_LIBS = @NCURSES_LIBS@
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
- +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
- +NEXT_STDDEF_H = @NEXT_STDDEF_H@
- +NEXT_STDINT_H = @NEXT_STDINT_H@
- +NEXT_STRING_H = @NEXT_STRING_H@
- +OBJEXT = @OBJEXT@
- +OPENCL_FLAGS = @OPENCL_FLAGS@
- +OPENCL_LIBS = @OPENCL_LIBS@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PDCURSES_LIBS = @PDCURSES_LIBS@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
- +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
- +PTHREAD_FLAGS = @PTHREAD_FLAGS@
- +PTHREAD_LIBS = @PTHREAD_LIBS@
- +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
- +RANLIB = @RANLIB@
- +REPLACE_MEMCHR = @REPLACE_MEMCHR@
- +REPLACE_MEMMEM = @REPLACE_MEMMEM@
- +REPLACE_NULL = @REPLACE_NULL@
- +REPLACE_STPNCPY = @REPLACE_STPNCPY@
- +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
- +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
- +REPLACE_STRDUP = @REPLACE_STRDUP@
- +REPLACE_STRERROR = @REPLACE_STRERROR@
- +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
- +REPLACE_STRNCAT = @REPLACE_STRNCAT@
- +REPLACE_STRNDUP = @REPLACE_STRNDUP@
- +REPLACE_STRNLEN = @REPLACE_STRNLEN@
- +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
- +REPLACE_STRSTR = @REPLACE_STRSTR@
- +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
- +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
- +STDDEF_H = @STDDEF_H@
- +STDINT_H = @STDINT_H@
- +STRIP = @STRIP@
- +UDEV_LIBS = @UDEV_LIBS@
- +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
- +USB_FLAGS = @USB_FLAGS@
- +USB_LIBS = @USB_LIBS@
- +VERSION = @VERSION@
- +VMAJ = @VMAJ@
- +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
- +WINT_T_SUFFIX = @WINT_T_SUFFIX@
- +WS2_LIBS = @WS2_LIBS@
- +YASM = @YASM@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +gl_LIBOBJS = @gl_LIBOBJS@
- +gl_LTLIBOBJS = @gl_LTLIBOBJS@
- +gltests_LIBOBJS = @gltests_LIBOBJS@
- +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
- +gltests_WITNESS = @gltests_WITNESS@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +release_info = @release_info@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target = @target@
- +target_alias = @target_alias@
- +target_cpu = @target_cpu@
- +target_os = @target_os@
- +target_vendor = @target_vendor@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +version_info = @version_info@
- +ACLOCAL_AMFLAGS = -I m4
- +@WANT_JANSSON_FALSE@JANSSON_INCLUDES =
- +@WANT_JANSSON_TRUE@JANSSON_INCLUDES = -I$(top_srcdir)/compat/jansson
- +EXTRA_DIST = example.conf m4/gnulib-cache.m4 linux-usb-cgminer \
- + ADL_SDK/readme.txt api-example.php miner.php \
- + API.class API.java api-example.c windows-build.txt \
- + bitstreams/*
- +
- +SUBDIRS = lib compat ccan $(am__append_2) $(am__append_4)
- +INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) $(USB_FLAGS)
- +bin_SCRIPTS = *.cl
- +cgminer_LDFLAGS = $(PTHREAD_FLAGS)
- +cgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ \
- + @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ \
- + @WS2_LIBS@ @UDEV_LIBS@ @USB_LIBS@ @MATH_LIBS@ lib/libgnu.a \
- + ccan/libccan.a $(am__append_3) $(am__append_5)
- +cgminer_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
- +
- +# common sources
- +
- +# GPU sources, TODO: make them selectable
- +# the GPU portion extracted from original main.c
- +
- +# the original GPU related sources, unchanged
- +cgminer_SOURCES := cgminer.c elist.h miner.h compat.h bench_block.h \
- + util.c uthash.h logging.h sha2.c sha2.h api.c logging.c \
- + driver-opencl.h driver-opencl.c ocl.c ocl.h findnonce.c \
- + findnonce.h adl.c adl.h adl_functions.h *.cl $(am__append_1) \
- + $(am__append_6) $(am__append_7) $(am__append_8)
- +@HAS_CPUMINE_TRUE@@HAS_YASM_TRUE@AM_CFLAGS = -DHAS_YASM
- +@HAS_ZTEX_TRUE@bitstreamsdir = $(bindir)/bitstreams
- +@HAS_ZTEX_TRUE@dist_bitstreams_DATA = bitstreams/*
- +all: config.h
- + $(MAKE) $(AM_MAKEFLAGS) all-recursive
- +
- +.SUFFIXES:
- +.SUFFIXES: .c .o .obj
- +am--refresh: Makefile
- + @:
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
- + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
- + && exit 0; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --foreign Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + echo ' $(SHELL) ./config.status'; \
- + $(SHELL) ./config.status;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + $(SHELL) ./config.status --recheck
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + $(am__cd) $(srcdir) && $(AUTOCONF)
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
- +$(am__aclocal_m4_deps):
- +
- +config.h: stamp-h1
- + @if test ! -f $@; then rm -f stamp-h1; else :; fi
- + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
- +
- +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- + @rm -f stamp-h1
- + cd $(top_builddir) && $(SHELL) ./config.status config.h
- +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
- + rm -f stamp-h1
- + touch $@
- +
- +distclean-hdr:
- + -rm -f config.h stamp-h1
- +install-binPROGRAMS: $(bin_PROGRAMS)
- + @$(NORMAL_INSTALL)
- + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- + for p in $$list; do echo "$$p $$p"; done | \
- + sed 's/$(EXEEXT)$$//' | \
- + while read p p1; do if test -f $$p; \
- + then echo "$$p"; echo "$$p"; else :; fi; \
- + done | \
- + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
- + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
- + sed 'N;N;N;s,\n, ,g' | \
- + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
- + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- + if ($$2 == $$4) files[d] = files[d] " " $$1; \
- + else { print "f", $$3 "/" $$4, $$1; } } \
- + END { for (d in files) print "f", d, files[d] }' | \
- + while read type dir files; do \
- + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- + test -z "$$files" || { \
- + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
- + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
- + } \
- + ; done
- +
- +uninstall-binPROGRAMS:
- + @$(NORMAL_UNINSTALL)
- + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- + files=`for p in $$list; do echo "$$p"; done | \
- + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
- + -e 's/$$/$(EXEEXT)/' `; \
- + test -n "$$list" || exit 0; \
- + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
- + cd "$(DESTDIR)$(bindir)" && rm -f $$files
- +
- +clean-binPROGRAMS:
- + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
- +cgminer$(EXEEXT): $(cgminer_OBJECTS) $(cgminer_DEPENDENCIES) $(EXTRA_cgminer_DEPENDENCIES)
- + @rm -f cgminer$(EXEEXT)
- + $(AM_V_CCLD)$(cgminer_LINK) $(cgminer_OBJECTS) $(cgminer_LDADD) $(LIBS)
- +install-binSCRIPTS: $(bin_SCRIPTS)
- + @$(NORMAL_INSTALL)
- + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
- + for p in $$list; do \
- + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
- + done | \
- + sed -e 'p;s,.*/,,;n' \
- + -e 'h;s|.*|.|' \
- + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
- + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
- + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
- + if (++n[d] == $(am__install_max)) { \
- + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
- + else { print "f", d "/" $$4, $$1 } } \
- + END { for (d in files) print "f", d, files[d] }' | \
- + while read type dir files; do \
- + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- + test -z "$$files" || { \
- + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
- + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
- + } \
- + ; done
- +
- +uninstall-binSCRIPTS:
- + @$(NORMAL_UNINSTALL)
- + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
- + files=`for p in $$list; do echo "$$p"; done | \
- + sed -e 's,.*/,,;$(transform)'`; \
- + dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
- +
- +mostlyclean-compile:
- + -rm -f *.$(OBJEXT)
- +
- +distclean-compile:
- + -rm -f *.tab.c
- +
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-adl.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-api.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-cgminer.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-bitforce.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-cpu.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-icarus.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-opencl.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-driver-ztex.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-findnonce.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-libztex.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-logging.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-ocl.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha2.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_4way.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_altivec_4way.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_cryptopp.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_generic.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_sse2_amd64.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_sse2_i386.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_sse4_amd64.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-sha256_via.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cgminer-util.Po@am__quote@
- +
- +.c.o:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
- +
- +.c.obj:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
- +
- +cgminer-cgminer.o: cgminer.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-cgminer.Tpo $(DEPDIR)/cgminer-cgminer.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cgminer.c' object='cgminer-cgminer.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-cgminer.obj: cgminer.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-cgminer.Tpo $(DEPDIR)/cgminer-cgminer.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cgminer.c' object='cgminer-cgminer.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-util.o: util.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-util.Tpo $(DEPDIR)/cgminer-util.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='cgminer-util.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-util.obj: util.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-util.Tpo $(DEPDIR)/cgminer-util.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='util.c' object='cgminer-util.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha2.o: sha2.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha2.Tpo $(DEPDIR)/cgminer-sha2.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha2.c' object='cgminer-sha2.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha2.obj: sha2.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha2.Tpo $(DEPDIR)/cgminer-sha2.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha2.c' object='cgminer-sha2.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-api.o: api.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-api.Tpo $(DEPDIR)/cgminer-api.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='api.c' object='cgminer-api.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-api.obj: api.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-api.Tpo $(DEPDIR)/cgminer-api.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='api.c' object='cgminer-api.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-logging.o: logging.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-logging.Tpo $(DEPDIR)/cgminer-logging.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='logging.c' object='cgminer-logging.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-logging.obj: logging.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-logging.Tpo $(DEPDIR)/cgminer-logging.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='logging.c' object='cgminer-logging.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-driver-opencl.o: driver-opencl.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-opencl.Tpo $(DEPDIR)/cgminer-driver-opencl.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-opencl.c' object='cgminer-driver-opencl.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-driver-opencl.obj: driver-opencl.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-opencl.Tpo $(DEPDIR)/cgminer-driver-opencl.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-opencl.c' object='cgminer-driver-opencl.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-ocl.o: ocl.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-ocl.Tpo $(DEPDIR)/cgminer-ocl.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ocl.c' object='cgminer-ocl.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-ocl.obj: ocl.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-ocl.Tpo $(DEPDIR)/cgminer-ocl.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ocl.c' object='cgminer-ocl.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-findnonce.o: findnonce.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-findnonce.Tpo $(DEPDIR)/cgminer-findnonce.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='findnonce.c' object='cgminer-findnonce.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-findnonce.obj: findnonce.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-findnonce.Tpo $(DEPDIR)/cgminer-findnonce.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='findnonce.c' object='cgminer-findnonce.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-adl.o: adl.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-adl.Tpo $(DEPDIR)/cgminer-adl.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='adl.c' object='cgminer-adl.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-adl.obj: adl.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-adl.Tpo $(DEPDIR)/cgminer-adl.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='adl.c' object='cgminer-adl.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_generic.o: sha256_generic.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_generic.Tpo $(DEPDIR)/cgminer-sha256_generic.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_generic.c' object='cgminer-sha256_generic.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_generic.obj: sha256_generic.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_generic.Tpo $(DEPDIR)/cgminer-sha256_generic.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_generic.c' object='cgminer-sha256_generic.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_4way.o: sha256_4way.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_4way.Tpo $(DEPDIR)/cgminer-sha256_4way.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_4way.c' object='cgminer-sha256_4way.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_4way.obj: sha256_4way.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_4way.Tpo $(DEPDIR)/cgminer-sha256_4way.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_4way.c' object='cgminer-sha256_4way.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_via.o: sha256_via.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_via.Tpo $(DEPDIR)/cgminer-sha256_via.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_via.c' object='cgminer-sha256_via.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_via.obj: sha256_via.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_via.Tpo $(DEPDIR)/cgminer-sha256_via.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_via.c' object='cgminer-sha256_via.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_cryptopp.o: sha256_cryptopp.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_cryptopp.Tpo $(DEPDIR)/cgminer-sha256_cryptopp.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_cryptopp.c' object='cgminer-sha256_cryptopp.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_cryptopp.obj: sha256_cryptopp.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_cryptopp.Tpo $(DEPDIR)/cgminer-sha256_cryptopp.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_cryptopp.c' object='cgminer-sha256_cryptopp.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_sse2_amd64.o: sha256_sse2_amd64.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse2_amd64.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_amd64.c' object='cgminer-sha256_sse2_amd64.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_sse2_amd64.obj: sha256_sse2_amd64.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse2_amd64.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_amd64.c' object='cgminer-sha256_sse2_amd64.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_sse4_amd64.o: sha256_sse4_amd64.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse4_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse4_amd64.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse4_amd64.c' object='cgminer-sha256_sse4_amd64.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_sse4_amd64.obj: sha256_sse4_amd64.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse4_amd64.Tpo $(DEPDIR)/cgminer-sha256_sse4_amd64.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse4_amd64.c' object='cgminer-sha256_sse4_amd64.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_sse2_i386.o: sha256_sse2_i386.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_i386.Tpo $(DEPDIR)/cgminer-sha256_sse2_i386.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_i386.c' object='cgminer-sha256_sse2_i386.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_sse2_i386.obj: sha256_sse2_i386.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_sse2_i386.Tpo $(DEPDIR)/cgminer-sha256_sse2_i386.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_sse2_i386.c' object='cgminer-sha256_sse2_i386.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-sha256_altivec_4way.o: sha256_altivec_4way.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_altivec_4way.Tpo $(DEPDIR)/cgminer-sha256_altivec_4way.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_altivec_4way.c' object='cgminer-sha256_altivec_4way.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-sha256_altivec_4way.obj: sha256_altivec_4way.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-sha256_altivec_4way.Tpo $(DEPDIR)/cgminer-sha256_altivec_4way.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sha256_altivec_4way.c' object='cgminer-sha256_altivec_4way.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-driver-cpu.o: driver-cpu.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-cpu.Tpo $(DEPDIR)/cgminer-driver-cpu.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-cpu.c' object='cgminer-driver-cpu.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-driver-cpu.obj: driver-cpu.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-cpu.Tpo $(DEPDIR)/cgminer-driver-cpu.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-cpu.c' object='cgminer-driver-cpu.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-driver-bitforce.o: driver-bitforce.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-bitforce.Tpo $(DEPDIR)/cgminer-driver-bitforce.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-bitforce.c' object='cgminer-driver-bitforce.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-driver-bitforce.obj: driver-bitforce.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-bitforce.Tpo $(DEPDIR)/cgminer-driver-bitforce.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-bitforce.c' object='cgminer-driver-bitforce.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-driver-icarus.o: driver-icarus.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-icarus.Tpo $(DEPDIR)/cgminer-driver-icarus.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-icarus.c' object='cgminer-driver-icarus.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-driver-icarus.obj: driver-icarus.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-icarus.Tpo $(DEPDIR)/cgminer-driver-icarus.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-icarus.c' object='cgminer-driver-icarus.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-driver-ztex.o: driver-ztex.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-ztex.Tpo $(DEPDIR)/cgminer-driver-ztex.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-ztex.c' object='cgminer-driver-ztex.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-driver-ztex.obj: driver-ztex.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-driver-ztex.Tpo $(DEPDIR)/cgminer-driver-ztex.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='driver-ztex.c' object='cgminer-driver-ztex.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +cgminer-libztex.o: libztex.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-libztex.Tpo $(DEPDIR)/cgminer-libztex.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libztex.c' object='cgminer-libztex.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +cgminer-libztex.obj: libztex.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cgminer-libztex.Tpo $(DEPDIR)/cgminer-libztex.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libztex.c' object='cgminer-libztex.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +install-dist_bitstreamsDATA: $(dist_bitstreams_DATA)
- + @$(NORMAL_INSTALL)
- + test -z "$(bitstreamsdir)" || $(MKDIR_P) "$(DESTDIR)$(bitstreamsdir)"
- + @list='$(dist_bitstreams_DATA)'; test -n "$(bitstreamsdir)" || list=; \
- + for p in $$list; do \
- + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- + echo "$$d$$p"; \
- + done | $(am__base_list) | \
- + while read files; do \
- + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(bitstreamsdir)'"; \
- + $(INSTALL_DATA) $$files "$(DESTDIR)$(bitstreamsdir)" || exit $$?; \
- + done
- +
- +uninstall-dist_bitstreamsDATA:
- + @$(NORMAL_UNINSTALL)
- + @list='$(dist_bitstreams_DATA)'; test -n "$(bitstreamsdir)" || list=; \
- + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- + dir='$(DESTDIR)$(bitstreamsdir)'; $(am__uninstall_files_from_dir)
- +
- +# This directory's subdirectories are mostly independent; you can cd
- +# into them and run `make' without going through this Makefile.
- +# To change the values of `make' variables: instead of editing Makefiles,
- +# (1) if the variable is set in `config.status', edit `config.status'
- +# (which will cause the Makefiles to be regenerated when you run `make');
- +# (2) otherwise, pass the desired values on the `make' command line.
- +$(RECURSIVE_TARGETS):
- + @fail= failcom='exit 1'; \
- + for f in x $$MAKEFLAGS; do \
- + case $$f in \
- + *=* | --[!k]*);; \
- + *k*) failcom='fail=yes';; \
- + esac; \
- + done; \
- + dot_seen=no; \
- + target=`echo $@ | sed s/-recursive//`; \
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + echo "Making $$target in $$subdir"; \
- + if test "$$subdir" = "."; then \
- + dot_seen=yes; \
- + local_target="$$target-am"; \
- + else \
- + local_target="$$target"; \
- + fi; \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + || eval $$failcom; \
- + done; \
- + if test "$$dot_seen" = "no"; then \
- + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- + fi; test -z "$$fail"
- +
- +$(RECURSIVE_CLEAN_TARGETS):
- + @fail= failcom='exit 1'; \
- + for f in x $$MAKEFLAGS; do \
- + case $$f in \
- + *=* | --[!k]*);; \
- + *k*) failcom='fail=yes';; \
- + esac; \
- + done; \
- + dot_seen=no; \
- + case "$@" in \
- + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- + *) list='$(SUBDIRS)' ;; \
- + esac; \
- + rev=''; for subdir in $$list; do \
- + if test "$$subdir" = "."; then :; else \
- + rev="$$subdir $$rev"; \
- + fi; \
- + done; \
- + rev="$$rev ."; \
- + target=`echo $@ | sed s/-recursive//`; \
- + for subdir in $$rev; do \
- + echo "Making $$target in $$subdir"; \
- + if test "$$subdir" = "."; then \
- + local_target="$$target-am"; \
- + else \
- + local_target="$$target"; \
- + fi; \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + || eval $$failcom; \
- + done && test -z "$$fail"
- +tags-recursive:
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- + done
- +ctags-recursive:
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- + done
- +
- +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + mkid -fID $$unique
- +tags: TAGS
- +
- +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + set x; \
- + here=`pwd`; \
- + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- + include_option=--etags-include; \
- + empty_fix=.; \
- + else \
- + include_option=--include; \
- + empty_fix=; \
- + fi; \
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + test ! -f $$subdir/TAGS || \
- + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
- + fi; \
- + done; \
- + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + shift; \
- + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- + test -n "$$unique" || unique=$$empty_fix; \
- + if test $$# -gt 0; then \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + "$$@" $$unique; \
- + else \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$unique; \
- + fi; \
- + fi
- +ctags: CTAGS
- +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + test -z "$(CTAGS_ARGS)$$unique" \
- + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- + $$unique
- +
- +GTAGS:
- + here=`$(am__cd) $(top_builddir) && pwd` \
- + && $(am__cd) $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) "$$here"
- +
- +distclean-tags:
- + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + $(am__remove_distdir)
- + test -d "$(distdir)" || mkdir "$(distdir)"
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + test -d "$(distdir)/$$subdir" \
- + || $(MKDIR_P) "$(distdir)/$$subdir" \
- + || exit 1; \
- + fi; \
- + done
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
- + $(am__relativize); \
- + new_distdir=$$reldir; \
- + dir1=$$subdir; dir2="$(top_distdir)"; \
- + $(am__relativize); \
- + new_top_distdir=$$reldir; \
- + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
- + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
- + ($(am__cd) $$subdir && \
- + $(MAKE) $(AM_MAKEFLAGS) \
- + top_distdir="$$new_top_distdir" \
- + distdir="$$new_distdir" \
- + am__remove_distdir=: \
- + am__skip_length_check=: \
- + am__skip_mode_fix=: \
- + distdir) \
- + || exit 1; \
- + fi; \
- + done
- + -test -n "$(am__skip_mode_fix)" \
- + || find "$(distdir)" -type d ! -perm -755 \
- + -exec chmod u+rwx,go+rx {} \; -o \
- + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
- + || chmod -R a+r "$(distdir)"
- +dist-gzip: distdir
- + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- + $(am__remove_distdir)
- +
- +dist-bzip2: distdir
- + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
- + $(am__remove_distdir)
- +
- +dist-lzip: distdir
- + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
- + $(am__remove_distdir)
- +
- +dist-lzma: distdir
- + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- + $(am__remove_distdir)
- +
- +dist-xz: distdir
- + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
- + $(am__remove_distdir)
- +
- +dist-tarZ: distdir
- + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- + $(am__remove_distdir)
- +
- +dist-shar: distdir
- + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- + $(am__remove_distdir)
- +
- +dist-zip: distdir
- + -rm -f $(distdir).zip
- + zip -rq $(distdir).zip $(distdir)
- + $(am__remove_distdir)
- +
- +dist dist-all: distdir
- + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- + $(am__remove_distdir)
- +
- +# This target untars the dist file and tries a VPATH configuration. Then
- +# it guarantees that the distribution is self-contained by making another
- +# tarfile.
- +distcheck: dist
- + case '$(DIST_ARCHIVES)' in \
- + *.tar.gz*) \
- + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
- + *.tar.bz2*) \
- + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
- + *.tar.lzma*) \
- + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
- + *.tar.lz*) \
- + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
- + *.tar.xz*) \
- + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
- + *.tar.Z*) \
- + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
- + *.shar.gz*) \
- + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
- + *.zip*) \
- + unzip $(distdir).zip ;;\
- + esac
- + chmod -R a-w $(distdir); chmod a+w $(distdir)
- + mkdir $(distdir)/_build
- + mkdir $(distdir)/_inst
- + chmod a-w $(distdir)
- + test -d $(distdir)/_build || exit 0; \
- + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- + && am__cwd=`pwd` \
- + && $(am__cd) $(distdir)/_build \
- + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- + $(AM_DISTCHECK_CONFIGURE_FLAGS) \
- + $(DISTCHECK_CONFIGURE_FLAGS) \
- + && $(MAKE) $(AM_MAKEFLAGS) \
- + && $(MAKE) $(AM_MAKEFLAGS) dvi \
- + && $(MAKE) $(AM_MAKEFLAGS) check \
- + && $(MAKE) $(AM_MAKEFLAGS) install \
- + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
- + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
- + distuninstallcheck \
- + && chmod -R a-w "$$dc_install_base" \
- + && ({ \
- + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
- + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
- + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
- + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
- + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
- + } || { rm -rf "$$dc_destdir"; exit 1; }) \
- + && rm -rf "$$dc_destdir" \
- + && $(MAKE) $(AM_MAKEFLAGS) dist \
- + && rm -rf $(DIST_ARCHIVES) \
- + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
- + && cd "$$am__cwd" \
- + || exit 1
- + $(am__remove_distdir)
- + @(echo "$(distdir) archives ready for distribution: "; \
- + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
- +distuninstallcheck:
- + @test -n '$(distuninstallcheck_dir)' || { \
- + echo 'ERROR: trying to run $@ with an empty' \
- + '$$(distuninstallcheck_dir)' >&2; \
- + exit 1; \
- + }; \
- + $(am__cd) '$(distuninstallcheck_dir)' || { \
- + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
- + exit 1; \
- + }; \
- + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
- + || { echo "ERROR: files left after uninstall:" ; \
- + if test -n "$(DESTDIR)"; then \
- + echo " (check DESTDIR support)"; \
- + fi ; \
- + $(distuninstallcheck_listfiles) ; \
- + exit 1; } >&2
- +distcleancheck: distclean
- + @if test '$(srcdir)' = . ; then \
- + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
- + exit 1 ; \
- + fi
- + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
- + || { echo "ERROR: files left in build directory after distclean:" ; \
- + $(distcleancheck_listfiles) ; \
- + exit 1; } >&2
- +check-am: all-am
- +check: check-recursive
- +all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) config.h
- +installdirs: installdirs-recursive
- +installdirs-am:
- + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bitstreamsdir)"; do \
- + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- + done
- +install: install-recursive
- +install-exec: install-exec-recursive
- +install-data: install-data-recursive
- +uninstall: uninstall-recursive
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-recursive
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-recursive
- +
- +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
- +
- +distclean: distclean-recursive
- + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +distclean-am: clean-am distclean-compile distclean-generic \
- + distclean-hdr distclean-tags
- +
- +dvi: dvi-recursive
- +
- +dvi-am:
- +
- +html: html-recursive
- +
- +html-am:
- +
- +info: info-recursive
- +
- +info-am:
- +
- +install-data-am: install-dist_bitstreamsDATA
- +
- +install-dvi: install-dvi-recursive
- +
- +install-dvi-am:
- +
- +install-exec-am: install-binPROGRAMS install-binSCRIPTS
- +
- +install-html: install-html-recursive
- +
- +install-html-am:
- +
- +install-info: install-info-recursive
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-recursive
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-recursive
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-recursive
- + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- + -rm -rf $(top_srcdir)/autom4te.cache
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-recursive
- +
- +mostlyclean-am: mostlyclean-compile mostlyclean-generic
- +
- +pdf: pdf-recursive
- +
- +pdf-am:
- +
- +ps: ps-recursive
- +
- +ps-am:
- +
- +uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
- + uninstall-dist_bitstreamsDATA
- +
- +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- + ctags-recursive install-am install-strip tags-recursive
- +
- +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- + all all-am am--refresh check check-am clean clean-binPROGRAMS \
- + clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \
- + dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
- + dist-zip distcheck distclean distclean-compile \
- + distclean-generic distclean-hdr distclean-tags distcleancheck \
- + distdir distuninstallcheck dvi dvi-am html html-am info \
- + info-am install install-am install-binPROGRAMS \
- + install-binSCRIPTS install-data install-data-am \
- + install-dist_bitstreamsDATA install-dvi install-dvi-am \
- + install-exec install-exec-am install-html install-html-am \
- + install-info install-info-am install-man install-pdf \
- + install-pdf-am install-ps install-ps-am install-strip \
- + installcheck installcheck-am installdirs installdirs-am \
- + maintainer-clean maintainer-clean-generic mostlyclean \
- + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
- + tags tags-recursive uninstall uninstall-am \
- + uninstall-binPROGRAMS uninstall-binSCRIPTS \
- + uninstall-dist_bitstreamsDATA
- +
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- --- /dev/null
- +++ cgminer-2.4.1/depcomp
- @@ -0,0 +1,688 @@
- +#! /bin/sh
- +# depcomp - compile a program generating dependencies as side-effects
- +
- +scriptversion=2011-12-04.11; # UTC
- +
- +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
- +# 2011 Free Software Foundation, Inc.
- +
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2, or (at your option)
- +# any later version.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +
- +# You should have received a copy of the GNU General Public License
- +# along with this program. If not, see <http://www.gnu.org/licenses/>.
- +
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
- +
- +case $1 in
- + '')
- + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
- + exit 1;
- + ;;
- + -h | --h*)
- + cat <<\EOF
- +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
- +
- +Run PROGRAMS ARGS to compile a file, generating dependencies
- +as side-effects.
- +
- +Environment variables:
- + depmode Dependency tracking mode.
- + source Source file read by `PROGRAMS ARGS'.
- + object Object file output by `PROGRAMS ARGS'.
- + DEPDIR directory where to store dependencies.
- + depfile Dependency file to output.
- + tmpdepfile Temporary file to use when outputting dependencies.
- + libtool Whether libtool is used (yes/no).
- +
- +Report bugs to <bug-automake@gnu.org>.
- +EOF
- + exit $?
- + ;;
- + -v | --v*)
- + echo "depcomp $scriptversion"
- + exit $?
- + ;;
- +esac
- +
- +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
- + echo "depcomp: Variables source, object and depmode must be set" 1>&2
- + exit 1
- +fi
- +
- +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
- +depfile=${depfile-`echo "$object" |
- + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
- +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
- +
- +rm -f "$tmpdepfile"
- +
- +# Some modes work just like other modes, but use different flags. We
- +# parameterize here, but still list the modes in the big case below,
- +# to make depend.m4 easier to write. Note that we *cannot* use a case
- +# here, because this file can only contain one case statement.
- +if test "$depmode" = hp; then
- + # HP compiler uses -M and no extra arg.
- + gccflag=-M
- + depmode=gcc
- +fi
- +
- +if test "$depmode" = dashXmstdout; then
- + # This is just like dashmstdout with a different argument.
- + dashmflag=-xM
- + depmode=dashmstdout
- +fi
- +
- +cygpath_u="cygpath -u -f -"
- +if test "$depmode" = msvcmsys; then
- + # This is just like msvisualcpp but w/o cygpath translation.
- + # Just convert the backslash-escaped backslashes to single forward
- + # slashes to satisfy depend.m4
- + cygpath_u='sed s,\\\\,/,g'
- + depmode=msvisualcpp
- +fi
- +
- +if test "$depmode" = msvc7msys; then
- + # This is just like msvc7 but w/o cygpath translation.
- + # Just convert the backslash-escaped backslashes to single forward
- + # slashes to satisfy depend.m4
- + cygpath_u='sed s,\\\\,/,g'
- + depmode=msvc7
- +fi
- +
- +case "$depmode" in
- +gcc3)
- +## gcc 3 implements dependency tracking that does exactly what
- +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
- +## it if -MD -MP comes after the -MF stuff. Hmm.
- +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
- +## the command line argument order; so add the flags where they
- +## appear in depend2.am. Note that the slowdown incurred here
- +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
- + for arg
- + do
- + case $arg in
- + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
- + *) set fnord "$@" "$arg" ;;
- + esac
- + shift # fnord
- + shift # $arg
- + done
- + "$@"
- + stat=$?
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile"
- + exit $stat
- + fi
- + mv "$tmpdepfile" "$depfile"
- + ;;
- +
- +gcc)
- +## There are various ways to get dependency output from gcc. Here's
- +## why we pick this rather obscure method:
- +## - Don't want to use -MD because we'd like the dependencies to end
- +## up in a subdir. Having to rename by hand is ugly.
- +## (We might end up doing this anyway to support other compilers.)
- +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
- +## -MM, not -M (despite what the docs say).
- +## - Using -M directly means running the compiler twice (even worse
- +## than renaming).
- + if test -z "$gccflag"; then
- + gccflag=-MD,
- + fi
- + "$@" -Wp,"$gccflag$tmpdepfile"
- + stat=$?
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile"
- + exit $stat
- + fi
- + rm -f "$depfile"
- + echo "$object : \\" > "$depfile"
- + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
- +## The second -e expression handles DOS-style file names with drive letters.
- + sed -e 's/^[^:]*: / /' \
- + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
- +## This next piece of magic avoids the `deleted header file' problem.
- +## The problem is that when a header file which appears in a .P file
- +## is deleted, the dependency causes make to die (because there is
- +## typically no way to rebuild the header). We avoid this by adding
- +## dummy dependencies for each header file. Too bad gcc doesn't do
- +## this for us directly.
- + tr ' ' '
- +' < "$tmpdepfile" |
- +## Some versions of gcc put a space before the `:'. On the theory
- +## that the space means something, we add a space to the output as
- +## well. hp depmode also adds that space, but also prefixes the VPATH
- +## to the object. Take care to not repeat it in the output.
- +## Some versions of the HPUX 10.20 sed can't process this invocation
- +## correctly. Breaking it into two sed invocations is a workaround.
- + sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
- + | sed -e 's/$/ :/' >> "$depfile"
- + rm -f "$tmpdepfile"
- + ;;
- +
- +hp)
- + # This case exists only to let depend.m4 do its work. It works by
- + # looking at the text of this script. This case will never be run,
- + # since it is checked for above.
- + exit 1
- + ;;
- +
- +sgi)
- + if test "$libtool" = yes; then
- + "$@" "-Wp,-MDupdate,$tmpdepfile"
- + else
- + "$@" -MDupdate "$tmpdepfile"
- + fi
- + stat=$?
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile"
- + exit $stat
- + fi
- + rm -f "$depfile"
- +
- + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
- + echo "$object : \\" > "$depfile"
- +
- + # Clip off the initial element (the dependent). Don't try to be
- + # clever and replace this with sed code, as IRIX sed won't handle
- + # lines with more than a fixed number of characters (4096 in
- + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
- + # the IRIX cc adds comments like `#:fec' to the end of the
- + # dependency line.
- + tr ' ' '
- +' < "$tmpdepfile" \
- + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
- + tr '
- +' ' ' >> "$depfile"
- + echo >> "$depfile"
- +
- + # The second pass generates a dummy entry for each header file.
- + tr ' ' '
- +' < "$tmpdepfile" \
- + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
- + >> "$depfile"
- + else
- + # The sourcefile does not contain any dependencies, so just
- + # store a dummy comment line, to avoid errors with the Makefile
- + # "include basename.Plo" scheme.
- + echo "#dummy" > "$depfile"
- + fi
- + rm -f "$tmpdepfile"
- + ;;
- +
- +aix)
- + # The C for AIX Compiler uses -M and outputs the dependencies
- + # in a .u file. In older versions, this file always lives in the
- + # current directory. Also, the AIX compiler puts `$object:' at the
- + # start of each line; $object doesn't have directory information.
- + # Version 6 uses the directory in both cases.
- + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- + test "x$dir" = "x$object" && dir=
- + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
- + if test "$libtool" = yes; then
- + tmpdepfile1=$dir$base.u
- + tmpdepfile2=$base.u
- + tmpdepfile3=$dir.libs/$base.u
- + "$@" -Wc,-M
- + else
- + tmpdepfile1=$dir$base.u
- + tmpdepfile2=$dir$base.u
- + tmpdepfile3=$dir$base.u
- + "$@" -M
- + fi
- + stat=$?
- +
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
- + exit $stat
- + fi
- +
- + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
- + do
- + test -f "$tmpdepfile" && break
- + done
- + if test -f "$tmpdepfile"; then
- + # Each line is of the form `foo.o: dependent.h'.
- + # Do two passes, one to just change these to
- + # `$object: dependent.h' and one to simply `dependent.h:'.
- + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
- + # That's a tab and a space in the [].
- + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
- + else
- + # The sourcefile does not contain any dependencies, so just
- + # store a dummy comment line, to avoid errors with the Makefile
- + # "include basename.Plo" scheme.
- + echo "#dummy" > "$depfile"
- + fi
- + rm -f "$tmpdepfile"
- + ;;
- +
- +icc)
- + # Intel's C compiler understands `-MD -MF file'. However on
- + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
- + # ICC 7.0 will fill foo.d with something like
- + # foo.o: sub/foo.c
- + # foo.o: sub/foo.h
- + # which is wrong. We want:
- + # sub/foo.o: sub/foo.c
- + # sub/foo.o: sub/foo.h
- + # sub/foo.c:
- + # sub/foo.h:
- + # ICC 7.1 will output
- + # foo.o: sub/foo.c sub/foo.h
- + # and will wrap long lines using \ :
- + # foo.o: sub/foo.c ... \
- + # sub/foo.h ... \
- + # ...
- +
- + "$@" -MD -MF "$tmpdepfile"
- + stat=$?
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile"
- + exit $stat
- + fi
- + rm -f "$depfile"
- + # Each line is of the form `foo.o: dependent.h',
- + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
- + # Do two passes, one to just change these to
- + # `$object: dependent.h' and one to simply `dependent.h:'.
- + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
- + # Some versions of the HPUX 10.20 sed can't process this invocation
- + # correctly. Breaking it into two sed invocations is a workaround.
- + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
- + sed -e 's/$/ :/' >> "$depfile"
- + rm -f "$tmpdepfile"
- + ;;
- +
- +hp2)
- + # The "hp" stanza above does not work with aCC (C++) and HP's ia64
- + # compilers, which have integrated preprocessors. The correct option
- + # to use with these is +Maked; it writes dependencies to a file named
- + # 'foo.d', which lands next to the object file, wherever that
- + # happens to be.
- + # Much of this is similar to the tru64 case; see comments there.
- + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- + test "x$dir" = "x$object" && dir=
- + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
- + if test "$libtool" = yes; then
- + tmpdepfile1=$dir$base.d
- + tmpdepfile2=$dir.libs/$base.d
- + "$@" -Wc,+Maked
- + else
- + tmpdepfile1=$dir$base.d
- + tmpdepfile2=$dir$base.d
- + "$@" +Maked
- + fi
- + stat=$?
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile1" "$tmpdepfile2"
- + exit $stat
- + fi
- +
- + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
- + do
- + test -f "$tmpdepfile" && break
- + done
- + if test -f "$tmpdepfile"; then
- + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
- + # Add `dependent.h:' lines.
- + sed -ne '2,${
- + s/^ *//
- + s/ \\*$//
- + s/$/:/
- + p
- + }' "$tmpdepfile" >> "$depfile"
- + else
- + echo "#dummy" > "$depfile"
- + fi
- + rm -f "$tmpdepfile" "$tmpdepfile2"
- + ;;
- +
- +tru64)
- + # The Tru64 compiler uses -MD to generate dependencies as a side
- + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
- + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
- + # dependencies in `foo.d' instead, so we check for that too.
- + # Subdirectories are respected.
- + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- + test "x$dir" = "x$object" && dir=
- + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
- +
- + if test "$libtool" = yes; then
- + # With Tru64 cc, shared objects can also be used to make a
- + # static library. This mechanism is used in libtool 1.4 series to
- + # handle both shared and static libraries in a single compilation.
- + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
- + #
- + # With libtool 1.5 this exception was removed, and libtool now
- + # generates 2 separate objects for the 2 libraries. These two
- + # compilations output dependencies in $dir.libs/$base.o.d and
- + # in $dir$base.o.d. We have to check for both files, because
- + # one of the two compilations can be disabled. We should prefer
- + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
- + # automatically cleaned when .libs/ is deleted, while ignoring
- + # the former would cause a distcleancheck panic.
- + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
- + tmpdepfile2=$dir$base.o.d # libtool 1.5
- + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
- + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
- + "$@" -Wc,-MD
- + else
- + tmpdepfile1=$dir$base.o.d
- + tmpdepfile2=$dir$base.d
- + tmpdepfile3=$dir$base.d
- + tmpdepfile4=$dir$base.d
- + "$@" -MD
- + fi
- +
- + stat=$?
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
- + exit $stat
- + fi
- +
- + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
- + do
- + test -f "$tmpdepfile" && break
- + done
- + if test -f "$tmpdepfile"; then
- + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
- + # That's a tab and a space in the [].
- + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
- + else
- + echo "#dummy" > "$depfile"
- + fi
- + rm -f "$tmpdepfile"
- + ;;
- +
- +msvc7)
- + if test "$libtool" = yes; then
- + showIncludes=-Wc,-showIncludes
- + else
- + showIncludes=-showIncludes
- + fi
- + "$@" $showIncludes > "$tmpdepfile"
- + stat=$?
- + grep -v '^Note: including file: ' "$tmpdepfile"
- + if test "$stat" = 0; then :
- + else
- + rm -f "$tmpdepfile"
- + exit $stat
- + fi
- + rm -f "$depfile"
- + echo "$object : \\" > "$depfile"
- + # The first sed program below extracts the file names and escapes
- + # backslashes for cygpath. The second sed program outputs the file
- + # name when reading, but also accumulates all include files in the
- + # hold buffer in order to output them again at the end. This only
- + # works with sed implementations that can handle large buffers.
- + sed < "$tmpdepfile" -n '
- +/^Note: including file: *\(.*\)/ {
- + s//\1/
- + s/\\/\\\\/g
- + p
- +}' | $cygpath_u | sort -u | sed -n '
- +s/ /\\ /g
- +s/\(.*\)/ \1 \\/p
- +s/.\(.*\) \\/\1:/
- +H
- +$ {
- + s/.*/ /
- + G
- + p
- +}' >> "$depfile"
- + rm -f "$tmpdepfile"
- + ;;
- +
- +msvc7msys)
- + # This case exists only to let depend.m4 do its work. It works by
- + # looking at the text of this script. This case will never be run,
- + # since it is checked for above.
- + exit 1
- + ;;
- +
- +#nosideeffect)
- + # This comment above is used by automake to tell side-effect
- + # dependency tracking mechanisms from slower ones.
- +
- +dashmstdout)
- + # Important note: in order to support this mode, a compiler *must*
- + # always write the preprocessed file to stdout, regardless of -o.
- + "$@" || exit $?
- +
- + # Remove the call to Libtool.
- + if test "$libtool" = yes; then
- + while test "X$1" != 'X--mode=compile'; do
- + shift
- + done
- + shift
- + fi
- +
- + # Remove `-o $object'.
- + IFS=" "
- + for arg
- + do
- + case $arg in
- + -o)
- + shift
- + ;;
- + $object)
- + shift
- + ;;
- + *)
- + set fnord "$@" "$arg"
- + shift # fnord
- + shift # $arg
- + ;;
- + esac
- + done
- +
- + test -z "$dashmflag" && dashmflag=-M
- + # Require at least two characters before searching for `:'
- + # in the target name. This is to cope with DOS-style filenames:
- + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
- + "$@" $dashmflag |
- + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
- + rm -f "$depfile"
- + cat < "$tmpdepfile" > "$depfile"
- + tr ' ' '
- +' < "$tmpdepfile" | \
- +## Some versions of the HPUX 10.20 sed can't process this invocation
- +## correctly. Breaking it into two sed invocations is a workaround.
- + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
- + rm -f "$tmpdepfile"
- + ;;
- +
- +dashXmstdout)
- + # This case only exists to satisfy depend.m4. It is never actually
- + # run, as this mode is specially recognized in the preamble.
- + exit 1
- + ;;
- +
- +makedepend)
- + "$@" || exit $?
- + # Remove any Libtool call
- + if test "$libtool" = yes; then
- + while test "X$1" != 'X--mode=compile'; do
- + shift
- + done
- + shift
- + fi
- + # X makedepend
- + shift
- + cleared=no eat=no
- + for arg
- + do
- + case $cleared in
- + no)
- + set ""; shift
- + cleared=yes ;;
- + esac
- + if test $eat = yes; then
- + eat=no
- + continue
- + fi
- + case "$arg" in
- + -D*|-I*)
- + set fnord "$@" "$arg"; shift ;;
- + # Strip any option that makedepend may not understand. Remove
- + # the object too, otherwise makedepend will parse it as a source file.
- + -arch)
- + eat=yes ;;
- + -*|$object)
- + ;;
- + *)
- + set fnord "$@" "$arg"; shift ;;
- + esac
- + done
- + obj_suffix=`echo "$object" | sed 's/^.*\././'`
- + touch "$tmpdepfile"
- + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
- + rm -f "$depfile"
- + # makedepend may prepend the VPATH from the source file name to the object.
- + # No need to regex-escape $object, excess matching of '.' is harmless.
- + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
- + sed '1,2d' "$tmpdepfile" | tr ' ' '
- +' | \
- +## Some versions of the HPUX 10.20 sed can't process this invocation
- +## correctly. Breaking it into two sed invocations is a workaround.
- + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
- + rm -f "$tmpdepfile" "$tmpdepfile".bak
- + ;;
- +
- +cpp)
- + # Important note: in order to support this mode, a compiler *must*
- + # always write the preprocessed file to stdout.
- + "$@" || exit $?
- +
- + # Remove the call to Libtool.
- + if test "$libtool" = yes; then
- + while test "X$1" != 'X--mode=compile'; do
- + shift
- + done
- + shift
- + fi
- +
- + # Remove `-o $object'.
- + IFS=" "
- + for arg
- + do
- + case $arg in
- + -o)
- + shift
- + ;;
- + $object)
- + shift
- + ;;
- + *)
- + set fnord "$@" "$arg"
- + shift # fnord
- + shift # $arg
- + ;;
- + esac
- + done
- +
- + "$@" -E |
- + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
- + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
- + sed '$ s: \\$::' > "$tmpdepfile"
- + rm -f "$depfile"
- + echo "$object : \\" > "$depfile"
- + cat < "$tmpdepfile" >> "$depfile"
- + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
- + rm -f "$tmpdepfile"
- + ;;
- +
- +msvisualcpp)
- + # Important note: in order to support this mode, a compiler *must*
- + # always write the preprocessed file to stdout.
- + "$@" || exit $?
- +
- + # Remove the call to Libtool.
- + if test "$libtool" = yes; then
- + while test "X$1" != 'X--mode=compile'; do
- + shift
- + done
- + shift
- + fi
- +
- + IFS=" "
- + for arg
- + do
- + case "$arg" in
- + -o)
- + shift
- + ;;
- + $object)
- + shift
- + ;;
- + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
- + set fnord "$@"
- + shift
- + shift
- + ;;
- + *)
- + set fnord "$@" "$arg"
- + shift
- + shift
- + ;;
- + esac
- + done
- + "$@" -E 2>/dev/null |
- + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
- + rm -f "$depfile"
- + echo "$object : \\" > "$depfile"
- + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
- + echo " " >> "$depfile"
- + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
- + rm -f "$tmpdepfile"
- + ;;
- +
- +msvcmsys)
- + # This case exists only to let depend.m4 do its work. It works by
- + # looking at the text of this script. This case will never be run,
- + # since it is checked for above.
- + exit 1
- + ;;
- +
- +none)
- + exec "$@"
- + ;;
- +
- +*)
- + echo "Unknown depmode $depmode" 1>&2
- + exit 1
- + ;;
- +esac
- +
- +exit 0
- +
- +# Local Variables:
- +# mode: shell-script
- +# sh-indentation: 2
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "scriptversion="
- +# time-stamp-format: "%:y-%02m-%02d.%02H"
- +# time-stamp-time-zone: "UTC"
- +# time-stamp-end: "; # UTC"
- +# End:
- --- cgminer-2.4.1.orig/adl.h
- +++ cgminer-2.4.1/adl.h
- @@ -19,12 +19,10 @@ bool gpu_stats(int gpu, float *temp, int
- void change_gpusettings(int gpu);
- void gpu_autotune(int gpu, enum dev_enable *denable);
- void clear_adl(int nDevs);
- -void reinit_adl(void);
- #else /* HAVE_ADL */
- #define adl_active (0)
- static inline void init_adl(int nDevs) {}
- static inline void change_gpusettings(int gpu) { }
- static inline void clear_adl(int nDevs) {}
- -static inline void reinit_adl(void) {}
- #endif
- #endif
- --- cgminer-2.4.1.orig/adl.c
- +++ cgminer-2.4.1/adl.c
- @@ -1379,17 +1379,4 @@ void clear_adl(int nDevs)
- unlock_adl();
- free_adl();
- }
- -
- -void reinit_adl(void)
- -{
- - bool ret;
- - lock_adl();
- - free_adl();
- - ret = prepare_adl();
- - if (!ret) {
- - adl_active = false;
- - applog(LOG_WARNING, "Attempt to re-initialise ADL has failed, disabling");
- - }
- - unlock_adl();
- -}
- #endif /* HAVE_ADL */
- --- cgminer-2.4.1.orig/README
- +++ cgminer-2.4.1/README
- @@ -801,6 +801,13 @@ The list of requests - a (*) means it re
- restart (*) none There is no status section but just a single "RESTART"
- reply before cgminer restarts
-
- + stats STATS Each device or pool that has 1 or more getworks
- + with a list of stats regarding getwork times
- + The values returned by stats may change in future
- + versions thus would not normally be displayed
- + Device drivers are also able to add stats to the
- + end of the details returned
- +
- When you enable, disable or restart a GPU or PGA, you will also get Thread messages
- in the cgminer status window
-
- --- /dev/null
- +++ cgminer-2.4.1/aclocal.m4
- @@ -0,0 +1,1282 @@
- +# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
- +
- +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- +# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
- +# Inc.
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +m4_ifndef([AC_AUTOCONF_VERSION],
- + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
- +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
- +[m4_warning([this file was generated for autoconf 2.68.
- +You have another version of autoconf. It may work, but is not guaranteed to.
- +If you have problems, you may need to regenerate the build system entirely.
- +To do so, use the procedure documented by the package, typically `autoreconf'.])])
- +
- +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
- +# serial 1 (pkg-config-0.24)
- +#
- +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful, but
- +# WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- +# General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
- +# ----------------------------------
- +AC_DEFUN([PKG_PROG_PKG_CONFIG],
- +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
- +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
- +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
- +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
- +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
- +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
- +
- +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
- +fi
- +if test -n "$PKG_CONFIG"; then
- + _pkg_min_version=m4_default([$1], [0.9.0])
- + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
- + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- + AC_MSG_RESULT([yes])
- + else
- + AC_MSG_RESULT([no])
- + PKG_CONFIG=""
- + fi
- +fi[]dnl
- +])# PKG_PROG_PKG_CONFIG
- +
- +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
- +#
- +# Check to see whether a particular set of modules exists. Similar
- +# to PKG_CHECK_MODULES(), but does not set variables or print errors.
- +#
- +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
- +# only at the first occurence in configure.ac, so if the first place
- +# it's called might be skipped (such as if it is within an "if", you
- +# have to call PKG_CHECK_EXISTS manually
- +# --------------------------------------------------------------
- +AC_DEFUN([PKG_CHECK_EXISTS],
- +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
- +if test -n "$PKG_CONFIG" && \
- + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- + m4_default([$2], [:])
- +m4_ifvaln([$3], [else
- + $3])dnl
- +fi])
- +
- +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
- +# ---------------------------------------------
- +m4_define([_PKG_CONFIG],
- +[if test -n "$$1"; then
- + pkg_cv_[]$1="$$1"
- + elif test -n "$PKG_CONFIG"; then
- + PKG_CHECK_EXISTS([$3],
- + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
- + test "x$?" != "x0" && pkg_failed=yes ],
- + [pkg_failed=yes])
- + else
- + pkg_failed=untried
- +fi[]dnl
- +])# _PKG_CONFIG
- +
- +# _PKG_SHORT_ERRORS_SUPPORTED
- +# -----------------------------
- +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
- +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
- +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- + _pkg_short_errors_supported=yes
- +else
- + _pkg_short_errors_supported=no
- +fi[]dnl
- +])# _PKG_SHORT_ERRORS_SUPPORTED
- +
- +
- +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
- +# [ACTION-IF-NOT-FOUND])
- +#
- +#
- +# Note that if there is a possibility the first call to
- +# PKG_CHECK_MODULES might not happen, you should be sure to include an
- +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
- +#
- +#
- +# --------------------------------------------------------------
- +AC_DEFUN([PKG_CHECK_MODULES],
- +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
- +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
- +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
- +
- +pkg_failed=no
- +AC_MSG_CHECKING([for $1])
- +
- +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
- +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
- +
- +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
- +and $1[]_LIBS to avoid the need to call pkg-config.
- +See the pkg-config man page for more details.])
- +
- +if test $pkg_failed = yes; then
- + AC_MSG_RESULT([no])
- + _PKG_SHORT_ERRORS_SUPPORTED
- + if test $_pkg_short_errors_supported = yes; then
- + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
- + else
- + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
- + fi
- + # Put the nasty error message in config.log where it belongs
- + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
- +
- + m4_default([$4], [AC_MSG_ERROR(
- +[Package requirements ($2) were not met:
- +
- +$$1_PKG_ERRORS
- +
- +Consider adjusting the PKG_CONFIG_PATH environment variable if you
- +installed software in a non-standard prefix.
- +
- +_PKG_TEXT])[]dnl
- + ])
- +elif test $pkg_failed = untried; then
- + AC_MSG_RESULT([no])
- + m4_default([$4], [AC_MSG_FAILURE(
- +[The pkg-config script could not be found or is too old. Make sure it
- +is in your PATH or set the PKG_CONFIG environment variable to the full
- +path to pkg-config.
- +
- +_PKG_TEXT
- +
- +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
- + ])
- +else
- + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- + AC_MSG_RESULT([yes])
- + $3
- +fi[]dnl
- +])# PKG_CHECK_MODULES
- +
- +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
- +# Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 1
- +
- +# AM_AUTOMAKE_VERSION(VERSION)
- +# ----------------------------
- +# Automake X.Y traces this macro to ensure aclocal.m4 has been
- +# generated from the m4 files accompanying Automake X.Y.
- +# (This private macro should not be called outside this file.)
- +AC_DEFUN([AM_AUTOMAKE_VERSION],
- +[am__api_version='1.11'
- +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
- +dnl require some minimum version. Point them to the right macro.
- +m4_if([$1], [1.11.3], [],
- + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
- +])
- +
- +# _AM_AUTOCONF_VERSION(VERSION)
- +# -----------------------------
- +# aclocal traces this macro to find the Autoconf version.
- +# This is a private macro too. Using m4_define simplifies
- +# the logic in aclocal, which can simply ignore this definition.
- +m4_define([_AM_AUTOCONF_VERSION], [])
- +
- +# AM_SET_CURRENT_AUTOMAKE_VERSION
- +# -------------------------------
- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
- +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
- +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- +[AM_AUTOMAKE_VERSION([1.11.3])dnl
- +m4_ifndef([AC_AUTOCONF_VERSION],
- + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
- +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
- +
- +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
- +
- +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 1
- +
- +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
- +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
- +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
- +#
- +# Of course, Automake must honor this variable whenever it calls a
- +# tool from the auxiliary directory. The problem is that $srcdir (and
- +# therefore $ac_aux_dir as well) can be either absolute or relative,
- +# depending on how configure is run. This is pretty annoying, since
- +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
- +# source directory, any form will work fine, but in subdirectories a
- +# relative path needs to be adjusted first.
- +#
- +# $ac_aux_dir/missing
- +# fails when called from a subdirectory if $ac_aux_dir is relative
- +# $top_srcdir/$ac_aux_dir/missing
- +# fails if $ac_aux_dir is absolute,
- +# fails when called from a subdirectory in a VPATH build with
- +# a relative $ac_aux_dir
- +#
- +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
- +# are both prefixed by $srcdir. In an in-source build this is usually
- +# harmless because $srcdir is `.', but things will broke when you
- +# start a VPATH build or use an absolute $srcdir.
- +#
- +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
- +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
- +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
- +# and then we would define $MISSING as
- +# MISSING="\${SHELL} $am_aux_dir/missing"
- +# This will work as long as MISSING is not called from configure, because
- +# unfortunately $(top_srcdir) has no meaning in configure.
- +# However there are other variables, like CC, which are often used in
- +# configure, and could therefore not use this "fixed" $ac_aux_dir.
- +#
- +# Another solution, used here, is to always expand $ac_aux_dir to an
- +# absolute PATH. The drawback is that using absolute paths prevent a
- +# configured tree to be moved without reconfiguration.
- +
- +AC_DEFUN([AM_AUX_DIR_EXPAND],
- +[dnl Rely on autoconf to set up CDPATH properly.
- +AC_PREREQ([2.50])dnl
- +# expand $ac_aux_dir to an absolute path
- +am_aux_dir=`cd $ac_aux_dir && pwd`
- +])
- +
- +# AM_CONDITIONAL -*- Autoconf -*-
- +
- +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
- +# Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 9
- +
- +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
- +# -------------------------------------
- +# Define a conditional.
- +AC_DEFUN([AM_CONDITIONAL],
- +[AC_PREREQ(2.52)dnl
- + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
- +AC_SUBST([$1_TRUE])dnl
- +AC_SUBST([$1_FALSE])dnl
- +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
- +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
- +m4_define([_AM_COND_VALUE_$1], [$2])dnl
- +if $2; then
- + $1_TRUE=
- + $1_FALSE='#'
- +else
- + $1_TRUE='#'
- + $1_FALSE=
- +fi
- +AC_CONFIG_COMMANDS_PRE(
- +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- + AC_MSG_ERROR([[conditional "$1" was never defined.
- +Usually this means the macro was only invoked conditionally.]])
- +fi])])
- +
- +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
- +# 2010, 2011 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 12
- +
- +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
- +# written in clear, in which case automake, when reading aclocal.m4,
- +# will think it sees a *use*, and therefore will trigger all it's
- +# C support machinery. Also note that it means that autoscan, seeing
- +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
- +
- +
- +# _AM_DEPENDENCIES(NAME)
- +# ----------------------
- +# See how the compiler implements dependency checking.
- +# NAME is "CC", "CXX", "GCJ", or "OBJC".
- +# We try a few techniques and use that to set a single cache variable.
- +#
- +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
- +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
- +# dependency, and given that the user is not expected to run this macro,
- +# just rely on AC_PROG_CC.
- +AC_DEFUN([_AM_DEPENDENCIES],
- +[AC_REQUIRE([AM_SET_DEPDIR])dnl
- +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
- +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
- +AC_REQUIRE([AM_DEP_TRACK])dnl
- +
- +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- + [$1], CXX, [depcc="$CXX" am_compiler_list=],
- + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- + [$1], UPC, [depcc="$UPC" am_compiler_list=],
- + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- + [depcc="$$1" am_compiler_list=])
- +
- +AC_CACHE_CHECK([dependency style of $depcc],
- + [am_cv_$1_dependencies_compiler_type],
- +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- + # We make a subdir and do the tests there. Otherwise we can end up
- + # making bogus files that we don't know about and never remove. For
- + # instance it was reported that on HP-UX the gcc test will end up
- + # making a dummy file named `D' -- because `-MD' means `put the output
- + # in D'.
- + rm -rf conftest.dir
- + mkdir conftest.dir
- + # Copy depcomp to subdir because otherwise we won't find it if we're
- + # using a relative directory.
- + cp "$am_depcomp" conftest.dir
- + cd conftest.dir
- + # We will build objects and dependencies in a subdirectory because
- + # it helps to detect inapplicable dependency modes. For instance
- + # both Tru64's cc and ICC support -MD to output dependencies as a
- + # side effect of compilation, but ICC will put the dependencies in
- + # the current directory while Tru64 will put them in the object
- + # directory.
- + mkdir sub
- +
- + am_cv_$1_dependencies_compiler_type=none
- + if test "$am_compiler_list" = ""; then
- + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- + fi
- + am__universal=false
- + m4_case([$1], [CC],
- + [case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac],
- + [CXX],
- + [case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac])
- +
- + for depmode in $am_compiler_list; do
- + # Setup a source with many dependencies, because some compilers
- + # like to wrap large dependency lists on column 80 (with \), and
- + # we should not choose a depcomp mode which is confused by this.
- + #
- + # We need to recreate these files for each test, as the compiler may
- + # overwrite some of them when testing with obscure command lines.
- + # This happens at least with the AIX C compiler.
- + : > sub/conftest.c
- + for i in 1 2 3 4 5 6; do
- + echo '#include "conftst'$i'.h"' >> sub/conftest.c
- + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- + # Solaris 8's {/usr,}/bin/sh.
- + touch sub/conftst$i.h
- + done
- + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
- +
- + # We check with `-c' and `-o' for the sake of the "dashmstdout"
- + # mode. It turns out that the SunPro C++ compiler does not properly
- + # handle `-M -o', and we need to detect this. Also, some Intel
- + # versions had trouble with output in subdirs
- + am__obj=sub/conftest.${OBJEXT-o}
- + am__minus_obj="-o $am__obj"
- + case $depmode in
- + gcc)
- + # This depmode causes a compiler race in universal mode.
- + test "$am__universal" = false || continue
- + ;;
- + nosideeffect)
- + # after this tag, mechanisms are not by side-effect, so they'll
- + # only be used when explicitly requested
- + if test "x$enable_dependency_tracking" = xyes; then
- + continue
- + else
- + break
- + fi
- + ;;
- + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- + # This compiler won't grok `-c -o', but also, the minuso test has
- + # not run yet. These depmodes are late enough in the game, and
- + # so weak that their functioning should not be impacted.
- + am__obj=conftest.${OBJEXT-o}
- + am__minus_obj=
- + ;;
- + none) break ;;
- + esac
- + if depmode=$depmode \
- + source=sub/conftest.c object=$am__obj \
- + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- + >/dev/null 2>conftest.err &&
- + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- + # icc doesn't choke on unknown options, it will just issue warnings
- + # or remarks (even with -Werror). So we grep stderr for any message
- + # that says an option was ignored or not supported.
- + # When given -MP, icc 7.0 and 7.1 complain thusly:
- + # icc: Command line warning: ignoring option '-M'; no argument required
- + # The diagnosis changed in icc 8.0:
- + # icc: Command line remark: option '-MP' not supported
- + if (grep 'ignoring option' conftest.err ||
- + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- + am_cv_$1_dependencies_compiler_type=$depmode
- + break
- + fi
- + fi
- + done
- +
- + cd ..
- + rm -rf conftest.dir
- +else
- + am_cv_$1_dependencies_compiler_type=none
- +fi
- +])
- +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
- +AM_CONDITIONAL([am__fastdep$1], [
- + test "x$enable_dependency_tracking" != xno \
- + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
- +])
- +
- +
- +# AM_SET_DEPDIR
- +# -------------
- +# Choose a directory name for dependency files.
- +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
- +AC_DEFUN([AM_SET_DEPDIR],
- +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
- +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
- +])
- +
- +
- +# AM_DEP_TRACK
- +# ------------
- +AC_DEFUN([AM_DEP_TRACK],
- +[AC_ARG_ENABLE(dependency-tracking,
- +[ --disable-dependency-tracking speeds up one-time build
- + --enable-dependency-tracking do not reject slow dependency extractors])
- +if test "x$enable_dependency_tracking" != xno; then
- + am_depcomp="$ac_aux_dir/depcomp"
- + AMDEPBACKSLASH='\'
- + am__nodep='_no'
- +fi
- +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
- +AC_SUBST([AMDEPBACKSLASH])dnl
- +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
- +AC_SUBST([am__nodep])dnl
- +_AM_SUBST_NOTMAKE([am__nodep])dnl
- +])
- +
- +# Generate code to set up dependency tracking. -*- Autoconf -*-
- +
- +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
- +# Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +#serial 5
- +
- +# _AM_OUTPUT_DEPENDENCY_COMMANDS
- +# ------------------------------
- +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
- +[{
- + # Autoconf 2.62 quotes --file arguments for eval, but not when files
- + # are listed without --file. Let's play safe and only enable the eval
- + # if we detect the quoting.
- + case $CONFIG_FILES in
- + *\'*) eval set x "$CONFIG_FILES" ;;
- + *) set x $CONFIG_FILES ;;
- + esac
- + shift
- + for mf
- + do
- + # Strip MF so we end up with the name of the file.
- + mf=`echo "$mf" | sed -e 's/:.*$//'`
- + # Check whether this is an Automake generated Makefile or not.
- + # We used to match only the files named `Makefile.in', but
- + # some people rename them; so instead we look at the file content.
- + # Grep'ing the first line is not enough: some people post-process
- + # each Makefile.in and add a new line on top of each file to say so.
- + # Grep'ing the whole file is not good either: AIX grep has a line
- + # limit of 2048, but all sed's we know have understand at least 4000.
- + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- + dirpart=`AS_DIRNAME("$mf")`
- + else
- + continue
- + fi
- + # Extract the definition of DEPDIR, am__include, and am__quote
- + # from the Makefile without running `make'.
- + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- + test -z "$DEPDIR" && continue
- + am__include=`sed -n 's/^am__include = //p' < "$mf"`
- + test -z "am__include" && continue
- + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- + # When using ansi2knr, U may be empty or an underscore; expand it
- + U=`sed -n 's/^U = //p' < "$mf"`
- + # Find all dependency output files, they are included files with
- + # $(DEPDIR) in their names. We invoke sed twice because it is the
- + # simplest approach to changing $(DEPDIR) to its actual value in the
- + # expansion.
- + for file in `sed -n "
- + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- + # Make sure the directory exists.
- + test -f "$dirpart/$file" && continue
- + fdir=`AS_DIRNAME(["$file"])`
- + AS_MKDIR_P([$dirpart/$fdir])
- + # echo "creating $dirpart/$file"
- + echo '# dummy' > "$dirpart/$file"
- + done
- + done
- +}
- +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
- +
- +
- +# AM_OUTPUT_DEPENDENCY_COMMANDS
- +# -----------------------------
- +# This macro should only be invoked once -- use via AC_REQUIRE.
- +#
- +# This code is only required when automatic dependency tracking
- +# is enabled. FIXME. This creates each `.P' file that we will
- +# need in order to bootstrap the dependency handling code.
- +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
- +[AC_CONFIG_COMMANDS([depfiles],
- + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
- +])
- +
- +# Do all the work for Automake. -*- Autoconf -*-
- +
- +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 16
- +
- +# This macro actually does too much. Some checks are only needed if
- +# your package does certain things. But this isn't really a big deal.
- +
- +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
- +# AM_INIT_AUTOMAKE([OPTIONS])
- +# -----------------------------------------------
- +# The call with PACKAGE and VERSION arguments is the old style
- +# call (pre autoconf-2.50), which is being phased out. PACKAGE
- +# and VERSION should now be passed to AC_INIT and removed from
- +# the call to AM_INIT_AUTOMAKE.
- +# We support both call styles for the transition. After
- +# the next Automake release, Autoconf can make the AC_INIT
- +# arguments mandatory, and then we can depend on a new Autoconf
- +# release and drop the old call support.
- +AC_DEFUN([AM_INIT_AUTOMAKE],
- +[AC_PREREQ([2.62])dnl
- +dnl Autoconf wants to disallow AM_ names. We explicitly allow
- +dnl the ones we care about.
- +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
- +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
- +AC_REQUIRE([AC_PROG_INSTALL])dnl
- +if test "`cd $srcdir && pwd`" != "`pwd`"; then
- + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- + # is not polluted with repeated "-I."
- + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
- + # test to see if srcdir already configured
- + if test -f $srcdir/config.status; then
- + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
- + fi
- +fi
- +
- +# test whether we have cygpath
- +if test -z "$CYGPATH_W"; then
- + if (cygpath --version) >/dev/null 2>/dev/null; then
- + CYGPATH_W='cygpath -w'
- + else
- + CYGPATH_W=echo
- + fi
- +fi
- +AC_SUBST([CYGPATH_W])
- +
- +# Define the identity of the package.
- +dnl Distinguish between old-style and new-style calls.
- +m4_ifval([$2],
- +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- + AC_SUBST([PACKAGE], [$1])dnl
- + AC_SUBST([VERSION], [$2])],
- +[_AM_SET_OPTIONS([$1])dnl
- +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
- +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
- + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
- + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
- +
- +_AM_IF_OPTION([no-define],,
- +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
- +
- +# Some tools Automake needs.
- +AC_REQUIRE([AM_SANITY_CHECK])dnl
- +AC_REQUIRE([AC_ARG_PROGRAM])dnl
- +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
- +AM_MISSING_PROG(AUTOCONF, autoconf)
- +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
- +AM_MISSING_PROG(AUTOHEADER, autoheader)
- +AM_MISSING_PROG(MAKEINFO, makeinfo)
- +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
- +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
- +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
- +# We need awk for the "check" target. The system "awk" is bad on
- +# some platforms.
- +AC_REQUIRE([AC_PROG_AWK])dnl
- +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
- +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
- +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- + [_AM_PROG_TAR([v7])])])
- +_AM_IF_OPTION([no-dependencies],,
- +[AC_PROVIDE_IFELSE([AC_PROG_CC],
- + [_AM_DEPENDENCIES(CC)],
- + [define([AC_PROG_CC],
- + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
- +AC_PROVIDE_IFELSE([AC_PROG_CXX],
- + [_AM_DEPENDENCIES(CXX)],
- + [define([AC_PROG_CXX],
- + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
- +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- + [_AM_DEPENDENCIES(OBJC)],
- + [define([AC_PROG_OBJC],
- + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
- +])
- +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
- +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
- +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
- +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
- +AC_CONFIG_COMMANDS_PRE(dnl
- +[m4_provide_if([_AM_COMPILER_EXEEXT],
- + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
- +])
- +
- +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
- +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
- +dnl mangled by Autoconf and run in a shell conditional statement.
- +m4_define([_AC_COMPILER_EXEEXT],
- +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
- +
- +
- +# When config.status generates a header, we must update the stamp-h file.
- +# This file resides in the same directory as the config header
- +# that is generated. The stamp files are numbered to have different names.
- +
- +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
- +# loop where config.status creates the headers, so we can generate
- +# our stamp files there.
- +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
- +[# Compute $1's index in $config_headers.
- +_am_arg=$1
- +_am_stamp_count=1
- +for _am_header in $config_headers :; do
- + case $_am_header in
- + $_am_arg | $_am_arg:* )
- + break ;;
- + * )
- + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- + esac
- +done
- +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
- +
- +# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
- +# Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 1
- +
- +# AM_PROG_INSTALL_SH
- +# ------------------
- +# Define $install_sh.
- +AC_DEFUN([AM_PROG_INSTALL_SH],
- +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
- +if test x"${install_sh}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- + *)
- + install_sh="\${SHELL} $am_aux_dir/install-sh"
- + esac
- +fi
- +AC_SUBST(install_sh)])
- +
- +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 2
- +
- +# Check whether the underlying file-system supports filenames
- +# with a leading dot. For instance MS-DOS doesn't.
- +AC_DEFUN([AM_SET_LEADING_DOT],
- +[rm -rf .tst 2>/dev/null
- +mkdir .tst 2>/dev/null
- +if test -d .tst; then
- + am__leading_dot=.
- +else
- + am__leading_dot=_
- +fi
- +rmdir .tst 2>/dev/null
- +AC_SUBST([am__leading_dot])])
- +
- +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
- +# From Jim Meyering
- +
- +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
- +# 2011 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 5
- +
- +# AM_MAINTAINER_MODE([DEFAULT-MODE])
- +# ----------------------------------
- +# Control maintainer-specific portions of Makefiles.
- +# Default is to disable them, unless `enable' is passed literally.
- +# For symmetry, `disable' may be passed as well. Anyway, the user
- +# can override the default with the --enable/--disable switch.
- +AC_DEFUN([AM_MAINTAINER_MODE],
- +[m4_case(m4_default([$1], [disable]),
- + [enable], [m4_define([am_maintainer_other], [disable])],
- + [disable], [m4_define([am_maintainer_other], [enable])],
- + [m4_define([am_maintainer_other], [enable])
- + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
- +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
- + dnl maintainer-mode's default is 'disable' unless 'enable' is passed
- + AC_ARG_ENABLE([maintainer-mode],
- +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
- + (and sometimes confusing) to the casual installer],
- + [USE_MAINTAINER_MODE=$enableval],
- + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
- + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
- + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
- + MAINT=$MAINTAINER_MODE_TRUE
- + AC_SUBST([MAINT])dnl
- +]
- +)
- +
- +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
- +
- +# Check to see how 'make' treats includes. -*- Autoconf -*-
- +
- +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 4
- +
- +# AM_MAKE_INCLUDE()
- +# -----------------
- +# Check to see how make treats includes.
- +AC_DEFUN([AM_MAKE_INCLUDE],
- +[am_make=${MAKE-make}
- +cat > confinc << 'END'
- +am__doit:
- + @echo this is the am__doit target
- +.PHONY: am__doit
- +END
- +# If we don't find an include directive, just comment out the code.
- +AC_MSG_CHECKING([for style of include used by $am_make])
- +am__include="#"
- +am__quote=
- +_am_result=none
- +# First try GNU make style include.
- +echo "include confinc" > confmf
- +# Ignore all kinds of additional output from `make'.
- +case `$am_make -s -f confmf 2> /dev/null` in #(
- +*the\ am__doit\ target*)
- + am__include=include
- + am__quote=
- + _am_result=GNU
- + ;;
- +esac
- +# Now try BSD make style include.
- +if test "$am__include" = "#"; then
- + echo '.include "confinc"' > confmf
- + case `$am_make -s -f confmf 2> /dev/null` in #(
- + *the\ am__doit\ target*)
- + am__include=.include
- + am__quote="\""
- + _am_result=BSD
- + ;;
- + esac
- +fi
- +AC_SUBST([am__include])
- +AC_SUBST([am__quote])
- +AC_MSG_RESULT([$_am_result])
- +rm -f confinc confmf
- +])
- +
- +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
- +# Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 6
- +
- +# AM_PROG_CC_C_O
- +# --------------
- +# Like AC_PROG_CC_C_O, but changed for automake.
- +AC_DEFUN([AM_PROG_CC_C_O],
- +[AC_REQUIRE([AC_PROG_CC_C_O])dnl
- +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
- +AC_REQUIRE_AUX_FILE([compile])dnl
- +# FIXME: we rely on the cache variable name because
- +# there is no other way.
- +set dummy $CC
- +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
- +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
- +if test "$am_t" != yes; then
- + # Losing compiler, so override with the script.
- + # FIXME: It is wrong to rewrite CC.
- + # But if we don't then we get into trouble of one sort or another.
- + # A longer-term fix would be to have automake use am__CC in this case,
- + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- + CC="$am_aux_dir/compile $CC"
- +fi
- +dnl Make sure AC_PROG_CC is never called again, or it will override our
- +dnl setting of CC.
- +m4_define([AC_PROG_CC],
- + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
- +])
- +
- +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
- +
- +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
- +# Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 6
- +
- +# AM_MISSING_PROG(NAME, PROGRAM)
- +# ------------------------------
- +AC_DEFUN([AM_MISSING_PROG],
- +[AC_REQUIRE([AM_MISSING_HAS_RUN])
- +$1=${$1-"${am_missing_run}$2"}
- +AC_SUBST($1)])
- +
- +
- +# AM_MISSING_HAS_RUN
- +# ------------------
- +# Define MISSING if not defined so far and test if it supports --run.
- +# If it does, set am_missing_run to use it, otherwise, to nothing.
- +AC_DEFUN([AM_MISSING_HAS_RUN],
- +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
- +AC_REQUIRE_AUX_FILE([missing])dnl
- +if test x"${MISSING+set}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- + *)
- + MISSING="\${SHELL} $am_aux_dir/missing" ;;
- + esac
- +fi
- +# Use eval to expand $SHELL
- +if eval "$MISSING --run true"; then
- + am_missing_run="$MISSING --run "
- +else
- + am_missing_run=
- + AC_MSG_WARN([`missing' script is too old or missing])
- +fi
- +])
- +
- +# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
- +# Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 1
- +
- +# AM_PROG_MKDIR_P
- +# ---------------
- +# Check for `mkdir -p'.
- +AC_DEFUN([AM_PROG_MKDIR_P],
- +[AC_PREREQ([2.60])dnl
- +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
- +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
- +dnl while keeping a definition of mkdir_p for backward compatibility.
- +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
- +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
- +dnl Makefile.ins that do not define MKDIR_P, so we do our own
- +dnl adjustment using top_builddir (which is defined more often than
- +dnl MKDIR_P).
- +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
- +case $mkdir_p in
- + [[\\/$]]* | ?:[[\\/]]*) ;;
- + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
- +esac
- +])
- +
- +# Helper functions for option handling. -*- Autoconf -*-
- +
- +# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
- +# Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 5
- +
- +# _AM_MANGLE_OPTION(NAME)
- +# -----------------------
- +AC_DEFUN([_AM_MANGLE_OPTION],
- +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
- +
- +# _AM_SET_OPTION(NAME)
- +# --------------------
- +# Set option NAME. Presently that only means defining a flag for this option.
- +AC_DEFUN([_AM_SET_OPTION],
- +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
- +
- +# _AM_SET_OPTIONS(OPTIONS)
- +# ------------------------
- +# OPTIONS is a space-separated list of Automake options.
- +AC_DEFUN([_AM_SET_OPTIONS],
- +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
- +
- +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
- +# -------------------------------------------
- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
- +AC_DEFUN([_AM_IF_OPTION],
- +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
- +
- +# Check to make sure that the build environment is sane. -*- Autoconf -*-
- +
- +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
- +# Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 5
- +
- +# AM_SANITY_CHECK
- +# ---------------
- +AC_DEFUN([AM_SANITY_CHECK],
- +[AC_MSG_CHECKING([whether build environment is sane])
- +# Just in case
- +sleep 1
- +echo timestamp > conftest.file
- +# Reject unsafe characters in $srcdir or the absolute working directory
- +# name. Accept space and tab only in the latter.
- +am_lf='
- +'
- +case `pwd` in
- + *[[\\\"\#\$\&\'\`$am_lf]]*)
- + AC_MSG_ERROR([unsafe absolute working directory name]);;
- +esac
- +case $srcdir in
- + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
- + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
- +esac
- +
- +# Do `set' in a subshell so we don't clobber the current shell's
- +# arguments. Must try -L first in case configure is actually a
- +# symlink; some systems play weird games with the mod time of symlinks
- +# (eg FreeBSD returns the mod time of the symlink's containing
- +# directory).
- +if (
- + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- + if test "$[*]" = "X"; then
- + # -L didn't work.
- + set X `ls -t "$srcdir/configure" conftest.file`
- + fi
- + rm -f conftest.file
- + if test "$[*]" != "X $srcdir/configure conftest.file" \
- + && test "$[*]" != "X conftest.file $srcdir/configure"; then
- +
- + # If neither matched, then we have a broken ls. This can happen
- + # if, for instance, CONFIG_SHELL is bash and it inherits a
- + # broken ls alias from the environment. This has actually
- + # happened. Such a system could not be considered "sane".
- + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
- +alias in your environment])
- + fi
- +
- + test "$[2]" = conftest.file
- + )
- +then
- + # Ok.
- + :
- +else
- + AC_MSG_ERROR([newly created file is older than distributed files!
- +Check your system clock])
- +fi
- +AC_MSG_RESULT(yes)])
- +
- +# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 2
- +
- +# AM_SILENT_RULES([DEFAULT])
- +# --------------------------
- +# Enable less verbose build rules; with the default set to DEFAULT
- +# (`yes' being less verbose, `no' or empty being verbose).
- +AC_DEFUN([AM_SILENT_RULES],
- +[AC_ARG_ENABLE([silent-rules],
- +[ --enable-silent-rules less verbose build output (undo: `make V=1')
- + --disable-silent-rules verbose build output (undo: `make V=0')])
- +case $enable_silent_rules in
- +yes) AM_DEFAULT_VERBOSITY=0;;
- +no) AM_DEFAULT_VERBOSITY=1;;
- +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
- +esac
- +dnl
- +dnl A few `make' implementations (e.g., NonStop OS and NextStep)
- +dnl do not support nested variable expansions.
- +dnl See automake bug#9928 and bug#10237.
- +am_make=${MAKE-make}
- +AC_CACHE_CHECK([whether $am_make supports nested variables],
- + [am_cv_make_support_nested_variables],
- + [if AS_ECHO([['TRUE=$(BAR$(V))
- +BAR0=false
- +BAR1=true
- +V=1
- +am__doit:
- + @$(TRUE)
- +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
- + am_cv_make_support_nested_variables=yes
- +else
- + am_cv_make_support_nested_variables=no
- +fi])
- +if test $am_cv_make_support_nested_variables = yes; then
- + dnl Using `$V' instead of `$(V)' breaks IRIX make.
- + AM_V='$(V)'
- + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
- +else
- + AM_V=$AM_DEFAULT_VERBOSITY
- + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
- +fi
- +AC_SUBST([AM_V])dnl
- +AM_SUBST_NOTMAKE([AM_V])dnl
- +AC_SUBST([AM_DEFAULT_V])dnl
- +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
- +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
- +AM_BACKSLASH='\'
- +AC_SUBST([AM_BACKSLASH])dnl
- +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
- +])
- +
- +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 1
- +
- +# AM_PROG_INSTALL_STRIP
- +# ---------------------
- +# One issue with vendor `install' (even GNU) is that you can't
- +# specify the program used to strip binaries. This is especially
- +# annoying in cross-compiling environments, where the build's strip
- +# is unlikely to handle the host's binaries.
- +# Fortunately install-sh will honor a STRIPPROG variable, so we
- +# always use install-sh in `make install-strip', and initialize
- +# STRIPPROG with the value of the STRIP variable (set by the user).
- +AC_DEFUN([AM_PROG_INSTALL_STRIP],
- +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
- +# Installed binaries are usually stripped using `strip' when the user
- +# run `make install-strip'. However `strip' might not be the right
- +# tool to use in cross-compilation environments, therefore Automake
- +# will honor the `STRIP' environment variable to overrule this program.
- +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
- +if test "$cross_compiling" != no; then
- + AC_CHECK_TOOL([STRIP], [strip], :)
- +fi
- +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
- +AC_SUBST([INSTALL_STRIP_PROGRAM])])
- +
- +# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 3
- +
- +# _AM_SUBST_NOTMAKE(VARIABLE)
- +# ---------------------------
- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
- +# This macro is traced by Automake.
- +AC_DEFUN([_AM_SUBST_NOTMAKE])
- +
- +# AM_SUBST_NOTMAKE(VARIABLE)
- +# --------------------------
- +# Public sister of _AM_SUBST_NOTMAKE.
- +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
- +
- +# Check how to create a tarball. -*- Autoconf -*-
- +
- +# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 2
- +
- +# _AM_PROG_TAR(FORMAT)
- +# --------------------
- +# Check how to create a tarball in format FORMAT.
- +# FORMAT should be one of `v7', `ustar', or `pax'.
- +#
- +# Substitute a variable $(am__tar) that is a command
- +# writing to stdout a FORMAT-tarball containing the directory
- +# $tardir.
- +# tardir=directory && $(am__tar) > result.tar
- +#
- +# Substitute a variable $(am__untar) that extract such
- +# a tarball read from stdin.
- +# $(am__untar) < result.tar
- +AC_DEFUN([_AM_PROG_TAR],
- +[# Always define AMTAR for backward compatibility. Yes, it's still used
- +# in the wild :-( We should find a proper way to deprecate it ...
- +AC_SUBST([AMTAR], ['$${TAR-tar}'])
- +m4_if([$1], [v7],
- + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
- + [m4_case([$1], [ustar],, [pax],,
- + [m4_fatal([Unknown tar format])])
- +AC_MSG_CHECKING([how to create a $1 tar archive])
- +# Loop over all known methods to create a tar archive until one works.
- +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
- +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
- +# Do not fold the above two line into one, because Tru64 sh and
- +# Solaris sh will not grok spaces in the rhs of `-'.
- +for _am_tool in $_am_tools
- +do
- + case $_am_tool in
- + gnutar)
- + for _am_tar in tar gnutar gtar;
- + do
- + AM_RUN_LOG([$_am_tar --version]) && break
- + done
- + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- + am__untar="$_am_tar -xf -"
- + ;;
- + plaintar)
- + # Must skip GNU tar: if it does not support --format= it doesn't create
- + # ustar tarball either.
- + (tar --version) >/dev/null 2>&1 && continue
- + am__tar='tar chf - "$$tardir"'
- + am__tar_='tar chf - "$tardir"'
- + am__untar='tar xf -'
- + ;;
- + pax)
- + am__tar='pax -L -x $1 -w "$$tardir"'
- + am__tar_='pax -L -x $1 -w "$tardir"'
- + am__untar='pax -r'
- + ;;
- + cpio)
- + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- + am__untar='cpio -i -H $1 -d'
- + ;;
- + none)
- + am__tar=false
- + am__tar_=false
- + am__untar=false
- + ;;
- + esac
- +
- + # If the value was cached, stop now. We just wanted to have am__tar
- + # and am__untar set.
- + test -n "${am_cv_prog_tar_$1}" && break
- +
- + # tar/untar a dummy directory, and stop if the command works
- + rm -rf conftest.dir
- + mkdir conftest.dir
- + echo GrepMe > conftest.dir/file
- + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- + rm -rf conftest.dir
- + if test -s conftest.tar; then
- + AM_RUN_LOG([$am__untar <conftest.tar])
- + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- + fi
- +done
- +rm -rf conftest.dir
- +
- +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
- +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
- +AC_SUBST([am__tar])
- +AC_SUBST([am__untar])
- +]) # _AM_PROG_TAR
- +
- +m4_include([m4/00gnulib.m4])
- +m4_include([m4/extensions.m4])
- +m4_include([m4/gnulib-common.m4])
- +m4_include([m4/gnulib-comp.m4])
- +m4_include([m4/include_next.m4])
- +m4_include([m4/longlong.m4])
- +m4_include([m4/memchr.m4])
- +m4_include([m4/memmem.m4])
- +m4_include([m4/mmap-anon.m4])
- +m4_include([m4/multiarch.m4])
- +m4_include([m4/onceonly.m4])
- +m4_include([m4/sigaction.m4])
- +m4_include([m4/signal_h.m4])
- +m4_include([m4/signalblocking.m4])
- +m4_include([m4/stddef_h.m4])
- +m4_include([m4/stdint.m4])
- +m4_include([m4/string_h.m4])
- +m4_include([m4/warn-on-use.m4])
- +m4_include([m4/wchar_t.m4])
- --- /dev/null
- +++ cgminer-2.4.1/compile
- @@ -0,0 +1,310 @@
- +#! /bin/sh
- +# Wrapper for compilers which do not understand '-c -o'.
- +
- +scriptversion=2012-01-04.17; # UTC
- +
- +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
- +# Software Foundation, Inc.
- +# Written by Tom Tromey <tromey@cygnus.com>.
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2, or (at your option)
- +# any later version.
- +#
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program. If not, see <http://www.gnu.org/licenses/>.
- +
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +# This file is maintained in Automake, please report
- +# bugs to <bug-automake@gnu.org> or send patches to
- +# <automake-patches@gnu.org>.
- +
- +nl='
- +'
- +
- +# We need space, tab and new line, in precisely that order. Quoting is
- +# there to prevent tools from complaining about whitespace usage.
- +IFS=" "" $nl"
- +
- +file_conv=
- +
- +# func_file_conv build_file lazy
- +# Convert a $build file to $host form and store it in $file
- +# Currently only supports Windows hosts. If the determined conversion
- +# type is listed in (the comma separated) LAZY, no conversion will
- +# take place.
- +func_file_conv ()
- +{
- + file=$1
- + case $file in
- + / | /[!/]*) # absolute file, and not a UNC file
- + if test -z "$file_conv"; then
- + # lazily determine how to convert abs files
- + case `uname -s` in
- + MINGW*)
- + file_conv=mingw
- + ;;
- + CYGWIN*)
- + file_conv=cygwin
- + ;;
- + *)
- + file_conv=wine
- + ;;
- + esac
- + fi
- + case $file_conv/,$2, in
- + *,$file_conv,*)
- + ;;
- + mingw/*)
- + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
- + ;;
- + cygwin/*)
- + file=`cygpath -m "$file" || echo "$file"`
- + ;;
- + wine/*)
- + file=`winepath -w "$file" || echo "$file"`
- + ;;
- + esac
- + ;;
- + esac
- +}
- +
- +# func_cl_wrapper cl arg...
- +# Adjust compile command to suit cl
- +func_cl_wrapper ()
- +{
- + # Assume a capable shell
- + lib_path=
- + shared=:
- + linker_opts=
- + for arg
- + do
- + if test -n "$eat"; then
- + eat=
- + else
- + case $1 in
- + -o)
- + # configure might choose to run compile as 'compile cc -o foo foo.c'.
- + eat=1
- + case $2 in
- + *.o | *.[oO][bB][jJ])
- + func_file_conv "$2"
- + set x "$@" -Fo"$file"
- + shift
- + ;;
- + *)
- + func_file_conv "$2"
- + set x "$@" -Fe"$file"
- + shift
- + ;;
- + esac
- + ;;
- + -I*)
- + func_file_conv "${1#-I}" mingw
- + set x "$@" -I"$file"
- + shift
- + ;;
- + -l*)
- + lib=${1#-l}
- + found=no
- + save_IFS=$IFS
- + IFS=';'
- + for dir in $lib_path $LIB
- + do
- + IFS=$save_IFS
- + if $shared && test -f "$dir/$lib.dll.lib"; then
- + found=yes
- + set x "$@" "$dir/$lib.dll.lib"
- + break
- + fi
- + if test -f "$dir/$lib.lib"; then
- + found=yes
- + set x "$@" "$dir/$lib.lib"
- + break
- + fi
- + done
- + IFS=$save_IFS
- +
- + test "$found" != yes && set x "$@" "$lib.lib"
- + shift
- + ;;
- + -L*)
- + func_file_conv "${1#-L}"
- + if test -z "$lib_path"; then
- + lib_path=$file
- + else
- + lib_path="$lib_path;$file"
- + fi
- + linker_opts="$linker_opts -LIBPATH:$file"
- + ;;
- + -static)
- + shared=false
- + ;;
- + -Wl,*)
- + arg=${1#-Wl,}
- + save_ifs="$IFS"; IFS=','
- + for flag in $arg; do
- + IFS="$save_ifs"
- + linker_opts="$linker_opts $flag"
- + done
- + IFS="$save_ifs"
- + ;;
- + -Xlinker)
- + eat=1
- + linker_opts="$linker_opts $2"
- + ;;
- + -*)
- + set x "$@" "$1"
- + shift
- + ;;
- + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
- + func_file_conv "$1"
- + set x "$@" -Tp"$file"
- + shift
- + ;;
- + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
- + func_file_conv "$1" mingw
- + set x "$@" "$file"
- + shift
- + ;;
- + *)
- + set x "$@" "$1"
- + shift
- + ;;
- + esac
- + fi
- + shift
- + done
- + if test -n "$linker_opts"; then
- + linker_opts="-link$linker_opts"
- + fi
- + exec "$@" $linker_opts
- + exit 1
- +}
- +
- +eat=
- +
- +case $1 in
- + '')
- + echo "$0: No command. Try '$0 --help' for more information." 1>&2
- + exit 1;
- + ;;
- + -h | --h*)
- + cat <<\EOF
- +Usage: compile [--help] [--version] PROGRAM [ARGS]
- +
- +Wrapper for compilers which do not understand '-c -o'.
- +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
- +arguments, and rename the output as expected.
- +
- +If you are trying to build a whole package this is not the
- +right script to run: please start by reading the file 'INSTALL'.
- +
- +Report bugs to <bug-automake@gnu.org>.
- +EOF
- + exit $?
- + ;;
- + -v | --v*)
- + echo "compile $scriptversion"
- + exit $?
- + ;;
- + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
- + func_cl_wrapper "$@" # Doesn't return...
- + ;;
- +esac
- +
- +ofile=
- +cfile=
- +
- +for arg
- +do
- + if test -n "$eat"; then
- + eat=
- + else
- + case $1 in
- + -o)
- + # configure might choose to run compile as 'compile cc -o foo foo.c'.
- + # So we strip '-o arg' only if arg is an object.
- + eat=1
- + case $2 in
- + *.o | *.obj)
- + ofile=$2
- + ;;
- + *)
- + set x "$@" -o "$2"
- + shift
- + ;;
- + esac
- + ;;
- + *.c)
- + cfile=$1
- + set x "$@" "$1"
- + shift
- + ;;
- + *)
- + set x "$@" "$1"
- + shift
- + ;;
- + esac
- + fi
- + shift
- +done
- +
- +if test -z "$ofile" || test -z "$cfile"; then
- + # If no '-o' option was seen then we might have been invoked from a
- + # pattern rule where we don't need one. That is ok -- this is a
- + # normal compilation that the losing compiler can handle. If no
- + # '.c' file was seen then we are probably linking. That is also
- + # ok.
- + exec "$@"
- +fi
- +
- +# Name of file we expect compiler to create.
- +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
- +
- +# Create the lock directory.
- +# Note: use '[/\\:.-]' here to ensure that we don't use the same name
- +# that we are using for the .o file. Also, base the name on the expected
- +# object file name, since that is what matters with a parallel build.
- +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
- +while true; do
- + if mkdir "$lockdir" >/dev/null 2>&1; then
- + break
- + fi
- + sleep 1
- +done
- +# FIXME: race condition here if user kills between mkdir and trap.
- +trap "rmdir '$lockdir'; exit 1" 1 2 15
- +
- +# Run the compile.
- +"$@"
- +ret=$?
- +
- +if test -f "$cofile"; then
- + test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
- +elif test -f "${cofile}bj"; then
- + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
- +fi
- +
- +rmdir "$lockdir"
- +exit $ret
- +
- +# Local Variables:
- +# mode: shell-script
- +# sh-indentation: 2
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "scriptversion="
- +# time-stamp-format: "%:y-%02m-%02d.%02H"
- +# time-stamp-time-zone: "UTC"
- +# time-stamp-end: "; # UTC"
- +# End:
- --- cgminer-2.4.1.orig/miner.h
- +++ cgminer-2.4.1/miner.h
- @@ -57,6 +57,33 @@ void *alloca (size_t);
- #endif
- #endif
-
- +#ifdef WIN32
- + #ifndef timersub
- + #define timersub(a, b, result) \
- + do { \
- + (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
- + (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
- + if ((result)->tv_usec < 0) { \
- + --(result)->tv_sec; \
- + (result)->tv_usec += 1000000; \
- + } \
- + } while (0)
- + #endif
- + #ifndef timeradd
- + # define timeradd(a, b, result) \
- + do { \
- + (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
- + (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
- + if ((result)->tv_usec >= 1000000) \
- + { \
- + ++(result)->tv_sec; \
- + (result)->tv_usec -= 1000000; \
- + } \
- + } while (0)
- + #endif
- +#endif
- +
- +
- #ifdef HAVE_ADL
- #include "ADL_SDK/adl_sdk.h"
- #endif
- @@ -122,6 +149,8 @@ void *alloca (size_t);
- #endif
- #define __maybe_unused __attribute__((unused))
-
- +#define uninitialised_var(x) x = x
- +
- #if defined(__i386__)
- #define WANT_CRYPTOPP_ASM32
- #endif
- @@ -205,6 +234,7 @@ struct device_api {
- void (*reinit_device)(struct cgpu_info*);
- void (*get_statline_before)(char*, struct cgpu_info*);
- void (*get_statline)(char*, struct cgpu_info*);
- + void (*get_api_stats)(char*, struct cgpu_info*, bool);
-
- // Thread-specific functions
- bool (*thread_prepare)(struct thr_info*);
- @@ -252,6 +282,15 @@ enum dev_reason {
- #define REASON_DEV_THERMAL_CUTOFF_STR "Device reached thermal cutoff"
- #define REASON_UNKNOWN_STR "Unknown reason - code bug"
-
- +#define MIN_SEC_UNSET 99999999
- +
- +struct cgminer_stats {
- + uint32_t getwork_calls;
- + struct timeval getwork_wait;
- + struct timeval getwork_wait_max;
- + struct timeval getwork_wait_min;
- +};
- +
- struct cgpu_info {
- int cgminer_id;
- struct device_api *api;
- @@ -324,6 +363,8 @@ struct cgpu_info {
- int dev_nostart_count;
- int dev_over_heat_count; // It's a warning but worth knowing
- int dev_thermal_cutoff_count;
- +
- + struct cgminer_stats cgminer_stats;
- };
-
- extern bool add_cgpu(struct cgpu_info*);
- @@ -604,17 +645,24 @@ struct curl_ent {
- struct timeval tv;
- };
-
- +enum pool_enable {
- + POOL_ENABLED,
- + POOL_DISABLED,
- + POOL_REJECTING,
- +};
- +
- struct pool {
- int pool_no;
- int prio;
- int accepted, rejected;
- int seq_rejects;
- + int solved;
-
- bool submit_fail;
- bool idle;
- bool lagging;
- bool probed;
- - bool enabled;
- + enum pool_enable enabled;
- bool submit_old;
- bool removed;
- bool lp_started;
- @@ -645,6 +693,10 @@ struct pool {
- int curls;
- pthread_cond_t cr_cond;
- struct list_head curlring;
- +
- + time_t last_share_time;
- +
- + struct cgminer_stats cgminer_stats;
- };
-
- struct work {
- --- cgminer-2.4.1.orig/libztex.h
- +++ cgminer-2.4.1/libztex.h
- @@ -44,6 +44,9 @@ struct libztex_fpgastate {
- };
-
- struct libztex_device {
- + pthread_mutex_t mutex;
- + struct libztex_device *root;
- + int fpgaNum;
- bool valid;
- struct libusb_device_descriptor descriptor;
- libusb_device_handle *hndl;
- @@ -75,7 +78,7 @@ struct libztex_device {
- int selectedFpga;
- bool parallelConfigSupport;
-
- - char repr[64];
- + char repr[20];
- };
-
- struct libztex_dev_list {
- @@ -98,6 +101,7 @@ extern int libztex_setFreq (struct libzt
- extern int libztex_sendHashData (struct libztex_device *ztex, unsigned char *sendbuf);
- extern int libztex_readHashData (struct libztex_device *ztex, struct libztex_hash_data nonces[]);
- extern int libztex_resetFpga (struct libztex_device *ztex);
- -extern int libztex_selectFpga(struct libztex_device *ztex, int number);
- +extern int libztex_selectFpga(struct libztex_device *ztex);
- +extern int libztex_numberOfFpgas(struct libztex_device *ztex);
-
- #endif /* __LIBZTEX_H__ */
- --- /dev/null
- +++ cgminer-2.4.1/config.sub
- @@ -0,0 +1,1773 @@
- +#! /bin/sh
- +# Configuration validation subroutine script.
- +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- +# 2011, 2012 Free Software Foundation, Inc.
- +
- +timestamp='2012-02-10'
- +
- +# This file is (in principle) common to ALL GNU software.
- +# The presence of a machine in this file suggests that SOME GNU software
- +# can handle that machine. It does not imply ALL GNU software can.
- +#
- +# This file is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, see <http://www.gnu.org/licenses/>.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +
- +# Please send patches to <config-patches@gnu.org>. Submit a context
- +# diff and a properly formatted GNU ChangeLog entry.
- +#
- +# Configuration subroutine to validate and canonicalize a configuration type.
- +# Supply the specified configuration type as an argument.
- +# If it is invalid, we print an error message on stderr and exit with code 1.
- +# Otherwise, we print the canonical config type on stdout and succeed.
- +
- +# You can get the latest version of this script from:
- +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
- +
- +# This file is supposed to be the same for all GNU packages
- +# and recognize all the CPU types, system types and aliases
- +# that are meaningful with *any* GNU software.
- +# Each package is responsible for reporting which valid configurations
- +# it does not support. The user should be able to distinguish
- +# a failure to support a valid configuration from a meaningless
- +# configuration.
- +
- +# The goal of this file is to map all the various variations of a given
- +# machine specification into a single specification in the form:
- +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
- +# or in some cases, the newer four-part form:
- +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
- +# It is wrong to echo any other type of specification.
- +
- +me=`echo "$0" | sed -e 's,.*/,,'`
- +
- +usage="\
- +Usage: $0 [OPTION] CPU-MFR-OPSYS
- + $0 [OPTION] ALIAS
- +
- +Canonicalize a configuration name.
- +
- +Operation modes:
- + -h, --help print this help, then exit
- + -t, --time-stamp print date of last modification, then exit
- + -v, --version print version number, then exit
- +
- +Report bugs and patches to <config-patches@gnu.org>."
- +
- +version="\
- +GNU config.sub ($timestamp)
- +
- +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
- +Free Software Foundation, Inc.
- +
- +This is free software; see the source for copying conditions. There is NO
- +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
- +
- +help="
- +Try \`$me --help' for more information."
- +
- +# Parse command line
- +while test $# -gt 0 ; do
- + case $1 in
- + --time-stamp | --time* | -t )
- + echo "$timestamp" ; exit ;;
- + --version | -v )
- + echo "$version" ; exit ;;
- + --help | --h* | -h )
- + echo "$usage"; exit ;;
- + -- ) # Stop option processing
- + shift; break ;;
- + - ) # Use stdin as input.
- + break ;;
- + -* )
- + echo "$me: invalid option $1$help"
- + exit 1 ;;
- +
- + *local*)
- + # First pass through any local machine types.
- + echo $1
- + exit ;;
- +
- + * )
- + break ;;
- + esac
- +done
- +
- +case $# in
- + 0) echo "$me: missing argument$help" >&2
- + exit 1;;
- + 1) ;;
- + *) echo "$me: too many arguments$help" >&2
- + exit 1;;
- +esac
- +
- +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
- +# Here we must recognize all the valid KERNEL-OS combinations.
- +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
- +case $maybe_os in
- + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
- + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
- + knetbsd*-gnu* | netbsd*-gnu* | \
- + kopensolaris*-gnu* | \
- + storm-chaos* | os2-emx* | rtmk-nova*)
- + os=-$maybe_os
- + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
- + ;;
- + android-linux)
- + os=-linux-android
- + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
- + ;;
- + *)
- + basic_machine=`echo $1 | sed 's/-[^-]*$//'`
- + if [ $basic_machine != $1 ]
- + then os=`echo $1 | sed 's/.*-/-/'`
- + else os=; fi
- + ;;
- +esac
- +
- +### Let's recognize common machines as not being operating systems so
- +### that things like config.sub decstation-3100 work. We also
- +### recognize some manufacturers as not being operating systems, so we
- +### can provide default operating systems below.
- +case $os in
- + -sun*os*)
- + # Prevent following clause from handling this invalid input.
- + ;;
- + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
- + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
- + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
- + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- + -apple | -axis | -knuth | -cray | -microblaze)
- + os=
- + basic_machine=$1
- + ;;
- + -bluegene*)
- + os=-cnk
- + ;;
- + -sim | -cisco | -oki | -wec | -winbond)
- + os=
- + basic_machine=$1
- + ;;
- + -scout)
- + ;;
- + -wrs)
- + os=-vxworks
- + basic_machine=$1
- + ;;
- + -chorusos*)
- + os=-chorusos
- + basic_machine=$1
- + ;;
- + -chorusrdb)
- + os=-chorusrdb
- + basic_machine=$1
- + ;;
- + -hiux*)
- + os=-hiuxwe2
- + ;;
- + -sco6)
- + os=-sco5v6
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -sco5)
- + os=-sco3.2v5
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -sco4)
- + os=-sco3.2v4
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -sco3.2.[4-9]*)
- + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -sco3.2v[4-9]*)
- + # Don't forget version if it is 3.2v4 or newer.
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -sco5v6*)
- + # Don't forget version if it is 3.2v4 or newer.
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -sco*)
- + os=-sco3.2v2
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -udk*)
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -isc)
- + os=-isc2.2
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -clix*)
- + basic_machine=clipper-intergraph
- + ;;
- + -isc*)
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- + -lynx*)
- + os=-lynxos
- + ;;
- + -ptx*)
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
- + ;;
- + -windowsnt*)
- + os=`echo $os | sed -e 's/windowsnt/winnt/'`
- + ;;
- + -psos*)
- + os=-psos
- + ;;
- + -mint | -mint[0-9]*)
- + basic_machine=m68k-atari
- + os=-mint
- + ;;
- +esac
- +
- +# Decode aliases for certain CPU-COMPANY combinations.
- +case $basic_machine in
- + # Recognize the basic CPU types without company name.
- + # Some are omitted here because they have special meanings below.
- + 1750a | 580 \
- + | a29k \
- + | aarch64 | aarch64_be \
- + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
- + | am33_2.0 \
- + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
- + | be32 | be64 \
- + | bfin \
- + | c4x | clipper \
- + | d10v | d30v | dlx | dsp16xx \
- + | epiphany \
- + | fido | fr30 | frv \
- + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
- + | hexagon \
- + | i370 | i860 | i960 | ia64 \
- + | ip2k | iq2000 \
- + | le32 | le64 \
- + | lm32 \
- + | m32c | m32r | m32rle | m68000 | m68k | m88k \
- + | maxq | mb | microblaze | mcore | mep | metag \
- + | mips | mipsbe | mipseb | mipsel | mipsle \
- + | mips16 \
- + | mips64 | mips64el \
- + | mips64octeon | mips64octeonel \
- + | mips64orion | mips64orionel \
- + | mips64r5900 | mips64r5900el \
- + | mips64vr | mips64vrel \
- + | mips64vr4100 | mips64vr4100el \
- + | mips64vr4300 | mips64vr4300el \
- + | mips64vr5000 | mips64vr5000el \
- + | mips64vr5900 | mips64vr5900el \
- + | mipsisa32 | mipsisa32el \
- + | mipsisa32r2 | mipsisa32r2el \
- + | mipsisa64 | mipsisa64el \
- + | mipsisa64r2 | mipsisa64r2el \
- + | mipsisa64sb1 | mipsisa64sb1el \
- + | mipsisa64sr71k | mipsisa64sr71kel \
- + | mipstx39 | mipstx39el \
- + | mn10200 | mn10300 \
- + | moxie \
- + | mt \
- + | msp430 \
- + | nds32 | nds32le | nds32be \
- + | nios | nios2 \
- + | ns16k | ns32k \
- + | open8 \
- + | or32 \
- + | pdp10 | pdp11 | pj | pjl \
- + | powerpc | powerpc64 | powerpc64le | powerpcle \
- + | pyramid \
- + | rl78 | rx \
- + | score \
- + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
- + | sh64 | sh64le \
- + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
- + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
- + | spu \
- + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
- + | ubicom32 \
- + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
- + | we32k \
- + | x86 | xc16x | xstormy16 | xtensa \
- + | z8k | z80)
- + basic_machine=$basic_machine-unknown
- + ;;
- + c54x)
- + basic_machine=tic54x-unknown
- + ;;
- + c55x)
- + basic_machine=tic55x-unknown
- + ;;
- + c6x)
- + basic_machine=tic6x-unknown
- + ;;
- + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
- + basic_machine=$basic_machine-unknown
- + os=-none
- + ;;
- + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
- + ;;
- + ms1)
- + basic_machine=mt-unknown
- + ;;
- +
- + strongarm | thumb | xscale)
- + basic_machine=arm-unknown
- + ;;
- + xgate)
- + basic_machine=$basic_machine-unknown
- + os=-none
- + ;;
- + xscaleeb)
- + basic_machine=armeb-unknown
- + ;;
- +
- + xscaleel)
- + basic_machine=armel-unknown
- + ;;
- +
- + # We use `pc' rather than `unknown'
- + # because (1) that's what they normally are, and
- + # (2) the word "unknown" tends to confuse beginning users.
- + i*86 | x86_64)
- + basic_machine=$basic_machine-pc
- + ;;
- + # Object if more than one company name word.
- + *-*-*)
- + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- + exit 1
- + ;;
- + # Recognize the basic CPU types with company name.
- + 580-* \
- + | a29k-* \
- + | aarch64-* | aarch64_be-* \
- + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
- + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
- + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
- + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
- + | avr-* | avr32-* \
- + | be32-* | be64-* \
- + | bfin-* | bs2000-* \
- + | c[123]* | c30-* | [cjt]90-* | c4x-* \
- + | clipper-* | craynv-* | cydra-* \
- + | d10v-* | d30v-* | dlx-* \
- + | elxsi-* \
- + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
- + | h8300-* | h8500-* \
- + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
- + | hexagon-* \
- + | i*86-* | i860-* | i960-* | ia64-* \
- + | ip2k-* | iq2000-* \
- + | le32-* | le64-* \
- + | lm32-* \
- + | m32c-* | m32r-* | m32rle-* \
- + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
- + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
- + | mips16-* \
- + | mips64-* | mips64el-* \
- + | mips64octeon-* | mips64octeonel-* \
- + | mips64orion-* | mips64orionel-* \
- + | mips64r5900-* | mips64r5900el-* \
- + | mips64vr-* | mips64vrel-* \
- + | mips64vr4100-* | mips64vr4100el-* \
- + | mips64vr4300-* | mips64vr4300el-* \
- + | mips64vr5000-* | mips64vr5000el-* \
- + | mips64vr5900-* | mips64vr5900el-* \
- + | mipsisa32-* | mipsisa32el-* \
- + | mipsisa32r2-* | mipsisa32r2el-* \
- + | mipsisa64-* | mipsisa64el-* \
- + | mipsisa64r2-* | mipsisa64r2el-* \
- + | mipsisa64sb1-* | mipsisa64sb1el-* \
- + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
- + | mipstx39-* | mipstx39el-* \
- + | mmix-* \
- + | mt-* \
- + | msp430-* \
- + | nds32-* | nds32le-* | nds32be-* \
- + | nios-* | nios2-* \
- + | none-* | np1-* | ns16k-* | ns32k-* \
- + | open8-* \
- + | orion-* \
- + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
- + | pyramid-* \
- + | rl78-* | romp-* | rs6000-* | rx-* \
- + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
- + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
- + | sparclite-* \
- + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
- + | tahoe-* \
- + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
- + | tile*-* \
- + | tron-* \
- + | ubicom32-* \
- + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
- + | vax-* \
- + | we32k-* \
- + | x86-* | x86_64-* | xc16x-* | xps100-* \
- + | xstormy16-* | xtensa*-* \
- + | ymp-* \
- + | z8k-* | z80-*)
- + ;;
- + # Recognize the basic CPU types without company name, with glob match.
- + xtensa*)
- + basic_machine=$basic_machine-unknown
- + ;;
- + # Recognize the various machine names and aliases which stand
- + # for a CPU type and a company and sometimes even an OS.
- + 386bsd)
- + basic_machine=i386-unknown
- + os=-bsd
- + ;;
- + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
- + basic_machine=m68000-att
- + ;;
- + 3b*)
- + basic_machine=we32k-att
- + ;;
- + a29khif)
- + basic_machine=a29k-amd
- + os=-udi
- + ;;
- + abacus)
- + basic_machine=abacus-unknown
- + ;;
- + adobe68k)
- + basic_machine=m68010-adobe
- + os=-scout
- + ;;
- + alliant | fx80)
- + basic_machine=fx80-alliant
- + ;;
- + altos | altos3068)
- + basic_machine=m68k-altos
- + ;;
- + am29k)
- + basic_machine=a29k-none
- + os=-bsd
- + ;;
- + amd64)
- + basic_machine=x86_64-pc
- + ;;
- + amd64-*)
- + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + amdahl)
- + basic_machine=580-amdahl
- + os=-sysv
- + ;;
- + amiga | amiga-*)
- + basic_machine=m68k-unknown
- + ;;
- + amigaos | amigados)
- + basic_machine=m68k-unknown
- + os=-amigaos
- + ;;
- + amigaunix | amix)
- + basic_machine=m68k-unknown
- + os=-sysv4
- + ;;
- + apollo68)
- + basic_machine=m68k-apollo
- + os=-sysv
- + ;;
- + apollo68bsd)
- + basic_machine=m68k-apollo
- + os=-bsd
- + ;;
- + aros)
- + basic_machine=i386-pc
- + os=-aros
- + ;;
- + aux)
- + basic_machine=m68k-apple
- + os=-aux
- + ;;
- + balance)
- + basic_machine=ns32k-sequent
- + os=-dynix
- + ;;
- + blackfin)
- + basic_machine=bfin-unknown
- + os=-linux
- + ;;
- + blackfin-*)
- + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
- + os=-linux
- + ;;
- + bluegene*)
- + basic_machine=powerpc-ibm
- + os=-cnk
- + ;;
- + c54x-*)
- + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + c55x-*)
- + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + c6x-*)
- + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + c90)
- + basic_machine=c90-cray
- + os=-unicos
- + ;;
- + cegcc)
- + basic_machine=arm-unknown
- + os=-cegcc
- + ;;
- + convex-c1)
- + basic_machine=c1-convex
- + os=-bsd
- + ;;
- + convex-c2)
- + basic_machine=c2-convex
- + os=-bsd
- + ;;
- + convex-c32)
- + basic_machine=c32-convex
- + os=-bsd
- + ;;
- + convex-c34)
- + basic_machine=c34-convex
- + os=-bsd
- + ;;
- + convex-c38)
- + basic_machine=c38-convex
- + os=-bsd
- + ;;
- + cray | j90)
- + basic_machine=j90-cray
- + os=-unicos
- + ;;
- + craynv)
- + basic_machine=craynv-cray
- + os=-unicosmp
- + ;;
- + cr16 | cr16-*)
- + basic_machine=cr16-unknown
- + os=-elf
- + ;;
- + crds | unos)
- + basic_machine=m68k-crds
- + ;;
- + crisv32 | crisv32-* | etraxfs*)
- + basic_machine=crisv32-axis
- + ;;
- + cris | cris-* | etrax*)
- + basic_machine=cris-axis
- + ;;
- + crx)
- + basic_machine=crx-unknown
- + os=-elf
- + ;;
- + da30 | da30-*)
- + basic_machine=m68k-da30
- + ;;
- + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
- + basic_machine=mips-dec
- + ;;
- + decsystem10* | dec10*)
- + basic_machine=pdp10-dec
- + os=-tops10
- + ;;
- + decsystem20* | dec20*)
- + basic_machine=pdp10-dec
- + os=-tops20
- + ;;
- + delta | 3300 | motorola-3300 | motorola-delta \
- + | 3300-motorola | delta-motorola)
- + basic_machine=m68k-motorola
- + ;;
- + delta88)
- + basic_machine=m88k-motorola
- + os=-sysv3
- + ;;
- + dicos)
- + basic_machine=i686-pc
- + os=-dicos
- + ;;
- + djgpp)
- + basic_machine=i586-pc
- + os=-msdosdjgpp
- + ;;
- + dpx20 | dpx20-*)
- + basic_machine=rs6000-bull
- + os=-bosx
- + ;;
- + dpx2* | dpx2*-bull)
- + basic_machine=m68k-bull
- + os=-sysv3
- + ;;
- + ebmon29k)
- + basic_machine=a29k-amd
- + os=-ebmon
- + ;;
- + elxsi)
- + basic_machine=elxsi-elxsi
- + os=-bsd
- + ;;
- + encore | umax | mmax)
- + basic_machine=ns32k-encore
- + ;;
- + es1800 | OSE68k | ose68k | ose | OSE)
- + basic_machine=m68k-ericsson
- + os=-ose
- + ;;
- + fx2800)
- + basic_machine=i860-alliant
- + ;;
- + genix)
- + basic_machine=ns32k-ns
- + ;;
- + gmicro)
- + basic_machine=tron-gmicro
- + os=-sysv
- + ;;
- + go32)
- + basic_machine=i386-pc
- + os=-go32
- + ;;
- + h3050r* | hiux*)
- + basic_machine=hppa1.1-hitachi
- + os=-hiuxwe2
- + ;;
- + h8300hms)
- + basic_machine=h8300-hitachi
- + os=-hms
- + ;;
- + h8300xray)
- + basic_machine=h8300-hitachi
- + os=-xray
- + ;;
- + h8500hms)
- + basic_machine=h8500-hitachi
- + os=-hms
- + ;;
- + harris)
- + basic_machine=m88k-harris
- + os=-sysv3
- + ;;
- + hp300-*)
- + basic_machine=m68k-hp
- + ;;
- + hp300bsd)
- + basic_machine=m68k-hp
- + os=-bsd
- + ;;
- + hp300hpux)
- + basic_machine=m68k-hp
- + os=-hpux
- + ;;
- + hp3k9[0-9][0-9] | hp9[0-9][0-9])
- + basic_machine=hppa1.0-hp
- + ;;
- + hp9k2[0-9][0-9] | hp9k31[0-9])
- + basic_machine=m68000-hp
- + ;;
- + hp9k3[2-9][0-9])
- + basic_machine=m68k-hp
- + ;;
- + hp9k6[0-9][0-9] | hp6[0-9][0-9])
- + basic_machine=hppa1.0-hp
- + ;;
- + hp9k7[0-79][0-9] | hp7[0-79][0-9])
- + basic_machine=hppa1.1-hp
- + ;;
- + hp9k78[0-9] | hp78[0-9])
- + # FIXME: really hppa2.0-hp
- + basic_machine=hppa1.1-hp
- + ;;
- + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
- + # FIXME: really hppa2.0-hp
- + basic_machine=hppa1.1-hp
- + ;;
- + hp9k8[0-9][13679] | hp8[0-9][13679])
- + basic_machine=hppa1.1-hp
- + ;;
- + hp9k8[0-9][0-9] | hp8[0-9][0-9])
- + basic_machine=hppa1.0-hp
- + ;;
- + hppa-next)
- + os=-nextstep3
- + ;;
- + hppaosf)
- + basic_machine=hppa1.1-hp
- + os=-osf
- + ;;
- + hppro)
- + basic_machine=hppa1.1-hp
- + os=-proelf
- + ;;
- + i370-ibm* | ibm*)
- + basic_machine=i370-ibm
- + ;;
- + i*86v32)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- + os=-sysv32
- + ;;
- + i*86v4*)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- + os=-sysv4
- + ;;
- + i*86v)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- + os=-sysv
- + ;;
- + i*86sol2)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- + os=-solaris2
- + ;;
- + i386mach)
- + basic_machine=i386-mach
- + os=-mach
- + ;;
- + i386-vsta | vsta)
- + basic_machine=i386-unknown
- + os=-vsta
- + ;;
- + iris | iris4d)
- + basic_machine=mips-sgi
- + case $os in
- + -irix*)
- + ;;
- + *)
- + os=-irix4
- + ;;
- + esac
- + ;;
- + isi68 | isi)
- + basic_machine=m68k-isi
- + os=-sysv
- + ;;
- + m68knommu)
- + basic_machine=m68k-unknown
- + os=-linux
- + ;;
- + m68knommu-*)
- + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
- + os=-linux
- + ;;
- + m88k-omron*)
- + basic_machine=m88k-omron
- + ;;
- + magnum | m3230)
- + basic_machine=mips-mips
- + os=-sysv
- + ;;
- + merlin)
- + basic_machine=ns32k-utek
- + os=-sysv
- + ;;
- + microblaze)
- + basic_machine=microblaze-xilinx
- + ;;
- + mingw32)
- + basic_machine=i386-pc
- + os=-mingw32
- + ;;
- + mingw32ce)
- + basic_machine=arm-unknown
- + os=-mingw32ce
- + ;;
- + miniframe)
- + basic_machine=m68000-convergent
- + ;;
- + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
- + basic_machine=m68k-atari
- + os=-mint
- + ;;
- + mips3*-*)
- + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
- + ;;
- + mips3*)
- + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
- + ;;
- + monitor)
- + basic_machine=m68k-rom68k
- + os=-coff
- + ;;
- + morphos)
- + basic_machine=powerpc-unknown
- + os=-morphos
- + ;;
- + msdos)
- + basic_machine=i386-pc
- + os=-msdos
- + ;;
- + ms1-*)
- + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
- + ;;
- + msys)
- + basic_machine=i386-pc
- + os=-msys
- + ;;
- + mvs)
- + basic_machine=i370-ibm
- + os=-mvs
- + ;;
- + nacl)
- + basic_machine=le32-unknown
- + os=-nacl
- + ;;
- + ncr3000)
- + basic_machine=i486-ncr
- + os=-sysv4
- + ;;
- + netbsd386)
- + basic_machine=i386-unknown
- + os=-netbsd
- + ;;
- + netwinder)
- + basic_machine=armv4l-rebel
- + os=-linux
- + ;;
- + news | news700 | news800 | news900)
- + basic_machine=m68k-sony
- + os=-newsos
- + ;;
- + news1000)
- + basic_machine=m68030-sony
- + os=-newsos
- + ;;
- + news-3600 | risc-news)
- + basic_machine=mips-sony
- + os=-newsos
- + ;;
- + necv70)
- + basic_machine=v70-nec
- + os=-sysv
- + ;;
- + next | m*-next )
- + basic_machine=m68k-next
- + case $os in
- + -nextstep* )
- + ;;
- + -ns2*)
- + os=-nextstep2
- + ;;
- + *)
- + os=-nextstep3
- + ;;
- + esac
- + ;;
- + nh3000)
- + basic_machine=m68k-harris
- + os=-cxux
- + ;;
- + nh[45]000)
- + basic_machine=m88k-harris
- + os=-cxux
- + ;;
- + nindy960)
- + basic_machine=i960-intel
- + os=-nindy
- + ;;
- + mon960)
- + basic_machine=i960-intel
- + os=-mon960
- + ;;
- + nonstopux)
- + basic_machine=mips-compaq
- + os=-nonstopux
- + ;;
- + np1)
- + basic_machine=np1-gould
- + ;;
- + neo-tandem)
- + basic_machine=neo-tandem
- + ;;
- + nse-tandem)
- + basic_machine=nse-tandem
- + ;;
- + nsr-tandem)
- + basic_machine=nsr-tandem
- + ;;
- + op50n-* | op60c-*)
- + basic_machine=hppa1.1-oki
- + os=-proelf
- + ;;
- + openrisc | openrisc-*)
- + basic_machine=or32-unknown
- + ;;
- + os400)
- + basic_machine=powerpc-ibm
- + os=-os400
- + ;;
- + OSE68000 | ose68000)
- + basic_machine=m68000-ericsson
- + os=-ose
- + ;;
- + os68k)
- + basic_machine=m68k-none
- + os=-os68k
- + ;;
- + pa-hitachi)
- + basic_machine=hppa1.1-hitachi
- + os=-hiuxwe2
- + ;;
- + paragon)
- + basic_machine=i860-intel
- + os=-osf
- + ;;
- + parisc)
- + basic_machine=hppa-unknown
- + os=-linux
- + ;;
- + parisc-*)
- + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
- + os=-linux
- + ;;
- + pbd)
- + basic_machine=sparc-tti
- + ;;
- + pbb)
- + basic_machine=m68k-tti
- + ;;
- + pc532 | pc532-*)
- + basic_machine=ns32k-pc532
- + ;;
- + pc98)
- + basic_machine=i386-pc
- + ;;
- + pc98-*)
- + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + pentium | p5 | k5 | k6 | nexgen | viac3)
- + basic_machine=i586-pc
- + ;;
- + pentiumpro | p6 | 6x86 | athlon | athlon_*)
- + basic_machine=i686-pc
- + ;;
- + pentiumii | pentium2 | pentiumiii | pentium3)
- + basic_machine=i686-pc
- + ;;
- + pentium4)
- + basic_machine=i786-pc
- + ;;
- + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
- + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + pentiumpro-* | p6-* | 6x86-* | athlon-*)
- + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
- + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + pentium4-*)
- + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + pn)
- + basic_machine=pn-gould
- + ;;
- + power) basic_machine=power-ibm
- + ;;
- + ppc | ppcbe) basic_machine=powerpc-unknown
- + ;;
- + ppc-* | ppcbe-*)
- + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + ppcle | powerpclittle | ppc-le | powerpc-little)
- + basic_machine=powerpcle-unknown
- + ;;
- + ppcle-* | powerpclittle-*)
- + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + ppc64) basic_machine=powerpc64-unknown
- + ;;
- + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
- + basic_machine=powerpc64le-unknown
- + ;;
- + ppc64le-* | powerpc64little-*)
- + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + ps2)
- + basic_machine=i386-ibm
- + ;;
- + pw32)
- + basic_machine=i586-unknown
- + os=-pw32
- + ;;
- + rdos)
- + basic_machine=i386-pc
- + os=-rdos
- + ;;
- + rom68k)
- + basic_machine=m68k-rom68k
- + os=-coff
- + ;;
- + rm[46]00)
- + basic_machine=mips-siemens
- + ;;
- + rtpc | rtpc-*)
- + basic_machine=romp-ibm
- + ;;
- + s390 | s390-*)
- + basic_machine=s390-ibm
- + ;;
- + s390x | s390x-*)
- + basic_machine=s390x-ibm
- + ;;
- + sa29200)
- + basic_machine=a29k-amd
- + os=-udi
- + ;;
- + sb1)
- + basic_machine=mipsisa64sb1-unknown
- + ;;
- + sb1el)
- + basic_machine=mipsisa64sb1el-unknown
- + ;;
- + sde)
- + basic_machine=mipsisa32-sde
- + os=-elf
- + ;;
- + sei)
- + basic_machine=mips-sei
- + os=-seiux
- + ;;
- + sequent)
- + basic_machine=i386-sequent
- + ;;
- + sh)
- + basic_machine=sh-hitachi
- + os=-hms
- + ;;
- + sh5el)
- + basic_machine=sh5le-unknown
- + ;;
- + sh64)
- + basic_machine=sh64-unknown
- + ;;
- + sparclite-wrs | simso-wrs)
- + basic_machine=sparclite-wrs
- + os=-vxworks
- + ;;
- + sps7)
- + basic_machine=m68k-bull
- + os=-sysv2
- + ;;
- + spur)
- + basic_machine=spur-unknown
- + ;;
- + st2000)
- + basic_machine=m68k-tandem
- + ;;
- + stratus)
- + basic_machine=i860-stratus
- + os=-sysv4
- + ;;
- + strongarm-* | thumb-*)
- + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + sun2)
- + basic_machine=m68000-sun
- + ;;
- + sun2os3)
- + basic_machine=m68000-sun
- + os=-sunos3
- + ;;
- + sun2os4)
- + basic_machine=m68000-sun
- + os=-sunos4
- + ;;
- + sun3os3)
- + basic_machine=m68k-sun
- + os=-sunos3
- + ;;
- + sun3os4)
- + basic_machine=m68k-sun
- + os=-sunos4
- + ;;
- + sun4os3)
- + basic_machine=sparc-sun
- + os=-sunos3
- + ;;
- + sun4os4)
- + basic_machine=sparc-sun
- + os=-sunos4
- + ;;
- + sun4sol2)
- + basic_machine=sparc-sun
- + os=-solaris2
- + ;;
- + sun3 | sun3-*)
- + basic_machine=m68k-sun
- + ;;
- + sun4)
- + basic_machine=sparc-sun
- + ;;
- + sun386 | sun386i | roadrunner)
- + basic_machine=i386-sun
- + ;;
- + sv1)
- + basic_machine=sv1-cray
- + os=-unicos
- + ;;
- + symmetry)
- + basic_machine=i386-sequent
- + os=-dynix
- + ;;
- + t3e)
- + basic_machine=alphaev5-cray
- + os=-unicos
- + ;;
- + t90)
- + basic_machine=t90-cray
- + os=-unicos
- + ;;
- + tile*)
- + basic_machine=$basic_machine-unknown
- + os=-linux-gnu
- + ;;
- + tx39)
- + basic_machine=mipstx39-unknown
- + ;;
- + tx39el)
- + basic_machine=mipstx39el-unknown
- + ;;
- + toad1)
- + basic_machine=pdp10-xkl
- + os=-tops20
- + ;;
- + tower | tower-32)
- + basic_machine=m68k-ncr
- + ;;
- + tpf)
- + basic_machine=s390x-ibm
- + os=-tpf
- + ;;
- + udi29k)
- + basic_machine=a29k-amd
- + os=-udi
- + ;;
- + ultra3)
- + basic_machine=a29k-nyu
- + os=-sym1
- + ;;
- + v810 | necv810)
- + basic_machine=v810-nec
- + os=-none
- + ;;
- + vaxv)
- + basic_machine=vax-dec
- + os=-sysv
- + ;;
- + vms)
- + basic_machine=vax-dec
- + os=-vms
- + ;;
- + vpp*|vx|vx-*)
- + basic_machine=f301-fujitsu
- + ;;
- + vxworks960)
- + basic_machine=i960-wrs
- + os=-vxworks
- + ;;
- + vxworks68)
- + basic_machine=m68k-wrs
- + os=-vxworks
- + ;;
- + vxworks29k)
- + basic_machine=a29k-wrs
- + os=-vxworks
- + ;;
- + w65*)
- + basic_machine=w65-wdc
- + os=-none
- + ;;
- + w89k-*)
- + basic_machine=hppa1.1-winbond
- + os=-proelf
- + ;;
- + xbox)
- + basic_machine=i686-pc
- + os=-mingw32
- + ;;
- + xps | xps100)
- + basic_machine=xps100-honeywell
- + ;;
- + xscale-* | xscalee[bl]-*)
- + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
- + ;;
- + ymp)
- + basic_machine=ymp-cray
- + os=-unicos
- + ;;
- + z8k-*-coff)
- + basic_machine=z8k-unknown
- + os=-sim
- + ;;
- + z80-*-coff)
- + basic_machine=z80-unknown
- + os=-sim
- + ;;
- + none)
- + basic_machine=none-none
- + os=-none
- + ;;
- +
- +# Here we handle the default manufacturer of certain CPU types. It is in
- +# some cases the only manufacturer, in others, it is the most popular.
- + w89k)
- + basic_machine=hppa1.1-winbond
- + ;;
- + op50n)
- + basic_machine=hppa1.1-oki
- + ;;
- + op60c)
- + basic_machine=hppa1.1-oki
- + ;;
- + romp)
- + basic_machine=romp-ibm
- + ;;
- + mmix)
- + basic_machine=mmix-knuth
- + ;;
- + rs6000)
- + basic_machine=rs6000-ibm
- + ;;
- + vax)
- + basic_machine=vax-dec
- + ;;
- + pdp10)
- + # there are many clones, so DEC is not a safe bet
- + basic_machine=pdp10-unknown
- + ;;
- + pdp11)
- + basic_machine=pdp11-dec
- + ;;
- + we32k)
- + basic_machine=we32k-att
- + ;;
- + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
- + basic_machine=sh-unknown
- + ;;
- + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
- + basic_machine=sparc-sun
- + ;;
- + cydra)
- + basic_machine=cydra-cydrome
- + ;;
- + orion)
- + basic_machine=orion-highlevel
- + ;;
- + orion105)
- + basic_machine=clipper-highlevel
- + ;;
- + mac | mpw | mac-mpw)
- + basic_machine=m68k-apple
- + ;;
- + pmac | pmac-mpw)
- + basic_machine=powerpc-apple
- + ;;
- + *-unknown)
- + # Make sure to match an already-canonicalized machine name.
- + ;;
- + *)
- + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- + exit 1
- + ;;
- +esac
- +
- +# Here we canonicalize certain aliases for manufacturers.
- +case $basic_machine in
- + *-digital*)
- + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
- + ;;
- + *-commodore*)
- + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
- + ;;
- + *)
- + ;;
- +esac
- +
- +# Decode manufacturer-specific aliases for certain operating systems.
- +
- +if [ x"$os" != x"" ]
- +then
- +case $os in
- + # First match some system type aliases
- + # that might get confused with valid system types.
- + # -solaris* is a basic system type, with this one exception.
- + -auroraux)
- + os=-auroraux
- + ;;
- + -solaris1 | -solaris1.*)
- + os=`echo $os | sed -e 's|solaris1|sunos4|'`
- + ;;
- + -solaris)
- + os=-solaris2
- + ;;
- + -svr4*)
- + os=-sysv4
- + ;;
- + -unixware*)
- + os=-sysv4.2uw
- + ;;
- + -gnu/linux*)
- + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
- + ;;
- + # First accept the basic system types.
- + # The portable systems comes first.
- + # Each alternative MUST END IN A *, to match a version number.
- + # -sysv* is not here because it comes later, after sysvr4.
- + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- + | -sym* | -kopensolaris* \
- + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- + | -aos* | -aros* \
- + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
- + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
- + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
- + | -openbsd* | -solidbsd* \
- + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
- + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
- + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
- + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- + | -chorusos* | -chorusrdb* | -cegcc* \
- + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- + | -mingw32* | -linux-gnu* | -linux-android* \
- + | -linux-newlib* | -linux-uclibc* \
- + | -uxpv* | -beos* | -mpeix* | -udk* \
- + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
- + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
- + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
- + # Remember, each alternative MUST END IN *, to match a version number.
- + ;;
- + -qnx*)
- + case $basic_machine in
- + x86-* | i*86-*)
- + ;;
- + *)
- + os=-nto$os
- + ;;
- + esac
- + ;;
- + -nto-qnx*)
- + ;;
- + -nto*)
- + os=`echo $os | sed -e 's|nto|nto-qnx|'`
- + ;;
- + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
- + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
- + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
- + ;;
- + -mac*)
- + os=`echo $os | sed -e 's|mac|macos|'`
- + ;;
- + -linux-dietlibc)
- + os=-linux-dietlibc
- + ;;
- + -linux*)
- + os=`echo $os | sed -e 's|linux|linux-gnu|'`
- + ;;
- + -sunos5*)
- + os=`echo $os | sed -e 's|sunos5|solaris2|'`
- + ;;
- + -sunos6*)
- + os=`echo $os | sed -e 's|sunos6|solaris3|'`
- + ;;
- + -opened*)
- + os=-openedition
- + ;;
- + -os400*)
- + os=-os400
- + ;;
- + -wince*)
- + os=-wince
- + ;;
- + -osfrose*)
- + os=-osfrose
- + ;;
- + -osf*)
- + os=-osf
- + ;;
- + -utek*)
- + os=-bsd
- + ;;
- + -dynix*)
- + os=-bsd
- + ;;
- + -acis*)
- + os=-aos
- + ;;
- + -atheos*)
- + os=-atheos
- + ;;
- + -syllable*)
- + os=-syllable
- + ;;
- + -386bsd)
- + os=-bsd
- + ;;
- + -ctix* | -uts*)
- + os=-sysv
- + ;;
- + -nova*)
- + os=-rtmk-nova
- + ;;
- + -ns2 )
- + os=-nextstep2
- + ;;
- + -nsk*)
- + os=-nsk
- + ;;
- + # Preserve the version number of sinix5.
- + -sinix5.*)
- + os=`echo $os | sed -e 's|sinix|sysv|'`
- + ;;
- + -sinix*)
- + os=-sysv4
- + ;;
- + -tpf*)
- + os=-tpf
- + ;;
- + -triton*)
- + os=-sysv3
- + ;;
- + -oss*)
- + os=-sysv3
- + ;;
- + -svr4)
- + os=-sysv4
- + ;;
- + -svr3)
- + os=-sysv3
- + ;;
- + -sysvr4)
- + os=-sysv4
- + ;;
- + # This must come after -sysvr4.
- + -sysv*)
- + ;;
- + -ose*)
- + os=-ose
- + ;;
- + -es1800*)
- + os=-ose
- + ;;
- + -xenix)
- + os=-xenix
- + ;;
- + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- + os=-mint
- + ;;
- + -aros*)
- + os=-aros
- + ;;
- + -kaos*)
- + os=-kaos
- + ;;
- + -zvmoe)
- + os=-zvmoe
- + ;;
- + -dicos*)
- + os=-dicos
- + ;;
- + -nacl*)
- + ;;
- + -none)
- + ;;
- + *)
- + # Get rid of the `-' at the beginning of $os.
- + os=`echo $os | sed 's/[^-]*-//'`
- + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
- + exit 1
- + ;;
- +esac
- +else
- +
- +# Here we handle the default operating systems that come with various machines.
- +# The value should be what the vendor currently ships out the door with their
- +# machine or put another way, the most popular os provided with the machine.
- +
- +# Note that if you're going to try to match "-MANUFACTURER" here (say,
- +# "-sun"), then you have to tell the case statement up towards the top
- +# that MANUFACTURER isn't an operating system. Otherwise, code above
- +# will signal an error saying that MANUFACTURER isn't an operating
- +# system, and we'll never get to this point.
- +
- +case $basic_machine in
- + score-*)
- + os=-elf
- + ;;
- + spu-*)
- + os=-elf
- + ;;
- + *-acorn)
- + os=-riscix1.2
- + ;;
- + arm*-rebel)
- + os=-linux
- + ;;
- + arm*-semi)
- + os=-aout
- + ;;
- + c4x-* | tic4x-*)
- + os=-coff
- + ;;
- + tic54x-*)
- + os=-coff
- + ;;
- + tic55x-*)
- + os=-coff
- + ;;
- + tic6x-*)
- + os=-coff
- + ;;
- + # This must come before the *-dec entry.
- + pdp10-*)
- + os=-tops20
- + ;;
- + pdp11-*)
- + os=-none
- + ;;
- + *-dec | vax-*)
- + os=-ultrix4.2
- + ;;
- + m68*-apollo)
- + os=-domain
- + ;;
- + i386-sun)
- + os=-sunos4.0.2
- + ;;
- + m68000-sun)
- + os=-sunos3
- + ;;
- + m68*-cisco)
- + os=-aout
- + ;;
- + mep-*)
- + os=-elf
- + ;;
- + mips*-cisco)
- + os=-elf
- + ;;
- + mips*-*)
- + os=-elf
- + ;;
- + or32-*)
- + os=-coff
- + ;;
- + *-tti) # must be before sparc entry or we get the wrong os.
- + os=-sysv3
- + ;;
- + sparc-* | *-sun)
- + os=-sunos4.1.1
- + ;;
- + *-be)
- + os=-beos
- + ;;
- + *-haiku)
- + os=-haiku
- + ;;
- + *-ibm)
- + os=-aix
- + ;;
- + *-knuth)
- + os=-mmixware
- + ;;
- + *-wec)
- + os=-proelf
- + ;;
- + *-winbond)
- + os=-proelf
- + ;;
- + *-oki)
- + os=-proelf
- + ;;
- + *-hp)
- + os=-hpux
- + ;;
- + *-hitachi)
- + os=-hiux
- + ;;
- + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
- + os=-sysv
- + ;;
- + *-cbm)
- + os=-amigaos
- + ;;
- + *-dg)
- + os=-dgux
- + ;;
- + *-dolphin)
- + os=-sysv3
- + ;;
- + m68k-ccur)
- + os=-rtu
- + ;;
- + m88k-omron*)
- + os=-luna
- + ;;
- + *-next )
- + os=-nextstep
- + ;;
- + *-sequent)
- + os=-ptx
- + ;;
- + *-crds)
- + os=-unos
- + ;;
- + *-ns)
- + os=-genix
- + ;;
- + i370-*)
- + os=-mvs
- + ;;
- + *-next)
- + os=-nextstep3
- + ;;
- + *-gould)
- + os=-sysv
- + ;;
- + *-highlevel)
- + os=-bsd
- + ;;
- + *-encore)
- + os=-bsd
- + ;;
- + *-sgi)
- + os=-irix
- + ;;
- + *-siemens)
- + os=-sysv4
- + ;;
- + *-masscomp)
- + os=-rtu
- + ;;
- + f30[01]-fujitsu | f700-fujitsu)
- + os=-uxpv
- + ;;
- + *-rom68k)
- + os=-coff
- + ;;
- + *-*bug)
- + os=-coff
- + ;;
- + *-apple)
- + os=-macos
- + ;;
- + *-atari*)
- + os=-mint
- + ;;
- + *)
- + os=-none
- + ;;
- +esac
- +fi
- +
- +# Here we handle the case where we know the os, and the CPU type, but not the
- +# manufacturer. We pick the logical manufacturer.
- +vendor=unknown
- +case $basic_machine in
- + *-unknown)
- + case $os in
- + -riscix*)
- + vendor=acorn
- + ;;
- + -sunos*)
- + vendor=sun
- + ;;
- + -cnk*|-aix*)
- + vendor=ibm
- + ;;
- + -beos*)
- + vendor=be
- + ;;
- + -hpux*)
- + vendor=hp
- + ;;
- + -mpeix*)
- + vendor=hp
- + ;;
- + -hiux*)
- + vendor=hitachi
- + ;;
- + -unos*)
- + vendor=crds
- + ;;
- + -dgux*)
- + vendor=dg
- + ;;
- + -luna*)
- + vendor=omron
- + ;;
- + -genix*)
- + vendor=ns
- + ;;
- + -mvs* | -opened*)
- + vendor=ibm
- + ;;
- + -os400*)
- + vendor=ibm
- + ;;
- + -ptx*)
- + vendor=sequent
- + ;;
- + -tpf*)
- + vendor=ibm
- + ;;
- + -vxsim* | -vxworks* | -windiss*)
- + vendor=wrs
- + ;;
- + -aux*)
- + vendor=apple
- + ;;
- + -hms*)
- + vendor=hitachi
- + ;;
- + -mpw* | -macos*)
- + vendor=apple
- + ;;
- + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- + vendor=atari
- + ;;
- + -vos*)
- + vendor=stratus
- + ;;
- + esac
- + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
- + ;;
- +esac
- +
- +echo $basic_machine$os
- +exit
- +
- +# Local variables:
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "timestamp='"
- +# time-stamp-format: "%:y-%02m-%02d"
- +# time-stamp-end: "'"
- +# End:
- --- cgminer-2.4.1.orig/driver-ztex.c
- +++ cgminer-2.4.1/driver-ztex.c
- @@ -30,17 +30,37 @@
-
- #define GOLDEN_BACKLOG 5
-
- -struct device_api ztex_api, ztex_hotplug_api;
- +struct device_api ztex_api;
-
- // Forward declarations
- static void ztex_disable(struct thr_info* thr);
- static bool ztex_prepare(struct thr_info *thr);
-
- +static void ztex_selectFpga(struct libztex_device* ztex)
- +{
- + if (ztex->root->numberOfFpgas > 1) {
- + if (ztex->root->selectedFpga != ztex->fpgaNum)
- + mutex_lock(&ztex->root->mutex);
- + libztex_selectFpga(ztex);
- + }
- +}
- +
- +static void ztex_releaseFpga(struct libztex_device* ztex)
- +{
- + if (ztex->root->numberOfFpgas > 1) {
- + ztex->root->selectedFpga = -1;
- + mutex_unlock(&ztex->root->mutex);
- + }
- +}
- +
- static void ztex_detect(void)
- {
- int cnt;
- - int i;
- + int i,j;
- + int fpgacount;
- struct libztex_dev_list **ztex_devices;
- + struct libztex_device *ztex_slave;
- + struct cgpu_info *ztex;
-
- cnt = libztex_scanDevices(&ztex_devices);
- applog(LOG_WARNING, "Found %d ztex board(s)", cnt);
- @@ -48,14 +68,33 @@ static void ztex_detect(void)
- for (i = 0; i < cnt; i++) {
- if (total_devices == MAX_DEVICES)
- break;
- - struct cgpu_info *ztex;
- ztex = calloc(1, sizeof(struct cgpu_info));
- ztex->api = &ztex_api;
- ztex->device_ztex = ztex_devices[i]->dev;
- ztex->threads = 1;
- + ztex->device_ztex->fpgaNum = 0;
- + ztex->device_ztex->root = ztex->device_ztex;
- add_cgpu(ztex);
-
- - applog(LOG_WARNING,"%s: Found Ztex, mark as %d", ztex->device_ztex->repr, ztex->device_id);
- + fpgacount = libztex_numberOfFpgas(ztex->device_ztex);
- +
- + if (fpgacount > 1)
- + pthread_mutex_init(&ztex->device_ztex->mutex, NULL);
- +
- + for (j = 1; j < fpgacount; j++) {
- + ztex = calloc(1, sizeof(struct cgpu_info));
- + ztex->api = &ztex_api;
- + ztex_slave = calloc(1, sizeof(struct libztex_device));
- + memcpy(ztex_slave, ztex_devices[i]->dev, sizeof(struct libztex_device));
- + ztex->device_ztex = ztex_slave;
- + ztex->threads = 1;
- + ztex_slave->fpgaNum = j;
- + ztex_slave->root = ztex_devices[i]->dev;
- + ztex_slave->repr[strlen(ztex_slave->repr) - 1] = ('1' + j);
- + add_cgpu(ztex);
- + }
- +
- + applog(LOG_WARNING,"%s: Found Ztex (fpga count = %d) , mark as %d", ztex->device_ztex->repr, fpgacount, ztex->device_id);
- }
-
- if (cnt > 0)
- @@ -88,16 +127,18 @@ static bool ztex_updateFreq(struct libzt
- }
-
- if (bestM != ztex->freqM) {
- - libztex_selectFpga(ztex, 0);
- + ztex_selectFpga(ztex);
- libztex_setFreq(ztex, bestM);
- + ztex_releaseFpga(ztex);
- }
-
- maxM = ztex->freqMDefault;
- while (maxM < ztex->freqMaxM && ztex->errorWeight[maxM + 1] > 100)
- maxM++;
- if ((bestM < (1.0 - LIBZTEX_OVERHEATTHRESHOLD) * maxM) && bestM < maxM - 1) {
- - libztex_selectFpga(ztex, 0);
- + ztex_selectFpga(ztex);
- libztex_resetFpga(ztex);
- + ztex_releaseFpga(ztex);
- applog(LOG_ERR, "%s: frequency drop of %.1f%% detect. This may be caused by overheating. FPGA is shut down to prevent damage.",
- ztex->repr, (1.0 - 1.0 * bestM / maxM) * 100);
- return false;
- @@ -163,7 +204,7 @@ static uint64_t ztex_scanhash(struct thr
- memcpy(sendbuf, work->data + 64, 12);
- memcpy(sendbuf + 12, work->midstate, 32);
-
- - libztex_selectFpga(ztex, 0);
- + ztex_selectFpga(ztex);
- i = libztex_sendHashData(ztex, sendbuf);
- if (i < 0) {
- // Something wrong happened in send
- @@ -174,9 +215,11 @@ static uint64_t ztex_scanhash(struct thr
- // And there's nothing we can do about it
- ztex_disable(thr);
- applog(LOG_ERR, "%s: Failed to send hash data with err %d, giving up", ztex->repr, i);
- + ztex_releaseFpga(ztex);
- return 0;
- }
- }
- + ztex_releaseFpga(ztex);
-
- applog(LOG_DEBUG, "%s: sent hashdata", ztex->repr);
-
- @@ -204,7 +247,7 @@ static uint64_t ztex_scanhash(struct thr
- applog(LOG_DEBUG, "%s: New work detected", ztex->repr);
- break;
- }
- - libztex_selectFpga(ztex, 0);
- + ztex_selectFpga(ztex);
- i = libztex_readHashData(ztex, &hdata[0]);
- if (i < 0) {
- // Something wrong happened in read
- @@ -217,9 +260,11 @@ static uint64_t ztex_scanhash(struct thr
- applog(LOG_ERR, "%s: Failed to read hash data with err %d, giving up", ztex->repr, i);
- free(lastnonce);
- free(backlog);
- + ztex_releaseFpga(ztex);
- return 0;
- }
- }
- + ztex_releaseFpga(ztex);
-
- if (work_restart[thr->id].restart) {
- applog(LOG_DEBUG, "%s: New work detected", ztex->repr);
- @@ -302,7 +347,7 @@ static uint64_t ztex_scanhash(struct thr
- static void ztex_statline_before(char *buf, struct cgpu_info *cgpu)
- {
- if (cgpu->deven == DEV_ENABLED) {
- - tailsprintf(buf, "%s | ", cgpu->device_ztex->snString);
- + tailsprintf(buf, "%s-%d | ", cgpu->device_ztex->snString, cgpu->device_ztex->fpgaNum+1);
- tailsprintf(buf, "%0.2fMhz | ", cgpu->device_ztex->freqM1 * (cgpu->device_ztex->freqM + 1));
- }
- }
- @@ -310,24 +355,28 @@ static void ztex_statline_before(char *b
- static bool ztex_prepare(struct thr_info *thr)
- {
- struct timeval now;
- - struct cgpu_info *ztex = thr->cgpu;
- + struct cgpu_info *cgpu = thr->cgpu;
- + struct libztex_device *ztex = cgpu->device_ztex;
-
- gettimeofday(&now, NULL);
- - get_datestamp(ztex->init, &now);
- -
- - if (libztex_configureFpga(ztex->device_ztex) != 0)
- + get_datestamp(cgpu->init, &now);
- +
- + ztex_selectFpga(ztex);
- + if (libztex_configureFpga(ztex) != 0)
- return false;
- -
- - ztex->device_ztex->freqM = -1;
- - ztex_updateFreq(ztex->device_ztex);
- -
- - applog(LOG_DEBUG, "%s: prepare", ztex->device_ztex->repr);
- + ztex_releaseFpga(ztex);
- + ztex->freqM = ztex->freqMaxM+1;;
- + //ztex_updateFreq(ztex);
- + libztex_setFreq(ztex, ztex->freqMDefault);
- + applog(LOG_DEBUG, "%s: prepare", ztex->repr);
- return true;
- }
-
- static void ztex_shutdown(struct thr_info *thr)
- {
- if (thr->cgpu->device_ztex != NULL) {
- + if (thr->cgpu->device_ztex->fpgaNum == 0)
- + pthread_mutex_destroy(&thr->cgpu->device_ztex->mutex);
- applog(LOG_DEBUG, "%s: shutdown", thr->cgpu->device_ztex->repr);
- libztex_destroy_device(thr->cgpu->device_ztex);
- thr->cgpu->device_ztex = NULL;
- @@ -350,3 +399,4 @@ struct device_api ztex_api = {
- .scanhash = ztex_scanhash,
- .thread_shutdown = ztex_shutdown,
- };
- +
- --- cgminer-2.4.1.orig/api.c
- +++ cgminer-2.4.1/api.c
- @@ -158,12 +158,14 @@ static const char SEPARATOR = '|';
- #define SEPSTR "|"
- static const char GPUSEP = ',';
-
- -static const char *APIVERSION = "1.9";
- +static const char *APIVERSION = "1.10";
- static const char *DEAD = "Dead";
- static const char *SICK = "Sick";
- static const char *NOSTART = "NoStart";
- static const char *DISABLED = "Disabled";
- static const char *ALIVE = "Alive";
- +static const char *REJECTING = "Rejecting";
- +static const char *UNKNOWN = "Unknown";
- #define _DYNAMIC "D"
- static const char *DYNAMIC = _DYNAMIC;
-
- @@ -230,6 +232,7 @@ static const char *OSINFO =
- #define _DEVDETAILS "DEVDETAILS"
- #define _BYE "BYE"
- #define _RESTART "RESTART"
- +#define _MINESTATS "STATS"
-
- static const char ISJSON = '{';
- #define JSON0 "{"
- @@ -263,6 +266,7 @@ static const char ISJSON = '{';
- #define JSON_BYE JSON1 _BYE JSON1
- #define JSON_RESTART JSON1 _RESTART JSON1
- #define JSON_CLOSE JSON3
- +#define JSON_MINESTATS JSON1 _MINESTATS JSON2
- #define JSON_END JSON4
-
- static const char *JSON_COMMAND = "command";
- @@ -349,6 +353,7 @@ static const char *JSON_PARAMETER = "par
- #define MSG_ACTPOOL 67
- #define MSG_REMPOOL 68
- #define MSG_DEVDETAILS 69
- +#define MSG_MINESTATS 70
-
- enum code_severity {
- SEVERITY_ERR,
- @@ -474,6 +479,7 @@ struct CODES {
- { SEVERITY_SUCC, MSG_REMPOOL, PARAM_BOTH, "Removed pool %d:'%s'" },
- { SEVERITY_SUCC, MSG_NOTIFY, PARAM_NONE, "Notify" },
- { SEVERITY_SUCC, MSG_DEVDETAILS,PARAM_NONE, "Device Details" },
- + { SEVERITY_SUCC, MSG_MINESTATS,PARAM_NONE, "CGMiner stats" },
- { SEVERITY_FAIL, 0, 0, NULL }
- };
-
- @@ -1203,13 +1209,22 @@ static void poolstatus(__maybe_unused SO
- for (i = 0; i < total_pools; i++) {
- struct pool *pool = pools[i];
-
- - if (!pool->enabled)
- + switch (pool->enabled) {
- + case POOL_DISABLED:
- status = (char *)DISABLED;
- - else {
- + break;
- + case POOL_REJECTING:
- + status = (char *)REJECTING;
- + break;
- + case POOL_ENABLED:
- if (pool->idle)
- status = (char *)DEAD;
- else
- status = (char *)ALIVE;
- + break;
- + default:
- + status = (char *)UNKNOWN;
- + break;
- }
-
- if (pool->hdr_path)
- @@ -1221,8 +1236,8 @@ static void poolstatus(__maybe_unused SO
- rpc_user = escape_string(pool->rpc_user, isjson);
-
- sprintf(buf, isjson
- - ? "%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\"}"
- - : "%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,
- + ? "%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}"
- + : "%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,
- (isjson && (i > 0)) ? COMMA : BLANK,
- i, rpc_url, status, pool->prio, lp,
- pool->getwork_requested,
- @@ -1231,7 +1246,7 @@ static void poolstatus(__maybe_unused SO
- pool->stale_shares,
- pool->getfail_occasions,
- pool->remotefail_occasions,
- - rpc_user);
- + rpc_user, pool->last_share_time);
-
- strcat(io_buffer, buf);
-
- @@ -1457,7 +1472,7 @@ static void switchpool(__maybe_unused SO
- }
-
- pool = pools[id];
- - pool->enabled = true;
- + pool->enabled = POOL_ENABLED;
- switch_pools(pool);
-
- strcpy(io_buffer, message(MSG_SWITCHP, id, NULL, isjson));
- @@ -1569,12 +1584,12 @@ static void enablepool(__maybe_unused SO
- }
-
- pool = pools[id];
- - if (pool->enabled == true) {
- + if (pool->enabled == POOL_ENABLED) {
- strcpy(io_buffer, message(MSG_ALRENAP, id, NULL, isjson));
- return;
- }
-
- - pool->enabled = true;
- + pool->enabled = POOL_ENABLED;
- if (pool->prio < current_pool()->prio)
- switch_pools(pool);
-
- @@ -1603,7 +1618,7 @@ static void disablepool(__maybe_unused S
- }
-
- pool = pools[id];
- - if (pool->enabled == false) {
- + if (pool->enabled == POOL_DISABLED) {
- strcpy(io_buffer, message(MSG_ALRDISP, id, NULL, isjson));
- return;
- }
- @@ -1613,7 +1628,7 @@ static void disablepool(__maybe_unused S
- return;
- }
-
- - pool->enabled = false;
- + pool->enabled = POOL_DISABLED;
- if (pool == current_pool())
- switch_pools(NULL);
-
- @@ -1657,7 +1672,7 @@ static void removepool(__maybe_unused SO
- return;
- }
-
- - pool->enabled = false;
- + pool->enabled = POOL_DISABLED;
- rpc_url = escape_string(pool->rpc_url, isjson);
- if (rpc_url != pool->rpc_url)
- dofree = true;
- @@ -1989,6 +2004,71 @@ void dosave(__maybe_unused SOCKETTYPE c,
- ptr = NULL;
- }
-
- +static int itemstats(int i, char *id, struct cgminer_stats *stats, char *extra, bool isjson)
- +{
- + char buf[BUFSIZ];
- +
- + if (stats->getwork_calls || (extra != NULL && *extra))
- + {
- + if (extra == NULL)
- + extra = (char *)BLANK;
- +
- + sprintf(buf, isjson
- + ? "%s{\"STATS\":%d,\"ID\":\"%s\",\"Elapsed\":%.0f,\"Calls\":%d,\"Wait\":%ld.%06ld,\"Max\":%ld.%06ld,\"Min\":%ld.%06ld%s%s}"
- + : "%sSTATS=%d,ID=%s,Elapsed=%.0f,Calls=%d,Wait=%ld.%06ld,Max=%ld.%06ld,Min=%ld.%06ld%s%s" SEPSTR,
- + (isjson && (i > 0)) ? COMMA : BLANK,
- + i, id, total_secs, stats->getwork_calls,
- + stats->getwork_wait.tv_sec, stats->getwork_wait.tv_usec,
- + stats->getwork_wait_max.tv_sec, stats->getwork_wait_max.tv_usec,
- + stats->getwork_wait_min.tv_sec, stats->getwork_wait_min.tv_usec,
- + *extra ? COMMA : BLANK, extra);
- +
- + strcat(io_buffer, buf);
- +
- + i++;
- + }
- +
- + return i;
- +}
- +static void minerstats(__maybe_unused SOCKETTYPE c, __maybe_unused char *param, bool isjson)
- +{
- + char extra[BUFSIZ];
- + char id[20];
- + int i, j;
- +
- + strcpy(io_buffer, message(MSG_MINESTATS, 0, NULL, isjson));
- +
- + if (isjson) {
- + strcat(io_buffer, COMMA);
- + strcat(io_buffer, JSON_MINESTATS);
- + }
- +
- + i = 0;
- + for (j = 0; j < total_devices; j++) {
- + struct cgpu_info *cgpu = devices[j];
- +
- + if (cgpu && cgpu->api) {
- + if (cgpu->api->get_api_stats)
- + cgpu->api->get_api_stats(extra, cgpu, isjson);
- + else
- + extra[0] = '\0';
- +
- + sprintf(id, "%s%d", cgpu->api->name, cgpu->device_id);
- + i = itemstats(i, id, &(cgpu->cgminer_stats), extra, isjson);
- + }
- + }
- +
- + for (j = 0; j < total_pools; j++) {
- + struct pool *pool = pools[j];
- +
- + sprintf(id, "POOL%d", j);
- + i = itemstats(i, id, &(pool->cgminer_stats), NULL, isjson);
- + }
- +
- + if (isjson)
- + strcat(io_buffer, JSON_CLOSE);
- +}
- +
- struct CMDS {
- char *name;
- void (*func)(SOCKETTYPE, char *, bool);
- @@ -2030,6 +2110,7 @@ struct CMDS {
- { "notify", notify, false },
- { "devdetails", devdetails, false },
- { "restart", dorestart, true },
- + { "stats", minerstats, false },
- { NULL, NULL, false }
- };
-
- --- /dev/null
- +++ cgminer-2.4.1/install-sh
- @@ -0,0 +1,527 @@
- +#!/bin/sh
- +# install - install a program, script, or datafile
- +
- +scriptversion=2011-01-19.21; # UTC
- +
- +# This originates from X11R5 (mit/util/scripts/install.sh), which was
- +# later released in X11R6 (xc/config/util/install.sh) with the
- +# following copyright and license.
- +#
- +# Copyright (C) 1994 X Consortium
- +#
- +# Permission is hereby granted, free of charge, to any person obtaining a copy
- +# of this software and associated documentation files (the "Software"), to
- +# deal in the Software without restriction, including without limitation the
- +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- +# sell copies of the Software, and to permit persons to whom the Software is
- +# furnished to do so, subject to the following conditions:
- +#
- +# The above copyright notice and this permission notice shall be included in
- +# all copies or substantial portions of the Software.
- +#
- +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
- +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- +#
- +# Except as contained in this notice, the name of the X Consortium shall not
- +# be used in advertising or otherwise to promote the sale, use or other deal-
- +# ings in this Software without prior written authorization from the X Consor-
- +# tium.
- +#
- +#
- +# FSF changes to this file are in the public domain.
- +#
- +# Calling this script install-sh is preferred over install.sh, to prevent
- +# `make' implicit rules from creating a file called install from it
- +# when there is no Makefile.
- +#
- +# This script is compatible with the BSD install script, but was written
- +# from scratch.
- +
- +nl='
- +'
- +IFS=" "" $nl"
- +
- +# set DOITPROG to echo to test this script
- +
- +# Don't use :- since 4.3BSD and earlier shells don't like it.
- +doit=${DOITPROG-}
- +if test -z "$doit"; then
- + doit_exec=exec
- +else
- + doit_exec=$doit
- +fi
- +
- +# Put in absolute file names if you don't have them in your path;
- +# or use environment vars.
- +
- +chgrpprog=${CHGRPPROG-chgrp}
- +chmodprog=${CHMODPROG-chmod}
- +chownprog=${CHOWNPROG-chown}
- +cmpprog=${CMPPROG-cmp}
- +cpprog=${CPPROG-cp}
- +mkdirprog=${MKDIRPROG-mkdir}
- +mvprog=${MVPROG-mv}
- +rmprog=${RMPROG-rm}
- +stripprog=${STRIPPROG-strip}
- +
- +posix_glob='?'
- +initialize_posix_glob='
- + test "$posix_glob" != "?" || {
- + if (set -f) 2>/dev/null; then
- + posix_glob=
- + else
- + posix_glob=:
- + fi
- + }
- +'
- +
- +posix_mkdir=
- +
- +# Desired mode of installed file.
- +mode=0755
- +
- +chgrpcmd=
- +chmodcmd=$chmodprog
- +chowncmd=
- +mvcmd=$mvprog
- +rmcmd="$rmprog -f"
- +stripcmd=
- +
- +src=
- +dst=
- +dir_arg=
- +dst_arg=
- +
- +copy_on_change=false
- +no_target_directory=
- +
- +usage="\
- +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
- + or: $0 [OPTION]... SRCFILES... DIRECTORY
- + or: $0 [OPTION]... -t DIRECTORY SRCFILES...
- + or: $0 [OPTION]... -d DIRECTORIES...
- +
- +In the 1st form, copy SRCFILE to DSTFILE.
- +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
- +In the 4th, create DIRECTORIES.
- +
- +Options:
- + --help display this help and exit.
- + --version display version info and exit.
- +
- + -c (ignored)
- + -C install only if different (preserve the last data modification time)
- + -d create directories instead of installing files.
- + -g GROUP $chgrpprog installed files to GROUP.
- + -m MODE $chmodprog installed files to MODE.
- + -o USER $chownprog installed files to USER.
- + -s $stripprog installed files.
- + -t DIRECTORY install into DIRECTORY.
- + -T report an error if DSTFILE is a directory.
- +
- +Environment variables override the default commands:
- + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
- + RMPROG STRIPPROG
- +"
- +
- +while test $# -ne 0; do
- + case $1 in
- + -c) ;;
- +
- + -C) copy_on_change=true;;
- +
- + -d) dir_arg=true;;
- +
- + -g) chgrpcmd="$chgrpprog $2"
- + shift;;
- +
- + --help) echo "$usage"; exit $?;;
- +
- + -m) mode=$2
- + case $mode in
- + *' '* | *' '* | *'
- +'* | *'*'* | *'?'* | *'['*)
- + echo "$0: invalid mode: $mode" >&2
- + exit 1;;
- + esac
- + shift;;
- +
- + -o) chowncmd="$chownprog $2"
- + shift;;
- +
- + -s) stripcmd=$stripprog;;
- +
- + -t) dst_arg=$2
- + # Protect names problematic for `test' and other utilities.
- + case $dst_arg in
- + -* | [=\(\)!]) dst_arg=./$dst_arg;;
- + esac
- + shift;;
- +
- + -T) no_target_directory=true;;
- +
- + --version) echo "$0 $scriptversion"; exit $?;;
- +
- + --) shift
- + break;;
- +
- + -*) echo "$0: invalid option: $1" >&2
- + exit 1;;
- +
- + *) break;;
- + esac
- + shift
- +done
- +
- +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
- + # When -d is used, all remaining arguments are directories to create.
- + # When -t is used, the destination is already specified.
- + # Otherwise, the last argument is the destination. Remove it from $@.
- + for arg
- + do
- + if test -n "$dst_arg"; then
- + # $@ is not empty: it contains at least $arg.
- + set fnord "$@" "$dst_arg"
- + shift # fnord
- + fi
- + shift # arg
- + dst_arg=$arg
- + # Protect names problematic for `test' and other utilities.
- + case $dst_arg in
- + -* | [=\(\)!]) dst_arg=./$dst_arg;;
- + esac
- + done
- +fi
- +
- +if test $# -eq 0; then
- + if test -z "$dir_arg"; then
- + echo "$0: no input file specified." >&2
- + exit 1
- + fi
- + # It's OK to call `install-sh -d' without argument.
- + # This can happen when creating conditional directories.
- + exit 0
- +fi
- +
- +if test -z "$dir_arg"; then
- + do_exit='(exit $ret); exit $ret'
- + trap "ret=129; $do_exit" 1
- + trap "ret=130; $do_exit" 2
- + trap "ret=141; $do_exit" 13
- + trap "ret=143; $do_exit" 15
- +
- + # Set umask so as not to create temps with too-generous modes.
- + # However, 'strip' requires both read and write access to temps.
- + case $mode in
- + # Optimize common cases.
- + *644) cp_umask=133;;
- + *755) cp_umask=22;;
- +
- + *[0-7])
- + if test -z "$stripcmd"; then
- + u_plus_rw=
- + else
- + u_plus_rw='% 200'
- + fi
- + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
- + *)
- + if test -z "$stripcmd"; then
- + u_plus_rw=
- + else
- + u_plus_rw=,u+rw
- + fi
- + cp_umask=$mode$u_plus_rw;;
- + esac
- +fi
- +
- +for src
- +do
- + # Protect names problematic for `test' and other utilities.
- + case $src in
- + -* | [=\(\)!]) src=./$src;;
- + esac
- +
- + if test -n "$dir_arg"; then
- + dst=$src
- + dstdir=$dst
- + test -d "$dstdir"
- + dstdir_status=$?
- + else
- +
- + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
- + # might cause directories to be created, which would be especially bad
- + # if $src (and thus $dsttmp) contains '*'.
- + if test ! -f "$src" && test ! -d "$src"; then
- + echo "$0: $src does not exist." >&2
- + exit 1
- + fi
- +
- + if test -z "$dst_arg"; then
- + echo "$0: no destination specified." >&2
- + exit 1
- + fi
- + dst=$dst_arg
- +
- + # If destination is a directory, append the input filename; won't work
- + # if double slashes aren't ignored.
- + if test -d "$dst"; then
- + if test -n "$no_target_directory"; then
- + echo "$0: $dst_arg: Is a directory" >&2
- + exit 1
- + fi
- + dstdir=$dst
- + dst=$dstdir/`basename "$src"`
- + dstdir_status=0
- + else
- + # Prefer dirname, but fall back on a substitute if dirname fails.
- + dstdir=`
- + (dirname "$dst") 2>/dev/null ||
- + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$dst" : 'X\(//\)[^/]' \| \
- + X"$dst" : 'X\(//\)$' \| \
- + X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
- + echo X"$dst" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'
- + `
- +
- + test -d "$dstdir"
- + dstdir_status=$?
- + fi
- + fi
- +
- + obsolete_mkdir_used=false
- +
- + if test $dstdir_status != 0; then
- + case $posix_mkdir in
- + '')
- + # Create intermediate dirs using mode 755 as modified by the umask.
- + # This is like FreeBSD 'install' as of 1997-10-28.
- + umask=`umask`
- + case $stripcmd.$umask in
- + # Optimize common cases.
- + *[2367][2367]) mkdir_umask=$umask;;
- + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
- +
- + *[0-7])
- + mkdir_umask=`expr $umask + 22 \
- + - $umask % 100 % 40 + $umask % 20 \
- + - $umask % 10 % 4 + $umask % 2
- + `;;
- + *) mkdir_umask=$umask,go-w;;
- + esac
- +
- + # With -d, create the new directory with the user-specified mode.
- + # Otherwise, rely on $mkdir_umask.
- + if test -n "$dir_arg"; then
- + mkdir_mode=-m$mode
- + else
- + mkdir_mode=
- + fi
- +
- + posix_mkdir=false
- + case $umask in
- + *[123567][0-7][0-7])
- + # POSIX mkdir -p sets u+wx bits regardless of umask, which
- + # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
- + ;;
- + *)
- + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
- + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
- +
- + if (umask $mkdir_umask &&
- + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
- + then
- + if test -z "$dir_arg" || {
- + # Check for POSIX incompatibilities with -m.
- + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
- + # other-writeable bit of parent directory when it shouldn't.
- + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
- + ls_ld_tmpdir=`ls -ld "$tmpdir"`
- + case $ls_ld_tmpdir in
- + d????-?r-*) different_mode=700;;
- + d????-?--*) different_mode=755;;
- + *) false;;
- + esac &&
- + $mkdirprog -m$different_mode -p -- "$tmpdir" && {
- + ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
- + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
- + }
- + }
- + then posix_mkdir=:
- + fi
- + rmdir "$tmpdir/d" "$tmpdir"
- + else
- + # Remove any dirs left behind by ancient mkdir implementations.
- + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
- + fi
- + trap '' 0;;
- + esac;;
- + esac
- +
- + if
- + $posix_mkdir && (
- + umask $mkdir_umask &&
- + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
- + )
- + then :
- + else
- +
- + # The umask is ridiculous, or mkdir does not conform to POSIX,
- + # or it failed possibly due to a race condition. Create the
- + # directory the slow way, step by step, checking for races as we go.
- +
- + case $dstdir in
- + /*) prefix='/';;
- + [-=\(\)!]*) prefix='./';;
- + *) prefix='';;
- + esac
- +
- + eval "$initialize_posix_glob"
- +
- + oIFS=$IFS
- + IFS=/
- + $posix_glob set -f
- + set fnord $dstdir
- + shift
- + $posix_glob set +f
- + IFS=$oIFS
- +
- + prefixes=
- +
- + for d
- + do
- + test X"$d" = X && continue
- +
- + prefix=$prefix$d
- + if test -d "$prefix"; then
- + prefixes=
- + else
- + if $posix_mkdir; then
- + (umask=$mkdir_umask &&
- + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
- + # Don't fail if two instances are running concurrently.
- + test -d "$prefix" || exit 1
- + else
- + case $prefix in
- + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
- + *) qprefix=$prefix;;
- + esac
- + prefixes="$prefixes '$qprefix'"
- + fi
- + fi
- + prefix=$prefix/
- + done
- +
- + if test -n "$prefixes"; then
- + # Don't fail if two instances are running concurrently.
- + (umask $mkdir_umask &&
- + eval "\$doit_exec \$mkdirprog $prefixes") ||
- + test -d "$dstdir" || exit 1
- + obsolete_mkdir_used=true
- + fi
- + fi
- + fi
- +
- + if test -n "$dir_arg"; then
- + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
- + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
- + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
- + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
- + else
- +
- + # Make a couple of temp file names in the proper directory.
- + dsttmp=$dstdir/_inst.$$_
- + rmtmp=$dstdir/_rm.$$_
- +
- + # Trap to clean up those temp files at exit.
- + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
- +
- + # Copy the file name to the temp name.
- + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
- +
- + # and set any options; do chmod last to preserve setuid bits.
- + #
- + # If any of these fail, we abort the whole thing. If we want to
- + # ignore errors from any of these, just make sure not to ignore
- + # errors from the above "$doit $cpprog $src $dsttmp" command.
- + #
- + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
- + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
- + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
- + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
- +
- + # If -C, don't bother to copy if it wouldn't change the file.
- + if $copy_on_change &&
- + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
- + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
- +
- + eval "$initialize_posix_glob" &&
- + $posix_glob set -f &&
- + set X $old && old=:$2:$4:$5:$6 &&
- + set X $new && new=:$2:$4:$5:$6 &&
- + $posix_glob set +f &&
- +
- + test "$old" = "$new" &&
- + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
- + then
- + rm -f "$dsttmp"
- + else
- + # Rename the file to the real destination.
- + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
- +
- + # The rename failed, perhaps because mv can't rename something else
- + # to itself, or perhaps because mv is so ancient that it does not
- + # support -f.
- + {
- + # Now remove or move aside any old file at destination location.
- + # We try this two ways since rm can't unlink itself on some
- + # systems and the destination file might be busy for other
- + # reasons. In this case, the final cleanup might fail but the new
- + # file should still install successfully.
- + {
- + test ! -f "$dst" ||
- + $doit $rmcmd -f "$dst" 2>/dev/null ||
- + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
- + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
- + } ||
- + { echo "$0: cannot unlink or rename $dst" >&2
- + (exit 1); exit 1
- + }
- + } &&
- +
- + # Now rename the file to the real destination.
- + $doit $mvcmd "$dsttmp" "$dst"
- + }
- + fi || exit 1
- +
- + trap '' 0
- + fi
- +done
- +
- +# Local variables:
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "scriptversion="
- +# time-stamp-format: "%:y-%02m-%02d.%02H"
- +# time-stamp-time-zone: "UTC"
- +# time-stamp-end: "; # UTC"
- +# End:
- --- /dev/null
- +++ cgminer-2.4.1/ADL_SDK/adl_defines.h
- @@ -0,0 +1,1343 @@
- +//
- +// Copyright (c) 2008 - 2012 Advanced Micro Devices, Inc.
- +
- +// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
- +// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- +// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
- +
- +/// \file adl_defines.h
- +/// \brief Contains all definitions exposed by ADL for \ALL platforms.\n <b>Included in ADL SDK</b>
- +///
- +/// This file contains all definitions used by ADL.
- +/// The ADL definitions include the following:
- +/// \li ADL error codes
- +/// \li Enumerations for the ADLDisplayInfo structure
- +/// \li Maximum limits
- +///
- +
- +#ifndef ADL_DEFINES_H_
- +#define ADL_DEFINES_H_
- +
- +/// \defgroup DEFINES Constants and Definitions
- +// @{
- +
- +/// \defgroup define_misc Miscellaneous Constant Definitions
- +// @{
- +
- +/// \name General Definitions
- +// @{
- +
- +/// Defines ADL_TRUE
- +#define ADL_TRUE 1
- +/// Defines ADL_FALSE
- +#define ADL_FALSE 0
- +
- +/// Defines the maximum string length
- +#define ADL_MAX_CHAR 4096
- +/// Defines the maximum string length
- +#define ADL_MAX_PATH 256
- +/// Defines the maximum number of supported adapters
- +#define ADL_MAX_ADAPTERS 250
- +/// Defines the maxumum number of supported displays
- +#define ADL_MAX_DISPLAYS 150
- +/// Defines the maxumum string length for device name
- +#define ADL_MAX_DEVICENAME 32
- +/// Defines for all adapters
- +#define ADL_ADAPTER_INDEX_ALL -1
- +/// Defines APIs with iOption none
- +#define ADL_MAIN_API_OPTION_NONE 0
- +// @}
- +
- +/// \name Definitions for iOption parameter used by
- +/// ADL_Display_DDCBlockAccess_Get()
- +// @{
- +
- +/// Switch to DDC line 2 before sending the command to the display.
- +#define ADL_DDC_OPTION_SWITCHDDC2 0x00000001
- +/// Save command in the registry under a unique key, corresponding to parameter \b iCommandIndex
- +#define ADL_DDC_OPTION_RESTORECOMMAND 0x00000002
- +/// Combine write-read DDC block access command.
- +#define ADL_DDC_OPTION_COMBOWRITEREAD 0x00000010
- +// @}
- +
- +/// \name Values for
- +/// ADLI2C.iAction used with ADL_Display_WriteAndReadI2C()
- +// @{
- +
- +#define ADL_DL_I2C_ACTIONREAD 0x00000001
- +#define ADL_DL_I2C_ACTIONWRITE 0x00000002
- +#define ADL_DL_I2C_ACTIONREAD_REPEATEDSTART 0x00000003
- +// @}
- +
- +
- +// @} //Misc
- +
- +/// \defgroup define_adl_results Result Codes
- +/// This group of definitions are the various results returned by all ADL functions \n
- +// @{
- +/// All OK, but need to wait
- +#define ADL_OK_WAIT 4
- +/// All OK, but need restart
- +#define ADL_OK_RESTART 3
- +/// All OK but need mode change
- +#define ADL_OK_MODE_CHANGE 2
- +/// All OK, but with warning
- +#define ADL_OK_WARNING 1
- +/// ADL function completed successfully
- +#define ADL_OK 0
- +/// Generic Error. Most likely one or more of the Escape calls to the driver failed!
- +#define ADL_ERR -1
- +/// ADL not initialized
- +#define ADL_ERR_NOT_INIT -2
- +/// One of the parameter passed is invalid
- +#define ADL_ERR_INVALID_PARAM -3
- +/// One of the parameter size is invalid
- +#define ADL_ERR_INVALID_PARAM_SIZE -4
- +/// Invalid ADL index passed
- +#define ADL_ERR_INVALID_ADL_IDX -5
- +/// Invalid controller index passed
- +#define ADL_ERR_INVALID_CONTROLLER_IDX -6
- +/// Invalid display index passed
- +#define ADL_ERR_INVALID_DIPLAY_IDX -7
- +/// Function not supported by the driver
- +#define ADL_ERR_NOT_SUPPORTED -8
- +/// Null Pointer error
- +#define ADL_ERR_NULL_POINTER -9
- +/// Call can't be made due to disabled adapter
- +#define ADL_ERR_DISABLED_ADAPTER -10
- +/// Invalid Callback
- +#define ADL_ERR_INVALID_CALLBACK -11
- +/// Display Resource conflict
- +#define ADL_ERR_RESOURCE_CONFLICT -12
- +
- +// @}
- +/// </A>
- +
- +/// \defgroup define_display_type Display Type
- +/// Define Monitor/CRT display type
- +// @{
- +/// Define Monitor display type
- +#define ADL_DT_MONITOR 0
- +/// Define TV display type
- +#define ADL_DT_TELEVISION 1
- +/// Define LCD display type
- +#define ADL_DT_LCD_PANEL 2
- +/// Define DFP display type
- +#define ADL_DT_DIGITAL_FLAT_PANEL 3
- +/// Define Componment Video display type
- +#define ADL_DT_COMPONENT_VIDEO 4
- +/// Define Projector display type
- +#define ADL_DT_PROJECTOR 5
- +// @}
- +
- +/// \defgroup define_display_connection_type Display Connection Type
- +// @{
- +/// Define unknown display output type
- +#define ADL_DOT_UNKNOWN 0
- +/// Define composite display output type
- +#define ADL_DOT_COMPOSITE 1
- +/// Define SVideo display output type
- +#define ADL_DOT_SVIDEO 2
- +/// Define analog display output type
- +#define ADL_DOT_ANALOG 3
- +/// Define digital display output type
- +#define ADL_DOT_DIGITAL 4
- +// @}
- +
- +/// \defgroup define_color_type Display Color Type and Source
- +/// Define Display Color Type and Source
- +// @{
- +#define ADL_DISPLAY_COLOR_BRIGHTNESS (1 << 0)
- +#define ADL_DISPLAY_COLOR_CONTRAST (1 << 1)
- +#define ADL_DISPLAY_COLOR_SATURATION (1 << 2)
- +#define ADL_DISPLAY_COLOR_HUE (1 << 3)
- +#define ADL_DISPLAY_COLOR_TEMPERATURE (1 << 4)
- +
- +/// Color Temperature Source is EDID
- +#define ADL_DISPLAY_COLOR_TEMPERATURE_SOURCE_EDID (1 << 5)
- +/// Color Temperature Source is User
- +#define ADL_DISPLAY_COLOR_TEMPERATURE_SOURCE_USER (1 << 6)
- +// @}
- +
- +/// \defgroup define_adjustment_capabilities Display Adjustment Capabilities
- +/// Display adjustment capabilities values. Returned by ADL_Display_AdjustCaps_Get
- +// @{
- +#define ADL_DISPLAY_ADJUST_OVERSCAN (1 << 0)
- +#define ADL_DISPLAY_ADJUST_VERT_POS (1 << 1)
- +#define ADL_DISPLAY_ADJUST_HOR_POS (1 << 2)
- +#define ADL_DISPLAY_ADJUST_VERT_SIZE (1 << 3)
- +#define ADL_DISPLAY_ADJUST_HOR_SIZE (1 << 4)
- +#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)
- +#define ADL_DISPLAY_CUSTOMMODES (1<<5)
- +#define ADL_DISPLAY_ADJUST_UNDERSCAN (1<<6)
- +// @}
- +
- +
- +/// \defgroup define_desktop_config Desktop Configuration Flags
- +/// These flags are used by ADL_DesktopConfig_xxx
- +// @{
- +#define ADL_DESKTOPCONFIG_UNKNOWN 0 /* UNKNOWN desktop config */
- +#define ADL_DESKTOPCONFIG_SINGLE (1 << 0) /* Single */
- +#define ADL_DESKTOPCONFIG_CLONE (1 << 2) /* Clone */
- +#define ADL_DESKTOPCONFIG_BIGDESK_H (1 << 4) /* Big Desktop Horizontal */
- +#define ADL_DESKTOPCONFIG_BIGDESK_V (1 << 5) /* Big Desktop Vertical */
- +#define ADL_DESKTOPCONFIG_BIGDESK_HR (1 << 6) /* Big Desktop Reverse Horz */
- +#define ADL_DESKTOPCONFIG_BIGDESK_VR (1 << 7) /* Big Desktop Reverse Vert */
- +#define ADL_DESKTOPCONFIG_RANDR12 (1 << 8) /* RandR 1.2 Multi-display */
- +// @}
- +
- +/// needed for ADLDDCInfo structure
- +#define ADL_MAX_DISPLAY_NAME 256
- +
- +/// \defgroup define_edid_flags Values for ulDDCInfoFlag
- +/// defines for ulDDCInfoFlag EDID flag
- +// @{
- +#define ADL_DISPLAYDDCINFOEX_FLAG_PROJECTORDEVICE (1 << 0)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_EDIDEXTENSION (1 << 1)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_DIGITALDEVICE (1 << 2)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_HDMIAUDIODEVICE (1 << 3)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORTS_AI (1 << 4)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC601 (1 << 5)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC709 (1 << 6)
- +// @}
- +
- +/// \defgroup define_displayinfo_connector Display Connector Type
- +/// defines for ADLDisplayInfo.iDisplayConnector
- +// @{
- +#define ADL_DISPLAY_CONTYPE_UNKNOWN 0
- +#define ADL_DISPLAY_CONTYPE_VGA 1
- +#define ADL_DISPLAY_CONTYPE_DVI_D 2
- +#define ADL_DISPLAY_CONTYPE_DVI_I 3
- +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NTSC 4
- +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_JPN 5
- +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_JPN 6
- +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_NTSC 7
- +#define ADL_DISPLAY_CONTYPE_PROPRIETARY 8
- +#define ADL_DISPLAY_CONTYPE_HDMI_TYPE_A 10
- +#define ADL_DISPLAY_CONTYPE_HDMI_TYPE_B 11
- +#define ADL_DISPLAY_CONTYPE_SVIDEO 12
- +#define ADL_DISPLAY_CONTYPE_COMPOSITE 13
- +#define ADL_DISPLAY_CONTYPE_RCA_3COMPONENT 14
- +#define ADL_DISPLAY_CONTYPE_DISPLAYPORT 15
- +#define ADL_DISPLAY_CONTYPE_EDP 16
- +#define ADL_DISPLAY_CONTYPE_WIRELESSDISPLAY 17
- +// @}
- +
- +/// TV Capabilities and Standards
- +/// \defgroup define_tv_caps TV Capabilities and Standards
- +// @{
- +#define ADL_TV_STANDARDS (1 << 0)
- +#define ADL_TV_SCART (1 << 1)
- +
- +/// TV Standards Definitions
- +#define ADL_STANDARD_NTSC_M (1 << 0)
- +#define ADL_STANDARD_NTSC_JPN (1 << 1)
- +#define ADL_STANDARD_NTSC_N (1 << 2)
- +#define ADL_STANDARD_PAL_B (1 << 3)
- +#define ADL_STANDARD_PAL_COMB_N (1 << 4)
- +#define ADL_STANDARD_PAL_D (1 << 5)
- +#define ADL_STANDARD_PAL_G (1 << 6)
- +#define ADL_STANDARD_PAL_H (1 << 7)
- +#define ADL_STANDARD_PAL_I (1 << 8)
- +#define ADL_STANDARD_PAL_K (1 << 9)
- +#define ADL_STANDARD_PAL_K1 (1 << 10)
- +#define ADL_STANDARD_PAL_L (1 << 11)
- +#define ADL_STANDARD_PAL_M (1 << 12)
- +#define ADL_STANDARD_PAL_N (1 << 13)
- +#define ADL_STANDARD_PAL_SECAM_D (1 << 14)
- +#define ADL_STANDARD_PAL_SECAM_K (1 << 15)
- +#define ADL_STANDARD_PAL_SECAM_K1 (1 << 16)
- +#define ADL_STANDARD_PAL_SECAM_L (1 << 17)
- +// @}
- +
- +
- +/// \defgroup define_video_custom_mode Video Custom Mode flags
- +/// Component Video Custom Mode flags. This is used by the iFlags parameter in ADLCustomMode
- +// @{
- +#define ADL_CUSTOMIZEDMODEFLAG_MODESUPPORTED (1 << 0)
- +#define ADL_CUSTOMIZEDMODEFLAG_NOTDELETETABLE (1 << 1)
- +#define ADL_CUSTOMIZEDMODEFLAG_INSERTBYDRIVER (1 << 2)
- +#define ADL_CUSTOMIZEDMODEFLAG_INTERLACED (1 << 3)
- +#define ADL_CUSTOMIZEDMODEFLAG_BASEMODE (1 << 4)
- +// @}
- +
- +/// \defgroup define_ddcinfoflag Values used for DDCInfoFlag
- +/// ulDDCInfoFlag field values used by the ADLDDCInfo structure
- +// @{
- +#define ADL_DISPLAYDDCINFOEX_FLAG_PROJECTORDEVICE (1 << 0)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_EDIDEXTENSION (1 << 1)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_DIGITALDEVICE (1 << 2)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_HDMIAUDIODEVICE (1 << 3)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORTS_AI (1 << 4)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC601 (1 << 5)
- +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC709 (1 << 6)
- +// @}
- +
- +/// \defgroup define_cv_dongle Values used by ADL_CV_DongleSettings_xxx
- +/// The following is applicable to ADL_DISPLAY_CONTYPE_ATICVDONGLE_JP and ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_D only
- +// @{
- +#define ADL_DISPLAY_CV_DONGLE_D1 (1 << 0)
- +#define ADL_DISPLAY_CV_DONGLE_D2 (1 << 1)
- +#define ADL_DISPLAY_CV_DONGLE_D3 (1 << 2)
- +#define ADL_DISPLAY_CV_DONGLE_D4 (1 << 3)
- +#define ADL_DISPLAY_CV_DONGLE_D5 (1 << 4)
- +
- +/// The following is applicable to ADL_DISPLAY_CONTYPE_ATICVDONGLE_NA and ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C only
- +
- +#define ADL_DISPLAY_CV_DONGLE_480I (1 << 0)
- +#define ADL_DISPLAY_CV_DONGLE_480P (1 << 1)
- +#define ADL_DISPLAY_CV_DONGLE_540P (1 << 2)
- +#define ADL_DISPLAY_CV_DONGLE_720P (1 << 3)
- +#define ADL_DISPLAY_CV_DONGLE_1080I (1 << 4)
- +#define ADL_DISPLAY_CV_DONGLE_1080P (1 << 5)
- +#define ADL_DISPLAY_CV_DONGLE_16_9 (1 << 6)
- +#define ADL_DISPLAY_CV_DONGLE_720P50 (1 << 7)
- +#define ADL_DISPLAY_CV_DONGLE_1080I25 (1 << 8)
- +#define ADL_DISPLAY_CV_DONGLE_576I25 (1 << 9)
- +#define ADL_DISPLAY_CV_DONGLE_576P50 (1 << 10)
- +#define ADL_DISPLAY_CV_DONGLE_1080P24 (1 << 11)
- +#define ADL_DISPLAY_CV_DONGLE_1080P25 (1 << 12)
- +#define ADL_DISPLAY_CV_DONGLE_1080P30 (1 << 13)
- +#define ADL_DISPLAY_CV_DONGLE_1080P50 (1 << 14)
- +// @}
- +
- +/// \defgroup define_formats_ovr Formats Override Settings
- +/// Display force modes flags
- +// @{
- +///
- +#define ADL_DISPLAY_FORMAT_FORCE_720P 0x00000001
- +#define ADL_DISPLAY_FORMAT_FORCE_1080I 0x00000002
- +#define ADL_DISPLAY_FORMAT_FORCE_1080P 0x00000004
- +#define ADL_DISPLAY_FORMAT_FORCE_720P50 0x00000008
- +#define ADL_DISPLAY_FORMAT_FORCE_1080I25 0x00000010
- +#define ADL_DISPLAY_FORMAT_FORCE_576I25 0x00000020
- +#define ADL_DISPLAY_FORMAT_FORCE_576P50 0x00000040
- +#define ADL_DISPLAY_FORMAT_FORCE_1080P24 0x00000080
- +#define ADL_DISPLAY_FORMAT_FORCE_1080P25 0x00000100
- +#define ADL_DISPLAY_FORMAT_FORCE_1080P30 0x00000200
- +#define ADL_DISPLAY_FORMAT_FORCE_1080P50 0x00000400
- +
- +///< Below are \b EXTENDED display mode flags
- +
- +#define ADL_DISPLAY_FORMAT_CVDONGLEOVERIDE 0x00000001
- +#define ADL_DISPLAY_FORMAT_CVMODEUNDERSCAN 0x00000002
- +#define ADL_DISPLAY_FORMAT_FORCECONNECT_SUPPORTED 0x00000004
- +#define ADL_DISPLAY_FORMAT_RESTRICT_FORMAT_SELECTION 0x00000008
- +#define ADL_DISPLAY_FORMAT_SETASPECRATIO 0x00000010
- +#define ADL_DISPLAY_FORMAT_FORCEMODES 0x00000020
- +#define ADL_DISPLAY_FORMAT_LCDRTCCOEFF 0x00000040
- +// @}
- +
- +/// Defines used by OD5
- +#define ADL_PM_PARAM_DONT_CHANGE 0
- +
- +/// The following defines Bus types
- +// @{
- +#define ADL_BUSTYPE_PCI 0 /* PCI bus */
- +#define ADL_BUSTYPE_AGP 1 /* AGP bus */
- +#define ADL_BUSTYPE_PCIE 2 /* PCI Express bus */
- +#define ADL_BUSTYPE_PCIE_GEN2 3 /* PCI Express 2nd generation bus */
- +#define ADL_BUSTYPE_PCIE_GEN3 4 /* PCI Express 3rd generation bus */
- +// @}
- +
- +/// \defgroup define_ws_caps Workstation Capabilities
- +/// Workstation values
- +// @{
- +
- +/// This value indicates that the workstation card supports active stereo though stereo output connector
- +#define ADL_STEREO_SUPPORTED (1 << 2)
- +/// This value indicates that the workstation card supports active stereo via "blue-line"
- +#define ADL_STEREO_BLUE_LINE (1 << 3)
- +/// This value is used to turn off stereo mode.
- +#define ADL_STEREO_OFF 0
- +/// 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
- +#define ADL_STEREO_ACTIVE (1 << 1)
- +/// 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
- +#define ADL_STEREO_AUTO_HORIZONTAL (1 << 30)
- +/// 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
- +#define ADL_STEREO_AUTO_VERTICAL (1 << 31)
- +/// This value indicates that the workstation card supports passive stereo, ie. non stereo sync
- +#define ADL_STEREO_PASSIVE (1 << 6)
- +/// 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
- +#define ADL_STEREO_PASSIVE_HORIZ (1 << 7)
- +/// 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
- +#define ADL_STEREO_PASSIVE_VERT (1 << 8)
- +/// This value indicates that the workstation card supports DeepBitDepth (10 bpp)
- +#define ADL_DEEPBITDEPTH_10BPP_SUPPORTED (1 << 5)
- +
- +/// This value indicates that the workstation supports 8-Bit Grayscale
- +#define ADL_8BIT_GREYSCALE_SUPPORTED (1 << 9)
- +
- +/// Load balancing is supported.
- +#define ADL_WORKSTATION_LOADBALANCING_SUPPORTED 0x00000001
- +/// Load balancing is available.
- +#define ADL_WORKSTATION_LOADBALANCING_AVAILABLE 0x00000002
- +
- +/// Load balancing is disabled.
- +#define ADL_WORKSTATION_LOADBALANCING_DISABLED 0x00000000
- +/// Load balancing is Enabled.
- +#define ADL_WORKSTATION_LOADBALANCING_ENABLED 0x00000001
- +
- +
- +
- +// @}
- +
- +/// \defgroup define_adapterspeed speed setting from the adapter
- +// @{
- +#define ADL_CONTEXT_SPEED_UNFORCED 0 /* default asic running speed */
- +#define ADL_CONTEXT_SPEED_FORCEHIGH 1 /* asic running speed is forced to high */
- +#define ADL_CONTEXT_SPEED_FORCELOW 2 /* asic running speed is forced to low */
- +
- +#define ADL_ADAPTER_SPEEDCAPS_SUPPORTED (1 << 0) /* change asic running speed setting is supported */
- +// @}
- +
- +/// \defgroup define_glsync Genlock related values
- +/// GL-Sync port types (unique values)
- +// @{
- +/// Unknown port of GL-Sync module
- +#define ADL_GLSYNC_PORT_UNKNOWN 0
- +/// BNC port of of GL-Sync module
- +#define ADL_GLSYNC_PORT_BNC 1
- +/// RJ45(1) port of of GL-Sync module
- +#define ADL_GLSYNC_PORT_RJ45PORT1 2
- +/// RJ45(2) port of of GL-Sync module
- +#define ADL_GLSYNC_PORT_RJ45PORT2 3
- +
- +// GL-Sync Genlock settings mask (bit-vector)
- +
- +/// None of the ADLGLSyncGenlockConfig members are valid
- +#define ADL_GLSYNC_CONFIGMASK_NONE 0
- +/// The ADLGLSyncGenlockConfig.lSignalSource member is valid
- +#define ADL_GLSYNC_CONFIGMASK_SIGNALSOURCE (1 << 0)
- +/// The ADLGLSyncGenlockConfig.iSyncField member is valid
- +#define ADL_GLSYNC_CONFIGMASK_SYNCFIELD (1 << 1)
- +/// The ADLGLSyncGenlockConfig.iSampleRate member is valid
- +#define ADL_GLSYNC_CONFIGMASK_SAMPLERATE (1 << 2)
- +/// The ADLGLSyncGenlockConfig.lSyncDelay member is valid
- +#define ADL_GLSYNC_CONFIGMASK_SYNCDELAY (1 << 3)
- +/// The ADLGLSyncGenlockConfig.iTriggerEdge member is valid
- +#define ADL_GLSYNC_CONFIGMASK_TRIGGEREDGE (1 << 4)
- +/// The ADLGLSyncGenlockConfig.iScanRateCoeff member is valid
- +#define ADL_GLSYNC_CONFIGMASK_SCANRATECOEFF (1 << 5)
- +/// The ADLGLSyncGenlockConfig.lFramelockCntlVector member is valid
- +#define ADL_GLSYNC_CONFIGMASK_FRAMELOCKCNTL (1 << 6)
- +
- +
- +// GL-Sync Framelock control mask (bit-vector)
- +
- +/// Framelock is disabled
- +#define ADL_GLSYNC_FRAMELOCKCNTL_NONE 0
- +/// Framelock is enabled
- +#define ADL_GLSYNC_FRAMELOCKCNTL_ENABLE ( 1 << 0)
- +
- +#define ADL_GLSYNC_FRAMELOCKCNTL_DISABLE ( 1 << 1)
- +#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_RESET ( 1 << 2)
- +#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_ACK ( 1 << 3)
- +
- +#define ADL_GLSYNC_FRAMELOCKCNTL_STATE_ENABLE ( 1 << 0)
- +
- +// GL-Sync Framelock counters mask (bit-vector)
- +#define ADL_GLSYNC_COUNTER_SWAP ( 1 << 0 )
- +
- +// GL-Sync Signal Sources (unique values)
- +
- +/// GL-Sync signal source is undefined
- +#define ADL_GLSYNC_SIGNALSOURCE_UNDEFINED 0x00000100
- +/// GL-Sync signal source is Free Run
- +#define ADL_GLSYNC_SIGNALSOURCE_FREERUN 0x00000101
- +/// GL-Sync signal source is the BNC GL-Sync port
- +#define ADL_GLSYNC_SIGNALSOURCE_BNCPORT 0x00000102
- +/// GL-Sync signal source is the RJ45(1) GL-Sync port
- +#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT1 0x00000103
- +/// GL-Sync signal source is the RJ45(2) GL-Sync port
- +#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT2 0x00000104
- +
- +
- +// GL-Sync Signal Types (unique values)
- +
- +/// GL-Sync signal type is unknown
- +#define ADL_GLSYNC_SIGNALTYPE_UNDEFINED 0
- +/// GL-Sync signal type is 480I
- +#define ADL_GLSYNC_SIGNALTYPE_480I 1
- +/// GL-Sync signal type is 576I
- +#define ADL_GLSYNC_SIGNALTYPE_576I 2
- +/// GL-Sync signal type is 480P
- +#define ADL_GLSYNC_SIGNALTYPE_480P 3
- +/// GL-Sync signal type is 576P
- +#define ADL_GLSYNC_SIGNALTYPE_576P 4
- +/// GL-Sync signal type is 720P
- +#define ADL_GLSYNC_SIGNALTYPE_720P 5
- +/// GL-Sync signal type is 1080P
- +#define ADL_GLSYNC_SIGNALTYPE_1080P 6
- +/// GL-Sync signal type is 1080I
- +#define ADL_GLSYNC_SIGNALTYPE_1080I 7
- +/// GL-Sync signal type is SDI
- +#define ADL_GLSYNC_SIGNALTYPE_SDI 8
- +/// GL-Sync signal type is TTL
- +#define ADL_GLSYNC_SIGNALTYPE_TTL 9
- +/// GL_Sync signal type is Analog
- +#define ADL_GLSYNC_SIGNALTYPE_ANALOG 10
- +
- +// GL-Sync Sync Field options (unique values)
- +
- +///GL-Sync sync field option is undefined
- +#define ADL_GLSYNC_SYNCFIELD_UNDEFINED 0
- +///GL-Sync sync field option is Sync to Field 1 (used for Interlaced signal types)
- +#define ADL_GLSYNC_SYNCFIELD_BOTH 1
- +///GL-Sync sync field option is Sync to Both fields (used for Interlaced signal types)
- +#define ADL_GLSYNC_SYNCFIELD_1 2
- +
- +
- +// GL-Sync trigger edge options (unique values)
- +
- +/// GL-Sync trigger edge is undefined
- +#define ADL_GLSYNC_TRIGGEREDGE_UNDEFINED 0
- +/// GL-Sync trigger edge is the rising edge
- +#define ADL_GLSYNC_TRIGGEREDGE_RISING 1
- +/// GL-Sync trigger edge is the falling edge
- +#define ADL_GLSYNC_TRIGGEREDGE_FALLING 2
- +/// GL-Sync trigger edge is both the rising and the falling edge
- +#define ADL_GLSYNC_TRIGGEREDGE_BOTH 3
- +
- +
- +// GL-Sync scan rate coefficient/multiplier options (unique values)
- +
- +/// GL-Sync scan rate coefficient/multiplier is undefined
- +#define ADL_GLSYNC_SCANRATECOEFF_UNDEFINED 0
- +/// GL-Sync scan rate coefficient/multiplier is 5
- +#define ADL_GLSYNC_SCANRATECOEFF_x5 1
- +/// GL-Sync scan rate coefficient/multiplier is 4
- +#define ADL_GLSYNC_SCANRATECOEFF_x4 2
- +/// GL-Sync scan rate coefficient/multiplier is 3
- +#define ADL_GLSYNC_SCANRATECOEFF_x3 3
- +/// GL-Sync scan rate coefficient/multiplier is 5:2 (SMPTE)
- +#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_2 4
- +/// GL-Sync scan rate coefficient/multiplier is 2
- +#define ADL_GLSYNC_SCANRATECOEFF_x2 5
- +/// GL-Sync scan rate coefficient/multiplier is 3 : 2
- +#define ADL_GLSYNC_SCANRATECOEFF_x3_DIV_2 6
- +/// GL-Sync scan rate coefficient/multiplier is 5 : 4
- +#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_4 7
- +/// GL-Sync scan rate coefficient/multiplier is 1 (default)
- +#define ADL_GLSYNC_SCANRATECOEFF_x1 8
- +/// GL-Sync scan rate coefficient/multiplier is 4 : 5
- +#define ADL_GLSYNC_SCANRATECOEFF_x4_DIV_5 9
- +/// GL-Sync scan rate coefficient/multiplier is 2 : 3
- +#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_3 10
- +/// GL-Sync scan rate coefficient/multiplier is 1 : 2
- +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_2 11
- +/// GL-Sync scan rate coefficient/multiplier is 2 : 5 (SMPTE)
- +#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_5 12
- +/// GL-Sync scan rate coefficient/multiplier is 1 : 3
- +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_3 13
- +/// GL-Sync scan rate coefficient/multiplier is 1 : 4
- +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_4 14
- +/// GL-Sync scan rate coefficient/multiplier is 1 : 5
- +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_5 15
- +
- +
- +// GL-Sync port (signal presence) states (unique values)
- +
- +/// GL-Sync port state is undefined
- +#define ADL_GLSYNC_PORTSTATE_UNDEFINED 0
- +/// GL-Sync port is not connected
- +#define ADL_GLSYNC_PORTSTATE_NOCABLE 1
- +/// GL-Sync port is Idle
- +#define ADL_GLSYNC_PORTSTATE_IDLE 2
- +/// GL-Sync port has an Input signal
- +#define ADL_GLSYNC_PORTSTATE_INPUT 3
- +/// GL-Sync port is Output
- +#define ADL_GLSYNC_PORTSTATE_OUTPUT 4
- +
- +
- +// GL-Sync LED types (used index within ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array) (unique values)
- +
- +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the one LED of the BNC port
- +#define ADL_GLSYNC_LEDTYPE_BNC 0
- +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Left LED of the RJ45(1) or RJ45(2) port
- +#define ADL_GLSYNC_LEDTYPE_RJ45_LEFT 0
- +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Right LED of the RJ45(1) or RJ45(2) port
- +#define ADL_GLSYNC_LEDTYPE_RJ45_RIGHT 1
- +
- +
- +// GL-Sync LED colors (unique values)
- +
- +/// GL-Sync LED undefined color
- +#define ADL_GLSYNC_LEDCOLOR_UNDEFINED 0
- +/// GL-Sync LED is unlit
- +#define ADL_GLSYNC_LEDCOLOR_NOLIGHT 1
- +/// GL-Sync LED is yellow
- +#define ADL_GLSYNC_LEDCOLOR_YELLOW 2
- +/// GL-Sync LED is red
- +#define ADL_GLSYNC_LEDCOLOR_RED 3
- +/// GL-Sync LED is green
- +#define ADL_GLSYNC_LEDCOLOR_GREEN 4
- +/// GL-Sync LED is flashing green
- +#define ADL_GLSYNC_LEDCOLOR_FLASH_GREEN 5
- +
- +
- +// GL-Sync Port Control (refers one GL-Sync Port) (unique values)
- +
- +/// Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Idle
- +#define ADL_GLSYNC_PORTCNTL_NONE 0x00000000
- +/// Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Output
- +#define ADL_GLSYNC_PORTCNTL_OUTPUT 0x00000001
- +
- +
- +// GL-Sync Mode Control (refers one Display/Controller) (bitfields)
- +
- +/// Used to configure the display to use internal timing (not genlocked)
- +#define ADL_GLSYNC_MODECNTL_NONE 0x00000000
- +/// Bitfield used to configure the display as genlocked (either as Timing Client or as Timing Server)
- +#define ADL_GLSYNC_MODECNTL_GENLOCK 0x00000001
- +/// Bitfield used to configure the display as Timing Server
- +#define ADL_GLSYNC_MODECNTL_TIMINGSERVER 0x00000002
- +
- +// GL-Sync Mode Status
- +/// Display is currently not genlocked
- +#define ADL_GLSYNC_MODECNTL_STATUS_NONE 0x00000000
- +/// Display is currently genlocked
- +#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK 0x00000001
- +/// Display requires a mode switch
- +#define ADL_GLSYNC_MODECNTL_STATUS_SETMODE_REQUIRED 0x00000002
- +/// Display is capable of being genlocked
- +#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK_ALLOWED 0x00000004
- +
- +#define ADL_MAX_GLSYNC_PORTS 8
- +#define ADL_MAX_GLSYNC_PORT_LEDS 8
- +
- +// @}
- +
- +/// \defgroup define_crossfirestate CrossfireX state of a particular adapter CrossfireX combination
- +// @{
- +#define ADL_XFIREX_STATE_NOINTERCONNECT ( 1 << 0 ) /* Dongle / cable is missing */
- +#define ADL_XFIREX_STATE_DOWNGRADEPIPES ( 1 << 1 ) /* CrossfireX can be enabled if pipes are downgraded */
- +#define ADL_XFIREX_STATE_DOWNGRADEMEM ( 1 << 2 ) /* CrossfireX cannot be enabled unless mem downgraded */
- +#define ADL_XFIREX_STATE_REVERSERECOMMENDED ( 1 << 3 ) /* Card reversal recommended, CrossfireX cannot be enabled. */
- +#define ADL_XFIREX_STATE_3DACTIVE ( 1 << 4 ) /* 3D client is active - CrossfireX cannot be safely enabled */
- +#define ADL_XFIREX_STATE_MASTERONSLAVE ( 1 << 5 ) /* Dongle is OK but master is on slave */
- +#define ADL_XFIREX_STATE_NODISPLAYCONNECT ( 1 << 6 ) /* No (valid) display connected to master card. */
- +#define ADL_XFIREX_STATE_NOPRIMARYVIEW ( 1 << 7 ) /* CrossfireX is enabled but master is not current primary device */
- +#define ADL_XFIREX_STATE_DOWNGRADEVISMEM ( 1 << 8 ) /* CrossfireX cannot be enabled unless visible mem downgraded */
- +#define ADL_XFIREX_STATE_LESSTHAN8LANE_MASTER ( 1 << 9 ) /* CrossfireX can be enabled however performance not optimal due to <8 lanes */
- +#define ADL_XFIREX_STATE_LESSTHAN8LANE_SLAVE ( 1 << 10 ) /* CrossfireX can be enabled however performance not optimal due to <8 lanes */
- +#define ADL_XFIREX_STATE_PEERTOPEERFAILED ( 1 << 11 ) /* CrossfireX cannot be enabled due to failed peer to peer test */
- +#define ADL_XFIREX_STATE_MEMISDOWNGRADED ( 1 << 16 ) /* Notification that memory is currently downgraded */
- +#define ADL_XFIREX_STATE_PIPESDOWNGRADED ( 1 << 17 ) /* Notification that pipes are currently downgraded */
- +#define ADL_XFIREX_STATE_XFIREXACTIVE ( 1 << 18 ) /* CrossfireX is enabled on current device */
- +#define ADL_XFIREX_STATE_VISMEMISDOWNGRADED ( 1 << 19 ) /* Notification that visible FB memory is currently downgraded */
- +#define ADL_XFIREX_STATE_INVALIDINTERCONNECTION ( 1 << 20 ) /* Cannot support current inter-connection configuration */
- +#define ADL_XFIREX_STATE_NONP2PMODE ( 1 << 21 ) /* CrossfireX will only work with clients supporting non P2P mode */
- +#define ADL_XFIREX_STATE_DOWNGRADEMEMBANKS ( 1 << 22 ) /* CrossfireX cannot be enabled unless memory banks downgraded */
- +#define ADL_XFIREX_STATE_MEMBANKSDOWNGRADED ( 1 << 23 ) /* Notification that memory banks are currently downgraded */
- +#define ADL_XFIREX_STATE_DUALDISPLAYSALLOWED ( 1 << 24 ) /* Extended desktop or clone mode is allowed. */
- +#define ADL_XFIREX_STATE_P2P_APERTURE_MAPPING ( 1 << 25 ) /* P2P mapping was through peer aperture */
- +#define ADL_XFIREX_STATE_P2PFLUSH_REQUIRED ADL_XFIREX_STATE_P2P_APERTURE_MAPPING /* For back compatible */
- +#define ADL_XFIREX_STATE_XSP_CONNECTED ( 1 << 26 ) /* There is CrossfireX side port connection between GPUs */
- +#define ADL_XFIREX_STATE_ENABLE_CF_REBOOT_REQUIRED ( 1 << 27 ) /* System needs a reboot bofore enable CrossfireX */
- +#define ADL_XFIREX_STATE_DISABLE_CF_REBOOT_REQUIRED ( 1 << 28 ) /* System needs a reboot after disable CrossfireX */
- +#define ADL_XFIREX_STATE_DRV_HANDLE_DOWNGRADE_KEY ( 1 << 29 ) /* Indicate base driver handles the downgrade key updating */
- +#define ADL_XFIREX_STATE_CF_RECONFIG_REQUIRED ( 1 << 30 ) /* CrossfireX need to be reconfigured by CCC because of a LDA chain broken */
- +#define ADL_XFIREX_STATE_ERRORGETTINGSTATUS ( 1 << 31 ) /* Could not obtain current status */
- +// @}
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_DISPLAY_ADJUSTMENT_PIXELFORMAT adjustment values
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +/// \defgroup define_pixel_formats Pixel Formats values
- +/// This group defines the various Pixel Formats that a particular digital display can support. \n
- +/// Since a display can support multiple formats, these values can be bit-or'ed to indicate the various formats \n
- +// @{
- +#define ADL_DISPLAY_PIXELFORMAT_UNKNOWN 0
- +#define ADL_DISPLAY_PIXELFORMAT_RGB (1 << 0)
- +#define ADL_DISPLAY_PIXELFORMAT_YCRCB444 (1 << 1) //Limited range
- +#define ADL_DISPLAY_PIXELFORMAT_YCRCB422 (1 << 2) //Limited range
- +#define ADL_DISPLAY_PIXELFORMAT_RGB_LIMITED_RANGE (1 << 3)
- +#define ADL_DISPLAY_PIXELFORMAT_RGB_FULL_RANGE ADL_DISPLAY_PIXELFORMAT_RGB //Full range
- +// @}
- +
- +/// \defgroup define_contype Connector Type Values
- +/// ADLDisplayConfig.ulConnectorType defines
- +// @{
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_UNKNOWN 0
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NONI2C_JP 1
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_JPN 2
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NA 3
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NONI2C_NA 4
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_VGA 5
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DVI_D 6
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DVI_I 7
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_HDMI_TYPE_A 8
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_HDMI_TYPE_B 9
- +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DISPLAYPORT 10
- +// @}
- +
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_DISPLAY_DISPLAYINFO_ Definitions
- +// for ADLDisplayInfo.iDisplayInfoMask and ADLDisplayInfo.iDisplayInfoValue
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +/// \defgroup define_displayinfomask Display Info Mask Values
- +// @{
- +#define ADL_DISPLAY_DISPLAYINFO_DISPLAYCONNECTED 0x00000001
- +#define ADL_DISPLAY_DISPLAYINFO_DISPLAYMAPPED 0x00000002
- +#define ADL_DISPLAY_DISPLAYINFO_NONLOCAL 0x00000004
- +#define ADL_DISPLAY_DISPLAYINFO_FORCIBLESUPPORTED 0x00000008
- +#define ADL_DISPLAY_DISPLAYINFO_GENLOCKSUPPORTED 0x00000010
- +#define ADL_DISPLAY_DISPLAYINFO_MULTIVPU_SUPPORTED 0x00000020
- +
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_SINGLE 0x00000100
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_CLONE 0x00000200
- +
- +/// Legacy support for XP
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_2VSTRETCH 0x00000400
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_2HSTRETCH 0x00000800
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_EXTENDED 0x00001000
- +
- +/// More support manners
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_NSTRETCH1GPU 0x00010000
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_NSTRETCHNGPU 0x00020000
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_RESERVED2 0x00040000
- +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_RESERVED3 0x00080000
- +
- +/// Projector display type
- +#define ADL_DISPLAY_DISPLAYINFO_SHOWTYPE_PROJECTOR 0x00100000
- +
- +// @}
- +
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_ADAPTER_DISPLAY_MANNER_SUPPORTED_ Definitions
- +// for ADLAdapterDisplayCap of ADL_Adapter_Display_Cap()
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +/// \defgroup define_adaptermanner Adapter Manner Support Values
- +// @{
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NOTACTIVE 0x00000001
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_SINGLE 0x00000002
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_CLONE 0x00000004
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NSTRETCH1GPU 0x00000008
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NSTRETCHNGPU 0x00000010
- +
- +/// Legacy support for XP
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_2VSTRETCH 0x00000020
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_2HSTRETCH 0x00000040
- +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_EXTENDED 0x00000080
- +
- +#define ADL_ADAPTER_DISPLAYCAP_PREFERDISPLAY_SUPPORTED 0x00000100
- +#define ADL_ADAPTER_DISPLAYCAP_BEZEL_SUPPORTED 0x00000200
- +
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_DISPLAY_DISPLAYMAP_MANNER_ Definitions
- +// for ADLDisplayMap.iDisplayMapMask and ADLDisplayMap.iDisplayMapValue
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_RESERVED 0x00000001
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_NOTACTIVE 0x00000002
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_SINGLE 0x00000004
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_CLONE 0x00000008
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_RESERVED1 0x00000010 // Removed NSTRETCH
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_HSTRETCH 0x00000020
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_VSTRETCH 0x00000040
- +#define ADL_DISPLAY_DISPLAYMAP_MANNER_VLD 0x00000080
- +
- +// @}
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_DISPLAY_DISPLAYMAP_OPTION_ Definitions
- +// for iOption in function ADL_Display_DisplayMapConfig_Get
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +#define ADL_DISPLAY_DISPLAYMAP_OPTION_GPUINFO 0x00000001
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_DISPLAY_DISPLAYTARGET_ Definitions
- +// for ADLDisplayTarget.iDisplayTargetMask and ADLDisplayTarget.iDisplayTargetValue
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +#define ADL_DISPLAY_DISPLAYTARGET_PREFERRED 0x00000001
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_DISPLAY_POSSIBLEMAPRESULT_VALID Definitions
- +// for ADLPossibleMapResult.iPossibleMapResultMask and ADLPossibleMapResult.iPossibleMapResultValue
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +#define ADL_DISPLAY_POSSIBLEMAPRESULT_VALID 0x00000001
- +#define ADL_DISPLAY_POSSIBLEMAPRESULT_BEZELSUPPORTED 0x00000002
- +#define ADL_DISPLAY_POSSIBLEMAPRESULT_OVERLAPSUPPORTED 0x00000004
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_DISPLAY_MODE_ Definitions
- +// for ADLMode.iModeMask, ADLMode.iModeValue, and ADLMode.iModeFlag
- +// (bit-vector)
- +///////////////////////////////////////////////////////////////////////////
- +/// \defgroup define_displaymode Display Mode Values
- +// @{
- +#define ADL_DISPLAY_MODE_COLOURFORMAT_565 0x00000001
- +#define ADL_DISPLAY_MODE_COLOURFORMAT_8888 0x00000002
- +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_000 0x00000004
- +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_090 0x00000008
- +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_180 0x00000010
- +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_270 0x00000020
- +#define ADL_DISPLAY_MODE_REFRESHRATE_ROUNDED 0x00000040
- +#define ADL_DISPLAY_MODE_REFRESHRATE_ONLY 0x00000080
- +
- +#define ADL_DISPLAY_MODE_PROGRESSIVE_FLAG 0
- +#define ADL_DISPLAY_MODE_INTERLACED_FLAG 2
- +// @}
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADL_OSMODEINFO Definitions
- +///////////////////////////////////////////////////////////////////////////
- +/// \defgroup define_osmode OS Mode Values
- +// @{
- +#define ADL_OSMODEINFOXPOS_DEFAULT -640
- +#define ADL_OSMODEINFOYPOS_DEFAULT 0
- +#define ADL_OSMODEINFOXRES_DEFAULT 640
- +#define ADL_OSMODEINFOYRES_DEFAULT 480
- +#define ADL_OSMODEINFOXRES_DEFAULT800 800
- +#define ADL_OSMODEINFOYRES_DEFAULT600 600
- +#define ADL_OSMODEINFOREFRESHRATE_DEFAULT 60
- +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT 8
- +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT16 16
- +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT24 24
- +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT32 32
- +#define ADL_OSMODEINFOORIENTATION_DEFAULT 0
- +#define ADL_OSMODEINFOORIENTATION_DEFAULT_WIN7 DISPLAYCONFIG_ROTATION_FORCE_UINT32
- +#define ADL_OSMODEFLAG_DEFAULT 0
- +// @}
- +
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADLPurposeCode Enumeration
- +///////////////////////////////////////////////////////////////////////////
- +enum ADLPurposeCode
- +{
- + ADL_PURPOSECODE_NORMAL = 0,
- + ADL_PURPOSECODE_HIDE_MODE_SWITCH,
- + ADL_PURPOSECODE_MODE_SWITCH,
- + ADL_PURPOSECODE_ATTATCH_DEVICE,
- + ADL_PURPOSECODE_DETACH_DEVICE,
- + ADL_PURPOSECODE_SETPRIMARY_DEVICE,
- + ADL_PURPOSECODE_GDI_ROTATION,
- + ADL_PURPOSECODE_ATI_ROTATION,
- +};
- +///////////////////////////////////////////////////////////////////////////
- +// ADLAngle Enumeration
- +///////////////////////////////////////////////////////////////////////////
- +enum ADLAngle
- +{
- + ADL_ANGLE_LANDSCAPE = 0,
- + ADL_ANGLE_ROTATERIGHT = 90,
- + ADL_ANGLE_ROTATE180 = 180,
- + ADL_ANGLE_ROTATELEFT = 270,
- +};
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADLOrientationDataType Enumeration
- +///////////////////////////////////////////////////////////////////////////
- +enum ADLOrientationDataType
- +{
- + ADL_ORIENTATIONTYPE_OSDATATYPE,
- + ADL_ORIENTATIONTYPE_NONOSDATATYPE
- +};
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADLPanningMode Enumeration
- +///////////////////////////////////////////////////////////////////////////
- +enum ADLPanningMode
- +{
- + ADL_PANNINGMODE_NO_PANNING = 0,
- + ADL_PANNINGMODE_AT_LEAST_ONE_NO_PANNING = 1,
- + ADL_PANNINGMODE_ALLOW_PANNING = 2,
- +};
- +
- +///////////////////////////////////////////////////////////////////////////
- +// ADLLARGEDESKTOPTYPE Enumeration
- +///////////////////////////////////////////////////////////////////////////
- +enum ADLLARGEDESKTOPTYPE
- +{
- + ADL_LARGEDESKTOPTYPE_NORMALDESKTOP = 0,
- + ADL_LARGEDESKTOPTYPE_PSEUDOLARGEDESKTOP = 1,
- + ADL_LARGEDESKTOPTYPE_VERYLARGEDESKTOP = 2,
- +};
- +
- +// Other Definitions for internal use
- +
- +// Values for ADL_Display_WriteAndReadI2CRev_Get()
- +
- +#define ADL_I2C_MAJOR_API_REV 0x00000001
- +#define ADL_I2C_MINOR_DEFAULT_API_REV 0x00000000
- +#define ADL_I2C_MINOR_OEM_API_REV 0x00000001
- +
- +// Values for ADL_Display_WriteAndReadI2C()
- +#define ADL_DL_I2C_LINE_OEM 0x00000001
- +#define ADL_DL_I2C_LINE_OD_CONTROL 0x00000002
- +#define ADL_DL_I2C_LINE_OEM2 0x00000003
- +#define ADL_DL_I2C_LINE_OEM3 0x00000004
- +#define ADL_DL_I2C_LINE_OEM4 0x00000005
- +#define ADL_DL_I2C_LINE_OEM5 0x00000006
- +#define ADL_DL_I2C_LINE_OEM6 0x00000007
- +
- +// Max size of I2C data buffer
- +#define ADL_DL_I2C_MAXDATASIZE 0x00000040
- +#define ADL_DL_I2C_MAXWRITEDATASIZE 0x0000000C
- +#define ADL_DL_I2C_MAXADDRESSLENGTH 0x00000006
- +#define ADL_DL_I2C_MAXOFFSETLENGTH 0x00000004
- +
- +
- +/// Values for ADLDisplayProperty.iPropertyType
- +#define ADL_DL_DISPLAYPROPERTY_TYPE_UNKNOWN 0
- +#define ADL_DL_DISPLAYPROPERTY_TYPE_EXPANSIONMODE 1
- +#define ADL_DL_DISPLAYPROPERTY_TYPE_USEUNDERSCANSCALING 2
- +/// Enables ITC processing for HDMI panels that are capable of the feature
- +#define ADL_DL_DISPLAYPROPERTY_TYPE_ITCFLAGENABLE 9
- +
- +
- +/// Values for ADLDisplayContent.iContentType
- +/// Certain HDMI panels that support ITC have support for a feature such that, the display on the panel
- +/// can be adjusted to optimize the view of the content being displayed, depending on the type of content.
- +#define ADL_DL_DISPLAYCONTENT_TYPE_GRAPHICS 1
- +#define ADL_DL_DISPLAYCONTENT_TYPE_PHOTO 2
- +#define ADL_DL_DISPLAYCONTENT_TYPE_CINEMA 4
- +#define ADL_DL_DISPLAYCONTENT_TYPE_GAME 8
- +
- +
- +
- +
- +
- +//values for ADLDisplayProperty.iExpansionMode
- +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_CENTER 0
- +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_FULLSCREEN 1
- +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_ASPECTRATIO 2
- +
- +//values for ADL_Display_DitherState_Get
- +#define ADL_DL_DISPLAY_DITHER_UNKNOWN 0
- +#define ADL_DL_DISPLAY_DITHER_DISABLED 1
- +#define ADL_DL_DISPLAY_DITHER_ENABLED 2
- +
- +/// Display Get Cached EDID flag
- +#define ADL_MAX_EDIDDATA_SIZE 256 // number of UCHAR
- +#define ADL_MAX_OVERRIDEEDID_SIZE 512 // number of UCHAR
- +#define ADL_MAX_EDID_EXTENSION_BLOCKS 3
- +
- +#define ADL_DL_CONTROLLER_OVERLAY_ALPHA 0
- +#define ADL_DL_CONTROLLER_OVERLAY_ALPHAPERPIX 1
- +
- +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_RESET 0x00000000
- +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_SET 0x00000001
- +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_SCAN 0x00000002
- +
- +///\defgroup define_display_packet Display Data Packet Types
- +// @{
- +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__AVI 0x00000001
- +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__RESERVED 0x00000002
- +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__VENDORINFO 0x00000004
- +// @}
- +
- +// matrix types
- +#define ADL_GAMUT_MATRIX_SD 1 // SD matrix i.e. BT601
- +#define ADL_GAMUT_MATRIX_HD 2 // HD matrix i.e. BT709
- +
- +///\defgroup define_clockinfo_flags Clock flags
- +/// Used by ADLAdapterODClockInfo.iFlag
- +// @{
- +#define ADL_DL_CLOCKINFO_FLAG_FULLSCREEN3DONLY 0x00000001
- +#define ADL_DL_CLOCKINFO_FLAG_ALWAYSFULLSCREEN3D 0x00000002
- +#define ADL_DL_CLOCKINFO_FLAG_VPURECOVERYREDUCED 0x00000004
- +#define ADL_DL_CLOCKINFO_FLAG_THERMALPROTECTION 0x00000008
- +// @}
- +
- +// Supported GPUs
- +// ADL_Display_PowerXpressActiveGPU_Get()
- +#define ADL_DL_POWERXPRESS_GPU_INTEGRATED 1
- +#define ADL_DL_POWERXPRESS_GPU_DISCRETE 2
- +
- +// Possible values for lpOperationResult
- +// ADL_Display_PowerXpressActiveGPU_Get()
- +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_STARTED 1 // Switch procedure has been started - Windows platform only
- +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_DECLINED 2 // Switch procedure cannot be started - All platforms
- +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_ALREADY 3 // System already has required status - All platforms
- +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_DEFERRED 5 // Switch was deferred and requires an X restart - Linux platform only
- +
- +// PowerXpress support version
- +// ADL_Display_PowerXpressVersion_Get()
- +#define ADL_DL_POWERXPRESS_VERSION_MAJOR 2 // Current PowerXpress support version 2.0
- +#define ADL_DL_POWERXPRESS_VERSION_MINOR 0
- +
- +#define ADL_DL_POWERXPRESS_VERSION (((ADL_DL_POWERXPRESS_VERSION_MAJOR) << 16) | ADL_DL_POWERXPRESS_VERSION_MINOR)
- +
- +//values for ADLThermalControllerInfo.iThermalControllerDomain
- +#define ADL_DL_THERMAL_DOMAIN_OTHER 0
- +#define ADL_DL_THERMAL_DOMAIN_GPU 1
- +
- +//values for ADLThermalControllerInfo.iFlags
- +#define ADL_DL_THERMAL_FLAG_INTERRUPT 1
- +#define ADL_DL_THERMAL_FLAG_FANCONTROL 2
- +
- +///\defgroup define_fanctrl Fan speed cotrol
- +/// Values for ADLFanSpeedInfo.iFlags
- +// @{
- +#define ADL_DL_FANCTRL_SUPPORTS_PERCENT_READ 1
- +#define ADL_DL_FANCTRL_SUPPORTS_PERCENT_WRITE 2
- +#define ADL_DL_FANCTRL_SUPPORTS_RPM_READ 4
- +#define ADL_DL_FANCTRL_SUPPORTS_RPM_WRITE 8
- +// @}
- +
- +//values for ADLFanSpeedValue.iSpeedType
- +#define ADL_DL_FANCTRL_SPEED_TYPE_PERCENT 1
- +#define ADL_DL_FANCTRL_SPEED_TYPE_RPM 2
- +
- +//values for ADLFanSpeedValue.iFlags
- +#define ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED 1
- +
- +// MVPU interfaces
- +#define ADL_DL_MAX_MVPU_ADAPTERS 4
- +#define MVPU_ADAPTER_0 0x00000001
- +#define MVPU_ADAPTER_1 0x00000002
- +#define MVPU_ADAPTER_2 0x00000004
- +#define MVPU_ADAPTER_3 0x00000008
- +#define ADL_DL_MAX_REGISTRY_PATH 256
- +
- +//values for ADLMVPUStatus.iStatus
- +#define ADL_DL_MVPU_STATUS_OFF 0
- +#define ADL_DL_MVPU_STATUS_ON 1
- +
- +// values for ASIC family
- +///\defgroup define_Asic_type Detailed asic types
- +/// Defines for Adapter ASIC family type
- +// @{
- +#define ADL_ASIC_UNDEFINED 0
- +#define ADL_ASIC_DISCRETE (1 << 0)
- +#define ADL_ASIC_INTEGRATED (1 << 1)
- +#define ADL_ASIC_FIREGL (1 << 2)
- +#define ADL_ASIC_FIREMV (1 << 3)
- +#define ADL_ASIC_XGP (1 << 4)
- +#define ADL_ASIC_FUSION (1 << 5)
- +#define ADL_ASIC_FIRESTREAM (1 << 6)
- +// @}
- +
- +///\defgroup define_detailed_timing_flags Detailed Timimg Flags
- +/// Defines for ADLDetailedTiming.sTimingFlags field
- +// @{
- +#define ADL_DL_TIMINGFLAG_DOUBLE_SCAN 0x0001
- +#define ADL_DL_TIMINGFLAG_INTERLACED 0x0002
- +#define ADL_DL_TIMINGFLAG_H_SYNC_POLARITY 0x0004
- +#define ADL_DL_TIMINGFLAG_V_SYNC_POLARITY 0x0008
- +// @}
- +
- +///\defgroup define_modetiming_standard Timing Standards
- +/// Defines for ADLDisplayModeInfo.iTimingStandard field
- +// @{
- +#define ADL_DL_MODETIMING_STANDARD_CVT 0x00000001 // CVT Standard
- +#define ADL_DL_MODETIMING_STANDARD_GTF 0x00000002 // GFT Standard
- +#define ADL_DL_MODETIMING_STANDARD_DMT 0x00000004 // DMT Standard
- +#define ADL_DL_MODETIMING_STANDARD_CUSTOM 0x00000008 // User-defined standard
- +#define ADL_DL_MODETIMING_STANDARD_DRIVER_DEFAULT 0x00000010 // Remove Mode from overriden list
- +// @}
- +
- +// \defgroup define_xserverinfo driver x-server info
- +/// These flags are used by ADL_XServerInfo_Get()
- +// @
- +
- +/// Xinerama is active in the x-server, Xinerama extension may report it to be active but it
- +/// may not be active in x-server
- +#define ADL_XSERVERINFO_XINERAMAACTIVE (1<<0)
- +
- +/// RandR 1.2 is supported by driver, RandR extension may report version 1.2
- +/// but driver may not support it
- +#define ADL_XSERVERINFO_RANDR12SUPPORTED (1<<1)
- +// @
- +
- +
- +///\defgroup define_eyefinity_constants Eyefinity Definitions
- +// @{
- +
- +#define ADL_CONTROLLERVECTOR_0 1 // ADL_CONTROLLERINDEX_0 = 0, (1 << ADL_CONTROLLERINDEX_0)
- +#define ADL_CONTROLLERVECTOR_1 2 // ADL_CONTROLLERINDEX_1 = 1, (1 << ADL_CONTROLLERINDEX_1)
- +
- +#define ADL_DISPLAY_SLSGRID_ORIENTATION_000 0x00000001
- +#define ADL_DISPLAY_SLSGRID_ORIENTATION_090 0x00000002
- +#define ADL_DISPLAY_SLSGRID_ORIENTATION_180 0x00000004
- +#define ADL_DISPLAY_SLSGRID_ORIENTATION_270 0x00000008
- +#define ADL_DISPLAY_SLSGRID_CAP_OPTION_RELATIVETO_LANDSCAPE 0x00000001
- +#define ADL_DISPLAY_SLSGRID_CAP_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
- +#define ADL_DISPLAY_SLSGRID_PORTAIT_MODE 0x00000004
- +
- +
- +#define ADL_DISPLAY_SLSMAPCONFIG_GET_OPTION_RELATIVETO_LANDSCAPE 0x00000001
- +#define ADL_DISPLAY_SLSMAPCONFIG_GET_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
- +
- +#define ADL_DISPLAY_SLSMAPCONFIG_CREATE_OPTION_RELATIVETO_LANDSCAPE 0x00000001
- +#define ADL_DISPLAY_SLSMAPCONFIG_CREATE_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
- +
- +#define ADL_DISPLAY_SLSMAPCONFIG_REARRANGE_OPTION_RELATIVETO_LANDSCAPE 0x00000001
- +#define ADL_DISPLAY_SLSMAPCONFIG_REARRANGE_OPTION_RELATIVETO_CURRENTANGLE 0x00000002
- +
- +
- +#define ADL_DISPLAY_SLSGRID_RELATIVETO_LANDSCAPE 0x00000010
- +#define ADL_DISPLAY_SLSGRID_RELATIVETO_CURRENTANGLE 0x00000020
- +
- +
- +/// The bit mask identifies displays is currently in bezel mode.
- +#define ADL_DISPLAY_SLSMAP_BEZELMODE 0x00000010
- +/// The bit mask identifies displays from this map is arranged.
- +#define ADL_DISPLAY_SLSMAP_DISPLAYARRANGED 0x00000002
- +/// The bit mask identifies this map is currently in used for the current adapter.
- +#define ADL_DISPLAY_SLSMAP_CURRENTCONFIG 0x00000004
- +
- + ///For onlay active SLS map info
- +#define ADL_DISPLAY_SLSMAPINDEXLIST_OPTION_ACTIVE 0x00000001
- +
- +///For Bezel
- +#define ADL_DISPLAY_BEZELOFFSET_STEPBYSTEPSET 0x00000004
- +#define ADL_DISPLAY_BEZELOFFSET_COMMIT 0x00000008
- +
- +// @}
- +
- +///\defgroup define_powerxpress_constants PowerXpress Definitions
- +// @{
- +
- +/// The bit mask identifies PX caps for ADLPXConfigCaps.iPXConfigCapMask and ADLPXConfigCaps.iPXConfigCapValue
- +#define ADL_PX_CONFIGCAPS_SPLASHSCREEN_SUPPORT 0x0001
- +#define ADL_PX_CONFIGCAPS_CF_SUPPORT 0x0002
- +#define ADL_PX_CONFIGCAPS_MUXLESS 0x0004
- +#define ADL_PX_CONFIGCAPS_PROFILE_COMPLIANT 0x0008
- +#define ADL_PX_CONFIGCAPS_NON_AMD_DRIVEN_DISPLAYS 0x0010
- +#define ADL_PX_CONFIGCAPS_FIXED_SUPPORT 0x0020
- +#define ADL_PX_CONFIGCAPS_DYNAMIC_SUPPORT 0x0040
- +#define ADL_PX_CONFIGCAPS_HIDE_AUTO_SWITCH 0x0080
- +
- +/// The bit mask identifies PX schemes for ADLPXSchemeRange
- +#define ADL_PX_SCHEMEMASK_FIXED 0x0001
- +#define ADL_PX_SCHEMEMASK_DYNAMIC 0x0002
- +
- +/// PX Schemes
- +typedef enum _ADLPXScheme
- +{
- + ADL_PX_SCHEME_INVALID = 0,
- + ADL_PX_SCHEME_FIXED = ADL_PX_SCHEMEMASK_FIXED,
- + ADL_PX_SCHEME_DYNAMIC = ADL_PX_SCHEMEMASK_DYNAMIC,
- +}ADLPXScheme;
- +
- +/// Just keep the old definitions for compatibility, need to be removed later
- +typedef enum PXScheme
- +{
- + PX_SCHEME_INVALID = 0,
- + PX_SCHEME_FIXED = 1,
- + PX_SCHEME_DYNAMIC = 2
- +} PXScheme;
- +
- +
- +// @}
- +
- +///\defgroup define_appprofiles For Application Profiles
- +// @{
- +
- +#define ADL_APP_PROFILE_FILENAME_LENGTH 64
- +#define ADL_APP_PROFILE_TIMESTAMP_LENGTH 32
- +#define ADL_APP_PROFILE_VERSION_LENGTH 32
- +#define ADL_APP_PROFILE_PROPERTY_LENGTH 64
- +
- +enum ApplicationListType
- +{
- + ADL_PX40_MRU,
- + ADL_PX40_MISSED,
- + ADL_PX40_DISCRETE,
- + ADL_PX40_INTEGRATED,
- +
- + ADL_PX40_TOTAL,
- +};
- +
- +typedef enum _ADLProfilePropertyType
- +{
- + ADL_PROFILEPROPERTY_TYPE_BINARY = 0,
- + ADL_PROFILEPROPERTY_TYPE_BOOLEAN,
- + ADL_PROFILEPROPERTY_TYPE_DWORD,
- + ADL_PROFILEPROPERTY_TYPE_QWORD,
- + ADL_PROFILEPROPERTY_TYPE_ENUMERATED,
- + ADL_PROFILEPROPERTY_TYPE_STRING,
- +}ADLProfilePropertyType;
- +
- +// @}
- +
- +///\defgroup define_dp12 For Display Port 1.2
- +// @{
- +
- +/// Maximum Relative Address Link
- +#define ADL_MAX_RAD_LINK_COUNT 15
- +
- +// @}
- +
- +///\defgroup defines_gamutspace Driver Supported Gamut Space
- +// @{
- +
- +/// The flags desribes that gamut is related to source or to destination and to overlay or to graphics
- +#define ADL_GAMUT_REFERENCE_SOURCE (1 << 0)
- +#define ADL_GAMUT_GAMUT_VIDEO_CONTENT (1 << 1)
- +
- +/// The flags are used to describe the source of gamut and how read information from struct ADLGamutData
- +#define ADL_CUSTOM_WHITE_POINT (1 << 0)
- +#define ADL_CUSTOM_GAMUT (1 << 1)
- +
- +/// The define means the predefined gamut values .
- +///Driver uses to find entry in the table and apply appropriate gamut space.
- +#define ADL_GAMUT_SPACE_CCIR_709 (1 << 0)
- +#define ADL_GAMUT_SPACE_CCIR_601 (1 << 1)
- +#define ADL_GAMUT_SPACE_ADOBE_RGB (1 << 2)
- +#define ADL_GAMUT_SPACE_CIE_RGB (1 << 3)
- +#define ADL_GAMUT_SPACE_CUSTOM (1 << 4)
- +
- +/// Predefine white point values are structed similar to gamut .
- +#define ADL_WHITE_POINT_5000K (1 << 0)
- +#define ADL_WHITE_POINT_6500K (1 << 1)
- +#define ADL_WHITE_POINT_7500K (1 << 2)
- +#define ADL_WHITE_POINT_9300K (1 << 3)
- +#define ADL_WHITE_POINT_CUSTOM (1 << 4)
- +
- +///gamut and white point coordinates are from 0.0 -1.0 and divider is used to find the real value .
- +/// X float = X int /divider
- +#define ADL_GAMUT_WHITEPOINT_DIVIDER 10000
- +
- +///gamma a0 coefficient uses the following divider:
- +#define ADL_REGAMMA_COEFFICIENT_A0_DIVIDER 10000000
- +///gamma a1 ,a2,a3 coefficients use the following divider:
- +#define ADL_REGAMMA_COEFFICIENT_A1A2A3_DIVIDER 1000
- +
- +///describes whether the coefficients are from EDID or custom user values.
- +#define ADL_EDID_REGAMMA_COEFFICIENTS (1 << 0)
- +///Used for struct ADLRegamma.Feature if set use gamma ramp , if missing use regamma coefficents
- +#define ADL_USE_GAMMA_RAMP (1 << 4)
- +
- +// @}
- +
- +/// \defgroup define_ddcinfo_pixelformats DDCInfo Pixel Formats
- +// @{
- +/// defines for iPanelPixelFormat in struct ADLDDCInfo2
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB656 0x00000001L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB666 0x00000002L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB888 0x00000004L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB101010 0x00000008L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB161616 0x00000010L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED1 0x00000020L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED2 0x00000040L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED3 0x00000080L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_XRGB_BIAS101010 0x00000100L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_8BPCC 0x00000200L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_10BPCC 0x00000400L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_12BPCC 0x00000800L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_8BPCC 0x00001000L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_10BPCC 0x00002000L
- +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_12BPCC 0x00004000L
- +// @}
- +
- +
- +
- +/// \defgroup define_dbd_state Deep Bit Depth
- +// @{
- +
- +/// defines for ADL_Workstation_DeepBitDepth_Get and ADL_Workstation_DeepBitDepth_Set functions
- +// This value indicates that the deep bit depth state is forced off
- +#define ADL_DEEPBITDEPTH_FORCEOFF 0
- +/// This value indicates that the deep bit depth state is set to auto, the driver will automatically enable the
- +/// appropriate deep bit depth state depending on what connected display supports.
- +#define ADL_DEEPBITDEPTH_10BPP_AUTO 1
- +/// This value indicates that the deep bit depth state is forced on to 10 bits per pixel, this is regardless if the display
- +/// supports 10 bpp.
- +#define ADL_DEEPBITDEPTH_10BPP_FORCEON 2
- +
- +/// defines for ADLAdapterConfigMemory of ADL_Adapter_ConfigMemory_Get
- +/// If this bit is set, it indicates that the Deep Bit Depth pixel is set on the display
- +#define ADL_ADAPTER_CONFIGMEMORY_DBD (1 << 0)
- +/// If this bit is set, it indicates that the display is rotated (90, 180 or 270)
- +#define ADL_ADAPTER_CONFIGMEMORY_ROTATE (1 << 1)
- +/// If this bit is set, it indicates that passive stereo is set on the display
- +#define ADL_ADAPTER_CONFIGMEMORY_STEREO_PASSIVE (1 << 2)
- +/// If this bit is set, it indicates that the active stereo is set on the display
- +#define ADL_ADAPTER_CONFIGMEMORY_STEREO_ACTIVE (1 << 3)
- +/// If this bit is set, it indicates that the tear free vsync is set on the display
- +#define ADL_ADAPTER_CONFIGMEMORY_ENHANCEDVSYNC (1 << 4)
- +#define ADL_ADAPTER_CONFIGMEMORY_TEARFREEVSYNC (1 << 4)
- +/// @}
- +
- +/// \defgroup define_adl_validmemoryrequiredfields Memory Type
- +/// @{
- +
- +/// This group defines memory types in ADLMemoryRequired struct \n
- +/// Indicates that this is the visible memory
- +#define ADL_MEMORYREQTYPE_VISIBLE (1 << 0)
- +/// Indicates that this is the invisible memory.
- +#define ADL_MEMORYREQTYPE_INVISIBLE (1 << 1)
- +/// Indicates that this is amount of visible memory per GPU that should be reserved for all other allocations.
- +#define ADL_MEMORYREQTYPE_GPURESERVEDVISIBLE (1 << 2)
- +/// @}
- +
- +/// \defgroup define_adapter_tear_free_status
- +/// Used in ADL_Adapter_TEAR_FREE_Set and ADL_Adapter_TFD_Get functions to indicate the tear free
- +/// desktop status.
- +/// @{
- +/// Tear free desktop is enabled.
- +#define ADL_ADAPTER_TEAR_FREE_ON 1
- +/// Tear free desktop can't be enabled due to a lack of graphic adapter memory.
- +#define ADL_ADAPTER_TEAR_FREE_NOTENOUGHMEM -1
- +/// Tear free desktop can't be enabled due to quad buffer stereo being enabled.
- +#define ADL_ADAPTER_TEAR_FREE_OFF_ERR_QUADBUFFERSTEREO -2
- +/// Tear free desktop is disabled.
- +#define ADL_ADAPTER_TEAR_FREE_OFF 0
- +/// @}
- +
- +/// \defgroup define_adapter_crossdisplay_platforminfo
- +/// Used in ADL_Adapter_CrossDisplayPlatformInfo_Get function to indicate the Crossdisplay platform info.
- +/// @{
- +/// CROSSDISPLAY platform.
- +#define ADL_CROSSDISPLAY_PLATFORM (1 << 0)
- +/// CROSSDISPLAY platform for Lasso station.
- +#define ADL_CROSSDISPLAY_PLATFORM_LASSO (1 << 1)
- +/// CROSSDISPLAY platform for docking station.
- +#define ADL_CROSSDISPLAY_PLATFORM_DOCKSTATION (1 << 2)
- +/// @}
- +
- +/// \defgroup define_adapter_crossdisplay_option
- +/// Used in ADL_Adapter_CrossdisplayInfoX2_Set function to indicate cross display options.
- +/// @{
- +/// Checking if 3D application is runnning. If yes, not to do switch, return ADL_OK_WAIT; otherwise do switch.
- +#define ADL_CROSSDISPLAY_OPTION_NONE 0
- +/// Force switching without checking for running 3D applications
- +#define ADL_CROSSDISPLAY_OPTION_FORCESWITCH (1 << 0)
- +/// @}
- +
- +/// \defgroup define_adapter_states Adapter Capabilities
- +/// These defines the capabilities supported by an adapter. It is used by \ref ADL_Adapter_ConfigureState_Get
- +/// @{
- +/// Indicates that the adapter is headless (i.e. no displays can be connected to it)
- +#define ADL_ADAPTERCONFIGSTATE_HEADLESS ( 1 << 2 )
- +/// Indicates that the adapter is configured to define the main rendering capabilities. For example, adapters
- +/// in Crossfire(TM) configuration, this bit would only be set on the adapter driving the display(s).
- +#define ADL_ADAPTERCONFIGSTATE_REQUISITE_RENDER ( 1 << 0 )
- +/// Indicates that the adapter is configured to be used to unload some of the rendering work for a particular
- +/// requisite rendering adapter. For eample, for adapters in a Crossfire configuration, this bit would be set
- +/// on all adapters that are currently not driving the display(s)
- +#define ADL_ADAPTERCONFIGSTATE_ANCILLARY_RENDER ( 1 << 1 )
- +/// @}
- +
- +/// \defgroup define_controllermode_ulModifiers
- +/// These defines the detailed actions supported by set viewport. It is used by \ref ADL_Display_ViewPort_Set
- +/// @{
- +/// Indicate that the viewport set will change the view position
- +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_POSITION 0x00000001
- +/// Indicate that the viewport set will change the view PanLock
- +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_PANLOCK 0x00000002
- +/// Indicate that the viewport set will change the view size
- +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_SIZE 0x00000008
- +/// @}
- +
- +
- +// End Bracket for Constants and Definitions. Add new groups ABOVE this line!
- +
- +// @}
- +#endif /* ADL_DEFINES_H_ */
- +
- +
- --- /dev/null
- +++ cgminer-2.4.1/ADL_SDK/readme.txt
- @@ -0,0 +1,3 @@
- +Please insert AMD ADL files adl_defines.h adl_sdk.h adl_structures.h here.
- +They can be found here:
- +http://developer.amd.com/sdks/ADLSDK/Pages/default.aspx
- --- /dev/null
- +++ cgminer-2.4.1/ADL_SDK/adl_structures.h
- @@ -0,0 +1,1752 @@
- +///
- +/// Copyright (c) 2008 - 2012 Advanced Micro Devices, Inc.
- +
- +/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
- +/// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- +/// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
- +
- +/// \file adl_structures.h
- +///\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>
- +///
- +/// All data structures used in AMD Display Library (ADL) public interfaces should be defined in this header file.
- +///
- +
- +#ifndef ADL_STRUCTURES_H_
- +#define ADL_STRUCTURES_H_
- +
- +#include "adl_defines.h"
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the graphics adapter.
- +///
- +/// This structure is used to store various information about the graphics adapter. This
- +/// information can be returned to the user. Alternatively, it can be used to access various driver calls to set
- +/// or fetch various settings upon the user's request.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct AdapterInfo
- +{
- +/// \ALL_STRUCT_MEM
- +
- +/// Size of the structure.
- + int iSize;
- +/// The ADL index handle. One GPU may be associated with one or two index handles
- + int iAdapterIndex;
- +/// The unique device ID associated with this adapter.
- + char strUDID[ADL_MAX_PATH];
- +/// The BUS number associated with this adapter.
- + int iBusNumber;
- +/// The driver number associated with this adapter.
- + int iDeviceNumber;
- +/// The function number.
- + int iFunctionNumber;
- +/// The vendor ID associated with this adapter.
- + int iVendorID;
- +/// Adapter name.
- + char strAdapterName[ADL_MAX_PATH];
- +/// Display name. For example, "\\Display0" for Windows or ":0:0" for Linux.
- + char strDisplayName[ADL_MAX_PATH];
- +/// 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
- + int iPresent;
- +// @}
- +
- +#if defined (_WIN32) || defined (_WIN64)
- +/// \WIN_STRUCT_MEM
- +
- +/// Exist or not; 1 is exist and 0 is not present.
- + int iExist;
- +/// Driver registry path.
- + char strDriverPath[ADL_MAX_PATH];
- +/// Driver registry path Ext for.
- + char strDriverPathExt[ADL_MAX_PATH];
- +/// PNP string from Windows.
- + char strPNPString[ADL_MAX_PATH];
- +/// It is generated from EnumDisplayDevices.
- + int iOSDisplayIndex;
- +// @}
- +#endif /* (_WIN32) || (_WIN64) */
- +
- +#if defined (LINUX)
- +/// \LNX_STRUCT_MEM
- +
- +/// Internal X screen number from GPUMapInfo (DEPRICATED use XScreenInfo)
- + int iXScreenNum;
- +/// Internal driver index from GPUMapInfo
- + int iDrvIndex;
- +/// \deprecated Internal x config file screen identifier name. Use XScreenInfo instead.
- + char strXScreenConfigName[ADL_MAX_PATH];
- +
- +// @}
- +#endif /* (LINUX) */
- +} AdapterInfo, *LPAdapterInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the Linux X screen information.
- +///
- +/// This structure is used to store the current screen number and xorg.conf ID name assoicated with an adapter index.
- +/// This structure is updated during ADL_Main_Control_Refresh or ADL_ScreenInfo_Update.
- +/// Note: This structure should be used in place of iXScreenNum and strXScreenConfigName in AdapterInfo as they will be
- +/// deprecated.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +#if defined (LINUX)
- +typedef struct XScreenInfo
- +{
- +/// Internal X screen number from GPUMapInfo.
- + int iXScreenNum;
- +/// Internal x config file screen identifier name.
- + char strXScreenConfigName[ADL_MAX_PATH];
- +} XScreenInfo, *LPXScreenInfo;
- +#endif /* (LINUX) */
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the ASIC memory.
- +///
- +/// This structure is used to store various information about the ASIC memory. This
- +/// information can be returned to the user.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLMemoryInfo
- +{
- +/// Memory size in bytes.
- + long long iMemorySize;
- +/// Memory type in string.
- + char strMemoryType[ADL_MAX_PATH];
- +/// Memory bandwidth in Mbytes/s.
- + long long iMemoryBandwidth;
- +} ADLMemoryInfo, *LPADLMemoryInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about memory required by type
- +///
- +/// This structure is returned by ADL_Adapter_ConfigMemory_Get, which given a desktop and display configuration
- +/// will return the Memory used.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLMemoryRequired
- +{
- + long long iMemoryReq; /// Memory in bytes required
- + int iType; /// Type of Memory \ref define_adl_validmemoryrequiredfields
- + int iDisplayFeatureValue; /// Display features \ref define_adl_visiblememoryfeatures that are using this type of memory
- +} ADLMemoryRequired, *LPADLMemoryRequired;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the features associated with a display
- +///
- +/// This structure is a parameter to ADL_Adapter_ConfigMemory_Get, which given a desktop and display configuration
- +/// will return the Memory used.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLMemoryDisplayFeatures
- +{
- + int iDisplayIndex; /// ADL Display index
- + int iDisplayFeatureValue; /// features that the display is using \ref define_adl_visiblememoryfeatures
- +} ADLMemoryDisplayFeatures, *LPADLMemoryDisplayFeatures;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing DDC information.
- +///
- +/// This structure is used to store various DDC information that can be returned to the user.
- +/// Note that all fields of type int are actually defined as unsigned int types within the driver.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDDCInfo
- +{
- +/// Size of the structure
- + int ulSize;
- +/// Indicates whether the attached display supports DDC. If this field is zero on return, no other DDC information fields will be used.
- + int ulSupportsDDC;
- +/// Returns the manufacturer ID of the display device. Should be zeroed if this information is not available.
- + int ulManufacturerID;
- +/// Returns the product ID of the display device. Should be zeroed if this information is not available.
- + int ulProductID;
- +/// Returns the name of the display device. Should be zeroed if this information is not available.
- + char cDisplayName[ADL_MAX_DISPLAY_NAME];
- +/// Returns the maximum Horizontal supported resolution. Should be zeroed if this information is not available.
- + int ulMaxHResolution;
- +/// Returns the maximum Vertical supported resolution. Should be zeroed if this information is not available.
- + int ulMaxVResolution;
- +/// Returns the maximum supported refresh rate. Should be zeroed if this information is not available.
- + int ulMaxRefresh;
- +/// Returns the display device preferred timing mode's horizontal resolution.
- + int ulPTMCx;
- +/// Returns the display device preferred timing mode's vertical resolution.
- + int ulPTMCy;
- +/// Returns the display device preferred timing mode's refresh rate.
- + int ulPTMRefreshRate;
- +/// Return EDID flags.
- + int ulDDCInfoFlag;
- +} ADLDDCInfo, *LPADLDDCInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing DDC information.
- +///
- +/// This structure is used to store various DDC information that can be returned to the user.
- +/// Note that all fields of type int are actually defined as unsigned int types within the driver.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDDCInfo2
- +{
- +/// Size of the structure
- + int ulSize;
- +/// Indicates whether the attached display supports DDC. If this field is zero on return, no other DDC
- +/// information fields will be used.
- + int ulSupportsDDC;
- +/// Returns the manufacturer ID of the display device. Should be zeroed if this information is not available.
- + int ulManufacturerID;
- +/// Returns the product ID of the display device. Should be zeroed if this information is not available.
- + int ulProductID;
- +/// Returns the name of the display device. Should be zeroed if this information is not available.
- + char cDisplayName[ADL_MAX_DISPLAY_NAME];
- +/// Returns the maximum Horizontal supported resolution. Should be zeroed if this information is not available.
- + int ulMaxHResolution;
- +/// Returns the maximum Vertical supported resolution. Should be zeroed if this information is not available.
- + int ulMaxVResolution;
- +/// Returns the maximum supported refresh rate. Should be zeroed if this information is not available.
- + int ulMaxRefresh;
- +/// Returns the display device preferred timing mode's horizontal resolution.
- + int ulPTMCx;
- +/// Returns the display device preferred timing mode's vertical resolution.
- + int ulPTMCy;
- +/// Returns the display device preferred timing mode's refresh rate.
- + int ulPTMRefreshRate;
- +/// Return EDID flags.
- + int ulDDCInfoFlag;
- +// Returns 1 if the display supported packed pixel, 0 otherwise
- + int bPackedPixelSupported;
- +// Returns the Pixel formats the display supports \ref define_ddcinfo_pixelformats
- + int iPanelPixelFormat;
- +/// Return EDID serial ID.
- + int ulSerialID;
- +// Reserved for future use
- + int iReserved[26];
- +} ADLDDCInfo2, *LPADLDDCInfo2;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information controller Gamma settings.
- +///
- +/// This structure is used to store the red, green and blue color channel information for the.
- +/// controller gamma setting. This information is returned by ADL, and it can also be used to
- +/// set the controller gamma setting.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGamma
- +{
- +/// Red color channel gamma value.
- + float fRed;
- +/// Green color channel gamma value.
- + float fGreen;
- +/// Blue color channel gamma value.
- + float fBlue;
- +} ADLGamma, *LPADLGamma;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about component video custom modes.
- +///
- +/// This structure is used to store the component video custom mode.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLCustomMode
- +{
- +/// Custom mode flags. They are returned by the ADL driver.
- + int iFlags;
- +/// Custom mode width.
- + int iModeWidth;
- +/// Custom mode height.
- + int iModeHeight;
- +/// Custom mode base width.
- + int iBaseModeWidth;
- +/// Custom mode base height.
- + int iBaseModeHeight;
- +/// Custom mode refresh rate.
- + int iRefreshRate;
- +} ADLCustomMode, *LPADLCustomMode;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing Clock information for OD5 calls.
- +///
- +/// This structure is used to retrieve clock information for OD5 calls.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGetClocksOUT
- +{
- + long ulHighCoreClock;
- + long ulHighMemoryClock;
- + long ulHighVddc;
- + long ulCoreMin;
- + long ulCoreMax;
- + long ulMemoryMin;
- + long ulMemoryMax;
- + long ulActivityPercent;
- + long ulCurrentCoreClock;
- + long ulCurrentMemoryClock;
- + long ulReserved;
- +} ADLGetClocksOUT;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing HDTV information for display calls.
- +///
- +/// This structure is used to retrieve HDTV information information for display calls.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayConfig
- +{
- +/// Size of the structure
- + long ulSize;
- +/// HDTV connector type.
- + long ulConnectorType;
- +/// HDTV capabilities.
- + long ulDeviceData;
- +/// Overridden HDTV capabilities.
- + long ulOverridedDeviceData;
- +/// Reserved field
- + long ulReserved;
- +} ADLDisplayConfig;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display device.
- +///
- +/// This structure is used to store display device information
- +/// such as display index, type, name, connection status, mapped adapter and controller indexes,
- +/// whether or not multiple VPUs are supported, local display connections or not (through Lasso), etc.
- +/// This information can be returned to the user. Alternatively, it can be used to access various driver calls to set
- +/// or fetch various display device related settings upon the user's request.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayID
- +{
- +/// The logical display index belonging to this adapter.
- + int iDisplayLogicalIndex;
- +
- +///\brief The physical display index.
- +/// For example, display index 2 from adapter 2 can be used by current adapter 1.\n
- +/// So current adapter may enumerate this adapter as logical display 7 but the physical display
- +/// index is still 2.
- + int iDisplayPhysicalIndex;
- +
- +/// The persistent logical adapter index for the display.
- + int iDisplayLogicalAdapterIndex;
- +
- +///\brief The persistent physical adapter index for the display.
- +/// It can be the current adapter or a non-local adapter. \n
- +/// If this adapter index is different than the current adapter,
- +/// the Display Non Local flag is set inside DisplayInfoValue.
- + int iDisplayPhysicalAdapterIndex;
- +} ADLDisplayID, *LPADLDisplayID;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display device.
- +///
- +/// This structure is used to store various information about the display device. This
- +/// information can be returned to the user, or used to access various driver calls to set
- +/// or fetch various display-device-related settings upon the user's request
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayInfo
- +{
- +/// The DisplayID structure
- + ADLDisplayID displayID;
- +
- +///\deprecated The controller index to which the display is mapped.\n Will not be used in the future\n
- + int iDisplayControllerIndex;
- +
- +/// The display's EDID name.
- + char strDisplayName[ADL_MAX_PATH];
- +
- +/// The display's manufacturer name.
- + char strDisplayManufacturerName[ADL_MAX_PATH];
- +
- +/// The Display type. For example: CRT, TV, CV, DFP.
- + int iDisplayType;
- +
- +/// The display output type. For example: HDMI, SVIDEO, COMPONMNET VIDEO.
- + int iDisplayOutputType;
- +
- +/// The connector type for the device.
- + int iDisplayConnector;
- +
- +///\brief The bit mask identifies the number of bits ADLDisplayInfo is currently using. \n
- +/// It will be the sum all the bit definitions in ADL_DISPLAY_DISPLAYINFO_xxx.
- + int iDisplayInfoMask;
- +
- +/// The bit mask identifies the display status. \ref define_displayinfomask
- + int iDisplayInfoValue;
- +} ADLDisplayInfo, *LPADLDisplayInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display port MST device.
- +///
- +/// This structure is used to store various MST information about the display port device. This
- +/// information can be returned to the user, or used to access various driver calls to
- +/// fetch various display-device-related settings upon the user's request
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayDPMSTInfo
- +{
- + /// The ADLDisplayID structure
- + ADLDisplayID displayID;
- +
- + /// total bandwidth available on the DP connector
- + int iTotalAvailableBandwidthInMpbs;
- + /// bandwidth allocated to this display
- + int iAllocatedBandwidthInMbps;
- +
- + // info from DAL DpMstSinkInfo
- + /// string identifier for the display
- + char strGlobalUniqueIdentifier[ADL_MAX_PATH];
- +
- + /// The link count of relative address, rad[0] upto rad[linkCount] are valid
- + int radLinkCount;
- + /// The physical connector ID, used to identify the physical DP port
- + int iPhysicalConnectorID;
- +
- + /// Relative address, address scheme starts from source side
- + char rad[ADL_MAX_RAD_LINK_COUNT];
- +} ADLDisplayDPMSTInfo, *LPADLDisplayDPMSTInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing the display mode definition used per controller.
- +///
- +/// This structure is used to store the display mode definition used per controller.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayMode
- +{
- +/// Vertical resolution (in pixels).
- + int iPelsHeight;
- +/// Horizontal resolution (in pixels).
- + int iPelsWidth;
- +/// Color depth.
- + int iBitsPerPel;
- +/// Refresh rate.
- + int iDisplayFrequency;
- +} ADLDisplayMode;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing detailed timing parameters.
- +///
- +/// This structure is used to store the detailed timing parameters.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDetailedTiming
- +{
- +/// Size of the structure.
- + int iSize;
- +/// Timing flags. \ref define_detailed_timing_flags
- + short sTimingFlags;
- +/// Total width (columns).
- + short sHTotal;
- +/// Displayed width.
- + short sHDisplay;
- +/// Horizontal sync signal offset.
- + short sHSyncStart;
- +/// Horizontal sync signal width.
- + short sHSyncWidth;
- +/// Total height (rows).
- + short sVTotal;
- +/// Displayed height.
- + short sVDisplay;
- +/// Vertical sync signal offset.
- + short sVSyncStart;
- +/// Vertical sync signal width.
- + short sVSyncWidth;
- +/// Pixel clock value.
- + short sPixelClock;
- +/// Overscan right.
- + short sHOverscanRight;
- +/// Overscan left.
- + short sHOverscanLeft;
- +/// Overscan bottom.
- + short sVOverscanBottom;
- +/// Overscan top.
- + short sVOverscanTop;
- + short sOverscan8B;
- + short sOverscanGR;
- +} ADLDetailedTiming;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing display mode information.
- +///
- +/// This structure is used to store the display mode information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayModeInfo
- +{
- +/// Timing standard of the current mode. \ref define_modetiming_standard
- + int iTimingStandard;
- +/// Applicable timing standards for the current mode.
- + int iPossibleStandard;
- +/// Refresh rate factor.
- + int iRefreshRate;
- +/// Num of pixels in a row.
- + int iPelsWidth;
- +/// Num of pixels in a column.
- + int iPelsHeight;
- +/// Detailed timing parameters.
- + ADLDetailedTiming sDetailedTiming;
- +} ADLDisplayModeInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about display property.
- +///
- +/// This structure is used to store the display property for the current adapter.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayProperty
- +{
- +/// Must be set to sizeof the structure
- + int iSize;
- +/// Must be set to \ref ADL_DL_DISPLAYPROPERTY_TYPE_EXPANSIONMODE or \ref ADL_DL_DISPLAYPROPERTY_TYPE_USEUNDERSCANSCALING
- + int iPropertyType;
- +/// 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
- + int iExpansionMode;
- +/// Display Property supported? 1: Supported, 0: Not supported
- + int iSupport;
- +/// Display Property current value
- + int iCurrent;
- +/// Display Property Default value
- + int iDefault;
- +} ADLDisplayProperty;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about Clock.
- +///
- +/// This structure is used to store the clock information for the current adapter
- +/// such as core clock and memory clock info.
- +///\nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLClockInfo
- +{
- +/// Core clock in 10 KHz.
- + int iCoreClock;
- +/// Memory clock in 10 KHz.
- + int iMemoryClock;
- +} ADLClockInfo, *LPADLClockInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about I2C.
- +///
- +/// This structure is used to store the I2C information for the current adapter.
- +/// This structure is used by the ADL_Display_WriteAndReadI2C() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLI2C
- +{
- +/// Size of the structure
- + int iSize;
- +/// Numerical value representing hardware I2C.
- + int iLine;
- +/// The 7-bit I2C slave device address, shifted one bit to the left.
- + int iAddress;
- +/// The offset of the data from the address.
- + int iOffset;
- +/// 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
- + int iAction;
- +/// I2C clock speed in KHz.
- + int iSpeed;
- +/// A numerical value representing the number of bytes to be sent or received on the I2C bus.
- + int iDataSize;
- +/// Address of the characters which are to be sent or received on the I2C bus.
- + char *pcData;
- +} ADLI2C;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about EDID data.
- +///
- +/// This structure is used to store the information about EDID data for the adapter.
- +/// This structure is used by the ADL_Display_EdidData_Get() and ADL_Display_EdidData_Set() functions.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayEDIDData
- +{
- +/// Size of the structure
- + int iSize;
- +/// Set to 0
- + int iFlag;
- + /// Size of cEDIDData. Set by ADL_Display_EdidData_Get() upon return
- + int iEDIDSize;
- +/// 0, 1 or 2. If set to 3 or above an error ADL_ERR_INVALID_PARAM is generated
- + int iBlockIndex;
- +/// EDID data
- + char cEDIDData[ADL_MAX_EDIDDATA_SIZE];
- +/// Reserved
- + int iReserved[4];
- +}ADLDisplayEDIDData;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about input of controller overlay adjustment.
- +///
- +/// This structure is used to store the information about input of controller overlay adjustment for the adapter.
- +/// This structure is used by the ADL_Display_ControllerOverlayAdjustmentCaps_Get, ADL_Display_ControllerOverlayAdjustmentData_Get, and
- +/// ADL_Display_ControllerOverlayAdjustmentData_Set() functions.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLControllerOverlayInput
- +{
- +/// Should be set to the sizeof the structure
- + int iSize;
- +///\ref ADL_DL_CONTROLLER_OVERLAY_ALPHA or \ref ADL_DL_CONTROLLER_OVERLAY_ALPHAPERPIX
- + int iOverlayAdjust;
- +/// Data.
- + int iValue;
- +/// Should be 0.
- + int iReserved;
- +} ADLControllerOverlayInput;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about overlay adjustment.
- +///
- +/// This structure is used to store the information about overlay adjustment for the adapter.
- +/// This structure is used by the ADLControllerOverlayInfo() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLAdjustmentinfo
- +{
- +/// Default value
- + int iDefault;
- +/// Minimum value
- + int iMin;
- +/// Maximum Value
- + int iMax;
- +/// Step value
- + int iStep;
- +} ADLAdjustmentinfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about controller overlay information.
- +///
- +/// This structure is used to store information about controller overlay info for the adapter.
- +/// This structure is used by the ADL_Display_ControllerOverlayAdjustmentCaps_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLControllerOverlayInfo
- +{
- +/// Should be set to the sizeof the structure
- + int iSize;
- +/// Data.
- + ADLAdjustmentinfo sOverlayInfo;
- +/// Should be 0.
- + int iReserved[3];
- +} ADLControllerOverlayInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing GL-Sync module information.
- +///
- +/// This structure is used to retrieve GL-Sync module information for
- +/// Workstation Framelock/Genlock.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGLSyncModuleID
- +{
- +/// Unique GL-Sync module ID.
- + int iModuleID;
- +/// GL-Sync GPU port index (to be passed into ADLGLSyncGenlockConfig.lSignalSource and ADLGlSyncPortControl.lSignalSource).
- + int iGlSyncGPUPort;
- +/// GL-Sync module firmware version of Boot Sector.
- + int iFWBootSectorVersion;
- +/// GL-Sync module firmware version of User Sector.
- + int iFWUserSectorVersion;
- +} ADLGLSyncModuleID , *LPADLGLSyncModuleID;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing GL-Sync ports capabilities.
- +///
- +/// This structure is used to retrieve hardware capabilities for the ports of the GL-Sync module
- +/// for Workstation Framelock/Genlock (such as port type and number of associated LEDs).
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGLSyncPortCaps
- +{
- +/// Port type. Bitfield of ADL_GLSYNC_PORTTYPE_* \ref define_glsync
- + int iPortType;
- +/// Number of LEDs associated for this port.
- + int iNumOfLEDs;
- +}ADLGLSyncPortCaps, *LPADLGLSyncPortCaps;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing GL-Sync Genlock settings.
- +///
- +/// This structure is used to get and set genlock settings for the GPU ports of the GL-Sync module
- +/// for Workstation Framelock/Genlock.\n
- +/// \see define_glsync
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGLSyncGenlockConfig
- +{
- +/// Specifies what fields in this structure are valid \ref define_glsync
- + int iValidMask;
- +/// Delay (ms) generating a sync signal.
- + int iSyncDelay;
- +/// Vector of framelock control bits. Bitfield of ADL_GLSYNC_FRAMELOCKCNTL_* \ref define_glsync
- + int iFramelockCntlVector;
- +/// Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* \ref define_glsync
- + int iSignalSource;
- +/// Use sampled sync signal. A value of 0 specifies no sampling.
- + int iSampleRate;
- +/// For interlaced sync signals, the value can be ADL_GLSYNC_SYNCFIELD_1 or *_BOTH \ref define_glsync
- + int iSyncField;
- +/// The signal edge that should trigger synchronization. ADL_GLSYNC_TRIGGEREDGE_* \ref define_glsync
- + int iTriggerEdge;
- +/// Scan rate multiplier applied to the sync signal. ADL_GLSYNC_SCANRATECOEFF_* \ref define_glsync
- + int iScanRateCoeff;
- +}ADLGLSyncGenlockConfig, *LPADLGLSyncGenlockConfig;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing GL-Sync port information.
- +///
- +/// This structure is used to get status of the GL-Sync ports (BNC or RJ45s)
- +/// for Workstation Framelock/Genlock.
- +/// \see define_glsync
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGlSyncPortInfo
- +{
- +/// Type of GL-Sync port (ADL_GLSYNC_PORT_*).
- + int iPortType;
- +/// The number of LEDs for this port. It's also filled within ADLGLSyncPortCaps.
- + int iNumOfLEDs;
- +/// Port state ADL_GLSYNC_PORTSTATE_* \ref define_glsync
- + int iPortState;
- +/// Scanned frequency for this port (vertical refresh rate in milliHz; 60000 means 60 Hz).
- + int iFrequency;
- +/// Used for ADL_GLSYNC_PORT_BNC. It is ADL_GLSYNC_SIGNALTYPE_* \ref define_glsync
- + int iSignalType;
- +/// Used for ADL_GLSYNC_PORT_RJ45PORT*. It is GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_*. \ref define_glsync
- + int iSignalSource;
- +
- +} ADLGlSyncPortInfo, *LPADLGlSyncPortInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing GL-Sync port control settings.
- +///
- +/// This structure is used to configure the GL-Sync ports (RJ45s only)
- +/// for Workstation Framelock/Genlock.
- +/// \see define_glsync
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGlSyncPortControl
- +{
- +/// Port to control ADL_GLSYNC_PORT_RJ45PORT1 or ADL_GLSYNC_PORT_RJ45PORT2 \ref define_glsync
- + int iPortType;
- +/// Port control data ADL_GLSYNC_PORTCNTL_* \ref define_glsync
- + int iControlVector;
- +/// Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* \ref define_glsync
- + int iSignalSource;
- +} ADLGlSyncPortControl;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing GL-Sync mode of a display.
- +///
- +/// This structure is used to get and set GL-Sync mode settings for a display connected to
- +/// an adapter attached to a GL-Sync module for Workstation Framelock/Genlock.
- +/// \see define_glsync
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGlSyncMode
- +{
- +/// Mode control vector. Bitfield of ADL_GLSYNC_MODECNTL_* \ref define_glsync
- + int iControlVector;
- +/// Mode status vector. Bitfield of ADL_GLSYNC_MODECNTL_STATUS_* \ref define_glsync
- + int iStatusVector;
- +/// Index of GL-Sync connector used to genlock the display/controller.
- + int iGLSyncConnectorIndex;
- +} ADLGlSyncMode, *LPADLGlSyncMode;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing GL-Sync mode of a display.
- +///
- +/// This structure is used to get and set GL-Sync mode settings for a display connected to
- +/// an adapter attached to a GL-Sync module for Workstation Framelock/Genlock.
- +/// \see define_glsync
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLGlSyncMode2
- +{
- +/// Mode control vector. Bitfield of ADL_GLSYNC_MODECNTL_* \ref define_glsync
- + int iControlVector;
- +/// Mode status vector. Bitfield of ADL_GLSYNC_MODECNTL_STATUS_* \ref define_glsync
- + int iStatusVector;
- +/// Index of GL-Sync connector used to genlock the display/controller.
- + int iGLSyncConnectorIndex;
- +/// Index of the display to which this GLSync applies to.
- + int iDisplayIndex;
- +} ADLGlSyncMode2, *LPADLGlSyncMode2;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing the packet info of a display.
- +///
- +/// This structure is used to get and set the packet information of a display.
- +/// This structure is used by ADLDisplayDataPacket.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLInfoPacket
- +{
- + char hb0;
- + char hb1;
- + char hb2;
- +/// sb0~sb27
- + char sb[28];
- +}ADLInfoPacket;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing the AVI packet info of a display.
- +///
- +/// This structure is used to get and set AVI the packet info of a display.
- +/// This structure is used by ADLDisplayDataPacket.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLAVIInfoPacket //Valid user defined data/
- +{
- +/// byte 3, bit 7
- + char bPB3_ITC;
- +/// byte 5, bit [7:4].
- + char bPB5;
- +}ADLAVIInfoPacket;
- +
- +// Overdrive clock setting structure definition.
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing the Overdrive clock setting.
- +///
- +/// This structure is used to get the Overdrive clock setting.
- +/// This structure is used by ADLAdapterODClockInfo.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLODClockSetting
- +{
- +/// Deafult clock
- + int iDefaultClock;
- +/// Current clock
- + int iCurrentClock;
- +/// Maximum clcok
- + int iMaxClock;
- +/// Minimum clock
- + int iMinClock;
- +/// Requested clcock
- + int iRequestedClock;
- +/// Step
- + int iStepClock;
- +} ADLODClockSetting;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing the Overdrive clock information.
- +///
- +/// This structure is used to get the Overdrive clock information.
- +/// This structure is used by the ADL_Display_ODClockInfo_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLAdapterODClockInfo
- +{
- +/// Size of the structure
- + int iSize;
- +/// Flag \ref define_clockinfo_flags
- + int iFlags;
- +/// Memory Clock
- + ADLODClockSetting sMemoryClock;
- +/// Engine Clock
- + ADLODClockSetting sEngineClock;
- +} ADLAdapterODClockInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing the Overdrive clock configuration.
- +///
- +/// This structure is used to set the Overdrive clock configuration.
- +/// This structure is used by the ADL_Display_ODClockConfig_Set() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLAdapterODClockConfig
- +{
- +/// Size of the structure
- + int iSize;
- +/// Flag \ref define_clockinfo_flags
- + int iFlags;
- +/// Memory Clock
- + int iMemoryClock;
- +/// Engine Clock
- + int iEngineClock;
- +} ADLAdapterODClockConfig;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about current power management related activity.
- +///
- +/// This structure is used to store information about current power management related activity.
- +/// This structure (Overdrive 5 interfaces) is used by the ADL_PM_CurrentActivity_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLPMActivity
- +{
- +/// Must be set to the size of the structure
- + int iSize;
- +/// Current engine clock.
- + int iEngineClock;
- +/// Current memory clock.
- + int iMemoryClock;
- +/// Current core voltage.
- + int iVddc;
- +/// GPU utilization.
- + int iActivityPercent;
- +/// Performance level index.
- + int iCurrentPerformanceLevel;
- +/// Current PCIE bus speed.
- + int iCurrentBusSpeed;
- +/// Number of PCIE bus lanes.
- + int iCurrentBusLanes;
- +/// Maximum number of PCIE bus lanes.
- + int iMaximumBusLanes;
- +/// Reserved for future purposes.
- + int iReserved;
- +} ADLPMActivity;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about thermal controller.
- +///
- +/// This structure is used to store information about thermal controller.
- +/// This structure is used by ADL_PM_ThermalDevices_Enum.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLThermalControllerInfo
- +{
- +/// Must be set to the size of the structure
- + int iSize;
- +/// Possible valies: \ref ADL_DL_THERMAL_DOMAIN_OTHER or \ref ADL_DL_THERMAL_DOMAIN_GPU.
- + int iThermalDomain;
- +/// GPU 0, 1, etc.
- + int iDomainIndex;
- +/// Possible valies: \ref ADL_DL_THERMAL_FLAG_INTERRUPT or \ref ADL_DL_THERMAL_FLAG_FANCONTROL
- + int iFlags;
- +} ADLThermalControllerInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about thermal controller temperature.
- +///
- +/// This structure is used to store information about thermal controller temperature.
- +/// This structure is used by the ADL_PM_Temperature_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLTemperature
- +{
- +/// Must be set to the size of the structure
- + int iSize;
- +/// Temperature in millidegrees Celsius.
- + int iTemperature;
- +} ADLTemperature;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about thermal controller fan speed.
- +///
- +/// This structure is used to store information about thermal controller fan speed.
- +/// This structure is used by the ADL_PM_FanSpeedInfo_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLFanSpeedInfo
- +{
- +/// Must be set to the size of the structure
- + int iSize;
- +/// \ref define_fanctrl
- + int iFlags;
- +/// Minimum possible fan speed value in percents.
- + int iMinPercent;
- +/// Maximum possible fan speed value in percents.
- + int iMaxPercent;
- +/// Minimum possible fan speed value in RPM.
- + int iMinRPM;
- +/// Maximum possible fan speed value in RPM.
- + int iMaxRPM;
- +} ADLFanSpeedInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about fan speed reported by thermal controller.
- +///
- +/// This structure is used to store information about fan speed reported by thermal controller.
- +/// This structure is used by the ADL_Overdrive5_FanSpeed_Get() and ADL_Overdrive5_FanSpeed_Set() functions.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLFanSpeedValue
- +{
- +/// Must be set to the size of the structure
- + int iSize;
- +/// Possible valies: \ref ADL_DL_FANCTRL_SPEED_TYPE_PERCENT or \ref ADL_DL_FANCTRL_SPEED_TYPE_RPM
- + int iSpeedType;
- +/// Fan speed value
- + int iFanSpeed;
- +/// The only flag for now is: \ref ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED
- + int iFlags;
- +} ADLFanSpeedValue;
- +
- +////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing the range of Overdrive parameter.
- +///
- +/// This structure is used to store information about the range of Overdrive parameter.
- +/// This structure is used by ADLODParameters.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLODParameterRange
- +{
- +/// Minimum parameter value.
- + int iMin;
- +/// Maximum parameter value.
- + int iMax;
- +/// Parameter step value.
- + int iStep;
- +} ADLODParameterRange;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about Overdrive parameters.
- +///
- +/// This structure is used to store information about Overdrive parameters.
- +/// This structure is used by the ADL_Overdrive5_ODParameters_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLODParameters
- +{
- +/// Must be set to the size of the structure
- + int iSize;
- +/// Number of standard performance states.
- + int iNumberOfPerformanceLevels;
- +/// Indicates whether the GPU is capable to measure its activity.
- + int iActivityReportingSupported;
- +/// Indicates whether the GPU supports discrete performance levels or performance range.
- + int iDiscretePerformanceLevels;
- +/// Reserved for future use.
- + int iReserved;
- +/// Engine clock range.
- + ADLODParameterRange sEngineClock;
- +/// Memory clock range.
- + ADLODParameterRange sMemoryClock;
- +/// Core voltage range.
- + ADLODParameterRange sVddc;
- +} ADLODParameters;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about Overdrive level.
- +///
- +/// This structure is used to store information about Overdrive level.
- +/// This structure is used by ADLODPerformanceLevels.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLODPerformanceLevel
- +{
- +/// Engine clock.
- + int iEngineClock;
- +/// Memory clock.
- + int iMemoryClock;
- +/// Core voltage.
- + int iVddc;
- +} ADLODPerformanceLevel;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about Overdrive performance levels.
- +///
- +/// This structure is used to store information about Overdrive performance levels.
- +/// This structure is used by the ADL_Overdrive5_ODPerformanceLevels_Get() and ADL_Overdrive5_ODPerformanceLevels_Set() functions.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLODPerformanceLevels
- +{
- +/// Must be set to sizeof( \ref ADLODPerformanceLevels ) + sizeof( \ref ADLODPerformanceLevel ) * (ADLODParameters.iNumberOfPerformanceLevels - 1)
- + int iSize;
- + int iReserved;
- +/// Array of performance state descriptors. Must have ADLODParameters.iNumberOfPerformanceLevels elements.
- + ADLODPerformanceLevel aLevels [1];
- +} ADLODPerformanceLevels;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the proper CrossfireX chains combinations.
- +///
- +/// This structure is used to store information about the CrossfireX chains combination for a particular adapter.
- +/// This structure is used by the ADL_Adapter_Crossfire_Caps(), ADL_Adapter_Crossfire_Get(), and ADL_Adapter_Crossfire_Set() functions.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLCrossfireComb
- +{
- +/// Number of adapters in this combination.
- + int iNumLinkAdapter;
- +/// A list of ADL indexes of the linked adapters in this combination.
- + int iAdaptLink[3];
- +} ADLCrossfireComb;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing CrossfireX state and error information.
- +///
- +/// This structure is used to store state and error information about a particular adapter CrossfireX combination.
- +/// This structure is used by the ADL_Adapter_Crossfire_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLCrossfireInfo
- +{
- +/// Current error code of this CrossfireX combination.
- + int iErrorCode;
- +/// Current \ref define_crossfirestate
- + int iState;
- +/// If CrossfireX is supported by this combination. The value is either \ref ADL_TRUE or \ref ADL_FALSE.
- + int iSupported;
- +} ADLCrossfireInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about the BIOS.
- +///
- +/// This structure is used to store various information about the Chipset. This
- +/// information can be returned to the user.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLBiosInfo
- +{
- + char strPartNumber[ADL_MAX_PATH]; ///< Part number.
- + char strVersion[ADL_MAX_PATH]; ///< Version number.
- + char strDate[ADL_MAX_PATH]; ///< BIOS date in yyyy/mm/dd hh:mm format.
- +} ADLBiosInfo, *LPADLBiosInfo;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about adapter location.
- +///
- +/// This structure is used to store information about adapter location.
- +/// This structure is used by ADLMVPUStatus.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLAdapterLocation
- +{
- +/// PCI Bus number : 8 bits
- + int iBus;
- +/// Device number : 5 bits
- + int iDevice;
- +/// Function number : 3 bits
- + int iFunction;
- +} ADLAdapterLocation,ADLBdf;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about MultiVPU capabilities.
- +///
- +/// This structure is used to store information about MultiVPU capabilities.
- +/// This structure is used by the ADL_Display_MVPUCaps_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLMVPUCaps
- +{
- +/// Must be set to sizeof( ADLMVPUCaps ).
- + int iSize;
- +/// Number of adapters.
- + int iAdapterCount;
- +/// Bits set for all possible MVPU masters. \ref MVPU_ADAPTER_0 .. \ref MVPU_ADAPTER_3
- + int iPossibleMVPUMasters;
- +/// Bits set for all possible MVPU slaves. \ref MVPU_ADAPTER_0 .. \ref MVPU_ADAPTER_3
- + int iPossibleMVPUSlaves;
- +/// Registry path for each adapter.
- + char cAdapterPath[ADL_DL_MAX_MVPU_ADAPTERS][ADL_DL_MAX_REGISTRY_PATH];
- +} ADLMVPUCaps;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about MultiVPU status.
- +///
- +/// This structure is used to store information about MultiVPU status.
- +/// Ths structure is used by the ADL_Display_MVPUStatus_Get() function.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLMVPUStatus
- +{
- +/// Must be set to sizeof( ADLMVPUStatus ).
- + int iSize;
- +/// Number of active adapters.
- + int iActiveAdapterCount;
- +/// MVPU status.
- + int iStatus;
- +/// PCI Bus/Device/Function for each active adapter participating in MVPU.
- + ADLAdapterLocation aAdapterLocation[ADL_DL_MAX_MVPU_ADAPTERS];
- +} ADLMVPUStatus;
- +
- +// Displays Manager structures
- +
- +///////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about the activatable source.
- +///
- +/// This structure is used to store activatable source information
- +/// This information can be returned to the user.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLActivatableSource
- +{
- + /// The Persistent logical Adapter Index.
- + int iAdapterIndex;
- + /// The number of Activatable Sources.
- + int iNumActivatableSources;
- + /// The bit mask identifies the number of bits ActivatableSourceValue is using. (Not currnetly used)
- + int iActivatableSourceMask;
- + /// The bit mask identifies the status. (Not currnetly used)
- + int iActivatableSourceValue;
- +} ADLActivatableSource, *LPADLActivatableSource;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about display mode.
- +///
- +/// This structure is used to store the display mode for the current adapter
- +/// such as X, Y positions, screen resolutions, orientation,
- +/// color depth, refresh rate, progressive or interlace mode, etc.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +
- +typedef struct ADLMode
- +{
- +/// Adapter index.
- + int iAdapterIndex;
- +/// Display IDs.
- + ADLDisplayID displayID;
- +/// Screen position X coordinate.
- + int iXPos;
- +/// Screen position Y coordinate.
- + int iYPos;
- +/// Screen resolution Width.
- + int iXRes;
- +/// Screen resolution Height.
- + int iYRes;
- +/// Screen Color Depth. E.g., 16, 32.
- + int iColourDepth;
- +/// Screen refresh rate. Could be fractional E.g. 59.97
- + float fRefreshRate;
- +/// Screen orientation. E.g., 0, 90, 180, 270.
- + int iOrientation;
- +/// Vista mode flag indicating Progressive or Interlaced mode.
- + int iModeFlag;
- +/// 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
- + int iModeMask;
- +/// The bit mask identifying the display status. The detailed definition is in \ref define_displaymode
- + int iModeValue;
- +} ADLMode, *LPADLMode;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about display target information.
- +///
- +/// This structure is used to store the display target information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayTarget
- +{
- + /// The Display ID.
- + ADLDisplayID displayID;
- +
- + /// The display map index identify this manner and the desktop surface.
- + int iDisplayMapIndex;
- +
- + /// 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.
- + int iDisplayTargetMask;
- +
- + /// The bit mask identifies the display status. The detailed definition is in \ref ADL_DISPLAY_DISPLAYTARGET_PREFERRED.
- + int iDisplayTargetValue;
- +
- +} ADLDisplayTarget, *LPADLDisplayTarget;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display SLS bezel Mode information.
- +///
- +/// This structure is used to store the display SLS bezel Mode information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct tagADLBezelTransientMode
- +{
- + /// Adapter Index
- + int iAdapterIndex;
- +
- + /// SLS Map Index
- + int iSLSMapIndex;
- +
- + /// The mode index
- + int iSLSModeIndex;
- +
- + /// The mode
- + ADLMode displayMode;
- +
- + /// The number of bezel offsets belongs to this map
- + int iNumBezelOffset;
- +
- + /// The first bezel offset array index in the native mode array
- + int iFirstBezelOffsetArrayIndex;
- +
- + /// The bit mask identifies the bits this structure is currently using. It will be the total OR of all the bit definitions.
- + int iSLSBezelTransientModeMask;
- +
- + /// The bit mask identifies the display status. The detail definition is defined below.
- + int iSLSBezelTransientModeValue;
- +
- +} ADLBezelTransientMode, *LPADLBezelTransientMode;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about the adapter display manner.
- +///
- +/// This structure is used to store adapter display manner information
- +/// This information can be returned to the user. Alternatively, it can be used to access various driver calls to
- +/// fetch various display device related display manner settings upon the user's request.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLAdapterDisplayCap
- +{
- + /// The Persistent logical Adapter Index.
- + int iAdapterIndex;
- + /// The bit mask identifies the number of bits AdapterDisplayCap is currently using. Sum all the bits defined in ADL_ADAPTER_DISPLAYCAP_XXX
- + int iAdapterDisplayCapMask;
- + /// The bit mask identifies the status. Refer to ADL_ADAPTER_DISPLAYCAP_XXX
- + int iAdapterDisplayCapValue;
- +} ADLAdapterDisplayCap, *LPADLAdapterDisplayCap;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about display mapping.
- +///
- +/// This structure is used to store the display mapping data such as display manner.
- +/// For displays with horizontal or vertical stretch manner,
- +/// this structure also stores the display order, display row, and column data.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLDisplayMap
- +{
- +/// 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.
- + int iDisplayMapIndex;
- +
- +/// The Display Mode for the current map
- + ADLMode displayMode;
- +
- +/// The number of display targets belongs to this map\n
- + int iNumDisplayTarget;
- +
- +/// The first target array index in the Target array\n
- + int iFirstDisplayTargetArrayIndex;
- +
- +/// 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.
- + int iDisplayMapMask;
- +
- +///The bit mask identifies the display status. The detailed definition is in ADL_DISPLAY_DISPLAYMAP_MANNER_xxx.
- + int iDisplayMapValue;
- +
- +} ADLDisplayMap, *LPADLDisplayMap;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about the display device possible map for one GPU
- +///
- +/// This structure is used to store the display device possible map
- +/// This information can be returned to the user.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLPossibleMap
- +{
- + /// The current PossibleMap index. Each PossibleMap is assigned an index
- + int iIndex;
- + /// The adapter index identifying the GPU for which to validate these Maps & Targets
- + int iAdapterIndex;
- + /// Number of display Maps for this GPU to be validated
- + int iNumDisplayMap;
- + /// The display Maps list to validate
- + ADLDisplayMap* displayMap;
- + /// the number of display Targets for these display Maps
- + int iNumDisplayTarget;
- + /// The display Targets list for these display Maps to be validated.
- + ADLDisplayTarget* displayTarget;
- +} ADLPossibleMap, *LPADLPossibleMap;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about display possible mapping.
- +///
- +/// This structure is used to store the display possible mapping's controller index for the current display.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLPossibleMapping
- +{
- + int iDisplayIndex; ///< The display index. Each display is assigned an index.
- + int iDisplayControllerIndex; ///< The controller index to which display is mapped.
- + int iDisplayMannerSupported; ///< The supported display manner.
- +} ADLPossibleMapping, *LPADLPossibleMapping;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +/// \brief Structure containing information about the validated display device possible map result.
- +///
- +/// This structure is used to store the validated display device possible map result
- +/// This information can be returned to the user.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLPossibleMapResult
- +{
- + /// 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.
- + int iIndex;
- + // 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.
- + int iPossibleMapResultMask;
- + /// The bit mask identifies the possible map result. The detail definition is defined in ADL_DISPLAY_POSSIBLEMAPRESULT_XXX.
- + int iPossibleMapResultValue;
- +} ADLPossibleMapResult, *LPADLPossibleMapResult;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display SLS Grid information.
- +///
- +/// This structure is used to store the display SLS Grid information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLSLSGrid
- +{
- +/// The Adapter index.
- + int iAdapterIndex;
- +
- +/// The grid index.
- + int iSLSGridIndex;
- +
- +/// The grid row.
- + int iSLSGridRow;
- +
- +/// The grid column.
- + int iSLSGridColumn;
- +
- +/// The grid bit mask identifies the number of bits DisplayMap is currently using. Sum of all bits defined in ADL_DISPLAY_SLSGRID_ORIENTATION_XXX
- + int iSLSGridMask;
- +
- +/// The grid bit value identifies the display status. Refer to ADL_DISPLAY_SLSGRID_ORIENTATION_XXX
- + int iSLSGridValue;
- +
- +} ADLSLSGrid, *LPADLSLSGrid;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display SLS Map information.
- +///
- +/// This structure is used to store the display SLS Map information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLSLSMap
- +{
- + /// The Adapter Index
- + int iAdapterIndex;
- +
- + /// 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.
- + int iSLSMapIndex;
- +
- + /// Indicate the current grid
- + ADLSLSGrid grid;
- +
- + /// OS surface index
- + int iSurfaceMapIndex;
- +
- + /// Screen orientation. E.g., 0, 90, 180, 270
- + int iOrientation;
- +
- + /// The number of display targets belongs to this map
- + int iNumSLSTarget;
- +
- + /// The first target array index in the Target array
- + int iFirstSLSTargetArrayIndex;
- +
- + /// The number of native modes belongs to this map
- + int iNumNativeMode;
- +
- + /// The first native mode array index in the native mode array
- + int iFirstNativeModeArrayIndex;
- +
- + /// The number of bezel modes belongs to this map
- + int iNumBezelMode;
- +
- + /// The first bezel mode array index in the native mode array
- + int iFirstBezelModeArrayIndex;
- +
- + /// The number of bezel offsets belongs to this map
- + int iNumBezelOffset;
- +
- + /// The first bezel offset array index in the
- + int iFirstBezelOffsetArrayIndex;
- +
- + /// The bit mask identifies the number of bits DisplayMap is currently using. Sum all the bit definitions defined in ADL_DISPLAY_SLSMAP_XXX.
- + int iSLSMapMask;
- +
- + /// The bit mask identifies the display map status. Refer to ADL_DISPLAY_SLSMAP_XXX
- + int iSLSMapValue;
- +
- +
- +} ADLSLSMap, *LPADLSLSMap;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display SLS Offset information.
- +///
- +/// This structure is used to store the display SLS Offset information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLSLSOffset
- +{
- + /// The Adapter Index
- + int iAdapterIndex;
- +
- + /// 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.
- + int iSLSMapIndex;
- +
- + /// The Display ID.
- + ADLDisplayID displayID;
- +
- + /// SLS Bezel Mode Index
- + int iBezelModeIndex;
- +
- + /// SLS Bezel Offset X
- + int iBezelOffsetX;
- +
- + /// SLS Bezel Offset Y
- + int iBezelOffsetY;
- +
- + /// SLS Display Width
- + int iDisplayWidth;
- +
- + /// SLS Display Height
- + int iDisplayHeight;
- +
- + /// The bit mask identifies the number of bits Offset is currently using.
- + int iBezelOffsetMask;
- +
- + /// The bit mask identifies the display status.
- + int iBezelffsetValue;
- +} ADLSLSOffset, *LPADLSLSOffset;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display SLS Mode information.
- +///
- +/// This structure is used to store the display SLS Mode information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLSLSMode
- +{
- + /// The Adapter Index
- + int iAdapterIndex;
- +
- + /// 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.
- + int iSLSMapIndex;
- +
- + /// The mode index
- + int iSLSModeIndex;
- +
- + /// The mode for this map.
- + ADLMode displayMode;
- +
- + /// The bit mask identifies the number of bits Mode is currently using.
- + int iSLSNativeModeMask;
- +
- + /// The bit mask identifies the display status.
- + int iSLSNativeModeValue;
- +} ADLSLSMode, *LPADLSLSMode;
- +
- +
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the display Possible SLS Map information.
- +///
- +/// This structure is used to store the display Possible SLS Map information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLPossibleSLSMap
- +{
- + /// 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.
- + int iSLSMapIndex;
- +
- + /// Number of display map to be validated.
- + int iNumSLSMap;
- +
- + /// The display map list for validation
- + ADLSLSMap* lpSLSMap;
- +
- + /// the number of display map config to be validated.
- + int iNumSLSTarget;
- +
- + /// The display target list for validation.
- + ADLDisplayTarget* lpDisplayTarget;
- +} ADLPossibleSLSMap, *LPADLPossibleSLSMap;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the SLS targets.
- +///
- +/// This structure is used to store the SLS targets information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLSLSTarget
- +{
- + /// the logic adapter index
- + int iAdapterIndex;
- +
- + /// The SLS map index
- + int iSLSMapIndex;
- +
- + /// The target ID
- + ADLDisplayTarget displayTarget;
- +
- + /// Target postion X in SLS grid
- + int iSLSGridPositionX;
- +
- + /// Target postion Y in SLS grid
- + int iSLSGridPositionY;
- +
- + /// The view size width, height and rotation angle per SLS Target
- + ADLMode viewSize;
- +
- + /// The bit mask identifies the bits in iSLSTargetValue are currently used
- + int iSLSTargetMask;
- +
- + /// The bit mask identifies status info. It is for function extension purpose
- + int iSLSTargetValue;
- +
- +} ADLSLSTarget, *LPADLSLSTarget;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about the Adapter offset stepping size.
- +///
- +/// This structure is used to store the Adapter offset stepping size information.
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLBezelOffsetSteppingSize
- +{
- + /// the logic adapter index
- + int iAdapterIndex;
- +
- + /// The SLS map index
- + int iSLSMapIndex;
- +
- + /// Bezel X stepping size offset
- + int iBezelOffsetSteppingSizeX;
- +
- + /// Bezel Y stepping size offset
- + int iBezelOffsetSteppingSizeY;
- +
- + /// Identifies the bits this structure is currently using. It will be the total OR of all the bit definitions.
- + int iBezelOffsetSteppingSizeMask;
- +
- + /// Bit mask identifies the display status.
- + int iBezelOffsetSteppingSizeValue;
- +
- +} ADLBezelOffsetSteppingSize, *LPADLBezelOffsetSteppingSize;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about driver supported PowerExpress Config Caps
- +///
- +/// This structure is used to store the driver supported PowerExpress Config Caps
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLPXConfigCaps
- +{
- + /// The Persistent logical Adapter Index.
- + int iAdapterIndex;
- +
- + /// 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.
- + int iPXConfigCapMask;
- +
- + /// The bit mask identifies the PowerExpress Config Caps value. The detailed definition is in \ref ADL_PX_CONFIGCAPS_XXXX.
- + int iPXConfigCapValue;
- +
- +} ADLPXConfigCaps, *LPADLPXConfigCaps;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about an application
- +///
- +/// This structure is used to store basic information of an application
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct _ADLApplicationData
- +{
- + /// Path Name
- + char strPathName[ADL_MAX_PATH];
- + /// File Name
- + char strFileName[ADL_APP_PROFILE_FILENAME_LENGTH];
- + /// Creation timestamp
- + char strTimeStamp[ADL_APP_PROFILE_TIMESTAMP_LENGTH];
- + /// Version
- + char strVersion[ADL_APP_PROFILE_VERSION_LENGTH];
- +}ADLApplicationData;
- +
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information of a property of an application profile
- +///
- +/// This structure is used to store property information of an application profile
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct _PropertyRecord
- +{
- + /// Property Name
- + char strName [ADL_APP_PROFILE_PROPERTY_LENGTH];
- + /// Property Type
- + ADLProfilePropertyType eType;
- + /// Data Size in bytes
- + int iDataSize;
- + /// Property Value, can be any data type
- + unsigned char uData[1];
- +}PropertyRecord;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about an application profile
- +///
- +/// This structure is used to store information of an application profile
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct _ADLApplicationProfile
- +{
- + /// Number of properties
- + int iCount;
- + /// Buffer to store all property records
- + PropertyRecord record[1];
- +}ADLApplicationProfile;
- +
- +// @}
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about an OD5 Power Control feature
- +///
- +/// This structure is used to store information of an Power Control feature
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct ADLPowerControlInfo
- +{
- +/// Minimum value.
- +int iMinValue;
- +/// Maximum value.
- +int iMaxValue;
- +/// The minimum change in between minValue and maxValue.
- +int iStepValue;
- + } ADLPowerControlInfo;
- +
- +/////////////////////////////////////////////////////////////////////////////////////////////
- +///\brief Structure containing information about an controller mode
- +///
- +/// This structure is used to store information of an controller mode
- +/// \nosubgrouping
- +////////////////////////////////////////////////////////////////////////////////////////////
- +typedef struct _ADLControllerMode
- +{
- + /// This falg indicates actions that will be applied by set viewport
- + /// The value can be a combination of ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_POSITION,
- + /// ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_PANLOCK and ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_SIZE
- + int iModifiers;
- +
- + /// Horizontal view starting position
- + int iViewPositionCx;
- +
- + /// Vertical view starting position
- + int iViewPositionCy;
- +
- + /// Horizontal left panlock position
- + int iViewPanLockLeft;
- +
- + /// Horizontal right panlock position
- + int iViewPanLockRight;
- +
- + /// Vertical top panlock position
- + int iViewPanLockTop;
- +
- + /// Vertical bottom panlock position
- + int iViewPanLockBottom;
- +
- + /// View resolution in pixels (width)
- + int iViewResolutionCx;
- +
- + /// View resolution in pixels (hight)
- + int iViewResolutionCy;
- +}ADLControllerMode;
- +
- +
- +#endif /* ADL_STRUCTURES_H_ */
- +
- --- /dev/null
- +++ cgminer-2.4.1/ADL_SDK/adl_sdk.h
- @@ -0,0 +1,29 @@
- +///
- +/// Copyright (c) 2008 - 2009 Advanced Micro Devices, Inc.
- +
- +/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
- +/// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- +/// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
- +
- +/// \file adl_sdk.h
- +/// \brief Contains the definition of the Memory Allocation Callback.\n <b>Included in ADL SDK</b>
- +///
- +/// \n\n
- +/// This file contains the definition of the Memory Allocation Callback.\n
- +/// It also includes definitions of the respective structures and constants.\n
- +/// <b> This is the only header file to be included in a C/C++ project using ADL </b>
- +
- +#ifndef ADL_SDK_H_
- +#define ADL_SDK_H_
- +
- +#include "adl_structures.h"
- +
- +#if defined (LINUX)
- +#define __stdcall
- +#endif /* (LINUX) */
- +
- +/// Memory Allocation Call back
- +typedef void* ( __stdcall *ADL_MAIN_MALLOC_CALLBACK )( int );
- +
- +
- +#endif /* ADL_SDK_H_ */
- --- /dev/null
- +++ cgminer-2.4.1/ccan/Makefile.in
- @@ -0,0 +1,675 @@
- +# Makefile.in generated by automake 1.11.3 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
- +# Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +target_triplet = @target@
- +subdir = ccan
- +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
- + $(top_srcdir)/m4/extensions.m4 \
- + $(top_srcdir)/m4/gnulib-common.m4 \
- + $(top_srcdir)/m4/gnulib-comp.m4 \
- + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
- + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
- + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
- + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
- + $(top_srcdir)/m4/signal_h.m4 \
- + $(top_srcdir)/m4/signalblocking.m4 \
- + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
- + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
- + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- +LIBRARIES = $(noinst_LIBRARIES)
- +AR = ar
- +ARFLAGS = cru
- +AM_V_AR = $(am__v_AR_@AM_V@)
- +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
- +am__v_AR_0 = @echo " AR " $@;
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +libccan_a_AR = $(AR) $(ARFLAGS)
- +libccan_a_LIBADD =
- +am_libccan_a_OBJECTS = helpers.$(OBJEXT) opt.$(OBJEXT) parse.$(OBJEXT) \
- + usage.$(OBJEXT)
- +libccan_a_OBJECTS = $(am_libccan_a_OBJECTS)
- +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- +depcomp = $(SHELL) $(top_srcdir)/depcomp
- +am__depfiles_maybe = depfiles
- +am__mv = mv -f
- +AM_V_lt = $(am__v_lt_@AM_V@)
- +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
- +am__v_lt_0 = --silent
- +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- +AM_V_CC = $(am__v_CC_@AM_V@)
- +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
- +am__v_CC_0 = @echo " CC " $@;
- +CCLD = $(CC)
- +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
- +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
- +am__v_CCLD_0 = @echo " CCLD " $@;
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +SOURCES = $(libccan_a_SOURCES)
- +DIST_SOURCES = $(libccan_a_SOURCES)
- +ETAGS = etags
- +CTAGS = ctags
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
- +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
- +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
- +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
- +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DLOPEN_FLAGS = @DLOPEN_FLAGS@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
- +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
- +GNULIB_MBSCHR = @GNULIB_MBSCHR@
- +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
- +GNULIB_MBSLEN = @GNULIB_MBSLEN@
- +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
- +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
- +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
- +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
- +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
- +GNULIB_MBSSEP = @GNULIB_MBSSEP@
- +GNULIB_MBSSPN = @GNULIB_MBSSPN@
- +GNULIB_MBSSTR = @GNULIB_MBSSTR@
- +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
- +GNULIB_MEMCHR = @GNULIB_MEMCHR@
- +GNULIB_MEMMEM = @GNULIB_MEMMEM@
- +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
- +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
- +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
- +GNULIB_SIGACTION = @GNULIB_SIGACTION@
- +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
- +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
- +GNULIB_STPCPY = @GNULIB_STPCPY@
- +GNULIB_STPNCPY = @GNULIB_STPNCPY@
- +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
- +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
- +GNULIB_STRDUP = @GNULIB_STRDUP@
- +GNULIB_STRERROR = @GNULIB_STRERROR@
- +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
- +GNULIB_STRNCAT = @GNULIB_STRNCAT@
- +GNULIB_STRNDUP = @GNULIB_STRNDUP@
- +GNULIB_STRNLEN = @GNULIB_STRNLEN@
- +GNULIB_STRPBRK = @GNULIB_STRPBRK@
- +GNULIB_STRSEP = @GNULIB_STRSEP@
- +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
- +GNULIB_STRSTR = @GNULIB_STRSTR@
- +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
- +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
- +GREP = @GREP@
- +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
- +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
- +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
- +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
- +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
- +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
- +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
- +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
- +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
- +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
- +HAVE_MBSLEN = @HAVE_MBSLEN@
- +HAVE_MEMCHR = @HAVE_MEMCHR@
- +HAVE_MEMPCPY = @HAVE_MEMPCPY@
- +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
- +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
- +HAVE_SIGACTION = @HAVE_SIGACTION@
- +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
- +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
- +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
- +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
- +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
- +HAVE_SIGSET_T = @HAVE_SIGSET_T@
- +HAVE_STDINT_H = @HAVE_STDINT_H@
- +HAVE_STPCPY = @HAVE_STPCPY@
- +HAVE_STPNCPY = @HAVE_STPNCPY@
- +HAVE_STRCASESTR = @HAVE_STRCASESTR@
- +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
- +HAVE_STRPBRK = @HAVE_STRPBRK@
- +HAVE_STRSEP = @HAVE_STRSEP@
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
- +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
- +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
- +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
- +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
- +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
- +HAVE_WCHAR_H = @HAVE_WCHAR_H@
- +HAVE_WCHAR_T = @HAVE_WCHAR_T@
- +INCLUDE_NEXT = @INCLUDE_NEXT@
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JANSSON_LIBS = @JANSSON_LIBS@
- +LDFLAGS = @LDFLAGS@
- +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
- +LIBCURL_LIBS = @LIBCURL_LIBS@
- +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
- +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MATH_LIBS = @MATH_LIBS@
- +MKDIR_P = @MKDIR_P@
- +NCURSES_LIBS = @NCURSES_LIBS@
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
- +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
- +NEXT_STDDEF_H = @NEXT_STDDEF_H@
- +NEXT_STDINT_H = @NEXT_STDINT_H@
- +NEXT_STRING_H = @NEXT_STRING_H@
- +OBJEXT = @OBJEXT@
- +OPENCL_FLAGS = @OPENCL_FLAGS@
- +OPENCL_LIBS = @OPENCL_LIBS@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PDCURSES_LIBS = @PDCURSES_LIBS@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
- +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
- +PTHREAD_FLAGS = @PTHREAD_FLAGS@
- +PTHREAD_LIBS = @PTHREAD_LIBS@
- +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
- +RANLIB = @RANLIB@
- +REPLACE_MEMCHR = @REPLACE_MEMCHR@
- +REPLACE_MEMMEM = @REPLACE_MEMMEM@
- +REPLACE_NULL = @REPLACE_NULL@
- +REPLACE_STPNCPY = @REPLACE_STPNCPY@
- +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
- +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
- +REPLACE_STRDUP = @REPLACE_STRDUP@
- +REPLACE_STRERROR = @REPLACE_STRERROR@
- +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
- +REPLACE_STRNCAT = @REPLACE_STRNCAT@
- +REPLACE_STRNDUP = @REPLACE_STRNDUP@
- +REPLACE_STRNLEN = @REPLACE_STRNLEN@
- +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
- +REPLACE_STRSTR = @REPLACE_STRSTR@
- +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
- +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
- +STDDEF_H = @STDDEF_H@
- +STDINT_H = @STDINT_H@
- +STRIP = @STRIP@
- +UDEV_LIBS = @UDEV_LIBS@
- +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
- +USB_FLAGS = @USB_FLAGS@
- +USB_LIBS = @USB_LIBS@
- +VERSION = @VERSION@
- +VMAJ = @VMAJ@
- +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
- +WINT_T_SUFFIX = @WINT_T_SUFFIX@
- +WS2_LIBS = @WS2_LIBS@
- +YASM = @YASM@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +gl_LIBOBJS = @gl_LIBOBJS@
- +gl_LTLIBOBJS = @gl_LTLIBOBJS@
- +gltests_LIBOBJS = @gltests_LIBOBJS@
- +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
- +gltests_WITNESS = @gltests_WITNESS@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +release_info = @release_info@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target = @target@
- +target_alias = @target_alias@
- +target_cpu = @target_cpu@
- +target_os = @target_os@
- +target_vendor = @target_vendor@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +version_info = @version_info@
- +noinst_LIBRARIES = libccan.a
- +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
- +all: all-am
- +
- +.SUFFIXES:
- +.SUFFIXES: .c .o .obj
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ccan/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --foreign ccan/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- +
- +clean-noinstLIBRARIES:
- + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
- +libccan.a: $(libccan_a_OBJECTS) $(libccan_a_DEPENDENCIES) $(EXTRA_libccan_a_DEPENDENCIES)
- + $(AM_V_at)-rm -f libccan.a
- + $(AM_V_AR)$(libccan_a_AR) libccan.a $(libccan_a_OBJECTS) $(libccan_a_LIBADD)
- + $(AM_V_at)$(RANLIB) libccan.a
- +
- +mostlyclean-compile:
- + -rm -f *.$(OBJEXT)
- +
- +distclean-compile:
- + -rm -f *.tab.c
- +
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/helpers.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opt.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usage.Po@am__quote@
- +
- +.c.o:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
- +
- +.c.obj:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
- +
- +helpers.o: opt/helpers.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/helpers.Tpo $(DEPDIR)/helpers.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/helpers.c' object='helpers.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +helpers.obj: opt/helpers.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/helpers.Tpo $(DEPDIR)/helpers.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/helpers.c' object='helpers.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +opt.o: opt/opt.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/opt.Tpo $(DEPDIR)/opt.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/opt.c' object='opt.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +opt.obj: opt/opt.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/opt.Tpo $(DEPDIR)/opt.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/opt.c' object='opt.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +parse.o: opt/parse.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parse.Tpo $(DEPDIR)/parse.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/parse.c' object='parse.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +parse.obj: opt/parse.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parse.Tpo $(DEPDIR)/parse.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/parse.c' object='parse.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +usage.o: opt/usage.c
- +@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
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/usage.Tpo $(DEPDIR)/usage.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/usage.c' object='usage.o' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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
- +
- +usage.obj: opt/usage.c
- +@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`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/usage.Tpo $(DEPDIR)/usage.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='opt/usage.c' object='usage.obj' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@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`
- +
- +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + mkid -fID $$unique
- +tags: TAGS
- +
- +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + set x; \
- + here=`pwd`; \
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + shift; \
- + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- + test -n "$$unique" || unique=$$empty_fix; \
- + if test $$# -gt 0; then \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + "$$@" $$unique; \
- + else \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$unique; \
- + fi; \
- + fi
- +ctags: CTAGS
- +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + test -z "$(CTAGS_ARGS)$$unique" \
- + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- + $$unique
- +
- +GTAGS:
- + here=`$(am__cd) $(top_builddir) && pwd` \
- + && $(am__cd) $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) "$$here"
- +
- +distclean-tags:
- + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- +check-am: all-am
- +check: check-am
- +all-am: Makefile $(LIBRARIES)
- +installdirs:
- +install: install-am
- +install-exec: install-exec-am
- +install-data: install-data-am
- +uninstall: uninstall-am
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-am
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-am
- +
- +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
- +
- +distclean: distclean-am
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +distclean-am: clean-am distclean-compile distclean-generic \
- + distclean-tags
- +
- +dvi: dvi-am
- +
- +dvi-am:
- +
- +html: html-am
- +
- +html-am:
- +
- +info: info-am
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-am
- +
- +install-dvi-am:
- +
- +install-exec-am:
- +
- +install-html: install-html-am
- +
- +install-html-am:
- +
- +install-info: install-info-am
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-am
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-am
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- +mostlyclean-am: mostlyclean-compile mostlyclean-generic
- +
- +pdf: pdf-am
- +
- +pdf-am:
- +
- +ps: ps-am
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: install-am install-strip
- +
- +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- + clean-noinstLIBRARIES ctags distclean distclean-compile \
- + distclean-generic distclean-tags distdir dvi dvi-am html \
- + html-am info info-am install install-am install-data \
- + install-data-am install-dvi install-dvi-am install-exec \
- + install-exec-am install-html install-html-am install-info \
- + install-info-am install-man install-pdf install-pdf-am \
- + install-ps install-ps-am install-strip installcheck \
- + installcheck-am installdirs maintainer-clean \
- + maintainer-clean-generic mostlyclean mostlyclean-compile \
- + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- + uninstall-am
- +
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- --- /dev/null
- +++ cgminer-2.4.1/lib/Makefile.in
- @@ -0,0 +1,1044 @@
- +# Makefile.in generated by automake 1.11.3 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
- +# Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +# Copyright (C) 2002-2011 Free Software Foundation, Inc.
- +#
- +# This file is free software, distributed under the terms of the GNU
- +# General Public License. As a special exception to the GNU General
- +# Public License, this file may be distributed as part of a program
- +# that contains a configuration script generated by Autoconf, under
- +# the same distribution terms as the rest of that program.
- +#
- +# Generated by gnulib-tool.
- +# 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
- +
- +
- +
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +target_triplet = @target@
- +subdir = lib
- +DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
- + $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
- + $(top_srcdir)/m4/extensions.m4 \
- + $(top_srcdir)/m4/gnulib-common.m4 \
- + $(top_srcdir)/m4/gnulib-comp.m4 \
- + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
- + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
- + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
- + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
- + $(top_srcdir)/m4/signal_h.m4 \
- + $(top_srcdir)/m4/signalblocking.m4 \
- + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
- + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
- + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- +LIBRARIES = $(noinst_LIBRARIES)
- +AR = ar
- +ARFLAGS = cru
- +AM_V_AR = $(am__v_AR_@AM_V@)
- +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
- +am__v_AR_0 = @echo " AR " $@;
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +libgnu_a_AR = $(AR) $(ARFLAGS)
- +am__DEPENDENCIES_1 =
- +am_libgnu_a_OBJECTS = dummy.$(OBJEXT)
- +libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS)
- +LTLIBRARIES = $(noinst_LTLIBRARIES)
- +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- +depcomp = $(SHELL) $(top_srcdir)/depcomp
- +am__depfiles_maybe = depfiles
- +am__mv = mv -f
- +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- +AM_V_CC = $(am__v_CC_@AM_V@)
- +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
- +am__v_CC_0 = @echo " CC " $@;
- +CCLD = $(CC)
- +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
- +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
- +am__v_CCLD_0 = @echo " CCLD " $@;
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES)
- +DIST_SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES)
- +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- + html-recursive info-recursive install-data-recursive \
- + install-dvi-recursive install-exec-recursive \
- + install-html-recursive install-info-recursive \
- + install-pdf-recursive install-ps-recursive install-recursive \
- + installcheck-recursive installdirs-recursive pdf-recursive \
- + ps-recursive uninstall-recursive
- +HEADERS = $(noinst_HEADERS)
- +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- + distclean-recursive maintainer-clean-recursive
- +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- + distdir
- +ETAGS = etags
- +CTAGS = ctags
- +DIST_SUBDIRS = $(SUBDIRS)
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +am__relativize = \
- + dir0=`pwd`; \
- + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
- + sed_rest='s,^[^/]*/*,,'; \
- + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
- + sed_butlast='s,/*[^/]*$$,,'; \
- + while test -n "$$dir1"; do \
- + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
- + if test "$$first" != "."; then \
- + if test "$$first" = ".."; then \
- + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
- + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
- + else \
- + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
- + if test "$$first2" = "$$first"; then \
- + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
- + else \
- + dir2="../$$dir2"; \
- + fi; \
- + dir0="$$dir0"/"$$first"; \
- + fi; \
- + fi; \
- + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
- + done; \
- + reldir="$$dir2"
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
- +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
- +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
- +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
- +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DLOPEN_FLAGS = @DLOPEN_FLAGS@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
- +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
- +GNULIB_MBSCHR = @GNULIB_MBSCHR@
- +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
- +GNULIB_MBSLEN = @GNULIB_MBSLEN@
- +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
- +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
- +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
- +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
- +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
- +GNULIB_MBSSEP = @GNULIB_MBSSEP@
- +GNULIB_MBSSPN = @GNULIB_MBSSPN@
- +GNULIB_MBSSTR = @GNULIB_MBSSTR@
- +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
- +GNULIB_MEMCHR = @GNULIB_MEMCHR@
- +GNULIB_MEMMEM = @GNULIB_MEMMEM@
- +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
- +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
- +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
- +GNULIB_SIGACTION = @GNULIB_SIGACTION@
- +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
- +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
- +GNULIB_STPCPY = @GNULIB_STPCPY@
- +GNULIB_STPNCPY = @GNULIB_STPNCPY@
- +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
- +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
- +GNULIB_STRDUP = @GNULIB_STRDUP@
- +GNULIB_STRERROR = @GNULIB_STRERROR@
- +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
- +GNULIB_STRNCAT = @GNULIB_STRNCAT@
- +GNULIB_STRNDUP = @GNULIB_STRNDUP@
- +GNULIB_STRNLEN = @GNULIB_STRNLEN@
- +GNULIB_STRPBRK = @GNULIB_STRPBRK@
- +GNULIB_STRSEP = @GNULIB_STRSEP@
- +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
- +GNULIB_STRSTR = @GNULIB_STRSTR@
- +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
- +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
- +GREP = @GREP@
- +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
- +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
- +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
- +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
- +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
- +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
- +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
- +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
- +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
- +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
- +HAVE_MBSLEN = @HAVE_MBSLEN@
- +HAVE_MEMCHR = @HAVE_MEMCHR@
- +HAVE_MEMPCPY = @HAVE_MEMPCPY@
- +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
- +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
- +HAVE_SIGACTION = @HAVE_SIGACTION@
- +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
- +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
- +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
- +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
- +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
- +HAVE_SIGSET_T = @HAVE_SIGSET_T@
- +HAVE_STDINT_H = @HAVE_STDINT_H@
- +HAVE_STPCPY = @HAVE_STPCPY@
- +HAVE_STPNCPY = @HAVE_STPNCPY@
- +HAVE_STRCASESTR = @HAVE_STRCASESTR@
- +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
- +HAVE_STRPBRK = @HAVE_STRPBRK@
- +HAVE_STRSEP = @HAVE_STRSEP@
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
- +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
- +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
- +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
- +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
- +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
- +HAVE_WCHAR_H = @HAVE_WCHAR_H@
- +HAVE_WCHAR_T = @HAVE_WCHAR_T@
- +INCLUDE_NEXT = @INCLUDE_NEXT@
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JANSSON_LIBS = @JANSSON_LIBS@
- +LDFLAGS = @LDFLAGS@
- +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
- +LIBCURL_LIBS = @LIBCURL_LIBS@
- +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
- +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MATH_LIBS = @MATH_LIBS@
- +MKDIR_P = @MKDIR_P@
- +NCURSES_LIBS = @NCURSES_LIBS@
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
- +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
- +NEXT_STDDEF_H = @NEXT_STDDEF_H@
- +NEXT_STDINT_H = @NEXT_STDINT_H@
- +NEXT_STRING_H = @NEXT_STRING_H@
- +OBJEXT = @OBJEXT@
- +OPENCL_FLAGS = @OPENCL_FLAGS@
- +OPENCL_LIBS = @OPENCL_LIBS@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PDCURSES_LIBS = @PDCURSES_LIBS@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
- +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
- +PTHREAD_FLAGS = @PTHREAD_FLAGS@
- +PTHREAD_LIBS = @PTHREAD_LIBS@
- +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
- +RANLIB = @RANLIB@
- +REPLACE_MEMCHR = @REPLACE_MEMCHR@
- +REPLACE_MEMMEM = @REPLACE_MEMMEM@
- +REPLACE_NULL = @REPLACE_NULL@
- +REPLACE_STPNCPY = @REPLACE_STPNCPY@
- +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
- +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
- +REPLACE_STRDUP = @REPLACE_STRDUP@
- +REPLACE_STRERROR = @REPLACE_STRERROR@
- +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
- +REPLACE_STRNCAT = @REPLACE_STRNCAT@
- +REPLACE_STRNDUP = @REPLACE_STRNDUP@
- +REPLACE_STRNLEN = @REPLACE_STRNLEN@
- +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
- +REPLACE_STRSTR = @REPLACE_STRSTR@
- +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
- +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
- +STDDEF_H = @STDDEF_H@
- +STDINT_H = @STDINT_H@
- +STRIP = @STRIP@
- +UDEV_LIBS = @UDEV_LIBS@
- +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
- +USB_FLAGS = @USB_FLAGS@
- +USB_LIBS = @USB_LIBS@
- +VERSION = @VERSION@
- +VMAJ = @VMAJ@
- +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
- +WINT_T_SUFFIX = @WINT_T_SUFFIX@
- +WS2_LIBS = @WS2_LIBS@
- +YASM = @YASM@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +gl_LIBOBJS = @gl_LIBOBJS@
- +gl_LTLIBOBJS = @gl_LTLIBOBJS@
- +gltests_LIBOBJS = @gltests_LIBOBJS@
- +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
- +gltests_WITNESS = @gltests_WITNESS@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +release_info = @release_info@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target = @target@
- +target_alias = @target_alias@
- +target_cpu = @target_cpu@
- +target_os = @target_os@
- +target_vendor = @target_vendor@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +version_info = @version_info@
- +AUTOMAKE_OPTIONS = 1.5 gnits
- +SUBDIRS =
- +noinst_HEADERS =
- +noinst_LIBRARIES = libgnu.a
- +noinst_LTLIBRARIES =
- +EXTRA_DIST = $(top_srcdir)/./arg-nonnull.h $(top_srcdir)/./c++defs.h \
- + memchr.c memchr.valgrind memmem.c str-two-way.h sig-handler.h \
- + sigaction.c signal.in.h sigprocmask.c stddef.in.h stdint.in.h \
- + string.in.h $(top_srcdir)/./warn-on-use.h
- +
- +# The BUILT_SOURCES created by this Makefile snippet are not used via #include
- +# statements but through direct file reference. Therefore this snippet must be
- +# present in all Makefile.am that need it. This is ensured by the applicability
- +# 'all' defined above.
- +
- +# The BUILT_SOURCES created by this Makefile snippet are not used via #include
- +# statements but through direct file reference. Therefore this snippet must be
- +# present in all Makefile.am that need it. This is ensured by the applicability
- +# 'all' defined above.
- +BUILT_SOURCES = arg-nonnull.h c++defs.h signal.h $(STDDEF_H) \
- + $(STDINT_H) string.h warn-on-use.h
- +SUFFIXES =
- +MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \
- + c++defs.h c++defs.h-t signal.h signal.h-t stddef.h stddef.h-t \
- + stdint.h stdint.h-t string.h string.h-t warn-on-use.h \
- + warn-on-use.h-t
- +MOSTLYCLEANDIRS =
- +CLEANFILES =
- +DISTCLEANFILES =
- +MAINTAINERCLEANFILES =
- +AM_CPPFLAGS =
- +AM_CFLAGS =
- +libgnu_a_SOURCES = dummy.c
- +libgnu_a_LIBADD = $(gl_LIBOBJS)
- +libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
- +EXTRA_libgnu_a_SOURCES = memchr.c memmem.c sigaction.c sigprocmask.c
- +ARG_NONNULL_H = arg-nonnull.h
- +CXXDEFS_H = c++defs.h
- +WARN_ON_USE_H = warn-on-use.h
- +all: $(BUILT_SOURCES)
- + $(MAKE) $(AM_MAKEFLAGS) all-recursive
- +
- +.SUFFIXES:
- +.SUFFIXES: .c .o .obj
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits lib/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --gnits lib/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- +
- +clean-noinstLIBRARIES:
- + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
- +libgnu.a: $(libgnu_a_OBJECTS) $(libgnu_a_DEPENDENCIES) $(EXTRA_libgnu_a_DEPENDENCIES)
- + $(AM_V_at)-rm -f libgnu.a
- + $(AM_V_AR)$(libgnu_a_AR) libgnu.a $(libgnu_a_OBJECTS) $(libgnu_a_LIBADD)
- + $(AM_V_at)$(RANLIB) libgnu.a
- +
- +clean-noinstLTLIBRARIES:
- + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
- + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
- + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- + test "$$dir" != "$$p" || dir=.; \
- + echo "rm -f \"$${dir}/so_locations\""; \
- + rm -f "$${dir}/so_locations"; \
- + done
- +
- +mostlyclean-compile:
- + -rm -f *.$(OBJEXT)
- +
- +distclean-compile:
- + -rm -f *.tab.c
- +
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memchr.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memmem.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigaction.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigprocmask.Po@am__quote@
- +
- +.c.o:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
- +
- +.c.obj:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
- +
- +# This directory's subdirectories are mostly independent; you can cd
- +# into them and run `make' without going through this Makefile.
- +# To change the values of `make' variables: instead of editing Makefiles,
- +# (1) if the variable is set in `config.status', edit `config.status'
- +# (which will cause the Makefiles to be regenerated when you run `make');
- +# (2) otherwise, pass the desired values on the `make' command line.
- +$(RECURSIVE_TARGETS):
- + @fail= failcom='exit 1'; \
- + for f in x $$MAKEFLAGS; do \
- + case $$f in \
- + *=* | --[!k]*);; \
- + *k*) failcom='fail=yes';; \
- + esac; \
- + done; \
- + dot_seen=no; \
- + target=`echo $@ | sed s/-recursive//`; \
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + echo "Making $$target in $$subdir"; \
- + if test "$$subdir" = "."; then \
- + dot_seen=yes; \
- + local_target="$$target-am"; \
- + else \
- + local_target="$$target"; \
- + fi; \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + || eval $$failcom; \
- + done; \
- + if test "$$dot_seen" = "no"; then \
- + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- + fi; test -z "$$fail"
- +
- +$(RECURSIVE_CLEAN_TARGETS):
- + @fail= failcom='exit 1'; \
- + for f in x $$MAKEFLAGS; do \
- + case $$f in \
- + *=* | --[!k]*);; \
- + *k*) failcom='fail=yes';; \
- + esac; \
- + done; \
- + dot_seen=no; \
- + case "$@" in \
- + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- + *) list='$(SUBDIRS)' ;; \
- + esac; \
- + rev=''; for subdir in $$list; do \
- + if test "$$subdir" = "."; then :; else \
- + rev="$$subdir $$rev"; \
- + fi; \
- + done; \
- + rev="$$rev ."; \
- + target=`echo $@ | sed s/-recursive//`; \
- + for subdir in $$rev; do \
- + echo "Making $$target in $$subdir"; \
- + if test "$$subdir" = "."; then \
- + local_target="$$target-am"; \
- + else \
- + local_target="$$target"; \
- + fi; \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + || eval $$failcom; \
- + done && test -z "$$fail"
- +tags-recursive:
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- + done
- +ctags-recursive:
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- + done
- +
- +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + mkid -fID $$unique
- +tags: TAGS
- +
- +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + set x; \
- + here=`pwd`; \
- + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- + include_option=--etags-include; \
- + empty_fix=.; \
- + else \
- + include_option=--include; \
- + empty_fix=; \
- + fi; \
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + test ! -f $$subdir/TAGS || \
- + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
- + fi; \
- + done; \
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + shift; \
- + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- + test -n "$$unique" || unique=$$empty_fix; \
- + if test $$# -gt 0; then \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + "$$@" $$unique; \
- + else \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$unique; \
- + fi; \
- + fi
- +ctags: CTAGS
- +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + test -z "$(CTAGS_ARGS)$$unique" \
- + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- + $$unique
- +
- +GTAGS:
- + here=`$(am__cd) $(top_builddir) && pwd` \
- + && $(am__cd) $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) "$$here"
- +
- +distclean-tags:
- + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + test -d "$(distdir)/$$subdir" \
- + || $(MKDIR_P) "$(distdir)/$$subdir" \
- + || exit 1; \
- + fi; \
- + done
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
- + $(am__relativize); \
- + new_distdir=$$reldir; \
- + dir1=$$subdir; dir2="$(top_distdir)"; \
- + $(am__relativize); \
- + new_top_distdir=$$reldir; \
- + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
- + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
- + ($(am__cd) $$subdir && \
- + $(MAKE) $(AM_MAKEFLAGS) \
- + top_distdir="$$new_top_distdir" \
- + distdir="$$new_distdir" \
- + am__remove_distdir=: \
- + am__skip_length_check=: \
- + am__skip_mode_fix=: \
- + distdir) \
- + || exit 1; \
- + fi; \
- + done
- +check-am: all-am
- +check: $(BUILT_SOURCES)
- + $(MAKE) $(AM_MAKEFLAGS) check-recursive
- +all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS)
- +installdirs: installdirs-recursive
- +installdirs-am:
- +install: $(BUILT_SOURCES)
- + $(MAKE) $(AM_MAKEFLAGS) install-recursive
- +install-exec: install-exec-recursive
- +install-data: install-data-recursive
- +uninstall: uninstall-recursive
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-recursive
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
- +
- +clean-generic:
- + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
- + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
- +clean: clean-recursive
- +
- +clean-am: clean-generic clean-noinstLIBRARIES clean-noinstLTLIBRARIES \
- + mostlyclean-am
- +
- +distclean: distclean-recursive
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +distclean-am: clean-am distclean-compile distclean-generic \
- + distclean-tags
- +
- +dvi: dvi-recursive
- +
- +dvi-am:
- +
- +html: html-recursive
- +
- +html-am:
- +
- +info: info-recursive
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-recursive
- +
- +install-dvi-am:
- +
- +install-exec-am:
- +
- +install-html: install-html-recursive
- +
- +install-html-am:
- +
- +install-info: install-info-recursive
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-recursive
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-recursive
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-recursive
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-recursive
- +
- +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- + mostlyclean-local
- +
- +pdf: pdf-recursive
- +
- +pdf-am:
- +
- +ps: ps-recursive
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
- + ctags-recursive install install-am install-strip \
- + tags-recursive
- +
- +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- + all all-am check check-am clean clean-generic \
- + clean-noinstLIBRARIES clean-noinstLTLIBRARIES ctags \
- + ctags-recursive distclean distclean-compile distclean-generic \
- + distclean-tags distdir dvi dvi-am html html-am info info-am \
- + install install-am install-data install-data-am install-dvi \
- + install-dvi-am install-exec install-exec-am install-html \
- + install-html-am install-info install-info-am install-man \
- + install-pdf install-pdf-am install-ps install-ps-am \
- + install-strip installcheck installcheck-am installdirs \
- + installdirs-am maintainer-clean maintainer-clean-generic \
- + mostlyclean mostlyclean-compile mostlyclean-generic \
- + mostlyclean-local pdf pdf-am ps ps-am tags tags-recursive \
- + uninstall uninstall-am
- +
- +# The arg-nonnull.h that gets inserted into generated .h files is the same as
- +# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
- +arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
- + $(AM_V_GEN)rm -f $@-t $@ && \
- + sed -n -e '/GL_ARG_NONNULL/,$$p' \
- + < $(top_srcdir)/./arg-nonnull.h \
- + > $@-t && \
- + mv $@-t $@
- +# The c++defs.h that gets inserted into generated .h files is the same as
- +# build-aux/c++defs.h, except that it has the copyright header cut off.
- +c++defs.h: $(top_srcdir)/./c++defs.h
- + $(AM_V_GEN)rm -f $@-t $@ && \
- + sed -n -e '/_GL_CXXDEFS/,$$p' \
- + < $(top_srcdir)/./c++defs.h \
- + > $@-t && \
- + mv $@-t $@
- +
- +# We need the following in order to create <signal.h> when the system
- +# doesn't have a complete one.
- +signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- + $(AM_V_GEN)rm -f $@-t $@ && \
- + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
- + sed -e 's|@''GUARD_PREFIX''@|GL|g' \
- + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- + -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
- + -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
- + -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
- + -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
- + -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
- + -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
- + -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
- + -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
- + -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
- + -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
- + -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
- + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
- + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
- + < $(srcdir)/signal.in.h; \
- + } > $@-t && \
- + mv $@-t $@
- +
- +# We need the following in order to create <stddef.h> when the system
- +# doesn't have one that works with the given compiler.
- +@GL_GENERATE_STDDEF_H_TRUE@stddef.h: stddef.in.h $(top_builddir)/config.status
- +@GL_GENERATE_STDDEF_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \
- +@GL_GENERATE_STDDEF_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
- +@GL_GENERATE_STDDEF_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \
- +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
- +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
- +@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
- +@GL_GENERATE_STDDEF_H_TRUE@ < $(srcdir)/stddef.in.h; \
- +@GL_GENERATE_STDDEF_H_TRUE@ } > $@-t && \
- +@GL_GENERATE_STDDEF_H_TRUE@ mv $@-t $@
- +@GL_GENERATE_STDDEF_H_FALSE@stddef.h: $(top_builddir)/config.status
- +@GL_GENERATE_STDDEF_H_FALSE@ rm -f $@
- +
- +# We need the following in order to create <stdint.h> when the system
- +# doesn't have one that works with the given compiler.
- +@GL_GENERATE_STDINT_H_TRUE@stdint.h: stdint.in.h $(top_builddir)/config.status
- +@GL_GENERATE_STDINT_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \
- +@GL_GENERATE_STDINT_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
- +@GL_GENERATE_STDINT_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
- +@GL_GENERATE_STDINT_H_TRUE@ < $(srcdir)/stdint.in.h; \
- +@GL_GENERATE_STDINT_H_TRUE@ } > $@-t && \
- +@GL_GENERATE_STDINT_H_TRUE@ mv $@-t $@
- +@GL_GENERATE_STDINT_H_FALSE@stdint.h: $(top_builddir)/config.status
- +@GL_GENERATE_STDINT_H_FALSE@ rm -f $@
- +
- +# We need the following in order to create <string.h> when the system
- +# doesn't have one that works with the given compiler.
- +string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- + $(AM_V_GEN)rm -f $@-t $@ && \
- + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
- + sed -e 's|@''GUARD_PREFIX''@|GL|g' \
- + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- + -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
- + -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
- + -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
- + -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
- + -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
- + -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
- + -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
- + -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
- + -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
- + -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
- + -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
- + -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
- + -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
- + -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
- + -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
- + -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
- + -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
- + -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
- + -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
- + -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
- + -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
- + -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
- + -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
- + -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
- + -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
- + -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
- + -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
- + -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
- + -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
- + -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
- + -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
- + -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
- + -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
- + -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
- + -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
- + -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
- + < $(srcdir)/string.in.h | \
- + sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
- + -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
- + -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
- + -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
- + -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
- + -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
- + -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
- + -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
- + -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
- + -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
- + -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
- + -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
- + -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
- + -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
- + -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
- + -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
- + -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
- + -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
- + -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
- + -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
- + -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
- + -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
- + -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
- + -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
- + -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
- + -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
- + -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
- + -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
- + -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
- + -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
- + -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
- + -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
- + -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
- + -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
- + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
- + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
- + < $(srcdir)/string.in.h; \
- + } > $@-t && \
- + mv $@-t $@
- +# The warn-on-use.h that gets inserted into generated .h files is the same as
- +# build-aux/warn-on-use.h, except that it has the copyright header cut off.
- +warn-on-use.h: $(top_srcdir)/./warn-on-use.h
- + $(AM_V_GEN)rm -f $@-t $@ && \
- + sed -n -e '/^.ifndef/,$$p' \
- + < $(top_srcdir)/./warn-on-use.h \
- + > $@-t && \
- + mv $@-t $@
- +
- +mostlyclean-local: mostlyclean-generic
- + @for dir in '' $(MOSTLYCLEANDIRS); do \
- + if test -n "$$dir" && test -d $$dir; then \
- + echo "rmdir $$dir"; rmdir $$dir; \
- + fi; \
- + done; \
- + :
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- --- /dev/null
- +++ cgminer-2.4.1/compat/Makefile.in
- @@ -0,0 +1,705 @@
- +# Makefile.in generated by automake 1.11.3 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
- +# Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +target_triplet = @target@
- +subdir = compat
- +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
- + $(top_srcdir)/m4/extensions.m4 \
- + $(top_srcdir)/m4/gnulib-common.m4 \
- + $(top_srcdir)/m4/gnulib-comp.m4 \
- + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
- + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
- + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
- + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
- + $(top_srcdir)/m4/signal_h.m4 \
- + $(top_srcdir)/m4/signalblocking.m4 \
- + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
- + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
- + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +SOURCES =
- +DIST_SOURCES =
- +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- + html-recursive info-recursive install-data-recursive \
- + install-dvi-recursive install-exec-recursive \
- + install-html-recursive install-info-recursive \
- + install-pdf-recursive install-ps-recursive install-recursive \
- + installcheck-recursive installdirs-recursive pdf-recursive \
- + ps-recursive uninstall-recursive
- +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- + distclean-recursive maintainer-clean-recursive
- +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- + distdir
- +ETAGS = etags
- +CTAGS = ctags
- +DIST_SUBDIRS = jansson
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +am__relativize = \
- + dir0=`pwd`; \
- + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
- + sed_rest='s,^[^/]*/*,,'; \
- + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
- + sed_butlast='s,/*[^/]*$$,,'; \
- + while test -n "$$dir1"; do \
- + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
- + if test "$$first" != "."; then \
- + if test "$$first" = ".."; then \
- + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
- + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
- + else \
- + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
- + if test "$$first2" = "$$first"; then \
- + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
- + else \
- + dir2="../$$dir2"; \
- + fi; \
- + dir0="$$dir0"/"$$first"; \
- + fi; \
- + fi; \
- + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
- + done; \
- + reldir="$$dir2"
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
- +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
- +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
- +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
- +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DLOPEN_FLAGS = @DLOPEN_FLAGS@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
- +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
- +GNULIB_MBSCHR = @GNULIB_MBSCHR@
- +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
- +GNULIB_MBSLEN = @GNULIB_MBSLEN@
- +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
- +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
- +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
- +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
- +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
- +GNULIB_MBSSEP = @GNULIB_MBSSEP@
- +GNULIB_MBSSPN = @GNULIB_MBSSPN@
- +GNULIB_MBSSTR = @GNULIB_MBSSTR@
- +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
- +GNULIB_MEMCHR = @GNULIB_MEMCHR@
- +GNULIB_MEMMEM = @GNULIB_MEMMEM@
- +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
- +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
- +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
- +GNULIB_SIGACTION = @GNULIB_SIGACTION@
- +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
- +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
- +GNULIB_STPCPY = @GNULIB_STPCPY@
- +GNULIB_STPNCPY = @GNULIB_STPNCPY@
- +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
- +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
- +GNULIB_STRDUP = @GNULIB_STRDUP@
- +GNULIB_STRERROR = @GNULIB_STRERROR@
- +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
- +GNULIB_STRNCAT = @GNULIB_STRNCAT@
- +GNULIB_STRNDUP = @GNULIB_STRNDUP@
- +GNULIB_STRNLEN = @GNULIB_STRNLEN@
- +GNULIB_STRPBRK = @GNULIB_STRPBRK@
- +GNULIB_STRSEP = @GNULIB_STRSEP@
- +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
- +GNULIB_STRSTR = @GNULIB_STRSTR@
- +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
- +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
- +GREP = @GREP@
- +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
- +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
- +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
- +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
- +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
- +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
- +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
- +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
- +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
- +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
- +HAVE_MBSLEN = @HAVE_MBSLEN@
- +HAVE_MEMCHR = @HAVE_MEMCHR@
- +HAVE_MEMPCPY = @HAVE_MEMPCPY@
- +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
- +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
- +HAVE_SIGACTION = @HAVE_SIGACTION@
- +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
- +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
- +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
- +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
- +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
- +HAVE_SIGSET_T = @HAVE_SIGSET_T@
- +HAVE_STDINT_H = @HAVE_STDINT_H@
- +HAVE_STPCPY = @HAVE_STPCPY@
- +HAVE_STPNCPY = @HAVE_STPNCPY@
- +HAVE_STRCASESTR = @HAVE_STRCASESTR@
- +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
- +HAVE_STRPBRK = @HAVE_STRPBRK@
- +HAVE_STRSEP = @HAVE_STRSEP@
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
- +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
- +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
- +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
- +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
- +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
- +HAVE_WCHAR_H = @HAVE_WCHAR_H@
- +HAVE_WCHAR_T = @HAVE_WCHAR_T@
- +INCLUDE_NEXT = @INCLUDE_NEXT@
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JANSSON_LIBS = @JANSSON_LIBS@
- +LDFLAGS = @LDFLAGS@
- +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
- +LIBCURL_LIBS = @LIBCURL_LIBS@
- +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
- +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MATH_LIBS = @MATH_LIBS@
- +MKDIR_P = @MKDIR_P@
- +NCURSES_LIBS = @NCURSES_LIBS@
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
- +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
- +NEXT_STDDEF_H = @NEXT_STDDEF_H@
- +NEXT_STDINT_H = @NEXT_STDINT_H@
- +NEXT_STRING_H = @NEXT_STRING_H@
- +OBJEXT = @OBJEXT@
- +OPENCL_FLAGS = @OPENCL_FLAGS@
- +OPENCL_LIBS = @OPENCL_LIBS@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PDCURSES_LIBS = @PDCURSES_LIBS@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
- +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
- +PTHREAD_FLAGS = @PTHREAD_FLAGS@
- +PTHREAD_LIBS = @PTHREAD_LIBS@
- +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
- +RANLIB = @RANLIB@
- +REPLACE_MEMCHR = @REPLACE_MEMCHR@
- +REPLACE_MEMMEM = @REPLACE_MEMMEM@
- +REPLACE_NULL = @REPLACE_NULL@
- +REPLACE_STPNCPY = @REPLACE_STPNCPY@
- +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
- +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
- +REPLACE_STRDUP = @REPLACE_STRDUP@
- +REPLACE_STRERROR = @REPLACE_STRERROR@
- +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
- +REPLACE_STRNCAT = @REPLACE_STRNCAT@
- +REPLACE_STRNDUP = @REPLACE_STRNDUP@
- +REPLACE_STRNLEN = @REPLACE_STRNLEN@
- +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
- +REPLACE_STRSTR = @REPLACE_STRSTR@
- +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
- +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
- +STDDEF_H = @STDDEF_H@
- +STDINT_H = @STDINT_H@
- +STRIP = @STRIP@
- +UDEV_LIBS = @UDEV_LIBS@
- +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
- +USB_FLAGS = @USB_FLAGS@
- +USB_LIBS = @USB_LIBS@
- +VERSION = @VERSION@
- +VMAJ = @VMAJ@
- +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
- +WINT_T_SUFFIX = @WINT_T_SUFFIX@
- +WS2_LIBS = @WS2_LIBS@
- +YASM = @YASM@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +gl_LIBOBJS = @gl_LIBOBJS@
- +gl_LTLIBOBJS = @gl_LTLIBOBJS@
- +gltests_LIBOBJS = @gltests_LIBOBJS@
- +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
- +gltests_WITNESS = @gltests_WITNESS@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +release_info = @release_info@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target = @target@
- +target_alias = @target_alias@
- +target_cpu = @target_cpu@
- +target_os = @target_os@
- +target_vendor = @target_vendor@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +version_info = @version_info@
- +@WANT_JANSSON_FALSE@SUBDIRS =
- +@WANT_JANSSON_TRUE@SUBDIRS = jansson
- +all: all-recursive
- +
- +.SUFFIXES:
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign compat/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --foreign compat/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- +
- +# This directory's subdirectories are mostly independent; you can cd
- +# into them and run `make' without going through this Makefile.
- +# To change the values of `make' variables: instead of editing Makefiles,
- +# (1) if the variable is set in `config.status', edit `config.status'
- +# (which will cause the Makefiles to be regenerated when you run `make');
- +# (2) otherwise, pass the desired values on the `make' command line.
- +$(RECURSIVE_TARGETS):
- + @fail= failcom='exit 1'; \
- + for f in x $$MAKEFLAGS; do \
- + case $$f in \
- + *=* | --[!k]*);; \
- + *k*) failcom='fail=yes';; \
- + esac; \
- + done; \
- + dot_seen=no; \
- + target=`echo $@ | sed s/-recursive//`; \
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + echo "Making $$target in $$subdir"; \
- + if test "$$subdir" = "."; then \
- + dot_seen=yes; \
- + local_target="$$target-am"; \
- + else \
- + local_target="$$target"; \
- + fi; \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + || eval $$failcom; \
- + done; \
- + if test "$$dot_seen" = "no"; then \
- + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- + fi; test -z "$$fail"
- +
- +$(RECURSIVE_CLEAN_TARGETS):
- + @fail= failcom='exit 1'; \
- + for f in x $$MAKEFLAGS; do \
- + case $$f in \
- + *=* | --[!k]*);; \
- + *k*) failcom='fail=yes';; \
- + esac; \
- + done; \
- + dot_seen=no; \
- + case "$@" in \
- + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- + *) list='$(SUBDIRS)' ;; \
- + esac; \
- + rev=''; for subdir in $$list; do \
- + if test "$$subdir" = "."; then :; else \
- + rev="$$subdir $$rev"; \
- + fi; \
- + done; \
- + rev="$$rev ."; \
- + target=`echo $@ | sed s/-recursive//`; \
- + for subdir in $$rev; do \
- + echo "Making $$target in $$subdir"; \
- + if test "$$subdir" = "."; then \
- + local_target="$$target-am"; \
- + else \
- + local_target="$$target"; \
- + fi; \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + || eval $$failcom; \
- + done && test -z "$$fail"
- +tags-recursive:
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- + done
- +ctags-recursive:
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- + done
- +
- +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + mkid -fID $$unique
- +tags: TAGS
- +
- +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + set x; \
- + here=`pwd`; \
- + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- + include_option=--etags-include; \
- + empty_fix=.; \
- + else \
- + include_option=--include; \
- + empty_fix=; \
- + fi; \
- + list='$(SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + test ! -f $$subdir/TAGS || \
- + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
- + fi; \
- + done; \
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + shift; \
- + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- + test -n "$$unique" || unique=$$empty_fix; \
- + if test $$# -gt 0; then \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + "$$@" $$unique; \
- + else \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$unique; \
- + fi; \
- + fi
- +ctags: CTAGS
- +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + test -z "$(CTAGS_ARGS)$$unique" \
- + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- + $$unique
- +
- +GTAGS:
- + here=`$(am__cd) $(top_builddir) && pwd` \
- + && $(am__cd) $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) "$$here"
- +
- +distclean-tags:
- + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + test -d "$(distdir)/$$subdir" \
- + || $(MKDIR_P) "$(distdir)/$$subdir" \
- + || exit 1; \
- + fi; \
- + done
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
- + $(am__relativize); \
- + new_distdir=$$reldir; \
- + dir1=$$subdir; dir2="$(top_distdir)"; \
- + $(am__relativize); \
- + new_top_distdir=$$reldir; \
- + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
- + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
- + ($(am__cd) $$subdir && \
- + $(MAKE) $(AM_MAKEFLAGS) \
- + top_distdir="$$new_top_distdir" \
- + distdir="$$new_distdir" \
- + am__remove_distdir=: \
- + am__skip_length_check=: \
- + am__skip_mode_fix=: \
- + distdir) \
- + || exit 1; \
- + fi; \
- + done
- +check-am: all-am
- +check: check-recursive
- +all-am: Makefile
- +installdirs: installdirs-recursive
- +installdirs-am:
- +install: install-recursive
- +install-exec: install-exec-recursive
- +install-data: install-data-recursive
- +uninstall: uninstall-recursive
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-recursive
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-recursive
- +
- +clean-am: clean-generic mostlyclean-am
- +
- +distclean: distclean-recursive
- + -rm -f Makefile
- +distclean-am: clean-am distclean-generic distclean-tags
- +
- +dvi: dvi-recursive
- +
- +dvi-am:
- +
- +html: html-recursive
- +
- +html-am:
- +
- +info: info-recursive
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-recursive
- +
- +install-dvi-am:
- +
- +install-exec-am:
- +
- +install-html: install-html-recursive
- +
- +install-html-am:
- +
- +install-info: install-info-recursive
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-recursive
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-recursive
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-recursive
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-recursive
- +
- +mostlyclean-am: mostlyclean-generic
- +
- +pdf: pdf-recursive
- +
- +pdf-am:
- +
- +ps: ps-recursive
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
- + install-am install-strip tags-recursive
- +
- +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- + all all-am check check-am clean clean-generic ctags \
- + ctags-recursive distclean distclean-generic distclean-tags \
- + distdir dvi dvi-am html html-am info info-am install \
- + install-am install-data install-data-am install-dvi \
- + install-dvi-am install-exec install-exec-am install-html \
- + install-html-am install-info install-info-am install-man \
- + install-pdf install-pdf-am install-ps install-ps-am \
- + install-strip installcheck installcheck-am installdirs \
- + installdirs-am maintainer-clean maintainer-clean-generic \
- + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
- + tags-recursive uninstall uninstall-am
- +
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- --- /dev/null
- +++ cgminer-2.4.1/compat/jansson/Makefile.in
- @@ -0,0 +1,638 @@
- +# Makefile.in generated by automake 1.11.3 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
- +# Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +target_triplet = @target@
- +subdir = compat/jansson
- +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
- + $(top_srcdir)/m4/extensions.m4 \
- + $(top_srcdir)/m4/gnulib-common.m4 \
- + $(top_srcdir)/m4/gnulib-comp.m4 \
- + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
- + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
- + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
- + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
- + $(top_srcdir)/m4/signal_h.m4 \
- + $(top_srcdir)/m4/signalblocking.m4 \
- + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
- + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
- + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- +LIBRARIES = $(noinst_LIBRARIES)
- +AR = ar
- +ARFLAGS = cru
- +AM_V_AR = $(am__v_AR_@AM_V@)
- +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
- +am__v_AR_0 = @echo " AR " $@;
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +libjansson_a_AR = $(AR) $(ARFLAGS)
- +libjansson_a_LIBADD =
- +am_libjansson_a_OBJECTS = dump.$(OBJEXT) hashtable.$(OBJEXT) \
- + load.$(OBJEXT) strbuffer.$(OBJEXT) utf.$(OBJEXT) \
- + value.$(OBJEXT) memory.$(OBJEXT) error.$(OBJEXT)
- +libjansson_a_OBJECTS = $(am_libjansson_a_OBJECTS)
- +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- +depcomp = $(SHELL) $(top_srcdir)/depcomp
- +am__depfiles_maybe = depfiles
- +am__mv = mv -f
- +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- +AM_V_CC = $(am__v_CC_@AM_V@)
- +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
- +am__v_CC_0 = @echo " CC " $@;
- +CCLD = $(CC)
- +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
- +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
- +am__v_CCLD_0 = @echo " CCLD " $@;
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +SOURCES = $(libjansson_a_SOURCES)
- +DIST_SOURCES = $(libjansson_a_SOURCES)
- +ETAGS = etags
- +CTAGS = ctags
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
- +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
- +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
- +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
- +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DLOPEN_FLAGS = @DLOPEN_FLAGS@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
- +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
- +GNULIB_MBSCHR = @GNULIB_MBSCHR@
- +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
- +GNULIB_MBSLEN = @GNULIB_MBSLEN@
- +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
- +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
- +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
- +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
- +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
- +GNULIB_MBSSEP = @GNULIB_MBSSEP@
- +GNULIB_MBSSPN = @GNULIB_MBSSPN@
- +GNULIB_MBSSTR = @GNULIB_MBSSTR@
- +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
- +GNULIB_MEMCHR = @GNULIB_MEMCHR@
- +GNULIB_MEMMEM = @GNULIB_MEMMEM@
- +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
- +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
- +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
- +GNULIB_SIGACTION = @GNULIB_SIGACTION@
- +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
- +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
- +GNULIB_STPCPY = @GNULIB_STPCPY@
- +GNULIB_STPNCPY = @GNULIB_STPNCPY@
- +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
- +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
- +GNULIB_STRDUP = @GNULIB_STRDUP@
- +GNULIB_STRERROR = @GNULIB_STRERROR@
- +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
- +GNULIB_STRNCAT = @GNULIB_STRNCAT@
- +GNULIB_STRNDUP = @GNULIB_STRNDUP@
- +GNULIB_STRNLEN = @GNULIB_STRNLEN@
- +GNULIB_STRPBRK = @GNULIB_STRPBRK@
- +GNULIB_STRSEP = @GNULIB_STRSEP@
- +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
- +GNULIB_STRSTR = @GNULIB_STRSTR@
- +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
- +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
- +GREP = @GREP@
- +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
- +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
- +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
- +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
- +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
- +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
- +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
- +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
- +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
- +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
- +HAVE_MBSLEN = @HAVE_MBSLEN@
- +HAVE_MEMCHR = @HAVE_MEMCHR@
- +HAVE_MEMPCPY = @HAVE_MEMPCPY@
- +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
- +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
- +HAVE_SIGACTION = @HAVE_SIGACTION@
- +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
- +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
- +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
- +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
- +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
- +HAVE_SIGSET_T = @HAVE_SIGSET_T@
- +HAVE_STDINT_H = @HAVE_STDINT_H@
- +HAVE_STPCPY = @HAVE_STPCPY@
- +HAVE_STPNCPY = @HAVE_STPNCPY@
- +HAVE_STRCASESTR = @HAVE_STRCASESTR@
- +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
- +HAVE_STRPBRK = @HAVE_STRPBRK@
- +HAVE_STRSEP = @HAVE_STRSEP@
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
- +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
- +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
- +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
- +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
- +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
- +HAVE_WCHAR_H = @HAVE_WCHAR_H@
- +HAVE_WCHAR_T = @HAVE_WCHAR_T@
- +INCLUDE_NEXT = @INCLUDE_NEXT@
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JANSSON_LIBS = @JANSSON_LIBS@
- +LDFLAGS = @LDFLAGS@
- +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
- +LIBCURL_LIBS = @LIBCURL_LIBS@
- +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
- +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MATH_LIBS = @MATH_LIBS@
- +MKDIR_P = @MKDIR_P@
- +NCURSES_LIBS = @NCURSES_LIBS@
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
- +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
- +NEXT_STDDEF_H = @NEXT_STDDEF_H@
- +NEXT_STDINT_H = @NEXT_STDINT_H@
- +NEXT_STRING_H = @NEXT_STRING_H@
- +OBJEXT = @OBJEXT@
- +OPENCL_FLAGS = @OPENCL_FLAGS@
- +OPENCL_LIBS = @OPENCL_LIBS@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PDCURSES_LIBS = @PDCURSES_LIBS@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
- +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
- +PTHREAD_FLAGS = @PTHREAD_FLAGS@
- +PTHREAD_LIBS = @PTHREAD_LIBS@
- +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
- +RANLIB = @RANLIB@
- +REPLACE_MEMCHR = @REPLACE_MEMCHR@
- +REPLACE_MEMMEM = @REPLACE_MEMMEM@
- +REPLACE_NULL = @REPLACE_NULL@
- +REPLACE_STPNCPY = @REPLACE_STPNCPY@
- +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
- +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
- +REPLACE_STRDUP = @REPLACE_STRDUP@
- +REPLACE_STRERROR = @REPLACE_STRERROR@
- +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
- +REPLACE_STRNCAT = @REPLACE_STRNCAT@
- +REPLACE_STRNDUP = @REPLACE_STRNDUP@
- +REPLACE_STRNLEN = @REPLACE_STRNLEN@
- +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
- +REPLACE_STRSTR = @REPLACE_STRSTR@
- +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
- +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
- +STDDEF_H = @STDDEF_H@
- +STDINT_H = @STDINT_H@
- +STRIP = @STRIP@
- +UDEV_LIBS = @UDEV_LIBS@
- +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
- +USB_FLAGS = @USB_FLAGS@
- +USB_LIBS = @USB_LIBS@
- +VERSION = @VERSION@
- +VMAJ = @VMAJ@
- +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
- +WINT_T_SUFFIX = @WINT_T_SUFFIX@
- +WS2_LIBS = @WS2_LIBS@
- +YASM = @YASM@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +gl_LIBOBJS = @gl_LIBOBJS@
- +gl_LTLIBOBJS = @gl_LTLIBOBJS@
- +gltests_LIBOBJS = @gltests_LIBOBJS@
- +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
- +gltests_WITNESS = @gltests_WITNESS@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +release_info = @release_info@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target = @target@
- +target_alias = @target_alias@
- +target_cpu = @target_cpu@
- +target_os = @target_os@
- +target_vendor = @target_vendor@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +version_info = @version_info@
- +noinst_LIBRARIES = libjansson.a
- +libjansson_a_SOURCES = \
- + config.h \
- + jansson_config.h \
- + dump.c \
- + hashtable.c \
- + hashtable.h \
- + jansson.h \
- + jansson_private.h \
- + load.c \
- + strbuffer.c \
- + strbuffer.h \
- + utf.c \
- + utf.h \
- + util.h \
- + value.c \
- + memory.c \
- + error.c
- +
- +all: all-am
- +
- +.SUFFIXES:
- +.SUFFIXES: .c .o .obj
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign compat/jansson/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --foreign compat/jansson/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- +
- +clean-noinstLIBRARIES:
- + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
- +libjansson.a: $(libjansson_a_OBJECTS) $(libjansson_a_DEPENDENCIES) $(EXTRA_libjansson_a_DEPENDENCIES)
- + $(AM_V_at)-rm -f libjansson.a
- + $(AM_V_AR)$(libjansson_a_AR) libjansson.a $(libjansson_a_OBJECTS) $(libjansson_a_LIBADD)
- + $(AM_V_at)$(RANLIB) libjansson.a
- +
- +mostlyclean-compile:
- + -rm -f *.$(OBJEXT)
- +
- +distclean-compile:
- + -rm -f *.tab.c
- +
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtable.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/load.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memory.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strbuffer.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf.Po@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Po@am__quote@
- +
- +.c.o:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
- +
- +.c.obj:
- +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
- +
- +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + mkid -fID $$unique
- +tags: TAGS
- +
- +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + set x; \
- + here=`pwd`; \
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + shift; \
- + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- + test -n "$$unique" || unique=$$empty_fix; \
- + if test $$# -gt 0; then \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + "$$@" $$unique; \
- + else \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$unique; \
- + fi; \
- + fi
- +ctags: CTAGS
- +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + test -z "$(CTAGS_ARGS)$$unique" \
- + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- + $$unique
- +
- +GTAGS:
- + here=`$(am__cd) $(top_builddir) && pwd` \
- + && $(am__cd) $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) "$$here"
- +
- +distclean-tags:
- + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- +check-am: all-am
- +check: check-am
- +all-am: Makefile $(LIBRARIES)
- +installdirs:
- +install: install-am
- +install-exec: install-exec-am
- +install-data: install-data-am
- +uninstall: uninstall-am
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-am
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-am
- +
- +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
- +
- +distclean: distclean-am
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +distclean-am: clean-am distclean-compile distclean-generic \
- + distclean-tags
- +
- +dvi: dvi-am
- +
- +dvi-am:
- +
- +html: html-am
- +
- +html-am:
- +
- +info: info-am
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-am
- +
- +install-dvi-am:
- +
- +install-exec-am:
- +
- +install-html: install-html-am
- +
- +install-html-am:
- +
- +install-info: install-info-am
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-am
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-am
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- +mostlyclean-am: mostlyclean-compile mostlyclean-generic
- +
- +pdf: pdf-am
- +
- +pdf-am:
- +
- +ps: ps-am
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: install-am install-strip
- +
- +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- + clean-noinstLIBRARIES ctags distclean distclean-compile \
- + distclean-generic distclean-tags distdir dvi dvi-am html \
- + html-am info info-am install install-am install-data \
- + install-data-am install-dvi install-dvi-am install-exec \
- + install-exec-am install-html install-html-am install-info \
- + install-info-am install-man install-pdf install-pdf-am \
- + install-ps install-ps-am install-strip installcheck \
- + installcheck-am installdirs maintainer-clean \
- + maintainer-clean-generic mostlyclean mostlyclean-compile \
- + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- + uninstall-am
- +
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- --- /dev/null
- +++ cgminer-2.4.1/x86_64/Makefile.in
- @@ -0,0 +1,536 @@
- +# Makefile.in generated by automake 1.11.3 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
- +# Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +target_triplet = @target@
- +subdir = x86_64
- +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
- + $(top_srcdir)/m4/extensions.m4 \
- + $(top_srcdir)/m4/gnulib-common.m4 \
- + $(top_srcdir)/m4/gnulib-comp.m4 \
- + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
- + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
- + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
- + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
- + $(top_srcdir)/m4/signal_h.m4 \
- + $(top_srcdir)/m4/signalblocking.m4 \
- + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
- + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
- + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- +LIBRARIES = $(noinst_LIBRARIES)
- +AR = ar
- +ARFLAGS = cru
- +AM_V_AR = $(am__v_AR_@AM_V@)
- +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
- +am__v_AR_0 = @echo " AR " $@;
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +libx8664_a_AR = $(AR) $(ARFLAGS)
- +libx8664_a_LIBADD =
- +am_libx8664_a_OBJECTS = sha256_xmm_amd64.$(OBJEXT) \
- + sha256_sse4_amd64.$(OBJEXT)
- +libx8664_a_OBJECTS = $(am_libx8664_a_OBJECTS)
- +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +SOURCES = $(libx8664_a_SOURCES)
- +DIST_SOURCES = $(libx8664_a_SOURCES)
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
- +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
- +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
- +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
- +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DLOPEN_FLAGS = @DLOPEN_FLAGS@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
- +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
- +GNULIB_MBSCHR = @GNULIB_MBSCHR@
- +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
- +GNULIB_MBSLEN = @GNULIB_MBSLEN@
- +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
- +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
- +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
- +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
- +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
- +GNULIB_MBSSEP = @GNULIB_MBSSEP@
- +GNULIB_MBSSPN = @GNULIB_MBSSPN@
- +GNULIB_MBSSTR = @GNULIB_MBSSTR@
- +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
- +GNULIB_MEMCHR = @GNULIB_MEMCHR@
- +GNULIB_MEMMEM = @GNULIB_MEMMEM@
- +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
- +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
- +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
- +GNULIB_SIGACTION = @GNULIB_SIGACTION@
- +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
- +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
- +GNULIB_STPCPY = @GNULIB_STPCPY@
- +GNULIB_STPNCPY = @GNULIB_STPNCPY@
- +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
- +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
- +GNULIB_STRDUP = @GNULIB_STRDUP@
- +GNULIB_STRERROR = @GNULIB_STRERROR@
- +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
- +GNULIB_STRNCAT = @GNULIB_STRNCAT@
- +GNULIB_STRNDUP = @GNULIB_STRNDUP@
- +GNULIB_STRNLEN = @GNULIB_STRNLEN@
- +GNULIB_STRPBRK = @GNULIB_STRPBRK@
- +GNULIB_STRSEP = @GNULIB_STRSEP@
- +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
- +GNULIB_STRSTR = @GNULIB_STRSTR@
- +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
- +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
- +GREP = @GREP@
- +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
- +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
- +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
- +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
- +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
- +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
- +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
- +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
- +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
- +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
- +HAVE_MBSLEN = @HAVE_MBSLEN@
- +HAVE_MEMCHR = @HAVE_MEMCHR@
- +HAVE_MEMPCPY = @HAVE_MEMPCPY@
- +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
- +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
- +HAVE_SIGACTION = @HAVE_SIGACTION@
- +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
- +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
- +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
- +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
- +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
- +HAVE_SIGSET_T = @HAVE_SIGSET_T@
- +HAVE_STDINT_H = @HAVE_STDINT_H@
- +HAVE_STPCPY = @HAVE_STPCPY@
- +HAVE_STPNCPY = @HAVE_STPNCPY@
- +HAVE_STRCASESTR = @HAVE_STRCASESTR@
- +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
- +HAVE_STRPBRK = @HAVE_STRPBRK@
- +HAVE_STRSEP = @HAVE_STRSEP@
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
- +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
- +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
- +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
- +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
- +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
- +HAVE_WCHAR_H = @HAVE_WCHAR_H@
- +HAVE_WCHAR_T = @HAVE_WCHAR_T@
- +INCLUDE_NEXT = @INCLUDE_NEXT@
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JANSSON_LIBS = @JANSSON_LIBS@
- +LDFLAGS = @LDFLAGS@
- +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
- +LIBCURL_LIBS = @LIBCURL_LIBS@
- +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
- +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MATH_LIBS = @MATH_LIBS@
- +MKDIR_P = @MKDIR_P@
- +NCURSES_LIBS = @NCURSES_LIBS@
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
- +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
- +NEXT_STDDEF_H = @NEXT_STDDEF_H@
- +NEXT_STDINT_H = @NEXT_STDINT_H@
- +NEXT_STRING_H = @NEXT_STRING_H@
- +OBJEXT = @OBJEXT@
- +OPENCL_FLAGS = @OPENCL_FLAGS@
- +OPENCL_LIBS = @OPENCL_LIBS@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PDCURSES_LIBS = @PDCURSES_LIBS@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
- +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
- +PTHREAD_FLAGS = @PTHREAD_FLAGS@
- +PTHREAD_LIBS = @PTHREAD_LIBS@
- +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
- +RANLIB = @RANLIB@
- +REPLACE_MEMCHR = @REPLACE_MEMCHR@
- +REPLACE_MEMMEM = @REPLACE_MEMMEM@
- +REPLACE_NULL = @REPLACE_NULL@
- +REPLACE_STPNCPY = @REPLACE_STPNCPY@
- +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
- +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
- +REPLACE_STRDUP = @REPLACE_STRDUP@
- +REPLACE_STRERROR = @REPLACE_STRERROR@
- +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
- +REPLACE_STRNCAT = @REPLACE_STRNCAT@
- +REPLACE_STRNDUP = @REPLACE_STRNDUP@
- +REPLACE_STRNLEN = @REPLACE_STRNLEN@
- +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
- +REPLACE_STRSTR = @REPLACE_STRSTR@
- +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
- +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
- +STDDEF_H = @STDDEF_H@
- +STDINT_H = @STDINT_H@
- +STRIP = @STRIP@
- +UDEV_LIBS = @UDEV_LIBS@
- +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
- +USB_FLAGS = @USB_FLAGS@
- +USB_LIBS = @USB_LIBS@
- +VERSION = @VERSION@
- +VMAJ = @VMAJ@
- +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
- +WINT_T_SUFFIX = @WINT_T_SUFFIX@
- +WS2_LIBS = @WS2_LIBS@
- +YASM = @YASM@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +gl_LIBOBJS = @gl_LIBOBJS@
- +gl_LTLIBOBJS = @gl_LTLIBOBJS@
- +gltests_LIBOBJS = @gltests_LIBOBJS@
- +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
- +gltests_WITNESS = @gltests_WITNESS@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +release_info = @release_info@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target = @target@
- +target_alias = @target_alias@
- +target_cpu = @target_cpu@
- +target_os = @target_os@
- +target_vendor = @target_vendor@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +version_info = @version_info@
- +noinst_LIBRARIES = libx8664.a
- +SUFFIXES = .asm
- +libx8664_a_SOURCES = sha256_xmm_amd64.asm sha256_sse4_amd64.asm
- +all: all-am
- +
- +.SUFFIXES:
- +.SUFFIXES: .asm .o
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign x86_64/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --foreign x86_64/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- +
- +clean-noinstLIBRARIES:
- + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
- +libx8664.a: $(libx8664_a_OBJECTS) $(libx8664_a_DEPENDENCIES) $(EXTRA_libx8664_a_DEPENDENCIES)
- + $(AM_V_at)-rm -f libx8664.a
- + $(AM_V_AR)$(libx8664_a_AR) libx8664.a $(libx8664_a_OBJECTS) $(libx8664_a_LIBADD)
- + $(AM_V_at)$(RANLIB) libx8664.a
- +
- +mostlyclean-compile:
- + -rm -f *.$(OBJEXT)
- +
- +distclean-compile:
- + -rm -f *.tab.c
- +tags: TAGS
- +TAGS:
- +
- +ctags: CTAGS
- +CTAGS:
- +
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- +check-am: all-am
- +check: check-am
- +all-am: Makefile $(LIBRARIES)
- +installdirs:
- +install: install-am
- +install-exec: install-exec-am
- +install-data: install-data-am
- +uninstall: uninstall-am
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-am
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-am
- +
- +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
- +
- +distclean: distclean-am
- + -rm -f Makefile
- +distclean-am: clean-am distclean-compile distclean-generic
- +
- +dvi: dvi-am
- +
- +dvi-am:
- +
- +html: html-am
- +
- +html-am:
- +
- +info: info-am
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-am
- +
- +install-dvi-am:
- +
- +install-exec-am:
- +
- +install-html: install-html-am
- +
- +install-html-am:
- +
- +install-info: install-info-am
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-am
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-am
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- +mostlyclean-am: mostlyclean-compile mostlyclean-generic
- +
- +pdf: pdf-am
- +
- +pdf-am:
- +
- +ps: ps-am
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: install-am install-strip
- +
- +.PHONY: all all-am check check-am clean clean-generic \
- + clean-noinstLIBRARIES distclean distclean-compile \
- + distclean-generic distdir dvi dvi-am html html-am info info-am \
- + install install-am install-data install-data-am install-dvi \
- + install-dvi-am install-exec install-exec-am install-html \
- + install-html-am install-info install-info-am install-man \
- + install-pdf install-pdf-am install-ps install-ps-am \
- + install-strip installcheck installcheck-am installdirs \
- + maintainer-clean maintainer-clean-generic mostlyclean \
- + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
- + uninstall uninstall-am
- +
- +
- +.asm.o:
- + $(YASM) -f elf64 $<
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- --- /dev/null
- +++ cgminer-2.4.1/x86_32/Makefile.in
- @@ -0,0 +1,535 @@
- +# Makefile.in generated by automake 1.11.3 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
- +# Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +target_triplet = @target@
- +subdir = x86_32
- +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
- + $(top_srcdir)/m4/extensions.m4 \
- + $(top_srcdir)/m4/gnulib-common.m4 \
- + $(top_srcdir)/m4/gnulib-comp.m4 \
- + $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
- + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \
- + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \
- + $(top_srcdir)/m4/onceonly.m4 $(top_srcdir)/m4/sigaction.m4 \
- + $(top_srcdir)/m4/signal_h.m4 \
- + $(top_srcdir)/m4/signalblocking.m4 \
- + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
- + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/warn-on-use.m4 \
- + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = $(top_builddir)/config.h
- +CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- +LIBRARIES = $(noinst_LIBRARIES)
- +AR = ar
- +ARFLAGS = cru
- +AM_V_AR = $(am__v_AR_@AM_V@)
- +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
- +am__v_AR_0 = @echo " AR " $@;
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +libx8632_a_AR = $(AR) $(ARFLAGS)
- +libx8632_a_LIBADD =
- +am_libx8632_a_OBJECTS = sha256_xmm.$(OBJEXT)
- +libx8632_a_OBJECTS = $(am_libx8632_a_OBJECTS)
- +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +SOURCES = $(libx8632_a_SOURCES)
- +DIST_SOURCES = $(libx8632_a_SOURCES)
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
- +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
- +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
- +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
- +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DLOPEN_FLAGS = @DLOPEN_FLAGS@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
- +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
- +GNULIB_MBSCHR = @GNULIB_MBSCHR@
- +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
- +GNULIB_MBSLEN = @GNULIB_MBSLEN@
- +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
- +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
- +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
- +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
- +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
- +GNULIB_MBSSEP = @GNULIB_MBSSEP@
- +GNULIB_MBSSPN = @GNULIB_MBSSPN@
- +GNULIB_MBSSTR = @GNULIB_MBSSTR@
- +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
- +GNULIB_MEMCHR = @GNULIB_MEMCHR@
- +GNULIB_MEMMEM = @GNULIB_MEMMEM@
- +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
- +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
- +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
- +GNULIB_SIGACTION = @GNULIB_SIGACTION@
- +GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
- +GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
- +GNULIB_STPCPY = @GNULIB_STPCPY@
- +GNULIB_STPNCPY = @GNULIB_STPNCPY@
- +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
- +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
- +GNULIB_STRDUP = @GNULIB_STRDUP@
- +GNULIB_STRERROR = @GNULIB_STRERROR@
- +GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
- +GNULIB_STRNCAT = @GNULIB_STRNCAT@
- +GNULIB_STRNDUP = @GNULIB_STRNDUP@
- +GNULIB_STRNLEN = @GNULIB_STRNLEN@
- +GNULIB_STRPBRK = @GNULIB_STRPBRK@
- +GNULIB_STRSEP = @GNULIB_STRSEP@
- +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
- +GNULIB_STRSTR = @GNULIB_STRSTR@
- +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
- +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
- +GREP = @GREP@
- +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
- +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
- +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
- +HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
- +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
- +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
- +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
- +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
- +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
- +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
- +HAVE_MBSLEN = @HAVE_MBSLEN@
- +HAVE_MEMCHR = @HAVE_MEMCHR@
- +HAVE_MEMPCPY = @HAVE_MEMPCPY@
- +HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
- +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
- +HAVE_SIGACTION = @HAVE_SIGACTION@
- +HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
- +HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
- +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
- +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
- +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
- +HAVE_SIGSET_T = @HAVE_SIGSET_T@
- +HAVE_STDINT_H = @HAVE_STDINT_H@
- +HAVE_STPCPY = @HAVE_STPCPY@
- +HAVE_STPNCPY = @HAVE_STPNCPY@
- +HAVE_STRCASESTR = @HAVE_STRCASESTR@
- +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
- +HAVE_STRPBRK = @HAVE_STRPBRK@
- +HAVE_STRSEP = @HAVE_STRSEP@
- +HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@
- +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
- +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
- +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
- +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
- +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
- +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
- +HAVE_WCHAR_H = @HAVE_WCHAR_H@
- +HAVE_WCHAR_T = @HAVE_WCHAR_T@
- +INCLUDE_NEXT = @INCLUDE_NEXT@
- +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JANSSON_LIBS = @JANSSON_LIBS@
- +LDFLAGS = @LDFLAGS@
- +LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
- +LIBCURL_LIBS = @LIBCURL_LIBS@
- +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
- +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MATH_LIBS = @MATH_LIBS@
- +MKDIR_P = @MKDIR_P@
- +NCURSES_LIBS = @NCURSES_LIBS@
- +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
- +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
- +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
- +NEXT_SIGNAL_H = @NEXT_SIGNAL_H@
- +NEXT_STDDEF_H = @NEXT_STDDEF_H@
- +NEXT_STDINT_H = @NEXT_STDINT_H@
- +NEXT_STRING_H = @NEXT_STRING_H@
- +OBJEXT = @OBJEXT@
- +OPENCL_FLAGS = @OPENCL_FLAGS@
- +OPENCL_LIBS = @OPENCL_LIBS@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PDCURSES_LIBS = @PDCURSES_LIBS@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
- +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
- +PTHREAD_FLAGS = @PTHREAD_FLAGS@
- +PTHREAD_LIBS = @PTHREAD_LIBS@
- +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
- +RANLIB = @RANLIB@
- +REPLACE_MEMCHR = @REPLACE_MEMCHR@
- +REPLACE_MEMMEM = @REPLACE_MEMMEM@
- +REPLACE_NULL = @REPLACE_NULL@
- +REPLACE_STPNCPY = @REPLACE_STPNCPY@
- +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
- +REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
- +REPLACE_STRDUP = @REPLACE_STRDUP@
- +REPLACE_STRERROR = @REPLACE_STRERROR@
- +REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
- +REPLACE_STRNCAT = @REPLACE_STRNCAT@
- +REPLACE_STRNDUP = @REPLACE_STRNDUP@
- +REPLACE_STRNLEN = @REPLACE_STRNLEN@
- +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
- +REPLACE_STRSTR = @REPLACE_STRSTR@
- +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
- +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
- +STDDEF_H = @STDDEF_H@
- +STDINT_H = @STDINT_H@
- +STRIP = @STRIP@
- +UDEV_LIBS = @UDEV_LIBS@
- +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
- +USB_FLAGS = @USB_FLAGS@
- +USB_LIBS = @USB_LIBS@
- +VERSION = @VERSION@
- +VMAJ = @VMAJ@
- +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
- +WINT_T_SUFFIX = @WINT_T_SUFFIX@
- +WS2_LIBS = @WS2_LIBS@
- +YASM = @YASM@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +gl_LIBOBJS = @gl_LIBOBJS@
- +gl_LTLIBOBJS = @gl_LTLIBOBJS@
- +gltests_LIBOBJS = @gltests_LIBOBJS@
- +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
- +gltests_WITNESS = @gltests_WITNESS@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +release_info = @release_info@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target = @target@
- +target_alias = @target_alias@
- +target_cpu = @target_cpu@
- +target_os = @target_os@
- +target_vendor = @target_vendor@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +version_info = @version_info@
- +noinst_LIBRARIES = libx8632.a
- +SUFFIXES = .asm
- +libx8632_a_SOURCES = sha256_xmm.asm
- +all: all-am
- +
- +.SUFFIXES:
- +.SUFFIXES: .asm .o
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign x86_32/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --foreign x86_32/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- +
- +clean-noinstLIBRARIES:
- + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
- +libx8632.a: $(libx8632_a_OBJECTS) $(libx8632_a_DEPENDENCIES) $(EXTRA_libx8632_a_DEPENDENCIES)
- + $(AM_V_at)-rm -f libx8632.a
- + $(AM_V_AR)$(libx8632_a_AR) libx8632.a $(libx8632_a_OBJECTS) $(libx8632_a_LIBADD)
- + $(AM_V_at)$(RANLIB) libx8632.a
- +
- +mostlyclean-compile:
- + -rm -f *.$(OBJEXT)
- +
- +distclean-compile:
- + -rm -f *.tab.c
- +tags: TAGS
- +TAGS:
- +
- +ctags: CTAGS
- +CTAGS:
- +
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- +check-am: all-am
- +check: check-am
- +all-am: Makefile $(LIBRARIES)
- +installdirs:
- +install: install-am
- +install-exec: install-exec-am
- +install-data: install-data-am
- +uninstall: uninstall-am
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-am
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-am
- +
- +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
- +
- +distclean: distclean-am
- + -rm -f Makefile
- +distclean-am: clean-am distclean-compile distclean-generic
- +
- +dvi: dvi-am
- +
- +dvi-am:
- +
- +html: html-am
- +
- +html-am:
- +
- +info: info-am
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-am
- +
- +install-dvi-am:
- +
- +install-exec-am:
- +
- +install-html: install-html-am
- +
- +install-html-am:
- +
- +install-info: install-info-am
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-am
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-am
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- +mostlyclean-am: mostlyclean-compile mostlyclean-generic
- +
- +pdf: pdf-am
- +
- +pdf-am:
- +
- +ps: ps-am
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: install-am install-strip
- +
- +.PHONY: all all-am check check-am clean clean-generic \
- + clean-noinstLIBRARIES distclean distclean-compile \
- + distclean-generic distdir dvi dvi-am html html-am info info-am \
- + install install-am install-data install-data-am install-dvi \
- + install-dvi-am install-exec install-exec-am install-html \
- + install-html-am install-info install-info-am install-man \
- + install-pdf install-pdf-am install-ps install-ps-am \
- + install-strip installcheck installcheck-am installdirs \
- + maintainer-clean maintainer-clean-generic mostlyclean \
- + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
- + uninstall uninstall-am
- +
- +
- +.asm.o:
- + $(YASM) -f elf32 $<
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
|