configure 233 KB

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