configure 182 KB

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