configure 261 KB

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