1
0

configure 231 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.67 for ngircd 18.
  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='18'
  506. PACKAGE_STRING='ngircd 18'
  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 18 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 18:";;
  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 18
  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 18, 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='18'
  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 getaddrinfo getnameinfo inet_aton sigaction sigprocmask snprintf \
  5161. vsnprintf strdup strlcpy strlcat strtok_r
  5162. do :
  5163. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5164. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  5165. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  5166. cat >>confdefs.h <<_ACEOF
  5167. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5168. _ACEOF
  5169. fi
  5170. done
  5171. # -- Configuration options --
  5172. # use syslog?
  5173. x_syslog_on=no
  5174. # Check whether --with-syslog was given.
  5175. if test "${with_syslog+set}" = set; then :
  5176. withval=$with_syslog; if test "$withval" != "no"; then
  5177. if test "$withval" != "yes"; then
  5178. CFLAGS="-I$withval/include $CFLAGS"
  5179. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5180. LDFLAGS="-L$withval/lib $LDFLAGS"
  5181. fi
  5182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -lbe" >&5
  5183. $as_echo_n "checking for syslog in -lbe... " >&6; }
  5184. if test "${ac_cv_lib_be_syslog+set}" = set; then :
  5185. $as_echo_n "(cached) " >&6
  5186. else
  5187. ac_check_lib_save_LIBS=$LIBS
  5188. LIBS="-lbe $LIBS"
  5189. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5190. /* end confdefs.h. */
  5191. /* Override any GCC internal prototype to avoid an error.
  5192. Use char because int might match the return type of a GCC
  5193. builtin and then its argument prototype would still apply. */
  5194. #ifdef __cplusplus
  5195. extern "C"
  5196. #endif
  5197. char syslog ();
  5198. int
  5199. main ()
  5200. {
  5201. return syslog ();
  5202. ;
  5203. return 0;
  5204. }
  5205. _ACEOF
  5206. if ac_fn_c_try_link "$LINENO"; then :
  5207. ac_cv_lib_be_syslog=yes
  5208. else
  5209. ac_cv_lib_be_syslog=no
  5210. fi
  5211. rm -f core conftest.err conftest.$ac_objext \
  5212. conftest$ac_exeext conftest.$ac_ext
  5213. LIBS=$ac_check_lib_save_LIBS
  5214. fi
  5215. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_be_syslog" >&5
  5216. $as_echo "$ac_cv_lib_be_syslog" >&6; }
  5217. if test "x$ac_cv_lib_be_syslog" = x""yes; then :
  5218. cat >>confdefs.h <<_ACEOF
  5219. #define HAVE_LIBBE 1
  5220. _ACEOF
  5221. LIBS="-lbe $LIBS"
  5222. fi
  5223. for ac_func in syslog
  5224. do :
  5225. ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
  5226. if test "x$ac_cv_func_syslog" = x""yes; then :
  5227. cat >>confdefs.h <<_ACEOF
  5228. #define HAVE_SYSLOG 1
  5229. _ACEOF
  5230. x_syslog_on=yes
  5231. else
  5232. as_fn_error $? "Can't enable syslog!" "$LINENO" 5
  5233. fi
  5234. done
  5235. fi
  5236. else
  5237. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -lbe" >&5
  5238. $as_echo_n "checking for syslog in -lbe... " >&6; }
  5239. if test "${ac_cv_lib_be_syslog+set}" = set; then :
  5240. $as_echo_n "(cached) " >&6
  5241. else
  5242. ac_check_lib_save_LIBS=$LIBS
  5243. LIBS="-lbe $LIBS"
  5244. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5245. /* end confdefs.h. */
  5246. /* Override any GCC internal prototype to avoid an error.
  5247. Use char because int might match the return type of a GCC
  5248. builtin and then its argument prototype would still apply. */
  5249. #ifdef __cplusplus
  5250. extern "C"
  5251. #endif
  5252. char syslog ();
  5253. int
  5254. main ()
  5255. {
  5256. return syslog ();
  5257. ;
  5258. return 0;
  5259. }
  5260. _ACEOF
  5261. if ac_fn_c_try_link "$LINENO"; then :
  5262. ac_cv_lib_be_syslog=yes
  5263. else
  5264. ac_cv_lib_be_syslog=no
  5265. fi
  5266. rm -f core conftest.err conftest.$ac_objext \
  5267. conftest$ac_exeext conftest.$ac_ext
  5268. LIBS=$ac_check_lib_save_LIBS
  5269. fi
  5270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_be_syslog" >&5
  5271. $as_echo "$ac_cv_lib_be_syslog" >&6; }
  5272. if test "x$ac_cv_lib_be_syslog" = x""yes; then :
  5273. cat >>confdefs.h <<_ACEOF
  5274. #define HAVE_LIBBE 1
  5275. _ACEOF
  5276. LIBS="-lbe $LIBS"
  5277. fi
  5278. for ac_func in syslog
  5279. do :
  5280. ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
  5281. if test "x$ac_cv_func_syslog" = x""yes; then :
  5282. cat >>confdefs.h <<_ACEOF
  5283. #define HAVE_SYSLOG 1
  5284. _ACEOF
  5285. x_syslog_on=yes
  5286. fi
  5287. done
  5288. fi
  5289. if test "$x_syslog_on" = "yes"; then
  5290. $as_echo "#define SYSLOG 1" >>confdefs.h
  5291. for ac_header in syslog.h
  5292. do :
  5293. ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
  5294. if test "x$ac_cv_header_syslog_h" = x""yes; then :
  5295. cat >>confdefs.h <<_ACEOF
  5296. #define HAVE_SYSLOG_H 1
  5297. _ACEOF
  5298. else
  5299. as_fn_error $? "required C header missing!" "$LINENO" 5
  5300. fi
  5301. done
  5302. fi
  5303. # use zlib compression?
  5304. x_zlib_on=no
  5305. # Check whether --with-zlib was given.
  5306. if test "${with_zlib+set}" = set; then :
  5307. withval=$with_zlib; if test "$withval" != "no"; then
  5308. if test "$withval" != "yes"; then
  5309. CFLAGS="-I$withval/include $CFLAGS"
  5310. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5311. LDFLAGS="-L$withval/lib $LDFLAGS"
  5312. fi
  5313. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
  5314. $as_echo_n "checking for deflate in -lz... " >&6; }
  5315. if test "${ac_cv_lib_z_deflate+set}" = set; then :
  5316. $as_echo_n "(cached) " >&6
  5317. else
  5318. ac_check_lib_save_LIBS=$LIBS
  5319. LIBS="-lz $LIBS"
  5320. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5321. /* end confdefs.h. */
  5322. /* Override any GCC internal prototype to avoid an error.
  5323. Use char because int might match the return type of a GCC
  5324. builtin and then its argument prototype would still apply. */
  5325. #ifdef __cplusplus
  5326. extern "C"
  5327. #endif
  5328. char deflate ();
  5329. int
  5330. main ()
  5331. {
  5332. return deflate ();
  5333. ;
  5334. return 0;
  5335. }
  5336. _ACEOF
  5337. if ac_fn_c_try_link "$LINENO"; then :
  5338. ac_cv_lib_z_deflate=yes
  5339. else
  5340. ac_cv_lib_z_deflate=no
  5341. fi
  5342. rm -f core conftest.err conftest.$ac_objext \
  5343. conftest$ac_exeext conftest.$ac_ext
  5344. LIBS=$ac_check_lib_save_LIBS
  5345. fi
  5346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
  5347. $as_echo "$ac_cv_lib_z_deflate" >&6; }
  5348. if test "x$ac_cv_lib_z_deflate" = x""yes; then :
  5349. cat >>confdefs.h <<_ACEOF
  5350. #define HAVE_LIBZ 1
  5351. _ACEOF
  5352. LIBS="-lz $LIBS"
  5353. fi
  5354. for ac_func in deflate
  5355. do :
  5356. ac_fn_c_check_func "$LINENO" "deflate" "ac_cv_func_deflate"
  5357. if test "x$ac_cv_func_deflate" = x""yes; then :
  5358. cat >>confdefs.h <<_ACEOF
  5359. #define HAVE_DEFLATE 1
  5360. _ACEOF
  5361. x_zlib_on=yes
  5362. else
  5363. as_fn_error $? "Can't enable zlib!" "$LINENO" 5
  5364. fi
  5365. done
  5366. fi
  5367. else
  5368. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
  5369. $as_echo_n "checking for deflate in -lz... " >&6; }
  5370. if test "${ac_cv_lib_z_deflate+set}" = set; then :
  5371. $as_echo_n "(cached) " >&6
  5372. else
  5373. ac_check_lib_save_LIBS=$LIBS
  5374. LIBS="-lz $LIBS"
  5375. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5376. /* end confdefs.h. */
  5377. /* Override any GCC internal prototype to avoid an error.
  5378. Use char because int might match the return type of a GCC
  5379. builtin and then its argument prototype would still apply. */
  5380. #ifdef __cplusplus
  5381. extern "C"
  5382. #endif
  5383. char deflate ();
  5384. int
  5385. main ()
  5386. {
  5387. return deflate ();
  5388. ;
  5389. return 0;
  5390. }
  5391. _ACEOF
  5392. if ac_fn_c_try_link "$LINENO"; then :
  5393. ac_cv_lib_z_deflate=yes
  5394. else
  5395. ac_cv_lib_z_deflate=no
  5396. fi
  5397. rm -f core conftest.err conftest.$ac_objext \
  5398. conftest$ac_exeext conftest.$ac_ext
  5399. LIBS=$ac_check_lib_save_LIBS
  5400. fi
  5401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
  5402. $as_echo "$ac_cv_lib_z_deflate" >&6; }
  5403. if test "x$ac_cv_lib_z_deflate" = x""yes; then :
  5404. cat >>confdefs.h <<_ACEOF
  5405. #define HAVE_LIBZ 1
  5406. _ACEOF
  5407. LIBS="-lz $LIBS"
  5408. fi
  5409. for ac_func in deflate
  5410. do :
  5411. ac_fn_c_check_func "$LINENO" "deflate" "ac_cv_func_deflate"
  5412. if test "x$ac_cv_func_deflate" = x""yes; then :
  5413. cat >>confdefs.h <<_ACEOF
  5414. #define HAVE_DEFLATE 1
  5415. _ACEOF
  5416. x_zlib_on=yes
  5417. fi
  5418. done
  5419. fi
  5420. if test "$x_zlib_on" = "yes"; then
  5421. $as_echo "#define ZLIB 1" >>confdefs.h
  5422. for ac_header in zlib.h
  5423. do :
  5424. ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
  5425. if test "x$ac_cv_header_zlib_h" = x""yes; then :
  5426. cat >>confdefs.h <<_ACEOF
  5427. #define HAVE_ZLIB_H 1
  5428. _ACEOF
  5429. else
  5430. as_fn_error $? "required C header missing!" "$LINENO" 5
  5431. fi
  5432. done
  5433. fi
  5434. # detect which IO API to use:
  5435. x_io_backend=none
  5436. # Check whether --with-select was given.
  5437. if test "${with_select+set}" = set; then :
  5438. withval=$with_select; if test "$withval" != "no"; then
  5439. if test "$withval" != "yes"; then
  5440. CFLAGS="-I$withval/include $CFLAGS"
  5441. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5442. LDFLAGS="-L$withval/lib $LDFLAGS"
  5443. fi
  5444. for ac_func in select
  5445. do :
  5446. ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
  5447. if test "x$ac_cv_func_select" = x""yes; then :
  5448. cat >>confdefs.h <<_ACEOF
  5449. #define HAVE_SELECT 1
  5450. _ACEOF
  5451. x_io_select=yes
  5452. else
  5453. as_fn_error $? "Can't enable select IO support!" "$LINENO" 5
  5454. fi
  5455. done
  5456. fi
  5457. else
  5458. for ac_func in select
  5459. do :
  5460. ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
  5461. if test "x$ac_cv_func_select" = x""yes; then :
  5462. cat >>confdefs.h <<_ACEOF
  5463. #define HAVE_SELECT 1
  5464. _ACEOF
  5465. x_io_select=yes
  5466. fi
  5467. done
  5468. fi
  5469. # Check whether --with-poll was given.
  5470. if test "${with_poll+set}" = set; then :
  5471. withval=$with_poll; if test "$withval" != "no"; then
  5472. if test "$withval" != "yes"; then
  5473. CFLAGS="-I$withval/include $CFLAGS"
  5474. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5475. LDFLAGS="-L$withval/lib $LDFLAGS"
  5476. fi
  5477. for ac_func in poll
  5478. do :
  5479. ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
  5480. if test "x$ac_cv_func_poll" = x""yes; then :
  5481. cat >>confdefs.h <<_ACEOF
  5482. #define HAVE_POLL 1
  5483. _ACEOF
  5484. x_io_backend=poll\(\)
  5485. else
  5486. as_fn_error $? "Can't enable poll IO support!" "$LINENO" 5
  5487. fi
  5488. done
  5489. fi
  5490. else
  5491. for ac_func in poll
  5492. do :
  5493. ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
  5494. if test "x$ac_cv_func_poll" = x""yes; then :
  5495. cat >>confdefs.h <<_ACEOF
  5496. #define HAVE_POLL 1
  5497. _ACEOF
  5498. x_io_backend=poll\(\)
  5499. fi
  5500. done
  5501. fi
  5502. # Check whether --with-devpoll was given.
  5503. if test "${with_devpoll+set}" = set; then :
  5504. withval=$with_devpoll; if test "$withval" != "no"; then
  5505. if test "$withval" != "yes"; then
  5506. CFLAGS="-I$withval/include $CFLAGS"
  5507. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5508. LDFLAGS="-L$withval/lib $LDFLAGS"
  5509. fi
  5510. for ac_header in sys/devpoll.h
  5511. do :
  5512. ac_fn_c_check_header_mongrel "$LINENO" "sys/devpoll.h" "ac_cv_header_sys_devpoll_h" "$ac_includes_default"
  5513. if test "x$ac_cv_header_sys_devpoll_h" = x""yes; then :
  5514. cat >>confdefs.h <<_ACEOF
  5515. #define HAVE_SYS_DEVPOLL_H 1
  5516. _ACEOF
  5517. else
  5518. as_fn_error $? "required C header missing!" "$LINENO" 5
  5519. fi
  5520. done
  5521. fi
  5522. else
  5523. for ac_header in sys/devpoll.h
  5524. do :
  5525. ac_fn_c_check_header_mongrel "$LINENO" "sys/devpoll.h" "ac_cv_header_sys_devpoll_h" "$ac_includes_default"
  5526. if test "x$ac_cv_header_sys_devpoll_h" = x""yes; then :
  5527. cat >>confdefs.h <<_ACEOF
  5528. #define HAVE_SYS_DEVPOLL_H 1
  5529. _ACEOF
  5530. x_io_backend=/dev/poll
  5531. fi
  5532. done
  5533. fi
  5534. # Check whether --with-epoll was given.
  5535. if test "${with_epoll+set}" = set; then :
  5536. withval=$with_epoll; if test "$withval" != "no"; then
  5537. if test "$withval" != "yes"; then
  5538. CFLAGS="-I$withval/include $CFLAGS"
  5539. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5540. LDFLAGS="-L$withval/lib $LDFLAGS"
  5541. fi
  5542. for ac_func in epoll_create
  5543. do :
  5544. ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
  5545. if test "x$ac_cv_func_epoll_create" = x""yes; then :
  5546. cat >>confdefs.h <<_ACEOF
  5547. #define HAVE_EPOLL_CREATE 1
  5548. _ACEOF
  5549. x_io_epoll=yes
  5550. else
  5551. as_fn_error $? "Can't enable epoll IO support!" "$LINENO" 5
  5552. fi
  5553. done
  5554. fi
  5555. else
  5556. for ac_func in epoll_create
  5557. do :
  5558. ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
  5559. if test "x$ac_cv_func_epoll_create" = x""yes; then :
  5560. cat >>confdefs.h <<_ACEOF
  5561. #define HAVE_EPOLL_CREATE 1
  5562. _ACEOF
  5563. x_io_epoll=yes
  5564. fi
  5565. done
  5566. fi
  5567. # Check whether --with-kqueue was given.
  5568. if test "${with_kqueue+set}" = set; then :
  5569. withval=$with_kqueue; if test "$withval" != "no"; then
  5570. if test "$withval" != "yes"; then
  5571. CFLAGS="-I$withval/include $CFLAGS"
  5572. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5573. LDFLAGS="-L$withval/lib $LDFLAGS"
  5574. fi
  5575. for ac_func in kqueue
  5576. do :
  5577. ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
  5578. if test "x$ac_cv_func_kqueue" = x""yes; then :
  5579. cat >>confdefs.h <<_ACEOF
  5580. #define HAVE_KQUEUE 1
  5581. _ACEOF
  5582. x_io_backend=kqueue\(\)
  5583. else
  5584. as_fn_error $? "Can't enable kqueue IO support!" "$LINENO" 5
  5585. fi
  5586. done
  5587. fi
  5588. else
  5589. for ac_func in kqueue
  5590. do :
  5591. ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
  5592. if test "x$ac_cv_func_kqueue" = x""yes; then :
  5593. cat >>confdefs.h <<_ACEOF
  5594. #define HAVE_KQUEUE 1
  5595. _ACEOF
  5596. x_io_backend=kqueue\(\)
  5597. fi
  5598. done
  5599. fi
  5600. if test "$x_io_epoll" = "yes" -a "$x_io_select" = "yes"; then
  5601. # when epoll() and select() are available, we'll use both!
  5602. x_io_backend="epoll(), select()"
  5603. else
  5604. if test "$x_io_epoll" = "yes"; then
  5605. # we prefere epoll() if it is available
  5606. x_io_backend="epoll()"
  5607. else
  5608. if test "$x_io_select" = "yes" -a "$x_io_backend" = "none"; then
  5609. # we'll use select, when available and no "better"
  5610. # interface has been detected ...
  5611. x_io_backend="select()"
  5612. fi
  5613. fi
  5614. fi
  5615. if test "$x_io_backend" = "none"; then
  5616. as_fn_error $? "No useabe IO API activated/found!?" "$LINENO" 5
  5617. fi
  5618. # use SSL?
  5619. # Check whether --with-openssl was given.
  5620. if test "${with_openssl+set}" = set; then :
  5621. withval=$with_openssl; if test "$withval" != "no"; then
  5622. if test "$withval" != "yes"; then
  5623. CFLAGS="-I$withval/include $CFLAGS"
  5624. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5625. LDFLAGS="-L$withval/lib $LDFLAGS"
  5626. fi
  5627. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIO_s_mem in -lcrypto" >&5
  5628. $as_echo_n "checking for BIO_s_mem in -lcrypto... " >&6; }
  5629. if test "${ac_cv_lib_crypto_BIO_s_mem+set}" = set; then :
  5630. $as_echo_n "(cached) " >&6
  5631. else
  5632. ac_check_lib_save_LIBS=$LIBS
  5633. LIBS="-lcrypto $LIBS"
  5634. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5635. /* end confdefs.h. */
  5636. /* Override any GCC internal prototype to avoid an error.
  5637. Use char because int might match the return type of a GCC
  5638. builtin and then its argument prototype would still apply. */
  5639. #ifdef __cplusplus
  5640. extern "C"
  5641. #endif
  5642. char BIO_s_mem ();
  5643. int
  5644. main ()
  5645. {
  5646. return BIO_s_mem ();
  5647. ;
  5648. return 0;
  5649. }
  5650. _ACEOF
  5651. if ac_fn_c_try_link "$LINENO"; then :
  5652. ac_cv_lib_crypto_BIO_s_mem=yes
  5653. else
  5654. ac_cv_lib_crypto_BIO_s_mem=no
  5655. fi
  5656. rm -f core conftest.err conftest.$ac_objext \
  5657. conftest$ac_exeext conftest.$ac_ext
  5658. LIBS=$ac_check_lib_save_LIBS
  5659. fi
  5660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BIO_s_mem" >&5
  5661. $as_echo "$ac_cv_lib_crypto_BIO_s_mem" >&6; }
  5662. if test "x$ac_cv_lib_crypto_BIO_s_mem" = x""yes; then :
  5663. cat >>confdefs.h <<_ACEOF
  5664. #define HAVE_LIBCRYPTO 1
  5665. _ACEOF
  5666. LIBS="-lcrypto $LIBS"
  5667. fi
  5668. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5
  5669. $as_echo_n "checking for SSL_library_init in -lssl... " >&6; }
  5670. if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :
  5671. $as_echo_n "(cached) " >&6
  5672. else
  5673. ac_check_lib_save_LIBS=$LIBS
  5674. LIBS="-lssl $LIBS"
  5675. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5676. /* end confdefs.h. */
  5677. /* Override any GCC internal prototype to avoid an error.
  5678. Use char because int might match the return type of a GCC
  5679. builtin and then its argument prototype would still apply. */
  5680. #ifdef __cplusplus
  5681. extern "C"
  5682. #endif
  5683. char SSL_library_init ();
  5684. int
  5685. main ()
  5686. {
  5687. return SSL_library_init ();
  5688. ;
  5689. return 0;
  5690. }
  5691. _ACEOF
  5692. if ac_fn_c_try_link "$LINENO"; then :
  5693. ac_cv_lib_ssl_SSL_library_init=yes
  5694. else
  5695. ac_cv_lib_ssl_SSL_library_init=no
  5696. fi
  5697. rm -f core conftest.err conftest.$ac_objext \
  5698. conftest$ac_exeext conftest.$ac_ext
  5699. LIBS=$ac_check_lib_save_LIBS
  5700. fi
  5701. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5
  5702. $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }
  5703. if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then :
  5704. cat >>confdefs.h <<_ACEOF
  5705. #define HAVE_LIBSSL 1
  5706. _ACEOF
  5707. LIBS="-lssl $LIBS"
  5708. fi
  5709. for ac_func in SSL_library_init
  5710. do :
  5711. ac_fn_c_check_func "$LINENO" "SSL_library_init" "ac_cv_func_SSL_library_init"
  5712. if test "x$ac_cv_func_SSL_library_init" = x""yes; then :
  5713. cat >>confdefs.h <<_ACEOF
  5714. #define HAVE_SSL_LIBRARY_INIT 1
  5715. _ACEOF
  5716. x_ssl_openssl=yes
  5717. else
  5718. as_fn_error $? "Can't enable openssl" "$LINENO" 5
  5719. fi
  5720. done
  5721. fi
  5722. fi
  5723. # Check whether --with-gnutls was given.
  5724. if test "${with_gnutls+set}" = set; then :
  5725. withval=$with_gnutls; if test "$withval" != "no"; then
  5726. if test "$withval" != "yes"; then
  5727. CFLAGS="-I$withval/include $CFLAGS"
  5728. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5729. LDFLAGS="-L$withval/lib $LDFLAGS"
  5730. fi
  5731. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_global_init in -lgnutls" >&5
  5732. $as_echo_n "checking for gnutls_global_init in -lgnutls... " >&6; }
  5733. if test "${ac_cv_lib_gnutls_gnutls_global_init+set}" = set; then :
  5734. $as_echo_n "(cached) " >&6
  5735. else
  5736. ac_check_lib_save_LIBS=$LIBS
  5737. LIBS="-lgnutls $LIBS"
  5738. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5739. /* end confdefs.h. */
  5740. /* Override any GCC internal prototype to avoid an error.
  5741. Use char because int might match the return type of a GCC
  5742. builtin and then its argument prototype would still apply. */
  5743. #ifdef __cplusplus
  5744. extern "C"
  5745. #endif
  5746. char gnutls_global_init ();
  5747. int
  5748. main ()
  5749. {
  5750. return gnutls_global_init ();
  5751. ;
  5752. return 0;
  5753. }
  5754. _ACEOF
  5755. if ac_fn_c_try_link "$LINENO"; then :
  5756. ac_cv_lib_gnutls_gnutls_global_init=yes
  5757. else
  5758. ac_cv_lib_gnutls_gnutls_global_init=no
  5759. fi
  5760. rm -f core conftest.err conftest.$ac_objext \
  5761. conftest$ac_exeext conftest.$ac_ext
  5762. LIBS=$ac_check_lib_save_LIBS
  5763. fi
  5764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_global_init" >&5
  5765. $as_echo "$ac_cv_lib_gnutls_gnutls_global_init" >&6; }
  5766. if test "x$ac_cv_lib_gnutls_gnutls_global_init" = x""yes; then :
  5767. cat >>confdefs.h <<_ACEOF
  5768. #define HAVE_LIBGNUTLS 1
  5769. _ACEOF
  5770. LIBS="-lgnutls $LIBS"
  5771. fi
  5772. for ac_func in gnutls_global_init
  5773. do :
  5774. ac_fn_c_check_func "$LINENO" "gnutls_global_init" "ac_cv_func_gnutls_global_init"
  5775. if test "x$ac_cv_func_gnutls_global_init" = x""yes; then :
  5776. cat >>confdefs.h <<_ACEOF
  5777. #define HAVE_GNUTLS_GLOBAL_INIT 1
  5778. _ACEOF
  5779. x_ssl_gnutls=yes
  5780. else
  5781. as_fn_error $? "Can't enable gnutls" "$LINENO" 5
  5782. fi
  5783. done
  5784. fi
  5785. fi
  5786. x_ssl_lib="no"
  5787. if test "$x_ssl_gnutls" = "yes"; then
  5788. if test "$x_ssl_openssl" = "yes";then
  5789. as_fn_error $? "Cannot enable both gnutls and openssl" "$LINENO" 5
  5790. fi
  5791. x_ssl_lib=gnutls
  5792. fi
  5793. if test "$x_ssl_openssl" = "yes"; then
  5794. x_ssl_lib=openssl
  5795. fi
  5796. # use TCP wrappers?
  5797. x_tcpwrap_on=no
  5798. # Check whether --with-tcp-wrappers was given.
  5799. if test "${with_tcp_wrappers+set}" = set; then :
  5800. withval=$with_tcp_wrappers; if test "$withval" != "no"; then
  5801. if test "$withval" != "yes"; then
  5802. CFLAGS="-I$withval/include $CFLAGS"
  5803. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5804. LDFLAGS="-L$withval/lib $LDFLAGS"
  5805. fi
  5806. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hosts_access" >&5
  5807. $as_echo_n "checking for hosts_access... " >&6; }
  5808. LIBS="-lwrap $LIBS"
  5809. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5810. /* end confdefs.h. */
  5811. #include <tcpd.h>
  5812. int allow_severity = 0;
  5813. int deny_severity = 0;
  5814. int
  5815. main ()
  5816. {
  5817. tcpd_warn("link test");
  5818. ;
  5819. return 0;
  5820. }
  5821. _ACEOF
  5822. if ac_fn_c_try_link "$LINENO"; then :
  5823. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5824. $as_echo "yes" >&6; }
  5825. $as_echo "#define TCPWRAP 1" >>confdefs.h
  5826. x_tcpwrap_on=yes
  5827. else
  5828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5829. $as_echo "no" >&6; }
  5830. as_fn_error $? "Can't enable TCP wrappers!" "$LINENO" 5
  5831. fi
  5832. rm -f core conftest.err conftest.$ac_objext \
  5833. conftest$ac_exeext conftest.$ac_ext
  5834. fi
  5835. fi
  5836. # do IDENT requests using libident?
  5837. x_identauth_on=no
  5838. # Check whether --with-ident was given.
  5839. if test "${with_ident+set}" = set; then :
  5840. withval=$with_ident; if test "$withval" != "no"; then
  5841. if test "$withval" != "yes"; then
  5842. CFLAGS="-I$withval/include $CFLAGS"
  5843. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5844. LDFLAGS="-L$withval/lib $LDFLAGS"
  5845. fi
  5846. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5
  5847. $as_echo_n "checking for ident_id in -lident... " >&6; }
  5848. if test "${ac_cv_lib_ident_ident_id+set}" = set; then :
  5849. $as_echo_n "(cached) " >&6
  5850. else
  5851. ac_check_lib_save_LIBS=$LIBS
  5852. LIBS="-lident $LIBS"
  5853. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5854. /* end confdefs.h. */
  5855. /* Override any GCC internal prototype to avoid an error.
  5856. Use char because int might match the return type of a GCC
  5857. builtin and then its argument prototype would still apply. */
  5858. #ifdef __cplusplus
  5859. extern "C"
  5860. #endif
  5861. char ident_id ();
  5862. int
  5863. main ()
  5864. {
  5865. return ident_id ();
  5866. ;
  5867. return 0;
  5868. }
  5869. _ACEOF
  5870. if ac_fn_c_try_link "$LINENO"; then :
  5871. ac_cv_lib_ident_ident_id=yes
  5872. else
  5873. ac_cv_lib_ident_ident_id=no
  5874. fi
  5875. rm -f core conftest.err conftest.$ac_objext \
  5876. conftest$ac_exeext conftest.$ac_ext
  5877. LIBS=$ac_check_lib_save_LIBS
  5878. fi
  5879. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5
  5880. $as_echo "$ac_cv_lib_ident_ident_id" >&6; }
  5881. if test "x$ac_cv_lib_ident_ident_id" = x""yes; then :
  5882. cat >>confdefs.h <<_ACEOF
  5883. #define HAVE_LIBIDENT 1
  5884. _ACEOF
  5885. LIBS="-lident $LIBS"
  5886. fi
  5887. for ac_func in ident_id
  5888. do :
  5889. ac_fn_c_check_func "$LINENO" "ident_id" "ac_cv_func_ident_id"
  5890. if test "x$ac_cv_func_ident_id" = x""yes; then :
  5891. cat >>confdefs.h <<_ACEOF
  5892. #define HAVE_IDENT_ID 1
  5893. _ACEOF
  5894. x_identauth_on=yes
  5895. else
  5896. as_fn_error $? "Can't enable IDENT support!" "$LINENO" 5
  5897. fi
  5898. done
  5899. fi
  5900. fi
  5901. if test "$x_identauth_on" = "yes"; then
  5902. $as_echo "#define IDENTAUTH 1" >>confdefs.h
  5903. for ac_header in ident.h
  5904. do :
  5905. ac_fn_c_check_header_mongrel "$LINENO" "ident.h" "ac_cv_header_ident_h" "$ac_includes_default"
  5906. if test "x$ac_cv_header_ident_h" = x""yes; then :
  5907. cat >>confdefs.h <<_ACEOF
  5908. #define HAVE_IDENT_H 1
  5909. _ACEOF
  5910. else
  5911. as_fn_error $? "required C header missing!" "$LINENO" 5
  5912. fi
  5913. done
  5914. fi
  5915. # compile in PAM support?
  5916. x_pam_on=no
  5917. # Check whether --with-pam was given.
  5918. if test "${with_pam+set}" = set; then :
  5919. withval=$with_pam; if test "$withval" != "no"; then
  5920. if test "$withval" != "yes"; then
  5921. CFLAGS="-I$withval/include $CFLAGS"
  5922. CPPFLAGS="-I$withval/include $CPPFLAGS"
  5923. LDFLAGS="-L$withval/lib $LDFLAGS"
  5924. fi
  5925. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_authenticate in -lpam" >&5
  5926. $as_echo_n "checking for pam_authenticate in -lpam... " >&6; }
  5927. if test "${ac_cv_lib_pam_pam_authenticate+set}" = set; then :
  5928. $as_echo_n "(cached) " >&6
  5929. else
  5930. ac_check_lib_save_LIBS=$LIBS
  5931. LIBS="-lpam $LIBS"
  5932. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5933. /* end confdefs.h. */
  5934. /* Override any GCC internal prototype to avoid an error.
  5935. Use char because int might match the return type of a GCC
  5936. builtin and then its argument prototype would still apply. */
  5937. #ifdef __cplusplus
  5938. extern "C"
  5939. #endif
  5940. char pam_authenticate ();
  5941. int
  5942. main ()
  5943. {
  5944. return pam_authenticate ();
  5945. ;
  5946. return 0;
  5947. }
  5948. _ACEOF
  5949. if ac_fn_c_try_link "$LINENO"; then :
  5950. ac_cv_lib_pam_pam_authenticate=yes
  5951. else
  5952. ac_cv_lib_pam_pam_authenticate=no
  5953. fi
  5954. rm -f core conftest.err conftest.$ac_objext \
  5955. conftest$ac_exeext conftest.$ac_ext
  5956. LIBS=$ac_check_lib_save_LIBS
  5957. fi
  5958. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_authenticate" >&5
  5959. $as_echo "$ac_cv_lib_pam_pam_authenticate" >&6; }
  5960. if test "x$ac_cv_lib_pam_pam_authenticate" = x""yes; then :
  5961. cat >>confdefs.h <<_ACEOF
  5962. #define HAVE_LIBPAM 1
  5963. _ACEOF
  5964. LIBS="-lpam $LIBS"
  5965. fi
  5966. for ac_func in pam_authenticate
  5967. do :
  5968. ac_fn_c_check_func "$LINENO" "pam_authenticate" "ac_cv_func_pam_authenticate"
  5969. if test "x$ac_cv_func_pam_authenticate" = x""yes; then :
  5970. cat >>confdefs.h <<_ACEOF
  5971. #define HAVE_PAM_AUTHENTICATE 1
  5972. _ACEOF
  5973. x_pam_on=yes
  5974. else
  5975. as_fn_error $? "Can't enable PAM support!" "$LINENO" 5
  5976. fi
  5977. done
  5978. fi
  5979. fi
  5980. if test "$x_pam_on" = "yes"; then
  5981. $as_echo "#define PAM 1" >>confdefs.h
  5982. for ac_header in security/pam_appl.h
  5983. do :
  5984. ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
  5985. if test "x$ac_cv_header_security_pam_appl_h" = x""yes; then :
  5986. cat >>confdefs.h <<_ACEOF
  5987. #define HAVE_SECURITY_PAM_APPL_H 1
  5988. _ACEOF
  5989. pam_ok=yes
  5990. fi
  5991. done
  5992. if test "$pam_ok" != "yes"; then
  5993. for ac_header in pam/pam_appl.h
  5994. do :
  5995. ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
  5996. if test "x$ac_cv_header_pam_pam_appl_h" = x""yes; then :
  5997. cat >>confdefs.h <<_ACEOF
  5998. #define HAVE_PAM_PAM_APPL_H 1
  5999. _ACEOF
  6000. pam_ok=yes
  6001. else
  6002. as_fn_error $? "required C header missing!" "$LINENO" 5
  6003. fi
  6004. done
  6005. fi
  6006. fi
  6007. # compile in IRC+ protocol support?
  6008. x_ircplus_on=yes
  6009. # Check whether --enable-ircplus was given.
  6010. if test "${enable_ircplus+set}" = set; then :
  6011. enableval=$enable_ircplus; if test "$enableval" = "no"; then x_ircplus_on=no; fi
  6012. fi
  6013. if test "$x_ircplus_on" = "yes"; then
  6014. $as_echo "#define IRCPLUS 1" >>confdefs.h
  6015. fi
  6016. # enable support for IPv6?
  6017. x_ipv6_on=no
  6018. # Check whether --enable-ipv6 was given.
  6019. if test "${enable_ipv6+set}" = set; then :
  6020. enableval=$enable_ipv6; if test "$enableval" = "yes"; then x_ipv6_on=yes; fi
  6021. fi
  6022. if test "$x_ipv6_on" = "yes"; then
  6023. # getaddrinfo() and getnameinfo() are optional when not compiling
  6024. # with IPv6 support, but are required for IPv6 to work!
  6025. for ac_func in \
  6026. getaddrinfo getnameinfo \
  6027. do :
  6028. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6029. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  6030. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  6031. cat >>confdefs.h <<_ACEOF
  6032. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6033. _ACEOF
  6034. else
  6035. as_fn_error $? "required function missing for IPv6 support!" "$LINENO" 5
  6036. fi
  6037. done
  6038. $as_echo "#define WANT_IPV6 1" >>confdefs.h
  6039. fi
  6040. # compile in IRC "sniffer"?
  6041. x_sniffer_on=no; x_debug_on=no
  6042. # Check whether --enable-sniffer was given.
  6043. if test "${enable_sniffer+set}" = set; then :
  6044. enableval=$enable_sniffer; if test "$enableval" = "yes"; then
  6045. $as_echo "#define SNIFFER 1" >>confdefs.h
  6046. x_sniffer_on=yes; x_debug_on=yes
  6047. fi
  6048. fi
  6049. # enable additional debugging code?
  6050. # Check whether --enable-debug was given.
  6051. if test "${enable_debug+set}" = set; then :
  6052. enableval=$enable_debug; if test "$enableval" = "yes"; then x_debug_on=yes; fi
  6053. fi
  6054. if test "$x_debug_on" = "yes"; then
  6055. $as_echo "#define DEBUG 1" >>confdefs.h
  6056. test "$GCC" = "yes" && CFLAGS="-pedantic $CFLAGS"
  6057. for ac_func in mtrace
  6058. do :
  6059. ac_fn_c_check_func "$LINENO" "mtrace" "ac_cv_func_mtrace"
  6060. if test "x$ac_cv_func_mtrace" = x""yes; then :
  6061. cat >>confdefs.h <<_ACEOF
  6062. #define HAVE_MTRACE 1
  6063. _ACEOF
  6064. fi
  6065. done
  6066. fi
  6067. # enable "strict RFC rules"?
  6068. x_strict_rfc_on=no
  6069. # Check whether --enable-strict-rfc was given.
  6070. if test "${enable_strict_rfc+set}" = set; then :
  6071. enableval=$enable_strict_rfc; if test "$enableval" = "yes"; then
  6072. $as_echo "#define STRICT_RFC 1" >>confdefs.h
  6073. x_strict_rfc_on=yes
  6074. fi
  6075. fi
  6076. # -- Definitions --
  6077. cat >>confdefs.h <<_ACEOF
  6078. #define TARGET_CPU "$target_cpu"
  6079. _ACEOF
  6080. cat >>confdefs.h <<_ACEOF
  6081. #define TARGET_VENDOR "$target_vendor"
  6082. _ACEOF
  6083. cat >>confdefs.h <<_ACEOF
  6084. #define TARGET_OS "$target_os"
  6085. _ACEOF
  6086. # Add additional CFLAGS, eventually specified on the command line, but after
  6087. # running this configure script. Useful for "-Werror" for example.
  6088. test -n "$CFLAGS_END" && CFLAGS="$CFLAGS $CFLAGS_END"
  6089. # -- Generate files --
  6090. 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"
  6091. cat >confcache <<\_ACEOF
  6092. # This file is a shell script that caches the results of configure
  6093. # tests run on this system so they can be shared between configure
  6094. # scripts and configure runs, see configure's option --config-cache.
  6095. # It is not useful on other systems. If it contains results you don't
  6096. # want to keep, you may remove or edit it.
  6097. #
  6098. # config.status only pays attention to the cache file if you give it
  6099. # the --recheck option to rerun configure.
  6100. #
  6101. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  6102. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  6103. # following values.
  6104. _ACEOF
  6105. # The following way of writing the cache mishandles newlines in values,
  6106. # but we know of no workaround that is simple, portable, and efficient.
  6107. # So, we kill variables containing newlines.
  6108. # Ultrix sh set writes to stderr and can't be redirected directly,
  6109. # and sets the high bit in the cache file unless we assign to the vars.
  6110. (
  6111. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  6112. eval ac_val=\$$ac_var
  6113. case $ac_val in #(
  6114. *${as_nl}*)
  6115. case $ac_var in #(
  6116. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  6117. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  6118. esac
  6119. case $ac_var in #(
  6120. _ | IFS | as_nl) ;; #(
  6121. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  6122. *) { eval $ac_var=; unset $ac_var;} ;;
  6123. esac ;;
  6124. esac
  6125. done
  6126. (set) 2>&1 |
  6127. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  6128. *${as_nl}ac_space=\ *)
  6129. # `set' does not quote correctly, so add quotes: double-quote
  6130. # substitution turns \\\\ into \\, and sed turns \\ into \.
  6131. sed -n \
  6132. "s/'/'\\\\''/g;
  6133. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  6134. ;; #(
  6135. *)
  6136. # `set' quotes correctly as required by POSIX, so do not add quotes.
  6137. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  6138. ;;
  6139. esac |
  6140. sort
  6141. ) |
  6142. sed '
  6143. /^ac_cv_env_/b end
  6144. t clear
  6145. :clear
  6146. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  6147. t end
  6148. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6149. :end' >>confcache
  6150. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  6151. if test -w "$cache_file"; then
  6152. test "x$cache_file" != "x/dev/null" &&
  6153. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  6154. $as_echo "$as_me: updating cache $cache_file" >&6;}
  6155. cat confcache >$cache_file
  6156. else
  6157. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  6158. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  6159. fi
  6160. fi
  6161. rm -f confcache
  6162. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  6163. # Let make expand exec_prefix.
  6164. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  6165. DEFS=-DHAVE_CONFIG_H
  6166. ac_libobjs=
  6167. ac_ltlibobjs=
  6168. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  6169. # 1. Remove the extension, and $U if already installed.
  6170. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  6171. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  6172. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  6173. # will be set to the directory where LIBOBJS objects are built.
  6174. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  6175. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  6176. done
  6177. LIBOBJS=$ac_libobjs
  6178. LTLIBOBJS=$ac_ltlibobjs
  6179. if test -n "$EXEEXT"; then
  6180. am__EXEEXT_TRUE=
  6181. am__EXEEXT_FALSE='#'
  6182. else
  6183. am__EXEEXT_TRUE='#'
  6184. am__EXEEXT_FALSE=
  6185. fi
  6186. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  6187. as_fn_error $? "conditional \"AMDEP\" was never defined.
  6188. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  6189. fi
  6190. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  6191. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  6192. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  6193. fi
  6194. : ${CONFIG_STATUS=./config.status}
  6195. ac_write_fail=0
  6196. ac_clean_files_save=$ac_clean_files
  6197. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  6198. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  6199. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  6200. as_write_fail=0
  6201. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  6202. #! $SHELL
  6203. # Generated by $as_me.
  6204. # Run this file to recreate the current configuration.
  6205. # Compiler output produced by configure, useful for debugging
  6206. # configure, is in config.log if it exists.
  6207. debug=false
  6208. ac_cs_recheck=false
  6209. ac_cs_silent=false
  6210. SHELL=\${CONFIG_SHELL-$SHELL}
  6211. export SHELL
  6212. _ASEOF
  6213. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  6214. ## -------------------- ##
  6215. ## M4sh Initialization. ##
  6216. ## -------------------- ##
  6217. # Be more Bourne compatible
  6218. DUALCASE=1; export DUALCASE # for MKS sh
  6219. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  6220. emulate sh
  6221. NULLCMD=:
  6222. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  6223. # is contrary to our usage. Disable this feature.
  6224. alias -g '${1+"$@"}'='"$@"'
  6225. setopt NO_GLOB_SUBST
  6226. else
  6227. case `(set -o) 2>/dev/null` in #(
  6228. *posix*) :
  6229. set -o posix ;; #(
  6230. *) :
  6231. ;;
  6232. esac
  6233. fi
  6234. as_nl='
  6235. '
  6236. export as_nl
  6237. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  6238. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  6239. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  6240. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  6241. # Prefer a ksh shell builtin over an external printf program on Solaris,
  6242. # but without wasting forks for bash or zsh.
  6243. if test -z "$BASH_VERSION$ZSH_VERSION" \
  6244. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  6245. as_echo='print -r --'
  6246. as_echo_n='print -rn --'
  6247. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  6248. as_echo='printf %s\n'
  6249. as_echo_n='printf %s'
  6250. else
  6251. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  6252. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  6253. as_echo_n='/usr/ucb/echo -n'
  6254. else
  6255. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  6256. as_echo_n_body='eval
  6257. arg=$1;
  6258. case $arg in #(
  6259. *"$as_nl"*)
  6260. expr "X$arg" : "X\\(.*\\)$as_nl";
  6261. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  6262. esac;
  6263. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  6264. '
  6265. export as_echo_n_body
  6266. as_echo_n='sh -c $as_echo_n_body as_echo'
  6267. fi
  6268. export as_echo_body
  6269. as_echo='sh -c $as_echo_body as_echo'
  6270. fi
  6271. # The user is always right.
  6272. if test "${PATH_SEPARATOR+set}" != set; then
  6273. PATH_SEPARATOR=:
  6274. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  6275. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  6276. PATH_SEPARATOR=';'
  6277. }
  6278. fi
  6279. # IFS
  6280. # We need space, tab and new line, in precisely that order. Quoting is
  6281. # there to prevent editors from complaining about space-tab.
  6282. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  6283. # splitting by setting IFS to empty value.)
  6284. IFS=" "" $as_nl"
  6285. # Find who we are. Look in the path if we contain no directory separator.
  6286. case $0 in #((
  6287. *[\\/]* ) as_myself=$0 ;;
  6288. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6289. for as_dir in $PATH
  6290. do
  6291. IFS=$as_save_IFS
  6292. test -z "$as_dir" && as_dir=.
  6293. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6294. done
  6295. IFS=$as_save_IFS
  6296. ;;
  6297. esac
  6298. # We did not find ourselves, most probably we were run as `sh COMMAND'
  6299. # in which case we are not to be found in the path.
  6300. if test "x$as_myself" = x; then
  6301. as_myself=$0
  6302. fi
  6303. if test ! -f "$as_myself"; then
  6304. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  6305. exit 1
  6306. fi
  6307. # Unset variables that we do not need and which cause bugs (e.g. in
  6308. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  6309. # suppresses any "Segmentation fault" message there. '((' could
  6310. # trigger a bug in pdksh 5.2.14.
  6311. for as_var in BASH_ENV ENV MAIL MAILPATH
  6312. do eval test x\${$as_var+set} = xset \
  6313. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  6314. done
  6315. PS1='$ '
  6316. PS2='> '
  6317. PS4='+ '
  6318. # NLS nuisances.
  6319. LC_ALL=C
  6320. export LC_ALL
  6321. LANGUAGE=C
  6322. export LANGUAGE
  6323. # CDPATH.
  6324. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  6325. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  6326. # ----------------------------------------
  6327. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  6328. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  6329. # script with STATUS, using 1 if that was 0.
  6330. as_fn_error ()
  6331. {
  6332. as_status=$1; test $as_status -eq 0 && as_status=1
  6333. if test "$4"; then
  6334. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6335. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  6336. fi
  6337. $as_echo "$as_me: error: $2" >&2
  6338. as_fn_exit $as_status
  6339. } # as_fn_error
  6340. # as_fn_set_status STATUS
  6341. # -----------------------
  6342. # Set $? to STATUS, without forking.
  6343. as_fn_set_status ()
  6344. {
  6345. return $1
  6346. } # as_fn_set_status
  6347. # as_fn_exit STATUS
  6348. # -----------------
  6349. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  6350. as_fn_exit ()
  6351. {
  6352. set +e
  6353. as_fn_set_status $1
  6354. exit $1
  6355. } # as_fn_exit
  6356. # as_fn_unset VAR
  6357. # ---------------
  6358. # Portably unset VAR.
  6359. as_fn_unset ()
  6360. {
  6361. { eval $1=; unset $1;}
  6362. }
  6363. as_unset=as_fn_unset
  6364. # as_fn_append VAR VALUE
  6365. # ----------------------
  6366. # Append the text in VALUE to the end of the definition contained in VAR. Take
  6367. # advantage of any shell optimizations that allow amortized linear growth over
  6368. # repeated appends, instead of the typical quadratic growth present in naive
  6369. # implementations.
  6370. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  6371. eval 'as_fn_append ()
  6372. {
  6373. eval $1+=\$2
  6374. }'
  6375. else
  6376. as_fn_append ()
  6377. {
  6378. eval $1=\$$1\$2
  6379. }
  6380. fi # as_fn_append
  6381. # as_fn_arith ARG...
  6382. # ------------------
  6383. # Perform arithmetic evaluation on the ARGs, and store the result in the
  6384. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  6385. # must be portable across $(()) and expr.
  6386. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  6387. eval 'as_fn_arith ()
  6388. {
  6389. as_val=$(( $* ))
  6390. }'
  6391. else
  6392. as_fn_arith ()
  6393. {
  6394. as_val=`expr "$@" || test $? -eq 1`
  6395. }
  6396. fi # as_fn_arith
  6397. if expr a : '\(a\)' >/dev/null 2>&1 &&
  6398. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  6399. as_expr=expr
  6400. else
  6401. as_expr=false
  6402. fi
  6403. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  6404. as_basename=basename
  6405. else
  6406. as_basename=false
  6407. fi
  6408. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  6409. as_dirname=dirname
  6410. else
  6411. as_dirname=false
  6412. fi
  6413. as_me=`$as_basename -- "$0" ||
  6414. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  6415. X"$0" : 'X\(//\)$' \| \
  6416. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  6417. $as_echo X/"$0" |
  6418. sed '/^.*\/\([^/][^/]*\)\/*$/{
  6419. s//\1/
  6420. q
  6421. }
  6422. /^X\/\(\/\/\)$/{
  6423. s//\1/
  6424. q
  6425. }
  6426. /^X\/\(\/\).*/{
  6427. s//\1/
  6428. q
  6429. }
  6430. s/.*/./; q'`
  6431. # Avoid depending upon Character Ranges.
  6432. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6433. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6434. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6435. as_cr_digits='0123456789'
  6436. as_cr_alnum=$as_cr_Letters$as_cr_digits
  6437. ECHO_C= ECHO_N= ECHO_T=
  6438. case `echo -n x` in #(((((
  6439. -n*)
  6440. case `echo 'xy\c'` in
  6441. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  6442. xy) ECHO_C='\c';;
  6443. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  6444. ECHO_T=' ';;
  6445. esac;;
  6446. *)
  6447. ECHO_N='-n';;
  6448. esac
  6449. rm -f conf$$ conf$$.exe conf$$.file
  6450. if test -d conf$$.dir; then
  6451. rm -f conf$$.dir/conf$$.file
  6452. else
  6453. rm -f conf$$.dir
  6454. mkdir conf$$.dir 2>/dev/null
  6455. fi
  6456. if (echo >conf$$.file) 2>/dev/null; then
  6457. if ln -s conf$$.file conf$$ 2>/dev/null; then
  6458. as_ln_s='ln -s'
  6459. # ... but there are two gotchas:
  6460. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  6461. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  6462. # In both cases, we have to default to `cp -p'.
  6463. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  6464. as_ln_s='cp -p'
  6465. elif ln conf$$.file conf$$ 2>/dev/null; then
  6466. as_ln_s=ln
  6467. else
  6468. as_ln_s='cp -p'
  6469. fi
  6470. else
  6471. as_ln_s='cp -p'
  6472. fi
  6473. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  6474. rmdir conf$$.dir 2>/dev/null
  6475. # as_fn_mkdir_p
  6476. # -------------
  6477. # Create "$as_dir" as a directory, including parents if necessary.
  6478. as_fn_mkdir_p ()
  6479. {
  6480. case $as_dir in #(
  6481. -*) as_dir=./$as_dir;;
  6482. esac
  6483. test -d "$as_dir" || eval $as_mkdir_p || {
  6484. as_dirs=
  6485. while :; do
  6486. case $as_dir in #(
  6487. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  6488. *) as_qdir=$as_dir;;
  6489. esac
  6490. as_dirs="'$as_qdir' $as_dirs"
  6491. as_dir=`$as_dirname -- "$as_dir" ||
  6492. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6493. X"$as_dir" : 'X\(//\)[^/]' \| \
  6494. X"$as_dir" : 'X\(//\)$' \| \
  6495. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  6496. $as_echo X"$as_dir" |
  6497. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  6498. s//\1/
  6499. q
  6500. }
  6501. /^X\(\/\/\)[^/].*/{
  6502. s//\1/
  6503. q
  6504. }
  6505. /^X\(\/\/\)$/{
  6506. s//\1/
  6507. q
  6508. }
  6509. /^X\(\/\).*/{
  6510. s//\1/
  6511. q
  6512. }
  6513. s/.*/./; q'`
  6514. test -d "$as_dir" && break
  6515. done
  6516. test -z "$as_dirs" || eval "mkdir $as_dirs"
  6517. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  6518. } # as_fn_mkdir_p
  6519. if mkdir -p . 2>/dev/null; then
  6520. as_mkdir_p='mkdir -p "$as_dir"'
  6521. else
  6522. test -d ./-p && rmdir ./-p
  6523. as_mkdir_p=false
  6524. fi
  6525. if test -x / >/dev/null 2>&1; then
  6526. as_test_x='test -x'
  6527. else
  6528. if ls -dL / >/dev/null 2>&1; then
  6529. as_ls_L_option=L
  6530. else
  6531. as_ls_L_option=
  6532. fi
  6533. as_test_x='
  6534. eval sh -c '\''
  6535. if test -d "$1"; then
  6536. test -d "$1/.";
  6537. else
  6538. case $1 in #(
  6539. -*)set "./$1";;
  6540. esac;
  6541. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  6542. ???[sx]*):;;*)false;;esac;fi
  6543. '\'' sh
  6544. '
  6545. fi
  6546. as_executable_p=$as_test_x
  6547. # Sed expression to map a string onto a valid CPP name.
  6548. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  6549. # Sed expression to map a string onto a valid variable name.
  6550. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  6551. exec 6>&1
  6552. ## ----------------------------------- ##
  6553. ## Main body of $CONFIG_STATUS script. ##
  6554. ## ----------------------------------- ##
  6555. _ASEOF
  6556. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  6557. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6558. # Save the log message, to keep $0 and so on meaningful, and to
  6559. # report actual input values of CONFIG_FILES etc. instead of their
  6560. # values after options handling.
  6561. ac_log="
  6562. This file was extended by ngircd $as_me 18, which was
  6563. generated by GNU Autoconf 2.67. Invocation command line was
  6564. CONFIG_FILES = $CONFIG_FILES
  6565. CONFIG_HEADERS = $CONFIG_HEADERS
  6566. CONFIG_LINKS = $CONFIG_LINKS
  6567. CONFIG_COMMANDS = $CONFIG_COMMANDS
  6568. $ $0 $@
  6569. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  6570. "
  6571. _ACEOF
  6572. case $ac_config_files in *"
  6573. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  6574. esac
  6575. case $ac_config_headers in *"
  6576. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  6577. esac
  6578. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6579. # Files that config.status was made for.
  6580. config_files="$ac_config_files"
  6581. config_headers="$ac_config_headers"
  6582. config_commands="$ac_config_commands"
  6583. _ACEOF
  6584. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6585. ac_cs_usage="\
  6586. \`$as_me' instantiates files and other configuration actions
  6587. from templates according to the current configuration. Unless the files
  6588. and actions are specified as TAGs, all are instantiated by default.
  6589. Usage: $0 [OPTION]... [TAG]...
  6590. -h, --help print this help, then exit
  6591. -V, --version print version number and configuration settings, then exit
  6592. --config print configuration, then exit
  6593. -q, --quiet, --silent
  6594. do not print progress messages
  6595. -d, --debug don't remove temporary files
  6596. --recheck update $as_me by reconfiguring in the same conditions
  6597. --file=FILE[:TEMPLATE]
  6598. instantiate the configuration file FILE
  6599. --header=FILE[:TEMPLATE]
  6600. instantiate the configuration header FILE
  6601. Configuration files:
  6602. $config_files
  6603. Configuration headers:
  6604. $config_headers
  6605. Configuration commands:
  6606. $config_commands
  6607. Report bugs to the package provider."
  6608. _ACEOF
  6609. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6610. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  6611. ac_cs_version="\\
  6612. ngircd config.status 18
  6613. configured by $0, generated by GNU Autoconf 2.67,
  6614. with options \\"\$ac_cs_config\\"
  6615. Copyright (C) 2010 Free Software Foundation, Inc.
  6616. This config.status script is free software; the Free Software Foundation
  6617. gives unlimited permission to copy, distribute and modify it."
  6618. ac_pwd='$ac_pwd'
  6619. srcdir='$srcdir'
  6620. INSTALL='$INSTALL'
  6621. MKDIR_P='$MKDIR_P'
  6622. AWK='$AWK'
  6623. test -n "\$AWK" || AWK=awk
  6624. _ACEOF
  6625. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6626. # The default lists apply if the user does not specify any file.
  6627. ac_need_defaults=:
  6628. while test $# != 0
  6629. do
  6630. case $1 in
  6631. --*=?*)
  6632. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  6633. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  6634. ac_shift=:
  6635. ;;
  6636. --*=)
  6637. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  6638. ac_optarg=
  6639. ac_shift=:
  6640. ;;
  6641. *)
  6642. ac_option=$1
  6643. ac_optarg=$2
  6644. ac_shift=shift
  6645. ;;
  6646. esac
  6647. case $ac_option in
  6648. # Handling of the options.
  6649. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  6650. ac_cs_recheck=: ;;
  6651. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  6652. $as_echo "$ac_cs_version"; exit ;;
  6653. --config | --confi | --conf | --con | --co | --c )
  6654. $as_echo "$ac_cs_config"; exit ;;
  6655. --debug | --debu | --deb | --de | --d | -d )
  6656. debug=: ;;
  6657. --file | --fil | --fi | --f )
  6658. $ac_shift
  6659. case $ac_optarg in
  6660. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  6661. '') as_fn_error $? "missing file argument" ;;
  6662. esac
  6663. as_fn_append CONFIG_FILES " '$ac_optarg'"
  6664. ac_need_defaults=false;;
  6665. --header | --heade | --head | --hea )
  6666. $ac_shift
  6667. case $ac_optarg in
  6668. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  6669. esac
  6670. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  6671. ac_need_defaults=false;;
  6672. --he | --h)
  6673. # Conflict between --help and --header
  6674. as_fn_error $? "ambiguous option: \`$1'
  6675. Try \`$0 --help' for more information.";;
  6676. --help | --hel | -h )
  6677. $as_echo "$ac_cs_usage"; exit ;;
  6678. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  6679. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  6680. ac_cs_silent=: ;;
  6681. # This is an error.
  6682. -*) as_fn_error $? "unrecognized option: \`$1'
  6683. Try \`$0 --help' for more information." ;;
  6684. *) as_fn_append ac_config_targets " $1"
  6685. ac_need_defaults=false ;;
  6686. esac
  6687. shift
  6688. done
  6689. ac_configure_extra_args=
  6690. if $ac_cs_silent; then
  6691. exec 6>/dev/null
  6692. ac_configure_extra_args="$ac_configure_extra_args --silent"
  6693. fi
  6694. _ACEOF
  6695. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6696. if \$ac_cs_recheck; then
  6697. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  6698. shift
  6699. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  6700. CONFIG_SHELL='$SHELL'
  6701. export CONFIG_SHELL
  6702. exec "\$@"
  6703. fi
  6704. _ACEOF
  6705. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6706. exec 5>>config.log
  6707. {
  6708. echo
  6709. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  6710. ## Running $as_me. ##
  6711. _ASBOX
  6712. $as_echo "$ac_log"
  6713. } >&5
  6714. _ACEOF
  6715. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6716. #
  6717. # INIT-COMMANDS
  6718. #
  6719. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  6720. _ACEOF
  6721. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6722. # Handling of arguments.
  6723. for ac_config_target in $ac_config_targets
  6724. do
  6725. case $ac_config_target in
  6726. "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
  6727. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  6728. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  6729. "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  6730. "doc/src/Makefile") CONFIG_FILES="$CONFIG_FILES doc/src/Makefile" ;;
  6731. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  6732. "src/portab/Makefile") CONFIG_FILES="$CONFIG_FILES src/portab/Makefile" ;;
  6733. "src/ipaddr/Makefile") CONFIG_FILES="$CONFIG_FILES src/ipaddr/Makefile" ;;
  6734. "src/tool/Makefile") CONFIG_FILES="$CONFIG_FILES src/tool/Makefile" ;;
  6735. "src/ngircd/Makefile") CONFIG_FILES="$CONFIG_FILES src/ngircd/Makefile" ;;
  6736. "src/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES src/testsuite/Makefile" ;;
  6737. "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
  6738. "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
  6739. "contrib/Anope/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Anope/Makefile" ;;
  6740. "contrib/Debian/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Debian/Makefile" ;;
  6741. "contrib/MacOSX/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/MacOSX/Makefile" ;;
  6742. "contrib/MacOSX/ngIRCd.xcodeproj/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/MacOSX/ngIRCd.xcodeproj/Makefile" ;;
  6743. "contrib/MacOSX/ngIRCd.pmdoc/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/MacOSX/ngIRCd.pmdoc/Makefile" ;;
  6744. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
  6745. esac
  6746. done
  6747. # If the user did not use the arguments to specify the items to instantiate,
  6748. # then the envvar interface is used. Set only those that are not.
  6749. # We use the long form for the default assignment because of an extremely
  6750. # bizarre bug on SunOS 4.1.3.
  6751. if $ac_need_defaults; then
  6752. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  6753. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  6754. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  6755. fi
  6756. # Have a temporary directory for convenience. Make it in the build tree
  6757. # simply because there is no reason against having it here, and in addition,
  6758. # creating and moving files from /tmp can sometimes cause problems.
  6759. # Hook for its removal unless debugging.
  6760. # Note that there is a small window in which the directory will not be cleaned:
  6761. # after its creation but before its name has been assigned to `$tmp'.
  6762. $debug ||
  6763. {
  6764. tmp=
  6765. trap 'exit_status=$?
  6766. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  6767. ' 0
  6768. trap 'as_fn_exit 1' 1 2 13 15
  6769. }
  6770. # Create a (secure) tmp directory for tmp files.
  6771. {
  6772. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  6773. test -n "$tmp" && test -d "$tmp"
  6774. } ||
  6775. {
  6776. tmp=./conf$$-$RANDOM
  6777. (umask 077 && mkdir "$tmp")
  6778. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  6779. # Set up the scripts for CONFIG_FILES section.
  6780. # No need to generate them if there are no CONFIG_FILES.
  6781. # This happens for instance with `./config.status config.h'.
  6782. if test -n "$CONFIG_FILES"; then
  6783. ac_cr=`echo X | tr X '\015'`
  6784. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  6785. # But we know of no other shell where ac_cr would be empty at this
  6786. # point, so we can use a bashism as a fallback.
  6787. if test "x$ac_cr" = x; then
  6788. eval ac_cr=\$\'\\r\'
  6789. fi
  6790. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  6791. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  6792. ac_cs_awk_cr='\\r'
  6793. else
  6794. ac_cs_awk_cr=$ac_cr
  6795. fi
  6796. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  6797. _ACEOF
  6798. {
  6799. echo "cat >conf$$subs.awk <<_ACEOF" &&
  6800. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  6801. echo "_ACEOF"
  6802. } >conf$$subs.sh ||
  6803. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  6804. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  6805. ac_delim='%!_!# '
  6806. for ac_last_try in false false false false false :; do
  6807. . ./conf$$subs.sh ||
  6808. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  6809. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  6810. if test $ac_delim_n = $ac_delim_num; then
  6811. break
  6812. elif $ac_last_try; then
  6813. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  6814. else
  6815. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  6816. fi
  6817. done
  6818. rm -f conf$$subs.sh
  6819. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6820. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  6821. _ACEOF
  6822. sed -n '
  6823. h
  6824. s/^/S["/; s/!.*/"]=/
  6825. p
  6826. g
  6827. s/^[^!]*!//
  6828. :repl
  6829. t repl
  6830. s/'"$ac_delim"'$//
  6831. t delim
  6832. :nl
  6833. h
  6834. s/\(.\{148\}\)..*/\1/
  6835. t more1
  6836. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  6837. p
  6838. n
  6839. b repl
  6840. :more1
  6841. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  6842. p
  6843. g
  6844. s/.\{148\}//
  6845. t nl
  6846. :delim
  6847. h
  6848. s/\(.\{148\}\)..*/\1/
  6849. t more2
  6850. s/["\\]/\\&/g; s/^/"/; s/$/"/
  6851. p
  6852. b
  6853. :more2
  6854. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  6855. p
  6856. g
  6857. s/.\{148\}//
  6858. t delim
  6859. ' <conf$$subs.awk | sed '
  6860. /^[^""]/{
  6861. N
  6862. s/\n//
  6863. }
  6864. ' >>$CONFIG_STATUS || ac_write_fail=1
  6865. rm -f conf$$subs.awk
  6866. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6867. _ACAWK
  6868. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  6869. for (key in S) S_is_set[key] = 1
  6870. FS = ""
  6871. }
  6872. {
  6873. line = $ 0
  6874. nfields = split(line, field, "@")
  6875. substed = 0
  6876. len = length(field[1])
  6877. for (i = 2; i < nfields; i++) {
  6878. key = field[i]
  6879. keylen = length(key)
  6880. if (S_is_set[key]) {
  6881. value = S[key]
  6882. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  6883. len += length(value) + length(field[++i])
  6884. substed = 1
  6885. } else
  6886. len += 1 + keylen
  6887. }
  6888. print line
  6889. }
  6890. _ACAWK
  6891. _ACEOF
  6892. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6893. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  6894. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  6895. else
  6896. cat
  6897. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  6898. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  6899. _ACEOF
  6900. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  6901. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  6902. # trailing colons and then remove the whole line if VPATH becomes empty
  6903. # (actually we leave an empty line to preserve line numbers).
  6904. if test "x$srcdir" = x.; then
  6905. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  6906. h
  6907. s///
  6908. s/^/:/
  6909. s/[ ]*$/:/
  6910. s/:\$(srcdir):/:/g
  6911. s/:\${srcdir}:/:/g
  6912. s/:@srcdir@:/:/g
  6913. s/^:*//
  6914. s/:*$//
  6915. x
  6916. s/\(=[ ]*\).*/\1/
  6917. G
  6918. s/\n//
  6919. s/^[^=]*=[ ]*$//
  6920. }'
  6921. fi
  6922. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6923. fi # test -n "$CONFIG_FILES"
  6924. # Set up the scripts for CONFIG_HEADERS section.
  6925. # No need to generate them if there are no CONFIG_HEADERS.
  6926. # This happens for instance with `./config.status Makefile'.
  6927. if test -n "$CONFIG_HEADERS"; then
  6928. cat >"$tmp/defines.awk" <<\_ACAWK ||
  6929. BEGIN {
  6930. _ACEOF
  6931. # Transform confdefs.h into an awk script `defines.awk', embedded as
  6932. # here-document in config.status, that substitutes the proper values into
  6933. # config.h.in to produce config.h.
  6934. # Create a delimiter string that does not exist in confdefs.h, to ease
  6935. # handling of long lines.
  6936. ac_delim='%!_!# '
  6937. for ac_last_try in false false :; do
  6938. ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  6939. if test -z "$ac_t"; then
  6940. break
  6941. elif $ac_last_try; then
  6942. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  6943. else
  6944. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  6945. fi
  6946. done
  6947. # For the awk script, D is an array of macro values keyed by name,
  6948. # likewise P contains macro parameters if any. Preserve backslash
  6949. # newline sequences.
  6950. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  6951. sed -n '
  6952. s/.\{148\}/&'"$ac_delim"'/g
  6953. t rset
  6954. :rset
  6955. s/^[ ]*#[ ]*define[ ][ ]*/ /
  6956. t def
  6957. d
  6958. :def
  6959. s/\\$//
  6960. t bsnl
  6961. s/["\\]/\\&/g
  6962. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  6963. D["\1"]=" \3"/p
  6964. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  6965. d
  6966. :bsnl
  6967. s/["\\]/\\&/g
  6968. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  6969. D["\1"]=" \3\\\\\\n"\\/p
  6970. t cont
  6971. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  6972. t cont
  6973. d
  6974. :cont
  6975. n
  6976. s/.\{148\}/&'"$ac_delim"'/g
  6977. t clear
  6978. :clear
  6979. s/\\$//
  6980. t bsnlc
  6981. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  6982. d
  6983. :bsnlc
  6984. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  6985. b cont
  6986. ' <confdefs.h | sed '
  6987. s/'"$ac_delim"'/"\\\
  6988. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  6989. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6990. for (key in D) D_is_set[key] = 1
  6991. FS = ""
  6992. }
  6993. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  6994. line = \$ 0
  6995. split(line, arg, " ")
  6996. if (arg[1] == "#") {
  6997. defundef = arg[2]
  6998. mac1 = arg[3]
  6999. } else {
  7000. defundef = substr(arg[1], 2)
  7001. mac1 = arg[2]
  7002. }
  7003. split(mac1, mac2, "(") #)
  7004. macro = mac2[1]
  7005. prefix = substr(line, 1, index(line, defundef) - 1)
  7006. if (D_is_set[macro]) {
  7007. # Preserve the white space surrounding the "#".
  7008. print prefix "define", macro P[macro] D[macro]
  7009. next
  7010. } else {
  7011. # Replace #undef with comments. This is necessary, for example,
  7012. # in the case of _POSIX_SOURCE, which is predefined and required
  7013. # on some systems where configure will not decide to define it.
  7014. if (defundef == "undef") {
  7015. print "/*", prefix defundef, macro, "*/"
  7016. next
  7017. }
  7018. }
  7019. }
  7020. { print }
  7021. _ACAWK
  7022. _ACEOF
  7023. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7024. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  7025. fi # test -n "$CONFIG_HEADERS"
  7026. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  7027. shift
  7028. for ac_tag
  7029. do
  7030. case $ac_tag in
  7031. :[FHLC]) ac_mode=$ac_tag; continue;;
  7032. esac
  7033. case $ac_mode$ac_tag in
  7034. :[FHL]*:*);;
  7035. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
  7036. :[FH]-) ac_tag=-:-;;
  7037. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  7038. esac
  7039. ac_save_IFS=$IFS
  7040. IFS=:
  7041. set x $ac_tag
  7042. IFS=$ac_save_IFS
  7043. shift
  7044. ac_file=$1
  7045. shift
  7046. case $ac_mode in
  7047. :L) ac_source=$1;;
  7048. :[FH])
  7049. ac_file_inputs=
  7050. for ac_f
  7051. do
  7052. case $ac_f in
  7053. -) ac_f="$tmp/stdin";;
  7054. *) # Look for the file first in the build tree, then in the source tree
  7055. # (if the path is not absolute). The absolute path cannot be DOS-style,
  7056. # because $ac_f cannot contain `:'.
  7057. test -f "$ac_f" ||
  7058. case $ac_f in
  7059. [\\/$]*) false;;
  7060. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  7061. esac ||
  7062. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
  7063. esac
  7064. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  7065. as_fn_append ac_file_inputs " '$ac_f'"
  7066. done
  7067. # Let's still pretend it is `configure' which instantiates (i.e., don't
  7068. # use $as_me), people would be surprised to read:
  7069. # /* config.h. Generated by config.status. */
  7070. configure_input='Generated from '`
  7071. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  7072. `' by configure.'
  7073. if test x"$ac_file" != x-; then
  7074. configure_input="$ac_file. $configure_input"
  7075. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  7076. $as_echo "$as_me: creating $ac_file" >&6;}
  7077. fi
  7078. # Neutralize special characters interpreted by sed in replacement strings.
  7079. case $configure_input in #(
  7080. *\&* | *\|* | *\\* )
  7081. ac_sed_conf_input=`$as_echo "$configure_input" |
  7082. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  7083. *) ac_sed_conf_input=$configure_input;;
  7084. esac
  7085. case $ac_tag in
  7086. *:-:* | *:-) cat >"$tmp/stdin" \
  7087. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  7088. esac
  7089. ;;
  7090. esac
  7091. ac_dir=`$as_dirname -- "$ac_file" ||
  7092. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7093. X"$ac_file" : 'X\(//\)[^/]' \| \
  7094. X"$ac_file" : 'X\(//\)$' \| \
  7095. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  7096. $as_echo X"$ac_file" |
  7097. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7098. s//\1/
  7099. q
  7100. }
  7101. /^X\(\/\/\)[^/].*/{
  7102. s//\1/
  7103. q
  7104. }
  7105. /^X\(\/\/\)$/{
  7106. s//\1/
  7107. q
  7108. }
  7109. /^X\(\/\).*/{
  7110. s//\1/
  7111. q
  7112. }
  7113. s/.*/./; q'`
  7114. as_dir="$ac_dir"; as_fn_mkdir_p
  7115. ac_builddir=.
  7116. case "$ac_dir" in
  7117. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7118. *)
  7119. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  7120. # A ".." for each directory in $ac_dir_suffix.
  7121. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  7122. case $ac_top_builddir_sub in
  7123. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7124. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  7125. esac ;;
  7126. esac
  7127. ac_abs_top_builddir=$ac_pwd
  7128. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  7129. # for backward compatibility:
  7130. ac_top_builddir=$ac_top_build_prefix
  7131. case $srcdir in
  7132. .) # We are building in place.
  7133. ac_srcdir=.
  7134. ac_top_srcdir=$ac_top_builddir_sub
  7135. ac_abs_top_srcdir=$ac_pwd ;;
  7136. [\\/]* | ?:[\\/]* ) # Absolute name.
  7137. ac_srcdir=$srcdir$ac_dir_suffix;
  7138. ac_top_srcdir=$srcdir
  7139. ac_abs_top_srcdir=$srcdir ;;
  7140. *) # Relative name.
  7141. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  7142. ac_top_srcdir=$ac_top_build_prefix$srcdir
  7143. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  7144. esac
  7145. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  7146. case $ac_mode in
  7147. :F)
  7148. #
  7149. # CONFIG_FILE
  7150. #
  7151. case $INSTALL in
  7152. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  7153. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  7154. esac
  7155. ac_MKDIR_P=$MKDIR_P
  7156. case $MKDIR_P in
  7157. [\\/$]* | ?:[\\/]* ) ;;
  7158. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  7159. esac
  7160. _ACEOF
  7161. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7162. # If the template does not know about datarootdir, expand it.
  7163. # FIXME: This hack should be removed a few years after 2.60.
  7164. ac_datarootdir_hack=; ac_datarootdir_seen=
  7165. ac_sed_dataroot='
  7166. /datarootdir/ {
  7167. p
  7168. q
  7169. }
  7170. /@datadir@/p
  7171. /@docdir@/p
  7172. /@infodir@/p
  7173. /@localedir@/p
  7174. /@mandir@/p'
  7175. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  7176. *datarootdir*) ac_datarootdir_seen=yes;;
  7177. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  7178. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  7179. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  7180. _ACEOF
  7181. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7182. ac_datarootdir_hack='
  7183. s&@datadir@&$datadir&g
  7184. s&@docdir@&$docdir&g
  7185. s&@infodir@&$infodir&g
  7186. s&@localedir@&$localedir&g
  7187. s&@mandir@&$mandir&g
  7188. s&\\\${datarootdir}&$datarootdir&g' ;;
  7189. esac
  7190. _ACEOF
  7191. # Neutralize VPATH when `$srcdir' = `.'.
  7192. # Shell code in configure.ac might set extrasub.
  7193. # FIXME: do we really want to maintain this feature?
  7194. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7195. ac_sed_extra="$ac_vpsub
  7196. $extrasub
  7197. _ACEOF
  7198. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7199. :t
  7200. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7201. s|@configure_input@|$ac_sed_conf_input|;t t
  7202. s&@top_builddir@&$ac_top_builddir_sub&;t t
  7203. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  7204. s&@srcdir@&$ac_srcdir&;t t
  7205. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  7206. s&@top_srcdir@&$ac_top_srcdir&;t t
  7207. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  7208. s&@builddir@&$ac_builddir&;t t
  7209. s&@abs_builddir@&$ac_abs_builddir&;t t
  7210. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  7211. s&@INSTALL@&$ac_INSTALL&;t t
  7212. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  7213. $ac_datarootdir_hack
  7214. "
  7215. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  7216. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  7217. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  7218. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  7219. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  7220. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  7221. which seems to be undefined. Please make sure it is defined" >&5
  7222. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  7223. which seems to be undefined. Please make sure it is defined" >&2;}
  7224. rm -f "$tmp/stdin"
  7225. case $ac_file in
  7226. -) cat "$tmp/out" && rm -f "$tmp/out";;
  7227. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  7228. esac \
  7229. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  7230. ;;
  7231. :H)
  7232. #
  7233. # CONFIG_HEADER
  7234. #
  7235. if test x"$ac_file" != x-; then
  7236. {
  7237. $as_echo "/* $configure_input */" \
  7238. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  7239. } >"$tmp/config.h" \
  7240. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  7241. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  7242. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  7243. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  7244. else
  7245. rm -f "$ac_file"
  7246. mv "$tmp/config.h" "$ac_file" \
  7247. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  7248. fi
  7249. else
  7250. $as_echo "/* $configure_input */" \
  7251. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  7252. || as_fn_error $? "could not create -" "$LINENO" 5
  7253. fi
  7254. # Compute "$ac_file"'s index in $config_headers.
  7255. _am_arg="$ac_file"
  7256. _am_stamp_count=1
  7257. for _am_header in $config_headers :; do
  7258. case $_am_header in
  7259. $_am_arg | $_am_arg:* )
  7260. break ;;
  7261. * )
  7262. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  7263. esac
  7264. done
  7265. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  7266. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7267. X"$_am_arg" : 'X\(//\)[^/]' \| \
  7268. X"$_am_arg" : 'X\(//\)$' \| \
  7269. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  7270. $as_echo X"$_am_arg" |
  7271. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7272. s//\1/
  7273. q
  7274. }
  7275. /^X\(\/\/\)[^/].*/{
  7276. s//\1/
  7277. q
  7278. }
  7279. /^X\(\/\/\)$/{
  7280. s//\1/
  7281. q
  7282. }
  7283. /^X\(\/\).*/{
  7284. s//\1/
  7285. q
  7286. }
  7287. s/.*/./; q'`/stamp-h$_am_stamp_count
  7288. ;;
  7289. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  7290. $as_echo "$as_me: executing $ac_file commands" >&6;}
  7291. ;;
  7292. esac
  7293. case $ac_file$ac_mode in
  7294. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  7295. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  7296. # are listed without --file. Let's play safe and only enable the eval
  7297. # if we detect the quoting.
  7298. case $CONFIG_FILES in
  7299. *\'*) eval set x "$CONFIG_FILES" ;;
  7300. *) set x $CONFIG_FILES ;;
  7301. esac
  7302. shift
  7303. for mf
  7304. do
  7305. # Strip MF so we end up with the name of the file.
  7306. mf=`echo "$mf" | sed -e 's/:.*$//'`
  7307. # Check whether this is an Automake generated Makefile or not.
  7308. # We used to match only the files named `Makefile.in', but
  7309. # some people rename them; so instead we look at the file content.
  7310. # Grep'ing the first line is not enough: some people post-process
  7311. # each Makefile.in and add a new line on top of each file to say so.
  7312. # Grep'ing the whole file is not good either: AIX grep has a line
  7313. # limit of 2048, but all sed's we know have understand at least 4000.
  7314. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  7315. dirpart=`$as_dirname -- "$mf" ||
  7316. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7317. X"$mf" : 'X\(//\)[^/]' \| \
  7318. X"$mf" : 'X\(//\)$' \| \
  7319. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  7320. $as_echo X"$mf" |
  7321. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7322. s//\1/
  7323. q
  7324. }
  7325. /^X\(\/\/\)[^/].*/{
  7326. s//\1/
  7327. q
  7328. }
  7329. /^X\(\/\/\)$/{
  7330. s//\1/
  7331. q
  7332. }
  7333. /^X\(\/\).*/{
  7334. s//\1/
  7335. q
  7336. }
  7337. s/.*/./; q'`
  7338. else
  7339. continue
  7340. fi
  7341. # Extract the definition of DEPDIR, am__include, and am__quote
  7342. # from the Makefile without running `make'.
  7343. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  7344. test -z "$DEPDIR" && continue
  7345. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  7346. test -z "am__include" && continue
  7347. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  7348. # When using ansi2knr, U may be empty or an underscore; expand it
  7349. U=`sed -n 's/^U = //p' < "$mf"`
  7350. # Find all dependency output files, they are included files with
  7351. # $(DEPDIR) in their names. We invoke sed twice because it is the
  7352. # simplest approach to changing $(DEPDIR) to its actual value in the
  7353. # expansion.
  7354. for file in `sed -n "
  7355. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  7356. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  7357. # Make sure the directory exists.
  7358. test -f "$dirpart/$file" && continue
  7359. fdir=`$as_dirname -- "$file" ||
  7360. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7361. X"$file" : 'X\(//\)[^/]' \| \
  7362. X"$file" : 'X\(//\)$' \| \
  7363. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  7364. $as_echo X"$file" |
  7365. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7366. s//\1/
  7367. q
  7368. }
  7369. /^X\(\/\/\)[^/].*/{
  7370. s//\1/
  7371. q
  7372. }
  7373. /^X\(\/\/\)$/{
  7374. s//\1/
  7375. q
  7376. }
  7377. /^X\(\/\).*/{
  7378. s//\1/
  7379. q
  7380. }
  7381. s/.*/./; q'`
  7382. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  7383. # echo "creating $dirpart/$file"
  7384. echo '# dummy' > "$dirpart/$file"
  7385. done
  7386. done
  7387. }
  7388. ;;
  7389. esac
  7390. done # for ac_tag
  7391. as_fn_exit 0
  7392. _ACEOF
  7393. ac_clean_files=$ac_clean_files_save
  7394. test $ac_write_fail = 0 ||
  7395. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  7396. # configure is writing to config.log, and then calls config.status.
  7397. # config.status does its own redirection, appending to config.log.
  7398. # Unfortunately, on DOS this fails, as config.log is still kept open
  7399. # by configure, so config.status won't be able to write to it; its
  7400. # output is simply discarded. So we exec the FD to /dev/null,
  7401. # effectively closing config.log, so it can be properly (re)opened and
  7402. # appended to by config.status. When coming back to configure, we
  7403. # need to make the FD available again.
  7404. if test "$no_create" != yes; then
  7405. ac_cs_success=:
  7406. ac_config_status_args=
  7407. test "$silent" = yes &&
  7408. ac_config_status_args="$ac_config_status_args --quiet"
  7409. exec 5>/dev/null
  7410. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  7411. exec 5>>config.log
  7412. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  7413. # would make configure fail if this is the last instruction.
  7414. $ac_cs_success || as_fn_exit 1
  7415. fi
  7416. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  7417. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  7418. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  7419. fi
  7420. type dpkg >/dev/null 2>&1
  7421. if test $? -eq 0; then
  7422. # Generate debian/ link if the dpkg command exists
  7423. # (read: if we are running on a debian compatible system)
  7424. echo "creating Debian-specific links ..."
  7425. test -f debian/rules || ln -s contrib/Debian debian
  7426. fi
  7427. # -- Result --
  7428. echo
  7429. echo "ngIRCd $PACKAGE_VERSION has been configured with the following options:"
  7430. echo
  7431. # Someone please show me a better way :) [borrowed by OpenSSH]
  7432. B=`eval echo ${bindir}` ; B=`eval echo ${B}`
  7433. S=`eval echo ${sbindir}` ; S=`eval echo ${S}`
  7434. C=`eval echo ${sysconfdir}` ; C=`eval echo ${C}`
  7435. M=`eval echo ${mandir}` ; M=`eval echo ${M}`
  7436. D=`eval echo ${docdir}` ; D=`eval echo ${D}`
  7437. echo " Target: ${target}"
  7438. test "$target" != "$host" && echo " Host: ${host}"
  7439. echo " Compiler: ${CC}"
  7440. test -n "$CFLAGS" && echo " Compiler flags: ${CFLAGS}"
  7441. test -n "$CPPFLAGS" && echo " Preprocessor flags: ${CPPFLAGS}"
  7442. test -n "$LDFLAGS" && echo " Linker flags: ${LDFLAGS}"
  7443. test -n "$LIBS" && echo " Libraries: ${LIBS}"
  7444. echo
  7445. echo " 'ngircd' binary: $S"
  7446. echo " Configuration file: $C"
  7447. echo " Manual pages: $M"
  7448. echo " Documentation: $D"
  7449. echo
  7450. echo $ECHO_N " Syslog support: $ECHO_C"
  7451. test "$x_syslog_on" = "yes" \
  7452. && echo $ECHO_N "yes $ECHO_C" \
  7453. || echo $ECHO_N "no $ECHO_C"
  7454. echo $ECHO_N " Enable debug code: $ECHO_C"
  7455. test "$x_debug_on" = "yes" \
  7456. && echo "yes" \
  7457. || echo "no"
  7458. echo $ECHO_N " zlib compression: $ECHO_C"
  7459. test "$x_zlib_on" = "yes" \
  7460. && echo $ECHO_N "yes $ECHO_C" \
  7461. || echo $ECHO_N "no $ECHO_C"
  7462. echo $ECHO_N " IRC sniffer: $ECHO_C"
  7463. test "$x_sniffer_on" = "yes" \
  7464. && echo "yes" \
  7465. || echo "no"
  7466. echo $ECHO_N " Use TCP Wrappers: $ECHO_C"
  7467. test "$x_tcpwrap_on" = "yes" \
  7468. && echo $ECHO_N "yes $ECHO_C" \
  7469. || echo $ECHO_N "no $ECHO_C"
  7470. echo $ECHO_N " Strict RFC mode: $ECHO_C"
  7471. test "$x_strict_rfc_on" = "yes" \
  7472. && echo "yes" \
  7473. || echo "no"
  7474. echo $ECHO_N " IDENT support: $ECHO_C"
  7475. test "$x_identauth_on" = "yes" \
  7476. && echo $ECHO_N "yes $ECHO_C" \
  7477. || echo $ECHO_N "no $ECHO_C"
  7478. echo $ECHO_N " IRC+ protocol: $ECHO_C"
  7479. test "$x_ircplus_on" = "yes" \
  7480. && echo "yes" \
  7481. || echo "no"
  7482. echo $ECHO_N " IPv6 protocol: $ECHO_C"
  7483. test "$x_ipv6_on" = "yes" \
  7484. && echo $ECHO_N "yes $ECHO_C" \
  7485. || echo $ECHO_N "no $ECHO_C"
  7486. echo $ECHO_N " I/O backend: $ECHO_C"
  7487. echo "\"$x_io_backend\""
  7488. echo $ECHO_N " PAM support: $ECHO_C"
  7489. test "$x_pam_on" = "yes" \
  7490. && echo $ECHO_N "yes $ECHO_C" \
  7491. || echo $ECHO_N "no $ECHO_C"
  7492. echo $ECHO_N " SSL support: $ECHO_C"
  7493. echo "$x_ssl_lib"
  7494. echo
  7495. # -eof-