Няма описание https://github.com/Netsukuku/netsukuku
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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