configure 184 KB

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