configure 221 KB

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