sudo-1.6.8p12-003-cross-compile.patch 328 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219
  1. diff -ur sudo-1.6.8p9/aclocal.m4 sudo-1.6.8p9-patched/aclocal.m4
  2. --- sudo-1.6.8p9/aclocal.m4 2004-09-07 12:14:51.000000000 -0500
  3. +++ sudo-1.6.8p9-patched/aclocal.m4 2006-05-26 13:05:14.000000000 -0500
  4. @@ -220,13 +220,13 @@
  5. AC_TRY_RUN([#include <fnmatch.h>
  6. main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }
  7. ], sudo_cv_func_fnmatch=yes, sudo_cv_func_fnmatch=no,
  8. - sudo_cv_func_fnmatch=no)
  9. + sudo_cv_func_fnmatch=no,[true])
  10. rm -f core core.* *.core])dnl
  11. AC_MSG_RESULT($sudo_cv_func_fnmatch)
  12. if test $sudo_cv_func_fnmatch = yes; then
  13. - [$1]
  14. + $1
  15. else
  16. - [$2]
  17. + $2
  18. fi
  19. ])
  20. @@ -256,7 +256,7 @@
  21. s.sa_len = 0;
  22. exit(0);
  23. }], sudo_cv_sock_sa_len=yes, sudo_cv_sock_sa_len=no,
  24. - sudo_cv_sock_sa_len=no)
  25. + sudo_cv_sock_sa_len=no,[true])
  26. rm -f core core.* *.core])dnl
  27. AC_MSG_RESULT($sudo_cv_sock_sa_len)
  28. if test $sudo_cv_sock_sa_len = yes; then
  29. @@ -292,7 +292,7 @@
  30. (void) fprintf(f, "%d\n", strlen(b));
  31. (void) fclose(f);
  32. exit(0);
  33. -}], sudo_cv_uid_t_len=`cat conftestdata`, sudo_cv_uid_t_len=10)
  34. +}], sudo_cv_uid_t_len=`cat conftestdata`, sudo_cv_uid_t_len=10,[true])
  35. ])
  36. rm -f conftestdata
  37. AC_MSG_RESULT($sudo_cv_uid_t_len)
  38. @@ -305,7 +305,7 @@
  39. dnl
  40. AC_DEFUN(SUDO_LONG_LONG, [AC_MSG_CHECKING(for long long support)
  41. AC_TRY_LINK(, [long long foo = 1000; foo /= 10;], AC_DEFINE(HAVE_LONG_LONG, 1, [Define if your compiler supports the "long long" type.])
  42. -[AC_TRY_RUN([main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);}], AC_DEFINE(LONG_IS_QUAD, 1, [Define if sizeof(long) == sizeof(long long).]))]
  43. +[AC_TRY_RUN([main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);}], AC_DEFINE(LONG_IS_QUAD, 1, [Define if sizeof(long) == sizeof(long long).]),[true],[true])]
  44. AC_MSG_RESULT(yes), AC_MSG_RESULT(no))])
  45. dnl
  46. diff -ur sudo-1.6.8p9/configure sudo-1.6.8p9-patched/configure
  47. --- sudo-1.6.8p9/configure 2004-11-26 14:04:30.000000000 -0600
  48. +++ sudo-1.6.8p9-patched/configure 2006-05-26 13:05:14.000000000 -0500
  49. @@ -1,9 +1,8 @@
  50. #! /bin/sh
  51. # Guess values for system-dependent variables and create Makefiles.
  52. -# Generated by GNU Autoconf 2.57 for sudo 1.6.8.
  53. +# Generated by GNU Autoconf 2.59 for sudo 1.6.8.
  54. #
  55. -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  56. -# Free Software Foundation, Inc.
  57. +# Copyright (C) 2003 Free Software Foundation, Inc.
  58. # This configure script is free software; the Free Software Foundation
  59. # gives unlimited permission to copy, distribute and modify it.
  60. ## --------------------- ##
  61. @@ -20,9 +19,10 @@
  62. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  63. set -o posix
  64. fi
  65. +DUALCASE=1; export DUALCASE # for MKS sh
  66. # Support unset when possible.
  67. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  68. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  69. as_unset=unset
  70. else
  71. as_unset=false
  72. @@ -41,7 +41,7 @@
  73. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  74. LC_TELEPHONE LC_TIME
  75. do
  76. - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  77. + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  78. eval $as_var=C; export $as_var
  79. else
  80. $as_unset $as_var
  81. @@ -218,16 +218,17 @@
  82. if mkdir -p . 2>/dev/null; then
  83. as_mkdir_p=:
  84. else
  85. + test -d ./-p && rmdir ./-p
  86. as_mkdir_p=false
  87. fi
  88. as_executable_p="test -f"
  89. # Sed expression to map a string onto a valid CPP name.
  90. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  91. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  92. # Sed expression to map a string onto a valid variable name.
  93. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  94. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  95. # IFS
  96. @@ -560,7 +561,7 @@
  97. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  98. *) ac_optarg=yes ;;
  99. esac
  100. - eval enable_$ac_feature='$ac_optarg' ;;
  101. + eval "enable_$ac_feature='$ac_optarg'" ;;
  102. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  103. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  104. @@ -742,7 +743,7 @@
  105. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  106. *) ac_optarg=yes ;;
  107. esac
  108. - eval with_$ac_package='$ac_optarg' ;;
  109. + eval "with_$ac_package='$ac_optarg'" ;;
  110. -without-* | --without-*)
  111. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  112. @@ -816,7 +817,7 @@
  113. # Be sure to have absolute paths.
  114. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  115. - localstatedir libdir includedir oldincludedir infodir mandir
  116. + localstatedir libdir includedir oldincludedir infodir mandir
  117. do
  118. eval ac_val=$`echo $ac_var`
  119. case $ac_val in
  120. @@ -856,10 +857,10 @@
  121. # Try the directory containing this script, then its parent.
  122. ac_confdir=`(dirname "$0") 2>/dev/null ||
  123. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  124. - X"$0" : 'X\(//\)[^/]' \| \
  125. - X"$0" : 'X\(//\)$' \| \
  126. - X"$0" : 'X\(/\)' \| \
  127. - . : '\(.\)' 2>/dev/null ||
  128. + X"$0" : 'X\(//\)[^/]' \| \
  129. + X"$0" : 'X\(//\)$' \| \
  130. + X"$0" : 'X\(/\)' \| \
  131. + . : '\(.\)' 2>/dev/null ||
  132. echo X"$0" |
  133. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  134. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  135. @@ -971,9 +972,9 @@
  136. cat <<_ACEOF
  137. Installation directories:
  138. --prefix=PREFIX install architecture-independent files in PREFIX
  139. - [$ac_default_prefix]
  140. + [$ac_default_prefix]
  141. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  142. - [PREFIX]
  143. + [PREFIX]
  144. By default, \`make install' will install all the files in
  145. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  146. @@ -987,7 +988,7 @@
  147. --sbindir=DIR system admin executables [EPREFIX/sbin]
  148. --libexecdir=DIR program executables [EPREFIX/libexec]
  149. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  150. - --sysconfdir=DIR read-only single-machine data [/etc]
  151. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  152. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  153. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  154. --libdir=DIR object code libraries [EPREFIX/lib]
  155. @@ -1167,12 +1168,45 @@
  156. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  157. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  158. esac
  159. -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  160. -# absolute.
  161. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  162. -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  163. -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  164. -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  165. +
  166. +# Do not use `cd foo && pwd` to compute absolute paths, because
  167. +# the directories may not exist.
  168. +case `pwd` in
  169. +.) ac_abs_builddir="$ac_dir";;
  170. +*)
  171. + case "$ac_dir" in
  172. + .) ac_abs_builddir=`pwd`;;
  173. + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  174. + *) ac_abs_builddir=`pwd`/"$ac_dir";;
  175. + esac;;
  176. +esac
  177. +case $ac_abs_builddir in
  178. +.) ac_abs_top_builddir=${ac_top_builddir}.;;
  179. +*)
  180. + case ${ac_top_builddir}. in
  181. + .) ac_abs_top_builddir=$ac_abs_builddir;;
  182. + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  183. + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  184. + esac;;
  185. +esac
  186. +case $ac_abs_builddir in
  187. +.) ac_abs_srcdir=$ac_srcdir;;
  188. +*)
  189. + case $ac_srcdir in
  190. + .) ac_abs_srcdir=$ac_abs_builddir;;
  191. + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  192. + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  193. + esac;;
  194. +esac
  195. +case $ac_abs_builddir in
  196. +.) ac_abs_top_srcdir=$ac_top_srcdir;;
  197. +*)
  198. + case $ac_top_srcdir in
  199. + .) ac_abs_top_srcdir=$ac_abs_builddir;;
  200. + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  201. + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  202. + esac;;
  203. +esac
  204. cd $ac_dir
  205. # Check for guested configure; otherwise get Cygnus style configure.
  206. @@ -1183,13 +1217,13 @@
  207. echo
  208. $SHELL $ac_srcdir/configure --help=recursive
  209. elif test -f $ac_srcdir/configure.ac ||
  210. - test -f $ac_srcdir/configure.in; then
  211. + test -f $ac_srcdir/configure.in; then
  212. echo
  213. $ac_configure --help
  214. else
  215. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  216. fi
  217. - cd $ac_popdir
  218. + cd "$ac_popdir"
  219. done
  220. fi
  221. @@ -1197,10 +1231,9 @@
  222. if $ac_init_version; then
  223. cat <<\_ACEOF
  224. sudo configure 1.6.8
  225. -generated by GNU Autoconf 2.57
  226. +generated by GNU Autoconf 2.59
  227. -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  228. -Free Software Foundation, Inc.
  229. +Copyright (C) 2003 Free Software Foundation, Inc.
  230. This configure script is free software; the Free Software Foundation
  231. gives unlimited permission to copy, distribute and modify it.
  232. _ACEOF
  233. @@ -1212,7 +1245,7 @@
  234. running configure, to aid debugging if configure makes a mistake.
  235. It was created by sudo $as_me 1.6.8, which was
  236. -generated by GNU Autoconf 2.57. Invocation command line was
  237. +generated by GNU Autoconf 2.59. Invocation command line was
  238. $ $0 $@
  239. @@ -1289,21 +1322,21 @@
  240. 2)
  241. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  242. if test $ac_must_keep_next = true; then
  243. - ac_must_keep_next=false # Got value, back to normal.
  244. + ac_must_keep_next=false # Got value, back to normal.
  245. else
  246. - case $ac_arg in
  247. - *=* | --config-cache | -C | -disable-* | --disable-* \
  248. - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  249. - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  250. - | -with-* | --with-* | -without-* | --without-* | --x)
  251. - case "$ac_configure_args0 " in
  252. - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  253. - esac
  254. - ;;
  255. - -* ) ac_must_keep_next=true ;;
  256. - esac
  257. + case $ac_arg in
  258. + *=* | --config-cache | -C | -disable-* | --disable-* \
  259. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  260. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  261. + | -with-* | --with-* | -without-* | --without-* | --x)
  262. + case "$ac_configure_args0 " in
  263. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  264. + esac
  265. + ;;
  266. + -* ) ac_must_keep_next=true ;;
  267. + esac
  268. fi
  269. - ac_configure_args="$ac_configure_args$ac_sep\"$ac_arg\""
  270. + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  271. # Get rid of the leading space.
  272. ac_sep=" "
  273. ;;
  274. @@ -1335,12 +1368,12 @@
  275. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  276. *ac_space=\ *)
  277. sed -n \
  278. - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  279. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  280. + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  281. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  282. ;;
  283. *)
  284. sed -n \
  285. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  286. + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  287. ;;
  288. esac;
  289. }
  290. @@ -1369,7 +1402,7 @@
  291. for ac_var in $ac_subst_files
  292. do
  293. eval ac_val=$`echo $ac_var`
  294. - echo "$ac_var='"'"'$ac_val'"'"'"
  295. + echo "$ac_var='"'"'$ac_val'"'"'"
  296. done | sort
  297. echo
  298. fi
  299. @@ -1388,7 +1421,7 @@
  300. echo "$as_me: caught signal $ac_signal"
  301. echo "$as_me: exit $exit_status"
  302. } >&5
  303. - rm -f core core.* *.core &&
  304. + rm -f core *.core &&
  305. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  306. exit $exit_status
  307. ' 0
  308. @@ -1468,7 +1501,7 @@
  309. # value.
  310. ac_cache_corrupted=false
  311. for ac_var in `(set) 2>&1 |
  312. - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  313. + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  314. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  315. eval ac_new_set=\$ac_env_${ac_var}_set
  316. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  317. @@ -1485,13 +1518,13 @@
  318. ,);;
  319. *)
  320. if test "x$ac_old_val" != "x$ac_new_val"; then
  321. - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  322. + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  323. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  324. - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  325. + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  326. echo "$as_me: former value: $ac_old_val" >&2;}
  327. - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  328. + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  329. echo "$as_me: current value: $ac_new_val" >&2;}
  330. - ac_cache_corrupted=:
  331. + ac_cache_corrupted=:
  332. fi;;
  333. esac
  334. # Pass precious variables to config.status.
  335. @@ -3866,7 +3899,6 @@
  336. (exit $ac_status); }
  337. cat >conftest.$ac_ext <<_ACEOF
  338. -#line $LINENO "configure"
  339. /* confdefs.h. */
  340. _ACEOF
  341. cat confdefs.h >>conftest.$ac_ext
  342. @@ -3886,8 +3918,8 @@
  343. # Try to create an executable without -o first, disregard a.out.
  344. # It will help us diagnose broken compilers, and finding out an intuition
  345. # of exeext.
  346. -echo "$as_me:$LINENO: checking for C compiler default output" >&5
  347. -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  348. +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  349. +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  350. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  351. if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  352. (eval $ac_link_default) 2>&5
  353. @@ -3907,23 +3939,23 @@
  354. test -f "$ac_file" || continue
  355. case $ac_file in
  356. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  357. - ;;
  358. + ;;
  359. conftest.$ac_ext )
  360. - # This is the source file.
  361. - ;;
  362. + # This is the source file.
  363. + ;;
  364. [ab].out )
  365. - # We found the default executable, but exeext='' is most
  366. - # certainly right.
  367. - break;;
  368. + # We found the default executable, but exeext='' is most
  369. + # certainly right.
  370. + break;;
  371. *.* )
  372. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  373. - # FIXME: I believe we export ac_cv_exeext for Libtool,
  374. - # but it would be cool to find out if it's true. Does anybody
  375. - # maintain Libtool? --akim.
  376. - export ac_cv_exeext
  377. - break;;
  378. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  379. + # FIXME: I believe we export ac_cv_exeext for Libtool,
  380. + # but it would be cool to find out if it's true. Does anybody
  381. + # maintain Libtool? --akim.
  382. + export ac_cv_exeext
  383. + break;;
  384. * )
  385. - break;;
  386. + break;;
  387. esac
  388. done
  389. else
  390. @@ -3997,8 +4029,8 @@
  391. case $ac_file in
  392. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  393. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  394. - export ac_cv_exeext
  395. - break;;
  396. + export ac_cv_exeext
  397. + break;;
  398. * ) break;;
  399. esac
  400. done
  401. @@ -4023,7 +4055,6 @@
  402. echo $ECHO_N "(cached) $ECHO_C" >&6
  403. else
  404. cat >conftest.$ac_ext <<_ACEOF
  405. -#line $LINENO "configure"
  406. /* confdefs.h. */
  407. _ACEOF
  408. cat confdefs.h >>conftest.$ac_ext
  409. @@ -4074,7 +4105,6 @@
  410. echo $ECHO_N "(cached) $ECHO_C" >&6
  411. else
  412. cat >conftest.$ac_ext <<_ACEOF
  413. -#line $LINENO "configure"
  414. /* confdefs.h. */
  415. _ACEOF
  416. cat confdefs.h >>conftest.$ac_ext
  417. @@ -4094,11 +4124,20 @@
  418. _ACEOF
  419. rm -f conftest.$ac_objext
  420. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  421. - (eval $ac_compile) 2>&5
  422. + (eval $ac_compile) 2>conftest.er1
  423. ac_status=$?
  424. + grep -v '^ *+' conftest.er1 >conftest.err
  425. + rm -f conftest.er1
  426. + cat conftest.err >&5
  427. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  428. (exit $ac_status); } &&
  429. - { ac_try='test -s conftest.$ac_objext'
  430. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  431. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  432. + (eval $ac_try) 2>&5
  433. + ac_status=$?
  434. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  435. + (exit $ac_status); }; } &&
  436. + { ac_try='test -s conftest.$ac_objext'
  437. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  438. (eval $ac_try) 2>&5
  439. ac_status=$?
  440. @@ -4111,7 +4150,7 @@
  441. ac_compiler_gnu=no
  442. fi
  443. -rm -f conftest.$ac_objext conftest.$ac_ext
  444. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  445. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  446. fi
  447. @@ -4127,7 +4166,6 @@
  448. echo $ECHO_N "(cached) $ECHO_C" >&6
  449. else
  450. cat >conftest.$ac_ext <<_ACEOF
  451. -#line $LINENO "configure"
  452. /* confdefs.h. */
  453. _ACEOF
  454. cat confdefs.h >>conftest.$ac_ext
  455. @@ -4144,11 +4182,20 @@
  456. _ACEOF
  457. rm -f conftest.$ac_objext
  458. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  459. - (eval $ac_compile) 2>&5
  460. + (eval $ac_compile) 2>conftest.er1
  461. ac_status=$?
  462. + grep -v '^ *+' conftest.er1 >conftest.err
  463. + rm -f conftest.er1
  464. + cat conftest.err >&5
  465. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  466. (exit $ac_status); } &&
  467. - { ac_try='test -s conftest.$ac_objext'
  468. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  469. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  470. + (eval $ac_try) 2>&5
  471. + ac_status=$?
  472. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  473. + (exit $ac_status); }; } &&
  474. + { ac_try='test -s conftest.$ac_objext'
  475. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  476. (eval $ac_try) 2>&5
  477. ac_status=$?
  478. @@ -4161,7 +4208,7 @@
  479. ac_cv_prog_cc_g=no
  480. fi
  481. -rm -f conftest.$ac_objext conftest.$ac_ext
  482. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  483. fi
  484. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  485. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  486. @@ -4188,7 +4235,6 @@
  487. ac_cv_prog_cc_stdc=no
  488. ac_save_CC=$CC
  489. cat >conftest.$ac_ext <<_ACEOF
  490. -#line $LINENO "configure"
  491. /* confdefs.h. */
  492. _ACEOF
  493. cat confdefs.h >>conftest.$ac_ext
  494. @@ -4216,6 +4262,16 @@
  495. va_end (v);
  496. return s;
  497. }
  498. +
  499. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  500. + function prototypes and stuff, but not '\xHH' hex character constants.
  501. + These don't provoke an error unfortunately, instead are silently treated
  502. + as 'x'. The following induces an error, until -std1 is added to get
  503. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  504. + array size at least. It's necessary to write '\x00'==0 to get something
  505. + that's true only with -std1. */
  506. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  507. +
  508. int test (int i, double x);
  509. struct s1 {int (*f) (int a);};
  510. struct s2 {int (*f) (double a);};
  511. @@ -4242,11 +4298,20 @@
  512. CC="$ac_save_CC $ac_arg"
  513. rm -f conftest.$ac_objext
  514. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  515. - (eval $ac_compile) 2>&5
  516. + (eval $ac_compile) 2>conftest.er1
  517. ac_status=$?
  518. + grep -v '^ *+' conftest.er1 >conftest.err
  519. + rm -f conftest.er1
  520. + cat conftest.err >&5
  521. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  522. (exit $ac_status); } &&
  523. - { ac_try='test -s conftest.$ac_objext'
  524. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  525. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  526. + (eval $ac_try) 2>&5
  527. + ac_status=$?
  528. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  529. + (exit $ac_status); }; } &&
  530. + { ac_try='test -s conftest.$ac_objext'
  531. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  532. (eval $ac_try) 2>&5
  533. ac_status=$?
  534. @@ -4259,7 +4324,7 @@
  535. sed 's/^/| /' conftest.$ac_ext >&5
  536. fi
  537. -rm -f conftest.$ac_objext
  538. +rm -f conftest.err conftest.$ac_objext
  539. done
  540. rm -f conftest.$ac_ext conftest.$ac_objext
  541. CC=$ac_save_CC
  542. @@ -4287,19 +4352,27 @@
  543. _ACEOF
  544. rm -f conftest.$ac_objext
  545. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  546. - (eval $ac_compile) 2>&5
  547. + (eval $ac_compile) 2>conftest.er1
  548. ac_status=$?
  549. + grep -v '^ *+' conftest.er1 >conftest.err
  550. + rm -f conftest.er1
  551. + cat conftest.err >&5
  552. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  553. (exit $ac_status); } &&
  554. - { ac_try='test -s conftest.$ac_objext'
  555. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  556. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  557. + (eval $ac_try) 2>&5
  558. + ac_status=$?
  559. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  560. + (exit $ac_status); }; } &&
  561. + { ac_try='test -s conftest.$ac_objext'
  562. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  563. (eval $ac_try) 2>&5
  564. ac_status=$?
  565. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  566. (exit $ac_status); }; }; then
  567. for ac_declaration in \
  568. - ''\
  569. - '#include <stdlib.h>' \
  570. + '' \
  571. 'extern "C" void std::exit (int) throw (); using std::exit;' \
  572. 'extern "C" void std::exit (int); using std::exit;' \
  573. 'extern "C" void exit (int) throw ();' \
  574. @@ -4307,14 +4380,13 @@
  575. 'void exit (int);'
  576. do
  577. cat >conftest.$ac_ext <<_ACEOF
  578. -#line $LINENO "configure"
  579. /* confdefs.h. */
  580. _ACEOF
  581. cat confdefs.h >>conftest.$ac_ext
  582. cat >>conftest.$ac_ext <<_ACEOF
  583. /* end confdefs.h. */
  584. -#include <stdlib.h>
  585. $ac_declaration
  586. +#include <stdlib.h>
  587. int
  588. main ()
  589. {
  590. @@ -4325,11 +4397,20 @@
  591. _ACEOF
  592. rm -f conftest.$ac_objext
  593. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  594. - (eval $ac_compile) 2>&5
  595. + (eval $ac_compile) 2>conftest.er1
  596. ac_status=$?
  597. + grep -v '^ *+' conftest.er1 >conftest.err
  598. + rm -f conftest.er1
  599. + cat conftest.err >&5
  600. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  601. (exit $ac_status); } &&
  602. - { ac_try='test -s conftest.$ac_objext'
  603. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  604. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  605. + (eval $ac_try) 2>&5
  606. + ac_status=$?
  607. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  608. + (exit $ac_status); }; } &&
  609. + { ac_try='test -s conftest.$ac_objext'
  610. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  611. (eval $ac_try) 2>&5
  612. ac_status=$?
  613. @@ -4342,9 +4423,8 @@
  614. continue
  615. fi
  616. -rm -f conftest.$ac_objext conftest.$ac_ext
  617. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  618. cat >conftest.$ac_ext <<_ACEOF
  619. -#line $LINENO "configure"
  620. /* confdefs.h. */
  621. _ACEOF
  622. cat confdefs.h >>conftest.$ac_ext
  623. @@ -4361,11 +4441,20 @@
  624. _ACEOF
  625. rm -f conftest.$ac_objext
  626. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  627. - (eval $ac_compile) 2>&5
  628. + (eval $ac_compile) 2>conftest.er1
  629. ac_status=$?
  630. + grep -v '^ *+' conftest.er1 >conftest.err
  631. + rm -f conftest.er1
  632. + cat conftest.err >&5
  633. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  634. (exit $ac_status); } &&
  635. - { ac_try='test -s conftest.$ac_objext'
  636. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  637. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  638. + (eval $ac_try) 2>&5
  639. + ac_status=$?
  640. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  641. + (exit $ac_status); }; } &&
  642. + { ac_try='test -s conftest.$ac_objext'
  643. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  644. (eval $ac_try) 2>&5
  645. ac_status=$?
  646. @@ -4377,7 +4466,7 @@
  647. sed 's/^/| /' conftest.$ac_ext >&5
  648. fi
  649. -rm -f conftest.$ac_objext conftest.$ac_ext
  650. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  651. done
  652. rm -f conftest*
  653. if test -n "$ac_declaration"; then
  654. @@ -4391,7 +4480,7 @@
  655. sed 's/^/| /' conftest.$ac_ext >&5
  656. fi
  657. -rm -f conftest.$ac_objext conftest.$ac_ext
  658. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  659. ac_ext=c
  660. ac_cpp='$CPP $CPPFLAGS'
  661. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  662. @@ -4407,7 +4496,6 @@
  663. ac_func_search_save_LIBS=$LIBS
  664. ac_cv_search_strerror=no
  665. cat >conftest.$ac_ext <<_ACEOF
  666. -#line $LINENO "configure"
  667. /* confdefs.h. */
  668. _ACEOF
  669. cat confdefs.h >>conftest.$ac_ext
  670. @@ -4431,11 +4519,20 @@
  671. _ACEOF
  672. rm -f conftest.$ac_objext conftest$ac_exeext
  673. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  674. - (eval $ac_link) 2>&5
  675. + (eval $ac_link) 2>conftest.er1
  676. ac_status=$?
  677. + grep -v '^ *+' conftest.er1 >conftest.err
  678. + rm -f conftest.er1
  679. + cat conftest.err >&5
  680. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  681. (exit $ac_status); } &&
  682. - { ac_try='test -s conftest$ac_exeext'
  683. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  684. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  685. + (eval $ac_try) 2>&5
  686. + ac_status=$?
  687. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  688. + (exit $ac_status); }; } &&
  689. + { ac_try='test -s conftest$ac_exeext'
  690. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  691. (eval $ac_try) 2>&5
  692. ac_status=$?
  693. @@ -4447,12 +4544,12 @@
  694. sed 's/^/| /' conftest.$ac_ext >&5
  695. fi
  696. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  697. +rm -f conftest.err conftest.$ac_objext \
  698. + conftest$ac_exeext conftest.$ac_ext
  699. if test "$ac_cv_search_strerror" = no; then
  700. for ac_lib in cposix; do
  701. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  702. cat >conftest.$ac_ext <<_ACEOF
  703. -#line $LINENO "configure"
  704. /* confdefs.h. */
  705. _ACEOF
  706. cat confdefs.h >>conftest.$ac_ext
  707. @@ -4476,11 +4573,20 @@
  708. _ACEOF
  709. rm -f conftest.$ac_objext conftest$ac_exeext
  710. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  711. - (eval $ac_link) 2>&5
  712. + (eval $ac_link) 2>conftest.er1
  713. ac_status=$?
  714. + grep -v '^ *+' conftest.er1 >conftest.err
  715. + rm -f conftest.er1
  716. + cat conftest.err >&5
  717. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  718. (exit $ac_status); } &&
  719. - { ac_try='test -s conftest$ac_exeext'
  720. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  721. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  722. + (eval $ac_try) 2>&5
  723. + ac_status=$?
  724. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  725. + (exit $ac_status); }; } &&
  726. + { ac_try='test -s conftest$ac_exeext'
  727. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  728. (eval $ac_try) 2>&5
  729. ac_status=$?
  730. @@ -4493,7 +4599,8 @@
  731. sed 's/^/| /' conftest.$ac_ext >&5
  732. fi
  733. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  734. +rm -f conftest.err conftest.$ac_objext \
  735. + conftest$ac_exeext conftest.$ac_ext
  736. done
  737. fi
  738. LIBS=$ac_func_search_save_LIBS
  739. @@ -4534,7 +4641,6 @@
  740. # On the NeXT, cc -E runs the code through the compiler's parser,
  741. # not just through cpp. "Syntax error" is here to catch this case.
  742. cat >conftest.$ac_ext <<_ACEOF
  743. -#line $LINENO "configure"
  744. /* confdefs.h. */
  745. _ACEOF
  746. cat confdefs.h >>conftest.$ac_ext
  747. @@ -4545,7 +4651,7 @@
  748. #else
  749. # include <assert.h>
  750. #endif
  751. - Syntax error
  752. + Syntax error
  753. _ACEOF
  754. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  755. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  756. @@ -4557,6 +4663,7 @@
  757. (exit $ac_status); } >/dev/null; then
  758. if test -s conftest.err; then
  759. ac_cpp_err=$ac_c_preproc_warn_flag
  760. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  761. else
  762. ac_cpp_err=
  763. fi
  764. @@ -4577,7 +4684,6 @@
  765. # OK, works on sane cases. Now check whether non-existent headers
  766. # can be detected and how.
  767. cat >conftest.$ac_ext <<_ACEOF
  768. -#line $LINENO "configure"
  769. /* confdefs.h. */
  770. _ACEOF
  771. cat confdefs.h >>conftest.$ac_ext
  772. @@ -4595,6 +4701,7 @@
  773. (exit $ac_status); } >/dev/null; then
  774. if test -s conftest.err; then
  775. ac_cpp_err=$ac_c_preproc_warn_flag
  776. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  777. else
  778. ac_cpp_err=
  779. fi
  780. @@ -4641,7 +4748,6 @@
  781. # On the NeXT, cc -E runs the code through the compiler's parser,
  782. # not just through cpp. "Syntax error" is here to catch this case.
  783. cat >conftest.$ac_ext <<_ACEOF
  784. -#line $LINENO "configure"
  785. /* confdefs.h. */
  786. _ACEOF
  787. cat confdefs.h >>conftest.$ac_ext
  788. @@ -4652,7 +4758,7 @@
  789. #else
  790. # include <assert.h>
  791. #endif
  792. - Syntax error
  793. + Syntax error
  794. _ACEOF
  795. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  796. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  797. @@ -4664,6 +4770,7 @@
  798. (exit $ac_status); } >/dev/null; then
  799. if test -s conftest.err; then
  800. ac_cpp_err=$ac_c_preproc_warn_flag
  801. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  802. else
  803. ac_cpp_err=
  804. fi
  805. @@ -4684,7 +4791,6 @@
  806. # OK, works on sane cases. Now check whether non-existent headers
  807. # can be detected and how.
  808. cat >conftest.$ac_ext <<_ACEOF
  809. -#line $LINENO "configure"
  810. /* confdefs.h. */
  811. _ACEOF
  812. cat confdefs.h >>conftest.$ac_ext
  813. @@ -4702,6 +4808,7 @@
  814. (exit $ac_status); } >/dev/null; then
  815. if test -s conftest.err; then
  816. ac_cpp_err=$ac_c_preproc_warn_flag
  817. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  818. else
  819. ac_cpp_err=
  820. fi
  821. @@ -5419,7 +5526,7 @@
  822. ;;
  823. *-*-irix6*)
  824. # Find out which ABI we are using.
  825. - echo '#line 5422 "configure"' > conftest.$ac_ext
  826. + echo '#line 5529 "configure"' > conftest.$ac_ext
  827. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  828. (eval $ac_compile) 2>&5
  829. ac_status=$?
  830. @@ -5516,7 +5623,6 @@
  831. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  832. cat >conftest.$ac_ext <<_ACEOF
  833. -#line $LINENO "configure"
  834. /* confdefs.h. */
  835. _ACEOF
  836. cat confdefs.h >>conftest.$ac_ext
  837. @@ -5533,11 +5639,20 @@
  838. _ACEOF
  839. rm -f conftest.$ac_objext conftest$ac_exeext
  840. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  841. - (eval $ac_link) 2>&5
  842. + (eval $ac_link) 2>conftest.er1
  843. ac_status=$?
  844. + grep -v '^ *+' conftest.er1 >conftest.err
  845. + rm -f conftest.er1
  846. + cat conftest.err >&5
  847. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  848. (exit $ac_status); } &&
  849. - { ac_try='test -s conftest$ac_exeext'
  850. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  851. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  852. + (eval $ac_try) 2>&5
  853. + ac_status=$?
  854. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  855. + (exit $ac_status); }; } &&
  856. + { ac_try='test -s conftest$ac_exeext'
  857. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  858. (eval $ac_try) 2>&5
  859. ac_status=$?
  860. @@ -5550,7 +5665,8 @@
  861. lt_cv_cc_needs_belf=no
  862. fi
  863. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  864. +rm -f conftest.err conftest.$ac_objext \
  865. + conftest$ac_exeext conftest.$ac_ext
  866. ac_ext=c
  867. ac_cpp='$CPP $CPPFLAGS'
  868. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  869. @@ -5578,7 +5694,6 @@
  870. echo $ECHO_N "(cached) $ECHO_C" >&6
  871. else
  872. cat >conftest.$ac_ext <<_ACEOF
  873. -#line $LINENO "configure"
  874. /* confdefs.h. */
  875. _ACEOF
  876. cat confdefs.h >>conftest.$ac_ext
  877. @@ -5599,11 +5714,20 @@
  878. _ACEOF
  879. rm -f conftest.$ac_objext
  880. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  881. - (eval $ac_compile) 2>&5
  882. + (eval $ac_compile) 2>conftest.er1
  883. ac_status=$?
  884. + grep -v '^ *+' conftest.er1 >conftest.err
  885. + rm -f conftest.er1
  886. + cat conftest.err >&5
  887. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  888. (exit $ac_status); } &&
  889. - { ac_try='test -s conftest.$ac_objext'
  890. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  891. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  892. + (eval $ac_try) 2>&5
  893. + ac_status=$?
  894. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  895. + (exit $ac_status); }; } &&
  896. + { ac_try='test -s conftest.$ac_objext'
  897. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  898. (eval $ac_try) 2>&5
  899. ac_status=$?
  900. @@ -5616,12 +5740,11 @@
  901. ac_cv_header_stdc=no
  902. fi
  903. -rm -f conftest.$ac_objext conftest.$ac_ext
  904. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  905. if test $ac_cv_header_stdc = yes; then
  906. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  907. cat >conftest.$ac_ext <<_ACEOF
  908. -#line $LINENO "configure"
  909. /* confdefs.h. */
  910. _ACEOF
  911. cat confdefs.h >>conftest.$ac_ext
  912. @@ -5643,7 +5766,6 @@
  913. if test $ac_cv_header_stdc = yes; then
  914. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  915. cat >conftest.$ac_ext <<_ACEOF
  916. -#line $LINENO "configure"
  917. /* confdefs.h. */
  918. _ACEOF
  919. cat confdefs.h >>conftest.$ac_ext
  920. @@ -5668,7 +5790,6 @@
  921. :
  922. else
  923. cat >conftest.$ac_ext <<_ACEOF
  924. -#line $LINENO "configure"
  925. /* confdefs.h. */
  926. _ACEOF
  927. cat confdefs.h >>conftest.$ac_ext
  928. @@ -5680,9 +5801,9 @@
  929. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  930. #else
  931. # define ISLOWER(c) \
  932. - (('a' <= (c) && (c) <= 'i') \
  933. - || ('j' <= (c) && (c) <= 'r') \
  934. - || ('s' <= (c) && (c) <= 'z'))
  935. + (('a' <= (c) && (c) <= 'i') \
  936. + || ('j' <= (c) && (c) <= 'r') \
  937. + || ('s' <= (c) && (c) <= 'z'))
  938. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  939. #endif
  940. @@ -5693,7 +5814,7 @@
  941. int i;
  942. for (i = 0; i < 256; i++)
  943. if (XOR (islower (i), ISLOWER (i))
  944. - || toupper (i) != TOUPPER (i))
  945. + || toupper (i) != TOUPPER (i))
  946. exit(2);
  947. exit (0);
  948. }
  949. @@ -5718,7 +5839,7 @@
  950. ( exit $ac_status )
  951. ac_cv_header_stdc=no
  952. fi
  953. -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  954. +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  955. fi
  956. fi
  957. fi
  958. @@ -5743,7 +5864,7 @@
  959. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  960. - inttypes.h stdint.h unistd.h
  961. + inttypes.h stdint.h unistd.h
  962. do
  963. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  964. echo "$as_me:$LINENO: checking for $ac_header" >&5
  965. @@ -5752,7 +5873,6 @@
  966. echo $ECHO_N "(cached) $ECHO_C" >&6
  967. else
  968. cat >conftest.$ac_ext <<_ACEOF
  969. -#line $LINENO "configure"
  970. /* confdefs.h. */
  971. _ACEOF
  972. cat confdefs.h >>conftest.$ac_ext
  973. @@ -5764,11 +5884,20 @@
  974. _ACEOF
  975. rm -f conftest.$ac_objext
  976. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  977. - (eval $ac_compile) 2>&5
  978. + (eval $ac_compile) 2>conftest.er1
  979. ac_status=$?
  980. + grep -v '^ *+' conftest.er1 >conftest.err
  981. + rm -f conftest.er1
  982. + cat conftest.err >&5
  983. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  984. (exit $ac_status); } &&
  985. - { ac_try='test -s conftest.$ac_objext'
  986. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  987. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  988. + (eval $ac_try) 2>&5
  989. + ac_status=$?
  990. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  991. + (exit $ac_status); }; } &&
  992. + { ac_try='test -s conftest.$ac_objext'
  993. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  994. (eval $ac_try) 2>&5
  995. ac_status=$?
  996. @@ -5781,7 +5910,7 @@
  997. eval "$as_ac_Header=no"
  998. fi
  999. -rm -f conftest.$ac_objext conftest.$ac_ext
  1000. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1001. fi
  1002. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  1003. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  1004. @@ -5812,7 +5941,6 @@
  1005. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  1006. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  1007. cat >conftest.$ac_ext <<_ACEOF
  1008. -#line $LINENO "configure"
  1009. /* confdefs.h. */
  1010. _ACEOF
  1011. cat confdefs.h >>conftest.$ac_ext
  1012. @@ -5823,11 +5951,20 @@
  1013. _ACEOF
  1014. rm -f conftest.$ac_objext
  1015. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1016. - (eval $ac_compile) 2>&5
  1017. + (eval $ac_compile) 2>conftest.er1
  1018. ac_status=$?
  1019. + grep -v '^ *+' conftest.er1 >conftest.err
  1020. + rm -f conftest.er1
  1021. + cat conftest.err >&5
  1022. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1023. (exit $ac_status); } &&
  1024. - { ac_try='test -s conftest.$ac_objext'
  1025. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1026. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1027. + (eval $ac_try) 2>&5
  1028. + ac_status=$?
  1029. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1030. + (exit $ac_status); }; } &&
  1031. + { ac_try='test -s conftest.$ac_objext'
  1032. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1033. (eval $ac_try) 2>&5
  1034. ac_status=$?
  1035. @@ -5840,7 +5977,7 @@
  1036. ac_header_compiler=no
  1037. fi
  1038. -rm -f conftest.$ac_objext conftest.$ac_ext
  1039. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1040. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  1041. echo "${ECHO_T}$ac_header_compiler" >&6
  1042. @@ -5848,7 +5985,6 @@
  1043. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  1044. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  1045. cat >conftest.$ac_ext <<_ACEOF
  1046. -#line $LINENO "configure"
  1047. /* confdefs.h. */
  1048. _ACEOF
  1049. cat confdefs.h >>conftest.$ac_ext
  1050. @@ -5866,6 +6002,7 @@
  1051. (exit $ac_status); } >/dev/null; then
  1052. if test -s conftest.err; then
  1053. ac_cpp_err=$ac_c_preproc_warn_flag
  1054. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  1055. else
  1056. ac_cpp_err=
  1057. fi
  1058. @@ -5885,33 +6022,32 @@
  1059. echo "${ECHO_T}$ac_header_preproc" >&6
  1060. # So? What about this header?
  1061. -case $ac_header_compiler:$ac_header_preproc in
  1062. - yes:no )
  1063. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  1064. + yes:no: )
  1065. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  1066. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1067. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  1068. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  1069. - (
  1070. - cat <<\_ASBOX
  1071. -## ------------------------------------ ##
  1072. -## Report this to bug-autoconf@gnu.org. ##
  1073. -## ------------------------------------ ##
  1074. -_ASBOX
  1075. - ) |
  1076. - sed "s/^/$as_me: WARNING: /" >&2
  1077. + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  1078. +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  1079. + ac_header_preproc=yes
  1080. ;;
  1081. - no:yes )
  1082. + no:yes:* )
  1083. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  1084. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  1085. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  1086. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  1087. + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  1088. +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  1089. + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  1090. +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  1091. + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  1092. +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  1093. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  1094. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  1095. + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  1096. +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  1097. (
  1098. cat <<\_ASBOX
  1099. -## ------------------------------------ ##
  1100. -## Report this to bug-autoconf@gnu.org. ##
  1101. -## ------------------------------------ ##
  1102. +## ------------------------------- ##
  1103. +## Report this to the sudo lists. ##
  1104. +## ------------------------------- ##
  1105. _ASBOX
  1106. ) |
  1107. sed "s/^/$as_me: WARNING: /" >&2
  1108. @@ -5922,7 +6058,7 @@
  1109. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  1110. echo $ECHO_N "(cached) $ECHO_C" >&6
  1111. else
  1112. - eval "$as_ac_Header=$ac_header_preproc"
  1113. + eval "$as_ac_Header=\$ac_header_preproc"
  1114. fi
  1115. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  1116. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  1117. @@ -6056,7 +6192,6 @@
  1118. echo $ECHO_N "(cached) $ECHO_C" >&6
  1119. else
  1120. cat >conftest.$ac_ext <<_ACEOF
  1121. -#line $LINENO "configure"
  1122. /* confdefs.h. */
  1123. _ACEOF
  1124. cat confdefs.h >>conftest.$ac_ext
  1125. @@ -6076,11 +6211,20 @@
  1126. _ACEOF
  1127. rm -f conftest.$ac_objext
  1128. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1129. - (eval $ac_compile) 2>&5
  1130. + (eval $ac_compile) 2>conftest.er1
  1131. ac_status=$?
  1132. + grep -v '^ *+' conftest.er1 >conftest.err
  1133. + rm -f conftest.er1
  1134. + cat conftest.err >&5
  1135. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1136. (exit $ac_status); } &&
  1137. - { ac_try='test -s conftest.$ac_objext'
  1138. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1139. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1140. + (eval $ac_try) 2>&5
  1141. + ac_status=$?
  1142. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1143. + (exit $ac_status); }; } &&
  1144. + { ac_try='test -s conftest.$ac_objext'
  1145. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1146. (eval $ac_try) 2>&5
  1147. ac_status=$?
  1148. @@ -6093,7 +6237,7 @@
  1149. ac_compiler_gnu=no
  1150. fi
  1151. -rm -f conftest.$ac_objext conftest.$ac_ext
  1152. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1153. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  1154. fi
  1155. @@ -6109,7 +6253,6 @@
  1156. echo $ECHO_N "(cached) $ECHO_C" >&6
  1157. else
  1158. cat >conftest.$ac_ext <<_ACEOF
  1159. -#line $LINENO "configure"
  1160. /* confdefs.h. */
  1161. _ACEOF
  1162. cat confdefs.h >>conftest.$ac_ext
  1163. @@ -6126,11 +6269,20 @@
  1164. _ACEOF
  1165. rm -f conftest.$ac_objext
  1166. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1167. - (eval $ac_compile) 2>&5
  1168. + (eval $ac_compile) 2>conftest.er1
  1169. ac_status=$?
  1170. + grep -v '^ *+' conftest.er1 >conftest.err
  1171. + rm -f conftest.er1
  1172. + cat conftest.err >&5
  1173. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1174. (exit $ac_status); } &&
  1175. - { ac_try='test -s conftest.$ac_objext'
  1176. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1177. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1178. + (eval $ac_try) 2>&5
  1179. + ac_status=$?
  1180. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1181. + (exit $ac_status); }; } &&
  1182. + { ac_try='test -s conftest.$ac_objext'
  1183. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1184. (eval $ac_try) 2>&5
  1185. ac_status=$?
  1186. @@ -6143,7 +6295,7 @@
  1187. ac_cv_prog_cxx_g=no
  1188. fi
  1189. -rm -f conftest.$ac_objext conftest.$ac_ext
  1190. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1191. fi
  1192. echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  1193. echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
  1194. @@ -6163,8 +6315,7 @@
  1195. fi
  1196. fi
  1197. for ac_declaration in \
  1198. - ''\
  1199. - '#include <stdlib.h>' \
  1200. + '' \
  1201. 'extern "C" void std::exit (int) throw (); using std::exit;' \
  1202. 'extern "C" void std::exit (int); using std::exit;' \
  1203. 'extern "C" void exit (int) throw ();' \
  1204. @@ -6172,14 +6323,13 @@
  1205. 'void exit (int);'
  1206. do
  1207. cat >conftest.$ac_ext <<_ACEOF
  1208. -#line $LINENO "configure"
  1209. /* confdefs.h. */
  1210. _ACEOF
  1211. cat confdefs.h >>conftest.$ac_ext
  1212. cat >>conftest.$ac_ext <<_ACEOF
  1213. /* end confdefs.h. */
  1214. -#include <stdlib.h>
  1215. $ac_declaration
  1216. +#include <stdlib.h>
  1217. int
  1218. main ()
  1219. {
  1220. @@ -6190,11 +6340,20 @@
  1221. _ACEOF
  1222. rm -f conftest.$ac_objext
  1223. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1224. - (eval $ac_compile) 2>&5
  1225. + (eval $ac_compile) 2>conftest.er1
  1226. ac_status=$?
  1227. + grep -v '^ *+' conftest.er1 >conftest.err
  1228. + rm -f conftest.er1
  1229. + cat conftest.err >&5
  1230. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1231. (exit $ac_status); } &&
  1232. - { ac_try='test -s conftest.$ac_objext'
  1233. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1234. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1235. + (eval $ac_try) 2>&5
  1236. + ac_status=$?
  1237. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1238. + (exit $ac_status); }; } &&
  1239. + { ac_try='test -s conftest.$ac_objext'
  1240. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1241. (eval $ac_try) 2>&5
  1242. ac_status=$?
  1243. @@ -6207,9 +6366,8 @@
  1244. continue
  1245. fi
  1246. -rm -f conftest.$ac_objext conftest.$ac_ext
  1247. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1248. cat >conftest.$ac_ext <<_ACEOF
  1249. -#line $LINENO "configure"
  1250. /* confdefs.h. */
  1251. _ACEOF
  1252. cat confdefs.h >>conftest.$ac_ext
  1253. @@ -6226,11 +6384,20 @@
  1254. _ACEOF
  1255. rm -f conftest.$ac_objext
  1256. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1257. - (eval $ac_compile) 2>&5
  1258. + (eval $ac_compile) 2>conftest.er1
  1259. ac_status=$?
  1260. + grep -v '^ *+' conftest.er1 >conftest.err
  1261. + rm -f conftest.er1
  1262. + cat conftest.err >&5
  1263. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1264. (exit $ac_status); } &&
  1265. - { ac_try='test -s conftest.$ac_objext'
  1266. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1267. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1268. + (eval $ac_try) 2>&5
  1269. + ac_status=$?
  1270. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1271. + (exit $ac_status); }; } &&
  1272. + { ac_try='test -s conftest.$ac_objext'
  1273. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1274. (eval $ac_try) 2>&5
  1275. ac_status=$?
  1276. @@ -6242,7 +6409,7 @@
  1277. sed 's/^/| /' conftest.$ac_ext >&5
  1278. fi
  1279. -rm -f conftest.$ac_objext conftest.$ac_ext
  1280. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1281. done
  1282. rm -f conftest*
  1283. if test -n "$ac_declaration"; then
  1284. @@ -6281,7 +6448,6 @@
  1285. # On the NeXT, cc -E runs the code through the compiler's parser,
  1286. # not just through cpp. "Syntax error" is here to catch this case.
  1287. cat >conftest.$ac_ext <<_ACEOF
  1288. -#line $LINENO "configure"
  1289. /* confdefs.h. */
  1290. _ACEOF
  1291. cat confdefs.h >>conftest.$ac_ext
  1292. @@ -6292,7 +6458,7 @@
  1293. #else
  1294. # include <assert.h>
  1295. #endif
  1296. - Syntax error
  1297. + Syntax error
  1298. _ACEOF
  1299. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  1300. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  1301. @@ -6304,6 +6470,7 @@
  1302. (exit $ac_status); } >/dev/null; then
  1303. if test -s conftest.err; then
  1304. ac_cpp_err=$ac_cxx_preproc_warn_flag
  1305. + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1306. else
  1307. ac_cpp_err=
  1308. fi
  1309. @@ -6324,7 +6491,6 @@
  1310. # OK, works on sane cases. Now check whether non-existent headers
  1311. # can be detected and how.
  1312. cat >conftest.$ac_ext <<_ACEOF
  1313. -#line $LINENO "configure"
  1314. /* confdefs.h. */
  1315. _ACEOF
  1316. cat confdefs.h >>conftest.$ac_ext
  1317. @@ -6342,6 +6508,7 @@
  1318. (exit $ac_status); } >/dev/null; then
  1319. if test -s conftest.err; then
  1320. ac_cpp_err=$ac_cxx_preproc_warn_flag
  1321. + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1322. else
  1323. ac_cpp_err=
  1324. fi
  1325. @@ -6388,7 +6555,6 @@
  1326. # On the NeXT, cc -E runs the code through the compiler's parser,
  1327. # not just through cpp. "Syntax error" is here to catch this case.
  1328. cat >conftest.$ac_ext <<_ACEOF
  1329. -#line $LINENO "configure"
  1330. /* confdefs.h. */
  1331. _ACEOF
  1332. cat confdefs.h >>conftest.$ac_ext
  1333. @@ -6399,7 +6565,7 @@
  1334. #else
  1335. # include <assert.h>
  1336. #endif
  1337. - Syntax error
  1338. + Syntax error
  1339. _ACEOF
  1340. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  1341. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  1342. @@ -6411,6 +6577,7 @@
  1343. (exit $ac_status); } >/dev/null; then
  1344. if test -s conftest.err; then
  1345. ac_cpp_err=$ac_cxx_preproc_warn_flag
  1346. + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1347. else
  1348. ac_cpp_err=
  1349. fi
  1350. @@ -6431,7 +6598,6 @@
  1351. # OK, works on sane cases. Now check whether non-existent headers
  1352. # can be detected and how.
  1353. cat >conftest.$ac_ext <<_ACEOF
  1354. -#line $LINENO "configure"
  1355. /* confdefs.h. */
  1356. _ACEOF
  1357. cat confdefs.h >>conftest.$ac_ext
  1358. @@ -6449,6 +6615,7 @@
  1359. (exit $ac_status); } >/dev/null; then
  1360. if test -s conftest.err; then
  1361. ac_cpp_err=$ac_cxx_preproc_warn_flag
  1362. + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  1363. else
  1364. ac_cpp_err=
  1365. fi
  1366. @@ -6493,7 +6660,7 @@
  1367. ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1368. ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  1369. if test -n "$ac_tool_prefix"; then
  1370. - for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
  1371. + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
  1372. do
  1373. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1374. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1375. @@ -6535,7 +6702,7 @@
  1376. fi
  1377. if test -z "$F77"; then
  1378. ac_ct_F77=$F77
  1379. - for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
  1380. + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
  1381. do
  1382. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1383. set dummy $ac_prog; ac_word=$2
  1384. @@ -6580,7 +6747,7 @@
  1385. # Provide some information about the compiler.
  1386. -echo "$as_me:6583:" \
  1387. +echo "$as_me:6750:" \
  1388. "checking for Fortran 77 compiler version" >&5
  1389. ac_compiler=`set X $ac_compile; echo $2`
  1390. { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  1391. @@ -6598,9 +6765,10 @@
  1392. ac_status=$?
  1393. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1394. (exit $ac_status); }
  1395. +rm -f a.out
  1396. # If we don't use `.F' as extension, the preprocessor is not run on the
  1397. -# input file.
  1398. +# input file. (Note that this only needs to work for GNU compilers.)
  1399. ac_save_ext=$ac_ext
  1400. ac_ext=F
  1401. echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  1402. @@ -6618,11 +6786,20 @@
  1403. _ACEOF
  1404. rm -f conftest.$ac_objext
  1405. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1406. - (eval $ac_compile) 2>&5
  1407. + (eval $ac_compile) 2>conftest.er1
  1408. ac_status=$?
  1409. + grep -v '^ *+' conftest.er1 >conftest.err
  1410. + rm -f conftest.er1
  1411. + cat conftest.err >&5
  1412. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1413. (exit $ac_status); } &&
  1414. - { ac_try='test -s conftest.$ac_objext'
  1415. + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  1416. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1417. + (eval $ac_try) 2>&5
  1418. + ac_status=$?
  1419. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1420. + (exit $ac_status); }; } &&
  1421. + { ac_try='test -s conftest.$ac_objext'
  1422. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1423. (eval $ac_try) 2>&5
  1424. ac_status=$?
  1425. @@ -6635,14 +6812,13 @@
  1426. ac_compiler_gnu=no
  1427. fi
  1428. -rm -f conftest.$ac_objext conftest.$ac_ext
  1429. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1430. ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  1431. fi
  1432. echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  1433. echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
  1434. ac_ext=$ac_save_ext
  1435. -G77=`test $ac_compiler_gnu = yes && echo yes`
  1436. ac_test_FFLAGS=${FFLAGS+set}
  1437. ac_save_FFLAGS=$FFLAGS
  1438. FFLAGS=
  1439. @@ -6659,11 +6835,20 @@
  1440. _ACEOF
  1441. rm -f conftest.$ac_objext
  1442. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1443. - (eval $ac_compile) 2>&5
  1444. + (eval $ac_compile) 2>conftest.er1
  1445. ac_status=$?
  1446. + grep -v '^ *+' conftest.er1 >conftest.err
  1447. + rm -f conftest.er1
  1448. + cat conftest.err >&5
  1449. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1450. (exit $ac_status); } &&
  1451. - { ac_try='test -s conftest.$ac_objext'
  1452. + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  1453. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1454. + (eval $ac_try) 2>&5
  1455. + ac_status=$?
  1456. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1457. + (exit $ac_status); }; } &&
  1458. + { ac_try='test -s conftest.$ac_objext'
  1459. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1460. (eval $ac_try) 2>&5
  1461. ac_status=$?
  1462. @@ -6676,7 +6861,7 @@
  1463. ac_cv_prog_f77_g=no
  1464. fi
  1465. -rm -f conftest.$ac_objext conftest.$ac_ext
  1466. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1467. fi
  1468. echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  1469. @@ -6684,18 +6869,20 @@
  1470. if test "$ac_test_FFLAGS" = set; then
  1471. FFLAGS=$ac_save_FFLAGS
  1472. elif test $ac_cv_prog_f77_g = yes; then
  1473. - if test "$G77" = yes; then
  1474. + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  1475. FFLAGS="-g -O2"
  1476. else
  1477. FFLAGS="-g"
  1478. fi
  1479. else
  1480. - if test "$G77" = yes; then
  1481. + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  1482. FFLAGS="-O2"
  1483. else
  1484. FFLAGS=
  1485. fi
  1486. fi
  1487. +
  1488. +G77=`test $ac_compiler_gnu = yes && echo yes`
  1489. ac_ext=c
  1490. ac_cpp='$CPP $CPPFLAGS'
  1491. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1492. @@ -7589,11 +7776,11 @@
  1493. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  1494. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1495. -e 's:$: $lt_compiler_flag:'`
  1496. - (eval echo "\"\$as_me:7592: $lt_compile\"" >&5)
  1497. + (eval echo "\"\$as_me:7779: $lt_compile\"" >&5)
  1498. (eval "$lt_compile" 2>conftest.err)
  1499. ac_status=$?
  1500. cat conftest.err >&5
  1501. - echo "$as_me:7596: \$? = $ac_status" >&5
  1502. + echo "$as_me:7783: \$? = $ac_status" >&5
  1503. if (exit $ac_status) && test -s "$ac_outfile"; then
  1504. # The compiler can only warn and ignore the option if not recognized
  1505. # So say no if there are warnings
  1506. @@ -7821,11 +8008,11 @@
  1507. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  1508. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1509. -e 's:$: $lt_compiler_flag:'`
  1510. - (eval echo "\"\$as_me:7824: $lt_compile\"" >&5)
  1511. + (eval echo "\"\$as_me:8011: $lt_compile\"" >&5)
  1512. (eval "$lt_compile" 2>conftest.err)
  1513. ac_status=$?
  1514. cat conftest.err >&5
  1515. - echo "$as_me:7828: \$? = $ac_status" >&5
  1516. + echo "$as_me:8015: \$? = $ac_status" >&5
  1517. if (exit $ac_status) && test -s "$ac_outfile"; then
  1518. # The compiler can only warn and ignore the option if not recognized
  1519. # So say no if there are warnings
  1520. @@ -7888,11 +8075,11 @@
  1521. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  1522. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1523. -e 's:$: $lt_compiler_flag:'`
  1524. - (eval echo "\"\$as_me:7891: $lt_compile\"" >&5)
  1525. + (eval echo "\"\$as_me:8078: $lt_compile\"" >&5)
  1526. (eval "$lt_compile" 2>out/conftest.err)
  1527. ac_status=$?
  1528. cat out/conftest.err >&5
  1529. - echo "$as_me:7895: \$? = $ac_status" >&5
  1530. + echo "$as_me:8082: \$? = $ac_status" >&5
  1531. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1532. then
  1533. # The compiler can only warn and ignore the option if not recognized
  1534. @@ -8228,7 +8415,6 @@
  1535. allow_undefined_flag='-berok'
  1536. # Determine the default libpath from the value encoded in an empty executable.
  1537. cat >conftest.$ac_ext <<_ACEOF
  1538. -#line $LINENO "configure"
  1539. /* confdefs.h. */
  1540. _ACEOF
  1541. cat confdefs.h >>conftest.$ac_ext
  1542. @@ -8245,11 +8431,20 @@
  1543. _ACEOF
  1544. rm -f conftest.$ac_objext conftest$ac_exeext
  1545. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1546. - (eval $ac_link) 2>&5
  1547. + (eval $ac_link) 2>conftest.er1
  1548. ac_status=$?
  1549. + grep -v '^ *+' conftest.er1 >conftest.err
  1550. + rm -f conftest.er1
  1551. + cat conftest.err >&5
  1552. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1553. (exit $ac_status); } &&
  1554. - { ac_try='test -s conftest$ac_exeext'
  1555. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1556. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1557. + (eval $ac_try) 2>&5
  1558. + ac_status=$?
  1559. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1560. + (exit $ac_status); }; } &&
  1561. + { ac_try='test -s conftest$ac_exeext'
  1562. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1563. (eval $ac_try) 2>&5
  1564. ac_status=$?
  1565. @@ -8266,7 +8461,8 @@
  1566. sed 's/^/| /' conftest.$ac_ext >&5
  1567. fi
  1568. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1569. +rm -f conftest.err conftest.$ac_objext \
  1570. + conftest$ac_exeext conftest.$ac_ext
  1571. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1572. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  1573. @@ -8279,7 +8475,6 @@
  1574. else
  1575. # Determine the default libpath from the value encoded in an empty executable.
  1576. cat >conftest.$ac_ext <<_ACEOF
  1577. -#line $LINENO "configure"
  1578. /* confdefs.h. */
  1579. _ACEOF
  1580. cat confdefs.h >>conftest.$ac_ext
  1581. @@ -8296,11 +8491,20 @@
  1582. _ACEOF
  1583. rm -f conftest.$ac_objext conftest$ac_exeext
  1584. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1585. - (eval $ac_link) 2>&5
  1586. + (eval $ac_link) 2>conftest.er1
  1587. ac_status=$?
  1588. + grep -v '^ *+' conftest.er1 >conftest.err
  1589. + rm -f conftest.er1
  1590. + cat conftest.err >&5
  1591. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1592. (exit $ac_status); } &&
  1593. - { ac_try='test -s conftest$ac_exeext'
  1594. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1595. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1596. + (eval $ac_try) 2>&5
  1597. + ac_status=$?
  1598. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1599. + (exit $ac_status); }; } &&
  1600. + { ac_try='test -s conftest$ac_exeext'
  1601. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1602. (eval $ac_try) 2>&5
  1603. ac_status=$?
  1604. @@ -8317,7 +8521,8 @@
  1605. sed 's/^/| /' conftest.$ac_ext >&5
  1606. fi
  1607. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1608. +rm -f conftest.err conftest.$ac_objext \
  1609. + conftest$ac_exeext conftest.$ac_ext
  1610. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1611. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  1612. @@ -9384,7 +9589,6 @@
  1613. ac_check_lib_save_LIBS=$LIBS
  1614. LIBS="-ldl $LIBS"
  1615. cat >conftest.$ac_ext <<_ACEOF
  1616. -#line $LINENO "configure"
  1617. /* confdefs.h. */
  1618. _ACEOF
  1619. cat confdefs.h >>conftest.$ac_ext
  1620. @@ -9408,11 +9612,20 @@
  1621. _ACEOF
  1622. rm -f conftest.$ac_objext conftest$ac_exeext
  1623. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1624. - (eval $ac_link) 2>&5
  1625. + (eval $ac_link) 2>conftest.er1
  1626. ac_status=$?
  1627. + grep -v '^ *+' conftest.er1 >conftest.err
  1628. + rm -f conftest.er1
  1629. + cat conftest.err >&5
  1630. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1631. (exit $ac_status); } &&
  1632. - { ac_try='test -s conftest$ac_exeext'
  1633. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1634. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1635. + (eval $ac_try) 2>&5
  1636. + ac_status=$?
  1637. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1638. + (exit $ac_status); }; } &&
  1639. + { ac_try='test -s conftest$ac_exeext'
  1640. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1641. (eval $ac_try) 2>&5
  1642. ac_status=$?
  1643. @@ -9425,7 +9638,8 @@
  1644. ac_cv_lib_dl_dlopen=no
  1645. fi
  1646. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1647. +rm -f conftest.err conftest.$ac_objext \
  1648. + conftest$ac_exeext conftest.$ac_ext
  1649. LIBS=$ac_check_lib_save_LIBS
  1650. fi
  1651. echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  1652. @@ -9449,21 +9663,28 @@
  1653. echo $ECHO_N "(cached) $ECHO_C" >&6
  1654. else
  1655. cat >conftest.$ac_ext <<_ACEOF
  1656. -#line $LINENO "configure"
  1657. /* confdefs.h. */
  1658. _ACEOF
  1659. cat confdefs.h >>conftest.$ac_ext
  1660. cat >>conftest.$ac_ext <<_ACEOF
  1661. /* end confdefs.h. */
  1662. +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  1663. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1664. +#define shl_load innocuous_shl_load
  1665. +
  1666. /* System header to define __stub macros and hopefully few prototypes,
  1667. which can conflict with char shl_load (); below.
  1668. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1669. <limits.h> exists even on freestanding compilers. */
  1670. +
  1671. #ifdef __STDC__
  1672. # include <limits.h>
  1673. #else
  1674. # include <assert.h>
  1675. #endif
  1676. +
  1677. +#undef shl_load
  1678. +
  1679. /* Override any gcc2 internal prototype to avoid an error. */
  1680. #ifdef __cplusplus
  1681. extern "C"
  1682. @@ -9494,11 +9715,20 @@
  1683. _ACEOF
  1684. rm -f conftest.$ac_objext conftest$ac_exeext
  1685. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1686. - (eval $ac_link) 2>&5
  1687. + (eval $ac_link) 2>conftest.er1
  1688. ac_status=$?
  1689. + grep -v '^ *+' conftest.er1 >conftest.err
  1690. + rm -f conftest.er1
  1691. + cat conftest.err >&5
  1692. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1693. (exit $ac_status); } &&
  1694. - { ac_try='test -s conftest$ac_exeext'
  1695. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1696. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1697. + (eval $ac_try) 2>&5
  1698. + ac_status=$?
  1699. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1700. + (exit $ac_status); }; } &&
  1701. + { ac_try='test -s conftest$ac_exeext'
  1702. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1703. (eval $ac_try) 2>&5
  1704. ac_status=$?
  1705. @@ -9511,7 +9741,8 @@
  1706. ac_cv_func_shl_load=no
  1707. fi
  1708. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1709. +rm -f conftest.err conftest.$ac_objext \
  1710. + conftest$ac_exeext conftest.$ac_ext
  1711. fi
  1712. echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  1713. echo "${ECHO_T}$ac_cv_func_shl_load" >&6
  1714. @@ -9526,7 +9757,6 @@
  1715. ac_check_lib_save_LIBS=$LIBS
  1716. LIBS="-ldld $LIBS"
  1717. cat >conftest.$ac_ext <<_ACEOF
  1718. -#line $LINENO "configure"
  1719. /* confdefs.h. */
  1720. _ACEOF
  1721. cat confdefs.h >>conftest.$ac_ext
  1722. @@ -9550,11 +9780,20 @@
  1723. _ACEOF
  1724. rm -f conftest.$ac_objext conftest$ac_exeext
  1725. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1726. - (eval $ac_link) 2>&5
  1727. + (eval $ac_link) 2>conftest.er1
  1728. ac_status=$?
  1729. + grep -v '^ *+' conftest.er1 >conftest.err
  1730. + rm -f conftest.er1
  1731. + cat conftest.err >&5
  1732. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1733. (exit $ac_status); } &&
  1734. - { ac_try='test -s conftest$ac_exeext'
  1735. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1736. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1737. + (eval $ac_try) 2>&5
  1738. + ac_status=$?
  1739. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1740. + (exit $ac_status); }; } &&
  1741. + { ac_try='test -s conftest$ac_exeext'
  1742. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1743. (eval $ac_try) 2>&5
  1744. ac_status=$?
  1745. @@ -9567,7 +9806,8 @@
  1746. ac_cv_lib_dld_shl_load=no
  1747. fi
  1748. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1749. +rm -f conftest.err conftest.$ac_objext \
  1750. + conftest$ac_exeext conftest.$ac_ext
  1751. LIBS=$ac_check_lib_save_LIBS
  1752. fi
  1753. echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  1754. @@ -9581,21 +9821,28 @@
  1755. echo $ECHO_N "(cached) $ECHO_C" >&6
  1756. else
  1757. cat >conftest.$ac_ext <<_ACEOF
  1758. -#line $LINENO "configure"
  1759. /* confdefs.h. */
  1760. _ACEOF
  1761. cat confdefs.h >>conftest.$ac_ext
  1762. cat >>conftest.$ac_ext <<_ACEOF
  1763. /* end confdefs.h. */
  1764. +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  1765. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1766. +#define dlopen innocuous_dlopen
  1767. +
  1768. /* System header to define __stub macros and hopefully few prototypes,
  1769. which can conflict with char dlopen (); below.
  1770. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1771. <limits.h> exists even on freestanding compilers. */
  1772. +
  1773. #ifdef __STDC__
  1774. # include <limits.h>
  1775. #else
  1776. # include <assert.h>
  1777. #endif
  1778. +
  1779. +#undef dlopen
  1780. +
  1781. /* Override any gcc2 internal prototype to avoid an error. */
  1782. #ifdef __cplusplus
  1783. extern "C"
  1784. @@ -9626,11 +9873,20 @@
  1785. _ACEOF
  1786. rm -f conftest.$ac_objext conftest$ac_exeext
  1787. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1788. - (eval $ac_link) 2>&5
  1789. + (eval $ac_link) 2>conftest.er1
  1790. ac_status=$?
  1791. + grep -v '^ *+' conftest.er1 >conftest.err
  1792. + rm -f conftest.er1
  1793. + cat conftest.err >&5
  1794. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1795. (exit $ac_status); } &&
  1796. - { ac_try='test -s conftest$ac_exeext'
  1797. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1798. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1799. + (eval $ac_try) 2>&5
  1800. + ac_status=$?
  1801. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1802. + (exit $ac_status); }; } &&
  1803. + { ac_try='test -s conftest$ac_exeext'
  1804. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1805. (eval $ac_try) 2>&5
  1806. ac_status=$?
  1807. @@ -9643,7 +9899,8 @@
  1808. ac_cv_func_dlopen=no
  1809. fi
  1810. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1811. +rm -f conftest.err conftest.$ac_objext \
  1812. + conftest$ac_exeext conftest.$ac_ext
  1813. fi
  1814. echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  1815. echo "${ECHO_T}$ac_cv_func_dlopen" >&6
  1816. @@ -9658,7 +9915,6 @@
  1817. ac_check_lib_save_LIBS=$LIBS
  1818. LIBS="-ldl $LIBS"
  1819. cat >conftest.$ac_ext <<_ACEOF
  1820. -#line $LINENO "configure"
  1821. /* confdefs.h. */
  1822. _ACEOF
  1823. cat confdefs.h >>conftest.$ac_ext
  1824. @@ -9682,11 +9938,20 @@
  1825. _ACEOF
  1826. rm -f conftest.$ac_objext conftest$ac_exeext
  1827. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1828. - (eval $ac_link) 2>&5
  1829. + (eval $ac_link) 2>conftest.er1
  1830. ac_status=$?
  1831. + grep -v '^ *+' conftest.er1 >conftest.err
  1832. + rm -f conftest.er1
  1833. + cat conftest.err >&5
  1834. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1835. (exit $ac_status); } &&
  1836. - { ac_try='test -s conftest$ac_exeext'
  1837. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1838. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1839. + (eval $ac_try) 2>&5
  1840. + ac_status=$?
  1841. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1842. + (exit $ac_status); }; } &&
  1843. + { ac_try='test -s conftest$ac_exeext'
  1844. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1845. (eval $ac_try) 2>&5
  1846. ac_status=$?
  1847. @@ -9699,7 +9964,8 @@
  1848. ac_cv_lib_dl_dlopen=no
  1849. fi
  1850. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1851. +rm -f conftest.err conftest.$ac_objext \
  1852. + conftest$ac_exeext conftest.$ac_ext
  1853. LIBS=$ac_check_lib_save_LIBS
  1854. fi
  1855. echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  1856. @@ -9715,7 +9981,6 @@
  1857. ac_check_lib_save_LIBS=$LIBS
  1858. LIBS="-lsvld $LIBS"
  1859. cat >conftest.$ac_ext <<_ACEOF
  1860. -#line $LINENO "configure"
  1861. /* confdefs.h. */
  1862. _ACEOF
  1863. cat confdefs.h >>conftest.$ac_ext
  1864. @@ -9739,11 +10004,20 @@
  1865. _ACEOF
  1866. rm -f conftest.$ac_objext conftest$ac_exeext
  1867. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1868. - (eval $ac_link) 2>&5
  1869. + (eval $ac_link) 2>conftest.er1
  1870. ac_status=$?
  1871. + grep -v '^ *+' conftest.er1 >conftest.err
  1872. + rm -f conftest.er1
  1873. + cat conftest.err >&5
  1874. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1875. (exit $ac_status); } &&
  1876. - { ac_try='test -s conftest$ac_exeext'
  1877. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1878. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1879. + (eval $ac_try) 2>&5
  1880. + ac_status=$?
  1881. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1882. + (exit $ac_status); }; } &&
  1883. + { ac_try='test -s conftest$ac_exeext'
  1884. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1885. (eval $ac_try) 2>&5
  1886. ac_status=$?
  1887. @@ -9756,7 +10030,8 @@
  1888. ac_cv_lib_svld_dlopen=no
  1889. fi
  1890. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1891. +rm -f conftest.err conftest.$ac_objext \
  1892. + conftest$ac_exeext conftest.$ac_ext
  1893. LIBS=$ac_check_lib_save_LIBS
  1894. fi
  1895. echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  1896. @@ -9772,7 +10047,6 @@
  1897. ac_check_lib_save_LIBS=$LIBS
  1898. LIBS="-ldld $LIBS"
  1899. cat >conftest.$ac_ext <<_ACEOF
  1900. -#line $LINENO "configure"
  1901. /* confdefs.h. */
  1902. _ACEOF
  1903. cat confdefs.h >>conftest.$ac_ext
  1904. @@ -9796,11 +10070,20 @@
  1905. _ACEOF
  1906. rm -f conftest.$ac_objext conftest$ac_exeext
  1907. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1908. - (eval $ac_link) 2>&5
  1909. + (eval $ac_link) 2>conftest.er1
  1910. ac_status=$?
  1911. + grep -v '^ *+' conftest.er1 >conftest.err
  1912. + rm -f conftest.er1
  1913. + cat conftest.err >&5
  1914. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1915. (exit $ac_status); } &&
  1916. - { ac_try='test -s conftest$ac_exeext'
  1917. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  1918. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1919. + (eval $ac_try) 2>&5
  1920. + ac_status=$?
  1921. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1922. + (exit $ac_status); }; } &&
  1923. + { ac_try='test -s conftest$ac_exeext'
  1924. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1925. (eval $ac_try) 2>&5
  1926. ac_status=$?
  1927. @@ -9813,7 +10096,8 @@
  1928. ac_cv_lib_dld_dld_link=no
  1929. fi
  1930. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1931. +rm -f conftest.err conftest.$ac_objext \
  1932. + conftest$ac_exeext conftest.$ac_ext
  1933. LIBS=$ac_check_lib_save_LIBS
  1934. fi
  1935. echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  1936. @@ -9868,7 +10152,7 @@
  1937. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1938. lt_status=$lt_dlunknown
  1939. cat > conftest.$ac_ext <<EOF
  1940. -#line 9871 "configure"
  1941. +#line 10155 "configure"
  1942. #include "confdefs.h"
  1943. #if HAVE_DLFCN_H
  1944. @@ -9966,7 +10250,7 @@
  1945. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1946. lt_status=$lt_dlunknown
  1947. cat > conftest.$ac_ext <<EOF
  1948. -#line 9969 "configure"
  1949. +#line 10253 "configure"
  1950. #include "confdefs.h"
  1951. #if HAVE_DLFCN_H
  1952. @@ -11002,7 +11286,6 @@
  1953. allow_undefined_flag_CXX='-berok'
  1954. # Determine the default libpath from the value encoded in an empty executable.
  1955. cat >conftest.$ac_ext <<_ACEOF
  1956. -#line $LINENO "configure"
  1957. /* confdefs.h. */
  1958. _ACEOF
  1959. cat confdefs.h >>conftest.$ac_ext
  1960. @@ -11019,11 +11302,20 @@
  1961. _ACEOF
  1962. rm -f conftest.$ac_objext conftest$ac_exeext
  1963. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1964. - (eval $ac_link) 2>&5
  1965. + (eval $ac_link) 2>conftest.er1
  1966. ac_status=$?
  1967. + grep -v '^ *+' conftest.er1 >conftest.err
  1968. + rm -f conftest.er1
  1969. + cat conftest.err >&5
  1970. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1971. (exit $ac_status); } &&
  1972. - { ac_try='test -s conftest$ac_exeext'
  1973. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  1974. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1975. + (eval $ac_try) 2>&5
  1976. + ac_status=$?
  1977. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1978. + (exit $ac_status); }; } &&
  1979. + { ac_try='test -s conftest$ac_exeext'
  1980. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1981. (eval $ac_try) 2>&5
  1982. ac_status=$?
  1983. @@ -11040,7 +11332,8 @@
  1984. sed 's/^/| /' conftest.$ac_ext >&5
  1985. fi
  1986. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  1987. +rm -f conftest.err conftest.$ac_objext \
  1988. + conftest$ac_exeext conftest.$ac_ext
  1989. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1990. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  1991. @@ -11054,7 +11347,6 @@
  1992. else
  1993. # Determine the default libpath from the value encoded in an empty executable.
  1994. cat >conftest.$ac_ext <<_ACEOF
  1995. -#line $LINENO "configure"
  1996. /* confdefs.h. */
  1997. _ACEOF
  1998. cat confdefs.h >>conftest.$ac_ext
  1999. @@ -11071,11 +11363,20 @@
  2000. _ACEOF
  2001. rm -f conftest.$ac_objext conftest$ac_exeext
  2002. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2003. - (eval $ac_link) 2>&5
  2004. + (eval $ac_link) 2>conftest.er1
  2005. ac_status=$?
  2006. + grep -v '^ *+' conftest.er1 >conftest.err
  2007. + rm -f conftest.er1
  2008. + cat conftest.err >&5
  2009. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2010. (exit $ac_status); } &&
  2011. - { ac_try='test -s conftest$ac_exeext'
  2012. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2013. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2014. + (eval $ac_try) 2>&5
  2015. + ac_status=$?
  2016. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2017. + (exit $ac_status); }; } &&
  2018. + { ac_try='test -s conftest$ac_exeext'
  2019. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2020. (eval $ac_try) 2>&5
  2021. ac_status=$?
  2022. @@ -11092,7 +11393,8 @@
  2023. sed 's/^/| /' conftest.$ac_ext >&5
  2024. fi
  2025. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2026. +rm -f conftest.err conftest.$ac_objext \
  2027. + conftest$ac_exeext conftest.$ac_ext
  2028. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  2029. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  2030. @@ -12102,11 +12404,11 @@
  2031. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  2032. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  2033. -e 's:$: $lt_compiler_flag:'`
  2034. - (eval echo "\"\$as_me:12105: $lt_compile\"" >&5)
  2035. + (eval echo "\"\$as_me:12407: $lt_compile\"" >&5)
  2036. (eval "$lt_compile" 2>conftest.err)
  2037. ac_status=$?
  2038. cat conftest.err >&5
  2039. - echo "$as_me:12109: \$? = $ac_status" >&5
  2040. + echo "$as_me:12411: \$? = $ac_status" >&5
  2041. if (exit $ac_status) && test -s "$ac_outfile"; then
  2042. # The compiler can only warn and ignore the option if not recognized
  2043. # So say no if there are warnings
  2044. @@ -12169,11 +12471,11 @@
  2045. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  2046. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  2047. -e 's:$: $lt_compiler_flag:'`
  2048. - (eval echo "\"\$as_me:12172: $lt_compile\"" >&5)
  2049. + (eval echo "\"\$as_me:12474: $lt_compile\"" >&5)
  2050. (eval "$lt_compile" 2>out/conftest.err)
  2051. ac_status=$?
  2052. cat out/conftest.err >&5
  2053. - echo "$as_me:12176: \$? = $ac_status" >&5
  2054. + echo "$as_me:12478: \$? = $ac_status" >&5
  2055. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  2056. then
  2057. # The compiler can only warn and ignore the option if not recognized
  2058. @@ -12889,7 +13191,6 @@
  2059. ac_check_lib_save_LIBS=$LIBS
  2060. LIBS="-ldl $LIBS"
  2061. cat >conftest.$ac_ext <<_ACEOF
  2062. -#line $LINENO "configure"
  2063. /* confdefs.h. */
  2064. _ACEOF
  2065. cat confdefs.h >>conftest.$ac_ext
  2066. @@ -12913,11 +13214,20 @@
  2067. _ACEOF
  2068. rm -f conftest.$ac_objext conftest$ac_exeext
  2069. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2070. - (eval $ac_link) 2>&5
  2071. + (eval $ac_link) 2>conftest.er1
  2072. ac_status=$?
  2073. + grep -v '^ *+' conftest.er1 >conftest.err
  2074. + rm -f conftest.er1
  2075. + cat conftest.err >&5
  2076. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2077. (exit $ac_status); } &&
  2078. - { ac_try='test -s conftest$ac_exeext'
  2079. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2080. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2081. + (eval $ac_try) 2>&5
  2082. + ac_status=$?
  2083. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2084. + (exit $ac_status); }; } &&
  2085. + { ac_try='test -s conftest$ac_exeext'
  2086. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2087. (eval $ac_try) 2>&5
  2088. ac_status=$?
  2089. @@ -12930,7 +13240,8 @@
  2090. ac_cv_lib_dl_dlopen=no
  2091. fi
  2092. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2093. +rm -f conftest.err conftest.$ac_objext \
  2094. + conftest$ac_exeext conftest.$ac_ext
  2095. LIBS=$ac_check_lib_save_LIBS
  2096. fi
  2097. echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  2098. @@ -12954,21 +13265,28 @@
  2099. echo $ECHO_N "(cached) $ECHO_C" >&6
  2100. else
  2101. cat >conftest.$ac_ext <<_ACEOF
  2102. -#line $LINENO "configure"
  2103. /* confdefs.h. */
  2104. _ACEOF
  2105. cat confdefs.h >>conftest.$ac_ext
  2106. cat >>conftest.$ac_ext <<_ACEOF
  2107. /* end confdefs.h. */
  2108. +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  2109. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2110. +#define shl_load innocuous_shl_load
  2111. +
  2112. /* System header to define __stub macros and hopefully few prototypes,
  2113. which can conflict with char shl_load (); below.
  2114. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2115. <limits.h> exists even on freestanding compilers. */
  2116. +
  2117. #ifdef __STDC__
  2118. # include <limits.h>
  2119. #else
  2120. # include <assert.h>
  2121. #endif
  2122. +
  2123. +#undef shl_load
  2124. +
  2125. /* Override any gcc2 internal prototype to avoid an error. */
  2126. #ifdef __cplusplus
  2127. extern "C"
  2128. @@ -12999,11 +13317,20 @@
  2129. _ACEOF
  2130. rm -f conftest.$ac_objext conftest$ac_exeext
  2131. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2132. - (eval $ac_link) 2>&5
  2133. + (eval $ac_link) 2>conftest.er1
  2134. ac_status=$?
  2135. + grep -v '^ *+' conftest.er1 >conftest.err
  2136. + rm -f conftest.er1
  2137. + cat conftest.err >&5
  2138. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2139. (exit $ac_status); } &&
  2140. - { ac_try='test -s conftest$ac_exeext'
  2141. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2142. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2143. + (eval $ac_try) 2>&5
  2144. + ac_status=$?
  2145. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2146. + (exit $ac_status); }; } &&
  2147. + { ac_try='test -s conftest$ac_exeext'
  2148. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2149. (eval $ac_try) 2>&5
  2150. ac_status=$?
  2151. @@ -13016,7 +13343,8 @@
  2152. ac_cv_func_shl_load=no
  2153. fi
  2154. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2155. +rm -f conftest.err conftest.$ac_objext \
  2156. + conftest$ac_exeext conftest.$ac_ext
  2157. fi
  2158. echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  2159. echo "${ECHO_T}$ac_cv_func_shl_load" >&6
  2160. @@ -13031,7 +13359,6 @@
  2161. ac_check_lib_save_LIBS=$LIBS
  2162. LIBS="-ldld $LIBS"
  2163. cat >conftest.$ac_ext <<_ACEOF
  2164. -#line $LINENO "configure"
  2165. /* confdefs.h. */
  2166. _ACEOF
  2167. cat confdefs.h >>conftest.$ac_ext
  2168. @@ -13055,11 +13382,20 @@
  2169. _ACEOF
  2170. rm -f conftest.$ac_objext conftest$ac_exeext
  2171. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2172. - (eval $ac_link) 2>&5
  2173. + (eval $ac_link) 2>conftest.er1
  2174. ac_status=$?
  2175. + grep -v '^ *+' conftest.er1 >conftest.err
  2176. + rm -f conftest.er1
  2177. + cat conftest.err >&5
  2178. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2179. (exit $ac_status); } &&
  2180. - { ac_try='test -s conftest$ac_exeext'
  2181. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2182. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2183. + (eval $ac_try) 2>&5
  2184. + ac_status=$?
  2185. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2186. + (exit $ac_status); }; } &&
  2187. + { ac_try='test -s conftest$ac_exeext'
  2188. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2189. (eval $ac_try) 2>&5
  2190. ac_status=$?
  2191. @@ -13072,7 +13408,8 @@
  2192. ac_cv_lib_dld_shl_load=no
  2193. fi
  2194. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2195. +rm -f conftest.err conftest.$ac_objext \
  2196. + conftest$ac_exeext conftest.$ac_ext
  2197. LIBS=$ac_check_lib_save_LIBS
  2198. fi
  2199. echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  2200. @@ -13086,21 +13423,28 @@
  2201. echo $ECHO_N "(cached) $ECHO_C" >&6
  2202. else
  2203. cat >conftest.$ac_ext <<_ACEOF
  2204. -#line $LINENO "configure"
  2205. /* confdefs.h. */
  2206. _ACEOF
  2207. cat confdefs.h >>conftest.$ac_ext
  2208. cat >>conftest.$ac_ext <<_ACEOF
  2209. /* end confdefs.h. */
  2210. +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  2211. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2212. +#define dlopen innocuous_dlopen
  2213. +
  2214. /* System header to define __stub macros and hopefully few prototypes,
  2215. which can conflict with char dlopen (); below.
  2216. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2217. <limits.h> exists even on freestanding compilers. */
  2218. +
  2219. #ifdef __STDC__
  2220. # include <limits.h>
  2221. #else
  2222. # include <assert.h>
  2223. #endif
  2224. +
  2225. +#undef dlopen
  2226. +
  2227. /* Override any gcc2 internal prototype to avoid an error. */
  2228. #ifdef __cplusplus
  2229. extern "C"
  2230. @@ -13131,11 +13475,20 @@
  2231. _ACEOF
  2232. rm -f conftest.$ac_objext conftest$ac_exeext
  2233. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2234. - (eval $ac_link) 2>&5
  2235. + (eval $ac_link) 2>conftest.er1
  2236. ac_status=$?
  2237. + grep -v '^ *+' conftest.er1 >conftest.err
  2238. + rm -f conftest.er1
  2239. + cat conftest.err >&5
  2240. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2241. (exit $ac_status); } &&
  2242. - { ac_try='test -s conftest$ac_exeext'
  2243. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2244. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2245. + (eval $ac_try) 2>&5
  2246. + ac_status=$?
  2247. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2248. + (exit $ac_status); }; } &&
  2249. + { ac_try='test -s conftest$ac_exeext'
  2250. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2251. (eval $ac_try) 2>&5
  2252. ac_status=$?
  2253. @@ -13148,7 +13501,8 @@
  2254. ac_cv_func_dlopen=no
  2255. fi
  2256. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2257. +rm -f conftest.err conftest.$ac_objext \
  2258. + conftest$ac_exeext conftest.$ac_ext
  2259. fi
  2260. echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  2261. echo "${ECHO_T}$ac_cv_func_dlopen" >&6
  2262. @@ -13163,7 +13517,6 @@
  2263. ac_check_lib_save_LIBS=$LIBS
  2264. LIBS="-ldl $LIBS"
  2265. cat >conftest.$ac_ext <<_ACEOF
  2266. -#line $LINENO "configure"
  2267. /* confdefs.h. */
  2268. _ACEOF
  2269. cat confdefs.h >>conftest.$ac_ext
  2270. @@ -13187,11 +13540,20 @@
  2271. _ACEOF
  2272. rm -f conftest.$ac_objext conftest$ac_exeext
  2273. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2274. - (eval $ac_link) 2>&5
  2275. + (eval $ac_link) 2>conftest.er1
  2276. ac_status=$?
  2277. + grep -v '^ *+' conftest.er1 >conftest.err
  2278. + rm -f conftest.er1
  2279. + cat conftest.err >&5
  2280. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2281. (exit $ac_status); } &&
  2282. - { ac_try='test -s conftest$ac_exeext'
  2283. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2284. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2285. + (eval $ac_try) 2>&5
  2286. + ac_status=$?
  2287. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2288. + (exit $ac_status); }; } &&
  2289. + { ac_try='test -s conftest$ac_exeext'
  2290. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2291. (eval $ac_try) 2>&5
  2292. ac_status=$?
  2293. @@ -13204,7 +13566,8 @@
  2294. ac_cv_lib_dl_dlopen=no
  2295. fi
  2296. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2297. +rm -f conftest.err conftest.$ac_objext \
  2298. + conftest$ac_exeext conftest.$ac_ext
  2299. LIBS=$ac_check_lib_save_LIBS
  2300. fi
  2301. echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  2302. @@ -13220,7 +13583,6 @@
  2303. ac_check_lib_save_LIBS=$LIBS
  2304. LIBS="-lsvld $LIBS"
  2305. cat >conftest.$ac_ext <<_ACEOF
  2306. -#line $LINENO "configure"
  2307. /* confdefs.h. */
  2308. _ACEOF
  2309. cat confdefs.h >>conftest.$ac_ext
  2310. @@ -13244,11 +13606,20 @@
  2311. _ACEOF
  2312. rm -f conftest.$ac_objext conftest$ac_exeext
  2313. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2314. - (eval $ac_link) 2>&5
  2315. + (eval $ac_link) 2>conftest.er1
  2316. ac_status=$?
  2317. + grep -v '^ *+' conftest.er1 >conftest.err
  2318. + rm -f conftest.er1
  2319. + cat conftest.err >&5
  2320. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2321. (exit $ac_status); } &&
  2322. - { ac_try='test -s conftest$ac_exeext'
  2323. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2324. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2325. + (eval $ac_try) 2>&5
  2326. + ac_status=$?
  2327. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2328. + (exit $ac_status); }; } &&
  2329. + { ac_try='test -s conftest$ac_exeext'
  2330. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2331. (eval $ac_try) 2>&5
  2332. ac_status=$?
  2333. @@ -13261,7 +13632,8 @@
  2334. ac_cv_lib_svld_dlopen=no
  2335. fi
  2336. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2337. +rm -f conftest.err conftest.$ac_objext \
  2338. + conftest$ac_exeext conftest.$ac_ext
  2339. LIBS=$ac_check_lib_save_LIBS
  2340. fi
  2341. echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  2342. @@ -13277,7 +13649,6 @@
  2343. ac_check_lib_save_LIBS=$LIBS
  2344. LIBS="-ldld $LIBS"
  2345. cat >conftest.$ac_ext <<_ACEOF
  2346. -#line $LINENO "configure"
  2347. /* confdefs.h. */
  2348. _ACEOF
  2349. cat confdefs.h >>conftest.$ac_ext
  2350. @@ -13301,11 +13672,20 @@
  2351. _ACEOF
  2352. rm -f conftest.$ac_objext conftest$ac_exeext
  2353. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2354. - (eval $ac_link) 2>&5
  2355. + (eval $ac_link) 2>conftest.er1
  2356. ac_status=$?
  2357. + grep -v '^ *+' conftest.er1 >conftest.err
  2358. + rm -f conftest.er1
  2359. + cat conftest.err >&5
  2360. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2361. (exit $ac_status); } &&
  2362. - { ac_try='test -s conftest$ac_exeext'
  2363. + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  2364. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2365. + (eval $ac_try) 2>&5
  2366. + ac_status=$?
  2367. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2368. + (exit $ac_status); }; } &&
  2369. + { ac_try='test -s conftest$ac_exeext'
  2370. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2371. (eval $ac_try) 2>&5
  2372. ac_status=$?
  2373. @@ -13318,7 +13698,8 @@
  2374. ac_cv_lib_dld_dld_link=no
  2375. fi
  2376. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2377. +rm -f conftest.err conftest.$ac_objext \
  2378. + conftest$ac_exeext conftest.$ac_ext
  2379. LIBS=$ac_check_lib_save_LIBS
  2380. fi
  2381. echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  2382. @@ -13373,7 +13754,7 @@
  2383. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  2384. lt_status=$lt_dlunknown
  2385. cat > conftest.$ac_ext <<EOF
  2386. -#line 13376 "configure"
  2387. +#line 13757 "configure"
  2388. #include "confdefs.h"
  2389. #if HAVE_DLFCN_H
  2390. @@ -13471,7 +13852,7 @@
  2391. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  2392. lt_status=$lt_dlunknown
  2393. cat > conftest.$ac_ext <<EOF
  2394. -#line 13474 "configure"
  2395. +#line 13855 "configure"
  2396. #include "confdefs.h"
  2397. #if HAVE_DLFCN_H
  2398. @@ -14293,11 +14674,11 @@
  2399. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  2400. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  2401. -e 's:$: $lt_compiler_flag:'`
  2402. - (eval echo "\"\$as_me:14296: $lt_compile\"" >&5)
  2403. + (eval echo "\"\$as_me:14677: $lt_compile\"" >&5)
  2404. (eval "$lt_compile" 2>conftest.err)
  2405. ac_status=$?
  2406. cat conftest.err >&5
  2407. - echo "$as_me:14300: \$? = $ac_status" >&5
  2408. + echo "$as_me:14681: \$? = $ac_status" >&5
  2409. if (exit $ac_status) && test -s "$ac_outfile"; then
  2410. # The compiler can only warn and ignore the option if not recognized
  2411. # So say no if there are warnings
  2412. @@ -14360,11 +14741,11 @@
  2413. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  2414. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  2415. -e 's:$: $lt_compiler_flag:'`
  2416. - (eval echo "\"\$as_me:14363: $lt_compile\"" >&5)
  2417. + (eval echo "\"\$as_me:14744: $lt_compile\"" >&5)
  2418. (eval "$lt_compile" 2>out/conftest.err)
  2419. ac_status=$?
  2420. cat out/conftest.err >&5
  2421. - echo "$as_me:14367: \$? = $ac_status" >&5
  2422. + echo "$as_me:14748: \$? = $ac_status" >&5
  2423. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  2424. then
  2425. # The compiler can only warn and ignore the option if not recognized
  2426. @@ -14706,11 +15087,20 @@
  2427. _ACEOF
  2428. rm -f conftest.$ac_objext conftest$ac_exeext
  2429. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2430. - (eval $ac_link) 2>&5
  2431. + (eval $ac_link) 2>conftest.er1
  2432. ac_status=$?
  2433. + grep -v '^ *+' conftest.er1 >conftest.err
  2434. + rm -f conftest.er1
  2435. + cat conftest.err >&5
  2436. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2437. (exit $ac_status); } &&
  2438. - { ac_try='test -s conftest$ac_exeext'
  2439. + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  2440. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2441. + (eval $ac_try) 2>&5
  2442. + ac_status=$?
  2443. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2444. + (exit $ac_status); }; } &&
  2445. + { ac_try='test -s conftest$ac_exeext'
  2446. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2447. (eval $ac_try) 2>&5
  2448. ac_status=$?
  2449. @@ -14727,7 +15117,8 @@
  2450. sed 's/^/| /' conftest.$ac_ext >&5
  2451. fi
  2452. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2453. +rm -f conftest.err conftest.$ac_objext \
  2454. + conftest$ac_exeext conftest.$ac_ext
  2455. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  2456. hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  2457. @@ -14746,11 +15137,20 @@
  2458. _ACEOF
  2459. rm -f conftest.$ac_objext conftest$ac_exeext
  2460. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2461. - (eval $ac_link) 2>&5
  2462. + (eval $ac_link) 2>conftest.er1
  2463. ac_status=$?
  2464. + grep -v '^ *+' conftest.er1 >conftest.err
  2465. + rm -f conftest.er1
  2466. + cat conftest.err >&5
  2467. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2468. (exit $ac_status); } &&
  2469. - { ac_try='test -s conftest$ac_exeext'
  2470. + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  2471. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2472. + (eval $ac_try) 2>&5
  2473. + ac_status=$?
  2474. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2475. + (exit $ac_status); }; } &&
  2476. + { ac_try='test -s conftest$ac_exeext'
  2477. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2478. (eval $ac_try) 2>&5
  2479. ac_status=$?
  2480. @@ -14767,7 +15167,8 @@
  2481. sed 's/^/| /' conftest.$ac_ext >&5
  2482. fi
  2483. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2484. +rm -f conftest.err conftest.$ac_objext \
  2485. + conftest$ac_exeext conftest.$ac_ext
  2486. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  2487. hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  2488. @@ -16272,11 +16673,11 @@
  2489. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  2490. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  2491. -e 's:$: $lt_compiler_flag:'`
  2492. - (eval echo "\"\$as_me:16275: $lt_compile\"" >&5)
  2493. + (eval echo "\"\$as_me:16676: $lt_compile\"" >&5)
  2494. (eval "$lt_compile" 2>conftest.err)
  2495. ac_status=$?
  2496. cat conftest.err >&5
  2497. - echo "$as_me:16279: \$? = $ac_status" >&5
  2498. + echo "$as_me:16680: \$? = $ac_status" >&5
  2499. if (exit $ac_status) && test -s "$ac_outfile"; then
  2500. # The compiler can only warn and ignore the option if not recognized
  2501. # So say no if there are warnings
  2502. @@ -16504,11 +16905,11 @@
  2503. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  2504. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  2505. -e 's:$: $lt_compiler_flag:'`
  2506. - (eval echo "\"\$as_me:16507: $lt_compile\"" >&5)
  2507. + (eval echo "\"\$as_me:16908: $lt_compile\"" >&5)
  2508. (eval "$lt_compile" 2>conftest.err)
  2509. ac_status=$?
  2510. cat conftest.err >&5
  2511. - echo "$as_me:16511: \$? = $ac_status" >&5
  2512. + echo "$as_me:16912: \$? = $ac_status" >&5
  2513. if (exit $ac_status) && test -s "$ac_outfile"; then
  2514. # The compiler can only warn and ignore the option if not recognized
  2515. # So say no if there are warnings
  2516. @@ -16571,11 +16972,11 @@
  2517. -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
  2518. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  2519. -e 's:$: $lt_compiler_flag:'`
  2520. - (eval echo "\"\$as_me:16574: $lt_compile\"" >&5)
  2521. + (eval echo "\"\$as_me:16975: $lt_compile\"" >&5)
  2522. (eval "$lt_compile" 2>out/conftest.err)
  2523. ac_status=$?
  2524. cat out/conftest.err >&5
  2525. - echo "$as_me:16578: \$? = $ac_status" >&5
  2526. + echo "$as_me:16979: \$? = $ac_status" >&5
  2527. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  2528. then
  2529. # The compiler can only warn and ignore the option if not recognized
  2530. @@ -16911,7 +17312,6 @@
  2531. allow_undefined_flag_GCJ='-berok'
  2532. # Determine the default libpath from the value encoded in an empty executable.
  2533. cat >conftest.$ac_ext <<_ACEOF
  2534. -#line $LINENO "configure"
  2535. /* confdefs.h. */
  2536. _ACEOF
  2537. cat confdefs.h >>conftest.$ac_ext
  2538. @@ -16928,11 +17328,20 @@
  2539. _ACEOF
  2540. rm -f conftest.$ac_objext conftest$ac_exeext
  2541. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2542. - (eval $ac_link) 2>&5
  2543. + (eval $ac_link) 2>conftest.er1
  2544. ac_status=$?
  2545. + grep -v '^ *+' conftest.er1 >conftest.err
  2546. + rm -f conftest.er1
  2547. + cat conftest.err >&5
  2548. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2549. (exit $ac_status); } &&
  2550. - { ac_try='test -s conftest$ac_exeext'
  2551. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2552. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2553. + (eval $ac_try) 2>&5
  2554. + ac_status=$?
  2555. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2556. + (exit $ac_status); }; } &&
  2557. + { ac_try='test -s conftest$ac_exeext'
  2558. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2559. (eval $ac_try) 2>&5
  2560. ac_status=$?
  2561. @@ -16949,7 +17358,8 @@
  2562. sed 's/^/| /' conftest.$ac_ext >&5
  2563. fi
  2564. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2565. +rm -f conftest.err conftest.$ac_objext \
  2566. + conftest$ac_exeext conftest.$ac_ext
  2567. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  2568. hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  2569. @@ -16962,7 +17372,6 @@
  2570. else
  2571. # Determine the default libpath from the value encoded in an empty executable.
  2572. cat >conftest.$ac_ext <<_ACEOF
  2573. -#line $LINENO "configure"
  2574. /* confdefs.h. */
  2575. _ACEOF
  2576. cat confdefs.h >>conftest.$ac_ext
  2577. @@ -16979,11 +17388,20 @@
  2578. _ACEOF
  2579. rm -f conftest.$ac_objext conftest$ac_exeext
  2580. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2581. - (eval $ac_link) 2>&5
  2582. + (eval $ac_link) 2>conftest.er1
  2583. ac_status=$?
  2584. + grep -v '^ *+' conftest.er1 >conftest.err
  2585. + rm -f conftest.er1
  2586. + cat conftest.err >&5
  2587. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2588. (exit $ac_status); } &&
  2589. - { ac_try='test -s conftest$ac_exeext'
  2590. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2591. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2592. + (eval $ac_try) 2>&5
  2593. + ac_status=$?
  2594. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2595. + (exit $ac_status); }; } &&
  2596. + { ac_try='test -s conftest$ac_exeext'
  2597. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2598. (eval $ac_try) 2>&5
  2599. ac_status=$?
  2600. @@ -17000,7 +17418,8 @@
  2601. sed 's/^/| /' conftest.$ac_ext >&5
  2602. fi
  2603. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2604. +rm -f conftest.err conftest.$ac_objext \
  2605. + conftest$ac_exeext conftest.$ac_ext
  2606. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  2607. hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  2608. @@ -18067,7 +18486,6 @@
  2609. ac_check_lib_save_LIBS=$LIBS
  2610. LIBS="-ldl $LIBS"
  2611. cat >conftest.$ac_ext <<_ACEOF
  2612. -#line $LINENO "configure"
  2613. /* confdefs.h. */
  2614. _ACEOF
  2615. cat confdefs.h >>conftest.$ac_ext
  2616. @@ -18091,11 +18509,20 @@
  2617. _ACEOF
  2618. rm -f conftest.$ac_objext conftest$ac_exeext
  2619. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2620. - (eval $ac_link) 2>&5
  2621. + (eval $ac_link) 2>conftest.er1
  2622. ac_status=$?
  2623. + grep -v '^ *+' conftest.er1 >conftest.err
  2624. + rm -f conftest.er1
  2625. + cat conftest.err >&5
  2626. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2627. (exit $ac_status); } &&
  2628. - { ac_try='test -s conftest$ac_exeext'
  2629. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2630. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2631. + (eval $ac_try) 2>&5
  2632. + ac_status=$?
  2633. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2634. + (exit $ac_status); }; } &&
  2635. + { ac_try='test -s conftest$ac_exeext'
  2636. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2637. (eval $ac_try) 2>&5
  2638. ac_status=$?
  2639. @@ -18108,7 +18535,8 @@
  2640. ac_cv_lib_dl_dlopen=no
  2641. fi
  2642. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2643. +rm -f conftest.err conftest.$ac_objext \
  2644. + conftest$ac_exeext conftest.$ac_ext
  2645. LIBS=$ac_check_lib_save_LIBS
  2646. fi
  2647. echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  2648. @@ -18132,21 +18560,28 @@
  2649. echo $ECHO_N "(cached) $ECHO_C" >&6
  2650. else
  2651. cat >conftest.$ac_ext <<_ACEOF
  2652. -#line $LINENO "configure"
  2653. /* confdefs.h. */
  2654. _ACEOF
  2655. cat confdefs.h >>conftest.$ac_ext
  2656. cat >>conftest.$ac_ext <<_ACEOF
  2657. /* end confdefs.h. */
  2658. +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  2659. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2660. +#define shl_load innocuous_shl_load
  2661. +
  2662. /* System header to define __stub macros and hopefully few prototypes,
  2663. which can conflict with char shl_load (); below.
  2664. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2665. <limits.h> exists even on freestanding compilers. */
  2666. +
  2667. #ifdef __STDC__
  2668. # include <limits.h>
  2669. #else
  2670. # include <assert.h>
  2671. #endif
  2672. +
  2673. +#undef shl_load
  2674. +
  2675. /* Override any gcc2 internal prototype to avoid an error. */
  2676. #ifdef __cplusplus
  2677. extern "C"
  2678. @@ -18177,11 +18612,20 @@
  2679. _ACEOF
  2680. rm -f conftest.$ac_objext conftest$ac_exeext
  2681. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2682. - (eval $ac_link) 2>&5
  2683. + (eval $ac_link) 2>conftest.er1
  2684. ac_status=$?
  2685. + grep -v '^ *+' conftest.er1 >conftest.err
  2686. + rm -f conftest.er1
  2687. + cat conftest.err >&5
  2688. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2689. (exit $ac_status); } &&
  2690. - { ac_try='test -s conftest$ac_exeext'
  2691. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2692. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2693. + (eval $ac_try) 2>&5
  2694. + ac_status=$?
  2695. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2696. + (exit $ac_status); }; } &&
  2697. + { ac_try='test -s conftest$ac_exeext'
  2698. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2699. (eval $ac_try) 2>&5
  2700. ac_status=$?
  2701. @@ -18194,7 +18638,8 @@
  2702. ac_cv_func_shl_load=no
  2703. fi
  2704. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2705. +rm -f conftest.err conftest.$ac_objext \
  2706. + conftest$ac_exeext conftest.$ac_ext
  2707. fi
  2708. echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  2709. echo "${ECHO_T}$ac_cv_func_shl_load" >&6
  2710. @@ -18209,7 +18654,6 @@
  2711. ac_check_lib_save_LIBS=$LIBS
  2712. LIBS="-ldld $LIBS"
  2713. cat >conftest.$ac_ext <<_ACEOF
  2714. -#line $LINENO "configure"
  2715. /* confdefs.h. */
  2716. _ACEOF
  2717. cat confdefs.h >>conftest.$ac_ext
  2718. @@ -18233,11 +18677,20 @@
  2719. _ACEOF
  2720. rm -f conftest.$ac_objext conftest$ac_exeext
  2721. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2722. - (eval $ac_link) 2>&5
  2723. + (eval $ac_link) 2>conftest.er1
  2724. ac_status=$?
  2725. + grep -v '^ *+' conftest.er1 >conftest.err
  2726. + rm -f conftest.er1
  2727. + cat conftest.err >&5
  2728. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2729. (exit $ac_status); } &&
  2730. - { ac_try='test -s conftest$ac_exeext'
  2731. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2732. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2733. + (eval $ac_try) 2>&5
  2734. + ac_status=$?
  2735. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2736. + (exit $ac_status); }; } &&
  2737. + { ac_try='test -s conftest$ac_exeext'
  2738. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2739. (eval $ac_try) 2>&5
  2740. ac_status=$?
  2741. @@ -18250,7 +18703,8 @@
  2742. ac_cv_lib_dld_shl_load=no
  2743. fi
  2744. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2745. +rm -f conftest.err conftest.$ac_objext \
  2746. + conftest$ac_exeext conftest.$ac_ext
  2747. LIBS=$ac_check_lib_save_LIBS
  2748. fi
  2749. echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  2750. @@ -18264,21 +18718,28 @@
  2751. echo $ECHO_N "(cached) $ECHO_C" >&6
  2752. else
  2753. cat >conftest.$ac_ext <<_ACEOF
  2754. -#line $LINENO "configure"
  2755. /* confdefs.h. */
  2756. _ACEOF
  2757. cat confdefs.h >>conftest.$ac_ext
  2758. cat >>conftest.$ac_ext <<_ACEOF
  2759. /* end confdefs.h. */
  2760. +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  2761. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2762. +#define dlopen innocuous_dlopen
  2763. +
  2764. /* System header to define __stub macros and hopefully few prototypes,
  2765. which can conflict with char dlopen (); below.
  2766. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2767. <limits.h> exists even on freestanding compilers. */
  2768. +
  2769. #ifdef __STDC__
  2770. # include <limits.h>
  2771. #else
  2772. # include <assert.h>
  2773. #endif
  2774. +
  2775. +#undef dlopen
  2776. +
  2777. /* Override any gcc2 internal prototype to avoid an error. */
  2778. #ifdef __cplusplus
  2779. extern "C"
  2780. @@ -18309,11 +18770,20 @@
  2781. _ACEOF
  2782. rm -f conftest.$ac_objext conftest$ac_exeext
  2783. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2784. - (eval $ac_link) 2>&5
  2785. + (eval $ac_link) 2>conftest.er1
  2786. ac_status=$?
  2787. + grep -v '^ *+' conftest.er1 >conftest.err
  2788. + rm -f conftest.er1
  2789. + cat conftest.err >&5
  2790. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2791. (exit $ac_status); } &&
  2792. - { ac_try='test -s conftest$ac_exeext'
  2793. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2794. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2795. + (eval $ac_try) 2>&5
  2796. + ac_status=$?
  2797. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2798. + (exit $ac_status); }; } &&
  2799. + { ac_try='test -s conftest$ac_exeext'
  2800. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2801. (eval $ac_try) 2>&5
  2802. ac_status=$?
  2803. @@ -18326,7 +18796,8 @@
  2804. ac_cv_func_dlopen=no
  2805. fi
  2806. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2807. +rm -f conftest.err conftest.$ac_objext \
  2808. + conftest$ac_exeext conftest.$ac_ext
  2809. fi
  2810. echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  2811. echo "${ECHO_T}$ac_cv_func_dlopen" >&6
  2812. @@ -18341,7 +18812,6 @@
  2813. ac_check_lib_save_LIBS=$LIBS
  2814. LIBS="-ldl $LIBS"
  2815. cat >conftest.$ac_ext <<_ACEOF
  2816. -#line $LINENO "configure"
  2817. /* confdefs.h. */
  2818. _ACEOF
  2819. cat confdefs.h >>conftest.$ac_ext
  2820. @@ -18365,11 +18835,20 @@
  2821. _ACEOF
  2822. rm -f conftest.$ac_objext conftest$ac_exeext
  2823. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2824. - (eval $ac_link) 2>&5
  2825. + (eval $ac_link) 2>conftest.er1
  2826. ac_status=$?
  2827. + grep -v '^ *+' conftest.er1 >conftest.err
  2828. + rm -f conftest.er1
  2829. + cat conftest.err >&5
  2830. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2831. (exit $ac_status); } &&
  2832. - { ac_try='test -s conftest$ac_exeext'
  2833. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2834. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2835. + (eval $ac_try) 2>&5
  2836. + ac_status=$?
  2837. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2838. + (exit $ac_status); }; } &&
  2839. + { ac_try='test -s conftest$ac_exeext'
  2840. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2841. (eval $ac_try) 2>&5
  2842. ac_status=$?
  2843. @@ -18382,7 +18861,8 @@
  2844. ac_cv_lib_dl_dlopen=no
  2845. fi
  2846. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2847. +rm -f conftest.err conftest.$ac_objext \
  2848. + conftest$ac_exeext conftest.$ac_ext
  2849. LIBS=$ac_check_lib_save_LIBS
  2850. fi
  2851. echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  2852. @@ -18398,7 +18878,6 @@
  2853. ac_check_lib_save_LIBS=$LIBS
  2854. LIBS="-lsvld $LIBS"
  2855. cat >conftest.$ac_ext <<_ACEOF
  2856. -#line $LINENO "configure"
  2857. /* confdefs.h. */
  2858. _ACEOF
  2859. cat confdefs.h >>conftest.$ac_ext
  2860. @@ -18422,11 +18901,20 @@
  2861. _ACEOF
  2862. rm -f conftest.$ac_objext conftest$ac_exeext
  2863. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2864. - (eval $ac_link) 2>&5
  2865. + (eval $ac_link) 2>conftest.er1
  2866. ac_status=$?
  2867. + grep -v '^ *+' conftest.er1 >conftest.err
  2868. + rm -f conftest.er1
  2869. + cat conftest.err >&5
  2870. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2871. (exit $ac_status); } &&
  2872. - { ac_try='test -s conftest$ac_exeext'
  2873. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2874. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2875. + (eval $ac_try) 2>&5
  2876. + ac_status=$?
  2877. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2878. + (exit $ac_status); }; } &&
  2879. + { ac_try='test -s conftest$ac_exeext'
  2880. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2881. (eval $ac_try) 2>&5
  2882. ac_status=$?
  2883. @@ -18439,7 +18927,8 @@
  2884. ac_cv_lib_svld_dlopen=no
  2885. fi
  2886. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2887. +rm -f conftest.err conftest.$ac_objext \
  2888. + conftest$ac_exeext conftest.$ac_ext
  2889. LIBS=$ac_check_lib_save_LIBS
  2890. fi
  2891. echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  2892. @@ -18455,7 +18944,6 @@
  2893. ac_check_lib_save_LIBS=$LIBS
  2894. LIBS="-ldld $LIBS"
  2895. cat >conftest.$ac_ext <<_ACEOF
  2896. -#line $LINENO "configure"
  2897. /* confdefs.h. */
  2898. _ACEOF
  2899. cat confdefs.h >>conftest.$ac_ext
  2900. @@ -18479,11 +18967,20 @@
  2901. _ACEOF
  2902. rm -f conftest.$ac_objext conftest$ac_exeext
  2903. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2904. - (eval $ac_link) 2>&5
  2905. + (eval $ac_link) 2>conftest.er1
  2906. ac_status=$?
  2907. + grep -v '^ *+' conftest.er1 >conftest.err
  2908. + rm -f conftest.er1
  2909. + cat conftest.err >&5
  2910. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2911. (exit $ac_status); } &&
  2912. - { ac_try='test -s conftest$ac_exeext'
  2913. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2914. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2915. + (eval $ac_try) 2>&5
  2916. + ac_status=$?
  2917. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2918. + (exit $ac_status); }; } &&
  2919. + { ac_try='test -s conftest$ac_exeext'
  2920. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2921. (eval $ac_try) 2>&5
  2922. ac_status=$?
  2923. @@ -18496,7 +18993,8 @@
  2924. ac_cv_lib_dld_dld_link=no
  2925. fi
  2926. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2927. +rm -f conftest.err conftest.$ac_objext \
  2928. + conftest$ac_exeext conftest.$ac_ext
  2929. LIBS=$ac_check_lib_save_LIBS
  2930. fi
  2931. echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  2932. @@ -18551,7 +19049,7 @@
  2933. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  2934. lt_status=$lt_dlunknown
  2935. cat > conftest.$ac_ext <<EOF
  2936. -#line 18554 "configure"
  2937. +#line 19052 "configure"
  2938. #include "confdefs.h"
  2939. #if HAVE_DLFCN_H
  2940. @@ -18649,7 +19147,7 @@
  2941. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  2942. lt_status=$lt_dlunknown
  2943. cat > conftest.$ac_ext <<EOF
  2944. -#line 18652 "configure"
  2945. +#line 19150 "configure"
  2946. #include "confdefs.h"
  2947. #if HAVE_DLFCN_H
  2948. @@ -19834,21 +20332,28 @@
  2949. echo $ECHO_N "(cached) $ECHO_C" >&6
  2950. else
  2951. cat >conftest.$ac_ext <<_ACEOF
  2952. -#line $LINENO "configure"
  2953. /* confdefs.h. */
  2954. _ACEOF
  2955. cat confdefs.h >>conftest.$ac_ext
  2956. cat >>conftest.$ac_ext <<_ACEOF
  2957. /* end confdefs.h. */
  2958. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  2959. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2960. +#define $ac_func innocuous_$ac_func
  2961. +
  2962. /* System header to define __stub macros and hopefully few prototypes,
  2963. which can conflict with char $ac_func (); below.
  2964. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2965. <limits.h> exists even on freestanding compilers. */
  2966. +
  2967. #ifdef __STDC__
  2968. # include <limits.h>
  2969. #else
  2970. # include <assert.h>
  2971. #endif
  2972. +
  2973. +#undef $ac_func
  2974. +
  2975. /* Override any gcc2 internal prototype to avoid an error. */
  2976. #ifdef __cplusplus
  2977. extern "C"
  2978. @@ -19879,11 +20384,20 @@
  2979. _ACEOF
  2980. rm -f conftest.$ac_objext conftest$ac_exeext
  2981. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2982. - (eval $ac_link) 2>&5
  2983. + (eval $ac_link) 2>conftest.er1
  2984. ac_status=$?
  2985. + grep -v '^ *+' conftest.er1 >conftest.err
  2986. + rm -f conftest.er1
  2987. + cat conftest.err >&5
  2988. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2989. (exit $ac_status); } &&
  2990. - { ac_try='test -s conftest$ac_exeext'
  2991. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2992. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2993. + (eval $ac_try) 2>&5
  2994. + ac_status=$?
  2995. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2996. + (exit $ac_status); }; } &&
  2997. + { ac_try='test -s conftest$ac_exeext'
  2998. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2999. (eval $ac_try) 2>&5
  3000. ac_status=$?
  3001. @@ -19896,7 +20410,8 @@
  3002. eval "$as_ac_var=no"
  3003. fi
  3004. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3005. +rm -f conftest.err conftest.$ac_objext \
  3006. + conftest$ac_exeext conftest.$ac_ext
  3007. fi
  3008. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  3009. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  3010. @@ -19938,7 +20453,6 @@
  3011. O_LDFLAGS="$LDFLAGS"
  3012. LDFLAGS="$LDFLAGS -Wl,-blibpath:/usr/lib:/lib"
  3013. cat >conftest.$ac_ext <<_ACEOF
  3014. -#line $LINENO "configure"
  3015. /* confdefs.h. */
  3016. _ACEOF
  3017. cat confdefs.h >>conftest.$ac_ext
  3018. @@ -19955,11 +20469,20 @@
  3019. _ACEOF
  3020. rm -f conftest.$ac_objext conftest$ac_exeext
  3021. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3022. - (eval $ac_link) 2>&5
  3023. + (eval $ac_link) 2>conftest.er1
  3024. ac_status=$?
  3025. + grep -v '^ *+' conftest.er1 >conftest.err
  3026. + rm -f conftest.er1
  3027. + cat conftest.err >&5
  3028. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3029. (exit $ac_status); } &&
  3030. - { ac_try='test -s conftest$ac_exeext'
  3031. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3032. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3033. + (eval $ac_try) 2>&5
  3034. + ac_status=$?
  3035. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3036. + (exit $ac_status); }; } &&
  3037. + { ac_try='test -s conftest$ac_exeext'
  3038. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3039. (eval $ac_try) 2>&5
  3040. ac_status=$?
  3041. @@ -19983,7 +20506,8 @@
  3042. echo "$as_me:$LINENO: result: no" >&5
  3043. echo "${ECHO_T}no" >&6
  3044. fi
  3045. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3046. +rm -f conftest.err conftest.$ac_objext \
  3047. + conftest$ac_exeext conftest.$ac_ext
  3048. fi
  3049. LDFLAGS="$O_LDFLAGS"
  3050. ;;
  3051. @@ -19997,7 +20521,6 @@
  3052. ac_check_lib_save_LIBS=$LIBS
  3053. LIBS="-lsec $LIBS"
  3054. cat >conftest.$ac_ext <<_ACEOF
  3055. -#line $LINENO "configure"
  3056. /* confdefs.h. */
  3057. _ACEOF
  3058. cat confdefs.h >>conftest.$ac_ext
  3059. @@ -20021,11 +20544,20 @@
  3060. _ACEOF
  3061. rm -f conftest.$ac_objext conftest$ac_exeext
  3062. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3063. - (eval $ac_link) 2>&5
  3064. + (eval $ac_link) 2>conftest.er1
  3065. ac_status=$?
  3066. + grep -v '^ *+' conftest.er1 >conftest.err
  3067. + rm -f conftest.er1
  3068. + cat conftest.err >&5
  3069. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3070. (exit $ac_status); } &&
  3071. - { ac_try='test -s conftest$ac_exeext'
  3072. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3073. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3074. + (eval $ac_try) 2>&5
  3075. + ac_status=$?
  3076. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3077. + (exit $ac_status); }; } &&
  3078. + { ac_try='test -s conftest$ac_exeext'
  3079. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3080. (eval $ac_try) 2>&5
  3081. ac_status=$?
  3082. @@ -20038,7 +20570,8 @@
  3083. ac_cv_lib_sec_getprpwnam=no
  3084. fi
  3085. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3086. +rm -f conftest.err conftest.$ac_objext \
  3087. + conftest$ac_exeext conftest.$ac_ext
  3088. LIBS=$ac_check_lib_save_LIBS
  3089. fi
  3090. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5
  3091. @@ -20057,7 +20590,6 @@
  3092. ac_check_lib_save_LIBS=$LIBS
  3093. LIBS="-lsecurity $LIBS"
  3094. cat >conftest.$ac_ext <<_ACEOF
  3095. -#line $LINENO "configure"
  3096. /* confdefs.h. */
  3097. _ACEOF
  3098. cat confdefs.h >>conftest.$ac_ext
  3099. @@ -20081,11 +20613,20 @@
  3100. _ACEOF
  3101. rm -f conftest.$ac_objext conftest$ac_exeext
  3102. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3103. - (eval $ac_link) 2>&5
  3104. + (eval $ac_link) 2>conftest.er1
  3105. ac_status=$?
  3106. + grep -v '^ *+' conftest.er1 >conftest.err
  3107. + rm -f conftest.er1
  3108. + cat conftest.err >&5
  3109. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3110. (exit $ac_status); } &&
  3111. - { ac_try='test -s conftest$ac_exeext'
  3112. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3113. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3114. + (eval $ac_try) 2>&5
  3115. + ac_status=$?
  3116. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3117. + (exit $ac_status); }; } &&
  3118. + { ac_try='test -s conftest$ac_exeext'
  3119. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3120. (eval $ac_try) 2>&5
  3121. ac_status=$?
  3122. @@ -20098,7 +20639,8 @@
  3123. ac_cv_lib_security_getprpwnam=no
  3124. fi
  3125. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3126. +rm -f conftest.err conftest.$ac_objext \
  3127. + conftest$ac_exeext conftest.$ac_ext
  3128. LIBS=$ac_check_lib_save_LIBS
  3129. fi
  3130. echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5
  3131. @@ -20156,21 +20698,28 @@
  3132. echo $ECHO_N "(cached) $ECHO_C" >&6
  3133. else
  3134. cat >conftest.$ac_ext <<_ACEOF
  3135. -#line $LINENO "configure"
  3136. /* confdefs.h. */
  3137. _ACEOF
  3138. cat confdefs.h >>conftest.$ac_ext
  3139. cat >>conftest.$ac_ext <<_ACEOF
  3140. /* end confdefs.h. */
  3141. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  3142. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3143. +#define $ac_func innocuous_$ac_func
  3144. +
  3145. /* System header to define __stub macros and hopefully few prototypes,
  3146. which can conflict with char $ac_func (); below.
  3147. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3148. <limits.h> exists even on freestanding compilers. */
  3149. +
  3150. #ifdef __STDC__
  3151. # include <limits.h>
  3152. #else
  3153. # include <assert.h>
  3154. #endif
  3155. +
  3156. +#undef $ac_func
  3157. +
  3158. /* Override any gcc2 internal prototype to avoid an error. */
  3159. #ifdef __cplusplus
  3160. extern "C"
  3161. @@ -20201,11 +20750,20 @@
  3162. _ACEOF
  3163. rm -f conftest.$ac_objext conftest$ac_exeext
  3164. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3165. - (eval $ac_link) 2>&5
  3166. + (eval $ac_link) 2>conftest.er1
  3167. ac_status=$?
  3168. + grep -v '^ *+' conftest.er1 >conftest.err
  3169. + rm -f conftest.er1
  3170. + cat conftest.err >&5
  3171. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3172. (exit $ac_status); } &&
  3173. - { ac_try='test -s conftest$ac_exeext'
  3174. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3175. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3176. + (eval $ac_try) 2>&5
  3177. + ac_status=$?
  3178. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3179. + (exit $ac_status); }; } &&
  3180. + { ac_try='test -s conftest$ac_exeext'
  3181. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3182. (eval $ac_try) 2>&5
  3183. ac_status=$?
  3184. @@ -20218,7 +20776,8 @@
  3185. eval "$as_ac_var=no"
  3186. fi
  3187. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3188. +rm -f conftest.err conftest.$ac_objext \
  3189. + conftest$ac_exeext conftest.$ac_ext
  3190. fi
  3191. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  3192. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  3193. @@ -20251,7 +20810,6 @@
  3194. ac_check_lib_save_LIBS=$LIBS
  3195. LIBS="-lsec $LIBS"
  3196. cat >conftest.$ac_ext <<_ACEOF
  3197. -#line $LINENO "configure"
  3198. /* confdefs.h. */
  3199. _ACEOF
  3200. cat confdefs.h >>conftest.$ac_ext
  3201. @@ -20275,11 +20833,20 @@
  3202. _ACEOF
  3203. rm -f conftest.$ac_objext conftest$ac_exeext
  3204. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3205. - (eval $ac_link) 2>&5
  3206. + (eval $ac_link) 2>conftest.er1
  3207. ac_status=$?
  3208. + grep -v '^ *+' conftest.er1 >conftest.err
  3209. + rm -f conftest.er1
  3210. + cat conftest.err >&5
  3211. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3212. (exit $ac_status); } &&
  3213. - { ac_try='test -s conftest$ac_exeext'
  3214. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3215. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3216. + (eval $ac_try) 2>&5
  3217. + ac_status=$?
  3218. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3219. + (exit $ac_status); }; } &&
  3220. + { ac_try='test -s conftest$ac_exeext'
  3221. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3222. (eval $ac_try) 2>&5
  3223. ac_status=$?
  3224. @@ -20292,7 +20859,8 @@
  3225. ac_cv_lib_sec_getprpwnam=no
  3226. fi
  3227. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3228. +rm -f conftest.err conftest.$ac_objext \
  3229. + conftest$ac_exeext conftest.$ac_ext
  3230. LIBS=$ac_check_lib_save_LIBS
  3231. fi
  3232. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5
  3233. @@ -20309,7 +20877,6 @@
  3234. ac_check_lib_save_LIBS=$LIBS
  3235. LIBS="-lsec $LIBS"
  3236. cat >conftest.$ac_ext <<_ACEOF
  3237. -#line $LINENO "configure"
  3238. /* confdefs.h. */
  3239. _ACEOF
  3240. cat confdefs.h >>conftest.$ac_ext
  3241. @@ -20333,11 +20900,20 @@
  3242. _ACEOF
  3243. rm -f conftest.$ac_objext conftest$ac_exeext
  3244. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3245. - (eval $ac_link) 2>&5
  3246. + (eval $ac_link) 2>conftest.er1
  3247. ac_status=$?
  3248. + grep -v '^ *+' conftest.er1 >conftest.err
  3249. + rm -f conftest.er1
  3250. + cat conftest.err >&5
  3251. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3252. (exit $ac_status); } &&
  3253. - { ac_try='test -s conftest$ac_exeext'
  3254. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3255. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3256. + (eval $ac_try) 2>&5
  3257. + ac_status=$?
  3258. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3259. + (exit $ac_status); }; } &&
  3260. + { ac_try='test -s conftest$ac_exeext'
  3261. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3262. (eval $ac_try) 2>&5
  3263. ac_status=$?
  3264. @@ -20350,7 +20926,8 @@
  3265. ac_cv_lib_sec_iscomsec=no
  3266. fi
  3267. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3268. +rm -f conftest.err conftest.$ac_objext \
  3269. + conftest$ac_exeext conftest.$ac_ext
  3270. LIBS=$ac_check_lib_save_LIBS
  3271. fi
  3272. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_iscomsec" >&5
  3273. @@ -20377,7 +20954,6 @@
  3274. ac_check_lib_save_LIBS=$LIBS
  3275. LIBS="-lsec $LIBS"
  3276. cat >conftest.$ac_ext <<_ACEOF
  3277. -#line $LINENO "configure"
  3278. /* confdefs.h. */
  3279. _ACEOF
  3280. cat confdefs.h >>conftest.$ac_ext
  3281. @@ -20401,11 +20977,20 @@
  3282. _ACEOF
  3283. rm -f conftest.$ac_objext conftest$ac_exeext
  3284. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3285. - (eval $ac_link) 2>&5
  3286. + (eval $ac_link) 2>conftest.er1
  3287. ac_status=$?
  3288. + grep -v '^ *+' conftest.er1 >conftest.err
  3289. + rm -f conftest.er1
  3290. + cat conftest.err >&5
  3291. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3292. (exit $ac_status); } &&
  3293. - { ac_try='test -s conftest$ac_exeext'
  3294. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3295. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3296. + (eval $ac_try) 2>&5
  3297. + ac_status=$?
  3298. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3299. + (exit $ac_status); }; } &&
  3300. + { ac_try='test -s conftest$ac_exeext'
  3301. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3302. (eval $ac_try) 2>&5
  3303. ac_status=$?
  3304. @@ -20418,7 +21003,8 @@
  3305. ac_cv_lib_sec_getspnam=no
  3306. fi
  3307. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3308. +rm -f conftest.err conftest.$ac_objext \
  3309. + conftest$ac_exeext conftest.$ac_ext
  3310. LIBS=$ac_check_lib_save_LIBS
  3311. fi
  3312. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getspnam" >&5
  3313. @@ -20473,21 +21059,28 @@
  3314. echo $ECHO_N "(cached) $ECHO_C" >&6
  3315. else
  3316. cat >conftest.$ac_ext <<_ACEOF
  3317. -#line $LINENO "configure"
  3318. /* confdefs.h. */
  3319. _ACEOF
  3320. cat confdefs.h >>conftest.$ac_ext
  3321. cat >>conftest.$ac_ext <<_ACEOF
  3322. /* end confdefs.h. */
  3323. +/* Define sia_ses_init to an innocuous variant, in case <limits.h> declares sia_ses_init.
  3324. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3325. +#define sia_ses_init innocuous_sia_ses_init
  3326. +
  3327. /* System header to define __stub macros and hopefully few prototypes,
  3328. which can conflict with char sia_ses_init (); below.
  3329. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3330. <limits.h> exists even on freestanding compilers. */
  3331. +
  3332. #ifdef __STDC__
  3333. # include <limits.h>
  3334. #else
  3335. # include <assert.h>
  3336. #endif
  3337. +
  3338. +#undef sia_ses_init
  3339. +
  3340. /* Override any gcc2 internal prototype to avoid an error. */
  3341. #ifdef __cplusplus
  3342. extern "C"
  3343. @@ -20518,11 +21111,20 @@
  3344. _ACEOF
  3345. rm -f conftest.$ac_objext conftest$ac_exeext
  3346. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3347. - (eval $ac_link) 2>&5
  3348. + (eval $ac_link) 2>conftest.er1
  3349. ac_status=$?
  3350. + grep -v '^ *+' conftest.er1 >conftest.err
  3351. + rm -f conftest.er1
  3352. + cat conftest.err >&5
  3353. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3354. (exit $ac_status); } &&
  3355. - { ac_try='test -s conftest$ac_exeext'
  3356. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3357. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3358. + (eval $ac_try) 2>&5
  3359. + ac_status=$?
  3360. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3361. + (exit $ac_status); }; } &&
  3362. + { ac_try='test -s conftest$ac_exeext'
  3363. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3364. (eval $ac_try) 2>&5
  3365. ac_status=$?
  3366. @@ -20535,7 +21137,8 @@
  3367. ac_cv_func_sia_ses_init=no
  3368. fi
  3369. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3370. +rm -f conftest.err conftest.$ac_objext \
  3371. + conftest$ac_exeext conftest.$ac_ext
  3372. fi
  3373. echo "$as_me:$LINENO: result: $ac_cv_func_sia_ses_init" >&5
  3374. echo "${ECHO_T}$ac_cv_func_sia_ses_init" >&6
  3375. @@ -20561,7 +21164,6 @@
  3376. ac_check_lib_save_LIBS=$LIBS
  3377. LIBS="-lsecurity $LIBS"
  3378. cat >conftest.$ac_ext <<_ACEOF
  3379. -#line $LINENO "configure"
  3380. /* confdefs.h. */
  3381. _ACEOF
  3382. cat confdefs.h >>conftest.$ac_ext
  3383. @@ -20585,11 +21187,20 @@
  3384. _ACEOF
  3385. rm -f conftest.$ac_objext conftest$ac_exeext
  3386. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3387. - (eval $ac_link) 2>&5
  3388. + (eval $ac_link) 2>conftest.er1
  3389. ac_status=$?
  3390. + grep -v '^ *+' conftest.er1 >conftest.err
  3391. + rm -f conftest.er1
  3392. + cat conftest.err >&5
  3393. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3394. (exit $ac_status); } &&
  3395. - { ac_try='test -s conftest$ac_exeext'
  3396. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3397. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3398. + (eval $ac_try) 2>&5
  3399. + ac_status=$?
  3400. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3401. + (exit $ac_status); }; } &&
  3402. + { ac_try='test -s conftest$ac_exeext'
  3403. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3404. (eval $ac_try) 2>&5
  3405. ac_status=$?
  3406. @@ -20602,7 +21213,8 @@
  3407. ac_cv_lib_security_getprpwnam=no
  3408. fi
  3409. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3410. +rm -f conftest.err conftest.$ac_objext \
  3411. + conftest$ac_exeext conftest.$ac_ext
  3412. LIBS=$ac_check_lib_save_LIBS
  3413. fi
  3414. echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5
  3415. @@ -20630,21 +21242,28 @@
  3416. echo $ECHO_N "(cached) $ECHO_C" >&6
  3417. else
  3418. cat >conftest.$ac_ext <<_ACEOF
  3419. -#line $LINENO "configure"
  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. +
  3429. /* System header to define __stub macros and hopefully few prototypes,
  3430. which can conflict with char $ac_func (); below.
  3431. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3432. <limits.h> exists even on freestanding compilers. */
  3433. +
  3434. #ifdef __STDC__
  3435. # include <limits.h>
  3436. #else
  3437. # include <assert.h>
  3438. #endif
  3439. +
  3440. +#undef $ac_func
  3441. +
  3442. /* Override any gcc2 internal prototype to avoid an error. */
  3443. #ifdef __cplusplus
  3444. extern "C"
  3445. @@ -20675,11 +21294,20 @@
  3446. _ACEOF
  3447. rm -f conftest.$ac_objext conftest$ac_exeext
  3448. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3449. - (eval $ac_link) 2>&5
  3450. + (eval $ac_link) 2>conftest.er1
  3451. ac_status=$?
  3452. + grep -v '^ *+' conftest.er1 >conftest.err
  3453. + rm -f conftest.er1
  3454. + cat conftest.err >&5
  3455. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3456. (exit $ac_status); } &&
  3457. - { ac_try='test -s conftest$ac_exeext'
  3458. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3459. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3460. + (eval $ac_try) 2>&5
  3461. + ac_status=$?
  3462. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3463. + (exit $ac_status); }; } &&
  3464. + { ac_try='test -s conftest$ac_exeext'
  3465. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3466. (eval $ac_try) 2>&5
  3467. ac_status=$?
  3468. @@ -20692,7 +21320,8 @@
  3469. eval "$as_ac_var=no"
  3470. fi
  3471. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3472. +rm -f conftest.err conftest.$ac_objext \
  3473. + conftest$ac_exeext conftest.$ac_ext
  3474. fi
  3475. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  3476. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  3477. @@ -20716,21 +21345,28 @@
  3478. echo $ECHO_N "(cached) $ECHO_C" >&6
  3479. else
  3480. cat >conftest.$ac_ext <<_ACEOF
  3481. -#line $LINENO "configure"
  3482. /* confdefs.h. */
  3483. _ACEOF
  3484. cat confdefs.h >>conftest.$ac_ext
  3485. cat >>conftest.$ac_ext <<_ACEOF
  3486. /* end confdefs.h. */
  3487. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  3488. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3489. +#define $ac_func innocuous_$ac_func
  3490. +
  3491. /* System header to define __stub macros and hopefully few prototypes,
  3492. which can conflict with char $ac_func (); below.
  3493. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3494. <limits.h> exists even on freestanding compilers. */
  3495. +
  3496. #ifdef __STDC__
  3497. # include <limits.h>
  3498. #else
  3499. # include <assert.h>
  3500. #endif
  3501. +
  3502. +#undef $ac_func
  3503. +
  3504. /* Override any gcc2 internal prototype to avoid an error. */
  3505. #ifdef __cplusplus
  3506. extern "C"
  3507. @@ -20761,11 +21397,20 @@
  3508. _ACEOF
  3509. rm -f conftest.$ac_objext conftest$ac_exeext
  3510. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3511. - (eval $ac_link) 2>&5
  3512. + (eval $ac_link) 2>conftest.er1
  3513. ac_status=$?
  3514. + grep -v '^ *+' conftest.er1 >conftest.err
  3515. + rm -f conftest.er1
  3516. + cat conftest.err >&5
  3517. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3518. (exit $ac_status); } &&
  3519. - { ac_try='test -s conftest$ac_exeext'
  3520. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3521. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3522. + (eval $ac_try) 2>&5
  3523. + ac_status=$?
  3524. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3525. + (exit $ac_status); }; } &&
  3526. + { ac_try='test -s conftest$ac_exeext'
  3527. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3528. (eval $ac_try) 2>&5
  3529. ac_status=$?
  3530. @@ -20778,7 +21423,8 @@
  3531. eval "$as_ac_var=no"
  3532. fi
  3533. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3534. +rm -f conftest.err conftest.$ac_objext \
  3535. + conftest$ac_exeext conftest.$ac_ext
  3536. fi
  3537. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  3538. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  3539. @@ -20801,7 +21447,6 @@
  3540. ac_check_lib_save_LIBS=$LIBS
  3541. LIBS="-ldb $LIBS"
  3542. cat >conftest.$ac_ext <<_ACEOF
  3543. -#line $LINENO "configure"
  3544. /* confdefs.h. */
  3545. _ACEOF
  3546. cat confdefs.h >>conftest.$ac_ext
  3547. @@ -20825,11 +21470,20 @@
  3548. _ACEOF
  3549. rm -f conftest.$ac_objext conftest$ac_exeext
  3550. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3551. - (eval $ac_link) 2>&5
  3552. + (eval $ac_link) 2>conftest.er1
  3553. ac_status=$?
  3554. + grep -v '^ *+' conftest.er1 >conftest.err
  3555. + rm -f conftest.er1
  3556. + cat conftest.err >&5
  3557. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3558. (exit $ac_status); } &&
  3559. - { ac_try='test -s conftest$ac_exeext'
  3560. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3561. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3562. + (eval $ac_try) 2>&5
  3563. + ac_status=$?
  3564. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3565. + (exit $ac_status); }; } &&
  3566. + { ac_try='test -s conftest$ac_exeext'
  3567. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3568. (eval $ac_try) 2>&5
  3569. ac_status=$?
  3570. @@ -20842,7 +21496,8 @@
  3571. ac_cv_lib_db_dbopen=no
  3572. fi
  3573. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3574. +rm -f conftest.err conftest.$ac_objext \
  3575. + conftest$ac_exeext conftest.$ac_ext
  3576. LIBS=$ac_check_lib_save_LIBS
  3577. fi
  3578. echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5
  3579. @@ -20863,21 +21518,28 @@
  3580. echo $ECHO_N "(cached) $ECHO_C" >&6
  3581. else
  3582. cat >conftest.$ac_ext <<_ACEOF
  3583. -#line $LINENO "configure"
  3584. /* confdefs.h. */
  3585. _ACEOF
  3586. cat confdefs.h >>conftest.$ac_ext
  3587. cat >>conftest.$ac_ext <<_ACEOF
  3588. /* end confdefs.h. */
  3589. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  3590. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3591. +#define $ac_func innocuous_$ac_func
  3592. +
  3593. /* System header to define __stub macros and hopefully few prototypes,
  3594. which can conflict with char $ac_func (); below.
  3595. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3596. <limits.h> exists even on freestanding compilers. */
  3597. +
  3598. #ifdef __STDC__
  3599. # include <limits.h>
  3600. #else
  3601. # include <assert.h>
  3602. #endif
  3603. +
  3604. +#undef $ac_func
  3605. +
  3606. /* Override any gcc2 internal prototype to avoid an error. */
  3607. #ifdef __cplusplus
  3608. extern "C"
  3609. @@ -20908,11 +21570,20 @@
  3610. _ACEOF
  3611. rm -f conftest.$ac_objext conftest$ac_exeext
  3612. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3613. - (eval $ac_link) 2>&5
  3614. + (eval $ac_link) 2>conftest.er1
  3615. ac_status=$?
  3616. + grep -v '^ *+' conftest.er1 >conftest.err
  3617. + rm -f conftest.er1
  3618. + cat conftest.err >&5
  3619. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3620. (exit $ac_status); } &&
  3621. - { ac_try='test -s conftest$ac_exeext'
  3622. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3623. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3624. + (eval $ac_try) 2>&5
  3625. + ac_status=$?
  3626. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3627. + (exit $ac_status); }; } &&
  3628. + { ac_try='test -s conftest$ac_exeext'
  3629. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3630. (eval $ac_try) 2>&5
  3631. ac_status=$?
  3632. @@ -20925,7 +21596,8 @@
  3633. eval "$as_ac_var=no"
  3634. fi
  3635. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3636. +rm -f conftest.err conftest.$ac_objext \
  3637. + conftest$ac_exeext conftest.$ac_ext
  3638. fi
  3639. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  3640. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  3641. @@ -20940,7 +21612,6 @@
  3642. echo "$as_me:$LINENO: checking for broken /usr/include/prot.h" >&5
  3643. echo $ECHO_N "checking for broken /usr/include/prot.h... $ECHO_C" >&6
  3644. cat >conftest.$ac_ext <<_ACEOF
  3645. -#line $LINENO "configure"
  3646. /* confdefs.h. */
  3647. _ACEOF
  3648. cat confdefs.h >>conftest.$ac_ext
  3649. @@ -20961,11 +21632,20 @@
  3650. _ACEOF
  3651. rm -f conftest.$ac_objext
  3652. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3653. - (eval $ac_compile) 2>&5
  3654. + (eval $ac_compile) 2>conftest.er1
  3655. ac_status=$?
  3656. + grep -v '^ *+' conftest.er1 >conftest.err
  3657. + rm -f conftest.er1
  3658. + cat conftest.err >&5
  3659. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3660. (exit $ac_status); } &&
  3661. - { ac_try='test -s conftest.$ac_objext'
  3662. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3663. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3664. + (eval $ac_try) 2>&5
  3665. + ac_status=$?
  3666. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3667. + (exit $ac_status); }; } &&
  3668. + { ac_try='test -s conftest.$ac_objext'
  3669. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3670. (eval $ac_try) 2>&5
  3671. ac_status=$?
  3672. @@ -20982,7 +21662,7 @@
  3673. sed 's:<acl.h>:<sys/acl.h>:g' < /usr/include/prot.h > prot.h
  3674. fi
  3675. -rm -f conftest.$ac_objext conftest.$ac_ext
  3676. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3677. elif test "$CHECKSIA" = "true"; then
  3678. with_passwd=no
  3679. AUTH_OBJS="sia.o"
  3680. @@ -21020,7 +21700,6 @@
  3681. ac_check_lib_save_LIBS=$LIBS
  3682. LIBS="-lsun $LIBS"
  3683. cat >conftest.$ac_ext <<_ACEOF
  3684. -#line $LINENO "configure"
  3685. /* confdefs.h. */
  3686. _ACEOF
  3687. cat confdefs.h >>conftest.$ac_ext
  3688. @@ -21044,11 +21723,20 @@
  3689. _ACEOF
  3690. rm -f conftest.$ac_objext conftest$ac_exeext
  3691. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3692. - (eval $ac_link) 2>&5
  3693. + (eval $ac_link) 2>conftest.er1
  3694. ac_status=$?
  3695. + grep -v '^ *+' conftest.er1 >conftest.err
  3696. + rm -f conftest.er1
  3697. + cat conftest.err >&5
  3698. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3699. (exit $ac_status); } &&
  3700. - { ac_try='test -s conftest$ac_exeext'
  3701. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3702. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3703. + (eval $ac_try) 2>&5
  3704. + ac_status=$?
  3705. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3706. + (exit $ac_status); }; } &&
  3707. + { ac_try='test -s conftest$ac_exeext'
  3708. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3709. (eval $ac_try) 2>&5
  3710. ac_status=$?
  3711. @@ -21061,7 +21749,8 @@
  3712. ac_cv_lib_sun_getpwnam=no
  3713. fi
  3714. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3715. +rm -f conftest.err conftest.$ac_objext \
  3716. + conftest$ac_exeext conftest.$ac_ext
  3717. LIBS=$ac_check_lib_save_LIBS
  3718. fi
  3719. echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
  3720. @@ -21087,21 +21776,28 @@
  3721. echo $ECHO_N "(cached) $ECHO_C" >&6
  3722. else
  3723. cat >conftest.$ac_ext <<_ACEOF
  3724. -#line $LINENO "configure"
  3725. /* confdefs.h. */
  3726. _ACEOF
  3727. cat confdefs.h >>conftest.$ac_ext
  3728. cat >>conftest.$ac_ext <<_ACEOF
  3729. /* end confdefs.h. */
  3730. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  3731. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3732. +#define $ac_func innocuous_$ac_func
  3733. +
  3734. /* System header to define __stub macros and hopefully few prototypes,
  3735. which can conflict with char $ac_func (); below.
  3736. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3737. <limits.h> exists even on freestanding compilers. */
  3738. +
  3739. #ifdef __STDC__
  3740. # include <limits.h>
  3741. #else
  3742. # include <assert.h>
  3743. #endif
  3744. +
  3745. +#undef $ac_func
  3746. +
  3747. /* Override any gcc2 internal prototype to avoid an error. */
  3748. #ifdef __cplusplus
  3749. extern "C"
  3750. @@ -21132,11 +21828,20 @@
  3751. _ACEOF
  3752. rm -f conftest.$ac_objext conftest$ac_exeext
  3753. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3754. - (eval $ac_link) 2>&5
  3755. + (eval $ac_link) 2>conftest.er1
  3756. ac_status=$?
  3757. + grep -v '^ *+' conftest.er1 >conftest.err
  3758. + rm -f conftest.er1
  3759. + cat conftest.err >&5
  3760. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3761. (exit $ac_status); } &&
  3762. - { ac_try='test -s conftest$ac_exeext'
  3763. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3764. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3765. + (eval $ac_try) 2>&5
  3766. + ac_status=$?
  3767. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3768. + (exit $ac_status); }; } &&
  3769. + { ac_try='test -s conftest$ac_exeext'
  3770. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3771. (eval $ac_try) 2>&5
  3772. ac_status=$?
  3773. @@ -21149,7 +21854,8 @@
  3774. eval "$as_ac_var=no"
  3775. fi
  3776. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3777. +rm -f conftest.err conftest.$ac_objext \
  3778. + conftest$ac_exeext conftest.$ac_ext
  3779. fi
  3780. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  3781. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  3782. @@ -21167,7 +21873,6 @@
  3783. ac_check_lib_save_LIBS=$LIBS
  3784. LIBS="-lshadow $LIBS"
  3785. cat >conftest.$ac_ext <<_ACEOF
  3786. -#line $LINENO "configure"
  3787. /* confdefs.h. */
  3788. _ACEOF
  3789. cat confdefs.h >>conftest.$ac_ext
  3790. @@ -21191,11 +21896,20 @@
  3791. _ACEOF
  3792. rm -f conftest.$ac_objext conftest$ac_exeext
  3793. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3794. - (eval $ac_link) 2>&5
  3795. + (eval $ac_link) 2>conftest.er1
  3796. ac_status=$?
  3797. + grep -v '^ *+' conftest.er1 >conftest.err
  3798. + rm -f conftest.er1
  3799. + cat conftest.err >&5
  3800. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3801. (exit $ac_status); } &&
  3802. - { ac_try='test -s conftest$ac_exeext'
  3803. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3804. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3805. + (eval $ac_try) 2>&5
  3806. + ac_status=$?
  3807. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3808. + (exit $ac_status); }; } &&
  3809. + { ac_try='test -s conftest$ac_exeext'
  3810. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3811. (eval $ac_try) 2>&5
  3812. ac_status=$?
  3813. @@ -21208,7 +21922,8 @@
  3814. ac_cv_lib_shadow_getspnam=no
  3815. fi
  3816. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3817. +rm -f conftest.err conftest.$ac_objext \
  3818. + conftest$ac_exeext conftest.$ac_ext
  3819. LIBS=$ac_check_lib_save_LIBS
  3820. fi
  3821. echo "$as_me:$LINENO: result: $ac_cv_lib_shadow_getspnam" >&5
  3822. @@ -21244,7 +21959,6 @@
  3823. ac_check_lib_save_LIBS=$LIBS
  3824. LIBS="-lsec $LIBS"
  3825. cat >conftest.$ac_ext <<_ACEOF
  3826. -#line $LINENO "configure"
  3827. /* confdefs.h. */
  3828. _ACEOF
  3829. cat confdefs.h >>conftest.$ac_ext
  3830. @@ -21268,11 +21982,20 @@
  3831. _ACEOF
  3832. rm -f conftest.$ac_objext conftest$ac_exeext
  3833. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3834. - (eval $ac_link) 2>&5
  3835. + (eval $ac_link) 2>conftest.er1
  3836. ac_status=$?
  3837. + grep -v '^ *+' conftest.er1 >conftest.err
  3838. + rm -f conftest.er1
  3839. + cat conftest.err >&5
  3840. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3841. (exit $ac_status); } &&
  3842. - { ac_try='test -s conftest$ac_exeext'
  3843. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3844. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3845. + (eval $ac_try) 2>&5
  3846. + ac_status=$?
  3847. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3848. + (exit $ac_status); }; } &&
  3849. + { ac_try='test -s conftest$ac_exeext'
  3850. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3851. (eval $ac_try) 2>&5
  3852. ac_status=$?
  3853. @@ -21285,7 +22008,8 @@
  3854. ac_cv_lib_sec_getprpwnam=no
  3855. fi
  3856. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3857. +rm -f conftest.err conftest.$ac_objext \
  3858. + conftest$ac_exeext conftest.$ac_ext
  3859. LIBS=$ac_check_lib_save_LIBS
  3860. fi
  3861. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5
  3862. @@ -21311,7 +22035,6 @@
  3863. ac_check_lib_save_LIBS=$LIBS
  3864. LIBS="-lauth $LIBS"
  3865. cat >conftest.$ac_ext <<_ACEOF
  3866. -#line $LINENO "configure"
  3867. /* confdefs.h. */
  3868. _ACEOF
  3869. cat confdefs.h >>conftest.$ac_ext
  3870. @@ -21335,11 +22058,20 @@
  3871. _ACEOF
  3872. rm -f conftest.$ac_objext conftest$ac_exeext
  3873. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3874. - (eval $ac_link) 2>&5
  3875. + (eval $ac_link) 2>conftest.er1
  3876. ac_status=$?
  3877. + grep -v '^ *+' conftest.er1 >conftest.err
  3878. + rm -f conftest.er1
  3879. + cat conftest.err >&5
  3880. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3881. (exit $ac_status); } &&
  3882. - { ac_try='test -s conftest$ac_exeext'
  3883. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3884. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3885. + (eval $ac_try) 2>&5
  3886. + ac_status=$?
  3887. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3888. + (exit $ac_status); }; } &&
  3889. + { ac_try='test -s conftest$ac_exeext'
  3890. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3891. (eval $ac_try) 2>&5
  3892. ac_status=$?
  3893. @@ -21352,7 +22084,8 @@
  3894. ac_cv_lib_auth_getauthuid=no
  3895. fi
  3896. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3897. +rm -f conftest.err conftest.$ac_objext \
  3898. + conftest$ac_exeext conftest.$ac_ext
  3899. LIBS=$ac_check_lib_save_LIBS
  3900. fi
  3901. echo "$as_me:$LINENO: result: $ac_cv_lib_auth_getauthuid" >&5
  3902. @@ -21389,7 +22122,6 @@
  3903. ac_check_lib_save_LIBS=$LIBS
  3904. LIBS="-lsec $LIBS"
  3905. cat >conftest.$ac_ext <<_ACEOF
  3906. -#line $LINENO "configure"
  3907. /* confdefs.h. */
  3908. _ACEOF
  3909. cat confdefs.h >>conftest.$ac_ext
  3910. @@ -21413,11 +22145,20 @@
  3911. _ACEOF
  3912. rm -f conftest.$ac_objext conftest$ac_exeext
  3913. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3914. - (eval $ac_link) 2>&5
  3915. + (eval $ac_link) 2>conftest.er1
  3916. ac_status=$?
  3917. + grep -v '^ *+' conftest.er1 >conftest.err
  3918. + rm -f conftest.er1
  3919. + cat conftest.err >&5
  3920. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3921. (exit $ac_status); } &&
  3922. - { ac_try='test -s conftest$ac_exeext'
  3923. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3924. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3925. + (eval $ac_try) 2>&5
  3926. + ac_status=$?
  3927. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3928. + (exit $ac_status); }; } &&
  3929. + { ac_try='test -s conftest$ac_exeext'
  3930. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3931. (eval $ac_try) 2>&5
  3932. ac_status=$?
  3933. @@ -21430,7 +22171,8 @@
  3934. ac_cv_lib_sec_getspnam=no
  3935. fi
  3936. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3937. +rm -f conftest.err conftest.$ac_objext \
  3938. + conftest$ac_exeext conftest.$ac_ext
  3939. LIBS=$ac_check_lib_save_LIBS
  3940. fi
  3941. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getspnam" >&5
  3942. @@ -21451,13 +22193,12 @@
  3943. if test "$CHECKSHADOW" = "true"; then
  3944. echo "$as_me:$LINENO: checking for getprpwnam in -lprot" >&5
  3945. echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6
  3946. -if test "${ac_cv_lib_prot_getprpwnam_lx+set}" = set; then
  3947. +if test "${ac_cv_lib_prot_getprpwnam+set}" = set; then
  3948. echo $ECHO_N "(cached) $ECHO_C" >&6
  3949. else
  3950. ac_check_lib_save_LIBS=$LIBS
  3951. LIBS="-lprot -lx $LIBS"
  3952. cat >conftest.$ac_ext <<_ACEOF
  3953. -#line $LINENO "configure"
  3954. /* confdefs.h. */
  3955. _ACEOF
  3956. cat confdefs.h >>conftest.$ac_ext
  3957. @@ -21481,29 +22222,39 @@
  3958. _ACEOF
  3959. rm -f conftest.$ac_objext conftest$ac_exeext
  3960. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3961. - (eval $ac_link) 2>&5
  3962. + (eval $ac_link) 2>conftest.er1
  3963. ac_status=$?
  3964. + grep -v '^ *+' conftest.er1 >conftest.err
  3965. + rm -f conftest.er1
  3966. + cat conftest.err >&5
  3967. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3968. (exit $ac_status); } &&
  3969. - { ac_try='test -s conftest$ac_exeext'
  3970. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3971. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3972. + (eval $ac_try) 2>&5
  3973. + ac_status=$?
  3974. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3975. + (exit $ac_status); }; } &&
  3976. + { ac_try='test -s conftest$ac_exeext'
  3977. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3978. (eval $ac_try) 2>&5
  3979. ac_status=$?
  3980. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3981. (exit $ac_status); }; }; then
  3982. - ac_cv_lib_prot_getprpwnam_lx=yes
  3983. + ac_cv_lib_prot_getprpwnam=yes
  3984. else
  3985. echo "$as_me: failed program was:" >&5
  3986. sed 's/^/| /' conftest.$ac_ext >&5
  3987. -ac_cv_lib_prot_getprpwnam_lx=no
  3988. +ac_cv_lib_prot_getprpwnam=no
  3989. fi
  3990. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3991. +rm -f conftest.err conftest.$ac_objext \
  3992. + conftest$ac_exeext conftest.$ac_ext
  3993. LIBS=$ac_check_lib_save_LIBS
  3994. fi
  3995. -echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getprpwnam_lx" >&5
  3996. -echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam_lx" >&6
  3997. -if test $ac_cv_lib_prot_getprpwnam_lx = yes; then
  3998. +echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getprpwnam" >&5
  3999. +echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam" >&6
  4000. +if test $ac_cv_lib_prot_getprpwnam = yes; then
  4001. cat >>confdefs.h <<\_ACEOF
  4002. #define HAVE_GETPRPWNAM 1
  4003. _ACEOF
  4004. @@ -21518,7 +22269,6 @@
  4005. ac_check_lib_save_LIBS=$LIBS
  4006. LIBS="-lgen $LIBS"
  4007. cat >conftest.$ac_ext <<_ACEOF
  4008. -#line $LINENO "configure"
  4009. /* confdefs.h. */
  4010. _ACEOF
  4011. cat confdefs.h >>conftest.$ac_ext
  4012. @@ -21542,11 +22292,20 @@
  4013. _ACEOF
  4014. rm -f conftest.$ac_objext conftest$ac_exeext
  4015. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4016. - (eval $ac_link) 2>&5
  4017. + (eval $ac_link) 2>conftest.er1
  4018. ac_status=$?
  4019. + grep -v '^ *+' conftest.er1 >conftest.err
  4020. + rm -f conftest.er1
  4021. + cat conftest.err >&5
  4022. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4023. (exit $ac_status); } &&
  4024. - { ac_try='test -s conftest$ac_exeext'
  4025. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4026. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4027. + (eval $ac_try) 2>&5
  4028. + ac_status=$?
  4029. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4030. + (exit $ac_status); }; } &&
  4031. + { ac_try='test -s conftest$ac_exeext'
  4032. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4033. (eval $ac_try) 2>&5
  4034. ac_status=$?
  4035. @@ -21559,7 +22318,8 @@
  4036. ac_cv_lib_gen_getspnam=no
  4037. fi
  4038. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4039. +rm -f conftest.err conftest.$ac_objext \
  4040. + conftest$ac_exeext conftest.$ac_ext
  4041. LIBS=$ac_check_lib_save_LIBS
  4042. fi
  4043. echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
  4044. @@ -21592,7 +22352,6 @@
  4045. ac_check_lib_save_LIBS=$LIBS
  4046. LIBS="-lsec $LIBS"
  4047. cat >conftest.$ac_ext <<_ACEOF
  4048. -#line $LINENO "configure"
  4049. /* confdefs.h. */
  4050. _ACEOF
  4051. cat confdefs.h >>conftest.$ac_ext
  4052. @@ -21616,11 +22375,20 @@
  4053. _ACEOF
  4054. rm -f conftest.$ac_objext conftest$ac_exeext
  4055. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4056. - (eval $ac_link) 2>&5
  4057. + (eval $ac_link) 2>conftest.er1
  4058. ac_status=$?
  4059. + grep -v '^ *+' conftest.er1 >conftest.err
  4060. + rm -f conftest.er1
  4061. + cat conftest.err >&5
  4062. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4063. (exit $ac_status); } &&
  4064. - { ac_try='test -s conftest$ac_exeext'
  4065. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4066. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4067. + (eval $ac_try) 2>&5
  4068. + ac_status=$?
  4069. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4070. + (exit $ac_status); }; } &&
  4071. + { ac_try='test -s conftest$ac_exeext'
  4072. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4073. (eval $ac_try) 2>&5
  4074. ac_status=$?
  4075. @@ -21633,7 +22401,8 @@
  4076. ac_cv_lib_sec_getspnam=no
  4077. fi
  4078. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4079. +rm -f conftest.err conftest.$ac_objext \
  4080. + conftest$ac_exeext conftest.$ac_ext
  4081. LIBS=$ac_check_lib_save_LIBS
  4082. fi
  4083. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getspnam" >&5
  4084. @@ -21660,7 +22429,6 @@
  4085. ac_check_lib_save_LIBS=$LIBS
  4086. LIBS="-lc89 $LIBS"
  4087. cat >conftest.$ac_ext <<_ACEOF
  4088. -#line $LINENO "configure"
  4089. /* confdefs.h. */
  4090. _ACEOF
  4091. cat confdefs.h >>conftest.$ac_ext
  4092. @@ -21684,11 +22452,20 @@
  4093. _ACEOF
  4094. rm -f conftest.$ac_objext conftest$ac_exeext
  4095. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4096. - (eval $ac_link) 2>&5
  4097. + (eval $ac_link) 2>conftest.er1
  4098. ac_status=$?
  4099. + grep -v '^ *+' conftest.er1 >conftest.err
  4100. + rm -f conftest.er1
  4101. + cat conftest.err >&5
  4102. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4103. (exit $ac_status); } &&
  4104. - { ac_try='test -s conftest$ac_exeext'
  4105. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4106. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4107. + (eval $ac_try) 2>&5
  4108. + ac_status=$?
  4109. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4110. + (exit $ac_status); }; } &&
  4111. + { ac_try='test -s conftest$ac_exeext'
  4112. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4113. (eval $ac_try) 2>&5
  4114. ac_status=$?
  4115. @@ -21701,7 +22478,8 @@
  4116. ac_cv_lib_c89_strcasecmp=no
  4117. fi
  4118. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4119. +rm -f conftest.err conftest.$ac_objext \
  4120. + conftest$ac_exeext conftest.$ac_ext
  4121. LIBS=$ac_check_lib_save_LIBS
  4122. fi
  4123. echo "$as_me:$LINENO: result: $ac_cv_lib_c89_strcasecmp" >&5
  4124. @@ -21839,21 +22617,28 @@
  4125. echo $ECHO_N "(cached) $ECHO_C" >&6
  4126. else
  4127. cat >conftest.$ac_ext <<_ACEOF
  4128. -#line $LINENO "configure"
  4129. /* confdefs.h. */
  4130. _ACEOF
  4131. cat confdefs.h >>conftest.$ac_ext
  4132. cat >>conftest.$ac_ext <<_ACEOF
  4133. /* end confdefs.h. */
  4134. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  4135. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4136. +#define $ac_func innocuous_$ac_func
  4137. +
  4138. /* System header to define __stub macros and hopefully few prototypes,
  4139. which can conflict with char $ac_func (); below.
  4140. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4141. <limits.h> exists even on freestanding compilers. */
  4142. +
  4143. #ifdef __STDC__
  4144. # include <limits.h>
  4145. #else
  4146. # include <assert.h>
  4147. #endif
  4148. +
  4149. +#undef $ac_func
  4150. +
  4151. /* Override any gcc2 internal prototype to avoid an error. */
  4152. #ifdef __cplusplus
  4153. extern "C"
  4154. @@ -21884,11 +22669,20 @@
  4155. _ACEOF
  4156. rm -f conftest.$ac_objext conftest$ac_exeext
  4157. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4158. - (eval $ac_link) 2>&5
  4159. + (eval $ac_link) 2>conftest.er1
  4160. ac_status=$?
  4161. + grep -v '^ *+' conftest.er1 >conftest.err
  4162. + rm -f conftest.er1
  4163. + cat conftest.err >&5
  4164. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4165. (exit $ac_status); } &&
  4166. - { ac_try='test -s conftest$ac_exeext'
  4167. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4168. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4169. + (eval $ac_try) 2>&5
  4170. + ac_status=$?
  4171. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4172. + (exit $ac_status); }; } &&
  4173. + { ac_try='test -s conftest$ac_exeext'
  4174. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4175. (eval $ac_try) 2>&5
  4176. ac_status=$?
  4177. @@ -21901,7 +22695,8 @@
  4178. eval "$as_ac_var=no"
  4179. fi
  4180. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4181. +rm -f conftest.err conftest.$ac_objext \
  4182. + conftest$ac_exeext conftest.$ac_ext
  4183. fi
  4184. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  4185. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  4186. @@ -21919,7 +22714,6 @@
  4187. ac_check_lib_save_LIBS=$LIBS
  4188. LIBS="-lgen $LIBS"
  4189. cat >conftest.$ac_ext <<_ACEOF
  4190. -#line $LINENO "configure"
  4191. /* confdefs.h. */
  4192. _ACEOF
  4193. cat confdefs.h >>conftest.$ac_ext
  4194. @@ -21943,11 +22737,20 @@
  4195. _ACEOF
  4196. rm -f conftest.$ac_objext conftest$ac_exeext
  4197. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4198. - (eval $ac_link) 2>&5
  4199. + (eval $ac_link) 2>conftest.er1
  4200. ac_status=$?
  4201. + grep -v '^ *+' conftest.er1 >conftest.err
  4202. + rm -f conftest.er1
  4203. + cat conftest.err >&5
  4204. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4205. (exit $ac_status); } &&
  4206. - { ac_try='test -s conftest$ac_exeext'
  4207. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4208. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4209. + (eval $ac_try) 2>&5
  4210. + ac_status=$?
  4211. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4212. + (exit $ac_status); }; } &&
  4213. + { ac_try='test -s conftest$ac_exeext'
  4214. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4215. (eval $ac_try) 2>&5
  4216. ac_status=$?
  4217. @@ -21960,7 +22763,8 @@
  4218. ac_cv_lib_gen_getspnam=no
  4219. fi
  4220. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4221. +rm -f conftest.err conftest.$ac_objext \
  4222. + conftest$ac_exeext conftest.$ac_ext
  4223. LIBS=$ac_check_lib_save_LIBS
  4224. fi
  4225. echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
  4226. @@ -21983,21 +22787,28 @@
  4227. echo $ECHO_N "(cached) $ECHO_C" >&6
  4228. else
  4229. cat >conftest.$ac_ext <<_ACEOF
  4230. -#line $LINENO "configure"
  4231. /* confdefs.h. */
  4232. _ACEOF
  4233. cat confdefs.h >>conftest.$ac_ext
  4234. cat >>conftest.$ac_ext <<_ACEOF
  4235. /* end confdefs.h. */
  4236. +/* Define getprpwnam to an innocuous variant, in case <limits.h> declares getprpwnam.
  4237. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4238. +#define getprpwnam innocuous_getprpwnam
  4239. +
  4240. /* System header to define __stub macros and hopefully few prototypes,
  4241. which can conflict with char getprpwnam (); below.
  4242. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4243. <limits.h> exists even on freestanding compilers. */
  4244. +
  4245. #ifdef __STDC__
  4246. # include <limits.h>
  4247. #else
  4248. # include <assert.h>
  4249. #endif
  4250. +
  4251. +#undef getprpwnam
  4252. +
  4253. /* Override any gcc2 internal prototype to avoid an error. */
  4254. #ifdef __cplusplus
  4255. extern "C"
  4256. @@ -22028,11 +22839,20 @@
  4257. _ACEOF
  4258. rm -f conftest.$ac_objext conftest$ac_exeext
  4259. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4260. - (eval $ac_link) 2>&5
  4261. + (eval $ac_link) 2>conftest.er1
  4262. ac_status=$?
  4263. + grep -v '^ *+' conftest.er1 >conftest.err
  4264. + rm -f conftest.er1
  4265. + cat conftest.err >&5
  4266. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4267. (exit $ac_status); } &&
  4268. - { ac_try='test -s conftest$ac_exeext'
  4269. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4270. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4271. + (eval $ac_try) 2>&5
  4272. + ac_status=$?
  4273. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4274. + (exit $ac_status); }; } &&
  4275. + { ac_try='test -s conftest$ac_exeext'
  4276. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4277. (eval $ac_try) 2>&5
  4278. ac_status=$?
  4279. @@ -22045,7 +22865,8 @@
  4280. ac_cv_func_getprpwnam=no
  4281. fi
  4282. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4283. +rm -f conftest.err conftest.$ac_objext \
  4284. + conftest$ac_exeext conftest.$ac_ext
  4285. fi
  4286. echo "$as_me:$LINENO: result: $ac_cv_func_getprpwnam" >&5
  4287. echo "${ECHO_T}$ac_cv_func_getprpwnam" >&6
  4288. @@ -22061,7 +22882,6 @@
  4289. ac_check_lib_save_LIBS=$LIBS
  4290. LIBS="-lsec $LIBS"
  4291. cat >conftest.$ac_ext <<_ACEOF
  4292. -#line $LINENO "configure"
  4293. /* confdefs.h. */
  4294. _ACEOF
  4295. cat confdefs.h >>conftest.$ac_ext
  4296. @@ -22085,11 +22905,20 @@
  4297. _ACEOF
  4298. rm -f conftest.$ac_objext conftest$ac_exeext
  4299. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4300. - (eval $ac_link) 2>&5
  4301. + (eval $ac_link) 2>conftest.er1
  4302. ac_status=$?
  4303. + grep -v '^ *+' conftest.er1 >conftest.err
  4304. + rm -f conftest.er1
  4305. + cat conftest.err >&5
  4306. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4307. (exit $ac_status); } &&
  4308. - { ac_try='test -s conftest$ac_exeext'
  4309. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4310. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4311. + (eval $ac_try) 2>&5
  4312. + ac_status=$?
  4313. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4314. + (exit $ac_status); }; } &&
  4315. + { ac_try='test -s conftest$ac_exeext'
  4316. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4317. (eval $ac_try) 2>&5
  4318. ac_status=$?
  4319. @@ -22102,7 +22931,8 @@
  4320. ac_cv_lib_sec_getprpwnam=no
  4321. fi
  4322. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4323. +rm -f conftest.err conftest.$ac_objext \
  4324. + conftest$ac_exeext conftest.$ac_ext
  4325. LIBS=$ac_check_lib_save_LIBS
  4326. fi
  4327. echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5
  4328. @@ -22121,7 +22951,6 @@
  4329. ac_check_lib_save_LIBS=$LIBS
  4330. LIBS="-lsecurity $LIBS"
  4331. cat >conftest.$ac_ext <<_ACEOF
  4332. -#line $LINENO "configure"
  4333. /* confdefs.h. */
  4334. _ACEOF
  4335. cat confdefs.h >>conftest.$ac_ext
  4336. @@ -22145,11 +22974,20 @@
  4337. _ACEOF
  4338. rm -f conftest.$ac_objext conftest$ac_exeext
  4339. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4340. - (eval $ac_link) 2>&5
  4341. + (eval $ac_link) 2>conftest.er1
  4342. ac_status=$?
  4343. + grep -v '^ *+' conftest.er1 >conftest.err
  4344. + rm -f conftest.er1
  4345. + cat conftest.err >&5
  4346. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4347. (exit $ac_status); } &&
  4348. - { ac_try='test -s conftest$ac_exeext'
  4349. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4350. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4351. + (eval $ac_try) 2>&5
  4352. + ac_status=$?
  4353. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4354. + (exit $ac_status); }; } &&
  4355. + { ac_try='test -s conftest$ac_exeext'
  4356. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4357. (eval $ac_try) 2>&5
  4358. ac_status=$?
  4359. @@ -22162,7 +23000,8 @@
  4360. ac_cv_lib_security_getprpwnam=no
  4361. fi
  4362. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4363. +rm -f conftest.err conftest.$ac_objext \
  4364. + conftest$ac_exeext conftest.$ac_ext
  4365. LIBS=$ac_check_lib_save_LIBS
  4366. fi
  4367. echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5
  4368. @@ -22181,7 +23020,6 @@
  4369. ac_check_lib_save_LIBS=$LIBS
  4370. LIBS="-lprot $LIBS"
  4371. cat >conftest.$ac_ext <<_ACEOF
  4372. -#line $LINENO "configure"
  4373. /* confdefs.h. */
  4374. _ACEOF
  4375. cat confdefs.h >>conftest.$ac_ext
  4376. @@ -22205,11 +23043,20 @@
  4377. _ACEOF
  4378. rm -f conftest.$ac_objext conftest$ac_exeext
  4379. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4380. - (eval $ac_link) 2>&5
  4381. + (eval $ac_link) 2>conftest.er1
  4382. ac_status=$?
  4383. + grep -v '^ *+' conftest.er1 >conftest.err
  4384. + rm -f conftest.er1
  4385. + cat conftest.err >&5
  4386. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4387. (exit $ac_status); } &&
  4388. - { ac_try='test -s conftest$ac_exeext'
  4389. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4390. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4391. + (eval $ac_try) 2>&5
  4392. + ac_status=$?
  4393. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4394. + (exit $ac_status); }; } &&
  4395. + { ac_try='test -s conftest$ac_exeext'
  4396. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4397. (eval $ac_try) 2>&5
  4398. ac_status=$?
  4399. @@ -22222,7 +23069,8 @@
  4400. ac_cv_lib_prot_getprpwnam=no
  4401. fi
  4402. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4403. +rm -f conftest.err conftest.$ac_objext \
  4404. + conftest$ac_exeext conftest.$ac_ext
  4405. LIBS=$ac_check_lib_save_LIBS
  4406. fi
  4407. echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getprpwnam" >&5
  4408. @@ -22250,7 +23098,6 @@
  4409. else
  4410. ac_pattern="Autoconf.*'x'"
  4411. cat >conftest.$ac_ext <<_ACEOF
  4412. -#line $LINENO "configure"
  4413. /* confdefs.h. */
  4414. _ACEOF
  4415. cat confdefs.h >>conftest.$ac_ext
  4416. @@ -22270,7 +23117,6 @@
  4417. if test $ac_cv_prog_gcc_traditional = no; then
  4418. cat >conftest.$ac_ext <<_ACEOF
  4419. -#line $LINENO "configure"
  4420. /* confdefs.h. */
  4421. _ACEOF
  4422. cat confdefs.h >>conftest.$ac_ext
  4423. @@ -22300,7 +23146,6 @@
  4424. echo $ECHO_N "(cached) $ECHO_C" >&6
  4425. else
  4426. cat >conftest.$ac_ext <<_ACEOF
  4427. -#line $LINENO "configure"
  4428. /* confdefs.h. */
  4429. _ACEOF
  4430. cat confdefs.h >>conftest.$ac_ext
  4431. @@ -22363,11 +23208,20 @@
  4432. _ACEOF
  4433. rm -f conftest.$ac_objext
  4434. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4435. - (eval $ac_compile) 2>&5
  4436. + (eval $ac_compile) 2>conftest.er1
  4437. ac_status=$?
  4438. + grep -v '^ *+' conftest.er1 >conftest.err
  4439. + rm -f conftest.er1
  4440. + cat conftest.err >&5
  4441. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4442. (exit $ac_status); } &&
  4443. - { ac_try='test -s conftest.$ac_objext'
  4444. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4445. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4446. + (eval $ac_try) 2>&5
  4447. + ac_status=$?
  4448. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4449. + (exit $ac_status); }; } &&
  4450. + { ac_try='test -s conftest.$ac_objext'
  4451. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4452. (eval $ac_try) 2>&5
  4453. ac_status=$?
  4454. @@ -22380,7 +23234,7 @@
  4455. ac_cv_c_const=no
  4456. fi
  4457. -rm -f conftest.$ac_objext conftest.$ac_ext
  4458. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4459. fi
  4460. echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  4461. echo "${ECHO_T}$ac_cv_c_const" >&6
  4462. @@ -22398,7 +23252,6 @@
  4463. echo $ECHO_N "(cached) $ECHO_C" >&6
  4464. else
  4465. cat >conftest.$ac_ext <<_ACEOF
  4466. -#line $LINENO "configure"
  4467. /* confdefs.h. */
  4468. _ACEOF
  4469. cat confdefs.h >>conftest.$ac_ext
  4470. @@ -22417,11 +23270,20 @@
  4471. _ACEOF
  4472. rm -f conftest.$ac_objext
  4473. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4474. - (eval $ac_compile) 2>&5
  4475. + (eval $ac_compile) 2>conftest.er1
  4476. ac_status=$?
  4477. + grep -v '^ *+' conftest.er1 >conftest.err
  4478. + rm -f conftest.er1
  4479. + cat conftest.err >&5
  4480. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4481. (exit $ac_status); } &&
  4482. - { ac_try='test -s conftest.$ac_objext'
  4483. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4484. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4485. + (eval $ac_try) 2>&5
  4486. + ac_status=$?
  4487. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4488. + (exit $ac_status); }; } &&
  4489. + { ac_try='test -s conftest.$ac_objext'
  4490. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4491. (eval $ac_try) 2>&5
  4492. ac_status=$?
  4493. @@ -22434,7 +23296,7 @@
  4494. ac_cv_c_volatile=no
  4495. fi
  4496. -rm -f conftest.$ac_objext conftest.$ac_ext
  4497. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4498. fi
  4499. echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
  4500. echo "${ECHO_T}$ac_cv_c_volatile" >&6
  4501. @@ -22686,7 +23548,6 @@
  4502. echo $ECHO_N "(cached) $ECHO_C" >&6
  4503. else
  4504. cat >conftest.$ac_ext <<_ACEOF
  4505. -#line $LINENO "configure"
  4506. /* confdefs.h. */
  4507. _ACEOF
  4508. cat confdefs.h >>conftest.$ac_ext
  4509. @@ -22707,11 +23568,20 @@
  4510. _ACEOF
  4511. rm -f conftest.$ac_objext
  4512. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4513. - (eval $ac_compile) 2>&5
  4514. + (eval $ac_compile) 2>conftest.er1
  4515. ac_status=$?
  4516. + grep -v '^ *+' conftest.er1 >conftest.err
  4517. + rm -f conftest.er1
  4518. + cat conftest.err >&5
  4519. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4520. (exit $ac_status); } &&
  4521. - { ac_try='test -s conftest.$ac_objext'
  4522. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4523. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4524. + (eval $ac_try) 2>&5
  4525. + ac_status=$?
  4526. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4527. + (exit $ac_status); }; } &&
  4528. + { ac_try='test -s conftest.$ac_objext'
  4529. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4530. (eval $ac_try) 2>&5
  4531. ac_status=$?
  4532. @@ -22724,12 +23594,11 @@
  4533. ac_cv_header_stdc=no
  4534. fi
  4535. -rm -f conftest.$ac_objext conftest.$ac_ext
  4536. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4537. if test $ac_cv_header_stdc = yes; then
  4538. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4539. cat >conftest.$ac_ext <<_ACEOF
  4540. -#line $LINENO "configure"
  4541. /* confdefs.h. */
  4542. _ACEOF
  4543. cat confdefs.h >>conftest.$ac_ext
  4544. @@ -22751,7 +23620,6 @@
  4545. if test $ac_cv_header_stdc = yes; then
  4546. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4547. cat >conftest.$ac_ext <<_ACEOF
  4548. -#line $LINENO "configure"
  4549. /* confdefs.h. */
  4550. _ACEOF
  4551. cat confdefs.h >>conftest.$ac_ext
  4552. @@ -22776,7 +23644,6 @@
  4553. :
  4554. else
  4555. cat >conftest.$ac_ext <<_ACEOF
  4556. -#line $LINENO "configure"
  4557. /* confdefs.h. */
  4558. _ACEOF
  4559. cat confdefs.h >>conftest.$ac_ext
  4560. @@ -22788,9 +23655,9 @@
  4561. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4562. #else
  4563. # define ISLOWER(c) \
  4564. - (('a' <= (c) && (c) <= 'i') \
  4565. - || ('j' <= (c) && (c) <= 'r') \
  4566. - || ('s' <= (c) && (c) <= 'z'))
  4567. + (('a' <= (c) && (c) <= 'i') \
  4568. + || ('j' <= (c) && (c) <= 'r') \
  4569. + || ('s' <= (c) && (c) <= 'z'))
  4570. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4571. #endif
  4572. @@ -22801,7 +23668,7 @@
  4573. int i;
  4574. for (i = 0; i < 256; i++)
  4575. if (XOR (islower (i), ISLOWER (i))
  4576. - || toupper (i) != TOUPPER (i))
  4577. + || toupper (i) != TOUPPER (i))
  4578. exit(2);
  4579. exit (0);
  4580. }
  4581. @@ -22826,7 +23693,7 @@
  4582. ( exit $ac_status )
  4583. ac_cv_header_stdc=no
  4584. fi
  4585. -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4586. +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4587. fi
  4588. fi
  4589. fi
  4590. @@ -22854,7 +23721,6 @@
  4591. echo $ECHO_N "(cached) $ECHO_C" >&6
  4592. else
  4593. cat >conftest.$ac_ext <<_ACEOF
  4594. -#line $LINENO "configure"
  4595. /* confdefs.h. */
  4596. _ACEOF
  4597. cat confdefs.h >>conftest.$ac_ext
  4598. @@ -22874,11 +23740,20 @@
  4599. _ACEOF
  4600. rm -f conftest.$ac_objext
  4601. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4602. - (eval $ac_compile) 2>&5
  4603. + (eval $ac_compile) 2>conftest.er1
  4604. ac_status=$?
  4605. + grep -v '^ *+' conftest.er1 >conftest.err
  4606. + rm -f conftest.er1
  4607. + cat conftest.err >&5
  4608. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4609. (exit $ac_status); } &&
  4610. - { ac_try='test -s conftest.$ac_objext'
  4611. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4612. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4613. + (eval $ac_try) 2>&5
  4614. + ac_status=$?
  4615. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4616. + (exit $ac_status); }; } &&
  4617. + { ac_try='test -s conftest.$ac_objext'
  4618. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4619. (eval $ac_try) 2>&5
  4620. ac_status=$?
  4621. @@ -22891,7 +23766,7 @@
  4622. eval "$as_ac_Header=no"
  4623. fi
  4624. -rm -f conftest.$ac_objext conftest.$ac_ext
  4625. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4626. fi
  4627. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4628. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4629. @@ -22914,7 +23789,6 @@
  4630. ac_func_search_save_LIBS=$LIBS
  4631. ac_cv_search_opendir=no
  4632. cat >conftest.$ac_ext <<_ACEOF
  4633. -#line $LINENO "configure"
  4634. /* confdefs.h. */
  4635. _ACEOF
  4636. cat confdefs.h >>conftest.$ac_ext
  4637. @@ -22938,11 +23812,20 @@
  4638. _ACEOF
  4639. rm -f conftest.$ac_objext conftest$ac_exeext
  4640. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4641. - (eval $ac_link) 2>&5
  4642. + (eval $ac_link) 2>conftest.er1
  4643. ac_status=$?
  4644. + grep -v '^ *+' conftest.er1 >conftest.err
  4645. + rm -f conftest.er1
  4646. + cat conftest.err >&5
  4647. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4648. (exit $ac_status); } &&
  4649. - { ac_try='test -s conftest$ac_exeext'
  4650. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4651. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4652. + (eval $ac_try) 2>&5
  4653. + ac_status=$?
  4654. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4655. + (exit $ac_status); }; } &&
  4656. + { ac_try='test -s conftest$ac_exeext'
  4657. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4658. (eval $ac_try) 2>&5
  4659. ac_status=$?
  4660. @@ -22954,12 +23837,12 @@
  4661. sed 's/^/| /' conftest.$ac_ext >&5
  4662. fi
  4663. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4664. +rm -f conftest.err conftest.$ac_objext \
  4665. + conftest$ac_exeext conftest.$ac_ext
  4666. if test "$ac_cv_search_opendir" = no; then
  4667. for ac_lib in dir; do
  4668. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  4669. cat >conftest.$ac_ext <<_ACEOF
  4670. -#line $LINENO "configure"
  4671. /* confdefs.h. */
  4672. _ACEOF
  4673. cat confdefs.h >>conftest.$ac_ext
  4674. @@ -22983,11 +23866,20 @@
  4675. _ACEOF
  4676. rm -f conftest.$ac_objext conftest$ac_exeext
  4677. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4678. - (eval $ac_link) 2>&5
  4679. + (eval $ac_link) 2>conftest.er1
  4680. ac_status=$?
  4681. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4682. + grep -v '^ *+' conftest.er1 >conftest.err
  4683. + rm -f conftest.er1
  4684. + cat conftest.err >&5
  4685. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4686. (exit $ac_status); } &&
  4687. - { ac_try='test -s conftest$ac_exeext'
  4688. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4689. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4690. + (eval $ac_try) 2>&5
  4691. + ac_status=$?
  4692. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4693. + (exit $ac_status); }; } &&
  4694. + { ac_try='test -s conftest$ac_exeext'
  4695. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4696. (eval $ac_try) 2>&5
  4697. ac_status=$?
  4698. @@ -23000,7 +23892,8 @@
  4699. sed 's/^/| /' conftest.$ac_ext >&5
  4700. fi
  4701. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4702. +rm -f conftest.err conftest.$ac_objext \
  4703. + conftest$ac_exeext conftest.$ac_ext
  4704. done
  4705. fi
  4706. LIBS=$ac_func_search_save_LIBS
  4707. @@ -23021,7 +23914,6 @@
  4708. ac_func_search_save_LIBS=$LIBS
  4709. ac_cv_search_opendir=no
  4710. cat >conftest.$ac_ext <<_ACEOF
  4711. -#line $LINENO "configure"
  4712. /* confdefs.h. */
  4713. _ACEOF
  4714. cat confdefs.h >>conftest.$ac_ext
  4715. @@ -23045,11 +23937,20 @@
  4716. _ACEOF
  4717. rm -f conftest.$ac_objext conftest$ac_exeext
  4718. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4719. - (eval $ac_link) 2>&5
  4720. + (eval $ac_link) 2>conftest.er1
  4721. ac_status=$?
  4722. + grep -v '^ *+' conftest.er1 >conftest.err
  4723. + rm -f conftest.er1
  4724. + cat conftest.err >&5
  4725. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4726. (exit $ac_status); } &&
  4727. - { ac_try='test -s conftest$ac_exeext'
  4728. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4729. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4730. + (eval $ac_try) 2>&5
  4731. + ac_status=$?
  4732. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4733. + (exit $ac_status); }; } &&
  4734. + { ac_try='test -s conftest$ac_exeext'
  4735. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4736. (eval $ac_try) 2>&5
  4737. ac_status=$?
  4738. @@ -23061,12 +23962,12 @@
  4739. sed 's/^/| /' conftest.$ac_ext >&5
  4740. fi
  4741. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4742. +rm -f conftest.err conftest.$ac_objext \
  4743. + conftest$ac_exeext conftest.$ac_ext
  4744. if test "$ac_cv_search_opendir" = no; then
  4745. for ac_lib in x; do
  4746. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  4747. cat >conftest.$ac_ext <<_ACEOF
  4748. -#line $LINENO "configure"
  4749. /* confdefs.h. */
  4750. _ACEOF
  4751. cat confdefs.h >>conftest.$ac_ext
  4752. @@ -23090,11 +23991,20 @@
  4753. _ACEOF
  4754. rm -f conftest.$ac_objext conftest$ac_exeext
  4755. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4756. - (eval $ac_link) 2>&5
  4757. + (eval $ac_link) 2>conftest.er1
  4758. ac_status=$?
  4759. + grep -v '^ *+' conftest.er1 >conftest.err
  4760. + rm -f conftest.er1
  4761. + cat conftest.err >&5
  4762. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4763. (exit $ac_status); } &&
  4764. - { ac_try='test -s conftest$ac_exeext'
  4765. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4766. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4767. + (eval $ac_try) 2>&5
  4768. + ac_status=$?
  4769. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4770. + (exit $ac_status); }; } &&
  4771. + { ac_try='test -s conftest$ac_exeext'
  4772. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4773. (eval $ac_try) 2>&5
  4774. ac_status=$?
  4775. @@ -23107,7 +24017,8 @@
  4776. sed 's/^/| /' conftest.$ac_ext >&5
  4777. fi
  4778. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4779. +rm -f conftest.err conftest.$ac_objext \
  4780. + conftest$ac_exeext conftest.$ac_ext
  4781. done
  4782. fi
  4783. LIBS=$ac_func_search_save_LIBS
  4784. @@ -23144,7 +24055,6 @@
  4785. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4786. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4787. cat >conftest.$ac_ext <<_ACEOF
  4788. -#line $LINENO "configure"
  4789. /* confdefs.h. */
  4790. _ACEOF
  4791. cat confdefs.h >>conftest.$ac_ext
  4792. @@ -23155,11 +24065,20 @@
  4793. _ACEOF
  4794. rm -f conftest.$ac_objext
  4795. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4796. - (eval $ac_compile) 2>&5
  4797. + (eval $ac_compile) 2>conftest.er1
  4798. ac_status=$?
  4799. + grep -v '^ *+' conftest.er1 >conftest.err
  4800. + rm -f conftest.er1
  4801. + cat conftest.err >&5
  4802. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4803. (exit $ac_status); } &&
  4804. - { ac_try='test -s conftest.$ac_objext'
  4805. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4806. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4807. + (eval $ac_try) 2>&5
  4808. + ac_status=$?
  4809. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4810. + (exit $ac_status); }; } &&
  4811. + { ac_try='test -s conftest.$ac_objext'
  4812. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4813. (eval $ac_try) 2>&5
  4814. ac_status=$?
  4815. @@ -23172,7 +24091,7 @@
  4816. ac_header_compiler=no
  4817. fi
  4818. -rm -f conftest.$ac_objext conftest.$ac_ext
  4819. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4820. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4821. echo "${ECHO_T}$ac_header_compiler" >&6
  4822. @@ -23180,7 +24099,6 @@
  4823. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4824. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4825. cat >conftest.$ac_ext <<_ACEOF
  4826. -#line $LINENO "configure"
  4827. /* confdefs.h. */
  4828. _ACEOF
  4829. cat confdefs.h >>conftest.$ac_ext
  4830. @@ -23198,6 +24116,7 @@
  4831. (exit $ac_status); } >/dev/null; then
  4832. if test -s conftest.err; then
  4833. ac_cpp_err=$ac_c_preproc_warn_flag
  4834. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4835. else
  4836. ac_cpp_err=
  4837. fi
  4838. @@ -23217,33 +24136,32 @@
  4839. echo "${ECHO_T}$ac_header_preproc" >&6
  4840. # So? What about this header?
  4841. -case $ac_header_compiler:$ac_header_preproc in
  4842. - yes:no )
  4843. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4844. + yes:no: )
  4845. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4846. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4847. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4848. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4849. - (
  4850. - cat <<\_ASBOX
  4851. -## ------------------------------------ ##
  4852. -## Report this to bug-autoconf@gnu.org. ##
  4853. -## ------------------------------------ ##
  4854. -_ASBOX
  4855. - ) |
  4856. - sed "s/^/$as_me: WARNING: /" >&2
  4857. + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  4858. +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  4859. + ac_header_preproc=yes
  4860. ;;
  4861. - no:yes )
  4862. + no:yes:* )
  4863. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4864. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4865. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  4866. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  4867. + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  4868. +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  4869. + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  4870. +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  4871. + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  4872. +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  4873. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4874. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4875. + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4876. +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4877. (
  4878. cat <<\_ASBOX
  4879. -## ------------------------------------ ##
  4880. -## Report this to bug-autoconf@gnu.org. ##
  4881. -## ------------------------------------ ##
  4882. +## ------------------------------- ##
  4883. +## Report this to the sudo lists. ##
  4884. +## ------------------------------- ##
  4885. _ASBOX
  4886. ) |
  4887. sed "s/^/$as_me: WARNING: /" >&2
  4888. @@ -23254,7 +24172,7 @@
  4889. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4890. echo $ECHO_N "(cached) $ECHO_C" >&6
  4891. else
  4892. - eval "$as_ac_Header=$ac_header_preproc"
  4893. + eval "$as_ac_Header=\$ac_header_preproc"
  4894. fi
  4895. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4896. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4897. @@ -23286,7 +24204,6 @@
  4898. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4899. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4900. cat >conftest.$ac_ext <<_ACEOF
  4901. -#line $LINENO "configure"
  4902. /* confdefs.h. */
  4903. _ACEOF
  4904. cat confdefs.h >>conftest.$ac_ext
  4905. @@ -23297,11 +24214,20 @@
  4906. _ACEOF
  4907. rm -f conftest.$ac_objext
  4908. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4909. - (eval $ac_compile) 2>&5
  4910. + (eval $ac_compile) 2>conftest.er1
  4911. ac_status=$?
  4912. + grep -v '^ *+' conftest.er1 >conftest.err
  4913. + rm -f conftest.er1
  4914. + cat conftest.err >&5
  4915. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4916. (exit $ac_status); } &&
  4917. - { ac_try='test -s conftest.$ac_objext'
  4918. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4919. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4920. + (eval $ac_try) 2>&5
  4921. + ac_status=$?
  4922. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4923. + (exit $ac_status); }; } &&
  4924. + { ac_try='test -s conftest.$ac_objext'
  4925. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4926. (eval $ac_try) 2>&5
  4927. ac_status=$?
  4928. @@ -23314,7 +24240,7 @@
  4929. ac_header_compiler=no
  4930. fi
  4931. -rm -f conftest.$ac_objext conftest.$ac_ext
  4932. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4933. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4934. echo "${ECHO_T}$ac_header_compiler" >&6
  4935. @@ -23322,7 +24248,6 @@
  4936. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4937. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4938. cat >conftest.$ac_ext <<_ACEOF
  4939. -#line $LINENO "configure"
  4940. /* confdefs.h. */
  4941. _ACEOF
  4942. cat confdefs.h >>conftest.$ac_ext
  4943. @@ -23340,6 +24265,7 @@
  4944. (exit $ac_status); } >/dev/null; then
  4945. if test -s conftest.err; then
  4946. ac_cpp_err=$ac_c_preproc_warn_flag
  4947. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4948. else
  4949. ac_cpp_err=
  4950. fi
  4951. @@ -23359,33 +24285,32 @@
  4952. echo "${ECHO_T}$ac_header_preproc" >&6
  4953. # So? What about this header?
  4954. -case $ac_header_compiler:$ac_header_preproc in
  4955. - yes:no )
  4956. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4957. + yes:no: )
  4958. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4959. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4960. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4961. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4962. - (
  4963. - cat <<\_ASBOX
  4964. -## ------------------------------------ ##
  4965. -## Report this to bug-autoconf@gnu.org. ##
  4966. -## ------------------------------------ ##
  4967. -_ASBOX
  4968. - ) |
  4969. - sed "s/^/$as_me: WARNING: /" >&2
  4970. + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  4971. +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  4972. + ac_header_preproc=yes
  4973. ;;
  4974. - no:yes )
  4975. + no:yes:* )
  4976. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4977. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4978. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  4979. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  4980. + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  4981. +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  4982. + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  4983. +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  4984. + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  4985. +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  4986. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4987. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4988. + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4989. +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4990. (
  4991. cat <<\_ASBOX
  4992. -## ------------------------------------ ##
  4993. -## Report this to bug-autoconf@gnu.org. ##
  4994. -## ------------------------------------ ##
  4995. +## ------------------------------- ##
  4996. +## Report this to the sudo lists. ##
  4997. +## ------------------------------- ##
  4998. _ASBOX
  4999. ) |
  5000. sed "s/^/$as_me: WARNING: /" >&2
  5001. @@ -23396,7 +24321,7 @@
  5002. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5003. echo $ECHO_N "(cached) $ECHO_C" >&6
  5004. else
  5005. - eval "$as_ac_Header=$ac_header_preproc"
  5006. + eval "$as_ac_Header=\$ac_header_preproc"
  5007. fi
  5008. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5009. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5010. @@ -23408,7 +24333,14 @@
  5011. _ACEOF
  5012. else
  5013. - LIBOBJS="$LIBOBJS err.$ac_objext"
  5014. + case $LIBOBJS in
  5015. + "err.$ac_objext" | \
  5016. + *" err.$ac_objext" | \
  5017. + "err.$ac_objext "* | \
  5018. + *" err.$ac_objext "* ) ;;
  5019. + *) LIBOBJS="$LIBOBJS err.$ac_objext" ;;
  5020. +esac
  5021. +
  5022. fi
  5023. done
  5024. @@ -23420,7 +24352,6 @@
  5025. echo $ECHO_N "(cached) $ECHO_C" >&6
  5026. else
  5027. cat >conftest.$ac_ext <<_ACEOF
  5028. -#line $LINENO "configure"
  5029. /* confdefs.h. */
  5030. _ACEOF
  5031. cat confdefs.h >>conftest.$ac_ext
  5032. @@ -23441,11 +24372,20 @@
  5033. _ACEOF
  5034. rm -f conftest.$ac_objext conftest$ac_exeext
  5035. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5036. - (eval $ac_link) 2>&5
  5037. + (eval $ac_link) 2>conftest.er1
  5038. ac_status=$?
  5039. + grep -v '^ *+' conftest.er1 >conftest.err
  5040. + rm -f conftest.er1
  5041. + cat conftest.err >&5
  5042. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5043. (exit $ac_status); } &&
  5044. - { ac_try='test -s conftest$ac_exeext'
  5045. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5046. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5047. + (eval $ac_try) 2>&5
  5048. + ac_status=$?
  5049. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5050. + (exit $ac_status); }; } &&
  5051. + { ac_try='test -s conftest$ac_exeext'
  5052. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5053. (eval $ac_try) 2>&5
  5054. ac_status=$?
  5055. @@ -23458,7 +24398,8 @@
  5056. ac_cv_sys_posix_termios=no
  5057. fi
  5058. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  5059. +rm -f conftest.err conftest.$ac_objext \
  5060. + conftest$ac_exeext conftest.$ac_ext
  5061. fi
  5062. echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
  5063. echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
  5064. @@ -23486,7 +24427,6 @@
  5065. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5066. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5067. cat >conftest.$ac_ext <<_ACEOF
  5068. -#line $LINENO "configure"
  5069. /* confdefs.h. */
  5070. _ACEOF
  5071. cat confdefs.h >>conftest.$ac_ext
  5072. @@ -23497,11 +24437,20 @@
  5073. _ACEOF
  5074. rm -f conftest.$ac_objext
  5075. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5076. - (eval $ac_compile) 2>&5
  5077. + (eval $ac_compile) 2>conftest.er1
  5078. ac_status=$?
  5079. + grep -v '^ *+' conftest.er1 >conftest.err
  5080. + rm -f conftest.er1
  5081. + cat conftest.err >&5
  5082. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5083. (exit $ac_status); } &&
  5084. - { ac_try='test -s conftest.$ac_objext'
  5085. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5086. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5087. + (eval $ac_try) 2>&5
  5088. + ac_status=$?
  5089. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5090. + (exit $ac_status); }; } &&
  5091. + { ac_try='test -s conftest.$ac_objext'
  5092. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5093. (eval $ac_try) 2>&5
  5094. ac_status=$?
  5095. @@ -23514,7 +24463,7 @@
  5096. ac_header_compiler=no
  5097. fi
  5098. -rm -f conftest.$ac_objext conftest.$ac_ext
  5099. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5100. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5101. echo "${ECHO_T}$ac_header_compiler" >&6
  5102. @@ -23522,7 +24471,6 @@
  5103. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5104. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  5105. cat >conftest.$ac_ext <<_ACEOF
  5106. -#line $LINENO "configure"
  5107. /* confdefs.h. */
  5108. _ACEOF
  5109. cat confdefs.h >>conftest.$ac_ext
  5110. @@ -23540,6 +24488,7 @@
  5111. (exit $ac_status); } >/dev/null; then
  5112. if test -s conftest.err; then
  5113. ac_cpp_err=$ac_c_preproc_warn_flag
  5114. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5115. else
  5116. ac_cpp_err=
  5117. fi
  5118. @@ -23559,33 +24508,32 @@
  5119. echo "${ECHO_T}$ac_header_preproc" >&6
  5120. # So? What about this header?
  5121. -case $ac_header_compiler:$ac_header_preproc in
  5122. - yes:no )
  5123. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5124. + yes:no: )
  5125. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  5126. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5127. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  5128. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5129. - (
  5130. - cat <<\_ASBOX
  5131. -## ------------------------------------ ##
  5132. -## Report this to bug-autoconf@gnu.org. ##
  5133. -## ------------------------------------ ##
  5134. -_ASBOX
  5135. - ) |
  5136. - sed "s/^/$as_me: WARNING: /" >&2
  5137. + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  5138. +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  5139. + ac_header_preproc=yes
  5140. ;;
  5141. - no:yes )
  5142. + no:yes:* )
  5143. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  5144. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  5145. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  5146. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  5147. + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  5148. +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  5149. + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  5150. +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  5151. + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  5152. +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  5153. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  5154. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5155. + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5156. +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5157. (
  5158. cat <<\_ASBOX
  5159. -## ------------------------------------ ##
  5160. -## Report this to bug-autoconf@gnu.org. ##
  5161. -## ------------------------------------ ##
  5162. +## ------------------------------- ##
  5163. +## Report this to the sudo lists. ##
  5164. +## ------------------------------- ##
  5165. _ASBOX
  5166. ) |
  5167. sed "s/^/$as_me: WARNING: /" >&2
  5168. @@ -23596,7 +24544,7 @@
  5169. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5170. echo $ECHO_N "(cached) $ECHO_C" >&6
  5171. else
  5172. - eval "$as_ac_Header=$ac_header_preproc"
  5173. + eval "$as_ac_Header=\$ac_header_preproc"
  5174. fi
  5175. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5176. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5177. @@ -23631,7 +24579,6 @@
  5178. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5179. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5180. cat >conftest.$ac_ext <<_ACEOF
  5181. -#line $LINENO "configure"
  5182. /* confdefs.h. */
  5183. _ACEOF
  5184. cat confdefs.h >>conftest.$ac_ext
  5185. @@ -23642,11 +24589,20 @@
  5186. _ACEOF
  5187. rm -f conftest.$ac_objext
  5188. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5189. - (eval $ac_compile) 2>&5
  5190. + (eval $ac_compile) 2>conftest.er1
  5191. ac_status=$?
  5192. + grep -v '^ *+' conftest.er1 >conftest.err
  5193. + rm -f conftest.er1
  5194. + cat conftest.err >&5
  5195. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5196. (exit $ac_status); } &&
  5197. - { ac_try='test -s conftest.$ac_objext'
  5198. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5199. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5200. + (eval $ac_try) 2>&5
  5201. + ac_status=$?
  5202. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5203. + (exit $ac_status); }; } &&
  5204. + { ac_try='test -s conftest.$ac_objext'
  5205. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5206. (eval $ac_try) 2>&5
  5207. ac_status=$?
  5208. @@ -23659,7 +24615,7 @@
  5209. ac_header_compiler=no
  5210. fi
  5211. -rm -f conftest.$ac_objext conftest.$ac_ext
  5212. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5213. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5214. echo "${ECHO_T}$ac_header_compiler" >&6
  5215. @@ -23667,7 +24623,6 @@
  5216. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5217. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  5218. cat >conftest.$ac_ext <<_ACEOF
  5219. -#line $LINENO "configure"
  5220. /* confdefs.h. */
  5221. _ACEOF
  5222. cat confdefs.h >>conftest.$ac_ext
  5223. @@ -23685,6 +24640,7 @@
  5224. (exit $ac_status); } >/dev/null; then
  5225. if test -s conftest.err; then
  5226. ac_cpp_err=$ac_c_preproc_warn_flag
  5227. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5228. else
  5229. ac_cpp_err=
  5230. fi
  5231. @@ -23704,33 +24660,32 @@
  5232. echo "${ECHO_T}$ac_header_preproc" >&6
  5233. # So? What about this header?
  5234. -case $ac_header_compiler:$ac_header_preproc in
  5235. - yes:no )
  5236. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5237. + yes:no: )
  5238. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  5239. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5240. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  5241. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5242. - (
  5243. - cat <<\_ASBOX
  5244. -## ------------------------------------ ##
  5245. -## Report this to bug-autoconf@gnu.org. ##
  5246. -## ------------------------------------ ##
  5247. -_ASBOX
  5248. - ) |
  5249. - sed "s/^/$as_me: WARNING: /" >&2
  5250. + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  5251. +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  5252. + ac_header_preproc=yes
  5253. ;;
  5254. - no:yes )
  5255. + no:yes:* )
  5256. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  5257. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  5258. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  5259. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  5260. + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  5261. +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  5262. + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  5263. +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  5264. + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  5265. +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  5266. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  5267. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5268. + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5269. +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5270. (
  5271. cat <<\_ASBOX
  5272. -## ------------------------------------ ##
  5273. -## Report this to bug-autoconf@gnu.org. ##
  5274. -## ------------------------------------ ##
  5275. +## ------------------------------- ##
  5276. +## Report this to the sudo lists. ##
  5277. +## ------------------------------- ##
  5278. _ASBOX
  5279. ) |
  5280. sed "s/^/$as_me: WARNING: /" >&2
  5281. @@ -23741,7 +24696,7 @@
  5282. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5283. echo $ECHO_N "(cached) $ECHO_C" >&6
  5284. else
  5285. - eval "$as_ac_Header=$ac_header_preproc"
  5286. + eval "$as_ac_Header=\$ac_header_preproc"
  5287. fi
  5288. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5289. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5290. @@ -23771,7 +24726,6 @@
  5291. echo "$as_me:$LINENO: checking bsd_auth.h usability" >&5
  5292. echo $ECHO_N "checking bsd_auth.h usability... $ECHO_C" >&6
  5293. cat >conftest.$ac_ext <<_ACEOF
  5294. -#line $LINENO "configure"
  5295. /* confdefs.h. */
  5296. _ACEOF
  5297. cat confdefs.h >>conftest.$ac_ext
  5298. @@ -23782,11 +24736,20 @@
  5299. _ACEOF
  5300. rm -f conftest.$ac_objext
  5301. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5302. - (eval $ac_compile) 2>&5
  5303. + (eval $ac_compile) 2>conftest.er1
  5304. ac_status=$?
  5305. + grep -v '^ *+' conftest.er1 >conftest.err
  5306. + rm -f conftest.er1
  5307. + cat conftest.err >&5
  5308. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5309. (exit $ac_status); } &&
  5310. - { ac_try='test -s conftest.$ac_objext'
  5311. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5312. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5313. + (eval $ac_try) 2>&5
  5314. + ac_status=$?
  5315. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5316. + (exit $ac_status); }; } &&
  5317. + { ac_try='test -s conftest.$ac_objext'
  5318. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5319. (eval $ac_try) 2>&5
  5320. ac_status=$?
  5321. @@ -23799,7 +24762,7 @@
  5322. ac_header_compiler=no
  5323. fi
  5324. -rm -f conftest.$ac_objext conftest.$ac_ext
  5325. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5326. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5327. echo "${ECHO_T}$ac_header_compiler" >&6
  5328. @@ -23807,7 +24770,6 @@
  5329. echo "$as_me:$LINENO: checking bsd_auth.h presence" >&5
  5330. echo $ECHO_N "checking bsd_auth.h presence... $ECHO_C" >&6
  5331. cat >conftest.$ac_ext <<_ACEOF
  5332. -#line $LINENO "configure"
  5333. /* confdefs.h. */
  5334. _ACEOF
  5335. cat confdefs.h >>conftest.$ac_ext
  5336. @@ -23825,6 +24787,7 @@
  5337. (exit $ac_status); } >/dev/null; then
  5338. if test -s conftest.err; then
  5339. ac_cpp_err=$ac_c_preproc_warn_flag
  5340. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5341. else
  5342. ac_cpp_err=
  5343. fi
  5344. @@ -23844,33 +24807,32 @@
  5345. echo "${ECHO_T}$ac_header_preproc" >&6
  5346. # So? What about this header?
  5347. -case $ac_header_compiler:$ac_header_preproc in
  5348. - yes:no )
  5349. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5350. + yes:no: )
  5351. { echo "$as_me:$LINENO: WARNING: bsd_auth.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5352. echo "$as_me: WARNING: bsd_auth.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5353. - { echo "$as_me:$LINENO: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&5
  5354. -echo "$as_me: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&2;}
  5355. - (
  5356. - cat <<\_ASBOX
  5357. -## ------------------------------------ ##
  5358. -## Report this to bug-autoconf@gnu.org. ##
  5359. -## ------------------------------------ ##
  5360. -_ASBOX
  5361. - ) |
  5362. - sed "s/^/$as_me: WARNING: /" >&2
  5363. + { echo "$as_me:$LINENO: WARNING: bsd_auth.h: proceeding with the compiler's result" >&5
  5364. +echo "$as_me: WARNING: bsd_auth.h: proceeding with the compiler's result" >&2;}
  5365. + ac_header_preproc=yes
  5366. ;;
  5367. - no:yes )
  5368. + no:yes:* )
  5369. { echo "$as_me:$LINENO: WARNING: bsd_auth.h: present but cannot be compiled" >&5
  5370. echo "$as_me: WARNING: bsd_auth.h: present but cannot be compiled" >&2;}
  5371. - { echo "$as_me:$LINENO: WARNING: bsd_auth.h: check for missing prerequisite headers?" >&5
  5372. -echo "$as_me: WARNING: bsd_auth.h: check for missing prerequisite headers?" >&2;}
  5373. + { echo "$as_me:$LINENO: WARNING: bsd_auth.h: check for missing prerequisite headers?" >&5
  5374. +echo "$as_me: WARNING: bsd_auth.h: check for missing prerequisite headers?" >&2;}
  5375. + { echo "$as_me:$LINENO: WARNING: bsd_auth.h: see the Autoconf documentation" >&5
  5376. +echo "$as_me: WARNING: bsd_auth.h: see the Autoconf documentation" >&2;}
  5377. + { echo "$as_me:$LINENO: WARNING: bsd_auth.h: section \"Present But Cannot Be Compiled\"" >&5
  5378. +echo "$as_me: WARNING: bsd_auth.h: section \"Present But Cannot Be Compiled\"" >&2;}
  5379. { echo "$as_me:$LINENO: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&5
  5380. echo "$as_me: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&2;}
  5381. + { echo "$as_me:$LINENO: WARNING: bsd_auth.h: in the future, the compiler will take precedence" >&5
  5382. +echo "$as_me: WARNING: bsd_auth.h: in the future, the compiler will take precedence" >&2;}
  5383. (
  5384. cat <<\_ASBOX
  5385. -## ------------------------------------ ##
  5386. -## Report this to bug-autoconf@gnu.org. ##
  5387. -## ------------------------------------ ##
  5388. +## ------------------------------- ##
  5389. +## Report this to the sudo lists. ##
  5390. +## ------------------------------- ##
  5391. _ASBOX
  5392. ) |
  5393. sed "s/^/$as_me: WARNING: /" >&2
  5394. @@ -23904,7 +24866,6 @@
  5395. echo $ECHO_N "(cached) $ECHO_C" >&6
  5396. else
  5397. cat >conftest.$ac_ext <<_ACEOF
  5398. -#line $LINENO "configure"
  5399. /* confdefs.h. */
  5400. _ACEOF
  5401. cat confdefs.h >>conftest.$ac_ext
  5402. @@ -23924,11 +24885,20 @@
  5403. _ACEOF
  5404. rm -f conftest.$ac_objext
  5405. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5406. - (eval $ac_compile) 2>&5
  5407. + (eval $ac_compile) 2>conftest.er1
  5408. ac_status=$?
  5409. + grep -v '^ *+' conftest.er1 >conftest.err
  5410. + rm -f conftest.er1
  5411. + cat conftest.err >&5
  5412. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5413. (exit $ac_status); } &&
  5414. - { ac_try='test -s conftest.$ac_objext'
  5415. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5416. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5417. + (eval $ac_try) 2>&5
  5418. + ac_status=$?
  5419. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5420. + (exit $ac_status); }; } &&
  5421. + { ac_try='test -s conftest.$ac_objext'
  5422. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5423. (eval $ac_try) 2>&5
  5424. ac_status=$?
  5425. @@ -23941,7 +24911,7 @@
  5426. ac_cv_type_mode_t=no
  5427. fi
  5428. -rm -f conftest.$ac_objext conftest.$ac_ext
  5429. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5430. fi
  5431. echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  5432. echo "${ECHO_T}$ac_cv_type_mode_t" >&6
  5433. @@ -23961,7 +24931,6 @@
  5434. echo $ECHO_N "(cached) $ECHO_C" >&6
  5435. else
  5436. cat >conftest.$ac_ext <<_ACEOF
  5437. -#line $LINENO "configure"
  5438. /* confdefs.h. */
  5439. _ACEOF
  5440. cat confdefs.h >>conftest.$ac_ext
  5441. @@ -24000,7 +24969,6 @@
  5442. echo $ECHO_N "(cached) $ECHO_C" >&6
  5443. else
  5444. cat >conftest.$ac_ext <<_ACEOF
  5445. -#line $LINENO "configure"
  5446. /* confdefs.h. */
  5447. _ACEOF
  5448. cat confdefs.h >>conftest.$ac_ext
  5449. @@ -24022,11 +24990,20 @@
  5450. _ACEOF
  5451. rm -f conftest.$ac_objext
  5452. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5453. - (eval $ac_compile) 2>&5
  5454. + (eval $ac_compile) 2>conftest.er1
  5455. ac_status=$?
  5456. + grep -v '^ *+' conftest.er1 >conftest.err
  5457. + rm -f conftest.er1
  5458. + cat conftest.err >&5
  5459. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5460. (exit $ac_status); } &&
  5461. - { ac_try='test -s conftest.$ac_objext'
  5462. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5463. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5464. + (eval $ac_try) 2>&5
  5465. + ac_status=$?
  5466. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5467. + (exit $ac_status); }; } &&
  5468. + { ac_try='test -s conftest.$ac_objext'
  5469. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5470. (eval $ac_try) 2>&5
  5471. ac_status=$?
  5472. @@ -24039,7 +25016,7 @@
  5473. ac_cv_type_sig_atomic_t=no
  5474. fi
  5475. -rm -f conftest.$ac_objext conftest.$ac_ext
  5476. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5477. fi
  5478. echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
  5479. echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
  5480. @@ -24063,7 +25040,6 @@
  5481. echo $ECHO_N "(cached) $ECHO_C" >&6
  5482. else
  5483. cat >conftest.$ac_ext <<_ACEOF
  5484. -#line $LINENO "configure"
  5485. /* confdefs.h. */
  5486. _ACEOF
  5487. cat confdefs.h >>conftest.$ac_ext
  5488. @@ -24085,11 +25061,20 @@
  5489. _ACEOF
  5490. rm -f conftest.$ac_objext
  5491. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5492. - (eval $ac_compile) 2>&5
  5493. + (eval $ac_compile) 2>conftest.er1
  5494. ac_status=$?
  5495. + grep -v '^ *+' conftest.er1 >conftest.err
  5496. + rm -f conftest.er1
  5497. + cat conftest.err >&5
  5498. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5499. (exit $ac_status); } &&
  5500. - { ac_try='test -s conftest.$ac_objext'
  5501. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5502. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5503. + (eval $ac_try) 2>&5
  5504. + ac_status=$?
  5505. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5506. + (exit $ac_status); }; } &&
  5507. + { ac_try='test -s conftest.$ac_objext'
  5508. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5509. (eval $ac_try) 2>&5
  5510. ac_status=$?
  5511. @@ -24102,7 +25087,7 @@
  5512. ac_cv_type_sigaction_t=no
  5513. fi
  5514. -rm -f conftest.$ac_objext conftest.$ac_ext
  5515. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5516. fi
  5517. echo "$as_me:$LINENO: result: $ac_cv_type_sigaction_t" >&5
  5518. echo "${ECHO_T}$ac_cv_type_sigaction_t" >&6
  5519. @@ -24124,7 +25109,6 @@
  5520. echo $ECHO_N "(cached) $ECHO_C" >&6
  5521. else
  5522. cat >conftest.$ac_ext <<_ACEOF
  5523. -#line $LINENO "configure"
  5524. /* confdefs.h. */
  5525. _ACEOF
  5526. cat confdefs.h >>conftest.$ac_ext
  5527. @@ -24147,11 +25131,20 @@
  5528. _ACEOF
  5529. rm -f conftest.$ac_objext
  5530. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5531. - (eval $ac_compile) 2>&5
  5532. + (eval $ac_compile) 2>conftest.er1
  5533. ac_status=$?
  5534. + grep -v '^ *+' conftest.er1 >conftest.err
  5535. + rm -f conftest.er1
  5536. + cat conftest.err >&5
  5537. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5538. (exit $ac_status); } &&
  5539. - { ac_try='test -s conftest.$ac_objext'
  5540. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5541. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5542. + (eval $ac_try) 2>&5
  5543. + ac_status=$?
  5544. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5545. + (exit $ac_status); }; } &&
  5546. + { ac_try='test -s conftest.$ac_objext'
  5547. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5548. (eval $ac_try) 2>&5
  5549. ac_status=$?
  5550. @@ -24164,7 +25157,7 @@
  5551. ac_cv_type_struct_timespec=no
  5552. fi
  5553. -rm -f conftest.$ac_objext conftest.$ac_ext
  5554. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5555. fi
  5556. echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
  5557. echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
  5558. @@ -24181,7 +25174,6 @@
  5559. echo $ECHO_N "(cached) $ECHO_C" >&6
  5560. else
  5561. cat >conftest.$ac_ext <<_ACEOF
  5562. -#line $LINENO "configure"
  5563. /* confdefs.h. */
  5564. _ACEOF
  5565. cat confdefs.h >>conftest.$ac_ext
  5566. @@ -24221,7 +25213,6 @@
  5567. echo $ECHO_N "(cached) $ECHO_C" >&6
  5568. else
  5569. cat >conftest.$ac_ext <<_ACEOF
  5570. -#line $LINENO "configure"
  5571. /* confdefs.h. */
  5572. _ACEOF
  5573. cat confdefs.h >>conftest.$ac_ext
  5574. @@ -24261,7 +25252,6 @@
  5575. echo $ECHO_N "(cached) $ECHO_C" >&6
  5576. else
  5577. cat >conftest.$ac_ext <<_ACEOF
  5578. -#line $LINENO "configure"
  5579. /* confdefs.h. */
  5580. _ACEOF
  5581. cat confdefs.h >>conftest.$ac_ext
  5582. @@ -24301,7 +25291,6 @@
  5583. echo $ECHO_N "(cached) $ECHO_C" >&6
  5584. else
  5585. cat >conftest.$ac_ext <<_ACEOF
  5586. -#line $LINENO "configure"
  5587. /* confdefs.h. */
  5588. _ACEOF
  5589. cat confdefs.h >>conftest.$ac_ext
  5590. @@ -24338,7 +25327,6 @@
  5591. echo "$as_me:$LINENO: checking for full void implementation" >&5
  5592. echo $ECHO_N "checking for full void implementation... $ECHO_C" >&6
  5593. cat >conftest.$ac_ext <<_ACEOF
  5594. -#line $LINENO "configure"
  5595. /* confdefs.h. */
  5596. _ACEOF
  5597. cat confdefs.h >>conftest.$ac_ext
  5598. @@ -24356,11 +25344,20 @@
  5599. _ACEOF
  5600. rm -f conftest.$ac_objext
  5601. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5602. - (eval $ac_compile) 2>&5
  5603. + (eval $ac_compile) 2>conftest.er1
  5604. ac_status=$?
  5605. + grep -v '^ *+' conftest.er1 >conftest.err
  5606. + rm -f conftest.er1
  5607. + cat conftest.err >&5
  5608. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5609. (exit $ac_status); } &&
  5610. - { ac_try='test -s conftest.$ac_objext'
  5611. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5612. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5613. + (eval $ac_try) 2>&5
  5614. + ac_status=$?
  5615. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5616. + (exit $ac_status); }; } &&
  5617. + { ac_try='test -s conftest.$ac_objext'
  5618. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5619. (eval $ac_try) 2>&5
  5620. ac_status=$?
  5621. @@ -24384,7 +25381,7 @@
  5622. echo "$as_me:$LINENO: result: no" >&5
  5623. echo "${ECHO_T}no" >&6
  5624. fi
  5625. -rm -f conftest.$ac_objext conftest.$ac_ext
  5626. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5627. echo "$as_me:$LINENO: checking max length of uid_t" >&5
  5628. echo $ECHO_N "checking max length of uid_t... $ECHO_C" >&6
  5629. @@ -24393,14 +25390,9 @@
  5630. else
  5631. rm -f conftestdata
  5632. if test "$cross_compiling" = yes; then
  5633. - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  5634. -See \`config.log' for more details." >&5
  5635. -echo "$as_me: error: cannot run test program while cross compiling
  5636. -See \`config.log' for more details." >&2;}
  5637. - { (exit 1); exit 1; }; }
  5638. + true
  5639. else
  5640. cat >conftest.$ac_ext <<_ACEOF
  5641. -#line $LINENO "configure"
  5642. /* confdefs.h. */
  5643. _ACEOF
  5644. cat confdefs.h >>conftest.$ac_ext
  5645. @@ -24445,7 +25437,7 @@
  5646. ( exit $ac_status )
  5647. sudo_cv_uid_t_len=10
  5648. fi
  5649. -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5650. +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5651. fi
  5652. fi
  5653. @@ -24462,7 +25454,6 @@
  5654. echo "$as_me:$LINENO: checking for long long support" >&5
  5655. echo $ECHO_N "checking for long long support... $ECHO_C" >&6
  5656. cat >conftest.$ac_ext <<_ACEOF
  5657. -#line $LINENO "configure"
  5658. /* confdefs.h. */
  5659. _ACEOF
  5660. cat confdefs.h >>conftest.$ac_ext
  5661. @@ -24479,11 +25470,20 @@
  5662. _ACEOF
  5663. rm -f conftest.$ac_objext conftest$ac_exeext
  5664. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5665. - (eval $ac_link) 2>&5
  5666. + (eval $ac_link) 2>conftest.er1
  5667. ac_status=$?
  5668. + grep -v '^ *+' conftest.er1 >conftest.err
  5669. + rm -f conftest.er1
  5670. + cat conftest.err >&5
  5671. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5672. (exit $ac_status); } &&
  5673. - { ac_try='test -s conftest$ac_exeext'
  5674. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5675. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5676. + (eval $ac_try) 2>&5
  5677. + ac_status=$?
  5678. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5679. + (exit $ac_status); }; } &&
  5680. + { ac_try='test -s conftest$ac_exeext'
  5681. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5682. (eval $ac_try) 2>&5
  5683. ac_status=$?
  5684. @@ -24495,14 +25495,9 @@
  5685. _ACEOF
  5686. if test "$cross_compiling" = yes; then
  5687. - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  5688. -See \`config.log' for more details." >&5
  5689. -echo "$as_me: error: cannot run test program while cross compiling
  5690. -See \`config.log' for more details." >&2;}
  5691. - { (exit 1); exit 1; }; }
  5692. + true
  5693. else
  5694. cat >conftest.$ac_ext <<_ACEOF
  5695. -#line $LINENO "configure"
  5696. /* confdefs.h. */
  5697. _ACEOF
  5698. cat confdefs.h >>conftest.$ac_ext
  5699. @@ -24531,8 +25526,10 @@
  5700. echo "$as_me: failed program was:" >&5
  5701. sed 's/^/| /' conftest.$ac_ext >&5
  5702. +( exit $ac_status )
  5703. +true
  5704. fi
  5705. -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5706. +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5707. fi
  5708. echo "$as_me:$LINENO: result: yes" >&5
  5709. echo "${ECHO_T}yes" >&6
  5710. @@ -24543,7 +25540,8 @@
  5711. echo "$as_me:$LINENO: result: no" >&5
  5712. echo "${ECHO_T}no" >&6
  5713. fi
  5714. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  5715. +rm -f conftest.err conftest.$ac_objext \
  5716. + conftest$ac_exeext conftest.$ac_ext
  5717. echo "$as_me:$LINENO: checking for sa_len field in struct sockaddr" >&5
  5718. echo $ECHO_N "checking for sa_len field in struct sockaddr... $ECHO_C" >&6
  5719. if test "${sudo_cv_sock_sa_len+set}" = set; then
  5720. @@ -24553,7 +25551,6 @@
  5721. sudo_cv_sock_sa_len=no
  5722. else
  5723. cat >conftest.$ac_ext <<_ACEOF
  5724. -#line $LINENO "configure"
  5725. /* confdefs.h. */
  5726. _ACEOF
  5727. cat confdefs.h >>conftest.$ac_ext
  5728. @@ -24587,7 +25584,7 @@
  5729. ( exit $ac_status )
  5730. sudo_cv_sock_sa_len=no
  5731. fi
  5732. -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5733. +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5734. fi
  5735. rm -f core core.* *.core
  5736. fi
  5737. @@ -24609,7 +25606,6 @@
  5738. echo $ECHO_N "(cached) $ECHO_C" >&6
  5739. else
  5740. cat >conftest.$ac_ext <<_ACEOF
  5741. -#line $LINENO "configure"
  5742. /* confdefs.h. */
  5743. _ACEOF
  5744. cat confdefs.h >>conftest.$ac_ext
  5745. @@ -24636,11 +25632,20 @@
  5746. _ACEOF
  5747. rm -f conftest.$ac_objext
  5748. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5749. - (eval $ac_compile) 2>&5
  5750. + (eval $ac_compile) 2>conftest.er1
  5751. ac_status=$?
  5752. + grep -v '^ *+' conftest.er1 >conftest.err
  5753. + rm -f conftest.er1
  5754. + cat conftest.err >&5
  5755. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5756. (exit $ac_status); } &&
  5757. - { ac_try='test -s conftest.$ac_objext'
  5758. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5759. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5760. + (eval $ac_try) 2>&5
  5761. + ac_status=$?
  5762. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5763. + (exit $ac_status); }; } &&
  5764. + { ac_try='test -s conftest.$ac_objext'
  5765. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5766. (eval $ac_try) 2>&5
  5767. ac_status=$?
  5768. @@ -24653,7 +25658,7 @@
  5769. ac_cv_type_signal=int
  5770. fi
  5771. -rm -f conftest.$ac_objext conftest.$ac_ext
  5772. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5773. fi
  5774. echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  5775. echo "${ECHO_T}$ac_cv_type_signal" >&6
  5776. @@ -24686,21 +25691,28 @@
  5777. echo $ECHO_N "(cached) $ECHO_C" >&6
  5778. else
  5779. cat >conftest.$ac_ext <<_ACEOF
  5780. -#line $LINENO "configure"
  5781. /* confdefs.h. */
  5782. _ACEOF
  5783. cat confdefs.h >>conftest.$ac_ext
  5784. cat >>conftest.$ac_ext <<_ACEOF
  5785. /* end confdefs.h. */
  5786. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5787. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  5788. +#define $ac_func innocuous_$ac_func
  5789. +
  5790. /* System header to define __stub macros and hopefully few prototypes,
  5791. which can conflict with char $ac_func (); below.
  5792. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5793. <limits.h> exists even on freestanding compilers. */
  5794. +
  5795. #ifdef __STDC__
  5796. # include <limits.h>
  5797. #else
  5798. # include <assert.h>
  5799. #endif
  5800. +
  5801. +#undef $ac_func
  5802. +
  5803. /* Override any gcc2 internal prototype to avoid an error. */
  5804. #ifdef __cplusplus
  5805. extern "C"
  5806. @@ -24731,11 +25743,20 @@
  5807. _ACEOF
  5808. rm -f conftest.$ac_objext conftest$ac_exeext
  5809. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5810. - (eval $ac_link) 2>&5
  5811. + (eval $ac_link) 2>conftest.er1
  5812. ac_status=$?
  5813. + grep -v '^ *+' conftest.er1 >conftest.err
  5814. + rm -f conftest.er1
  5815. + cat conftest.err >&5
  5816. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5817. (exit $ac_status); } &&
  5818. - { ac_try='test -s conftest$ac_exeext'
  5819. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5820. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5821. + (eval $ac_try) 2>&5
  5822. + ac_status=$?
  5823. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5824. + (exit $ac_status); }; } &&
  5825. + { ac_try='test -s conftest$ac_exeext'
  5826. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5827. (eval $ac_try) 2>&5
  5828. ac_status=$?
  5829. @@ -24748,7 +25769,8 @@
  5830. eval "$as_ac_var=no"
  5831. fi
  5832. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  5833. +rm -f conftest.err conftest.$ac_objext \
  5834. + conftest$ac_exeext conftest.$ac_ext
  5835. fi
  5836. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5837. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5838. @@ -24770,21 +25792,28 @@
  5839. echo $ECHO_N "(cached) $ECHO_C" >&6
  5840. else
  5841. cat >conftest.$ac_ext <<_ACEOF
  5842. -#line $LINENO "configure"
  5843. /* confdefs.h. */
  5844. _ACEOF
  5845. cat confdefs.h >>conftest.$ac_ext
  5846. cat >>conftest.$ac_ext <<_ACEOF
  5847. /* end confdefs.h. */
  5848. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5849. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  5850. +#define $ac_func innocuous_$ac_func
  5851. +
  5852. /* System header to define __stub macros and hopefully few prototypes,
  5853. which can conflict with char $ac_func (); below.
  5854. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5855. <limits.h> exists even on freestanding compilers. */
  5856. +
  5857. #ifdef __STDC__
  5858. # include <limits.h>
  5859. #else
  5860. # include <assert.h>
  5861. #endif
  5862. +
  5863. +#undef $ac_func
  5864. +
  5865. /* Override any gcc2 internal prototype to avoid an error. */
  5866. #ifdef __cplusplus
  5867. extern "C"
  5868. @@ -24815,11 +25844,20 @@
  5869. _ACEOF
  5870. rm -f conftest.$ac_objext conftest$ac_exeext
  5871. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5872. - (eval $ac_link) 2>&5
  5873. + (eval $ac_link) 2>conftest.er1
  5874. ac_status=$?
  5875. + grep -v '^ *+' conftest.er1 >conftest.err
  5876. + rm -f conftest.er1
  5877. + cat conftest.err >&5
  5878. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5879. (exit $ac_status); } &&
  5880. - { ac_try='test -s conftest$ac_exeext'
  5881. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5882. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5883. + (eval $ac_try) 2>&5
  5884. + ac_status=$?
  5885. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5886. + (exit $ac_status); }; } &&
  5887. + { ac_try='test -s conftest$ac_exeext'
  5888. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5889. (eval $ac_try) 2>&5
  5890. ac_status=$?
  5891. @@ -24832,7 +25870,8 @@
  5892. eval "$as_ac_var=no"
  5893. fi
  5894. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  5895. +rm -f conftest.err conftest.$ac_objext \
  5896. + conftest$ac_exeext conftest.$ac_ext
  5897. fi
  5898. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5899. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5900. @@ -24860,21 +25899,28 @@
  5901. echo $ECHO_N "(cached) $ECHO_C" >&6
  5902. else
  5903. cat >conftest.$ac_ext <<_ACEOF
  5904. -#line $LINENO "configure"
  5905. /* confdefs.h. */
  5906. _ACEOF
  5907. cat confdefs.h >>conftest.$ac_ext
  5908. cat >>conftest.$ac_ext <<_ACEOF
  5909. /* end confdefs.h. */
  5910. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5911. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  5912. +#define $ac_func innocuous_$ac_func
  5913. +
  5914. /* System header to define __stub macros and hopefully few prototypes,
  5915. which can conflict with char $ac_func (); below.
  5916. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5917. <limits.h> exists even on freestanding compilers. */
  5918. +
  5919. #ifdef __STDC__
  5920. # include <limits.h>
  5921. #else
  5922. # include <assert.h>
  5923. #endif
  5924. +
  5925. +#undef $ac_func
  5926. +
  5927. /* Override any gcc2 internal prototype to avoid an error. */
  5928. #ifdef __cplusplus
  5929. extern "C"
  5930. @@ -24905,11 +25951,20 @@
  5931. _ACEOF
  5932. rm -f conftest.$ac_objext conftest$ac_exeext
  5933. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5934. - (eval $ac_link) 2>&5
  5935. + (eval $ac_link) 2>conftest.er1
  5936. ac_status=$?
  5937. + grep -v '^ *+' conftest.er1 >conftest.err
  5938. + rm -f conftest.er1
  5939. + cat conftest.err >&5
  5940. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5941. (exit $ac_status); } &&
  5942. - { ac_try='test -s conftest$ac_exeext'
  5943. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5944. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5945. + (eval $ac_try) 2>&5
  5946. + ac_status=$?
  5947. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5948. + (exit $ac_status); }; } &&
  5949. + { ac_try='test -s conftest$ac_exeext'
  5950. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5951. (eval $ac_try) 2>&5
  5952. ac_status=$?
  5953. @@ -24922,7 +25977,8 @@
  5954. eval "$as_ac_var=no"
  5955. fi
  5956. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  5957. +rm -f conftest.err conftest.$ac_objext \
  5958. + conftest$ac_exeext conftest.$ac_ext
  5959. fi
  5960. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5961. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5962. @@ -24946,21 +26002,28 @@
  5963. echo $ECHO_N "(cached) $ECHO_C" >&6
  5964. else
  5965. cat >conftest.$ac_ext <<_ACEOF
  5966. -#line $LINENO "configure"
  5967. /* confdefs.h. */
  5968. _ACEOF
  5969. cat confdefs.h >>conftest.$ac_ext
  5970. cat >>conftest.$ac_ext <<_ACEOF
  5971. /* end confdefs.h. */
  5972. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5973. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  5974. +#define $ac_func innocuous_$ac_func
  5975. +
  5976. /* System header to define __stub macros and hopefully few prototypes,
  5977. which can conflict with char $ac_func (); below.
  5978. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5979. <limits.h> exists even on freestanding compilers. */
  5980. +
  5981. #ifdef __STDC__
  5982. # include <limits.h>
  5983. #else
  5984. # include <assert.h>
  5985. #endif
  5986. +
  5987. +#undef $ac_func
  5988. +
  5989. /* Override any gcc2 internal prototype to avoid an error. */
  5990. #ifdef __cplusplus
  5991. extern "C"
  5992. @@ -24991,11 +26054,20 @@
  5993. _ACEOF
  5994. rm -f conftest.$ac_objext conftest$ac_exeext
  5995. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5996. - (eval $ac_link) 2>&5
  5997. + (eval $ac_link) 2>conftest.er1
  5998. ac_status=$?
  5999. + grep -v '^ *+' conftest.er1 >conftest.err
  6000. + rm -f conftest.er1
  6001. + cat conftest.err >&5
  6002. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6003. (exit $ac_status); } &&
  6004. - { ac_try='test -s conftest$ac_exeext'
  6005. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6006. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6007. + (eval $ac_try) 2>&5
  6008. + ac_status=$?
  6009. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6010. + (exit $ac_status); }; } &&
  6011. + { ac_try='test -s conftest$ac_exeext'
  6012. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6013. (eval $ac_try) 2>&5
  6014. ac_status=$?
  6015. @@ -25008,7 +26080,8 @@
  6016. eval "$as_ac_var=no"
  6017. fi
  6018. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6019. +rm -f conftest.err conftest.$ac_objext \
  6020. + conftest$ac_exeext conftest.$ac_ext
  6021. fi
  6022. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6023. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6024. @@ -25032,21 +26105,28 @@
  6025. echo $ECHO_N "(cached) $ECHO_C" >&6
  6026. else
  6027. cat >conftest.$ac_ext <<_ACEOF
  6028. -#line $LINENO "configure"
  6029. /* confdefs.h. */
  6030. _ACEOF
  6031. cat confdefs.h >>conftest.$ac_ext
  6032. cat >>conftest.$ac_ext <<_ACEOF
  6033. /* end confdefs.h. */
  6034. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6035. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6036. +#define $ac_func innocuous_$ac_func
  6037. +
  6038. /* System header to define __stub macros and hopefully few prototypes,
  6039. which can conflict with char $ac_func (); below.
  6040. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6041. <limits.h> exists even on freestanding compilers. */
  6042. +
  6043. #ifdef __STDC__
  6044. # include <limits.h>
  6045. #else
  6046. # include <assert.h>
  6047. #endif
  6048. +
  6049. +#undef $ac_func
  6050. +
  6051. /* Override any gcc2 internal prototype to avoid an error. */
  6052. #ifdef __cplusplus
  6053. extern "C"
  6054. @@ -25077,11 +26157,20 @@
  6055. _ACEOF
  6056. rm -f conftest.$ac_objext conftest$ac_exeext
  6057. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6058. - (eval $ac_link) 2>&5
  6059. + (eval $ac_link) 2>conftest.er1
  6060. ac_status=$?
  6061. + grep -v '^ *+' conftest.er1 >conftest.err
  6062. + rm -f conftest.er1
  6063. + cat conftest.err >&5
  6064. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6065. (exit $ac_status); } &&
  6066. - { ac_try='test -s conftest$ac_exeext'
  6067. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6068. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6069. + (eval $ac_try) 2>&5
  6070. + ac_status=$?
  6071. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6072. + (exit $ac_status); }; } &&
  6073. + { ac_try='test -s conftest$ac_exeext'
  6074. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6075. (eval $ac_try) 2>&5
  6076. ac_status=$?
  6077. @@ -25094,7 +26183,8 @@
  6078. eval "$as_ac_var=no"
  6079. fi
  6080. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6081. +rm -f conftest.err conftest.$ac_objext \
  6082. + conftest$ac_exeext conftest.$ac_ext
  6083. fi
  6084. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6085. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6086. @@ -25112,21 +26202,28 @@
  6087. echo $ECHO_N "(cached) $ECHO_C" >&6
  6088. else
  6089. cat >conftest.$ac_ext <<_ACEOF
  6090. -#line $LINENO "configure"
  6091. /* confdefs.h. */
  6092. _ACEOF
  6093. cat confdefs.h >>conftest.$ac_ext
  6094. cat >>conftest.$ac_ext <<_ACEOF
  6095. /* end confdefs.h. */
  6096. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6097. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6098. +#define $ac_func innocuous_$ac_func
  6099. +
  6100. /* System header to define __stub macros and hopefully few prototypes,
  6101. which can conflict with char $ac_func (); below.
  6102. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6103. <limits.h> exists even on freestanding compilers. */
  6104. +
  6105. #ifdef __STDC__
  6106. # include <limits.h>
  6107. #else
  6108. # include <assert.h>
  6109. #endif
  6110. +
  6111. +#undef $ac_func
  6112. +
  6113. /* Override any gcc2 internal prototype to avoid an error. */
  6114. #ifdef __cplusplus
  6115. extern "C"
  6116. @@ -25157,11 +26254,20 @@
  6117. _ACEOF
  6118. rm -f conftest.$ac_objext conftest$ac_exeext
  6119. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6120. - (eval $ac_link) 2>&5
  6121. + (eval $ac_link) 2>conftest.er1
  6122. ac_status=$?
  6123. + grep -v '^ *+' conftest.er1 >conftest.err
  6124. + rm -f conftest.er1
  6125. + cat conftest.err >&5
  6126. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6127. (exit $ac_status); } &&
  6128. - { ac_try='test -s conftest$ac_exeext'
  6129. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6130. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6131. + (eval $ac_try) 2>&5
  6132. + ac_status=$?
  6133. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6134. + (exit $ac_status); }; } &&
  6135. + { ac_try='test -s conftest$ac_exeext'
  6136. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6137. (eval $ac_try) 2>&5
  6138. ac_status=$?
  6139. @@ -25174,7 +26280,8 @@
  6140. eval "$as_ac_var=no"
  6141. fi
  6142. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6143. +rm -f conftest.err conftest.$ac_objext \
  6144. + conftest$ac_exeext conftest.$ac_ext
  6145. fi
  6146. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6147. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6148. @@ -25203,21 +26310,28 @@
  6149. echo $ECHO_N "(cached) $ECHO_C" >&6
  6150. else
  6151. cat >conftest.$ac_ext <<_ACEOF
  6152. -#line $LINENO "configure"
  6153. /* confdefs.h. */
  6154. _ACEOF
  6155. cat confdefs.h >>conftest.$ac_ext
  6156. cat >>conftest.$ac_ext <<_ACEOF
  6157. /* end confdefs.h. */
  6158. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6159. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6160. +#define $ac_func innocuous_$ac_func
  6161. +
  6162. /* System header to define __stub macros and hopefully few prototypes,
  6163. which can conflict with char $ac_func (); below.
  6164. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6165. <limits.h> exists even on freestanding compilers. */
  6166. +
  6167. #ifdef __STDC__
  6168. # include <limits.h>
  6169. #else
  6170. # include <assert.h>
  6171. #endif
  6172. +
  6173. +#undef $ac_func
  6174. +
  6175. /* Override any gcc2 internal prototype to avoid an error. */
  6176. #ifdef __cplusplus
  6177. extern "C"
  6178. @@ -25248,11 +26362,20 @@
  6179. _ACEOF
  6180. rm -f conftest.$ac_objext conftest$ac_exeext
  6181. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6182. - (eval $ac_link) 2>&5
  6183. + (eval $ac_link) 2>conftest.er1
  6184. ac_status=$?
  6185. + grep -v '^ *+' conftest.er1 >conftest.err
  6186. + rm -f conftest.er1
  6187. + cat conftest.err >&5
  6188. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6189. (exit $ac_status); } &&
  6190. - { ac_try='test -s conftest$ac_exeext'
  6191. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6192. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6193. + (eval $ac_try) 2>&5
  6194. + ac_status=$?
  6195. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6196. + (exit $ac_status); }; } &&
  6197. + { ac_try='test -s conftest$ac_exeext'
  6198. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6199. (eval $ac_try) 2>&5
  6200. ac_status=$?
  6201. @@ -25265,7 +26388,8 @@
  6202. eval "$as_ac_var=no"
  6203. fi
  6204. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6205. +rm -f conftest.err conftest.$ac_objext \
  6206. + conftest$ac_exeext conftest.$ac_ext
  6207. fi
  6208. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6209. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6210. @@ -25289,21 +26413,28 @@
  6211. echo $ECHO_N "(cached) $ECHO_C" >&6
  6212. else
  6213. cat >conftest.$ac_ext <<_ACEOF
  6214. -#line $LINENO "configure"
  6215. /* confdefs.h. */
  6216. _ACEOF
  6217. cat confdefs.h >>conftest.$ac_ext
  6218. cat >>conftest.$ac_ext <<_ACEOF
  6219. /* end confdefs.h. */
  6220. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6221. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6222. +#define $ac_func innocuous_$ac_func
  6223. +
  6224. /* System header to define __stub macros and hopefully few prototypes,
  6225. which can conflict with char $ac_func (); below.
  6226. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6227. <limits.h> exists even on freestanding compilers. */
  6228. +
  6229. #ifdef __STDC__
  6230. # include <limits.h>
  6231. #else
  6232. # include <assert.h>
  6233. #endif
  6234. +
  6235. +#undef $ac_func
  6236. +
  6237. /* Override any gcc2 internal prototype to avoid an error. */
  6238. #ifdef __cplusplus
  6239. extern "C"
  6240. @@ -25334,11 +26465,20 @@
  6241. _ACEOF
  6242. rm -f conftest.$ac_objext conftest$ac_exeext
  6243. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6244. - (eval $ac_link) 2>&5
  6245. + (eval $ac_link) 2>conftest.er1
  6246. ac_status=$?
  6247. + grep -v '^ *+' conftest.er1 >conftest.err
  6248. + rm -f conftest.er1
  6249. + cat conftest.err >&5
  6250. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6251. (exit $ac_status); } &&
  6252. - { ac_try='test -s conftest$ac_exeext'
  6253. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6254. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6255. + (eval $ac_try) 2>&5
  6256. + ac_status=$?
  6257. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6258. + (exit $ac_status); }; } &&
  6259. + { ac_try='test -s conftest$ac_exeext'
  6260. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6261. (eval $ac_try) 2>&5
  6262. ac_status=$?
  6263. @@ -25351,7 +26491,8 @@
  6264. eval "$as_ac_var=no"
  6265. fi
  6266. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6267. +rm -f conftest.err conftest.$ac_objext \
  6268. + conftest$ac_exeext conftest.$ac_ext
  6269. fi
  6270. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6271. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6272. @@ -25361,7 +26502,14 @@
  6273. _ACEOF
  6274. else
  6275. - LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
  6276. + case $LIBOBJS in
  6277. + "$ac_func.$ac_objext" | \
  6278. + *" $ac_func.$ac_objext" | \
  6279. + "$ac_func.$ac_objext "* | \
  6280. + *" $ac_func.$ac_objext "* ) ;;
  6281. + *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
  6282. +esac
  6283. +
  6284. fi
  6285. done
  6286. @@ -25378,21 +26526,28 @@
  6287. echo $ECHO_N "(cached) $ECHO_C" >&6
  6288. else
  6289. cat >conftest.$ac_ext <<_ACEOF
  6290. -#line $LINENO "configure"
  6291. /* confdefs.h. */
  6292. _ACEOF
  6293. cat confdefs.h >>conftest.$ac_ext
  6294. cat >>conftest.$ac_ext <<_ACEOF
  6295. /* end confdefs.h. */
  6296. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6297. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6298. +#define $ac_func innocuous_$ac_func
  6299. +
  6300. /* System header to define __stub macros and hopefully few prototypes,
  6301. which can conflict with char $ac_func (); below.
  6302. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6303. <limits.h> exists even on freestanding compilers. */
  6304. +
  6305. #ifdef __STDC__
  6306. # include <limits.h>
  6307. #else
  6308. # include <assert.h>
  6309. #endif
  6310. +
  6311. +#undef $ac_func
  6312. +
  6313. /* Override any gcc2 internal prototype to avoid an error. */
  6314. #ifdef __cplusplus
  6315. extern "C"
  6316. @@ -25423,11 +26578,20 @@
  6317. _ACEOF
  6318. rm -f conftest.$ac_objext conftest$ac_exeext
  6319. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6320. - (eval $ac_link) 2>&5
  6321. + (eval $ac_link) 2>conftest.er1
  6322. ac_status=$?
  6323. + grep -v '^ *+' conftest.er1 >conftest.err
  6324. + rm -f conftest.er1
  6325. + cat conftest.err >&5
  6326. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6327. (exit $ac_status); } &&
  6328. - { ac_try='test -s conftest$ac_exeext'
  6329. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6330. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6331. + (eval $ac_try) 2>&5
  6332. + ac_status=$?
  6333. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6334. + (exit $ac_status); }; } &&
  6335. + { ac_try='test -s conftest$ac_exeext'
  6336. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6337. (eval $ac_try) 2>&5
  6338. ac_status=$?
  6339. @@ -25440,7 +26604,8 @@
  6340. eval "$as_ac_var=no"
  6341. fi
  6342. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6343. +rm -f conftest.err conftest.$ac_objext \
  6344. + conftest$ac_exeext conftest.$ac_ext
  6345. fi
  6346. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6347. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6348. @@ -25463,21 +26628,28 @@
  6349. echo $ECHO_N "(cached) $ECHO_C" >&6
  6350. else
  6351. cat >conftest.$ac_ext <<_ACEOF
  6352. -#line $LINENO "configure"
  6353. /* confdefs.h. */
  6354. _ACEOF
  6355. cat confdefs.h >>conftest.$ac_ext
  6356. cat >>conftest.$ac_ext <<_ACEOF
  6357. /* end confdefs.h. */
  6358. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6359. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6360. +#define $ac_func innocuous_$ac_func
  6361. +
  6362. /* System header to define __stub macros and hopefully few prototypes,
  6363. which can conflict with char $ac_func (); below.
  6364. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6365. <limits.h> exists even on freestanding compilers. */
  6366. +
  6367. #ifdef __STDC__
  6368. # include <limits.h>
  6369. #else
  6370. # include <assert.h>
  6371. #endif
  6372. +
  6373. +#undef $ac_func
  6374. +
  6375. /* Override any gcc2 internal prototype to avoid an error. */
  6376. #ifdef __cplusplus
  6377. extern "C"
  6378. @@ -25508,11 +26680,20 @@
  6379. _ACEOF
  6380. rm -f conftest.$ac_objext conftest$ac_exeext
  6381. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6382. - (eval $ac_link) 2>&5
  6383. + (eval $ac_link) 2>conftest.er1
  6384. ac_status=$?
  6385. + grep -v '^ *+' conftest.er1 >conftest.err
  6386. + rm -f conftest.er1
  6387. + cat conftest.err >&5
  6388. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6389. (exit $ac_status); } &&
  6390. - { ac_try='test -s conftest$ac_exeext'
  6391. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6392. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6393. + (eval $ac_try) 2>&5
  6394. + ac_status=$?
  6395. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6396. + (exit $ac_status); }; } &&
  6397. + { ac_try='test -s conftest$ac_exeext'
  6398. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6399. (eval $ac_try) 2>&5
  6400. ac_status=$?
  6401. @@ -25525,7 +26706,8 @@
  6402. eval "$as_ac_var=no"
  6403. fi
  6404. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6405. +rm -f conftest.err conftest.$ac_objext \
  6406. + conftest$ac_exeext conftest.$ac_ext
  6407. fi
  6408. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6409. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6410. @@ -25548,21 +26730,28 @@
  6411. echo $ECHO_N "(cached) $ECHO_C" >&6
  6412. else
  6413. cat >conftest.$ac_ext <<_ACEOF
  6414. -#line $LINENO "configure"
  6415. /* confdefs.h. */
  6416. _ACEOF
  6417. cat confdefs.h >>conftest.$ac_ext
  6418. cat >>conftest.$ac_ext <<_ACEOF
  6419. /* end confdefs.h. */
  6420. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6421. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6422. +#define $ac_func innocuous_$ac_func
  6423. +
  6424. /* System header to define __stub macros and hopefully few prototypes,
  6425. which can conflict with char $ac_func (); below.
  6426. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6427. <limits.h> exists even on freestanding compilers. */
  6428. +
  6429. #ifdef __STDC__
  6430. # include <limits.h>
  6431. #else
  6432. # include <assert.h>
  6433. #endif
  6434. +
  6435. +#undef $ac_func
  6436. +
  6437. /* Override any gcc2 internal prototype to avoid an error. */
  6438. #ifdef __cplusplus
  6439. extern "C"
  6440. @@ -25593,11 +26782,20 @@
  6441. _ACEOF
  6442. rm -f conftest.$ac_objext conftest$ac_exeext
  6443. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6444. - (eval $ac_link) 2>&5
  6445. + (eval $ac_link) 2>conftest.er1
  6446. ac_status=$?
  6447. + grep -v '^ *+' conftest.er1 >conftest.err
  6448. + rm -f conftest.er1
  6449. + cat conftest.err >&5
  6450. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6451. (exit $ac_status); } &&
  6452. - { ac_try='test -s conftest$ac_exeext'
  6453. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6454. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6455. + (eval $ac_try) 2>&5
  6456. + ac_status=$?
  6457. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6458. + (exit $ac_status); }; } &&
  6459. + { ac_try='test -s conftest$ac_exeext'
  6460. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6461. (eval $ac_try) 2>&5
  6462. ac_status=$?
  6463. @@ -25610,7 +26808,8 @@
  6464. eval "$as_ac_var=no"
  6465. fi
  6466. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6467. +rm -f conftest.err conftest.$ac_objext \
  6468. + conftest$ac_exeext conftest.$ac_ext
  6469. fi
  6470. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6471. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6472. @@ -25628,21 +26827,28 @@
  6473. echo $ECHO_N "(cached) $ECHO_C" >&6
  6474. else
  6475. cat >conftest.$ac_ext <<_ACEOF
  6476. -#line $LINENO "configure"
  6477. /* confdefs.h. */
  6478. _ACEOF
  6479. cat confdefs.h >>conftest.$ac_ext
  6480. cat >>conftest.$ac_ext <<_ACEOF
  6481. /* end confdefs.h. */
  6482. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6483. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6484. +#define $ac_func innocuous_$ac_func
  6485. +
  6486. /* System header to define __stub macros and hopefully few prototypes,
  6487. which can conflict with char $ac_func (); below.
  6488. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6489. <limits.h> exists even on freestanding compilers. */
  6490. +
  6491. #ifdef __STDC__
  6492. # include <limits.h>
  6493. #else
  6494. # include <assert.h>
  6495. #endif
  6496. +
  6497. +#undef $ac_func
  6498. +
  6499. /* Override any gcc2 internal prototype to avoid an error. */
  6500. #ifdef __cplusplus
  6501. extern "C"
  6502. @@ -25673,11 +26879,20 @@
  6503. _ACEOF
  6504. rm -f conftest.$ac_objext conftest$ac_exeext
  6505. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6506. - (eval $ac_link) 2>&5
  6507. + (eval $ac_link) 2>conftest.er1
  6508. ac_status=$?
  6509. + grep -v '^ *+' conftest.er1 >conftest.err
  6510. + rm -f conftest.er1
  6511. + cat conftest.err >&5
  6512. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6513. (exit $ac_status); } &&
  6514. - { ac_try='test -s conftest$ac_exeext'
  6515. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6516. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6517. + (eval $ac_try) 2>&5
  6518. + ac_status=$?
  6519. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6520. + (exit $ac_status); }; } &&
  6521. + { ac_try='test -s conftest$ac_exeext'
  6522. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6523. (eval $ac_try) 2>&5
  6524. ac_status=$?
  6525. @@ -25690,7 +26905,8 @@
  6526. eval "$as_ac_var=no"
  6527. fi
  6528. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6529. +rm -f conftest.err conftest.$ac_objext \
  6530. + conftest$ac_exeext conftest.$ac_ext
  6531. fi
  6532. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6533. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6534. @@ -25715,21 +26931,28 @@
  6535. echo $ECHO_N "(cached) $ECHO_C" >&6
  6536. else
  6537. cat >conftest.$ac_ext <<_ACEOF
  6538. -#line $LINENO "configure"
  6539. /* confdefs.h. */
  6540. _ACEOF
  6541. cat confdefs.h >>conftest.$ac_ext
  6542. cat >>conftest.$ac_ext <<_ACEOF
  6543. /* end confdefs.h. */
  6544. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6545. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6546. +#define $ac_func innocuous_$ac_func
  6547. +
  6548. /* System header to define __stub macros and hopefully few prototypes,
  6549. which can conflict with char $ac_func (); below.
  6550. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6551. <limits.h> exists even on freestanding compilers. */
  6552. +
  6553. #ifdef __STDC__
  6554. # include <limits.h>
  6555. #else
  6556. # include <assert.h>
  6557. #endif
  6558. +
  6559. +#undef $ac_func
  6560. +
  6561. /* Override any gcc2 internal prototype to avoid an error. */
  6562. #ifdef __cplusplus
  6563. extern "C"
  6564. @@ -25760,11 +26983,20 @@
  6565. _ACEOF
  6566. rm -f conftest.$ac_objext conftest$ac_exeext
  6567. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6568. - (eval $ac_link) 2>&5
  6569. + (eval $ac_link) 2>conftest.er1
  6570. ac_status=$?
  6571. + grep -v '^ *+' conftest.er1 >conftest.err
  6572. + rm -f conftest.er1
  6573. + cat conftest.err >&5
  6574. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6575. (exit $ac_status); } &&
  6576. - { ac_try='test -s conftest$ac_exeext'
  6577. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6578. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6579. + (eval $ac_try) 2>&5
  6580. + ac_status=$?
  6581. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6582. + (exit $ac_status); }; } &&
  6583. + { ac_try='test -s conftest$ac_exeext'
  6584. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6585. (eval $ac_try) 2>&5
  6586. ac_status=$?
  6587. @@ -25777,7 +27009,8 @@
  6588. eval "$as_ac_var=no"
  6589. fi
  6590. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6591. +rm -f conftest.err conftest.$ac_objext \
  6592. + conftest$ac_exeext conftest.$ac_ext
  6593. fi
  6594. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6595. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6596. @@ -25795,7 +27028,6 @@
  6597. ac_check_lib_save_LIBS=$LIBS
  6598. LIBS="-lcompat $LIBS"
  6599. cat >conftest.$ac_ext <<_ACEOF
  6600. -#line $LINENO "configure"
  6601. /* confdefs.h. */
  6602. _ACEOF
  6603. cat confdefs.h >>conftest.$ac_ext
  6604. @@ -25819,11 +27051,20 @@
  6605. _ACEOF
  6606. rm -f conftest.$ac_objext conftest$ac_exeext
  6607. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6608. - (eval $ac_link) 2>&5
  6609. + (eval $ac_link) 2>conftest.er1
  6610. ac_status=$?
  6611. + grep -v '^ *+' conftest.er1 >conftest.err
  6612. + rm -f conftest.er1
  6613. + cat conftest.err >&5
  6614. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6615. (exit $ac_status); } &&
  6616. - { ac_try='test -s conftest$ac_exeext'
  6617. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6618. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6619. + (eval $ac_try) 2>&5
  6620. + ac_status=$?
  6621. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6622. + (exit $ac_status); }; } &&
  6623. + { ac_try='test -s conftest$ac_exeext'
  6624. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6625. (eval $ac_try) 2>&5
  6626. ac_status=$?
  6627. @@ -25836,7 +27077,8 @@
  6628. ac_cv_lib_compat_lsearch=no
  6629. fi
  6630. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6631. +rm -f conftest.err conftest.$ac_objext \
  6632. + conftest$ac_exeext conftest.$ac_ext
  6633. LIBS=$ac_check_lib_save_LIBS
  6634. fi
  6635. echo "$as_me:$LINENO: result: $ac_cv_lib_compat_lsearch" >&5
  6636. @@ -25848,7 +27090,6 @@
  6637. echo $ECHO_N "(cached) $ECHO_C" >&6
  6638. else
  6639. cat >conftest.$ac_ext <<_ACEOF
  6640. -#line $LINENO "configure"
  6641. /* confdefs.h. */
  6642. _ACEOF
  6643. cat confdefs.h >>conftest.$ac_ext
  6644. @@ -25866,6 +27107,7 @@
  6645. (exit $ac_status); } >/dev/null; then
  6646. if test -s conftest.err; then
  6647. ac_cpp_err=$ac_c_preproc_warn_flag
  6648. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  6649. else
  6650. ac_cpp_err=
  6651. fi
  6652. @@ -25890,12 +27132,26 @@
  6653. _ACEOF
  6654. LIBS="${LIBS} -lcompat"
  6655. else
  6656. - LIBOBJS="$LIBOBJS lsearch.$ac_objext"
  6657. + case $LIBOBJS in
  6658. + "lsearch.$ac_objext" | \
  6659. + *" lsearch.$ac_objext" | \
  6660. + "lsearch.$ac_objext "* | \
  6661. + *" lsearch.$ac_objext "* ) ;;
  6662. + *) LIBOBJS="$LIBOBJS lsearch.$ac_objext" ;;
  6663. +esac
  6664. +
  6665. fi
  6666. else
  6667. - LIBOBJS="$LIBOBJS lsearch.$ac_objext"
  6668. + case $LIBOBJS in
  6669. + "lsearch.$ac_objext" | \
  6670. + *" lsearch.$ac_objext" | \
  6671. + "lsearch.$ac_objext "* | \
  6672. + *" lsearch.$ac_objext "* ) ;;
  6673. + *) LIBOBJS="$LIBOBJS lsearch.$ac_objext" ;;
  6674. +esac
  6675. +
  6676. fi
  6677. fi
  6678. @@ -25911,21 +27167,28 @@
  6679. echo $ECHO_N "(cached) $ECHO_C" >&6
  6680. else
  6681. cat >conftest.$ac_ext <<_ACEOF
  6682. -#line $LINENO "configure"
  6683. /* confdefs.h. */
  6684. _ACEOF
  6685. cat confdefs.h >>conftest.$ac_ext
  6686. cat >>conftest.$ac_ext <<_ACEOF
  6687. /* end confdefs.h. */
  6688. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6689. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6690. +#define $ac_func innocuous_$ac_func
  6691. +
  6692. /* System header to define __stub macros and hopefully few prototypes,
  6693. which can conflict with char $ac_func (); below.
  6694. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6695. <limits.h> exists even on freestanding compilers. */
  6696. +
  6697. #ifdef __STDC__
  6698. # include <limits.h>
  6699. #else
  6700. # include <assert.h>
  6701. #endif
  6702. +
  6703. +#undef $ac_func
  6704. +
  6705. /* Override any gcc2 internal prototype to avoid an error. */
  6706. #ifdef __cplusplus
  6707. extern "C"
  6708. @@ -25956,11 +27219,20 @@
  6709. _ACEOF
  6710. rm -f conftest.$ac_objext conftest$ac_exeext
  6711. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6712. - (eval $ac_link) 2>&5
  6713. + (eval $ac_link) 2>conftest.er1
  6714. ac_status=$?
  6715. + grep -v '^ *+' conftest.er1 >conftest.err
  6716. + rm -f conftest.er1
  6717. + cat conftest.err >&5
  6718. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6719. (exit $ac_status); } &&
  6720. - { ac_try='test -s conftest$ac_exeext'
  6721. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6722. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6723. + (eval $ac_try) 2>&5
  6724. + ac_status=$?
  6725. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6726. + (exit $ac_status); }; } &&
  6727. + { ac_try='test -s conftest$ac_exeext'
  6728. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6729. (eval $ac_try) 2>&5
  6730. ac_status=$?
  6731. @@ -25973,7 +27245,8 @@
  6732. eval "$as_ac_var=no"
  6733. fi
  6734. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6735. +rm -f conftest.err conftest.$ac_objext \
  6736. + conftest$ac_exeext conftest.$ac_ext
  6737. fi
  6738. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6739. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6740. @@ -25992,21 +27265,28 @@
  6741. echo $ECHO_N "(cached) $ECHO_C" >&6
  6742. else
  6743. cat >conftest.$ac_ext <<_ACEOF
  6744. -#line $LINENO "configure"
  6745. /* confdefs.h. */
  6746. _ACEOF
  6747. cat confdefs.h >>conftest.$ac_ext
  6748. cat >>conftest.$ac_ext <<_ACEOF
  6749. /* end confdefs.h. */
  6750. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6751. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6752. +#define $ac_func innocuous_$ac_func
  6753. +
  6754. /* System header to define __stub macros and hopefully few prototypes,
  6755. which can conflict with char $ac_func (); below.
  6756. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6757. <limits.h> exists even on freestanding compilers. */
  6758. +
  6759. #ifdef __STDC__
  6760. # include <limits.h>
  6761. #else
  6762. # include <assert.h>
  6763. #endif
  6764. +
  6765. +#undef $ac_func
  6766. +
  6767. /* Override any gcc2 internal prototype to avoid an error. */
  6768. #ifdef __cplusplus
  6769. extern "C"
  6770. @@ -26037,11 +27317,20 @@
  6771. _ACEOF
  6772. rm -f conftest.$ac_objext conftest$ac_exeext
  6773. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6774. - (eval $ac_link) 2>&5
  6775. + (eval $ac_link) 2>conftest.er1
  6776. ac_status=$?
  6777. + grep -v '^ *+' conftest.er1 >conftest.err
  6778. + rm -f conftest.er1
  6779. + cat conftest.err >&5
  6780. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6781. (exit $ac_status); } &&
  6782. - { ac_try='test -s conftest$ac_exeext'
  6783. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6784. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6785. + (eval $ac_try) 2>&5
  6786. + ac_status=$?
  6787. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6788. + (exit $ac_status); }; } &&
  6789. + { ac_try='test -s conftest$ac_exeext'
  6790. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6791. (eval $ac_try) 2>&5
  6792. ac_status=$?
  6793. @@ -26054,7 +27343,8 @@
  6794. eval "$as_ac_var=no"
  6795. fi
  6796. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6797. +rm -f conftest.err conftest.$ac_objext \
  6798. + conftest$ac_exeext conftest.$ac_ext
  6799. fi
  6800. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6801. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6802. @@ -26077,21 +27367,28 @@
  6803. echo $ECHO_N "(cached) $ECHO_C" >&6
  6804. else
  6805. cat >conftest.$ac_ext <<_ACEOF
  6806. -#line $LINENO "configure"
  6807. /* confdefs.h. */
  6808. _ACEOF
  6809. cat confdefs.h >>conftest.$ac_ext
  6810. cat >>conftest.$ac_ext <<_ACEOF
  6811. /* end confdefs.h. */
  6812. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6813. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6814. +#define $ac_func innocuous_$ac_func
  6815. +
  6816. /* System header to define __stub macros and hopefully few prototypes,
  6817. which can conflict with char $ac_func (); below.
  6818. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6819. <limits.h> exists even on freestanding compilers. */
  6820. +
  6821. #ifdef __STDC__
  6822. # include <limits.h>
  6823. #else
  6824. # include <assert.h>
  6825. #endif
  6826. +
  6827. +#undef $ac_func
  6828. +
  6829. /* Override any gcc2 internal prototype to avoid an error. */
  6830. #ifdef __cplusplus
  6831. extern "C"
  6832. @@ -26122,11 +27419,20 @@
  6833. _ACEOF
  6834. rm -f conftest.$ac_objext conftest$ac_exeext
  6835. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6836. - (eval $ac_link) 2>&5
  6837. + (eval $ac_link) 2>conftest.er1
  6838. ac_status=$?
  6839. + grep -v '^ *+' conftest.er1 >conftest.err
  6840. + rm -f conftest.er1
  6841. + cat conftest.err >&5
  6842. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6843. (exit $ac_status); } &&
  6844. - { ac_try='test -s conftest$ac_exeext'
  6845. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6846. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6847. + (eval $ac_try) 2>&5
  6848. + ac_status=$?
  6849. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6850. + (exit $ac_status); }; } &&
  6851. + { ac_try='test -s conftest$ac_exeext'
  6852. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6853. (eval $ac_try) 2>&5
  6854. ac_status=$?
  6855. @@ -26139,7 +27445,8 @@
  6856. eval "$as_ac_var=no"
  6857. fi
  6858. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6859. +rm -f conftest.err conftest.$ac_objext \
  6860. + conftest$ac_exeext conftest.$ac_ext
  6861. fi
  6862. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6863. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6864. @@ -26150,7 +27457,14 @@
  6865. fi
  6866. done
  6867. - LIBOBJS="$LIBOBJS utimes.$ac_objext"
  6868. + case $LIBOBJS in
  6869. + "utimes.$ac_objext" | \
  6870. + *" utimes.$ac_objext" | \
  6871. + "utimes.$ac_objext "* | \
  6872. + *" utimes.$ac_objext "* ) ;;
  6873. + *) LIBOBJS="$LIBOBJS utimes.$ac_objext" ;;
  6874. +esac
  6875. +
  6876. fi
  6877. done
  6878. @@ -26164,7 +27478,6 @@
  6879. sudo_cv_func_fnmatch=no
  6880. else
  6881. cat >conftest.$ac_ext <<_ACEOF
  6882. -#line $LINENO "configure"
  6883. /* confdefs.h. */
  6884. _ACEOF
  6885. cat confdefs.h >>conftest.$ac_ext
  6886. @@ -26194,7 +27507,7 @@
  6887. ( exit $ac_status )
  6888. sudo_cv_func_fnmatch=no
  6889. fi
  6890. -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6891. +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6892. fi
  6893. rm -f core core.* *.core
  6894. fi
  6895. @@ -26206,7 +27519,14 @@
  6896. _ACEOF
  6897. else
  6898. - LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
  6899. + case $LIBOBJS in
  6900. + "fnmatch.$ac_objext" | \
  6901. + *" fnmatch.$ac_objext" | \
  6902. + "fnmatch.$ac_objext "* | \
  6903. + *" fnmatch.$ac_objext "* ) ;;
  6904. + *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" ;;
  6905. +esac
  6906. +
  6907. fi
  6908. echo "$as_me:$LINENO: checking for isblank" >&5
  6909. @@ -26215,7 +27535,6 @@
  6910. echo $ECHO_N "(cached) $ECHO_C" >&6
  6911. else
  6912. cat >conftest.$ac_ext <<_ACEOF
  6913. -#line $LINENO "configure"
  6914. /* confdefs.h. */
  6915. _ACEOF
  6916. cat confdefs.h >>conftest.$ac_ext
  6917. @@ -26232,11 +27551,20 @@
  6918. _ACEOF
  6919. rm -f conftest.$ac_objext conftest$ac_exeext
  6920. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6921. - (eval $ac_link) 2>&5
  6922. + (eval $ac_link) 2>conftest.er1
  6923. ac_status=$?
  6924. + grep -v '^ *+' conftest.er1 >conftest.err
  6925. + rm -f conftest.er1
  6926. + cat conftest.err >&5
  6927. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6928. (exit $ac_status); } &&
  6929. - { ac_try='test -s conftest$ac_exeext'
  6930. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6931. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6932. + (eval $ac_try) 2>&5
  6933. + ac_status=$?
  6934. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6935. + (exit $ac_status); }; } &&
  6936. + { ac_try='test -s conftest$ac_exeext'
  6937. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6938. (eval $ac_try) 2>&5
  6939. ac_status=$?
  6940. @@ -26249,7 +27577,8 @@
  6941. sudo_cv_func_isblank=no
  6942. fi
  6943. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  6944. +rm -f conftest.err conftest.$ac_objext \
  6945. + conftest$ac_exeext conftest.$ac_ext
  6946. fi
  6947. echo "$as_me:$LINENO: result: $sudo_cv_func_isblank" >&5
  6948. echo "${ECHO_T}$sudo_cv_func_isblank" >&6
  6949. @@ -26277,21 +27606,28 @@
  6950. echo $ECHO_N "(cached) $ECHO_C" >&6
  6951. else
  6952. cat >conftest.$ac_ext <<_ACEOF
  6953. -#line $LINENO "configure"
  6954. /* confdefs.h. */
  6955. _ACEOF
  6956. cat confdefs.h >>conftest.$ac_ext
  6957. cat >>conftest.$ac_ext <<_ACEOF
  6958. /* end confdefs.h. */
  6959. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6960. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6961. +#define $ac_func innocuous_$ac_func
  6962. +
  6963. /* System header to define __stub macros and hopefully few prototypes,
  6964. which can conflict with char $ac_func (); below.
  6965. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6966. <limits.h> exists even on freestanding compilers. */
  6967. +
  6968. #ifdef __STDC__
  6969. # include <limits.h>
  6970. #else
  6971. # include <assert.h>
  6972. #endif
  6973. +
  6974. +#undef $ac_func
  6975. +
  6976. /* Override any gcc2 internal prototype to avoid an error. */
  6977. #ifdef __cplusplus
  6978. extern "C"
  6979. @@ -26322,11 +27658,20 @@
  6980. _ACEOF
  6981. rm -f conftest.$ac_objext conftest$ac_exeext
  6982. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6983. - (eval $ac_link) 2>&5
  6984. + (eval $ac_link) 2>conftest.er1
  6985. ac_status=$?
  6986. + grep -v '^ *+' conftest.er1 >conftest.err
  6987. + rm -f conftest.er1
  6988. + cat conftest.err >&5
  6989. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6990. (exit $ac_status); } &&
  6991. - { ac_try='test -s conftest$ac_exeext'
  6992. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6993. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6994. + (eval $ac_try) 2>&5
  6995. + ac_status=$?
  6996. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6997. + (exit $ac_status); }; } &&
  6998. + { ac_try='test -s conftest$ac_exeext'
  6999. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7000. (eval $ac_try) 2>&5
  7001. ac_status=$?
  7002. @@ -26339,7 +27684,8 @@
  7003. eval "$as_ac_var=no"
  7004. fi
  7005. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7006. +rm -f conftest.err conftest.$ac_objext \
  7007. + conftest$ac_exeext conftest.$ac_ext
  7008. fi
  7009. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  7010. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  7011. @@ -26349,7 +27695,14 @@
  7012. _ACEOF
  7013. else
  7014. - LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
  7015. + case $LIBOBJS in
  7016. + "$ac_func.$ac_objext" | \
  7017. + *" $ac_func.$ac_objext" | \
  7018. + "$ac_func.$ac_objext "* | \
  7019. + *" $ac_func.$ac_objext "* ) ;;
  7020. + *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
  7021. +esac
  7022. +
  7023. fi
  7024. done
  7025. @@ -26367,21 +27720,28 @@
  7026. echo $ECHO_N "(cached) $ECHO_C" >&6
  7027. else
  7028. cat >conftest.$ac_ext <<_ACEOF
  7029. -#line $LINENO "configure"
  7030. /* confdefs.h. */
  7031. _ACEOF
  7032. cat confdefs.h >>conftest.$ac_ext
  7033. cat >>conftest.$ac_ext <<_ACEOF
  7034. /* end confdefs.h. */
  7035. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  7036. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7037. +#define $ac_func innocuous_$ac_func
  7038. +
  7039. /* System header to define __stub macros and hopefully few prototypes,
  7040. which can conflict with char $ac_func (); below.
  7041. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7042. <limits.h> exists even on freestanding compilers. */
  7043. +
  7044. #ifdef __STDC__
  7045. # include <limits.h>
  7046. #else
  7047. # include <assert.h>
  7048. #endif
  7049. +
  7050. +#undef $ac_func
  7051. +
  7052. /* Override any gcc2 internal prototype to avoid an error. */
  7053. #ifdef __cplusplus
  7054. extern "C"
  7055. @@ -26412,11 +27772,20 @@
  7056. _ACEOF
  7057. rm -f conftest.$ac_objext conftest$ac_exeext
  7058. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7059. - (eval $ac_link) 2>&5
  7060. + (eval $ac_link) 2>conftest.er1
  7061. ac_status=$?
  7062. + grep -v '^ *+' conftest.er1 >conftest.err
  7063. + rm -f conftest.er1
  7064. + cat conftest.err >&5
  7065. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7066. (exit $ac_status); } &&
  7067. - { ac_try='test -s conftest$ac_exeext'
  7068. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7069. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7070. + (eval $ac_try) 2>&5
  7071. + ac_status=$?
  7072. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7073. + (exit $ac_status); }; } &&
  7074. + { ac_try='test -s conftest$ac_exeext'
  7075. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7076. (eval $ac_try) 2>&5
  7077. ac_status=$?
  7078. @@ -26429,7 +27798,8 @@
  7079. eval "$as_ac_var=no"
  7080. fi
  7081. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7082. +rm -f conftest.err conftest.$ac_objext \
  7083. + conftest$ac_exeext conftest.$ac_ext
  7084. fi
  7085. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  7086. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  7087. @@ -26450,7 +27820,6 @@
  7088. echo $ECHO_N "(cached) $ECHO_C" >&6
  7089. else
  7090. cat >conftest.$ac_ext <<_ACEOF
  7091. -#line $LINENO "configure"
  7092. /* confdefs.h. */
  7093. _ACEOF
  7094. cat confdefs.h >>conftest.$ac_ext
  7095. @@ -26469,11 +27838,20 @@
  7096. _ACEOF
  7097. rm -f conftest.$ac_objext
  7098. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7099. - (eval $ac_compile) 2>&5
  7100. + (eval $ac_compile) 2>conftest.er1
  7101. ac_status=$?
  7102. + grep -v '^ *+' conftest.er1 >conftest.err
  7103. + rm -f conftest.er1
  7104. + cat conftest.err >&5
  7105. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7106. (exit $ac_status); } &&
  7107. - { ac_try='test -s conftest.$ac_objext'
  7108. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7109. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7110. + (eval $ac_try) 2>&5
  7111. + ac_status=$?
  7112. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7113. + (exit $ac_status); }; } &&
  7114. + { ac_try='test -s conftest.$ac_objext'
  7115. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7116. (eval $ac_try) 2>&5
  7117. ac_status=$?
  7118. @@ -26485,7 +27863,6 @@
  7119. sed 's/^/| /' conftest.$ac_ext >&5
  7120. cat >conftest.$ac_ext <<_ACEOF
  7121. -#line $LINENO "configure"
  7122. /* confdefs.h. */
  7123. _ACEOF
  7124. cat confdefs.h >>conftest.$ac_ext
  7125. @@ -26504,11 +27881,20 @@
  7126. _ACEOF
  7127. rm -f conftest.$ac_objext
  7128. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7129. - (eval $ac_compile) 2>&5
  7130. + (eval $ac_compile) 2>conftest.er1
  7131. ac_status=$?
  7132. + grep -v '^ *+' conftest.er1 >conftest.err
  7133. + rm -f conftest.er1
  7134. + cat conftest.err >&5
  7135. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7136. (exit $ac_status); } &&
  7137. - { ac_try='test -s conftest.$ac_objext'
  7138. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7139. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7140. + (eval $ac_try) 2>&5
  7141. + ac_status=$?
  7142. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7143. + (exit $ac_status); }; } &&
  7144. + { ac_try='test -s conftest.$ac_objext'
  7145. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7146. (eval $ac_try) 2>&5
  7147. ac_status=$?
  7148. @@ -26521,9 +27907,9 @@
  7149. ac_cv_member_struct_stat_st_mtim=no
  7150. fi
  7151. -rm -f conftest.$ac_objext conftest.$ac_ext
  7152. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7153. fi
  7154. -rm -f conftest.$ac_objext conftest.$ac_ext
  7155. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7156. fi
  7157. echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim" >&5
  7158. echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim" >&6
  7159. @@ -26539,7 +27925,6 @@
  7160. echo $ECHO_N "(cached) $ECHO_C" >&6
  7161. else
  7162. cat >conftest.$ac_ext <<_ACEOF
  7163. -#line $LINENO "configure"
  7164. /* confdefs.h. */
  7165. _ACEOF
  7166. cat confdefs.h >>conftest.$ac_ext
  7167. @@ -26558,11 +27943,20 @@
  7168. _ACEOF
  7169. rm -f conftest.$ac_objext
  7170. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7171. - (eval $ac_compile) 2>&5
  7172. + (eval $ac_compile) 2>conftest.er1
  7173. ac_status=$?
  7174. + grep -v '^ *+' conftest.er1 >conftest.err
  7175. + rm -f conftest.er1
  7176. + cat conftest.err >&5
  7177. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7178. (exit $ac_status); } &&
  7179. - { ac_try='test -s conftest.$ac_objext'
  7180. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7181. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7182. + (eval $ac_try) 2>&5
  7183. + ac_status=$?
  7184. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7185. + (exit $ac_status); }; } &&
  7186. + { ac_try='test -s conftest.$ac_objext'
  7187. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7188. (eval $ac_try) 2>&5
  7189. ac_status=$?
  7190. @@ -26574,7 +27968,6 @@
  7191. sed 's/^/| /' conftest.$ac_ext >&5
  7192. cat >conftest.$ac_ext <<_ACEOF
  7193. -#line $LINENO "configure"
  7194. /* confdefs.h. */
  7195. _ACEOF
  7196. cat confdefs.h >>conftest.$ac_ext
  7197. @@ -26593,11 +27986,20 @@
  7198. _ACEOF
  7199. rm -f conftest.$ac_objext
  7200. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7201. - (eval $ac_compile) 2>&5
  7202. + (eval $ac_compile) 2>conftest.er1
  7203. ac_status=$?
  7204. + grep -v '^ *+' conftest.er1 >conftest.err
  7205. + rm -f conftest.er1
  7206. + cat conftest.err >&5
  7207. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7208. (exit $ac_status); } &&
  7209. - { ac_try='test -s conftest.$ac_objext'
  7210. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7211. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7212. + (eval $ac_try) 2>&5
  7213. + ac_status=$?
  7214. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7215. + (exit $ac_status); }; } &&
  7216. + { ac_try='test -s conftest.$ac_objext'
  7217. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7218. (eval $ac_try) 2>&5
  7219. ac_status=$?
  7220. @@ -26610,9 +28012,9 @@
  7221. ac_cv_member_struct_stat_st_mtimespec=no
  7222. fi
  7223. -rm -f conftest.$ac_objext conftest.$ac_ext
  7224. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7225. fi
  7226. -rm -f conftest.$ac_objext conftest.$ac_ext
  7227. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7228. fi
  7229. echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimespec" >&5
  7230. echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimespec" >&6
  7231. @@ -26628,7 +28030,6 @@
  7232. echo "$as_me:$LINENO: checking for two-parameter timespecsub" >&5
  7233. echo $ECHO_N "checking for two-parameter timespecsub... $ECHO_C" >&6
  7234. cat >conftest.$ac_ext <<_ACEOF
  7235. -#line $LINENO "configure"
  7236. /* confdefs.h. */
  7237. _ACEOF
  7238. cat confdefs.h >>conftest.$ac_ext
  7239. @@ -26651,11 +28052,20 @@
  7240. _ACEOF
  7241. rm -f conftest.$ac_objext
  7242. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7243. - (eval $ac_compile) 2>&5
  7244. + (eval $ac_compile) 2>conftest.er1
  7245. ac_status=$?
  7246. + grep -v '^ *+' conftest.er1 >conftest.err
  7247. + rm -f conftest.er1
  7248. + cat conftest.err >&5
  7249. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7250. (exit $ac_status); } &&
  7251. - { ac_try='test -s conftest.$ac_objext'
  7252. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7253. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7254. + (eval $ac_try) 2>&5
  7255. + ac_status=$?
  7256. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7257. + (exit $ac_status); }; } &&
  7258. + { ac_try='test -s conftest.$ac_objext'
  7259. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7260. (eval $ac_try) 2>&5
  7261. ac_status=$?
  7262. @@ -26674,10 +28084,9 @@
  7263. echo "$as_me:$LINENO: result: no" >&5
  7264. echo "${ECHO_T}no" >&6
  7265. fi
  7266. -rm -f conftest.$ac_objext conftest.$ac_ext
  7267. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7268. fi
  7269. cat >conftest.$ac_ext <<_ACEOF
  7270. -#line $LINENO "configure"
  7271. /* confdefs.h. */
  7272. _ACEOF
  7273. cat confdefs.h >>conftest.$ac_ext
  7274. @@ -26695,11 +28104,20 @@
  7275. _ACEOF
  7276. rm -f conftest.$ac_objext conftest$ac_exeext
  7277. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7278. - (eval $ac_link) 2>&5
  7279. + (eval $ac_link) 2>conftest.er1
  7280. ac_status=$?
  7281. + grep -v '^ *+' conftest.er1 >conftest.err
  7282. + rm -f conftest.er1
  7283. + cat conftest.err >&5
  7284. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7285. (exit $ac_status); } &&
  7286. - { ac_try='test -s conftest$ac_exeext'
  7287. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7288. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7289. + (eval $ac_try) 2>&5
  7290. + ac_status=$?
  7291. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7292. + (exit $ac_status); }; } &&
  7293. + { ac_try='test -s conftest$ac_exeext'
  7294. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7295. (eval $ac_try) 2>&5
  7296. ac_status=$?
  7297. @@ -26714,7 +28132,6 @@
  7298. sed 's/^/| /' conftest.$ac_ext >&5
  7299. cat >conftest.$ac_ext <<_ACEOF
  7300. -#line $LINENO "configure"
  7301. /* confdefs.h. */
  7302. _ACEOF
  7303. cat confdefs.h >>conftest.$ac_ext
  7304. @@ -26732,11 +28149,20 @@
  7305. _ACEOF
  7306. rm -f conftest.$ac_objext conftest$ac_exeext
  7307. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7308. - (eval $ac_link) 2>&5
  7309. + (eval $ac_link) 2>conftest.er1
  7310. ac_status=$?
  7311. + grep -v '^ *+' conftest.er1 >conftest.err
  7312. + rm -f conftest.er1
  7313. + cat conftest.err >&5
  7314. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7315. (exit $ac_status); } &&
  7316. - { ac_try='test -s conftest$ac_exeext'
  7317. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7318. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7319. + (eval $ac_try) 2>&5
  7320. + ac_status=$?
  7321. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7322. + (exit $ac_status); }; } &&
  7323. + { ac_try='test -s conftest$ac_exeext'
  7324. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7325. (eval $ac_try) 2>&5
  7326. ac_status=$?
  7327. @@ -26751,11 +28177,20 @@
  7328. sed 's/^/| /' conftest.$ac_ext >&5
  7329. fi
  7330. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7331. +rm -f conftest.err conftest.$ac_objext \
  7332. + conftest$ac_exeext conftest.$ac_ext
  7333. fi
  7334. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7335. +rm -f conftest.err conftest.$ac_objext \
  7336. + conftest$ac_exeext conftest.$ac_ext
  7337. if test -n "$NEED_SNPRINTF"; then
  7338. - LIBOBJS="$LIBOBJS snprintf.$ac_objext"
  7339. + case $LIBOBJS in
  7340. + "snprintf.$ac_objext" | \
  7341. + *" snprintf.$ac_objext" | \
  7342. + "snprintf.$ac_objext "* | \
  7343. + *" snprintf.$ac_objext "* ) ;;
  7344. + *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;;
  7345. +esac
  7346. +
  7347. fi
  7348. if test -z "$LIB_CRYPT" -a "$with_pam" != "yes"; then
  7349. echo "$as_me:$LINENO: checking for crypt" >&5
  7350. @@ -26764,21 +28199,28 @@
  7351. echo $ECHO_N "(cached) $ECHO_C" >&6
  7352. else
  7353. cat >conftest.$ac_ext <<_ACEOF
  7354. -#line $LINENO "configure"
  7355. /* confdefs.h. */
  7356. _ACEOF
  7357. cat confdefs.h >>conftest.$ac_ext
  7358. cat >>conftest.$ac_ext <<_ACEOF
  7359. /* end confdefs.h. */
  7360. +/* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
  7361. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7362. +#define crypt innocuous_crypt
  7363. +
  7364. /* System header to define __stub macros and hopefully few prototypes,
  7365. which can conflict with char crypt (); below.
  7366. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7367. <limits.h> exists even on freestanding compilers. */
  7368. +
  7369. #ifdef __STDC__
  7370. # include <limits.h>
  7371. #else
  7372. # include <assert.h>
  7373. #endif
  7374. +
  7375. +#undef crypt
  7376. +
  7377. /* Override any gcc2 internal prototype to avoid an error. */
  7378. #ifdef __cplusplus
  7379. extern "C"
  7380. @@ -26809,11 +28251,20 @@
  7381. _ACEOF
  7382. rm -f conftest.$ac_objext conftest$ac_exeext
  7383. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7384. - (eval $ac_link) 2>&5
  7385. + (eval $ac_link) 2>conftest.er1
  7386. ac_status=$?
  7387. + grep -v '^ *+' conftest.er1 >conftest.err
  7388. + rm -f conftest.er1
  7389. + cat conftest.err >&5
  7390. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7391. (exit $ac_status); } &&
  7392. - { ac_try='test -s conftest$ac_exeext'
  7393. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7394. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7395. + (eval $ac_try) 2>&5
  7396. + ac_status=$?
  7397. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7398. + (exit $ac_status); }; } &&
  7399. + { ac_try='test -s conftest$ac_exeext'
  7400. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7401. (eval $ac_try) 2>&5
  7402. ac_status=$?
  7403. @@ -26826,7 +28277,8 @@
  7404. ac_cv_func_crypt=no
  7405. fi
  7406. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7407. +rm -f conftest.err conftest.$ac_objext \
  7408. + conftest$ac_exeext conftest.$ac_ext
  7409. fi
  7410. echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
  7411. echo "${ECHO_T}$ac_cv_func_crypt" >&6
  7412. @@ -26841,7 +28293,6 @@
  7413. ac_check_lib_save_LIBS=$LIBS
  7414. LIBS="-lcrypt $LIBS"
  7415. cat >conftest.$ac_ext <<_ACEOF
  7416. -#line $LINENO "configure"
  7417. /* confdefs.h. */
  7418. _ACEOF
  7419. cat confdefs.h >>conftest.$ac_ext
  7420. @@ -26865,11 +28316,20 @@
  7421. _ACEOF
  7422. rm -f conftest.$ac_objext conftest$ac_exeext
  7423. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7424. - (eval $ac_link) 2>&5
  7425. + (eval $ac_link) 2>conftest.er1
  7426. ac_status=$?
  7427. + grep -v '^ *+' conftest.er1 >conftest.err
  7428. + rm -f conftest.er1
  7429. + cat conftest.err >&5
  7430. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7431. (exit $ac_status); } &&
  7432. - { ac_try='test -s conftest$ac_exeext'
  7433. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7434. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7435. + (eval $ac_try) 2>&5
  7436. + ac_status=$?
  7437. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7438. + (exit $ac_status); }; } &&
  7439. + { ac_try='test -s conftest$ac_exeext'
  7440. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7441. (eval $ac_try) 2>&5
  7442. ac_status=$?
  7443. @@ -26882,7 +28342,8 @@
  7444. ac_cv_lib_crypt_crypt=no
  7445. fi
  7446. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7447. +rm -f conftest.err conftest.$ac_objext \
  7448. + conftest$ac_exeext conftest.$ac_ext
  7449. LIBS=$ac_check_lib_save_LIBS
  7450. fi
  7451. echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
  7452. @@ -26898,7 +28359,6 @@
  7453. ac_check_lib_save_LIBS=$LIBS
  7454. LIBS="-lcrypt_d $LIBS"
  7455. cat >conftest.$ac_ext <<_ACEOF
  7456. -#line $LINENO "configure"
  7457. /* confdefs.h. */
  7458. _ACEOF
  7459. cat confdefs.h >>conftest.$ac_ext
  7460. @@ -26922,11 +28382,20 @@
  7461. _ACEOF
  7462. rm -f conftest.$ac_objext conftest$ac_exeext
  7463. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7464. - (eval $ac_link) 2>&5
  7465. + (eval $ac_link) 2>conftest.er1
  7466. ac_status=$?
  7467. + grep -v '^ *+' conftest.er1 >conftest.err
  7468. + rm -f conftest.er1
  7469. + cat conftest.err >&5
  7470. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7471. (exit $ac_status); } &&
  7472. - { ac_try='test -s conftest$ac_exeext'
  7473. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7474. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7475. + (eval $ac_try) 2>&5
  7476. + ac_status=$?
  7477. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7478. + (exit $ac_status); }; } &&
  7479. + { ac_try='test -s conftest$ac_exeext'
  7480. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7481. (eval $ac_try) 2>&5
  7482. ac_status=$?
  7483. @@ -26939,7 +28408,8 @@
  7484. ac_cv_lib_crypt_d_crypt=no
  7485. fi
  7486. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7487. +rm -f conftest.err conftest.$ac_objext \
  7488. + conftest$ac_exeext conftest.$ac_ext
  7489. LIBS=$ac_check_lib_save_LIBS
  7490. fi
  7491. echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_d_crypt" >&5
  7492. @@ -26955,7 +28425,6 @@
  7493. ac_check_lib_save_LIBS=$LIBS
  7494. LIBS="-lufc $LIBS"
  7495. cat >conftest.$ac_ext <<_ACEOF
  7496. -#line $LINENO "configure"
  7497. /* confdefs.h. */
  7498. _ACEOF
  7499. cat confdefs.h >>conftest.$ac_ext
  7500. @@ -26979,11 +28448,20 @@
  7501. _ACEOF
  7502. rm -f conftest.$ac_objext conftest$ac_exeext
  7503. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7504. - (eval $ac_link) 2>&5
  7505. + (eval $ac_link) 2>conftest.er1
  7506. ac_status=$?
  7507. + grep -v '^ *+' conftest.er1 >conftest.err
  7508. + rm -f conftest.er1
  7509. + cat conftest.err >&5
  7510. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7511. (exit $ac_status); } &&
  7512. - { ac_try='test -s conftest$ac_exeext'
  7513. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7514. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7515. + (eval $ac_try) 2>&5
  7516. + ac_status=$?
  7517. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7518. + (exit $ac_status); }; } &&
  7519. + { ac_try='test -s conftest$ac_exeext'
  7520. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7521. (eval $ac_try) 2>&5
  7522. ac_status=$?
  7523. @@ -26996,7 +28474,8 @@
  7524. ac_cv_lib_ufc_crypt=no
  7525. fi
  7526. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7527. +rm -f conftest.err conftest.$ac_objext \
  7528. + conftest$ac_exeext conftest.$ac_ext
  7529. LIBS=$ac_check_lib_save_LIBS
  7530. fi
  7531. echo "$as_me:$LINENO: result: $ac_cv_lib_ufc_crypt" >&5
  7532. @@ -27018,21 +28497,28 @@
  7533. echo $ECHO_N "(cached) $ECHO_C" >&6
  7534. else
  7535. cat >conftest.$ac_ext <<_ACEOF
  7536. -#line $LINENO "configure"
  7537. /* confdefs.h. */
  7538. _ACEOF
  7539. cat confdefs.h >>conftest.$ac_ext
  7540. cat >>conftest.$ac_ext <<_ACEOF
  7541. /* end confdefs.h. */
  7542. +/* Define socket to an innocuous variant, in case <limits.h> declares socket.
  7543. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7544. +#define socket innocuous_socket
  7545. +
  7546. /* System header to define __stub macros and hopefully few prototypes,
  7547. which can conflict with char socket (); below.
  7548. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7549. <limits.h> exists even on freestanding compilers. */
  7550. +
  7551. #ifdef __STDC__
  7552. # include <limits.h>
  7553. #else
  7554. # include <assert.h>
  7555. #endif
  7556. +
  7557. +#undef socket
  7558. +
  7559. /* Override any gcc2 internal prototype to avoid an error. */
  7560. #ifdef __cplusplus
  7561. extern "C"
  7562. @@ -27063,11 +28549,20 @@
  7563. _ACEOF
  7564. rm -f conftest.$ac_objext conftest$ac_exeext
  7565. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7566. - (eval $ac_link) 2>&5
  7567. + (eval $ac_link) 2>conftest.er1
  7568. ac_status=$?
  7569. + grep -v '^ *+' conftest.er1 >conftest.err
  7570. + rm -f conftest.er1
  7571. + cat conftest.err >&5
  7572. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7573. (exit $ac_status); } &&
  7574. - { ac_try='test -s conftest$ac_exeext'
  7575. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7576. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7577. + (eval $ac_try) 2>&5
  7578. + ac_status=$?
  7579. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7580. + (exit $ac_status); }; } &&
  7581. + { ac_try='test -s conftest$ac_exeext'
  7582. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7583. (eval $ac_try) 2>&5
  7584. ac_status=$?
  7585. @@ -27080,7 +28575,8 @@
  7586. ac_cv_func_socket=no
  7587. fi
  7588. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7589. +rm -f conftest.err conftest.$ac_objext \
  7590. + conftest$ac_exeext conftest.$ac_ext
  7591. fi
  7592. echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
  7593. echo "${ECHO_T}$ac_cv_func_socket" >&6
  7594. @@ -27095,7 +28591,6 @@
  7595. ac_check_lib_save_LIBS=$LIBS
  7596. LIBS="-lsocket $LIBS"
  7597. cat >conftest.$ac_ext <<_ACEOF
  7598. -#line $LINENO "configure"
  7599. /* confdefs.h. */
  7600. _ACEOF
  7601. cat confdefs.h >>conftest.$ac_ext
  7602. @@ -27119,11 +28614,20 @@
  7603. _ACEOF
  7604. rm -f conftest.$ac_objext conftest$ac_exeext
  7605. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7606. - (eval $ac_link) 2>&5
  7607. + (eval $ac_link) 2>conftest.er1
  7608. ac_status=$?
  7609. + grep -v '^ *+' conftest.er1 >conftest.err
  7610. + rm -f conftest.er1
  7611. + cat conftest.err >&5
  7612. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7613. (exit $ac_status); } &&
  7614. - { ac_try='test -s conftest$ac_exeext'
  7615. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7616. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7617. + (eval $ac_try) 2>&5
  7618. + ac_status=$?
  7619. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7620. + (exit $ac_status); }; } &&
  7621. + { ac_try='test -s conftest$ac_exeext'
  7622. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7623. (eval $ac_try) 2>&5
  7624. ac_status=$?
  7625. @@ -27136,7 +28640,8 @@
  7626. ac_cv_lib_socket_socket=no
  7627. fi
  7628. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7629. +rm -f conftest.err conftest.$ac_objext \
  7630. + conftest$ac_exeext conftest.$ac_ext
  7631. LIBS=$ac_check_lib_save_LIBS
  7632. fi
  7633. echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
  7634. @@ -27152,7 +28657,6 @@
  7635. ac_check_lib_save_LIBS=$LIBS
  7636. LIBS="-linet $LIBS"
  7637. cat >conftest.$ac_ext <<_ACEOF
  7638. -#line $LINENO "configure"
  7639. /* confdefs.h. */
  7640. _ACEOF
  7641. cat confdefs.h >>conftest.$ac_ext
  7642. @@ -27176,11 +28680,20 @@
  7643. _ACEOF
  7644. rm -f conftest.$ac_objext conftest$ac_exeext
  7645. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7646. - (eval $ac_link) 2>&5
  7647. + (eval $ac_link) 2>conftest.er1
  7648. ac_status=$?
  7649. + grep -v '^ *+' conftest.er1 >conftest.err
  7650. + rm -f conftest.er1
  7651. + cat conftest.err >&5
  7652. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7653. (exit $ac_status); } &&
  7654. - { ac_try='test -s conftest$ac_exeext'
  7655. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7656. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7657. + (eval $ac_try) 2>&5
  7658. + ac_status=$?
  7659. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7660. + (exit $ac_status); }; } &&
  7661. + { ac_try='test -s conftest$ac_exeext'
  7662. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7663. (eval $ac_try) 2>&5
  7664. ac_status=$?
  7665. @@ -27193,7 +28706,8 @@
  7666. ac_cv_lib_inet_socket=no
  7667. fi
  7668. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7669. +rm -f conftest.err conftest.$ac_objext \
  7670. + conftest$ac_exeext conftest.$ac_ext
  7671. LIBS=$ac_check_lib_save_LIBS
  7672. fi
  7673. echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
  7674. @@ -27205,13 +28719,12 @@
  7675. echo "$as_me: WARNING: unable to find socket() trying -lsocket -lnsl" >&2;}
  7676. echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
  7677. echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
  7678. -if test "${ac_cv_lib_socket_socket_lnsl+set}" = set; then
  7679. +if test "${ac_cv_lib_socket_socket+set}" = set; then
  7680. echo $ECHO_N "(cached) $ECHO_C" >&6
  7681. else
  7682. ac_check_lib_save_LIBS=$LIBS
  7683. LIBS="-lsocket -lnsl $LIBS"
  7684. cat >conftest.$ac_ext <<_ACEOF
  7685. -#line $LINENO "configure"
  7686. /* confdefs.h. */
  7687. _ACEOF
  7688. cat confdefs.h >>conftest.$ac_ext
  7689. @@ -27235,29 +28748,39 @@
  7690. _ACEOF
  7691. rm -f conftest.$ac_objext conftest$ac_exeext
  7692. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7693. - (eval $ac_link) 2>&5
  7694. + (eval $ac_link) 2>conftest.er1
  7695. ac_status=$?
  7696. + grep -v '^ *+' conftest.er1 >conftest.err
  7697. + rm -f conftest.er1
  7698. + cat conftest.err >&5
  7699. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7700. (exit $ac_status); } &&
  7701. - { ac_try='test -s conftest$ac_exeext'
  7702. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7703. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7704. + (eval $ac_try) 2>&5
  7705. + ac_status=$?
  7706. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7707. + (exit $ac_status); }; } &&
  7708. + { ac_try='test -s conftest$ac_exeext'
  7709. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7710. (eval $ac_try) 2>&5
  7711. ac_status=$?
  7712. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7713. (exit $ac_status); }; }; then
  7714. - ac_cv_lib_socket_socket_lnsl=yes
  7715. + ac_cv_lib_socket_socket=yes
  7716. else
  7717. echo "$as_me: failed program was:" >&5
  7718. sed 's/^/| /' conftest.$ac_ext >&5
  7719. -ac_cv_lib_socket_socket_lnsl=no
  7720. +ac_cv_lib_socket_socket=no
  7721. fi
  7722. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7723. +rm -f conftest.err conftest.$ac_objext \
  7724. + conftest$ac_exeext conftest.$ac_ext
  7725. LIBS=$ac_check_lib_save_LIBS
  7726. fi
  7727. -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket_lnsl" >&5
  7728. -echo "${ECHO_T}$ac_cv_lib_socket_socket_lnsl" >&6
  7729. -if test $ac_cv_lib_socket_socket_lnsl = yes; then
  7730. +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
  7731. +echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
  7732. +if test $ac_cv_lib_socket_socket = yes; then
  7733. NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
  7734. fi
  7735. @@ -27273,21 +28796,28 @@
  7736. echo $ECHO_N "(cached) $ECHO_C" >&6
  7737. else
  7738. cat >conftest.$ac_ext <<_ACEOF
  7739. -#line $LINENO "configure"
  7740. /* confdefs.h. */
  7741. _ACEOF
  7742. cat confdefs.h >>conftest.$ac_ext
  7743. cat >>conftest.$ac_ext <<_ACEOF
  7744. /* end confdefs.h. */
  7745. +/* Define inet_addr to an innocuous variant, in case <limits.h> declares inet_addr.
  7746. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7747. +#define inet_addr innocuous_inet_addr
  7748. +
  7749. /* System header to define __stub macros and hopefully few prototypes,
  7750. which can conflict with char inet_addr (); below.
  7751. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7752. <limits.h> exists even on freestanding compilers. */
  7753. +
  7754. #ifdef __STDC__
  7755. # include <limits.h>
  7756. #else
  7757. # include <assert.h>
  7758. #endif
  7759. +
  7760. +#undef inet_addr
  7761. +
  7762. /* Override any gcc2 internal prototype to avoid an error. */
  7763. #ifdef __cplusplus
  7764. extern "C"
  7765. @@ -27318,11 +28848,20 @@
  7766. _ACEOF
  7767. rm -f conftest.$ac_objext conftest$ac_exeext
  7768. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7769. - (eval $ac_link) 2>&5
  7770. + (eval $ac_link) 2>conftest.er1
  7771. ac_status=$?
  7772. + grep -v '^ *+' conftest.er1 >conftest.err
  7773. + rm -f conftest.er1
  7774. + cat conftest.err >&5
  7775. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7776. (exit $ac_status); } &&
  7777. - { ac_try='test -s conftest$ac_exeext'
  7778. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7779. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7780. + (eval $ac_try) 2>&5
  7781. + ac_status=$?
  7782. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7783. + (exit $ac_status); }; } &&
  7784. + { ac_try='test -s conftest$ac_exeext'
  7785. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7786. (eval $ac_try) 2>&5
  7787. ac_status=$?
  7788. @@ -27335,7 +28874,8 @@
  7789. ac_cv_func_inet_addr=no
  7790. fi
  7791. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7792. +rm -f conftest.err conftest.$ac_objext \
  7793. + conftest$ac_exeext conftest.$ac_ext
  7794. fi
  7795. echo "$as_me:$LINENO: result: $ac_cv_func_inet_addr" >&5
  7796. echo "${ECHO_T}$ac_cv_func_inet_addr" >&6
  7797. @@ -27348,21 +28888,28 @@
  7798. echo $ECHO_N "(cached) $ECHO_C" >&6
  7799. else
  7800. cat >conftest.$ac_ext <<_ACEOF
  7801. -#line $LINENO "configure"
  7802. /* confdefs.h. */
  7803. _ACEOF
  7804. cat confdefs.h >>conftest.$ac_ext
  7805. cat >>conftest.$ac_ext <<_ACEOF
  7806. /* end confdefs.h. */
  7807. +/* Define __inet_addr to an innocuous variant, in case <limits.h> declares __inet_addr.
  7808. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7809. +#define __inet_addr innocuous___inet_addr
  7810. +
  7811. /* System header to define __stub macros and hopefully few prototypes,
  7812. which can conflict with char __inet_addr (); below.
  7813. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7814. <limits.h> exists even on freestanding compilers. */
  7815. +
  7816. #ifdef __STDC__
  7817. # include <limits.h>
  7818. #else
  7819. # include <assert.h>
  7820. #endif
  7821. +
  7822. +#undef __inet_addr
  7823. +
  7824. /* Override any gcc2 internal prototype to avoid an error. */
  7825. #ifdef __cplusplus
  7826. extern "C"
  7827. @@ -27393,11 +28940,20 @@
  7828. _ACEOF
  7829. rm -f conftest.$ac_objext conftest$ac_exeext
  7830. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7831. - (eval $ac_link) 2>&5
  7832. + (eval $ac_link) 2>conftest.er1
  7833. ac_status=$?
  7834. + grep -v '^ *+' conftest.er1 >conftest.err
  7835. + rm -f conftest.er1
  7836. + cat conftest.err >&5
  7837. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7838. (exit $ac_status); } &&
  7839. - { ac_try='test -s conftest$ac_exeext'
  7840. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7841. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7842. + (eval $ac_try) 2>&5
  7843. + ac_status=$?
  7844. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7845. + (exit $ac_status); }; } &&
  7846. + { ac_try='test -s conftest$ac_exeext'
  7847. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7848. (eval $ac_try) 2>&5
  7849. ac_status=$?
  7850. @@ -27410,7 +28966,8 @@
  7851. ac_cv_func___inet_addr=no
  7852. fi
  7853. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7854. +rm -f conftest.err conftest.$ac_objext \
  7855. + conftest$ac_exeext conftest.$ac_ext
  7856. fi
  7857. echo "$as_me:$LINENO: result: $ac_cv_func___inet_addr" >&5
  7858. echo "${ECHO_T}$ac_cv_func___inet_addr" >&6
  7859. @@ -27425,7 +28982,6 @@
  7860. ac_check_lib_save_LIBS=$LIBS
  7861. LIBS="-lnsl $LIBS"
  7862. cat >conftest.$ac_ext <<_ACEOF
  7863. -#line $LINENO "configure"
  7864. /* confdefs.h. */
  7865. _ACEOF
  7866. cat confdefs.h >>conftest.$ac_ext
  7867. @@ -27449,11 +29005,20 @@
  7868. _ACEOF
  7869. rm -f conftest.$ac_objext conftest$ac_exeext
  7870. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7871. - (eval $ac_link) 2>&5
  7872. + (eval $ac_link) 2>conftest.er1
  7873. ac_status=$?
  7874. + grep -v '^ *+' conftest.er1 >conftest.err
  7875. + rm -f conftest.er1
  7876. + cat conftest.err >&5
  7877. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7878. (exit $ac_status); } &&
  7879. - { ac_try='test -s conftest$ac_exeext'
  7880. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7881. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7882. + (eval $ac_try) 2>&5
  7883. + ac_status=$?
  7884. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7885. + (exit $ac_status); }; } &&
  7886. + { ac_try='test -s conftest$ac_exeext'
  7887. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7888. (eval $ac_try) 2>&5
  7889. ac_status=$?
  7890. @@ -27466,7 +29031,8 @@
  7891. ac_cv_lib_nsl_inet_addr=no
  7892. fi
  7893. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7894. +rm -f conftest.err conftest.$ac_objext \
  7895. + conftest$ac_exeext conftest.$ac_ext
  7896. LIBS=$ac_check_lib_save_LIBS
  7897. fi
  7898. echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
  7899. @@ -27482,7 +29048,6 @@
  7900. ac_check_lib_save_LIBS=$LIBS
  7901. LIBS="-linet $LIBS"
  7902. cat >conftest.$ac_ext <<_ACEOF
  7903. -#line $LINENO "configure"
  7904. /* confdefs.h. */
  7905. _ACEOF
  7906. cat confdefs.h >>conftest.$ac_ext
  7907. @@ -27506,11 +29071,20 @@
  7908. _ACEOF
  7909. rm -f conftest.$ac_objext conftest$ac_exeext
  7910. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7911. - (eval $ac_link) 2>&5
  7912. + (eval $ac_link) 2>conftest.er1
  7913. ac_status=$?
  7914. + grep -v '^ *+' conftest.er1 >conftest.err
  7915. + rm -f conftest.er1
  7916. + cat conftest.err >&5
  7917. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7918. (exit $ac_status); } &&
  7919. - { ac_try='test -s conftest$ac_exeext'
  7920. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7921. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7922. + (eval $ac_try) 2>&5
  7923. + ac_status=$?
  7924. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7925. + (exit $ac_status); }; } &&
  7926. + { ac_try='test -s conftest$ac_exeext'
  7927. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7928. (eval $ac_try) 2>&5
  7929. ac_status=$?
  7930. @@ -27523,7 +29097,8 @@
  7931. ac_cv_lib_inet_inet_addr=no
  7932. fi
  7933. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7934. +rm -f conftest.err conftest.$ac_objext \
  7935. + conftest$ac_exeext conftest.$ac_ext
  7936. LIBS=$ac_check_lib_save_LIBS
  7937. fi
  7938. echo "$as_me:$LINENO: result: $ac_cv_lib_inet_inet_addr" >&5
  7939. @@ -27535,13 +29110,12 @@
  7940. echo "$as_me: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&2;}
  7941. echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
  7942. echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
  7943. -if test "${ac_cv_lib_socket_inet_addr_lnsl+set}" = set; then
  7944. +if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
  7945. echo $ECHO_N "(cached) $ECHO_C" >&6
  7946. else
  7947. ac_check_lib_save_LIBS=$LIBS
  7948. LIBS="-lsocket -lnsl $LIBS"
  7949. cat >conftest.$ac_ext <<_ACEOF
  7950. -#line $LINENO "configure"
  7951. /* confdefs.h. */
  7952. _ACEOF
  7953. cat confdefs.h >>conftest.$ac_ext
  7954. @@ -27565,29 +29139,39 @@
  7955. _ACEOF
  7956. rm -f conftest.$ac_objext conftest$ac_exeext
  7957. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7958. - (eval $ac_link) 2>&5
  7959. + (eval $ac_link) 2>conftest.er1
  7960. ac_status=$?
  7961. + grep -v '^ *+' conftest.er1 >conftest.err
  7962. + rm -f conftest.er1
  7963. + cat conftest.err >&5
  7964. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7965. (exit $ac_status); } &&
  7966. - { ac_try='test -s conftest$ac_exeext'
  7967. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7968. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7969. + (eval $ac_try) 2>&5
  7970. + ac_status=$?
  7971. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7972. + (exit $ac_status); }; } &&
  7973. + { ac_try='test -s conftest$ac_exeext'
  7974. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7975. (eval $ac_try) 2>&5
  7976. ac_status=$?
  7977. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7978. (exit $ac_status); }; }; then
  7979. - ac_cv_lib_socket_inet_addr_lnsl=yes
  7980. + ac_cv_lib_socket_inet_addr=yes
  7981. else
  7982. echo "$as_me: failed program was:" >&5
  7983. sed 's/^/| /' conftest.$ac_ext >&5
  7984. -ac_cv_lib_socket_inet_addr_lnsl=no
  7985. +ac_cv_lib_socket_inet_addr=no
  7986. fi
  7987. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  7988. +rm -f conftest.err conftest.$ac_objext \
  7989. + conftest$ac_exeext conftest.$ac_ext
  7990. LIBS=$ac_check_lib_save_LIBS
  7991. fi
  7992. -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr_lnsl" >&5
  7993. -echo "${ECHO_T}$ac_cv_lib_socket_inet_addr_lnsl" >&6
  7994. -if test $ac_cv_lib_socket_inet_addr_lnsl = yes; then
  7995. +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
  7996. +echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
  7997. +if test $ac_cv_lib_socket_inet_addr = yes; then
  7998. NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
  7999. fi
  8000. @@ -27605,21 +29189,28 @@
  8001. echo $ECHO_N "(cached) $ECHO_C" >&6
  8002. else
  8003. cat >conftest.$ac_ext <<_ACEOF
  8004. -#line $LINENO "configure"
  8005. /* confdefs.h. */
  8006. _ACEOF
  8007. cat confdefs.h >>conftest.$ac_ext
  8008. cat >>conftest.$ac_ext <<_ACEOF
  8009. /* end confdefs.h. */
  8010. +/* Define syslog to an innocuous variant, in case <limits.h> declares syslog.
  8011. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  8012. +#define syslog innocuous_syslog
  8013. +
  8014. /* System header to define __stub macros and hopefully few prototypes,
  8015. which can conflict with char syslog (); below.
  8016. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8017. <limits.h> exists even on freestanding compilers. */
  8018. +
  8019. #ifdef __STDC__
  8020. # include <limits.h>
  8021. #else
  8022. # include <assert.h>
  8023. #endif
  8024. +
  8025. +#undef syslog
  8026. +
  8027. /* Override any gcc2 internal prototype to avoid an error. */
  8028. #ifdef __cplusplus
  8029. extern "C"
  8030. @@ -27650,11 +29241,20 @@
  8031. _ACEOF
  8032. rm -f conftest.$ac_objext conftest$ac_exeext
  8033. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8034. - (eval $ac_link) 2>&5
  8035. + (eval $ac_link) 2>conftest.er1
  8036. ac_status=$?
  8037. + grep -v '^ *+' conftest.er1 >conftest.err
  8038. + rm -f conftest.er1
  8039. + cat conftest.err >&5
  8040. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8041. (exit $ac_status); } &&
  8042. - { ac_try='test -s conftest$ac_exeext'
  8043. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8044. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8045. + (eval $ac_try) 2>&5
  8046. + ac_status=$?
  8047. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8048. + (exit $ac_status); }; } &&
  8049. + { ac_try='test -s conftest$ac_exeext'
  8050. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8051. (eval $ac_try) 2>&5
  8052. ac_status=$?
  8053. @@ -27667,7 +29267,8 @@
  8054. ac_cv_func_syslog=no
  8055. fi
  8056. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8057. +rm -f conftest.err conftest.$ac_objext \
  8058. + conftest$ac_exeext conftest.$ac_ext
  8059. fi
  8060. echo "$as_me:$LINENO: result: $ac_cv_func_syslog" >&5
  8061. echo "${ECHO_T}$ac_cv_func_syslog" >&6
  8062. @@ -27682,7 +29283,6 @@
  8063. ac_check_lib_save_LIBS=$LIBS
  8064. LIBS="-lsocket $LIBS"
  8065. cat >conftest.$ac_ext <<_ACEOF
  8066. -#line $LINENO "configure"
  8067. /* confdefs.h. */
  8068. _ACEOF
  8069. cat confdefs.h >>conftest.$ac_ext
  8070. @@ -27706,11 +29306,20 @@
  8071. _ACEOF
  8072. rm -f conftest.$ac_objext conftest$ac_exeext
  8073. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8074. - (eval $ac_link) 2>&5
  8075. + (eval $ac_link) 2>conftest.er1
  8076. ac_status=$?
  8077. + grep -v '^ *+' conftest.er1 >conftest.err
  8078. + rm -f conftest.er1
  8079. + cat conftest.err >&5
  8080. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8081. (exit $ac_status); } &&
  8082. - { ac_try='test -s conftest$ac_exeext'
  8083. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8084. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8085. + (eval $ac_try) 2>&5
  8086. + ac_status=$?
  8087. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8088. + (exit $ac_status); }; } &&
  8089. + { ac_try='test -s conftest$ac_exeext'
  8090. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8091. (eval $ac_try) 2>&5
  8092. ac_status=$?
  8093. @@ -27723,7 +29332,8 @@
  8094. ac_cv_lib_socket_syslog=no
  8095. fi
  8096. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8097. +rm -f conftest.err conftest.$ac_objext \
  8098. + conftest$ac_exeext conftest.$ac_ext
  8099. LIBS=$ac_check_lib_save_LIBS
  8100. fi
  8101. echo "$as_me:$LINENO: result: $ac_cv_lib_socket_syslog" >&5
  8102. @@ -27739,7 +29349,6 @@
  8103. ac_check_lib_save_LIBS=$LIBS
  8104. LIBS="-lnsl $LIBS"
  8105. cat >conftest.$ac_ext <<_ACEOF
  8106. -#line $LINENO "configure"
  8107. /* confdefs.h. */
  8108. _ACEOF
  8109. cat confdefs.h >>conftest.$ac_ext
  8110. @@ -27763,11 +29372,20 @@
  8111. _ACEOF
  8112. rm -f conftest.$ac_objext conftest$ac_exeext
  8113. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8114. - (eval $ac_link) 2>&5
  8115. + (eval $ac_link) 2>conftest.er1
  8116. + ac_status=$?
  8117. + grep -v '^ *+' conftest.er1 >conftest.err
  8118. + rm -f conftest.er1
  8119. + cat conftest.err >&5
  8120. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8121. + (exit $ac_status); } &&
  8122. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8123. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8124. + (eval $ac_try) 2>&5
  8125. ac_status=$?
  8126. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8127. - (exit $ac_status); } &&
  8128. - { ac_try='test -s conftest$ac_exeext'
  8129. + (exit $ac_status); }; } &&
  8130. + { ac_try='test -s conftest$ac_exeext'
  8131. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8132. (eval $ac_try) 2>&5
  8133. ac_status=$?
  8134. @@ -27780,7 +29398,8 @@
  8135. ac_cv_lib_nsl_syslog=no
  8136. fi
  8137. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8138. +rm -f conftest.err conftest.$ac_objext \
  8139. + conftest$ac_exeext conftest.$ac_ext
  8140. LIBS=$ac_check_lib_save_LIBS
  8141. fi
  8142. echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_syslog" >&5
  8143. @@ -27796,7 +29415,6 @@
  8144. ac_check_lib_save_LIBS=$LIBS
  8145. LIBS="-linet $LIBS"
  8146. cat >conftest.$ac_ext <<_ACEOF
  8147. -#line $LINENO "configure"
  8148. /* confdefs.h. */
  8149. _ACEOF
  8150. cat confdefs.h >>conftest.$ac_ext
  8151. @@ -27820,11 +29438,20 @@
  8152. _ACEOF
  8153. rm -f conftest.$ac_objext conftest$ac_exeext
  8154. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8155. - (eval $ac_link) 2>&5
  8156. + (eval $ac_link) 2>conftest.er1
  8157. ac_status=$?
  8158. + grep -v '^ *+' conftest.er1 >conftest.err
  8159. + rm -f conftest.er1
  8160. + cat conftest.err >&5
  8161. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8162. (exit $ac_status); } &&
  8163. - { ac_try='test -s conftest$ac_exeext'
  8164. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8165. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8166. + (eval $ac_try) 2>&5
  8167. + ac_status=$?
  8168. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8169. + (exit $ac_status); }; } &&
  8170. + { ac_try='test -s conftest$ac_exeext'
  8171. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8172. (eval $ac_try) 2>&5
  8173. ac_status=$?
  8174. @@ -27837,7 +29464,8 @@
  8175. ac_cv_lib_inet_syslog=no
  8176. fi
  8177. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8178. +rm -f conftest.err conftest.$ac_objext \
  8179. + conftest$ac_exeext conftest.$ac_ext
  8180. LIBS=$ac_check_lib_save_LIBS
  8181. fi
  8182. echo "$as_me:$LINENO: result: $ac_cv_lib_inet_syslog" >&5
  8183. @@ -27861,7 +29489,6 @@
  8184. echo $ECHO_N "(cached) $ECHO_C" >&6
  8185. else
  8186. cat >conftest.$ac_ext <<_ACEOF
  8187. -#line $LINENO "configure"
  8188. /* confdefs.h. */
  8189. _ACEOF
  8190. cat confdefs.h >>conftest.$ac_ext
  8191. @@ -27878,11 +29505,20 @@
  8192. _ACEOF
  8193. rm -f conftest.$ac_objext conftest$ac_exeext
  8194. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8195. - (eval $ac_link) 2>&5
  8196. + (eval $ac_link) 2>conftest.er1
  8197. ac_status=$?
  8198. + grep -v '^ *+' conftest.er1 >conftest.err
  8199. + rm -f conftest.er1
  8200. + cat conftest.err >&5
  8201. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8202. (exit $ac_status); } &&
  8203. - { ac_try='test -s conftest$ac_exeext'
  8204. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8205. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8206. + (eval $ac_try) 2>&5
  8207. + ac_status=$?
  8208. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8209. + (exit $ac_status); }; } &&
  8210. + { ac_try='test -s conftest$ac_exeext'
  8211. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8212. (eval $ac_try) 2>&5
  8213. ac_status=$?
  8214. @@ -27895,7 +29531,8 @@
  8215. ac_cv_working_alloca_h=no
  8216. fi
  8217. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8218. +rm -f conftest.err conftest.$ac_objext \
  8219. + conftest$ac_exeext conftest.$ac_ext
  8220. fi
  8221. echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
  8222. echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
  8223. @@ -27913,7 +29550,6 @@
  8224. echo $ECHO_N "(cached) $ECHO_C" >&6
  8225. else
  8226. cat >conftest.$ac_ext <<_ACEOF
  8227. -#line $LINENO "configure"
  8228. /* confdefs.h. */
  8229. _ACEOF
  8230. cat confdefs.h >>conftest.$ac_ext
  8231. @@ -27950,11 +29586,20 @@
  8232. _ACEOF
  8233. rm -f conftest.$ac_objext conftest$ac_exeext
  8234. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8235. - (eval $ac_link) 2>&5
  8236. + (eval $ac_link) 2>conftest.er1
  8237. ac_status=$?
  8238. + grep -v '^ *+' conftest.er1 >conftest.err
  8239. + rm -f conftest.er1
  8240. + cat conftest.err >&5
  8241. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8242. (exit $ac_status); } &&
  8243. - { ac_try='test -s conftest$ac_exeext'
  8244. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8245. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8246. + (eval $ac_try) 2>&5
  8247. + ac_status=$?
  8248. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8249. + (exit $ac_status); }; } &&
  8250. + { ac_try='test -s conftest$ac_exeext'
  8251. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8252. (eval $ac_try) 2>&5
  8253. ac_status=$?
  8254. @@ -27967,7 +29612,8 @@
  8255. ac_cv_func_alloca_works=no
  8256. fi
  8257. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8258. +rm -f conftest.err conftest.$ac_objext \
  8259. + conftest$ac_exeext conftest.$ac_ext
  8260. fi
  8261. echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
  8262. echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
  8263. @@ -27997,7 +29643,6 @@
  8264. echo $ECHO_N "(cached) $ECHO_C" >&6
  8265. else
  8266. cat >conftest.$ac_ext <<_ACEOF
  8267. -#line $LINENO "configure"
  8268. /* confdefs.h. */
  8269. _ACEOF
  8270. cat confdefs.h >>conftest.$ac_ext
  8271. @@ -28030,21 +29675,28 @@
  8272. echo $ECHO_N "(cached) $ECHO_C" >&6
  8273. else
  8274. cat >conftest.$ac_ext <<_ACEOF
  8275. -#line $LINENO "configure"
  8276. /* confdefs.h. */
  8277. _ACEOF
  8278. cat confdefs.h >>conftest.$ac_ext
  8279. cat >>conftest.$ac_ext <<_ACEOF
  8280. /* end confdefs.h. */
  8281. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  8282. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  8283. +#define $ac_func innocuous_$ac_func
  8284. +
  8285. /* System header to define __stub macros and hopefully few prototypes,
  8286. which can conflict with char $ac_func (); below.
  8287. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8288. <limits.h> exists even on freestanding compilers. */
  8289. +
  8290. #ifdef __STDC__
  8291. # include <limits.h>
  8292. #else
  8293. # include <assert.h>
  8294. #endif
  8295. +
  8296. +#undef $ac_func
  8297. +
  8298. /* Override any gcc2 internal prototype to avoid an error. */
  8299. #ifdef __cplusplus
  8300. extern "C"
  8301. @@ -28075,11 +29727,20 @@
  8302. _ACEOF
  8303. rm -f conftest.$ac_objext conftest$ac_exeext
  8304. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8305. - (eval $ac_link) 2>&5
  8306. + (eval $ac_link) 2>conftest.er1
  8307. ac_status=$?
  8308. + grep -v '^ *+' conftest.er1 >conftest.err
  8309. + rm -f conftest.er1
  8310. + cat conftest.err >&5
  8311. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8312. (exit $ac_status); } &&
  8313. - { ac_try='test -s conftest$ac_exeext'
  8314. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8315. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8316. + (eval $ac_try) 2>&5
  8317. + ac_status=$?
  8318. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8319. + (exit $ac_status); }; } &&
  8320. + { ac_try='test -s conftest$ac_exeext'
  8321. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8322. (eval $ac_try) 2>&5
  8323. ac_status=$?
  8324. @@ -28092,7 +29753,8 @@
  8325. eval "$as_ac_var=no"
  8326. fi
  8327. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8328. +rm -f conftest.err conftest.$ac_objext \
  8329. + conftest$ac_exeext conftest.$ac_ext
  8330. fi
  8331. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  8332. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  8333. @@ -28117,7 +29779,6 @@
  8334. ac_cv_c_stack_direction=0
  8335. else
  8336. cat >conftest.$ac_ext <<_ACEOF
  8337. -#line $LINENO "configure"
  8338. /* confdefs.h. */
  8339. _ACEOF
  8340. cat confdefs.h >>conftest.$ac_ext
  8341. @@ -28163,7 +29824,7 @@
  8342. ( exit $ac_status )
  8343. ac_cv_c_stack_direction=-1
  8344. fi
  8345. -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8346. +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8347. fi
  8348. fi
  8349. echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
  8350. @@ -28187,21 +29848,28 @@
  8351. echo $ECHO_N "(cached) $ECHO_C" >&6
  8352. else
  8353. cat >conftest.$ac_ext <<_ACEOF
  8354. -#line $LINENO "configure"
  8355. /* confdefs.h. */
  8356. _ACEOF
  8357. cat confdefs.h >>conftest.$ac_ext
  8358. cat >>conftest.$ac_ext <<_ACEOF
  8359. /* end confdefs.h. */
  8360. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  8361. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  8362. +#define $ac_func innocuous_$ac_func
  8363. +
  8364. /* System header to define __stub macros and hopefully few prototypes,
  8365. which can conflict with char $ac_func (); below.
  8366. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8367. <limits.h> exists even on freestanding compilers. */
  8368. +
  8369. #ifdef __STDC__
  8370. # include <limits.h>
  8371. #else
  8372. # include <assert.h>
  8373. #endif
  8374. +
  8375. +#undef $ac_func
  8376. +
  8377. /* Override any gcc2 internal prototype to avoid an error. */
  8378. #ifdef __cplusplus
  8379. extern "C"
  8380. @@ -28232,11 +29900,20 @@
  8381. _ACEOF
  8382. rm -f conftest.$ac_objext conftest$ac_exeext
  8383. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8384. - (eval $ac_link) 2>&5
  8385. + (eval $ac_link) 2>conftest.er1
  8386. ac_status=$?
  8387. + grep -v '^ *+' conftest.er1 >conftest.err
  8388. + rm -f conftest.er1
  8389. + cat conftest.err >&5
  8390. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8391. (exit $ac_status); } &&
  8392. - { ac_try='test -s conftest$ac_exeext'
  8393. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8394. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8395. + (eval $ac_try) 2>&5
  8396. + ac_status=$?
  8397. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8398. + (exit $ac_status); }; } &&
  8399. + { ac_try='test -s conftest$ac_exeext'
  8400. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8401. (eval $ac_try) 2>&5
  8402. ac_status=$?
  8403. @@ -28249,7 +29926,8 @@
  8404. eval "$as_ac_var=no"
  8405. fi
  8406. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8407. +rm -f conftest.err conftest.$ac_objext \
  8408. + conftest$ac_exeext conftest.$ac_ext
  8409. fi
  8410. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  8411. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  8412. @@ -28267,7 +29945,6 @@
  8413. else
  8414. cat >conftest.$ac_ext <<_ACEOF
  8415. -#line $LINENO "configure"
  8416. /* confdefs.h. */
  8417. _ACEOF
  8418. cat confdefs.h >>conftest.$ac_ext
  8419. @@ -28284,11 +29961,20 @@
  8420. _ACEOF
  8421. rm -f conftest.$ac_objext conftest$ac_exeext
  8422. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8423. - (eval $ac_link) 2>&5
  8424. + (eval $ac_link) 2>conftest.er1
  8425. ac_status=$?
  8426. + grep -v '^ *+' conftest.er1 >conftest.err
  8427. + rm -f conftest.er1
  8428. + cat conftest.err >&5
  8429. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8430. (exit $ac_status); } &&
  8431. - { ac_try='test -s conftest$ac_exeext'
  8432. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8433. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8434. + (eval $ac_try) 2>&5
  8435. + ac_status=$?
  8436. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8437. + (exit $ac_status); }; } &&
  8438. + { ac_try='test -s conftest$ac_exeext'
  8439. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8440. (eval $ac_try) 2>&5
  8441. ac_status=$?
  8442. @@ -28301,7 +29987,8 @@
  8443. sudo_cv___progname=no
  8444. fi
  8445. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8446. +rm -f conftest.err conftest.$ac_objext \
  8447. + conftest$ac_exeext conftest.$ac_ext
  8448. fi
  8449. if test "$sudo_cv___progname" = "yes"; then
  8450. @@ -28310,7 +29997,14 @@
  8451. _ACEOF
  8452. else
  8453. - LIBOBJS="$LIBOBJS getprogname.$ac_objext"
  8454. + case $LIBOBJS in
  8455. + "getprogname.$ac_objext" | \
  8456. + *" getprogname.$ac_objext" | \
  8457. + "getprogname.$ac_objext "* | \
  8458. + *" getprogname.$ac_objext "* ) ;;
  8459. + *) LIBOBJS="$LIBOBJS getprogname.$ac_objext" ;;
  8460. +esac
  8461. +
  8462. fi
  8463. echo "$as_me:$LINENO: result: $sudo_cv___progname" >&5
  8464. echo "${ECHO_T}$sudo_cv___progname" >&6
  8465. @@ -28342,6 +30036,7 @@
  8466. (exit $ac_status); } >/dev/null; then
  8467. if test -s conftest.err; then
  8468. ac_cpp_err=$ac_c_preproc_warn_flag
  8469. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  8470. else
  8471. ac_cpp_err=
  8472. fi
  8473. @@ -28394,7 +30089,6 @@
  8474. echo "$as_me:$LINENO: checking krb.h usability" >&5
  8475. echo $ECHO_N "checking krb.h usability... $ECHO_C" >&6
  8476. cat >conftest.$ac_ext <<_ACEOF
  8477. -#line $LINENO "configure"
  8478. /* confdefs.h. */
  8479. _ACEOF
  8480. cat confdefs.h >>conftest.$ac_ext
  8481. @@ -28405,11 +30099,20 @@
  8482. _ACEOF
  8483. rm -f conftest.$ac_objext
  8484. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8485. - (eval $ac_compile) 2>&5
  8486. + (eval $ac_compile) 2>conftest.er1
  8487. ac_status=$?
  8488. + grep -v '^ *+' conftest.er1 >conftest.err
  8489. + rm -f conftest.er1
  8490. + cat conftest.err >&5
  8491. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8492. (exit $ac_status); } &&
  8493. - { ac_try='test -s conftest.$ac_objext'
  8494. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8495. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8496. + (eval $ac_try) 2>&5
  8497. + ac_status=$?
  8498. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8499. + (exit $ac_status); }; } &&
  8500. + { ac_try='test -s conftest.$ac_objext'
  8501. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8502. (eval $ac_try) 2>&5
  8503. ac_status=$?
  8504. @@ -28422,7 +30125,7 @@
  8505. ac_header_compiler=no
  8506. fi
  8507. -rm -f conftest.$ac_objext conftest.$ac_ext
  8508. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8509. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8510. echo "${ECHO_T}$ac_header_compiler" >&6
  8511. @@ -28430,7 +30133,6 @@
  8512. echo "$as_me:$LINENO: checking krb.h presence" >&5
  8513. echo $ECHO_N "checking krb.h presence... $ECHO_C" >&6
  8514. cat >conftest.$ac_ext <<_ACEOF
  8515. -#line $LINENO "configure"
  8516. /* confdefs.h. */
  8517. _ACEOF
  8518. cat confdefs.h >>conftest.$ac_ext
  8519. @@ -28448,6 +30150,7 @@
  8520. (exit $ac_status); } >/dev/null; then
  8521. if test -s conftest.err; then
  8522. ac_cpp_err=$ac_c_preproc_warn_flag
  8523. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  8524. else
  8525. ac_cpp_err=
  8526. fi
  8527. @@ -28467,33 +30170,32 @@
  8528. echo "${ECHO_T}$ac_header_preproc" >&6
  8529. # So? What about this header?
  8530. -case $ac_header_compiler:$ac_header_preproc in
  8531. - yes:no )
  8532. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8533. + yes:no: )
  8534. { echo "$as_me:$LINENO: WARNING: krb.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8535. echo "$as_me: WARNING: krb.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8536. - { echo "$as_me:$LINENO: WARNING: krb.h: proceeding with the preprocessor's result" >&5
  8537. -echo "$as_me: WARNING: krb.h: proceeding with the preprocessor's result" >&2;}
  8538. - (
  8539. - cat <<\_ASBOX
  8540. -## ------------------------------------ ##
  8541. -## Report this to bug-autoconf@gnu.org. ##
  8542. -## ------------------------------------ ##
  8543. -_ASBOX
  8544. - ) |
  8545. - sed "s/^/$as_me: WARNING: /" >&2
  8546. + { echo "$as_me:$LINENO: WARNING: krb.h: proceeding with the compiler's result" >&5
  8547. +echo "$as_me: WARNING: krb.h: proceeding with the compiler's result" >&2;}
  8548. + ac_header_preproc=yes
  8549. ;;
  8550. - no:yes )
  8551. + no:yes:* )
  8552. { echo "$as_me:$LINENO: WARNING: krb.h: present but cannot be compiled" >&5
  8553. echo "$as_me: WARNING: krb.h: present but cannot be compiled" >&2;}
  8554. - { echo "$as_me:$LINENO: WARNING: krb.h: check for missing prerequisite headers?" >&5
  8555. -echo "$as_me: WARNING: krb.h: check for missing prerequisite headers?" >&2;}
  8556. + { echo "$as_me:$LINENO: WARNING: krb.h: check for missing prerequisite headers?" >&5
  8557. +echo "$as_me: WARNING: krb.h: check for missing prerequisite headers?" >&2;}
  8558. + { echo "$as_me:$LINENO: WARNING: krb.h: see the Autoconf documentation" >&5
  8559. +echo "$as_me: WARNING: krb.h: see the Autoconf documentation" >&2;}
  8560. + { echo "$as_me:$LINENO: WARNING: krb.h: section \"Present But Cannot Be Compiled\"" >&5
  8561. +echo "$as_me: WARNING: krb.h: section \"Present But Cannot Be Compiled\"" >&2;}
  8562. { echo "$as_me:$LINENO: WARNING: krb.h: proceeding with the preprocessor's result" >&5
  8563. echo "$as_me: WARNING: krb.h: proceeding with the preprocessor's result" >&2;}
  8564. + { echo "$as_me:$LINENO: WARNING: krb.h: in the future, the compiler will take precedence" >&5
  8565. +echo "$as_me: WARNING: krb.h: in the future, the compiler will take precedence" >&2;}
  8566. (
  8567. cat <<\_ASBOX
  8568. -## ------------------------------------ ##
  8569. -## Report this to bug-autoconf@gnu.org. ##
  8570. -## ------------------------------------ ##
  8571. +## ------------------------------- ##
  8572. +## Report this to the sudo lists. ##
  8573. +## ------------------------------- ##
  8574. _ASBOX
  8575. ) |
  8576. sed "s/^/$as_me: WARNING: /" >&2
  8577. @@ -28531,7 +30233,6 @@
  8578. ac_check_lib_save_LIBS=$LIBS
  8579. LIBS="-ldes $LIBS"
  8580. cat >conftest.$ac_ext <<_ACEOF
  8581. -#line $LINENO "configure"
  8582. /* confdefs.h. */
  8583. _ACEOF
  8584. cat confdefs.h >>conftest.$ac_ext
  8585. @@ -28555,11 +30256,20 @@
  8586. _ACEOF
  8587. rm -f conftest.$ac_objext conftest$ac_exeext
  8588. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8589. - (eval $ac_link) 2>&5
  8590. + (eval $ac_link) 2>conftest.er1
  8591. ac_status=$?
  8592. + grep -v '^ *+' conftest.er1 >conftest.err
  8593. + rm -f conftest.er1
  8594. + cat conftest.err >&5
  8595. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8596. (exit $ac_status); } &&
  8597. - { ac_try='test -s conftest$ac_exeext'
  8598. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8599. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8600. + (eval $ac_try) 2>&5
  8601. + ac_status=$?
  8602. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8603. + (exit $ac_status); }; } &&
  8604. + { ac_try='test -s conftest$ac_exeext'
  8605. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8606. (eval $ac_try) 2>&5
  8607. ac_status=$?
  8608. @@ -28572,7 +30282,8 @@
  8609. ac_cv_lib_des_des_cbc_encrypt=no
  8610. fi
  8611. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8612. +rm -f conftest.err conftest.$ac_objext \
  8613. + conftest$ac_exeext conftest.$ac_ext
  8614. LIBS=$ac_check_lib_save_LIBS
  8615. fi
  8616. echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
  8617. @@ -28589,7 +30300,6 @@
  8618. ac_check_lib_save_LIBS=$LIBS
  8619. LIBS="-ldes425 $LIBS"
  8620. cat >conftest.$ac_ext <<_ACEOF
  8621. -#line $LINENO "configure"
  8622. /* confdefs.h. */
  8623. _ACEOF
  8624. cat confdefs.h >>conftest.$ac_ext
  8625. @@ -28613,11 +30323,20 @@
  8626. _ACEOF
  8627. rm -f conftest.$ac_objext conftest$ac_exeext
  8628. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8629. - (eval $ac_link) 2>&5
  8630. + (eval $ac_link) 2>conftest.er1
  8631. ac_status=$?
  8632. + grep -v '^ *+' conftest.er1 >conftest.err
  8633. + rm -f conftest.er1
  8634. + cat conftest.err >&5
  8635. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8636. (exit $ac_status); } &&
  8637. - { ac_try='test -s conftest$ac_exeext'
  8638. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8639. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8640. + (eval $ac_try) 2>&5
  8641. + ac_status=$?
  8642. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8643. + (exit $ac_status); }; } &&
  8644. + { ac_try='test -s conftest$ac_exeext'
  8645. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8646. (eval $ac_try) 2>&5
  8647. ac_status=$?
  8648. @@ -28630,7 +30349,8 @@
  8649. ac_cv_lib_des425_des_cbc_encrypt=no
  8650. fi
  8651. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8652. +rm -f conftest.err conftest.$ac_objext \
  8653. + conftest$ac_exeext conftest.$ac_ext
  8654. LIBS=$ac_check_lib_save_LIBS
  8655. fi
  8656. echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
  8657. @@ -28647,7 +30367,6 @@
  8658. echo "$as_me:$LINENO: checking whether we are using KTH Kerberos IV" >&5
  8659. echo $ECHO_N "checking whether we are using KTH Kerberos IV... $ECHO_C" >&6
  8660. cat >conftest.$ac_ext <<_ACEOF
  8661. -#line $LINENO "configure"
  8662. /* confdefs.h. */
  8663. _ACEOF
  8664. cat confdefs.h >>conftest.$ac_ext
  8665. @@ -28664,11 +30383,20 @@
  8666. _ACEOF
  8667. rm -f conftest.$ac_objext
  8668. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8669. - (eval $ac_compile) 2>&5
  8670. + (eval $ac_compile) 2>conftest.er1
  8671. ac_status=$?
  8672. + grep -v '^ *+' conftest.er1 >conftest.err
  8673. + rm -f conftest.er1
  8674. + cat conftest.err >&5
  8675. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8676. (exit $ac_status); } &&
  8677. - { ac_try='test -s conftest.$ac_objext'
  8678. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8679. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8680. + (eval $ac_try) 2>&5
  8681. + ac_status=$?
  8682. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8683. + (exit $ac_status); }; } &&
  8684. + { ac_try='test -s conftest.$ac_objext'
  8685. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8686. (eval $ac_try) 2>&5
  8687. ac_status=$?
  8688. @@ -28686,7 +30414,6 @@
  8689. ac_check_lib_save_LIBS=$LIBS
  8690. LIBS="-lroken $LIBS"
  8691. cat >conftest.$ac_ext <<_ACEOF
  8692. -#line $LINENO "configure"
  8693. /* confdefs.h. */
  8694. _ACEOF
  8695. cat confdefs.h >>conftest.$ac_ext
  8696. @@ -28704,11 +30431,20 @@
  8697. _ACEOF
  8698. rm -f conftest.$ac_objext conftest$ac_exeext
  8699. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8700. - (eval $ac_link) 2>&5
  8701. + (eval $ac_link) 2>conftest.er1
  8702. ac_status=$?
  8703. + grep -v '^ *+' conftest.er1 >conftest.err
  8704. + rm -f conftest.er1
  8705. + cat conftest.err >&5
  8706. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8707. (exit $ac_status); } &&
  8708. - { ac_try='test -s conftest$ac_exeext'
  8709. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8710. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8711. + (eval $ac_try) 2>&5
  8712. + ac_status=$?
  8713. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8714. + (exit $ac_status); }; } &&
  8715. + { ac_try='test -s conftest$ac_exeext'
  8716. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8717. (eval $ac_try) 2>&5
  8718. ac_status=$?
  8719. @@ -28721,7 +30457,8 @@
  8720. ac_cv_lib_roken_main=no
  8721. fi
  8722. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8723. +rm -f conftest.err conftest.$ac_objext \
  8724. + conftest$ac_exeext conftest.$ac_ext
  8725. LIBS=$ac_check_lib_save_LIBS
  8726. fi
  8727. echo "$as_me:$LINENO: result: $ac_cv_lib_roken_main" >&5
  8728. @@ -28741,17 +30478,15 @@
  8729. fi
  8730. -rm -f conftest.$ac_objext conftest.$ac_ext
  8731. - as_ac_Lib=`echo "ac_cv_lib_krb_main$K4LIBS" | $as_tr_sh`
  8732. -echo "$as_me:$LINENO: checking for main in -lkrb" >&5
  8733. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8734. + echo "$as_me:$LINENO: checking for main in -lkrb" >&5
  8735. echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6
  8736. -if eval "test \"\${$as_ac_Lib+set}\" = set"; then
  8737. +if test "${ac_cv_lib_krb_main+set}" = set; then
  8738. echo $ECHO_N "(cached) $ECHO_C" >&6
  8739. else
  8740. ac_check_lib_save_LIBS=$LIBS
  8741. LIBS="-lkrb $K4LIBS $LIBS"
  8742. cat >conftest.$ac_ext <<_ACEOF
  8743. -#line $LINENO "configure"
  8744. /* confdefs.h. */
  8745. _ACEOF
  8746. cat confdefs.h >>conftest.$ac_ext
  8747. @@ -28769,42 +30504,50 @@
  8748. _ACEOF
  8749. rm -f conftest.$ac_objext conftest$ac_exeext
  8750. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8751. - (eval $ac_link) 2>&5
  8752. + (eval $ac_link) 2>conftest.er1
  8753. ac_status=$?
  8754. + grep -v '^ *+' conftest.er1 >conftest.err
  8755. + rm -f conftest.er1
  8756. + cat conftest.err >&5
  8757. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8758. (exit $ac_status); } &&
  8759. - { ac_try='test -s conftest$ac_exeext'
  8760. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8761. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8762. + (eval $ac_try) 2>&5
  8763. + ac_status=$?
  8764. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8765. + (exit $ac_status); }; } &&
  8766. + { ac_try='test -s conftest$ac_exeext'
  8767. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8768. (eval $ac_try) 2>&5
  8769. ac_status=$?
  8770. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8771. (exit $ac_status); }; }; then
  8772. - eval "$as_ac_Lib=yes"
  8773. + ac_cv_lib_krb_main=yes
  8774. else
  8775. echo "$as_me: failed program was:" >&5
  8776. sed 's/^/| /' conftest.$ac_ext >&5
  8777. -eval "$as_ac_Lib=no"
  8778. +ac_cv_lib_krb_main=no
  8779. fi
  8780. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8781. +rm -f conftest.err conftest.$ac_objext \
  8782. + conftest$ac_exeext conftest.$ac_ext
  8783. LIBS=$ac_check_lib_save_LIBS
  8784. fi
  8785. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
  8786. -echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
  8787. -if test `eval echo '${'$as_ac_Lib'}'` = yes; then
  8788. +echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5
  8789. +echo "${ECHO_T}$ac_cv_lib_krb_main" >&6
  8790. +if test $ac_cv_lib_krb_main = yes; then
  8791. K4LIBS="-lkrb $K4LIBS"
  8792. else
  8793. - as_ac_Lib=`echo "ac_cv_lib_krb4_main$K4LIBS" | $as_tr_sh`
  8794. -echo "$as_me:$LINENO: checking for main in -lkrb4" >&5
  8795. + echo "$as_me:$LINENO: checking for main in -lkrb4" >&5
  8796. echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6
  8797. -if eval "test \"\${$as_ac_Lib+set}\" = set"; then
  8798. +if test "${ac_cv_lib_krb4_main+set}" = set; then
  8799. echo $ECHO_N "(cached) $ECHO_C" >&6
  8800. else
  8801. ac_check_lib_save_LIBS=$LIBS
  8802. LIBS="-lkrb4 $K4LIBS $LIBS"
  8803. cat >conftest.$ac_ext <<_ACEOF
  8804. -#line $LINENO "configure"
  8805. /* confdefs.h. */
  8806. _ACEOF
  8807. cat confdefs.h >>conftest.$ac_ext
  8808. @@ -28822,29 +30565,39 @@
  8809. _ACEOF
  8810. rm -f conftest.$ac_objext conftest$ac_exeext
  8811. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8812. - (eval $ac_link) 2>&5
  8813. + (eval $ac_link) 2>conftest.er1
  8814. ac_status=$?
  8815. + grep -v '^ *+' conftest.er1 >conftest.err
  8816. + rm -f conftest.er1
  8817. + cat conftest.err >&5
  8818. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8819. (exit $ac_status); } &&
  8820. - { ac_try='test -s conftest$ac_exeext'
  8821. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8822. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8823. + (eval $ac_try) 2>&5
  8824. + ac_status=$?
  8825. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8826. + (exit $ac_status); }; } &&
  8827. + { ac_try='test -s conftest$ac_exeext'
  8828. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8829. (eval $ac_try) 2>&5
  8830. ac_status=$?
  8831. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8832. (exit $ac_status); }; }; then
  8833. - eval "$as_ac_Lib=yes"
  8834. + ac_cv_lib_krb4_main=yes
  8835. else
  8836. echo "$as_me: failed program was:" >&5
  8837. sed 's/^/| /' conftest.$ac_ext >&5
  8838. -eval "$as_ac_Lib=no"
  8839. +ac_cv_lib_krb4_main=no
  8840. fi
  8841. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8842. +rm -f conftest.err conftest.$ac_objext \
  8843. + conftest$ac_exeext conftest.$ac_ext
  8844. LIBS=$ac_check_lib_save_LIBS
  8845. fi
  8846. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
  8847. -echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
  8848. -if test `eval echo '${'$as_ac_Lib'}'` = yes; then
  8849. +echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5
  8850. +echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6
  8851. +if test $ac_cv_lib_krb4_main = yes; then
  8852. K4LIBS="-lkrb4 $K4LIBS"
  8853. else
  8854. K4LIBS="-lkrb $K4LIBS"
  8855. @@ -28909,7 +30662,6 @@
  8856. echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
  8857. echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
  8858. cat >conftest.$ac_ext <<_ACEOF
  8859. -#line $LINENO "configure"
  8860. /* confdefs.h. */
  8861. _ACEOF
  8862. cat confdefs.h >>conftest.$ac_ext
  8863. @@ -28926,11 +30678,20 @@
  8864. _ACEOF
  8865. rm -f conftest.$ac_objext
  8866. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8867. - (eval $ac_compile) 2>&5
  8868. + (eval $ac_compile) 2>conftest.er1
  8869. ac_status=$?
  8870. + grep -v '^ *+' conftest.er1 >conftest.err
  8871. + rm -f conftest.er1
  8872. + cat conftest.err >&5
  8873. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8874. (exit $ac_status); } &&
  8875. - { ac_try='test -s conftest.$ac_objext'
  8876. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8877. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8878. + (eval $ac_try) 2>&5
  8879. + ac_status=$?
  8880. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8881. + (exit $ac_status); }; } &&
  8882. + { ac_try='test -s conftest.$ac_objext'
  8883. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8884. (eval $ac_try) 2>&5
  8885. ac_status=$?
  8886. @@ -28950,7 +30711,7 @@
  8887. sed 's/^/| /' conftest.$ac_ext >&5
  8888. fi
  8889. -rm -f conftest.$ac_objext conftest.$ac_ext
  8890. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8891. fi
  8892. fi
  8893. if test -n "$with_kerb5" -a -z "$KRB5CONFIG"; then
  8894. @@ -28976,6 +30737,7 @@
  8895. (exit $ac_status); } >/dev/null; then
  8896. if test -s conftest.err; then
  8897. ac_cpp_err=$ac_c_preproc_warn_flag
  8898. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  8899. else
  8900. ac_cpp_err=
  8901. fi
  8902. @@ -29014,7 +30776,6 @@
  8903. echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
  8904. echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
  8905. cat >conftest.$ac_ext <<_ACEOF
  8906. -#line $LINENO "configure"
  8907. /* confdefs.h. */
  8908. _ACEOF
  8909. cat confdefs.h >>conftest.$ac_ext
  8910. @@ -29031,11 +30792,20 @@
  8911. _ACEOF
  8912. rm -f conftest.$ac_objext
  8913. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8914. - (eval $ac_compile) 2>&5
  8915. + (eval $ac_compile) 2>conftest.er1
  8916. ac_status=$?
  8917. + grep -v '^ *+' conftest.er1 >conftest.err
  8918. + rm -f conftest.er1
  8919. + cat conftest.err >&5
  8920. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8921. (exit $ac_status); } &&
  8922. - { ac_try='test -s conftest.$ac_objext'
  8923. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8924. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8925. + (eval $ac_try) 2>&5
  8926. + ac_status=$?
  8927. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8928. + (exit $ac_status); }; } &&
  8929. + { ac_try='test -s conftest.$ac_objext'
  8930. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8931. (eval $ac_try) 2>&5
  8932. ac_status=$?
  8933. @@ -29057,7 +30827,6 @@
  8934. ac_check_lib_save_LIBS=$LIBS
  8935. LIBS="-lroken $LIBS"
  8936. cat >conftest.$ac_ext <<_ACEOF
  8937. -#line $LINENO "configure"
  8938. /* confdefs.h. */
  8939. _ACEOF
  8940. cat confdefs.h >>conftest.$ac_ext
  8941. @@ -29075,11 +30844,20 @@
  8942. _ACEOF
  8943. rm -f conftest.$ac_objext conftest$ac_exeext
  8944. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8945. - (eval $ac_link) 2>&5
  8946. + (eval $ac_link) 2>conftest.er1
  8947. ac_status=$?
  8948. + grep -v '^ *+' conftest.er1 >conftest.err
  8949. + rm -f conftest.er1
  8950. + cat conftest.err >&5
  8951. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8952. (exit $ac_status); } &&
  8953. - { ac_try='test -s conftest$ac_exeext'
  8954. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  8955. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8956. + (eval $ac_try) 2>&5
  8957. + ac_status=$?
  8958. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8959. + (exit $ac_status); }; } &&
  8960. + { ac_try='test -s conftest$ac_exeext'
  8961. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8962. (eval $ac_try) 2>&5
  8963. ac_status=$?
  8964. @@ -29092,7 +30870,8 @@
  8965. ac_cv_lib_roken_main=no
  8966. fi
  8967. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  8968. +rm -f conftest.err conftest.$ac_objext \
  8969. + conftest$ac_exeext conftest.$ac_ext
  8970. LIBS=$ac_check_lib_save_LIBS
  8971. fi
  8972. echo "$as_me:$LINENO: result: $ac_cv_lib_roken_main" >&5
  8973. @@ -29113,7 +30892,7 @@
  8974. fi
  8975. -rm -f conftest.$ac_objext conftest.$ac_ext
  8976. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8977. AUTH_OBJS="${AUTH_OBJS} kerb5.o"
  8978. fi
  8979. @@ -29126,7 +30905,6 @@
  8980. ac_check_lib_save_LIBS=$LIBS
  8981. LIBS="-ldl $LIBS"
  8982. cat >conftest.$ac_ext <<_ACEOF
  8983. -#line $LINENO "configure"
  8984. /* confdefs.h. */
  8985. _ACEOF
  8986. cat confdefs.h >>conftest.$ac_ext
  8987. @@ -29144,11 +30922,20 @@
  8988. _ACEOF
  8989. rm -f conftest.$ac_objext conftest$ac_exeext
  8990. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8991. - (eval $ac_link) 2>&5
  8992. + (eval $ac_link) 2>conftest.er1
  8993. ac_status=$?
  8994. + grep -v '^ *+' conftest.er1 >conftest.err
  8995. + rm -f conftest.er1
  8996. + cat conftest.err >&5
  8997. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8998. (exit $ac_status); } &&
  8999. - { ac_try='test -s conftest$ac_exeext'
  9000. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9001. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9002. + (eval $ac_try) 2>&5
  9003. + ac_status=$?
  9004. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9005. + (exit $ac_status); }; } &&
  9006. + { ac_try='test -s conftest$ac_exeext'
  9007. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9008. (eval $ac_try) 2>&5
  9009. ac_status=$?
  9010. @@ -29161,7 +30948,8 @@
  9011. ac_cv_lib_dl_main=no
  9012. fi
  9013. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9014. +rm -f conftest.err conftest.$ac_objext \
  9015. + conftest$ac_exeext conftest.$ac_ext
  9016. LIBS=$ac_check_lib_save_LIBS
  9017. fi
  9018. echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
  9019. @@ -29190,7 +30978,6 @@
  9020. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9021. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  9022. cat >conftest.$ac_ext <<_ACEOF
  9023. -#line $LINENO "configure"
  9024. /* confdefs.h. */
  9025. _ACEOF
  9026. cat confdefs.h >>conftest.$ac_ext
  9027. @@ -29201,11 +30988,20 @@
  9028. _ACEOF
  9029. rm -f conftest.$ac_objext
  9030. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9031. - (eval $ac_compile) 2>&5
  9032. + (eval $ac_compile) 2>conftest.er1
  9033. ac_status=$?
  9034. + grep -v '^ *+' conftest.er1 >conftest.err
  9035. + rm -f conftest.er1
  9036. + cat conftest.err >&5
  9037. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9038. (exit $ac_status); } &&
  9039. - { ac_try='test -s conftest.$ac_objext'
  9040. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9041. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9042. + (eval $ac_try) 2>&5
  9043. + ac_status=$?
  9044. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9045. + (exit $ac_status); }; } &&
  9046. + { ac_try='test -s conftest.$ac_objext'
  9047. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9048. (eval $ac_try) 2>&5
  9049. ac_status=$?
  9050. @@ -29218,7 +31014,7 @@
  9051. ac_header_compiler=no
  9052. fi
  9053. -rm -f conftest.$ac_objext conftest.$ac_ext
  9054. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9055. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9056. echo "${ECHO_T}$ac_header_compiler" >&6
  9057. @@ -29226,7 +31022,6 @@
  9058. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9059. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  9060. cat >conftest.$ac_ext <<_ACEOF
  9061. -#line $LINENO "configure"
  9062. /* confdefs.h. */
  9063. _ACEOF
  9064. cat confdefs.h >>conftest.$ac_ext
  9065. @@ -29244,6 +31039,7 @@
  9066. (exit $ac_status); } >/dev/null; then
  9067. if test -s conftest.err; then
  9068. ac_cpp_err=$ac_c_preproc_warn_flag
  9069. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9070. else
  9071. ac_cpp_err=
  9072. fi
  9073. @@ -29263,33 +31059,32 @@
  9074. echo "${ECHO_T}$ac_header_preproc" >&6
  9075. # So? What about this header?
  9076. -case $ac_header_compiler:$ac_header_preproc in
  9077. - yes:no )
  9078. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9079. + yes:no: )
  9080. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  9081. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9082. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  9083. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9084. - (
  9085. - cat <<\_ASBOX
  9086. -## ------------------------------------ ##
  9087. -## Report this to bug-autoconf@gnu.org. ##
  9088. -## ------------------------------------ ##
  9089. -_ASBOX
  9090. - ) |
  9091. - sed "s/^/$as_me: WARNING: /" >&2
  9092. + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  9093. +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  9094. + ac_header_preproc=yes
  9095. ;;
  9096. - no:yes )
  9097. + no:yes:* )
  9098. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  9099. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  9100. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  9101. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  9102. + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  9103. +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  9104. + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  9105. +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  9106. + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  9107. +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  9108. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  9109. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9110. + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9111. +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9112. (
  9113. cat <<\_ASBOX
  9114. -## ------------------------------------ ##
  9115. -## Report this to bug-autoconf@gnu.org. ##
  9116. -## ------------------------------------ ##
  9117. +## ------------------------------- ##
  9118. +## Report this to the sudo lists. ##
  9119. +## ------------------------------- ##
  9120. _ASBOX
  9121. ) |
  9122. sed "s/^/$as_me: WARNING: /" >&2
  9123. @@ -29300,7 +31095,7 @@
  9124. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9125. echo $ECHO_N "(cached) $ECHO_C" >&6
  9126. else
  9127. - eval "$as_ac_Header=$ac_header_preproc"
  9128. + eval "$as_ac_Header=\$ac_header_preproc"
  9129. fi
  9130. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9131. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9132. @@ -29412,6 +31207,7 @@
  9133. (exit $ac_status); } >/dev/null; then
  9134. if test -s conftest.err; then
  9135. ac_cpp_err=$ac_c_preproc_warn_flag
  9136. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9137. else
  9138. ac_cpp_err=
  9139. fi
  9140. @@ -29445,6 +31241,7 @@
  9141. (exit $ac_status); } >/dev/null; then
  9142. if test -s conftest.err; then
  9143. ac_cpp_err=$ac_c_preproc_warn_flag
  9144. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9145. else
  9146. ac_cpp_err=
  9147. fi
  9148. @@ -29498,7 +31295,6 @@
  9149. ac_check_lib_save_LIBS=$LIBS
  9150. LIBS="-lskey $LIBS"
  9151. cat >conftest.$ac_ext <<_ACEOF
  9152. -#line $LINENO "configure"
  9153. /* confdefs.h. */
  9154. _ACEOF
  9155. cat confdefs.h >>conftest.$ac_ext
  9156. @@ -29516,11 +31312,20 @@
  9157. _ACEOF
  9158. rm -f conftest.$ac_objext conftest$ac_exeext
  9159. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9160. - (eval $ac_link) 2>&5
  9161. + (eval $ac_link) 2>conftest.er1
  9162. ac_status=$?
  9163. + grep -v '^ *+' conftest.er1 >conftest.err
  9164. + rm -f conftest.er1
  9165. + cat conftest.err >&5
  9166. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9167. (exit $ac_status); } &&
  9168. - { ac_try='test -s conftest$ac_exeext'
  9169. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9170. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9171. + (eval $ac_try) 2>&5
  9172. + ac_status=$?
  9173. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9174. + (exit $ac_status); }; } &&
  9175. + { ac_try='test -s conftest$ac_exeext'
  9176. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9177. (eval $ac_try) 2>&5
  9178. ac_status=$?
  9179. @@ -29533,7 +31338,8 @@
  9180. ac_cv_lib_skey_main=no
  9181. fi
  9182. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9183. +rm -f conftest.err conftest.$ac_objext \
  9184. + conftest$ac_exeext conftest.$ac_ext
  9185. LIBS=$ac_check_lib_save_LIBS
  9186. fi
  9187. echo "$as_me:$LINENO: result: $ac_cv_lib_skey_main" >&5
  9188. @@ -29553,7 +31359,6 @@
  9189. ac_check_lib_save_LIBS=$LIBS
  9190. LIBS="-lskey $LIBS"
  9191. cat >conftest.$ac_ext <<_ACEOF
  9192. -#line $LINENO "configure"
  9193. /* confdefs.h. */
  9194. _ACEOF
  9195. cat confdefs.h >>conftest.$ac_ext
  9196. @@ -29577,11 +31382,20 @@
  9197. _ACEOF
  9198. rm -f conftest.$ac_objext conftest$ac_exeext
  9199. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9200. - (eval $ac_link) 2>&5
  9201. + (eval $ac_link) 2>conftest.er1
  9202. ac_status=$?
  9203. + grep -v '^ *+' conftest.er1 >conftest.err
  9204. + rm -f conftest.er1
  9205. + cat conftest.err >&5
  9206. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9207. (exit $ac_status); } &&
  9208. - { ac_try='test -s conftest$ac_exeext'
  9209. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9210. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9211. + (eval $ac_try) 2>&5
  9212. + ac_status=$?
  9213. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9214. + (exit $ac_status); }; } &&
  9215. + { ac_try='test -s conftest$ac_exeext'
  9216. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9217. (eval $ac_try) 2>&5
  9218. ac_status=$?
  9219. @@ -29594,7 +31408,8 @@
  9220. ac_cv_lib_skey_skeyaccess=no
  9221. fi
  9222. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9223. +rm -f conftest.err conftest.$ac_objext \
  9224. + conftest$ac_exeext conftest.$ac_ext
  9225. LIBS=$ac_check_lib_save_LIBS
  9226. fi
  9227. echo "$as_me:$LINENO: result: $ac_cv_lib_skey_skeyaccess" >&5
  9228. @@ -29647,6 +31462,7 @@
  9229. (exit $ac_status); } >/dev/null; then
  9230. if test -s conftest.err; then
  9231. ac_cpp_err=$ac_c_preproc_warn_flag
  9232. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9233. else
  9234. ac_cpp_err=
  9235. fi
  9236. @@ -29680,6 +31496,7 @@
  9237. (exit $ac_status); } >/dev/null; then
  9238. if test -s conftest.err; then
  9239. ac_cpp_err=$ac_c_preproc_warn_flag
  9240. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9241. else
  9242. ac_cpp_err=
  9243. fi
  9244. @@ -29733,7 +31550,6 @@
  9245. ac_check_lib_save_LIBS=$LIBS
  9246. LIBS="-lopie $LIBS"
  9247. cat >conftest.$ac_ext <<_ACEOF
  9248. -#line $LINENO "configure"
  9249. /* confdefs.h. */
  9250. _ACEOF
  9251. cat confdefs.h >>conftest.$ac_ext
  9252. @@ -29751,11 +31567,20 @@
  9253. _ACEOF
  9254. rm -f conftest.$ac_objext conftest$ac_exeext
  9255. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9256. - (eval $ac_link) 2>&5
  9257. + (eval $ac_link) 2>conftest.er1
  9258. ac_status=$?
  9259. + grep -v '^ *+' conftest.er1 >conftest.err
  9260. + rm -f conftest.er1
  9261. + cat conftest.err >&5
  9262. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9263. (exit $ac_status); } &&
  9264. - { ac_try='test -s conftest$ac_exeext'
  9265. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9266. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9267. + (eval $ac_try) 2>&5
  9268. + ac_status=$?
  9269. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9270. + (exit $ac_status); }; } &&
  9271. + { ac_try='test -s conftest$ac_exeext'
  9272. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9273. (eval $ac_try) 2>&5
  9274. ac_status=$?
  9275. @@ -29768,7 +31593,8 @@
  9276. ac_cv_lib_opie_main=no
  9277. fi
  9278. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9279. +rm -f conftest.err conftest.$ac_objext \
  9280. + conftest$ac_exeext conftest.$ac_ext
  9281. LIBS=$ac_check_lib_save_LIBS
  9282. fi
  9283. echo "$as_me:$LINENO: result: $ac_cv_lib_opie_main" >&5
  9284. @@ -29809,7 +31635,7 @@
  9285. #
  9286. echo "$as_me:$LINENO: checking for SD_Init in -laceclnt" >&5
  9287. echo $ECHO_N "checking for SD_Init in -laceclnt... $ECHO_C" >&6
  9288. -if test "${ac_cv_lib_aceclnt_SD_Init_______lpthread_______+set}" = set; then
  9289. +if test "${ac_cv_lib_aceclnt_SD_Init+set}" = set; then
  9290. echo $ECHO_N "(cached) $ECHO_C" >&6
  9291. else
  9292. ac_check_lib_save_LIBS=$LIBS
  9293. @@ -29818,7 +31644,6 @@
  9294. $LIBS"
  9295. cat >conftest.$ac_ext <<_ACEOF
  9296. -#line $LINENO "configure"
  9297. /* confdefs.h. */
  9298. _ACEOF
  9299. cat confdefs.h >>conftest.$ac_ext
  9300. @@ -29842,29 +31667,39 @@
  9301. _ACEOF
  9302. rm -f conftest.$ac_objext conftest$ac_exeext
  9303. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9304. - (eval $ac_link) 2>&5
  9305. + (eval $ac_link) 2>conftest.er1
  9306. ac_status=$?
  9307. + grep -v '^ *+' conftest.er1 >conftest.err
  9308. + rm -f conftest.er1
  9309. + cat conftest.err >&5
  9310. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9311. (exit $ac_status); } &&
  9312. - { ac_try='test -s conftest$ac_exeext'
  9313. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9314. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9315. + (eval $ac_try) 2>&5
  9316. + ac_status=$?
  9317. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9318. + (exit $ac_status); }; } &&
  9319. + { ac_try='test -s conftest$ac_exeext'
  9320. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9321. (eval $ac_try) 2>&5
  9322. ac_status=$?
  9323. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9324. (exit $ac_status); }; }; then
  9325. - ac_cv_lib_aceclnt_SD_Init_______lpthread_______=yes
  9326. + ac_cv_lib_aceclnt_SD_Init=yes
  9327. else
  9328. echo "$as_me: failed program was:" >&5
  9329. sed 's/^/| /' conftest.$ac_ext >&5
  9330. -ac_cv_lib_aceclnt_SD_Init_______lpthread_______=no
  9331. +ac_cv_lib_aceclnt_SD_Init=no
  9332. fi
  9333. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9334. +rm -f conftest.err conftest.$ac_objext \
  9335. + conftest$ac_exeext conftest.$ac_ext
  9336. LIBS=$ac_check_lib_save_LIBS
  9337. fi
  9338. -echo "$as_me:$LINENO: result: $ac_cv_lib_aceclnt_SD_Init_______lpthread_______" >&5
  9339. -echo "${ECHO_T}$ac_cv_lib_aceclnt_SD_Init_______lpthread_______" >&6
  9340. -if test $ac_cv_lib_aceclnt_SD_Init_______lpthread_______ = yes; then
  9341. +echo "$as_me:$LINENO: result: $ac_cv_lib_aceclnt_SD_Init" >&5
  9342. +echo "${ECHO_T}$ac_cv_lib_aceclnt_SD_Init" >&6
  9343. +if test $ac_cv_lib_aceclnt_SD_Init = yes; then
  9344. AUTH_OBJS="securid5.o"
  9345. SUDO_LIBS="${SUDO_LIBS} -laceclnt -lpthread"
  9346. @@ -29950,7 +31785,6 @@
  9347. LIBS="${LIBS} $l"
  9348. LDAP_LIBS="${LDAP_LIBS} $l"
  9349. cat >conftest.$ac_ext <<_ACEOF
  9350. -#line $LINENO "configure"
  9351. /* confdefs.h. */
  9352. _ACEOF
  9353. cat confdefs.h >>conftest.$ac_ext
  9354. @@ -29969,11 +31803,20 @@
  9355. _ACEOF
  9356. rm -f conftest.$ac_objext conftest$ac_exeext
  9357. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9358. - (eval $ac_link) 2>&5
  9359. + (eval $ac_link) 2>conftest.er1
  9360. ac_status=$?
  9361. + grep -v '^ *+' conftest.er1 >conftest.err
  9362. + rm -f conftest.er1
  9363. + cat conftest.err >&5
  9364. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9365. (exit $ac_status); } &&
  9366. - { ac_try='test -s conftest$ac_exeext'
  9367. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9368. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9369. + (eval $ac_try) 2>&5
  9370. + ac_status=$?
  9371. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9372. + (exit $ac_status); }; } &&
  9373. + { ac_try='test -s conftest$ac_exeext'
  9374. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9375. (eval $ac_try) 2>&5
  9376. ac_status=$?
  9377. @@ -29985,7 +31828,8 @@
  9378. sed 's/^/| /' conftest.$ac_ext >&5
  9379. fi
  9380. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9381. +rm -f conftest.err conftest.$ac_objext \
  9382. + conftest$ac_exeext conftest.$ac_ext
  9383. done
  9384. if test "$found" = "no"; then
  9385. LDAP_LIBS=" -ldap"
  9386. @@ -29998,7 +31842,6 @@
  9387. echo "$as_me:$LINENO: checking whether lber.h is needed" >&5
  9388. echo $ECHO_N "checking whether lber.h is needed... $ECHO_C" >&6
  9389. cat >conftest.$ac_ext <<_ACEOF
  9390. -#line $LINENO "configure"
  9391. /* confdefs.h. */
  9392. _ACEOF
  9393. cat confdefs.h >>conftest.$ac_ext
  9394. @@ -30016,11 +31859,20 @@
  9395. _ACEOF
  9396. rm -f conftest.$ac_objext conftest$ac_exeext
  9397. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9398. - (eval $ac_link) 2>&5
  9399. + (eval $ac_link) 2>conftest.er1
  9400. ac_status=$?
  9401. + grep -v '^ *+' conftest.er1 >conftest.err
  9402. + rm -f conftest.er1
  9403. + cat conftest.err >&5
  9404. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9405. (exit $ac_status); } &&
  9406. - { ac_try='test -s conftest$ac_exeext'
  9407. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9408. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9409. + (eval $ac_try) 2>&5
  9410. + ac_status=$?
  9411. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9412. + (exit $ac_status); }; } &&
  9413. + { ac_try='test -s conftest$ac_exeext'
  9414. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9415. (eval $ac_try) 2>&5
  9416. ac_status=$?
  9417. @@ -30040,7 +31892,8 @@
  9418. _ACEOF
  9419. fi
  9420. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9421. +rm -f conftest.err conftest.$ac_objext \
  9422. + conftest$ac_exeext conftest.$ac_ext
  9423. @@ -30053,21 +31906,28 @@
  9424. echo $ECHO_N "(cached) $ECHO_C" >&6
  9425. else
  9426. cat >conftest.$ac_ext <<_ACEOF
  9427. -#line $LINENO "configure"
  9428. /* confdefs.h. */
  9429. _ACEOF
  9430. cat confdefs.h >>conftest.$ac_ext
  9431. cat >>conftest.$ac_ext <<_ACEOF
  9432. /* end confdefs.h. */
  9433. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  9434. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  9435. +#define $ac_func innocuous_$ac_func
  9436. +
  9437. /* System header to define __stub macros and hopefully few prototypes,
  9438. which can conflict with char $ac_func (); below.
  9439. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9440. <limits.h> exists even on freestanding compilers. */
  9441. +
  9442. #ifdef __STDC__
  9443. # include <limits.h>
  9444. #else
  9445. # include <assert.h>
  9446. #endif
  9447. +
  9448. +#undef $ac_func
  9449. +
  9450. /* Override any gcc2 internal prototype to avoid an error. */
  9451. #ifdef __cplusplus
  9452. extern "C"
  9453. @@ -30098,11 +31958,20 @@
  9454. _ACEOF
  9455. rm -f conftest.$ac_objext conftest$ac_exeext
  9456. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9457. - (eval $ac_link) 2>&5
  9458. + (eval $ac_link) 2>conftest.er1
  9459. ac_status=$?
  9460. + grep -v '^ *+' conftest.er1 >conftest.err
  9461. + rm -f conftest.er1
  9462. + cat conftest.err >&5
  9463. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9464. (exit $ac_status); } &&
  9465. - { ac_try='test -s conftest$ac_exeext'
  9466. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  9467. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9468. + (eval $ac_try) 2>&5
  9469. + ac_status=$?
  9470. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9471. + (exit $ac_status); }; } &&
  9472. + { ac_try='test -s conftest$ac_exeext'
  9473. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9474. (eval $ac_try) 2>&5
  9475. ac_status=$?
  9476. @@ -30115,7 +31984,8 @@
  9477. eval "$as_ac_var=no"
  9478. fi
  9479. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  9480. +rm -f conftest.err conftest.$ac_objext \
  9481. + conftest$ac_exeext conftest.$ac_ext
  9482. fi
  9483. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  9484. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  9485. @@ -30295,13 +32165,13 @@
  9486. # `set' does not quote correctly, so add quotes (double-quote
  9487. # substitution turns \\\\ into \\, and sed turns \\ into \).
  9488. sed -n \
  9489. - "s/'/'\\\\''/g;
  9490. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  9491. + "s/'/'\\\\''/g;
  9492. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  9493. ;;
  9494. *)
  9495. # `set' quotes correctly as required by POSIX, so do not add quotes.
  9496. sed -n \
  9497. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  9498. + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  9499. ;;
  9500. esac;
  9501. } |
  9502. @@ -30331,13 +32201,13 @@
  9503. # trailing colons and then remove the whole line if VPATH becomes empty
  9504. # (actually we leave an empty line to preserve line numbers).
  9505. if test "x$srcdir" = x.; then
  9506. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  9507. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  9508. s/:*\$(srcdir):*/:/;
  9509. s/:*\${srcdir}:*/:/;
  9510. s/:*@srcdir@:*/:/;
  9511. -s/^\([^=]*=[ ]*\):*/\1/;
  9512. +s/^\([^=]*=[ ]*\):*/\1/;
  9513. s/:*$//;
  9514. -s/^[^=]*=[ ]*$//;
  9515. +s/^[^=]*=[ ]*$//;
  9516. }'
  9517. fi
  9518. @@ -30348,7 +32218,7 @@
  9519. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  9520. # 1. Remove the extension, and $U if already installed.
  9521. ac_i=`echo "$ac_i" |
  9522. - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  9523. + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  9524. # 2. Add them.
  9525. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  9526. ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  9527. @@ -30392,9 +32262,10 @@
  9528. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  9529. set -o posix
  9530. fi
  9531. +DUALCASE=1; export DUALCASE # for MKS sh
  9532. # Support unset when possible.
  9533. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  9534. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  9535. as_unset=unset
  9536. else
  9537. as_unset=false
  9538. @@ -30413,7 +32284,7 @@
  9539. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  9540. LC_TELEPHONE LC_TIME
  9541. do
  9542. - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  9543. + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  9544. eval $as_var=C; export $as_var
  9545. else
  9546. $as_unset $as_var
  9547. @@ -30592,16 +32463,17 @@
  9548. if mkdir -p . 2>/dev/null; then
  9549. as_mkdir_p=:
  9550. else
  9551. + test -d ./-p && rmdir ./-p
  9552. as_mkdir_p=false
  9553. fi
  9554. as_executable_p="test -f"
  9555. # Sed expression to map a string onto a valid CPP name.
  9556. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  9557. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9558. # Sed expression to map a string onto a valid variable name.
  9559. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  9560. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9561. # IFS
  9562. @@ -30628,7 +32500,7 @@
  9563. cat >&5 <<_CSEOF
  9564. This file was extended by sudo $as_me 1.6.8, which was
  9565. -generated by GNU Autoconf 2.57. Invocation command line was
  9566. +generated by GNU Autoconf 2.59. Invocation command line was
  9567. CONFIG_FILES = $CONFIG_FILES
  9568. CONFIG_HEADERS = $CONFIG_HEADERS
  9569. @@ -30672,9 +32544,9 @@
  9570. -d, --debug don't remove temporary files
  9571. --recheck update $as_me by reconfiguring in the same conditions
  9572. --file=FILE[:TEMPLATE]
  9573. - instantiate the configuration file FILE
  9574. + instantiate the configuration file FILE
  9575. --header=FILE[:TEMPLATE]
  9576. - instantiate the configuration header FILE
  9577. + instantiate the configuration header FILE
  9578. Configuration files:
  9579. $config_files
  9580. @@ -30688,11 +32560,10 @@
  9581. cat >>$CONFIG_STATUS <<_ACEOF
  9582. ac_cs_version="\\
  9583. sudo config.status 1.6.8
  9584. -configured by $0, generated by GNU Autoconf 2.57,
  9585. +configured by $0, generated by GNU Autoconf 2.59,
  9586. with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  9587. -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  9588. -Free Software Foundation, Inc.
  9589. +Copyright (C) 2003 Free Software Foundation, Inc.
  9590. This config.status script is free software; the Free Software Foundation
  9591. gives unlimited permission to copy, distribute and modify it."
  9592. srcdir=$srcdir
  9593. @@ -31000,9 +32871,9 @@
  9594. (echo ':t
  9595. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  9596. if test -z "$ac_sed_cmds"; then
  9597. - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  9598. + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  9599. else
  9600. - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  9601. + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  9602. fi
  9603. ac_sed_frag=`expr $ac_sed_frag + 1`
  9604. ac_beg=$ac_end
  9605. @@ -31020,21 +32891,21 @@
  9606. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  9607. case $ac_file in
  9608. - | *:- | *:-:* ) # input from stdin
  9609. - cat >$tmp/stdin
  9610. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9611. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9612. + cat >$tmp/stdin
  9613. + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9614. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9615. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9616. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9617. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9618. * ) ac_file_in=$ac_file.in ;;
  9619. esac
  9620. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  9621. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  9622. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9623. - X"$ac_file" : 'X\(//\)[^/]' \| \
  9624. - X"$ac_file" : 'X\(//\)$' \| \
  9625. - X"$ac_file" : 'X\(/\)' \| \
  9626. - . : '\(.\)' 2>/dev/null ||
  9627. + X"$ac_file" : 'X\(//\)[^/]' \| \
  9628. + X"$ac_file" : 'X\(//\)$' \| \
  9629. + X"$ac_file" : 'X\(/\)' \| \
  9630. + . : '\(.\)' 2>/dev/null ||
  9631. echo X"$ac_file" |
  9632. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  9633. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  9634. @@ -31050,10 +32921,10 @@
  9635. as_dirs="$as_dir $as_dirs"
  9636. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  9637. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9638. - X"$as_dir" : 'X\(//\)[^/]' \| \
  9639. - X"$as_dir" : 'X\(//\)$' \| \
  9640. - X"$as_dir" : 'X\(/\)' \| \
  9641. - . : '\(.\)' 2>/dev/null ||
  9642. + X"$as_dir" : 'X\(//\)[^/]' \| \
  9643. + X"$as_dir" : 'X\(//\)$' \| \
  9644. + X"$as_dir" : 'X\(/\)' \| \
  9645. + . : '\(.\)' 2>/dev/null ||
  9646. echo X"$as_dir" |
  9647. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  9648. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  9649. @@ -31091,20 +32962,48 @@
  9650. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  9651. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  9652. esac
  9653. -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  9654. -# absolute.
  9655. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  9656. -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  9657. -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  9658. -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  9659. +
  9660. +# Do not use `cd foo && pwd` to compute absolute paths, because
  9661. +# the directories may not exist.
  9662. +case `pwd` in
  9663. +.) ac_abs_builddir="$ac_dir";;
  9664. +*)
  9665. + case "$ac_dir" in
  9666. + .) ac_abs_builddir=`pwd`;;
  9667. + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  9668. + *) ac_abs_builddir=`pwd`/"$ac_dir";;
  9669. + esac;;
  9670. +esac
  9671. +case $ac_abs_builddir in
  9672. +.) ac_abs_top_builddir=${ac_top_builddir}.;;
  9673. +*)
  9674. + case ${ac_top_builddir}. in
  9675. + .) ac_abs_top_builddir=$ac_abs_builddir;;
  9676. + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  9677. + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  9678. + esac;;
  9679. +esac
  9680. +case $ac_abs_builddir in
  9681. +.) ac_abs_srcdir=$ac_srcdir;;
  9682. +*)
  9683. + case $ac_srcdir in
  9684. + .) ac_abs_srcdir=$ac_abs_builddir;;
  9685. + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  9686. + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  9687. + esac;;
  9688. +esac
  9689. +case $ac_abs_builddir in
  9690. +.) ac_abs_top_srcdir=$ac_top_srcdir;;
  9691. +*)
  9692. + case $ac_top_srcdir in
  9693. + .) ac_abs_top_srcdir=$ac_abs_builddir;;
  9694. + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  9695. + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  9696. + esac;;
  9697. +esac
  9698. - if test x"$ac_file" != x-; then
  9699. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  9700. -echo "$as_me: creating $ac_file" >&6;}
  9701. - rm -f "$ac_file"
  9702. - fi
  9703. # Let's still pretend it is `configure' which instantiates (i.e., don't
  9704. # use $as_me), people would be surprised to read:
  9705. # /* config.h. Generated by config.status. */
  9706. @@ -31114,7 +33013,7 @@
  9707. configure_input="$ac_file. "
  9708. fi
  9709. configure_input=$configure_input"Generated from `echo $ac_file_in |
  9710. - sed 's,.*/,,'` by configure."
  9711. + sed 's,.*/,,'` by configure."
  9712. # First look for the input files in the build tree, otherwise in the
  9713. # src tree.
  9714. @@ -31123,26 +33022,32 @@
  9715. case $f in
  9716. -) echo $tmp/stdin ;;
  9717. [\\/$]*)
  9718. - # Absolute (can't be DOS-style, as IFS=:)
  9719. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9720. + # Absolute (can't be DOS-style, as IFS=:)
  9721. + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9722. echo "$as_me: error: cannot find input file: $f" >&2;}
  9723. { (exit 1); exit 1; }; }
  9724. - echo $f;;
  9725. + echo "$f";;
  9726. *) # Relative
  9727. - if test -f "$f"; then
  9728. - # Build tree
  9729. - echo $f
  9730. - elif test -f "$srcdir/$f"; then
  9731. - # Source tree
  9732. - echo $srcdir/$f
  9733. - else
  9734. - # /dev/null tree
  9735. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9736. + if test -f "$f"; then
  9737. + # Build tree
  9738. + echo "$f"
  9739. + elif test -f "$srcdir/$f"; then
  9740. + # Source tree
  9741. + echo "$srcdir/$f"
  9742. + else
  9743. + # /dev/null tree
  9744. + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9745. echo "$as_me: error: cannot find input file: $f" >&2;}
  9746. { (exit 1); exit 1; }; }
  9747. - fi;;
  9748. + fi;;
  9749. esac
  9750. done` || { (exit 1); exit 1; }
  9751. +
  9752. + if test x"$ac_file" != x-; then
  9753. + { echo "$as_me:$LINENO: creating $ac_file" >&5
  9754. +echo "$as_me: creating $ac_file" >&6;}
  9755. + rm -f "$ac_file"
  9756. + fi
  9757. _ACEOF
  9758. cat >>$CONFIG_STATUS <<_ACEOF
  9759. sed "$ac_vpsub
  9760. @@ -31181,12 +33086,12 @@
  9761. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  9762. #
  9763. # ac_d sets the value in "#define NAME VALUE" lines.
  9764. -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  9765. -ac_dB='[ ].*$,\1#\2'
  9766. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  9767. +ac_dB='[ ].*$,\1#\2'
  9768. ac_dC=' '
  9769. ac_dD=',;t'
  9770. # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  9771. -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  9772. +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  9773. ac_uB='$,\1#\2define\3'
  9774. ac_uC=' '
  9775. ac_uD=',;t'
  9776. @@ -31195,11 +33100,11 @@
  9777. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  9778. case $ac_file in
  9779. - | *:- | *:-:* ) # input from stdin
  9780. - cat >$tmp/stdin
  9781. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9782. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9783. + cat >$tmp/stdin
  9784. + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9785. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9786. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9787. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9788. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9789. * ) ac_file_in=$ac_file.in ;;
  9790. esac
  9791. @@ -31213,28 +33118,29 @@
  9792. case $f in
  9793. -) echo $tmp/stdin ;;
  9794. [\\/$]*)
  9795. - # Absolute (can't be DOS-style, as IFS=:)
  9796. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9797. + # Absolute (can't be DOS-style, as IFS=:)
  9798. + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9799. echo "$as_me: error: cannot find input file: $f" >&2;}
  9800. { (exit 1); exit 1; }; }
  9801. - echo $f;;
  9802. + # Do quote $f, to prevent DOS paths from being IFS'd.
  9803. + echo "$f";;
  9804. *) # Relative
  9805. - if test -f "$f"; then
  9806. - # Build tree
  9807. - echo $f
  9808. - elif test -f "$srcdir/$f"; then
  9809. - # Source tree
  9810. - echo $srcdir/$f
  9811. - else
  9812. - # /dev/null tree
  9813. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9814. + if test -f "$f"; then
  9815. + # Build tree
  9816. + echo "$f"
  9817. + elif test -f "$srcdir/$f"; then
  9818. + # Source tree
  9819. + echo "$srcdir/$f"
  9820. + else
  9821. + # /dev/null tree
  9822. + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9823. echo "$as_me: error: cannot find input file: $f" >&2;}
  9824. { (exit 1); exit 1; }; }
  9825. - fi;;
  9826. + fi;;
  9827. esac
  9828. done` || { (exit 1); exit 1; }
  9829. # Remove the trailing spaces.
  9830. - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  9831. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  9832. _ACEOF
  9833. @@ -31257,9 +33163,9 @@
  9834. s,[\\$`],\\&,g
  9835. t clear
  9836. : clear
  9837. -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  9838. +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  9839. t end
  9840. -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  9841. +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  9842. : end
  9843. _ACEOF
  9844. # If some macros were called several times there might be several times
  9845. @@ -31273,13 +33179,13 @@
  9846. # example, in the case of _POSIX_SOURCE, which is predefined and required
  9847. # on some systems where configure will not decide to define it.
  9848. cat >>conftest.undefs <<\_ACEOF
  9849. -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  9850. +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  9851. _ACEOF
  9852. # Break up conftest.defines because some shells have a limit on the size
  9853. # of here documents, and old seds have small limits too (100 cmds).
  9854. echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  9855. -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  9856. +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  9857. echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  9858. echo ' :' >>$CONFIG_STATUS
  9859. rm -f conftest.tail
  9860. @@ -31288,7 +33194,7 @@
  9861. # Write a limited-size here document to $tmp/defines.sed.
  9862. echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  9863. # Speed up: don't consider the non `#define' lines.
  9864. - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  9865. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  9866. # Work around the forget-to-reset-the-flag bug.
  9867. echo 't clr' >>$CONFIG_STATUS
  9868. echo ': clr' >>$CONFIG_STATUS
  9869. @@ -31315,7 +33221,7 @@
  9870. # Write a limited-size here document to $tmp/undefs.sed.
  9871. echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  9872. # Speed up: don't consider the non `#undef'
  9873. - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  9874. + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  9875. # Work around the forget-to-reset-the-flag bug.
  9876. echo 't clr' >>$CONFIG_STATUS
  9877. echo ': clr' >>$CONFIG_STATUS
  9878. @@ -31349,10 +33255,10 @@
  9879. else
  9880. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  9881. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9882. - X"$ac_file" : 'X\(//\)[^/]' \| \
  9883. - X"$ac_file" : 'X\(//\)$' \| \
  9884. - X"$ac_file" : 'X\(/\)' \| \
  9885. - . : '\(.\)' 2>/dev/null ||
  9886. + X"$ac_file" : 'X\(//\)[^/]' \| \
  9887. + X"$ac_file" : 'X\(//\)$' \| \
  9888. + X"$ac_file" : 'X\(/\)' \| \
  9889. + . : '\(.\)' 2>/dev/null ||
  9890. echo X"$ac_file" |
  9891. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  9892. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  9893. @@ -31368,10 +33274,10 @@
  9894. as_dirs="$as_dir $as_dirs"
  9895. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  9896. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9897. - X"$as_dir" : 'X\(//\)[^/]' \| \
  9898. - X"$as_dir" : 'X\(//\)$' \| \
  9899. - X"$as_dir" : 'X\(/\)' \| \
  9900. - . : '\(.\)' 2>/dev/null ||
  9901. + X"$as_dir" : 'X\(//\)[^/]' \| \
  9902. + X"$as_dir" : 'X\(//\)$' \| \
  9903. + X"$as_dir" : 'X\(/\)' \| \
  9904. + . : '\(.\)' 2>/dev/null ||
  9905. echo X"$as_dir" |
  9906. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  9907. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  9908. diff -ur sudo-1.6.8p9/configure.in sudo-1.6.8p9-patched/configure.in
  9909. --- sudo-1.6.8p9/configure.in 2004-11-25 11:31:20.000000000 -0600
  9910. +++ sudo-1.6.8p9-patched/configure.in 2006-05-26 13:05:14.000000000 -0500
  9911. @@ -1703,9 +1703,9 @@
  9912. AC_CHECK_FUNCS(lockf flock, [break])
  9913. AC_CHECK_FUNCS(waitpid wait3, [break])
  9914. AC_CHECK_FUNCS(innetgr _innetgr, [AC_CHECK_FUNCS(getdomainname) [break]])
  9915. -AC_CHECK_FUNCS(lsearch, , [AC_CHECK_LIB(compat, lsearch, AC_CHECK_HEADER(search.h, AC_DEFINE(HAVE_LSEARCH) [LIBS="${LIBS} -lcompat"], AC_LIBOBJ(lsearch), -), AC_LIBOBJ(lsearch))])
  9916. +AC_CHECK_FUNCS(lsearch, , [AC_CHECK_LIB(compat, lsearch, [AC_CHECK_HEADER(search.h, AC_DEFINE(HAVE_LSEARCH) [LIBS="${LIBS} -lcompat"], [AC_LIBOBJ(lsearch)], -)], [AC_LIBOBJ(lsearch)])])
  9917. AC_CHECK_FUNCS(utimes, [AC_CHECK_FUNCS(futimes futimesat, [break])], [AC_CHECK_FUNCS(futime) AC_LIBOBJ(utimes)])
  9918. -SUDO_FUNC_FNMATCH(AC_DEFINE(HAVE_FNMATCH), AC_LIBOBJ(fnmatch))
  9919. +SUDO_FUNC_FNMATCH(AC_DEFINE(HAVE_FNMATCH), [AC_LIBOBJ(fnmatch)])
  9920. SUDO_FUNC_ISBLANK
  9921. AC_REPLACE_FUNCS(strerror strcasecmp sigaction strlcpy strlcat closefrom)
  9922. AC_CHECK_FUNCS(snprintf vsnprintf asprintf vasprintf, , [NEED_SNPRINTF=1])
  9923. diff -ur sudo-1.6.8p9/Makefile.in sudo-1.6.8p9-patched/Makefile.in
  9924. --- sudo-1.6.8p9/Makefile.in 2005-06-19 15:03:50.000000000 -0500
  9925. +++ sudo-1.6.8p9-patched/Makefile.in 2006-05-26 13:04:20.000000000 -0500
  9926. @@ -301,11 +301,13 @@
  9927. $(DESTDIR)$(noexecdir)
  9928. install-binaries: $(PROGS)
  9929. - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 -s sudo $(DESTDIR)$(sudodir)/sudo
  9930. + $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 sudo $(DESTDIR)$(sudodir)/sudo
  9931. + $(STRIP) $(DESTDIR)$(sudodir)/sudo
  9932. rm -f $(DESTDIR)$(sudodir)/sudoedit
  9933. ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit
  9934. - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s visudo $(DESTDIR)$(visudodir)/visudo
  9935. + $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 visudo $(DESTDIR)$(visudodir)/visudo
  9936. + $(STRIP) $(DESTDIR)$(visudodir)/visudo
  9937. install-noexec: sudo_noexec.la
  9938. $(LIBTOOL) --mode=install $(INSTALL) sudo_noexec.la $(DESTDIR)$(noexecdir)