configure 209 KB

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