configure 232 KB

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