2
1

configure.patch 613 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218
  1. diff -ur vim71-original/src/auto/configure vim71/src/auto/configure
  2. --- vim71-original/src/auto/configure 2008-02-17 14:58:14.000000000 +0000
  3. +++ vim71/src/auto/configure 2008-02-17 14:57:02.000000000 +0000
  4. @@ -1,25 +1,54 @@
  5. #! /bin/sh
  6. # Guess values for system-dependent variables and create Makefiles.
  7. -# Generated by GNU Autoconf 2.59.
  8. +# Generated by GNU Autoconf 2.61.
  9. #
  10. -# Copyright (C) 2003 Free Software Foundation, Inc.
  11. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  12. +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  13. # This configure script is free software; the Free Software Foundation
  14. # gives unlimited permission to copy, distribute and modify it.
  15. ## --------------------- ##
  16. ## M4sh Initialization. ##
  17. ## --------------------- ##
  18. -# Be Bourne compatible
  19. +# Be more Bourne compatible
  20. +DUALCASE=1; export DUALCASE # for MKS sh
  21. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  22. emulate sh
  23. NULLCMD=:
  24. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  25. # is contrary to our usage. Disable this feature.
  26. alias -g '${1+"$@"}'='"$@"'
  27. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  28. - set -o posix
  29. + setopt NO_GLOB_SUBST
  30. +else
  31. + case `(set -o) 2>/dev/null` in
  32. + *posix*) set -o posix ;;
  33. +esac
  34. +
  35. +fi
  36. +
  37. +
  38. +
  39. +
  40. +# PATH needs CR
  41. +# Avoid depending upon Character Ranges.
  42. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  43. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  44. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  45. +as_cr_digits='0123456789'
  46. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  47. +
  48. +# The user is always right.
  49. +if test "${PATH_SEPARATOR+set}" != set; then
  50. + echo "#! /bin/sh" >conf$$.sh
  51. + echo "exit 0" >>conf$$.sh
  52. + chmod +x conf$$.sh
  53. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  54. + PATH_SEPARATOR=';'
  55. + else
  56. + PATH_SEPARATOR=:
  57. + fi
  58. + rm -f conf$$.sh
  59. fi
  60. -DUALCASE=1; export DUALCASE # for MKS sh
  61. # Support unset when possible.
  62. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  63. @@ -29,8 +58,43 @@
  64. fi
  65. +# IFS
  66. +# We need space, tab and new line, in precisely that order. Quoting is
  67. +# there to prevent editors from complaining about space-tab.
  68. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  69. +# splitting by setting IFS to empty value.)
  70. +as_nl='
  71. +'
  72. +IFS=" "" $as_nl"
  73. +
  74. +# Find who we are. Look in the path if we contain no directory separator.
  75. +case $0 in
  76. + *[\\/]* ) as_myself=$0 ;;
  77. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  78. +for as_dir in $PATH
  79. +do
  80. + IFS=$as_save_IFS
  81. + test -z "$as_dir" && as_dir=.
  82. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  83. +done
  84. +IFS=$as_save_IFS
  85. +
  86. + ;;
  87. +esac
  88. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  89. +# in which case we are not to be found in the path.
  90. +if test "x$as_myself" = x; then
  91. + as_myself=$0
  92. +fi
  93. +if test ! -f "$as_myself"; then
  94. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  95. + { (exit 1); exit 1; }
  96. +fi
  97. +
  98. # Work around bugs in pre-3.0 UWIN ksh.
  99. -$as_unset ENV MAIL MAILPATH
  100. +for as_var in ENV MAIL MAILPATH
  101. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  102. +done
  103. PS1='$ '
  104. PS2='> '
  105. PS4='+ '
  106. @@ -44,18 +108,19 @@
  107. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  108. eval $as_var=C; export $as_var
  109. else
  110. - $as_unset $as_var
  111. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  112. fi
  113. done
  114. # Required to use basename.
  115. -if expr a : '\(a\)' >/dev/null 2>&1; then
  116. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  117. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  118. as_expr=expr
  119. else
  120. as_expr=false
  121. fi
  122. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  123. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  124. as_basename=basename
  125. else
  126. as_basename=false
  127. @@ -63,157 +128,388 @@
  128. # Name of the executable.
  129. -as_me=`$as_basename "$0" ||
  130. +as_me=`$as_basename -- "$0" ||
  131. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  132. X"$0" : 'X\(//\)$' \| \
  133. - X"$0" : 'X\(/\)$' \| \
  134. - . : '\(.\)' 2>/dev/null ||
  135. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  136. echo X/"$0" |
  137. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  138. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  139. - /^X\/\(\/\).*/{ s//\1/; q; }
  140. - s/.*/./; q'`
  141. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  142. + s//\1/
  143. + q
  144. + }
  145. + /^X\/\(\/\/\)$/{
  146. + s//\1/
  147. + q
  148. + }
  149. + /^X\/\(\/\).*/{
  150. + s//\1/
  151. + q
  152. + }
  153. + s/.*/./; q'`
  154. +# CDPATH.
  155. +$as_unset CDPATH
  156. -# PATH needs CR, and LINENO needs CR and PATH.
  157. -# Avoid depending upon Character Ranges.
  158. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  159. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  160. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  161. -as_cr_digits='0123456789'
  162. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  163. -# The user is always right.
  164. -if test "${PATH_SEPARATOR+set}" != set; then
  165. - echo "#! /bin/sh" >conf$$.sh
  166. - echo "exit 0" >>conf$$.sh
  167. - chmod +x conf$$.sh
  168. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  169. - PATH_SEPARATOR=';'
  170. - else
  171. - PATH_SEPARATOR=:
  172. - fi
  173. - rm -f conf$$.sh
  174. +if test "x$CONFIG_SHELL" = x; then
  175. + if (eval ":") 2>/dev/null; then
  176. + as_have_required=yes
  177. +else
  178. + as_have_required=no
  179. +fi
  180. +
  181. + if test $as_have_required = yes && (eval ":
  182. +(as_func_return () {
  183. + (exit \$1)
  184. +}
  185. +as_func_success () {
  186. + as_func_return 0
  187. +}
  188. +as_func_failure () {
  189. + as_func_return 1
  190. +}
  191. +as_func_ret_success () {
  192. + return 0
  193. +}
  194. +as_func_ret_failure () {
  195. + return 1
  196. +}
  197. +
  198. +exitcode=0
  199. +if as_func_success; then
  200. + :
  201. +else
  202. + exitcode=1
  203. + echo as_func_success failed.
  204. fi
  205. +if as_func_failure; then
  206. + exitcode=1
  207. + echo as_func_failure succeeded.
  208. +fi
  209. - as_lineno_1=$LINENO
  210. - as_lineno_2=$LINENO
  211. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  212. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  213. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  214. - # Find who we are. Look in the path if we contain no path at all
  215. - # relative or not.
  216. - case $0 in
  217. - *[\\/]* ) as_myself=$0 ;;
  218. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  219. -for as_dir in $PATH
  220. -do
  221. - IFS=$as_save_IFS
  222. - test -z "$as_dir" && as_dir=.
  223. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  224. -done
  225. +if as_func_ret_success; then
  226. + :
  227. +else
  228. + exitcode=1
  229. + echo as_func_ret_success failed.
  230. +fi
  231. - ;;
  232. - esac
  233. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  234. - # in which case we are not to be found in the path.
  235. - if test "x$as_myself" = x; then
  236. - as_myself=$0
  237. - fi
  238. - if test ! -f "$as_myself"; then
  239. - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  240. - { (exit 1); exit 1; }; }
  241. - fi
  242. - case $CONFIG_SHELL in
  243. - '')
  244. +if as_func_ret_failure; then
  245. + exitcode=1
  246. + echo as_func_ret_failure succeeded.
  247. +fi
  248. +
  249. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  250. + :
  251. +else
  252. + exitcode=1
  253. + echo positional parameters were not saved.
  254. +fi
  255. +
  256. +test \$exitcode = 0) || { (exit 1); exit 1; }
  257. +
  258. +(
  259. + as_lineno_1=\$LINENO
  260. + as_lineno_2=\$LINENO
  261. + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  262. + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  263. +") 2> /dev/null; then
  264. + :
  265. +else
  266. + as_candidate_shells=
  267. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  268. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  269. do
  270. IFS=$as_save_IFS
  271. test -z "$as_dir" && as_dir=.
  272. - for as_base in sh bash ksh sh5; do
  273. - case $as_dir in
  274. + case $as_dir in
  275. /*)
  276. - if ("$as_dir/$as_base" -c '
  277. + for as_base in sh bash ksh sh5; do
  278. + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  279. + done;;
  280. + esac
  281. +done
  282. +IFS=$as_save_IFS
  283. +
  284. +
  285. + for as_shell in $as_candidate_shells $SHELL; do
  286. + # Try only shells that exist, to save several forks.
  287. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  288. + { ("$as_shell") 2> /dev/null <<\_ASEOF
  289. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  290. + emulate sh
  291. + NULLCMD=:
  292. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  293. + # is contrary to our usage. Disable this feature.
  294. + alias -g '${1+"$@"}'='"$@"'
  295. + setopt NO_GLOB_SUBST
  296. +else
  297. + case `(set -o) 2>/dev/null` in
  298. + *posix*) set -o posix ;;
  299. +esac
  300. +
  301. +fi
  302. +
  303. +
  304. +:
  305. +_ASEOF
  306. +}; then
  307. + CONFIG_SHELL=$as_shell
  308. + as_have_required=yes
  309. + if { "$as_shell" 2> /dev/null <<\_ASEOF
  310. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  311. + emulate sh
  312. + NULLCMD=:
  313. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  314. + # is contrary to our usage. Disable this feature.
  315. + alias -g '${1+"$@"}'='"$@"'
  316. + setopt NO_GLOB_SUBST
  317. +else
  318. + case `(set -o) 2>/dev/null` in
  319. + *posix*) set -o posix ;;
  320. +esac
  321. +
  322. +fi
  323. +
  324. +
  325. +:
  326. +(as_func_return () {
  327. + (exit $1)
  328. +}
  329. +as_func_success () {
  330. + as_func_return 0
  331. +}
  332. +as_func_failure () {
  333. + as_func_return 1
  334. +}
  335. +as_func_ret_success () {
  336. + return 0
  337. +}
  338. +as_func_ret_failure () {
  339. + return 1
  340. +}
  341. +
  342. +exitcode=0
  343. +if as_func_success; then
  344. + :
  345. +else
  346. + exitcode=1
  347. + echo as_func_success failed.
  348. +fi
  349. +
  350. +if as_func_failure; then
  351. + exitcode=1
  352. + echo as_func_failure succeeded.
  353. +fi
  354. +
  355. +if as_func_ret_success; then
  356. + :
  357. +else
  358. + exitcode=1
  359. + echo as_func_ret_success failed.
  360. +fi
  361. +
  362. +if as_func_ret_failure; then
  363. + exitcode=1
  364. + echo as_func_ret_failure succeeded.
  365. +fi
  366. +
  367. +if ( set x; as_func_ret_success y && test x = "$1" ); then
  368. + :
  369. +else
  370. + exitcode=1
  371. + echo positional parameters were not saved.
  372. +fi
  373. +
  374. +test $exitcode = 0) || { (exit 1); exit 1; }
  375. +
  376. +(
  377. as_lineno_1=$LINENO
  378. as_lineno_2=$LINENO
  379. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  380. test "x$as_lineno_1" != "x$as_lineno_2" &&
  381. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  382. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  383. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  384. - CONFIG_SHELL=$as_dir/$as_base
  385. - export CONFIG_SHELL
  386. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  387. - fi;;
  388. - esac
  389. - done
  390. -done
  391. -;;
  392. - esac
  393. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  394. +
  395. +_ASEOF
  396. +}; then
  397. + break
  398. +fi
  399. +
  400. +fi
  401. +
  402. + done
  403. +
  404. + if test "x$CONFIG_SHELL" != x; then
  405. + for as_var in BASH_ENV ENV
  406. + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  407. + done
  408. + export CONFIG_SHELL
  409. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  410. +fi
  411. +
  412. +
  413. + if test $as_have_required = no; then
  414. + echo This script requires a shell more modern than all the
  415. + echo shells that I found on your system. Please install a
  416. + echo modern shell, or manually run the script under such a
  417. + echo shell if you do have one.
  418. + { (exit 1); exit 1; }
  419. +fi
  420. +
  421. +
  422. +fi
  423. +
  424. +fi
  425. +
  426. +
  427. +
  428. +(eval "as_func_return () {
  429. + (exit \$1)
  430. +}
  431. +as_func_success () {
  432. + as_func_return 0
  433. +}
  434. +as_func_failure () {
  435. + as_func_return 1
  436. +}
  437. +as_func_ret_success () {
  438. + return 0
  439. +}
  440. +as_func_ret_failure () {
  441. + return 1
  442. +}
  443. +
  444. +exitcode=0
  445. +if as_func_success; then
  446. + :
  447. +else
  448. + exitcode=1
  449. + echo as_func_success failed.
  450. +fi
  451. +
  452. +if as_func_failure; then
  453. + exitcode=1
  454. + echo as_func_failure succeeded.
  455. +fi
  456. +
  457. +if as_func_ret_success; then
  458. + :
  459. +else
  460. + exitcode=1
  461. + echo as_func_ret_success failed.
  462. +fi
  463. +
  464. +if as_func_ret_failure; then
  465. + exitcode=1
  466. + echo as_func_ret_failure succeeded.
  467. +fi
  468. +
  469. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  470. + :
  471. +else
  472. + exitcode=1
  473. + echo positional parameters were not saved.
  474. +fi
  475. +
  476. +test \$exitcode = 0") || {
  477. + echo No shell found that supports shell functions.
  478. + echo Please tell autoconf@gnu.org about your system,
  479. + echo including any error possibly output before this
  480. + echo message
  481. +}
  482. +
  483. +
  484. +
  485. + as_lineno_1=$LINENO
  486. + as_lineno_2=$LINENO
  487. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  488. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  489. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  490. # uniformly replaced by the line number. The first 'sed' inserts a
  491. - # line-number line before each line; the second 'sed' does the real
  492. - # work. The second script uses 'N' to pair each line-number line
  493. - # with the numbered line, and appends trailing '-' during
  494. - # substitution so that $LINENO is not a special case at line end.
  495. + # line-number line after each line using $LINENO; the second 'sed'
  496. + # does the real work. The second script uses 'N' to pair each
  497. + # line-number line with the line containing $LINENO, and appends
  498. + # trailing '-' during substitution so that $LINENO is not a special
  499. + # case at line end.
  500. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  501. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  502. - sed '=' <$as_myself |
  503. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  504. + # E. McMahon (1931-1989) for sed's syntax. :-)
  505. + sed -n '
  506. + p
  507. + /[$]LINENO/=
  508. + ' <$as_myself |
  509. sed '
  510. + s/[$]LINENO.*/&-/
  511. + t lineno
  512. + b
  513. + :lineno
  514. N
  515. - s,$,-,
  516. - : loop
  517. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  518. + :loop
  519. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  520. t loop
  521. - s,-$,,
  522. - s,^['$as_cr_digits']*\n,,
  523. + s/-\n.*//
  524. ' >$as_me.lineno &&
  525. - chmod +x $as_me.lineno ||
  526. + chmod +x "$as_me.lineno" ||
  527. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  528. { (exit 1); exit 1; }; }
  529. # Don't try to exec as it changes $[0], causing all sort of problems
  530. # (the dirname of $[0] is not the place where we might find the
  531. - # original and so on. Autoconf is especially sensible to this).
  532. - . ./$as_me.lineno
  533. + # original and so on. Autoconf is especially sensitive to this).
  534. + . "./$as_me.lineno"
  535. # Exit status is that of the last command.
  536. exit
  537. }
  538. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  539. - *c*,-n*) ECHO_N= ECHO_C='
  540. -' ECHO_T=' ' ;;
  541. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  542. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  543. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  544. + as_dirname=dirname
  545. +else
  546. + as_dirname=false
  547. +fi
  548. +
  549. +ECHO_C= ECHO_N= ECHO_T=
  550. +case `echo -n x` in
  551. +-n*)
  552. + case `echo 'x\c'` in
  553. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  554. + *) ECHO_C='\c';;
  555. + esac;;
  556. +*)
  557. + ECHO_N='-n';;
  558. esac
  559. -if expr a : '\(a\)' >/dev/null 2>&1; then
  560. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  561. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  562. as_expr=expr
  563. else
  564. as_expr=false
  565. fi
  566. rm -f conf$$ conf$$.exe conf$$.file
  567. +if test -d conf$$.dir; then
  568. + rm -f conf$$.dir/conf$$.file
  569. +else
  570. + rm -f conf$$.dir
  571. + mkdir conf$$.dir
  572. +fi
  573. echo >conf$$.file
  574. if ln -s conf$$.file conf$$ 2>/dev/null; then
  575. - # We could just check for DJGPP; but this test a) works b) is more generic
  576. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  577. - if test -f conf$$.exe; then
  578. - # Don't use ln at all; we don't have any links
  579. + as_ln_s='ln -s'
  580. + # ... but there are two gotchas:
  581. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  582. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  583. + # In both cases, we have to default to `cp -p'.
  584. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  585. as_ln_s='cp -p'
  586. - else
  587. - as_ln_s='ln -s'
  588. - fi
  589. elif ln conf$$.file conf$$ 2>/dev/null; then
  590. as_ln_s=ln
  591. else
  592. as_ln_s='cp -p'
  593. fi
  594. -rm -f conf$$ conf$$.exe conf$$.file
  595. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  596. +rmdir conf$$.dir 2>/dev/null
  597. if mkdir -p . 2>/dev/null; then
  598. as_mkdir_p=:
  599. @@ -222,7 +518,28 @@
  600. as_mkdir_p=false
  601. fi
  602. -as_executable_p="test -f"
  603. +if test -x / >/dev/null 2>&1; then
  604. + as_test_x='test -x'
  605. +else
  606. + if ls -dL / >/dev/null 2>&1; then
  607. + as_ls_L_option=L
  608. + else
  609. + as_ls_L_option=
  610. + fi
  611. + as_test_x='
  612. + eval sh -c '\''
  613. + if test -d "$1"; then
  614. + test -d "$1/.";
  615. + else
  616. + case $1 in
  617. + -*)set "./$1";;
  618. + esac;
  619. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  620. + ???[sx]*):;;*)false;;esac;fi
  621. + '\'' sh
  622. + '
  623. +fi
  624. +as_executable_p=$as_test_x
  625. # Sed expression to map a string onto a valid CPP name.
  626. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  627. @@ -231,39 +548,27 @@
  628. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  629. -# IFS
  630. -# We need space, tab and new line, in precisely that order.
  631. -as_nl='
  632. -'
  633. -IFS=" $as_nl"
  634. -
  635. -# CDPATH.
  636. -$as_unset CDPATH
  637. +exec 7<&0 </dev/null 6>&1
  638. # Name of the host.
  639. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  640. # so uname gets run too.
  641. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  642. -exec 6>&1
  643. -
  644. #
  645. # Initializations.
  646. #
  647. ac_default_prefix=/usr/local
  648. +ac_clean_files=
  649. ac_config_libobj_dir=.
  650. +LIBOBJS=
  651. cross_compiling=no
  652. subdirs=
  653. MFLAGS=
  654. MAKEFLAGS=
  655. SHELL=${CONFIG_SHELL-/bin/sh}
  656. -# Maximum number of lines to put in a shell here document.
  657. -# This variable seems obsolete. It should probably be removed, and
  658. -# only ac_max_sed_lines should be used.
  659. -: ${ac_max_here_lines=38}
  660. -
  661. # Identity of this package.
  662. PACKAGE_NAME=
  663. PACKAGE_TARNAME=
  664. @@ -275,42 +580,183 @@
  665. # Factoring default headers for most tests.
  666. ac_includes_default="\
  667. #include <stdio.h>
  668. -#if HAVE_SYS_TYPES_H
  669. +#ifdef HAVE_SYS_TYPES_H
  670. # include <sys/types.h>
  671. #endif
  672. -#if HAVE_SYS_STAT_H
  673. +#ifdef HAVE_SYS_STAT_H
  674. # include <sys/stat.h>
  675. #endif
  676. -#if STDC_HEADERS
  677. +#ifdef STDC_HEADERS
  678. # include <stdlib.h>
  679. # include <stddef.h>
  680. #else
  681. -# if HAVE_STDLIB_H
  682. +# ifdef HAVE_STDLIB_H
  683. # include <stdlib.h>
  684. # endif
  685. #endif
  686. -#if HAVE_STRING_H
  687. -# if !STDC_HEADERS && HAVE_MEMORY_H
  688. +#ifdef HAVE_STRING_H
  689. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  690. # include <memory.h>
  691. # endif
  692. # include <string.h>
  693. #endif
  694. -#if HAVE_STRINGS_H
  695. +#ifdef HAVE_STRINGS_H
  696. # include <strings.h>
  697. #endif
  698. -#if HAVE_INTTYPES_H
  699. +#ifdef HAVE_INTTYPES_H
  700. # include <inttypes.h>
  701. -#else
  702. -# if HAVE_STDINT_H
  703. -# include <stdint.h>
  704. -# endif
  705. #endif
  706. -#if HAVE_UNISTD_H
  707. +#ifdef HAVE_STDINT_H
  708. +# include <stdint.h>
  709. +#endif
  710. +#ifdef HAVE_UNISTD_H
  711. # include <unistd.h>
  712. #endif"
  713. -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP AWK STRIP CPP_MM OS_EXTRA_SRC OS_EXTRA_OBJ VIMNAME EXNAME VIEWNAME line_break dovimdiff dogvimdiff compiledby vi_cv_path_mzscheme MZSCHEME_SRC MZSCHEME_OBJ MZSCHEME_PRO MZSCHEME_LIBS MZSCHEME_CFLAGS vi_cv_path_perl vi_cv_perllib shrpenv PERL_SRC PERL_OBJ PERL_PRO PERL_CFLAGS PERL_LIBS vi_cv_path_python PYTHON_CONFDIR PYTHON_LIBS PYTHON_GETPATH_CFLAGS PYTHON_CFLAGS PYTHON_SRC PYTHON_OBJ vi_cv_path_tcl TCL_SRC TCL_OBJ TCL_PRO TCL_CFLAGS TCL_LIBS vi_cv_path_ruby RUBY_SRC RUBY_OBJ RUBY_PRO RUBY_CFLAGS RUBY_LIBS WORKSHOP_SRC WORKSHOP_OBJ NETBEANS_SRC NETBEANS_OBJ SNIFF_SRC SNIFF_OBJ xmkmfpath X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS X_LIB GTK_CONFIG GTK12_CONFIG PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_LIBNAME GNOME_LIBS GNOME_LIBDIR GNOME_INCLUDEDIR GNOME_CONFIG MOTIF_LIBNAME NARROW_PROTO GUI_INC_LOC GUI_LIB_LOC GUITYPE GUI_X_LIBS HANGULIN_SRC HANGULIN_OBJ TAGPRG INSTALL_LANGS INSTALL_TOOL_LANGS MSGFMT MAKEMO DEPEND_CFLAGS_FILTER LIBOBJS LTLIBOBJS'
  714. +ac_subst_vars='SHELL
  715. +PATH_SEPARATOR
  716. +PACKAGE_NAME
  717. +PACKAGE_TARNAME
  718. +PACKAGE_VERSION
  719. +PACKAGE_STRING
  720. +PACKAGE_BUGREPORT
  721. +exec_prefix
  722. +prefix
  723. +program_transform_name
  724. +bindir
  725. +sbindir
  726. +libexecdir
  727. +datarootdir
  728. +datadir
  729. +sysconfdir
  730. +sharedstatedir
  731. +localstatedir
  732. +includedir
  733. +oldincludedir
  734. +docdir
  735. +infodir
  736. +htmldir
  737. +dvidir
  738. +pdfdir
  739. +psdir
  740. +libdir
  741. +localedir
  742. +mandir
  743. +DEFS
  744. +ECHO_C
  745. +ECHO_N
  746. +ECHO_T
  747. +LIBS
  748. +build_alias
  749. +host_alias
  750. +target_alias
  751. +SET_MAKE
  752. +CC
  753. +CFLAGS
  754. +LDFLAGS
  755. +CPPFLAGS
  756. +ac_ct_CC
  757. +EXEEXT
  758. +OBJEXT
  759. +CPP
  760. +GREP
  761. +EGREP
  762. +AWK
  763. +STRIP
  764. +CPP_MM
  765. +OS_EXTRA_SRC
  766. +OS_EXTRA_OBJ
  767. +VIMNAME
  768. +EXNAME
  769. +VIEWNAME
  770. +line_break
  771. +dovimdiff
  772. +dogvimdiff
  773. +compiledby
  774. +vi_cv_path_mzscheme
  775. +MZSCHEME_SRC
  776. +MZSCHEME_OBJ
  777. +MZSCHEME_PRO
  778. +MZSCHEME_LIBS
  779. +MZSCHEME_CFLAGS
  780. +vi_cv_path_perl
  781. +vi_cv_perllib
  782. +shrpenv
  783. +PERL_SRC
  784. +PERL_OBJ
  785. +PERL_PRO
  786. +PERL_CFLAGS
  787. +PERL_LIBS
  788. +vi_cv_path_python
  789. +PYTHON_CONFDIR
  790. +PYTHON_LIBS
  791. +PYTHON_GETPATH_CFLAGS
  792. +PYTHON_CFLAGS
  793. +PYTHON_SRC
  794. +PYTHON_OBJ
  795. +vi_cv_path_tcl
  796. +TCL_SRC
  797. +TCL_OBJ
  798. +TCL_PRO
  799. +TCL_CFLAGS
  800. +TCL_LIBS
  801. +vi_cv_path_ruby
  802. +RUBY_SRC
  803. +RUBY_OBJ
  804. +RUBY_PRO
  805. +RUBY_CFLAGS
  806. +RUBY_LIBS
  807. +WORKSHOP_SRC
  808. +WORKSHOP_OBJ
  809. +NETBEANS_SRC
  810. +NETBEANS_OBJ
  811. +SNIFF_SRC
  812. +SNIFF_OBJ
  813. +xmkmfpath
  814. +XMKMF
  815. +X_CFLAGS
  816. +X_PRE_LIBS
  817. +X_LIBS
  818. +X_EXTRA_LIBS
  819. +X_LIB
  820. +GTK_CONFIG
  821. +GTK12_CONFIG
  822. +PKG_CONFIG
  823. +GTK_CFLAGS
  824. +GTK_LIBS
  825. +GTK_LIBNAME
  826. +GNOME_LIBS
  827. +GNOME_LIBDIR
  828. +GNOME_INCLUDEDIR
  829. +GNOME_CONFIG
  830. +MOTIF_LIBNAME
  831. +NARROW_PROTO
  832. +GUI_INC_LOC
  833. +GUI_LIB_LOC
  834. +GUITYPE
  835. +GUI_X_LIBS
  836. +HANGULIN_SRC
  837. +HANGULIN_OBJ
  838. +TAGPRG
  839. +INSTALL_LANGS
  840. +INSTALL_TOOL_LANGS
  841. +MSGFMT
  842. +MAKEMO
  843. +DEPEND_CFLAGS_FILTER
  844. +LIBOBJS
  845. +LTLIBOBJS'
  846. ac_subst_files=''
  847. + ac_precious_vars='build_alias
  848. +host_alias
  849. +target_alias
  850. +CC
  851. +CFLAGS
  852. +LDFLAGS
  853. +LIBS
  854. +CPPFLAGS
  855. +CPP
  856. +XMKMF'
  857. +
  858. # Initialize some variables set by options.
  859. ac_init_help=
  860. @@ -337,34 +783,48 @@
  861. # and all the variables that are supposed to be based on exec_prefix
  862. # by default will actually change.
  863. # Use braces instead of parens because sh, perl, etc. also accept them.
  864. +# (The list follows the same order as the GNU Coding Standards.)
  865. bindir='${exec_prefix}/bin'
  866. sbindir='${exec_prefix}/sbin'
  867. libexecdir='${exec_prefix}/libexec'
  868. -datadir='${prefix}/share'
  869. +datarootdir='${prefix}/share'
  870. +datadir='${datarootdir}'
  871. sysconfdir='${prefix}/etc'
  872. sharedstatedir='${prefix}/com'
  873. localstatedir='${prefix}/var'
  874. -libdir='${exec_prefix}/lib'
  875. includedir='${prefix}/include'
  876. oldincludedir='/usr/include'
  877. -infodir='${prefix}/info'
  878. -mandir='${prefix}/man'
  879. +docdir='${datarootdir}/doc/${PACKAGE}'
  880. +infodir='${datarootdir}/info'
  881. +htmldir='${docdir}'
  882. +dvidir='${docdir}'
  883. +pdfdir='${docdir}'
  884. +psdir='${docdir}'
  885. +libdir='${exec_prefix}/lib'
  886. +localedir='${datarootdir}/locale'
  887. +mandir='${datarootdir}/man'
  888. ac_prev=
  889. +ac_dashdash=
  890. for ac_option
  891. do
  892. # If the previous option needs an argument, assign it.
  893. if test -n "$ac_prev"; then
  894. - eval "$ac_prev=\$ac_option"
  895. + eval $ac_prev=\$ac_option
  896. ac_prev=
  897. continue
  898. fi
  899. - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  900. + case $ac_option in
  901. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  902. + *) ac_optarg=yes ;;
  903. + esac
  904. # Accept the important Cygnus configure options, so we can diagnose typos.
  905. - case $ac_option in
  906. + case $ac_dashdash$ac_option in
  907. + --)
  908. + ac_dashdash=yes ;;
  909. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  910. ac_prev=bindir ;;
  911. @@ -386,33 +846,45 @@
  912. --config-cache | -C)
  913. cache_file=config.cache ;;
  914. - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  915. + -datadir | --datadir | --datadi | --datad)
  916. ac_prev=datadir ;;
  917. - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  918. - | --da=*)
  919. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  920. datadir=$ac_optarg ;;
  921. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  922. + | --dataroo | --dataro | --datar)
  923. + ac_prev=datarootdir ;;
  924. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  925. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  926. + datarootdir=$ac_optarg ;;
  927. +
  928. -disable-* | --disable-*)
  929. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  930. # Reject names that are not valid shell variable names.
  931. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  932. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  933. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  934. { (exit 1); exit 1; }; }
  935. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  936. - eval "enable_$ac_feature=no" ;;
  937. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  938. + eval enable_$ac_feature=no ;;
  939. +
  940. + -docdir | --docdir | --docdi | --doc | --do)
  941. + ac_prev=docdir ;;
  942. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  943. + docdir=$ac_optarg ;;
  944. +
  945. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  946. + ac_prev=dvidir ;;
  947. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  948. + dvidir=$ac_optarg ;;
  949. -enable-* | --enable-*)
  950. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  951. # Reject names that are not valid shell variable names.
  952. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  953. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  954. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  955. { (exit 1); exit 1; }; }
  956. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  957. - case $ac_option in
  958. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  959. - *) ac_optarg=yes ;;
  960. - esac
  961. - eval "enable_$ac_feature='$ac_optarg'" ;;
  962. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  963. + eval enable_$ac_feature=\$ac_optarg ;;
  964. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  965. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  966. @@ -439,6 +911,12 @@
  967. -host=* | --host=* | --hos=* | --ho=*)
  968. host_alias=$ac_optarg ;;
  969. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  970. + ac_prev=htmldir ;;
  971. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  972. + | --ht=*)
  973. + htmldir=$ac_optarg ;;
  974. +
  975. -includedir | --includedir | --includedi | --included | --include \
  976. | --includ | --inclu | --incl | --inc)
  977. ac_prev=includedir ;;
  978. @@ -463,13 +941,16 @@
  979. | --libexe=* | --libex=* | --libe=*)
  980. libexecdir=$ac_optarg ;;
  981. + -localedir | --localedir | --localedi | --localed | --locale)
  982. + ac_prev=localedir ;;
  983. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  984. + localedir=$ac_optarg ;;
  985. +
  986. -localstatedir | --localstatedir | --localstatedi | --localstated \
  987. - | --localstate | --localstat | --localsta | --localst \
  988. - | --locals | --local | --loca | --loc | --lo)
  989. + | --localstate | --localstat | --localsta | --localst | --locals)
  990. ac_prev=localstatedir ;;
  991. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  992. - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  993. - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  994. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  995. localstatedir=$ac_optarg ;;
  996. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  997. @@ -534,6 +1015,16 @@
  998. | --progr-tra=* | --program-tr=* | --program-t=*)
  999. program_transform_name=$ac_optarg ;;
  1000. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1001. + ac_prev=pdfdir ;;
  1002. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1003. + pdfdir=$ac_optarg ;;
  1004. +
  1005. + -psdir | --psdir | --psdi | --psd | --ps)
  1006. + ac_prev=psdir ;;
  1007. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1008. + psdir=$ac_optarg ;;
  1009. +
  1010. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1011. | -silent | --silent | --silen | --sile | --sil)
  1012. silent=yes ;;
  1013. @@ -586,24 +1077,20 @@
  1014. -with-* | --with-*)
  1015. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1016. # Reject names that are not valid shell variable names.
  1017. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1018. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1019. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1020. { (exit 1); exit 1; }; }
  1021. - ac_package=`echo $ac_package| sed 's/-/_/g'`
  1022. - case $ac_option in
  1023. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  1024. - *) ac_optarg=yes ;;
  1025. - esac
  1026. - eval "with_$ac_package='$ac_optarg'" ;;
  1027. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1028. + eval with_$ac_package=\$ac_optarg ;;
  1029. -without-* | --without-*)
  1030. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1031. # Reject names that are not valid shell variable names.
  1032. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1033. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1034. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1035. { (exit 1); exit 1; }; }
  1036. - ac_package=`echo $ac_package | sed 's/-/_/g'`
  1037. - eval "with_$ac_package=no" ;;
  1038. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1039. + eval with_$ac_package=no ;;
  1040. --x)
  1041. # Obsolete; use --with-x.
  1042. @@ -634,8 +1121,7 @@
  1043. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1044. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1045. { (exit 1); exit 1; }; }
  1046. - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  1047. - eval "$ac_envvar='$ac_optarg'"
  1048. + eval $ac_envvar=\$ac_optarg
  1049. export $ac_envvar ;;
  1050. *)
  1051. @@ -655,27 +1141,19 @@
  1052. { (exit 1); exit 1; }; }
  1053. fi
  1054. -# Be sure to have absolute paths.
  1055. -for ac_var in exec_prefix prefix
  1056. -do
  1057. - eval ac_val=$`echo $ac_var`
  1058. - case $ac_val in
  1059. - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  1060. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1061. - { (exit 1); exit 1; }; };;
  1062. - esac
  1063. -done
  1064. -
  1065. -# Be sure to have absolute paths.
  1066. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  1067. - localstatedir libdir includedir oldincludedir infodir mandir
  1068. +# Be sure to have absolute directory names.
  1069. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1070. + datadir sysconfdir sharedstatedir localstatedir includedir \
  1071. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1072. + libdir localedir mandir
  1073. do
  1074. - eval ac_val=$`echo $ac_var`
  1075. + eval ac_val=\$$ac_var
  1076. case $ac_val in
  1077. - [\\/$]* | ?:[\\/]* ) ;;
  1078. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1079. - { (exit 1); exit 1; }; };;
  1080. + [\\/$]* | ?:[\\/]* ) continue;;
  1081. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1082. esac
  1083. + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1084. + { (exit 1); exit 1; }; }
  1085. done
  1086. # There might be people who depend on the old broken behavior: `$host'
  1087. @@ -702,74 +1180,76 @@
  1088. test "$silent" = yes && exec 6>/dev/null
  1089. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1090. +ac_ls_di=`ls -di .` &&
  1091. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1092. + { echo "$as_me: error: Working directory cannot be determined" >&2
  1093. + { (exit 1); exit 1; }; }
  1094. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1095. + { echo "$as_me: error: pwd does not report name of working directory" >&2
  1096. + { (exit 1); exit 1; }; }
  1097. +
  1098. +
  1099. # Find the source files, if location was not specified.
  1100. if test -z "$srcdir"; then
  1101. ac_srcdir_defaulted=yes
  1102. - # Try the directory containing this script, then its parent.
  1103. - ac_confdir=`(dirname "$0") 2>/dev/null ||
  1104. + # Try the directory containing this script, then the parent directory.
  1105. + ac_confdir=`$as_dirname -- "$0" ||
  1106. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1107. X"$0" : 'X\(//\)[^/]' \| \
  1108. X"$0" : 'X\(//\)$' \| \
  1109. - X"$0" : 'X\(/\)' \| \
  1110. - . : '\(.\)' 2>/dev/null ||
  1111. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1112. echo X"$0" |
  1113. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1114. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1115. - /^X\(\/\/\)$/{ s//\1/; q; }
  1116. - /^X\(\/\).*/{ s//\1/; q; }
  1117. - s/.*/./; q'`
  1118. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1119. + s//\1/
  1120. + q
  1121. + }
  1122. + /^X\(\/\/\)[^/].*/{
  1123. + s//\1/
  1124. + q
  1125. + }
  1126. + /^X\(\/\/\)$/{
  1127. + s//\1/
  1128. + q
  1129. + }
  1130. + /^X\(\/\).*/{
  1131. + s//\1/
  1132. + q
  1133. + }
  1134. + s/.*/./; q'`
  1135. srcdir=$ac_confdir
  1136. - if test ! -r $srcdir/$ac_unique_file; then
  1137. + if test ! -r "$srcdir/$ac_unique_file"; then
  1138. srcdir=..
  1139. fi
  1140. else
  1141. ac_srcdir_defaulted=no
  1142. fi
  1143. -if test ! -r $srcdir/$ac_unique_file; then
  1144. - if test "$ac_srcdir_defaulted" = yes; then
  1145. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  1146. - { (exit 1); exit 1; }; }
  1147. - else
  1148. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1149. +if test ! -r "$srcdir/$ac_unique_file"; then
  1150. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1151. + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1152. { (exit 1); exit 1; }; }
  1153. - fi
  1154. fi
  1155. -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  1156. - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  1157. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1158. +ac_abs_confdir=`(
  1159. + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1160. { (exit 1); exit 1; }; }
  1161. -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  1162. -ac_env_build_alias_set=${build_alias+set}
  1163. -ac_env_build_alias_value=$build_alias
  1164. -ac_cv_env_build_alias_set=${build_alias+set}
  1165. -ac_cv_env_build_alias_value=$build_alias
  1166. -ac_env_host_alias_set=${host_alias+set}
  1167. -ac_env_host_alias_value=$host_alias
  1168. -ac_cv_env_host_alias_set=${host_alias+set}
  1169. -ac_cv_env_host_alias_value=$host_alias
  1170. -ac_env_target_alias_set=${target_alias+set}
  1171. -ac_env_target_alias_value=$target_alias
  1172. -ac_cv_env_target_alias_set=${target_alias+set}
  1173. -ac_cv_env_target_alias_value=$target_alias
  1174. -ac_env_CC_set=${CC+set}
  1175. -ac_env_CC_value=$CC
  1176. -ac_cv_env_CC_set=${CC+set}
  1177. -ac_cv_env_CC_value=$CC
  1178. -ac_env_CFLAGS_set=${CFLAGS+set}
  1179. -ac_env_CFLAGS_value=$CFLAGS
  1180. -ac_cv_env_CFLAGS_set=${CFLAGS+set}
  1181. -ac_cv_env_CFLAGS_value=$CFLAGS
  1182. -ac_env_LDFLAGS_set=${LDFLAGS+set}
  1183. -ac_env_LDFLAGS_value=$LDFLAGS
  1184. -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  1185. -ac_cv_env_LDFLAGS_value=$LDFLAGS
  1186. -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  1187. -ac_env_CPPFLAGS_value=$CPPFLAGS
  1188. -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  1189. -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  1190. -ac_env_CPP_set=${CPP+set}
  1191. -ac_env_CPP_value=$CPP
  1192. -ac_cv_env_CPP_set=${CPP+set}
  1193. -ac_cv_env_CPP_value=$CPP
  1194. + pwd)`
  1195. +# When building in place, set srcdir=.
  1196. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1197. + srcdir=.
  1198. +fi
  1199. +# Remove unnecessary trailing slashes from srcdir.
  1200. +# Double slashes in file names in object file debugging info
  1201. +# mess up M-x gdb in Emacs.
  1202. +case $srcdir in
  1203. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1204. +esac
  1205. +for ac_var in $ac_precious_vars; do
  1206. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1207. + eval ac_env_${ac_var}_value=\$${ac_var}
  1208. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1209. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1210. +done
  1211. #
  1212. # Report the --help message.
  1213. @@ -798,9 +1278,6 @@
  1214. -n, --no-create do not create output files
  1215. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1216. -_ACEOF
  1217. -
  1218. - cat <<_ACEOF
  1219. Installation directories:
  1220. --prefix=PREFIX install architecture-independent files in PREFIX
  1221. [$ac_default_prefix]
  1222. @@ -818,15 +1295,22 @@
  1223. --bindir=DIR user executables [EPREFIX/bin]
  1224. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1225. --libexecdir=DIR program executables [EPREFIX/libexec]
  1226. - --datadir=DIR read-only architecture-independent data [PREFIX/share]
  1227. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1228. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1229. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1230. --libdir=DIR object code libraries [EPREFIX/lib]
  1231. --includedir=DIR C header files [PREFIX/include]
  1232. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1233. - --infodir=DIR info documentation [PREFIX/info]
  1234. - --mandir=DIR man documentation [PREFIX/man]
  1235. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1236. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1237. + --infodir=DIR info documentation [DATAROOTDIR/info]
  1238. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1239. + --mandir=DIR man documentation [DATAROOTDIR/man]
  1240. + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1241. + --htmldir=DIR html documentation [DOCDIR]
  1242. + --dvidir=DIR dvi documentation [DOCDIR]
  1243. + --pdfdir=DIR pdf documentation [DOCDIR]
  1244. + --psdir=DIR ps documentation [DOCDIR]
  1245. _ACEOF
  1246. cat <<\_ACEOF
  1247. @@ -901,126 +1385,96 @@
  1248. CFLAGS C compiler flags
  1249. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1250. nonstandard directory <lib dir>
  1251. - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1252. - headers in a nonstandard directory <include dir>
  1253. + LIBS libraries to pass to the linker, e.g. -l<library>
  1254. + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1255. + you have headers in a nonstandard directory <include dir>
  1256. CPP C preprocessor
  1257. + XMKMF Path to xmkmf, Makefile generator for X Window System
  1258. Use these variables to override the choices made by `configure' or to help
  1259. it to find libraries and programs with nonstandard names/locations.
  1260. _ACEOF
  1261. +ac_status=$?
  1262. fi
  1263. if test "$ac_init_help" = "recursive"; then
  1264. # If there are subdirs, report their specific --help.
  1265. - ac_popdir=`pwd`
  1266. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1267. - test -d $ac_dir || continue
  1268. + test -d "$ac_dir" || continue
  1269. ac_builddir=.
  1270. -if test "$ac_dir" != .; then
  1271. +case "$ac_dir" in
  1272. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1273. +*)
  1274. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1275. - # A "../" for each directory in $ac_dir_suffix.
  1276. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1277. -else
  1278. - ac_dir_suffix= ac_top_builddir=
  1279. -fi
  1280. + # A ".." for each directory in $ac_dir_suffix.
  1281. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1282. + case $ac_top_builddir_sub in
  1283. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1284. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1285. + esac ;;
  1286. +esac
  1287. +ac_abs_top_builddir=$ac_pwd
  1288. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1289. +# for backward compatibility:
  1290. +ac_top_builddir=$ac_top_build_prefix
  1291. case $srcdir in
  1292. - .) # No --srcdir option. We are building in place.
  1293. + .) # We are building in place.
  1294. ac_srcdir=.
  1295. - if test -z "$ac_top_builddir"; then
  1296. - ac_top_srcdir=.
  1297. - else
  1298. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1299. - fi ;;
  1300. - [\\/]* | ?:[\\/]* ) # Absolute path.
  1301. + ac_top_srcdir=$ac_top_builddir_sub
  1302. + ac_abs_top_srcdir=$ac_pwd ;;
  1303. + [\\/]* | ?:[\\/]* ) # Absolute name.
  1304. ac_srcdir=$srcdir$ac_dir_suffix;
  1305. - ac_top_srcdir=$srcdir ;;
  1306. - *) # Relative path.
  1307. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1308. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1309. -esac
  1310. -
  1311. -# Do not use `cd foo && pwd` to compute absolute paths, because
  1312. -# the directories may not exist.
  1313. -case `pwd` in
  1314. -.) ac_abs_builddir="$ac_dir";;
  1315. -*)
  1316. - case "$ac_dir" in
  1317. - .) ac_abs_builddir=`pwd`;;
  1318. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1319. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1320. - esac;;
  1321. -esac
  1322. -case $ac_abs_builddir in
  1323. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  1324. -*)
  1325. - case ${ac_top_builddir}. in
  1326. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  1327. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1328. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1329. - esac;;
  1330. -esac
  1331. -case $ac_abs_builddir in
  1332. -.) ac_abs_srcdir=$ac_srcdir;;
  1333. -*)
  1334. - case $ac_srcdir in
  1335. - .) ac_abs_srcdir=$ac_abs_builddir;;
  1336. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1337. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1338. - esac;;
  1339. -esac
  1340. -case $ac_abs_builddir in
  1341. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  1342. -*)
  1343. - case $ac_top_srcdir in
  1344. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1345. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1346. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1347. - esac;;
  1348. -esac
  1349. -
  1350. - cd $ac_dir
  1351. - # Check for guested configure; otherwise get Cygnus style configure.
  1352. - if test -f $ac_srcdir/configure.gnu; then
  1353. - echo
  1354. - $SHELL $ac_srcdir/configure.gnu --help=recursive
  1355. - elif test -f $ac_srcdir/configure; then
  1356. - echo
  1357. - $SHELL $ac_srcdir/configure --help=recursive
  1358. - elif test -f $ac_srcdir/configure.ac ||
  1359. - test -f $ac_srcdir/configure.in; then
  1360. - echo
  1361. - $ac_configure --help
  1362. + ac_top_srcdir=$srcdir
  1363. + ac_abs_top_srcdir=$srcdir ;;
  1364. + *) # Relative name.
  1365. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1366. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  1367. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1368. +esac
  1369. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1370. +
  1371. + cd "$ac_dir" || { ac_status=$?; continue; }
  1372. + # Check for guested configure.
  1373. + if test -f "$ac_srcdir/configure.gnu"; then
  1374. + echo &&
  1375. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1376. + elif test -f "$ac_srcdir/configure"; then
  1377. + echo &&
  1378. + $SHELL "$ac_srcdir/configure" --help=recursive
  1379. else
  1380. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1381. - fi
  1382. - cd $ac_popdir
  1383. + fi || ac_status=$?
  1384. + cd "$ac_pwd" || { ac_status=$?; break; }
  1385. done
  1386. fi
  1387. -test -n "$ac_init_help" && exit 0
  1388. +test -n "$ac_init_help" && exit $ac_status
  1389. if $ac_init_version; then
  1390. cat <<\_ACEOF
  1391. +configure
  1392. +generated by GNU Autoconf 2.61
  1393. -Copyright (C) 2003 Free Software Foundation, Inc.
  1394. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1395. +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1396. This configure script is free software; the Free Software Foundation
  1397. gives unlimited permission to copy, distribute and modify it.
  1398. _ACEOF
  1399. - exit 0
  1400. + exit
  1401. fi
  1402. -exec 5>auto/config.log
  1403. -cat >&5 <<_ACEOF
  1404. +cat >config.log <<_ACEOF
  1405. This file contains any messages produced by compilers while
  1406. running configure, to aid debugging if configure makes a mistake.
  1407. It was created by $as_me, which was
  1408. -generated by GNU Autoconf 2.59. Invocation command line was
  1409. +generated by GNU Autoconf 2.61. Invocation command line was
  1410. $ $0 $@
  1411. _ACEOF
  1412. +exec 5>>config.log
  1413. {
  1414. cat <<_ASUNAME
  1415. ## --------- ##
  1416. @@ -1039,7 +1493,7 @@
  1417. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1418. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1419. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1420. -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1421. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1422. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1423. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1424. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1425. @@ -1053,6 +1507,7 @@
  1426. test -z "$as_dir" && as_dir=.
  1427. echo "PATH: $as_dir"
  1428. done
  1429. +IFS=$as_save_IFS
  1430. } >&5
  1431. @@ -1074,7 +1529,6 @@
  1432. ac_configure_args=
  1433. ac_configure_args0=
  1434. ac_configure_args1=
  1435. -ac_sep=
  1436. ac_must_keep_next=false
  1437. for ac_pass in 1 2
  1438. do
  1439. @@ -1085,7 +1539,7 @@
  1440. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1441. | -silent | --silent | --silen | --sile | --sil)
  1442. continue ;;
  1443. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1444. + *\'*)
  1445. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1446. esac
  1447. case $ac_pass in
  1448. @@ -1107,9 +1561,7 @@
  1449. -* ) ac_must_keep_next=true ;;
  1450. esac
  1451. fi
  1452. - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1453. - # Get rid of the leading space.
  1454. - ac_sep=" "
  1455. + ac_configure_args="$ac_configure_args '$ac_arg'"
  1456. ;;
  1457. esac
  1458. done
  1459. @@ -1120,8 +1572,8 @@
  1460. # When interrupted or exit'd, cleanup temporary files, and complete
  1461. # config.log. We remove comments because anyway the quotes in there
  1462. # would cause problems or look ugly.
  1463. -# WARNING: Be sure not to use single quotes in there, as some shells,
  1464. -# such as our DU 5.0 friend, will then `close' the trap.
  1465. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1466. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1467. trap 'exit_status=$?
  1468. # Save into config.log some information that might help in debugging.
  1469. {
  1470. @@ -1134,20 +1586,34 @@
  1471. _ASBOX
  1472. echo
  1473. # The following way of writing the cache mishandles newlines in values,
  1474. -{
  1475. +(
  1476. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1477. + eval ac_val=\$$ac_var
  1478. + case $ac_val in #(
  1479. + *${as_nl}*)
  1480. + case $ac_var in #(
  1481. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1482. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1483. + esac
  1484. + case $ac_var in #(
  1485. + _ | IFS | as_nl) ;; #(
  1486. + *) $as_unset $ac_var ;;
  1487. + esac ;;
  1488. + esac
  1489. + done
  1490. (set) 2>&1 |
  1491. - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1492. - *ac_space=\ *)
  1493. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1494. + *${as_nl}ac_space=\ *)
  1495. sed -n \
  1496. - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1497. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1498. - ;;
  1499. + "s/'\''/'\''\\\\'\'''\''/g;
  1500. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1501. + ;; #(
  1502. *)
  1503. - sed -n \
  1504. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1505. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1506. ;;
  1507. - esac;
  1508. -}
  1509. + esac |
  1510. + sort
  1511. +)
  1512. echo
  1513. cat <<\_ASBOX
  1514. @@ -1158,22 +1624,28 @@
  1515. echo
  1516. for ac_var in $ac_subst_vars
  1517. do
  1518. - eval ac_val=$`echo $ac_var`
  1519. - echo "$ac_var='"'"'$ac_val'"'"'"
  1520. + eval ac_val=\$$ac_var
  1521. + case $ac_val in
  1522. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1523. + esac
  1524. + echo "$ac_var='\''$ac_val'\''"
  1525. done | sort
  1526. echo
  1527. if test -n "$ac_subst_files"; then
  1528. cat <<\_ASBOX
  1529. -## ------------- ##
  1530. -## Output files. ##
  1531. -## ------------- ##
  1532. +## ------------------- ##
  1533. +## File substitutions. ##
  1534. +## ------------------- ##
  1535. _ASBOX
  1536. echo
  1537. for ac_var in $ac_subst_files
  1538. do
  1539. - eval ac_val=$`echo $ac_var`
  1540. - echo "$ac_var='"'"'$ac_val'"'"'"
  1541. + eval ac_val=\$$ac_var
  1542. + case $ac_val in
  1543. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1544. + esac
  1545. + echo "$ac_var='\''$ac_val'\''"
  1546. done | sort
  1547. echo
  1548. fi
  1549. @@ -1185,26 +1657,24 @@
  1550. ## ----------- ##
  1551. _ASBOX
  1552. echo
  1553. - sed "/^$/d" confdefs.h | sort
  1554. + cat confdefs.h
  1555. echo
  1556. fi
  1557. test "$ac_signal" != 0 &&
  1558. echo "$as_me: caught signal $ac_signal"
  1559. echo "$as_me: exit $exit_status"
  1560. } >&5
  1561. - rm -f core *.core &&
  1562. - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1563. + rm -f core *.core core.conftest.* &&
  1564. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1565. exit $exit_status
  1566. - ' 0
  1567. +' 0
  1568. for ac_signal in 1 2 13 15; do
  1569. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1570. done
  1571. ac_signal=0
  1572. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1573. -rm -rf conftest* confdefs.h
  1574. -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1575. -echo >confdefs.h
  1576. +rm -f -r conftest* confdefs.h
  1577. # Predefined preprocessor variables.
  1578. @@ -1235,14 +1705,17 @@
  1579. # Let the site file select an alternate cache file if it wants to.
  1580. # Prefer explicitly selected file to automatically selected ones.
  1581. -if test -z "$CONFIG_SITE"; then
  1582. - if test "x$prefix" != xNONE; then
  1583. - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1584. - else
  1585. - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1586. - fi
  1587. +if test -n "$CONFIG_SITE"; then
  1588. + set x "$CONFIG_SITE"
  1589. +elif test "x$prefix" != xNONE; then
  1590. + set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1591. +else
  1592. + set x "$ac_default_prefix/share/config.site" \
  1593. + "$ac_default_prefix/etc/config.site"
  1594. fi
  1595. -for ac_site_file in $CONFIG_SITE; do
  1596. +shift
  1597. +for ac_site_file
  1598. +do
  1599. if test -r "$ac_site_file"; then
  1600. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1601. echo "$as_me: loading site script $ac_site_file" >&6;}
  1602. @@ -1258,8 +1731,8 @@
  1603. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1604. echo "$as_me: loading cache $cache_file" >&6;}
  1605. case $cache_file in
  1606. - [\\/]* | ?:[\\/]* ) . $cache_file;;
  1607. - *) . ./$cache_file;;
  1608. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1609. + *) . "./$cache_file";;
  1610. esac
  1611. fi
  1612. else
  1613. @@ -1271,12 +1744,11 @@
  1614. # Check that the precious variables saved in the cache have kept the same
  1615. # value.
  1616. ac_cache_corrupted=false
  1617. -for ac_var in `(set) 2>&1 |
  1618. - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1619. +for ac_var in $ac_precious_vars; do
  1620. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1621. eval ac_new_set=\$ac_env_${ac_var}_set
  1622. - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1623. - eval ac_new_val="\$ac_env_${ac_var}_value"
  1624. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1625. + eval ac_new_val=\$ac_env_${ac_var}_value
  1626. case $ac_old_set,$ac_new_set in
  1627. set,)
  1628. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1629. @@ -1301,8 +1773,7 @@
  1630. # Pass precious variables to config.status.
  1631. if test "$ac_new_set" = set; then
  1632. case $ac_new_val in
  1633. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1634. - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1635. + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1636. *) ac_arg=$ac_var=$ac_new_val ;;
  1637. esac
  1638. case " $ac_configure_args " in
  1639. @@ -1319,12 +1790,6 @@
  1640. { (exit 1); exit 1; }; }
  1641. fi
  1642. -ac_ext=c
  1643. -ac_cpp='$CPP $CPPFLAGS'
  1644. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1645. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1646. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1647. -
  1648. @@ -1341,41 +1806,47 @@
  1649. +ac_ext=c
  1650. +ac_cpp='$CPP $CPPFLAGS'
  1651. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1652. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1653. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1654. - ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
  1655. +ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
  1656. cat >>confdefs.h <<\_ACEOF
  1657. #define UNIX 1
  1658. _ACEOF
  1659. -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1660. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  1661. -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1662. -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1663. +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1664. +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  1665. +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1666. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  1667. echo $ECHO_N "(cached) $ECHO_C" >&6
  1668. else
  1669. cat >conftest.make <<\_ACEOF
  1670. +SHELL = /bin/sh
  1671. all:
  1672. - @echo 'ac_maketemp="$(MAKE)"'
  1673. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  1674. _ACEOF
  1675. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1676. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1677. -if test -n "$ac_maketemp"; then
  1678. - eval ac_cv_prog_make_${ac_make}_set=yes
  1679. -else
  1680. - eval ac_cv_prog_make_${ac_make}_set=no
  1681. -fi
  1682. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1683. + *@@@%%%=?*=@@@%%%*)
  1684. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  1685. + *)
  1686. + eval ac_cv_prog_make_${ac_make}_set=no;;
  1687. +esac
  1688. rm -f conftest.make
  1689. fi
  1690. -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1691. - echo "$as_me:$LINENO: result: yes" >&5
  1692. -echo "${ECHO_T}yes" >&6
  1693. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1694. + { echo "$as_me:$LINENO: result: yes" >&5
  1695. +echo "${ECHO_T}yes" >&6; }
  1696. SET_MAKE=
  1697. else
  1698. - echo "$as_me:$LINENO: result: no" >&5
  1699. -echo "${ECHO_T}no" >&6
  1700. + { echo "$as_me:$LINENO: result: no" >&5
  1701. +echo "${ECHO_T}no" >&6; }
  1702. SET_MAKE="MAKE=${MAKE-make}"
  1703. fi
  1704. @@ -1388,8 +1859,8 @@
  1705. if test -n "$ac_tool_prefix"; then
  1706. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1707. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1708. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1709. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1710. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1711. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1712. if test "${ac_cv_prog_CC+set}" = set; then
  1713. echo $ECHO_N "(cached) $ECHO_C" >&6
  1714. else
  1715. @@ -1402,32 +1873,34 @@
  1716. IFS=$as_save_IFS
  1717. test -z "$as_dir" && as_dir=.
  1718. for ac_exec_ext in '' $ac_executable_extensions; do
  1719. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1720. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1721. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1722. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1723. break 2
  1724. fi
  1725. done
  1726. done
  1727. +IFS=$as_save_IFS
  1728. fi
  1729. fi
  1730. CC=$ac_cv_prog_CC
  1731. if test -n "$CC"; then
  1732. - echo "$as_me:$LINENO: result: $CC" >&5
  1733. -echo "${ECHO_T}$CC" >&6
  1734. + { echo "$as_me:$LINENO: result: $CC" >&5
  1735. +echo "${ECHO_T}$CC" >&6; }
  1736. else
  1737. - echo "$as_me:$LINENO: result: no" >&5
  1738. -echo "${ECHO_T}no" >&6
  1739. + { echo "$as_me:$LINENO: result: no" >&5
  1740. +echo "${ECHO_T}no" >&6; }
  1741. fi
  1742. +
  1743. fi
  1744. if test -z "$ac_cv_prog_CC"; then
  1745. ac_ct_CC=$CC
  1746. # Extract the first word of "gcc", so it can be a program name with args.
  1747. set dummy gcc; ac_word=$2
  1748. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1749. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1750. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1751. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1752. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1753. echo $ECHO_N "(cached) $ECHO_C" >&6
  1754. else
  1755. @@ -1440,36 +1913,51 @@
  1756. IFS=$as_save_IFS
  1757. test -z "$as_dir" && as_dir=.
  1758. for ac_exec_ext in '' $ac_executable_extensions; do
  1759. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1760. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1761. ac_cv_prog_ac_ct_CC="gcc"
  1762. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1763. break 2
  1764. fi
  1765. done
  1766. done
  1767. +IFS=$as_save_IFS
  1768. fi
  1769. fi
  1770. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1771. if test -n "$ac_ct_CC"; then
  1772. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1773. -echo "${ECHO_T}$ac_ct_CC" >&6
  1774. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1775. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1776. else
  1777. - echo "$as_me:$LINENO: result: no" >&5
  1778. -echo "${ECHO_T}no" >&6
  1779. + { echo "$as_me:$LINENO: result: no" >&5
  1780. +echo "${ECHO_T}no" >&6; }
  1781. fi
  1782. - CC=$ac_ct_CC
  1783. + if test "x$ac_ct_CC" = x; then
  1784. + CC=""
  1785. + else
  1786. + case $cross_compiling:$ac_tool_warned in
  1787. +yes:)
  1788. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1789. +whose name does not start with the host triplet. If you think this
  1790. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1791. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1792. +whose name does not start with the host triplet. If you think this
  1793. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1794. +ac_tool_warned=yes ;;
  1795. +esac
  1796. + CC=$ac_ct_CC
  1797. + fi
  1798. else
  1799. CC="$ac_cv_prog_CC"
  1800. fi
  1801. if test -z "$CC"; then
  1802. - if test -n "$ac_tool_prefix"; then
  1803. - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1804. + if test -n "$ac_tool_prefix"; then
  1805. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1806. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1807. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1808. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1809. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1810. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1811. if test "${ac_cv_prog_CC+set}" = set; then
  1812. echo $ECHO_N "(cached) $ECHO_C" >&6
  1813. else
  1814. @@ -1482,74 +1970,34 @@
  1815. IFS=$as_save_IFS
  1816. test -z "$as_dir" && as_dir=.
  1817. for ac_exec_ext in '' $ac_executable_extensions; do
  1818. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1819. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1820. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1821. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1822. break 2
  1823. fi
  1824. done
  1825. done
  1826. +IFS=$as_save_IFS
  1827. fi
  1828. fi
  1829. CC=$ac_cv_prog_CC
  1830. if test -n "$CC"; then
  1831. - echo "$as_me:$LINENO: result: $CC" >&5
  1832. -echo "${ECHO_T}$CC" >&6
  1833. -else
  1834. - echo "$as_me:$LINENO: result: no" >&5
  1835. -echo "${ECHO_T}no" >&6
  1836. -fi
  1837. -
  1838. -fi
  1839. -if test -z "$ac_cv_prog_CC"; then
  1840. - ac_ct_CC=$CC
  1841. - # Extract the first word of "cc", so it can be a program name with args.
  1842. -set dummy cc; ac_word=$2
  1843. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1844. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1845. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1846. - echo $ECHO_N "(cached) $ECHO_C" >&6
  1847. -else
  1848. - if test -n "$ac_ct_CC"; then
  1849. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1850. -else
  1851. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1852. -for as_dir in $PATH
  1853. -do
  1854. - IFS=$as_save_IFS
  1855. - test -z "$as_dir" && as_dir=.
  1856. - for ac_exec_ext in '' $ac_executable_extensions; do
  1857. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1858. - ac_cv_prog_ac_ct_CC="cc"
  1859. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1860. - break 2
  1861. - fi
  1862. -done
  1863. -done
  1864. -
  1865. -fi
  1866. -fi
  1867. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1868. -if test -n "$ac_ct_CC"; then
  1869. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1870. -echo "${ECHO_T}$ac_ct_CC" >&6
  1871. + { echo "$as_me:$LINENO: result: $CC" >&5
  1872. +echo "${ECHO_T}$CC" >&6; }
  1873. else
  1874. - echo "$as_me:$LINENO: result: no" >&5
  1875. -echo "${ECHO_T}no" >&6
  1876. + { echo "$as_me:$LINENO: result: no" >&5
  1877. +echo "${ECHO_T}no" >&6; }
  1878. fi
  1879. - CC=$ac_ct_CC
  1880. -else
  1881. - CC="$ac_cv_prog_CC"
  1882. -fi
  1883. + fi
  1884. fi
  1885. if test -z "$CC"; then
  1886. # Extract the first word of "cc", so it can be a program name with args.
  1887. set dummy cc; ac_word=$2
  1888. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1889. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1890. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1891. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1892. if test "${ac_cv_prog_CC+set}" = set; then
  1893. echo $ECHO_N "(cached) $ECHO_C" >&6
  1894. else
  1895. @@ -1563,7 +2011,7 @@
  1896. IFS=$as_save_IFS
  1897. test -z "$as_dir" && as_dir=.
  1898. for ac_exec_ext in '' $ac_executable_extensions; do
  1899. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1900. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1901. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1902. ac_prog_rejected=yes
  1903. continue
  1904. @@ -1574,6 +2022,7 @@
  1905. fi
  1906. done
  1907. done
  1908. +IFS=$as_save_IFS
  1909. if test $ac_prog_rejected = yes; then
  1910. # We found a bogon in the path, so make sure we never use it.
  1911. @@ -1591,22 +2040,23 @@
  1912. fi
  1913. CC=$ac_cv_prog_CC
  1914. if test -n "$CC"; then
  1915. - echo "$as_me:$LINENO: result: $CC" >&5
  1916. -echo "${ECHO_T}$CC" >&6
  1917. + { echo "$as_me:$LINENO: result: $CC" >&5
  1918. +echo "${ECHO_T}$CC" >&6; }
  1919. else
  1920. - echo "$as_me:$LINENO: result: no" >&5
  1921. -echo "${ECHO_T}no" >&6
  1922. + { echo "$as_me:$LINENO: result: no" >&5
  1923. +echo "${ECHO_T}no" >&6; }
  1924. fi
  1925. +
  1926. fi
  1927. if test -z "$CC"; then
  1928. if test -n "$ac_tool_prefix"; then
  1929. - for ac_prog in cl
  1930. + for ac_prog in cl.exe
  1931. do
  1932. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1933. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1934. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1935. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1936. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1937. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1938. if test "${ac_cv_prog_CC+set}" = set; then
  1939. echo $ECHO_N "(cached) $ECHO_C" >&6
  1940. else
  1941. @@ -1619,36 +2069,38 @@
  1942. IFS=$as_save_IFS
  1943. test -z "$as_dir" && as_dir=.
  1944. for ac_exec_ext in '' $ac_executable_extensions; do
  1945. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1946. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1947. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1948. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1949. break 2
  1950. fi
  1951. done
  1952. done
  1953. +IFS=$as_save_IFS
  1954. fi
  1955. fi
  1956. CC=$ac_cv_prog_CC
  1957. if test -n "$CC"; then
  1958. - echo "$as_me:$LINENO: result: $CC" >&5
  1959. -echo "${ECHO_T}$CC" >&6
  1960. + { echo "$as_me:$LINENO: result: $CC" >&5
  1961. +echo "${ECHO_T}$CC" >&6; }
  1962. else
  1963. - echo "$as_me:$LINENO: result: no" >&5
  1964. -echo "${ECHO_T}no" >&6
  1965. + { echo "$as_me:$LINENO: result: no" >&5
  1966. +echo "${ECHO_T}no" >&6; }
  1967. fi
  1968. +
  1969. test -n "$CC" && break
  1970. done
  1971. fi
  1972. if test -z "$CC"; then
  1973. ac_ct_CC=$CC
  1974. - for ac_prog in cl
  1975. + for ac_prog in cl.exe
  1976. do
  1977. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1978. set dummy $ac_prog; ac_word=$2
  1979. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1980. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1981. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1982. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1983. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1984. echo $ECHO_N "(cached) $ECHO_C" >&6
  1985. else
  1986. @@ -1661,29 +2113,45 @@
  1987. IFS=$as_save_IFS
  1988. test -z "$as_dir" && as_dir=.
  1989. for ac_exec_ext in '' $ac_executable_extensions; do
  1990. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1991. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1992. ac_cv_prog_ac_ct_CC="$ac_prog"
  1993. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1994. break 2
  1995. fi
  1996. done
  1997. done
  1998. +IFS=$as_save_IFS
  1999. fi
  2000. fi
  2001. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2002. if test -n "$ac_ct_CC"; then
  2003. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2004. -echo "${ECHO_T}$ac_ct_CC" >&6
  2005. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2006. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2007. else
  2008. - echo "$as_me:$LINENO: result: no" >&5
  2009. -echo "${ECHO_T}no" >&6
  2010. + { echo "$as_me:$LINENO: result: no" >&5
  2011. +echo "${ECHO_T}no" >&6; }
  2012. fi
  2013. +
  2014. test -n "$ac_ct_CC" && break
  2015. done
  2016. - CC=$ac_ct_CC
  2017. + if test "x$ac_ct_CC" = x; then
  2018. + CC=""
  2019. + else
  2020. + case $cross_compiling:$ac_tool_warned in
  2021. +yes:)
  2022. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2023. +whose name does not start with the host triplet. If you think this
  2024. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2025. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2026. +whose name does not start with the host triplet. If you think this
  2027. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2028. +ac_tool_warned=yes ;;
  2029. +esac
  2030. + CC=$ac_ct_CC
  2031. + fi
  2032. fi
  2033. fi
  2034. @@ -1696,21 +2164,35 @@
  2035. { (exit 1); exit 1; }; }
  2036. # Provide some information about the compiler.
  2037. -echo "$as_me:$LINENO:" \
  2038. - "checking for C compiler version" >&5
  2039. +echo "$as_me:$LINENO: checking for C compiler version" >&5
  2040. ac_compiler=`set X $ac_compile; echo $2`
  2041. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2042. - (eval $ac_compiler --version </dev/null >&5) 2>&5
  2043. +{ (ac_try="$ac_compiler --version >&5"
  2044. +case "(($ac_try" in
  2045. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2046. + *) ac_try_echo=$ac_try;;
  2047. +esac
  2048. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2049. + (eval "$ac_compiler --version >&5") 2>&5
  2050. ac_status=$?
  2051. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2052. (exit $ac_status); }
  2053. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2054. - (eval $ac_compiler -v </dev/null >&5) 2>&5
  2055. +{ (ac_try="$ac_compiler -v >&5"
  2056. +case "(($ac_try" in
  2057. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2058. + *) ac_try_echo=$ac_try;;
  2059. +esac
  2060. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2061. + (eval "$ac_compiler -v >&5") 2>&5
  2062. ac_status=$?
  2063. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2064. (exit $ac_status); }
  2065. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2066. - (eval $ac_compiler -V </dev/null >&5) 2>&5
  2067. +{ (ac_try="$ac_compiler -V >&5"
  2068. +case "(($ac_try" in
  2069. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2070. + *) ac_try_echo=$ac_try;;
  2071. +esac
  2072. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2073. + (eval "$ac_compiler -V >&5") 2>&5
  2074. ac_status=$?
  2075. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2076. (exit $ac_status); }
  2077. @@ -1735,47 +2217,77 @@
  2078. # Try to create an executable without -o first, disregard a.out.
  2079. # It will help us diagnose broken compilers, and finding out an intuition
  2080. # of exeext.
  2081. -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2082. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2083. +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2084. +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2085. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2086. -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2087. - (eval $ac_link_default) 2>&5
  2088. +#
  2089. +# List of possible output files, starting from the most likely.
  2090. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2091. +# only as a last resort. b.out is created by i960 compilers.
  2092. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2093. +#
  2094. +# The IRIX 6 linker writes into existing files which may not be
  2095. +# executable, retaining their permissions. Remove them first so a
  2096. +# subsequent execution test works.
  2097. +ac_rmfiles=
  2098. +for ac_file in $ac_files
  2099. +do
  2100. + case $ac_file in
  2101. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2102. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2103. + esac
  2104. +done
  2105. +rm -f $ac_rmfiles
  2106. +
  2107. +if { (ac_try="$ac_link_default"
  2108. +case "(($ac_try" in
  2109. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2110. + *) ac_try_echo=$ac_try;;
  2111. +esac
  2112. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2113. + (eval "$ac_link_default") 2>&5
  2114. ac_status=$?
  2115. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2116. (exit $ac_status); }; then
  2117. - # Find the output, starting from the most likely. This scheme is
  2118. -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2119. -# resort.
  2120. -
  2121. -# Be careful to initialize this variable, since it used to be cached.
  2122. -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2123. -ac_cv_exeext=
  2124. -# b.out is created by i960 compilers.
  2125. -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2126. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2127. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2128. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  2129. +# so that the user can short-circuit this test for compilers unknown to
  2130. +# Autoconf.
  2131. +for ac_file in $ac_files ''
  2132. do
  2133. test -f "$ac_file" || continue
  2134. case $ac_file in
  2135. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2136. - ;;
  2137. - conftest.$ac_ext )
  2138. - # This is the source file.
  2139. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2140. ;;
  2141. [ab].out )
  2142. # We found the default executable, but exeext='' is most
  2143. # certainly right.
  2144. break;;
  2145. *.* )
  2146. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2147. - # FIXME: I believe we export ac_cv_exeext for Libtool,
  2148. - # but it would be cool to find out if it's true. Does anybody
  2149. - # maintain Libtool? --akim.
  2150. - export ac_cv_exeext
  2151. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2152. + then :; else
  2153. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2154. + fi
  2155. + # We set ac_cv_exeext here because the later test for it is not
  2156. + # safe: cross compilers may not add the suffix if given an `-o'
  2157. + # argument, so we may need to know it at that point already.
  2158. + # Even if this section looks crufty: it has the advantage of
  2159. + # actually working.
  2160. break;;
  2161. * )
  2162. break;;
  2163. esac
  2164. done
  2165. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  2166. +
  2167. else
  2168. + ac_file=''
  2169. +fi
  2170. +
  2171. +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  2172. +echo "${ECHO_T}$ac_file" >&6; }
  2173. +if test -z "$ac_file"; then
  2174. echo "$as_me: failed program was:" >&5
  2175. sed 's/^/| /' conftest.$ac_ext >&5
  2176. @@ -1787,19 +2299,21 @@
  2177. fi
  2178. ac_exeext=$ac_cv_exeext
  2179. -echo "$as_me:$LINENO: result: $ac_file" >&5
  2180. -echo "${ECHO_T}$ac_file" >&6
  2181. -# Check the compiler produces executables we can run. If not, either
  2182. +# Check that the compiler produces executables we can run. If not, either
  2183. # the compiler is broken, or we cross compile.
  2184. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2185. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2186. +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2187. +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2188. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2189. # If not cross compiling, check that we can run a simple program.
  2190. if test "$cross_compiling" != yes; then
  2191. if { ac_try='./$ac_file'
  2192. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2193. - (eval $ac_try) 2>&5
  2194. + { (case "(($ac_try" in
  2195. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2196. + *) ac_try_echo=$ac_try;;
  2197. +esac
  2198. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2199. + (eval "$ac_try") 2>&5
  2200. ac_status=$?
  2201. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2202. (exit $ac_status); }; }; then
  2203. @@ -1818,22 +2332,27 @@
  2204. fi
  2205. fi
  2206. fi
  2207. -echo "$as_me:$LINENO: result: yes" >&5
  2208. -echo "${ECHO_T}yes" >&6
  2209. +{ echo "$as_me:$LINENO: result: yes" >&5
  2210. +echo "${ECHO_T}yes" >&6; }
  2211. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2212. ac_clean_files=$ac_clean_files_save
  2213. -# Check the compiler produces executables we can run. If not, either
  2214. +# Check that the compiler produces executables we can run. If not, either
  2215. # the compiler is broken, or we cross compile.
  2216. -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2217. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2218. -echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2219. -echo "${ECHO_T}$cross_compiling" >&6
  2220. -
  2221. -echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2222. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2223. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2224. - (eval $ac_link) 2>&5
  2225. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2226. +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2227. +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2228. +echo "${ECHO_T}$cross_compiling" >&6; }
  2229. +
  2230. +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2231. +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2232. +if { (ac_try="$ac_link"
  2233. +case "(($ac_try" in
  2234. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2235. + *) ac_try_echo=$ac_try;;
  2236. +esac
  2237. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2238. + (eval "$ac_link") 2>&5
  2239. ac_status=$?
  2240. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2241. (exit $ac_status); }; then
  2242. @@ -1844,9 +2363,8 @@
  2243. for ac_file in conftest.exe conftest conftest.*; do
  2244. test -f "$ac_file" || continue
  2245. case $ac_file in
  2246. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2247. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2248. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2249. - export ac_cv_exeext
  2250. break;;
  2251. * ) break;;
  2252. esac
  2253. @@ -1860,14 +2378,14 @@
  2254. fi
  2255. rm -f conftest$ac_cv_exeext
  2256. -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2257. -echo "${ECHO_T}$ac_cv_exeext" >&6
  2258. +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2259. +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2260. rm -f conftest.$ac_ext
  2261. EXEEXT=$ac_cv_exeext
  2262. ac_exeext=$EXEEXT
  2263. -echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2264. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2265. +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2266. +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2267. if test "${ac_cv_objext+set}" = set; then
  2268. echo $ECHO_N "(cached) $ECHO_C" >&6
  2269. else
  2270. @@ -1887,14 +2405,20 @@
  2271. }
  2272. _ACEOF
  2273. rm -f conftest.o conftest.obj
  2274. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2275. - (eval $ac_compile) 2>&5
  2276. +if { (ac_try="$ac_compile"
  2277. +case "(($ac_try" in
  2278. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2279. + *) ac_try_echo=$ac_try;;
  2280. +esac
  2281. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2282. + (eval "$ac_compile") 2>&5
  2283. ac_status=$?
  2284. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2285. (exit $ac_status); }; then
  2286. - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2287. + for ac_file in conftest.o conftest.obj conftest.*; do
  2288. + test -f "$ac_file" || continue;
  2289. case $ac_file in
  2290. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2291. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2292. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2293. break;;
  2294. esac
  2295. @@ -1912,12 +2436,12 @@
  2296. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2297. fi
  2298. -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2299. -echo "${ECHO_T}$ac_cv_objext" >&6
  2300. +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2301. +echo "${ECHO_T}$ac_cv_objext" >&6; }
  2302. OBJEXT=$ac_cv_objext
  2303. ac_objext=$OBJEXT
  2304. -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2305. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2306. +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2307. +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2308. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2309. echo $ECHO_N "(cached) $ECHO_C" >&6
  2310. else
  2311. @@ -1940,50 +2464,49 @@
  2312. }
  2313. _ACEOF
  2314. rm -f conftest.$ac_objext
  2315. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2316. - (eval $ac_compile) 2>conftest.er1
  2317. +if { (ac_try="$ac_compile"
  2318. +case "(($ac_try" in
  2319. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2320. + *) ac_try_echo=$ac_try;;
  2321. +esac
  2322. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2323. + (eval "$ac_compile") 2>conftest.er1
  2324. ac_status=$?
  2325. grep -v '^ *+' conftest.er1 >conftest.err
  2326. rm -f conftest.er1
  2327. cat conftest.err >&5
  2328. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2329. - (exit $ac_status); } &&
  2330. - { ac_try='test -z "$ac_c_werror_flag"
  2331. - || test ! -s conftest.err'
  2332. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2333. - (eval $ac_try) 2>&5
  2334. - ac_status=$?
  2335. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2336. - (exit $ac_status); }; } &&
  2337. - { ac_try='test -s conftest.$ac_objext'
  2338. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2339. - (eval $ac_try) 2>&5
  2340. - ac_status=$?
  2341. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2342. - (exit $ac_status); }; }; then
  2343. + (exit $ac_status); } && {
  2344. + test -z "$ac_c_werror_flag" ||
  2345. + test ! -s conftest.err
  2346. + } && test -s conftest.$ac_objext; then
  2347. ac_compiler_gnu=yes
  2348. else
  2349. echo "$as_me: failed program was:" >&5
  2350. sed 's/^/| /' conftest.$ac_ext >&5
  2351. -ac_compiler_gnu=no
  2352. + ac_compiler_gnu=no
  2353. fi
  2354. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2355. +
  2356. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2357. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2358. fi
  2359. -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2360. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2361. +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2362. +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2363. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2364. ac_test_CFLAGS=${CFLAGS+set}
  2365. ac_save_CFLAGS=$CFLAGS
  2366. -CFLAGS="-g"
  2367. -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2368. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2369. +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2370. +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2371. if test "${ac_cv_prog_cc_g+set}" = set; then
  2372. echo $ECHO_N "(cached) $ECHO_C" >&6
  2373. else
  2374. - cat >conftest.$ac_ext <<_ACEOF
  2375. + ac_save_c_werror_flag=$ac_c_werror_flag
  2376. + ac_c_werror_flag=yes
  2377. + ac_cv_prog_cc_g=no
  2378. + CFLAGS="-g"
  2379. + cat >conftest.$ac_ext <<_ACEOF
  2380. /* confdefs.h. */
  2381. _ACEOF
  2382. cat confdefs.h >>conftest.$ac_ext
  2383. @@ -1999,38 +2522,118 @@
  2384. }
  2385. _ACEOF
  2386. rm -f conftest.$ac_objext
  2387. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2388. - (eval $ac_compile) 2>conftest.er1
  2389. +if { (ac_try="$ac_compile"
  2390. +case "(($ac_try" in
  2391. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2392. + *) ac_try_echo=$ac_try;;
  2393. +esac
  2394. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2395. + (eval "$ac_compile") 2>conftest.er1
  2396. ac_status=$?
  2397. grep -v '^ *+' conftest.er1 >conftest.err
  2398. rm -f conftest.er1
  2399. cat conftest.err >&5
  2400. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2401. - (exit $ac_status); } &&
  2402. - { ac_try='test -z "$ac_c_werror_flag"
  2403. - || test ! -s conftest.err'
  2404. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2405. - (eval $ac_try) 2>&5
  2406. + (exit $ac_status); } && {
  2407. + test -z "$ac_c_werror_flag" ||
  2408. + test ! -s conftest.err
  2409. + } && test -s conftest.$ac_objext; then
  2410. + ac_cv_prog_cc_g=yes
  2411. +else
  2412. + echo "$as_me: failed program was:" >&5
  2413. +sed 's/^/| /' conftest.$ac_ext >&5
  2414. +
  2415. + CFLAGS=""
  2416. + cat >conftest.$ac_ext <<_ACEOF
  2417. +/* confdefs.h. */
  2418. +_ACEOF
  2419. +cat confdefs.h >>conftest.$ac_ext
  2420. +cat >>conftest.$ac_ext <<_ACEOF
  2421. +/* end confdefs.h. */
  2422. +
  2423. +int
  2424. +main ()
  2425. +{
  2426. +
  2427. + ;
  2428. + return 0;
  2429. +}
  2430. +_ACEOF
  2431. +rm -f conftest.$ac_objext
  2432. +if { (ac_try="$ac_compile"
  2433. +case "(($ac_try" in
  2434. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2435. + *) ac_try_echo=$ac_try;;
  2436. +esac
  2437. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2438. + (eval "$ac_compile") 2>conftest.er1
  2439. ac_status=$?
  2440. + grep -v '^ *+' conftest.er1 >conftest.err
  2441. + rm -f conftest.er1
  2442. + cat conftest.err >&5
  2443. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2444. - (exit $ac_status); }; } &&
  2445. - { ac_try='test -s conftest.$ac_objext'
  2446. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2447. - (eval $ac_try) 2>&5
  2448. + (exit $ac_status); } && {
  2449. + test -z "$ac_c_werror_flag" ||
  2450. + test ! -s conftest.err
  2451. + } && test -s conftest.$ac_objext; then
  2452. + :
  2453. +else
  2454. + echo "$as_me: failed program was:" >&5
  2455. +sed 's/^/| /' conftest.$ac_ext >&5
  2456. +
  2457. + ac_c_werror_flag=$ac_save_c_werror_flag
  2458. + CFLAGS="-g"
  2459. + cat >conftest.$ac_ext <<_ACEOF
  2460. +/* confdefs.h. */
  2461. +_ACEOF
  2462. +cat confdefs.h >>conftest.$ac_ext
  2463. +cat >>conftest.$ac_ext <<_ACEOF
  2464. +/* end confdefs.h. */
  2465. +
  2466. +int
  2467. +main ()
  2468. +{
  2469. +
  2470. + ;
  2471. + return 0;
  2472. +}
  2473. +_ACEOF
  2474. +rm -f conftest.$ac_objext
  2475. +if { (ac_try="$ac_compile"
  2476. +case "(($ac_try" in
  2477. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2478. + *) ac_try_echo=$ac_try;;
  2479. +esac
  2480. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2481. + (eval "$ac_compile") 2>conftest.er1
  2482. ac_status=$?
  2483. + grep -v '^ *+' conftest.er1 >conftest.err
  2484. + rm -f conftest.er1
  2485. + cat conftest.err >&5
  2486. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2487. - (exit $ac_status); }; }; then
  2488. + (exit $ac_status); } && {
  2489. + test -z "$ac_c_werror_flag" ||
  2490. + test ! -s conftest.err
  2491. + } && test -s conftest.$ac_objext; then
  2492. ac_cv_prog_cc_g=yes
  2493. else
  2494. echo "$as_me: failed program was:" >&5
  2495. sed 's/^/| /' conftest.$ac_ext >&5
  2496. -ac_cv_prog_cc_g=no
  2497. +
  2498. +fi
  2499. +
  2500. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2501. fi
  2502. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2503. +
  2504. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2505. +fi
  2506. +
  2507. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2508. + ac_c_werror_flag=$ac_save_c_werror_flag
  2509. fi
  2510. -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2511. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2512. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2513. +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2514. if test "$ac_test_CFLAGS" = set; then
  2515. CFLAGS=$ac_save_CFLAGS
  2516. elif test $ac_cv_prog_cc_g = yes; then
  2517. @@ -2046,12 +2649,12 @@
  2518. CFLAGS=
  2519. fi
  2520. fi
  2521. -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2522. -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2523. -if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2524. +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2525. +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  2526. +if test "${ac_cv_prog_cc_c89+set}" = set; then
  2527. echo $ECHO_N "(cached) $ECHO_C" >&6
  2528. else
  2529. - ac_cv_prog_cc_stdc=no
  2530. + ac_cv_prog_cc_c89=no
  2531. ac_save_CC=$CC
  2532. cat >conftest.$ac_ext <<_ACEOF
  2533. /* confdefs.h. */
  2534. @@ -2085,12 +2688,17 @@
  2535. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2536. function prototypes and stuff, but not '\xHH' hex character constants.
  2537. These don't provoke an error unfortunately, instead are silently treated
  2538. - as 'x'. The following induces an error, until -std1 is added to get
  2539. + as 'x'. The following induces an error, until -std is added to get
  2540. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2541. array size at least. It's necessary to write '\x00'==0 to get something
  2542. - that's true only with -std1. */
  2543. + that's true only with -std. */
  2544. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2545. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2546. + inside strings and character constants. */
  2547. +#define FOO(x) 'x'
  2548. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2549. +
  2550. int test (int i, double x);
  2551. struct s1 {int (*f) (int a);};
  2552. struct s2 {int (*f) (double a);};
  2553. @@ -2105,237 +2713,89 @@
  2554. return 0;
  2555. }
  2556. _ACEOF
  2557. -# Don't try gcc -ansi; that turns off useful extensions and
  2558. -# breaks some systems' header files.
  2559. -# AIX -qlanglvl=ansi
  2560. -# Ultrix and OSF/1 -std1
  2561. -# HP-UX 10.20 and later -Ae
  2562. -# HP-UX older versions -Aa -D_HPUX_SOURCE
  2563. -# SVR4 -Xc -D__EXTENSIONS__
  2564. -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2565. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2566. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2567. do
  2568. CC="$ac_save_CC $ac_arg"
  2569. rm -f conftest.$ac_objext
  2570. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2571. - (eval $ac_compile) 2>conftest.er1
  2572. +if { (ac_try="$ac_compile"
  2573. +case "(($ac_try" in
  2574. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2575. + *) ac_try_echo=$ac_try;;
  2576. +esac
  2577. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2578. + (eval "$ac_compile") 2>conftest.er1
  2579. ac_status=$?
  2580. grep -v '^ *+' conftest.er1 >conftest.err
  2581. rm -f conftest.er1
  2582. cat conftest.err >&5
  2583. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2584. - (exit $ac_status); } &&
  2585. - { ac_try='test -z "$ac_c_werror_flag"
  2586. - || test ! -s conftest.err'
  2587. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2588. - (eval $ac_try) 2>&5
  2589. - ac_status=$?
  2590. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2591. - (exit $ac_status); }; } &&
  2592. - { ac_try='test -s conftest.$ac_objext'
  2593. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2594. - (eval $ac_try) 2>&5
  2595. - ac_status=$?
  2596. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2597. - (exit $ac_status); }; }; then
  2598. - ac_cv_prog_cc_stdc=$ac_arg
  2599. -break
  2600. + (exit $ac_status); } && {
  2601. + test -z "$ac_c_werror_flag" ||
  2602. + test ! -s conftest.err
  2603. + } && test -s conftest.$ac_objext; then
  2604. + ac_cv_prog_cc_c89=$ac_arg
  2605. else
  2606. echo "$as_me: failed program was:" >&5
  2607. sed 's/^/| /' conftest.$ac_ext >&5
  2608. +
  2609. fi
  2610. -rm -f conftest.err conftest.$ac_objext
  2611. +
  2612. +rm -f core conftest.err conftest.$ac_objext
  2613. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  2614. done
  2615. -rm -f conftest.$ac_ext conftest.$ac_objext
  2616. +rm -f conftest.$ac_ext
  2617. CC=$ac_save_CC
  2618. fi
  2619. -
  2620. -case "x$ac_cv_prog_cc_stdc" in
  2621. - x|xno)
  2622. - echo "$as_me:$LINENO: result: none needed" >&5
  2623. -echo "${ECHO_T}none needed" >&6 ;;
  2624. +# AC_CACHE_VAL
  2625. +case "x$ac_cv_prog_cc_c89" in
  2626. + x)
  2627. + { echo "$as_me:$LINENO: result: none needed" >&5
  2628. +echo "${ECHO_T}none needed" >&6; } ;;
  2629. + xno)
  2630. + { echo "$as_me:$LINENO: result: unsupported" >&5
  2631. +echo "${ECHO_T}unsupported" >&6; } ;;
  2632. *)
  2633. - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2634. -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2635. - CC="$CC $ac_cv_prog_cc_stdc" ;;
  2636. + CC="$CC $ac_cv_prog_cc_c89"
  2637. + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  2638. +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  2639. esac
  2640. -# Some people use a C++ compiler to compile C. Since we use `exit',
  2641. -# in C++ we need to declare it. In case someone uses the same compiler
  2642. -# for both compiling C and C++ we need to have the C++ compiler decide
  2643. -# the declaration of exit, since it's the most demanding environment.
  2644. -cat >conftest.$ac_ext <<_ACEOF
  2645. -#ifndef __cplusplus
  2646. - choke me
  2647. -#endif
  2648. -_ACEOF
  2649. -rm -f conftest.$ac_objext
  2650. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2651. - (eval $ac_compile) 2>conftest.er1
  2652. - ac_status=$?
  2653. - grep -v '^ *+' conftest.er1 >conftest.err
  2654. - rm -f conftest.er1
  2655. - cat conftest.err >&5
  2656. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2657. - (exit $ac_status); } &&
  2658. - { ac_try='test -z "$ac_c_werror_flag"
  2659. - || test ! -s conftest.err'
  2660. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2661. - (eval $ac_try) 2>&5
  2662. - ac_status=$?
  2663. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2664. - (exit $ac_status); }; } &&
  2665. - { ac_try='test -s conftest.$ac_objext'
  2666. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2667. - (eval $ac_try) 2>&5
  2668. - ac_status=$?
  2669. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2670. - (exit $ac_status); }; }; then
  2671. - for ac_declaration in \
  2672. - '' \
  2673. - 'extern "C" void std::exit (int) throw (); using std::exit;' \
  2674. - 'extern "C" void std::exit (int); using std::exit;' \
  2675. - 'extern "C" void exit (int) throw ();' \
  2676. - 'extern "C" void exit (int);' \
  2677. - 'void exit (int);'
  2678. +
  2679. +ac_ext=c
  2680. +ac_cpp='$CPP $CPPFLAGS'
  2681. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2682. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2683. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2684. + ac_ext=c
  2685. +ac_cpp='$CPP $CPPFLAGS'
  2686. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2687. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2688. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2689. +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2690. +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  2691. +# On Suns, sometimes $CPP names a directory.
  2692. +if test -n "$CPP" && test -d "$CPP"; then
  2693. + CPP=
  2694. +fi
  2695. +if test -z "$CPP"; then
  2696. + if test "${ac_cv_prog_CPP+set}" = set; then
  2697. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2698. +else
  2699. + # Double quotes because CPP needs to be expanded
  2700. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2701. + do
  2702. + ac_preproc_ok=false
  2703. +for ac_c_preproc_warn_flag in '' yes
  2704. do
  2705. - cat >conftest.$ac_ext <<_ACEOF
  2706. -/* confdefs.h. */
  2707. -_ACEOF
  2708. -cat confdefs.h >>conftest.$ac_ext
  2709. -cat >>conftest.$ac_ext <<_ACEOF
  2710. -/* end confdefs.h. */
  2711. -$ac_declaration
  2712. -#include <stdlib.h>
  2713. -int
  2714. -main ()
  2715. -{
  2716. -exit (42);
  2717. - ;
  2718. - return 0;
  2719. -}
  2720. -_ACEOF
  2721. -rm -f conftest.$ac_objext
  2722. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2723. - (eval $ac_compile) 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 -z "$ac_c_werror_flag"
  2731. - || 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_objext'
  2738. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2739. - (eval $ac_try) 2>&5
  2740. - ac_status=$?
  2741. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2742. - (exit $ac_status); }; }; then
  2743. - :
  2744. -else
  2745. - echo "$as_me: failed program was:" >&5
  2746. -sed 's/^/| /' conftest.$ac_ext >&5
  2747. -
  2748. -continue
  2749. -fi
  2750. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2751. - cat >conftest.$ac_ext <<_ACEOF
  2752. -/* confdefs.h. */
  2753. -_ACEOF
  2754. -cat confdefs.h >>conftest.$ac_ext
  2755. -cat >>conftest.$ac_ext <<_ACEOF
  2756. -/* end confdefs.h. */
  2757. -$ac_declaration
  2758. -int
  2759. -main ()
  2760. -{
  2761. -exit (42);
  2762. - ;
  2763. - return 0;
  2764. -}
  2765. -_ACEOF
  2766. -rm -f conftest.$ac_objext
  2767. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2768. - (eval $ac_compile) 2>conftest.er1
  2769. - ac_status=$?
  2770. - grep -v '^ *+' conftest.er1 >conftest.err
  2771. - rm -f conftest.er1
  2772. - cat conftest.err >&5
  2773. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2774. - (exit $ac_status); } &&
  2775. - { ac_try='test -z "$ac_c_werror_flag"
  2776. - || test ! -s conftest.err'
  2777. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2778. - (eval $ac_try) 2>&5
  2779. - ac_status=$?
  2780. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2781. - (exit $ac_status); }; } &&
  2782. - { ac_try='test -s conftest.$ac_objext'
  2783. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2784. - (eval $ac_try) 2>&5
  2785. - ac_status=$?
  2786. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2787. - (exit $ac_status); }; }; then
  2788. - break
  2789. -else
  2790. - echo "$as_me: failed program was:" >&5
  2791. -sed 's/^/| /' conftest.$ac_ext >&5
  2792. -
  2793. -fi
  2794. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2795. -done
  2796. -rm -f conftest*
  2797. -if test -n "$ac_declaration"; then
  2798. - echo '#ifdef __cplusplus' >>confdefs.h
  2799. - echo $ac_declaration >>confdefs.h
  2800. - echo '#endif' >>confdefs.h
  2801. -fi
  2802. -
  2803. -else
  2804. - echo "$as_me: failed program was:" >&5
  2805. -sed 's/^/| /' conftest.$ac_ext >&5
  2806. -
  2807. -fi
  2808. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2809. -ac_ext=c
  2810. -ac_cpp='$CPP $CPPFLAGS'
  2811. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2812. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2813. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2814. - ac_ext=c
  2815. -ac_cpp='$CPP $CPPFLAGS'
  2816. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2817. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2818. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2819. -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2820. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  2821. -# On Suns, sometimes $CPP names a directory.
  2822. -if test -n "$CPP" && test -d "$CPP"; then
  2823. - CPP=
  2824. -fi
  2825. -if test -z "$CPP"; then
  2826. - if test "${ac_cv_prog_CPP+set}" = set; then
  2827. - echo $ECHO_N "(cached) $ECHO_C" >&6
  2828. -else
  2829. - # Double quotes because CPP needs to be expanded
  2830. - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2831. - do
  2832. - ac_preproc_ok=false
  2833. -for ac_c_preproc_warn_flag in '' yes
  2834. -do
  2835. - # Use a header file that comes with gcc, so configuring glibc
  2836. - # with a fresh cross-compiler works.
  2837. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2838. - # <limits.h> exists even on freestanding compilers.
  2839. - # On the NeXT, cc -E runs the code through the compiler's parser,
  2840. - # not just through cpp. "Syntax error" is here to catch this case.
  2841. + # Use a header file that comes with gcc, so configuring glibc
  2842. + # with a fresh cross-compiler works.
  2843. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2844. + # <limits.h> exists even on freestanding compilers.
  2845. + # On the NeXT, cc -E runs the code through the compiler's parser,
  2846. + # not just through cpp. "Syntax error" is here to catch this case.
  2847. cat >conftest.$ac_ext <<_ACEOF
  2848. /* confdefs.h. */
  2849. _ACEOF
  2850. @@ -2349,24 +2809,22 @@
  2851. #endif
  2852. Syntax error
  2853. _ACEOF
  2854. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2855. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2856. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  2857. +case "(($ac_try" in
  2858. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2859. + *) ac_try_echo=$ac_try;;
  2860. +esac
  2861. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2862. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2863. ac_status=$?
  2864. grep -v '^ *+' conftest.er1 >conftest.err
  2865. rm -f conftest.er1
  2866. cat conftest.err >&5
  2867. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2868. - (exit $ac_status); } >/dev/null; then
  2869. - if test -s conftest.err; then
  2870. - ac_cpp_err=$ac_c_preproc_warn_flag
  2871. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2872. - else
  2873. - ac_cpp_err=
  2874. - fi
  2875. -else
  2876. - ac_cpp_err=yes
  2877. -fi
  2878. -if test -z "$ac_cpp_err"; then
  2879. + (exit $ac_status); } >/dev/null && {
  2880. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2881. + test ! -s conftest.err
  2882. + }; then
  2883. :
  2884. else
  2885. echo "$as_me: failed program was:" >&5
  2886. @@ -2375,9 +2833,10 @@
  2887. # Broken: fails on valid input.
  2888. continue
  2889. fi
  2890. +
  2891. rm -f conftest.err conftest.$ac_ext
  2892. - # OK, works on sane cases. Now check whether non-existent headers
  2893. + # OK, works on sane cases. Now check whether nonexistent headers
  2894. # can be detected and how.
  2895. cat >conftest.$ac_ext <<_ACEOF
  2896. /* confdefs.h. */
  2897. @@ -2387,24 +2846,22 @@
  2898. /* end confdefs.h. */
  2899. #include <ac_nonexistent.h>
  2900. _ACEOF
  2901. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2902. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2903. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  2904. +case "(($ac_try" in
  2905. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2906. + *) ac_try_echo=$ac_try;;
  2907. +esac
  2908. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2909. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2910. ac_status=$?
  2911. grep -v '^ *+' conftest.er1 >conftest.err
  2912. rm -f conftest.er1
  2913. cat conftest.err >&5
  2914. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2915. - (exit $ac_status); } >/dev/null; then
  2916. - if test -s conftest.err; then
  2917. - ac_cpp_err=$ac_c_preproc_warn_flag
  2918. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2919. - else
  2920. - ac_cpp_err=
  2921. - fi
  2922. -else
  2923. - ac_cpp_err=yes
  2924. -fi
  2925. -if test -z "$ac_cpp_err"; then
  2926. + (exit $ac_status); } >/dev/null && {
  2927. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2928. + test ! -s conftest.err
  2929. + }; then
  2930. # Broken: success on invalid input.
  2931. continue
  2932. else
  2933. @@ -2415,6 +2872,7 @@
  2934. ac_preproc_ok=:
  2935. break
  2936. fi
  2937. +
  2938. rm -f conftest.err conftest.$ac_ext
  2939. done
  2940. @@ -2432,8 +2890,8 @@
  2941. else
  2942. ac_cv_prog_CPP=$CPP
  2943. fi
  2944. -echo "$as_me:$LINENO: result: $CPP" >&5
  2945. -echo "${ECHO_T}$CPP" >&6
  2946. +{ echo "$as_me:$LINENO: result: $CPP" >&5
  2947. +echo "${ECHO_T}$CPP" >&6; }
  2948. ac_preproc_ok=false
  2949. for ac_c_preproc_warn_flag in '' yes
  2950. do
  2951. @@ -2456,24 +2914,22 @@
  2952. #endif
  2953. Syntax error
  2954. _ACEOF
  2955. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2956. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2957. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  2958. +case "(($ac_try" in
  2959. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2960. + *) ac_try_echo=$ac_try;;
  2961. +esac
  2962. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2963. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2964. ac_status=$?
  2965. grep -v '^ *+' conftest.er1 >conftest.err
  2966. rm -f conftest.er1
  2967. cat conftest.err >&5
  2968. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2969. - (exit $ac_status); } >/dev/null; then
  2970. - if test -s conftest.err; then
  2971. - ac_cpp_err=$ac_c_preproc_warn_flag
  2972. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2973. - else
  2974. - ac_cpp_err=
  2975. - fi
  2976. -else
  2977. - ac_cpp_err=yes
  2978. -fi
  2979. -if test -z "$ac_cpp_err"; then
  2980. + (exit $ac_status); } >/dev/null && {
  2981. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2982. + test ! -s conftest.err
  2983. + }; then
  2984. :
  2985. else
  2986. echo "$as_me: failed program was:" >&5
  2987. @@ -2482,9 +2938,10 @@
  2988. # Broken: fails on valid input.
  2989. continue
  2990. fi
  2991. +
  2992. rm -f conftest.err conftest.$ac_ext
  2993. - # OK, works on sane cases. Now check whether non-existent headers
  2994. + # OK, works on sane cases. Now check whether nonexistent headers
  2995. # can be detected and how.
  2996. cat >conftest.$ac_ext <<_ACEOF
  2997. /* confdefs.h. */
  2998. @@ -2494,24 +2951,22 @@
  2999. /* end confdefs.h. */
  3000. #include <ac_nonexistent.h>
  3001. _ACEOF
  3002. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3003. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3004. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3005. +case "(($ac_try" in
  3006. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3007. + *) ac_try_echo=$ac_try;;
  3008. +esac
  3009. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3010. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3011. ac_status=$?
  3012. grep -v '^ *+' conftest.er1 >conftest.err
  3013. rm -f conftest.er1
  3014. cat conftest.err >&5
  3015. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3016. - (exit $ac_status); } >/dev/null; then
  3017. - if test -s conftest.err; then
  3018. - ac_cpp_err=$ac_c_preproc_warn_flag
  3019. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3020. - else
  3021. - ac_cpp_err=
  3022. - fi
  3023. -else
  3024. - ac_cpp_err=yes
  3025. -fi
  3026. -if test -z "$ac_cpp_err"; then
  3027. + (exit $ac_status); } >/dev/null && {
  3028. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3029. + test ! -s conftest.err
  3030. + }; then
  3031. # Broken: success on invalid input.
  3032. continue
  3033. else
  3034. @@ -2522,6 +2977,7 @@
  3035. ac_preproc_ok=:
  3036. break
  3037. fi
  3038. +
  3039. rm -f conftest.err conftest.$ac_ext
  3040. done
  3041. @@ -2544,19 +3000,166 @@
  3042. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3043. -echo "$as_me:$LINENO: checking for egrep" >&5
  3044. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3045. -if test "${ac_cv_prog_egrep+set}" = set; then
  3046. +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3047. +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  3048. +if test "${ac_cv_path_GREP+set}" = set; then
  3049. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3050. +else
  3051. + # Extract the first word of "grep ggrep" to use in msg output
  3052. +if test -z "$GREP"; then
  3053. +set dummy grep ggrep; ac_prog_name=$2
  3054. +if test "${ac_cv_path_GREP+set}" = set; then
  3055. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3056. +else
  3057. + ac_path_GREP_found=false
  3058. +# Loop through the user's path and test for each of PROGNAME-LIST
  3059. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3060. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3061. +do
  3062. + IFS=$as_save_IFS
  3063. + test -z "$as_dir" && as_dir=.
  3064. + for ac_prog in grep ggrep; do
  3065. + for ac_exec_ext in '' $ac_executable_extensions; do
  3066. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3067. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3068. + # Check for GNU ac_path_GREP and select it if it is found.
  3069. + # Check for GNU $ac_path_GREP
  3070. +case `"$ac_path_GREP" --version 2>&1` in
  3071. +*GNU*)
  3072. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3073. +*)
  3074. + ac_count=0
  3075. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3076. + while :
  3077. + do
  3078. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3079. + mv "conftest.tmp" "conftest.in"
  3080. + cp "conftest.in" "conftest.nl"
  3081. + echo 'GREP' >> "conftest.nl"
  3082. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3083. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3084. + ac_count=`expr $ac_count + 1`
  3085. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3086. + # Best one so far, save it but keep looking for a better one
  3087. + ac_cv_path_GREP="$ac_path_GREP"
  3088. + ac_path_GREP_max=$ac_count
  3089. + fi
  3090. + # 10*(2^10) chars as input seems more than enough
  3091. + test $ac_count -gt 10 && break
  3092. + done
  3093. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3094. +esac
  3095. +
  3096. +
  3097. + $ac_path_GREP_found && break 3
  3098. + done
  3099. +done
  3100. +
  3101. +done
  3102. +IFS=$as_save_IFS
  3103. +
  3104. +
  3105. +fi
  3106. +
  3107. +GREP="$ac_cv_path_GREP"
  3108. +if test -z "$GREP"; then
  3109. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3110. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3111. + { (exit 1); exit 1; }; }
  3112. +fi
  3113. +
  3114. +else
  3115. + ac_cv_path_GREP=$GREP
  3116. +fi
  3117. +
  3118. +
  3119. +fi
  3120. +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3121. +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  3122. + GREP="$ac_cv_path_GREP"
  3123. +
  3124. +
  3125. +{ echo "$as_me:$LINENO: checking for egrep" >&5
  3126. +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  3127. +if test "${ac_cv_path_EGREP+set}" = set; then
  3128. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3129. +else
  3130. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3131. + then ac_cv_path_EGREP="$GREP -E"
  3132. + else
  3133. + # Extract the first word of "egrep" to use in msg output
  3134. +if test -z "$EGREP"; then
  3135. +set dummy egrep; ac_prog_name=$2
  3136. +if test "${ac_cv_path_EGREP+set}" = set; then
  3137. echo $ECHO_N "(cached) $ECHO_C" >&6
  3138. else
  3139. - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3140. - then ac_cv_prog_egrep='grep -E'
  3141. - else ac_cv_prog_egrep='egrep'
  3142. + ac_path_EGREP_found=false
  3143. +# Loop through the user's path and test for each of PROGNAME-LIST
  3144. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3145. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3146. +do
  3147. + IFS=$as_save_IFS
  3148. + test -z "$as_dir" && as_dir=.
  3149. + for ac_prog in egrep; do
  3150. + for ac_exec_ext in '' $ac_executable_extensions; do
  3151. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3152. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3153. + # Check for GNU ac_path_EGREP and select it if it is found.
  3154. + # Check for GNU $ac_path_EGREP
  3155. +case `"$ac_path_EGREP" --version 2>&1` in
  3156. +*GNU*)
  3157. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3158. +*)
  3159. + ac_count=0
  3160. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3161. + while :
  3162. + do
  3163. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3164. + mv "conftest.tmp" "conftest.in"
  3165. + cp "conftest.in" "conftest.nl"
  3166. + echo 'EGREP' >> "conftest.nl"
  3167. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3168. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3169. + ac_count=`expr $ac_count + 1`
  3170. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3171. + # Best one so far, save it but keep looking for a better one
  3172. + ac_cv_path_EGREP="$ac_path_EGREP"
  3173. + ac_path_EGREP_max=$ac_count
  3174. fi
  3175. + # 10*(2^10) chars as input seems more than enough
  3176. + test $ac_count -gt 10 && break
  3177. + done
  3178. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3179. +esac
  3180. +
  3181. +
  3182. + $ac_path_EGREP_found && break 3
  3183. + done
  3184. +done
  3185. +
  3186. +done
  3187. +IFS=$as_save_IFS
  3188. +
  3189. +
  3190. +fi
  3191. +
  3192. +EGREP="$ac_cv_path_EGREP"
  3193. +if test -z "$EGREP"; then
  3194. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3195. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3196. + { (exit 1); exit 1; }; }
  3197. +fi
  3198. +
  3199. +else
  3200. + ac_cv_path_EGREP=$EGREP
  3201. fi
  3202. -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3203. -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3204. - EGREP=$ac_cv_prog_egrep
  3205. +
  3206. +
  3207. + fi
  3208. +fi
  3209. +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3210. +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  3211. + EGREP="$ac_cv_path_EGREP"
  3212. cat >conftest.$ac_ext <<_ACEOF
  3213. @@ -2567,18 +3170,13 @@
  3214. /* end confdefs.h. */
  3215. _ACEOF
  3216. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3217. - $EGREP "" >/dev/null 2>&1; then
  3218. - :
  3219. -fi
  3220. rm -f conftest*
  3221. - echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3222. -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
  3223. + { echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3224. +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
  3225. if test "${ac_cv_search_strerror+set}" = set; then
  3226. echo $ECHO_N "(cached) $ECHO_C" >&6
  3227. else
  3228. ac_func_search_save_LIBS=$LIBS
  3229. -ac_cv_search_strerror=no
  3230. cat >conftest.$ac_ext <<_ACEOF
  3231. /* confdefs.h. */
  3232. _ACEOF
  3233. @@ -2586,123 +3184,81 @@
  3234. cat >>conftest.$ac_ext <<_ACEOF
  3235. /* end confdefs.h. */
  3236. -/* Override any gcc2 internal prototype to avoid an error. */
  3237. +/* Override any GCC internal prototype to avoid an error.
  3238. + Use char because int might match the return type of a GCC
  3239. + builtin and then its argument prototype would still apply. */
  3240. #ifdef __cplusplus
  3241. extern "C"
  3242. #endif
  3243. -/* We use char because int might match the return type of a gcc2
  3244. - builtin and then its argument prototype would still apply. */
  3245. char strerror ();
  3246. int
  3247. main ()
  3248. {
  3249. -strerror ();
  3250. +return strerror ();
  3251. ;
  3252. return 0;
  3253. }
  3254. _ACEOF
  3255. -rm -f conftest.$ac_objext conftest$ac_exeext
  3256. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3257. - (eval $ac_link) 2>conftest.er1
  3258. +for ac_lib in '' cposix; do
  3259. + if test -z "$ac_lib"; then
  3260. + ac_res="none required"
  3261. + else
  3262. + ac_res=-l$ac_lib
  3263. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3264. + fi
  3265. + rm -f conftest.$ac_objext conftest$ac_exeext
  3266. +if { (ac_try="$ac_link"
  3267. +case "(($ac_try" in
  3268. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3269. + *) ac_try_echo=$ac_try;;
  3270. +esac
  3271. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3272. + (eval "$ac_link") 2>conftest.er1
  3273. ac_status=$?
  3274. grep -v '^ *+' conftest.er1 >conftest.err
  3275. rm -f conftest.er1
  3276. cat conftest.err >&5
  3277. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3278. - (exit $ac_status); } &&
  3279. - { ac_try='test -z "$ac_c_werror_flag"
  3280. - || test ! -s conftest.err'
  3281. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3282. - (eval $ac_try) 2>&5
  3283. - ac_status=$?
  3284. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3285. - (exit $ac_status); }; } &&
  3286. - { ac_try='test -s conftest$ac_exeext'
  3287. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3288. - (eval $ac_try) 2>&5
  3289. - ac_status=$?
  3290. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3291. - (exit $ac_status); }; }; then
  3292. - ac_cv_search_strerror="none required"
  3293. + (exit $ac_status); } && {
  3294. + test -z "$ac_c_werror_flag" ||
  3295. + test ! -s conftest.err
  3296. + } && test -s conftest$ac_exeext &&
  3297. + $as_test_x conftest$ac_exeext; then
  3298. + ac_cv_search_strerror=$ac_res
  3299. else
  3300. echo "$as_me: failed program was:" >&5
  3301. sed 's/^/| /' conftest.$ac_ext >&5
  3302. -fi
  3303. -rm -f conftest.err conftest.$ac_objext \
  3304. - conftest$ac_exeext conftest.$ac_ext
  3305. -if test "$ac_cv_search_strerror" = no; then
  3306. - for ac_lib in cposix; do
  3307. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3308. - cat >conftest.$ac_ext <<_ACEOF
  3309. -/* confdefs.h. */
  3310. -_ACEOF
  3311. -cat confdefs.h >>conftest.$ac_ext
  3312. -cat >>conftest.$ac_ext <<_ACEOF
  3313. -/* end confdefs.h. */
  3314. -/* Override any gcc2 internal prototype to avoid an error. */
  3315. -#ifdef __cplusplus
  3316. -extern "C"
  3317. -#endif
  3318. -/* We use char because int might match the return type of a gcc2
  3319. - builtin and then its argument prototype would still apply. */
  3320. -char strerror ();
  3321. -int
  3322. -main ()
  3323. -{
  3324. -strerror ();
  3325. - ;
  3326. - return 0;
  3327. -}
  3328. -_ACEOF
  3329. -rm -f conftest.$ac_objext conftest$ac_exeext
  3330. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3331. - (eval $ac_link) 2>conftest.er1
  3332. - ac_status=$?
  3333. - grep -v '^ *+' conftest.er1 >conftest.err
  3334. - rm -f conftest.er1
  3335. - cat conftest.err >&5
  3336. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3337. - (exit $ac_status); } &&
  3338. - { ac_try='test -z "$ac_c_werror_flag"
  3339. - || test ! -s conftest.err'
  3340. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3341. - (eval $ac_try) 2>&5
  3342. - ac_status=$?
  3343. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3344. - (exit $ac_status); }; } &&
  3345. - { ac_try='test -s conftest$ac_exeext'
  3346. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3347. - (eval $ac_try) 2>&5
  3348. - ac_status=$?
  3349. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3350. - (exit $ac_status); }; }; then
  3351. - ac_cv_search_strerror="-l$ac_lib"
  3352. -break
  3353. -else
  3354. - echo "$as_me: failed program was:" >&5
  3355. -sed 's/^/| /' conftest.$ac_ext >&5
  3356. +fi
  3357. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3358. + conftest$ac_exeext
  3359. + if test "${ac_cv_search_strerror+set}" = set; then
  3360. + break
  3361. fi
  3362. -rm -f conftest.err conftest.$ac_objext \
  3363. - conftest$ac_exeext conftest.$ac_ext
  3364. - done
  3365. +done
  3366. +if test "${ac_cv_search_strerror+set}" = set; then
  3367. + :
  3368. +else
  3369. + ac_cv_search_strerror=no
  3370. fi
  3371. +rm conftest.$ac_ext
  3372. LIBS=$ac_func_search_save_LIBS
  3373. fi
  3374. -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3375. -echo "${ECHO_T}$ac_cv_search_strerror" >&6
  3376. -if test "$ac_cv_search_strerror" != no; then
  3377. - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
  3378. +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3379. +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
  3380. +ac_res=$ac_cv_search_strerror
  3381. +if test "$ac_res" != no; then
  3382. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3383. fi
  3384. for ac_prog in gawk mawk nawk awk
  3385. do
  3386. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3387. set dummy $ac_prog; ac_word=$2
  3388. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  3389. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3390. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  3391. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3392. if test "${ac_cv_prog_AWK+set}" = set; then
  3393. echo $ECHO_N "(cached) $ECHO_C" >&6
  3394. else
  3395. @@ -2715,32 +3271,34 @@
  3396. IFS=$as_save_IFS
  3397. test -z "$as_dir" && as_dir=.
  3398. for ac_exec_ext in '' $ac_executable_extensions; do
  3399. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3400. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3401. ac_cv_prog_AWK="$ac_prog"
  3402. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3403. break 2
  3404. fi
  3405. done
  3406. done
  3407. +IFS=$as_save_IFS
  3408. fi
  3409. fi
  3410. AWK=$ac_cv_prog_AWK
  3411. if test -n "$AWK"; then
  3412. - echo "$as_me:$LINENO: result: $AWK" >&5
  3413. -echo "${ECHO_T}$AWK" >&6
  3414. + { echo "$as_me:$LINENO: result: $AWK" >&5
  3415. +echo "${ECHO_T}$AWK" >&6; }
  3416. else
  3417. - echo "$as_me:$LINENO: result: no" >&5
  3418. -echo "${ECHO_T}no" >&6
  3419. + { echo "$as_me:$LINENO: result: no" >&5
  3420. +echo "${ECHO_T}no" >&6; }
  3421. fi
  3422. +
  3423. test -n "$AWK" && break
  3424. done
  3425. # Extract the first word of "strip", so it can be a program name with args.
  3426. set dummy strip; ac_word=$2
  3427. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  3428. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3429. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  3430. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3431. if test "${ac_cv_prog_STRIP+set}" = set; then
  3432. echo $ECHO_N "(cached) $ECHO_C" >&6
  3433. else
  3434. @@ -2753,29 +3311,31 @@
  3435. IFS=$as_save_IFS
  3436. test -z "$as_dir" && as_dir=.
  3437. for ac_exec_ext in '' $ac_executable_extensions; do
  3438. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3439. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3440. ac_cv_prog_STRIP="strip"
  3441. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3442. break 2
  3443. fi
  3444. done
  3445. done
  3446. +IFS=$as_save_IFS
  3447. test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
  3448. fi
  3449. fi
  3450. STRIP=$ac_cv_prog_STRIP
  3451. if test -n "$STRIP"; then
  3452. - echo "$as_me:$LINENO: result: $STRIP" >&5
  3453. -echo "${ECHO_T}$STRIP" >&6
  3454. + { echo "$as_me:$LINENO: result: $STRIP" >&5
  3455. +echo "${ECHO_T}$STRIP" >&6; }
  3456. else
  3457. - echo "$as_me:$LINENO: result: no" >&5
  3458. -echo "${ECHO_T}no" >&6
  3459. + { echo "$as_me:$LINENO: result: no" >&5
  3460. +echo "${ECHO_T}no" >&6; }
  3461. fi
  3462. +
  3463. if test -z "$CFLAGS"; then
  3464. CFLAGS="-O"
  3465. test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
  3466. @@ -2796,13 +3356,12 @@
  3467. fi
  3468. fi
  3469. -if test "$cross_compiling" = yes; then
  3470. - { { echo "$as_me:$LINENO: error: cannot compile a simple program, check CC and CFLAGS
  3471. - (cross compiling doesn't work)" >&5
  3472. -echo "$as_me: error: cannot compile a simple program, check CC and CFLAGS
  3473. - (cross compiling doesn't work)" >&2;}
  3474. - { (exit 1); exit 1; }; }
  3475. -fi
  3476. +#dnl If configure thinks we are cross compiling, there is probably something
  3477. +#dnl wrong with the CC or CFLAGS settings, give an understandable error message
  3478. +#if test "$cross_compiling" = yes; then
  3479. +# AC_MSG_ERROR([cannot compile a simple program, check CC and CFLAGS
  3480. +# (cross compiling doesn't work)])
  3481. +#fi
  3482. test "$GCC" = yes && CPP_MM=M;
  3483. @@ -2814,76 +3373,76 @@
  3484. OS_EXTRA_SRC=""; OS_EXTRA_OBJ=""
  3485. -echo "$as_me:$LINENO: checking for BeOS" >&5
  3486. -echo $ECHO_N "checking for BeOS... $ECHO_C" >&6
  3487. +{ echo "$as_me:$LINENO: checking for BeOS" >&5
  3488. +echo $ECHO_N "checking for BeOS... $ECHO_C" >&6; }
  3489. case `uname` in
  3490. BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o
  3491. - BEOS=yes; echo "$as_me:$LINENO: result: yes" >&5
  3492. -echo "${ECHO_T}yes" >&6;;
  3493. - *) BEOS=no; echo "$as_me:$LINENO: result: no" >&5
  3494. -echo "${ECHO_T}no" >&6;;
  3495. + BEOS=yes; { echo "$as_me:$LINENO: result: yes" >&5
  3496. +echo "${ECHO_T}yes" >&6; };;
  3497. + *) BEOS=no; { echo "$as_me:$LINENO: result: no" >&5
  3498. +echo "${ECHO_T}no" >&6; };;
  3499. esac
  3500. -echo "$as_me:$LINENO: checking for QNX" >&5
  3501. -echo $ECHO_N "checking for QNX... $ECHO_C" >&6
  3502. +{ echo "$as_me:$LINENO: checking for QNX" >&5
  3503. +echo $ECHO_N "checking for QNX... $ECHO_C" >&6; }
  3504. case `uname` in
  3505. QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o
  3506. test -z "$with_x" && with_x=no
  3507. - QNX=yes; echo "$as_me:$LINENO: result: yes" >&5
  3508. -echo "${ECHO_T}yes" >&6;;
  3509. - *) QNX=no; echo "$as_me:$LINENO: result: no" >&5
  3510. -echo "${ECHO_T}no" >&6;;
  3511. + QNX=yes; { echo "$as_me:$LINENO: result: yes" >&5
  3512. +echo "${ECHO_T}yes" >&6; };;
  3513. + *) QNX=no; { echo "$as_me:$LINENO: result: no" >&5
  3514. +echo "${ECHO_T}no" >&6; };;
  3515. esac
  3516. -echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
  3517. -echo $ECHO_N "checking for Darwin (Mac OS X)... $ECHO_C" >&6
  3518. +{ echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
  3519. +echo $ECHO_N "checking for Darwin (Mac OS X)... $ECHO_C" >&6; }
  3520. if test "`(uname) 2>/dev/null`" = Darwin; then
  3521. - echo "$as_me:$LINENO: result: yes" >&5
  3522. -echo "${ECHO_T}yes" >&6
  3523. + { echo "$as_me:$LINENO: result: yes" >&5
  3524. +echo "${ECHO_T}yes" >&6; }
  3525. - echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
  3526. -echo $ECHO_N "checking --disable-darwin argument... $ECHO_C" >&6
  3527. - # Check whether --enable-darwin or --disable-darwin was given.
  3528. + { echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
  3529. +echo $ECHO_N "checking --disable-darwin argument... $ECHO_C" >&6; }
  3530. + # Check whether --enable-darwin was given.
  3531. if test "${enable_darwin+set}" = set; then
  3532. - enableval="$enable_darwin"
  3533. -
  3534. + enableval=$enable_darwin;
  3535. else
  3536. enable_darwin="yes"
  3537. -fi;
  3538. +fi
  3539. +
  3540. if test "$enable_darwin" = "yes"; then
  3541. - echo "$as_me:$LINENO: result: no" >&5
  3542. -echo "${ECHO_T}no" >&6
  3543. - echo "$as_me:$LINENO: checking if Darwin files are there" >&5
  3544. -echo $ECHO_N "checking if Darwin files are there... $ECHO_C" >&6
  3545. + { echo "$as_me:$LINENO: result: no" >&5
  3546. +echo "${ECHO_T}no" >&6; }
  3547. + { echo "$as_me:$LINENO: checking if Darwin files are there" >&5
  3548. +echo $ECHO_N "checking if Darwin files are there... $ECHO_C" >&6; }
  3549. if test -f os_macosx.c; then
  3550. - echo "$as_me:$LINENO: result: yes" >&5
  3551. -echo "${ECHO_T}yes" >&6
  3552. + { echo "$as_me:$LINENO: result: yes" >&5
  3553. +echo "${ECHO_T}yes" >&6; }
  3554. else
  3555. - echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
  3556. -echo "${ECHO_T}no, Darwin support disabled" >&6
  3557. + { echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
  3558. +echo "${ECHO_T}no, Darwin support disabled" >&6; }
  3559. enable_darwin=no
  3560. fi
  3561. else
  3562. - echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
  3563. -echo "${ECHO_T}yes, Darwin support excluded" >&6
  3564. + { echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
  3565. +echo "${ECHO_T}yes, Darwin support excluded" >&6; }
  3566. fi
  3567. - echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
  3568. -echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6
  3569. + { echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
  3570. +echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6; }
  3571. -# Check whether --with-mac-arch or --without-mac-arch was given.
  3572. +# Check whether --with-mac-arch was given.
  3573. if test "${with_mac_arch+set}" = set; then
  3574. - withval="$with_mac_arch"
  3575. - MACARCH="$withval"; echo "$as_me:$LINENO: result: $MACARCH" >&5
  3576. -echo "${ECHO_T}$MACARCH" >&6
  3577. -else
  3578. - MACARCH="current"; echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
  3579. -echo "${ECHO_T}defaulting to $MACARCH" >&6
  3580. -fi;
  3581. + withval=$with_mac_arch; MACARCH="$withval"; { echo "$as_me:$LINENO: result: $MACARCH" >&5
  3582. +echo "${ECHO_T}$MACARCH" >&6; }
  3583. +else
  3584. + MACARCH="current"; { echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
  3585. +echo "${ECHO_T}defaulting to $MACARCH" >&6; }
  3586. +fi
  3587. +
  3588. if test "x$MACARCH" = "xboth"; then
  3589. - echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
  3590. -echo $ECHO_N "checking for 10.4 universal SDK... $ECHO_C" >&6
  3591. + { echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
  3592. +echo $ECHO_N "checking for 10.4 universal SDK... $ECHO_C" >&6; }
  3593. save_cppflags="$CPPFLAGS"
  3594. save_cflags="$CFLAGS"
  3595. save_ldflags="$LDFLAGS"
  3596. @@ -2904,38 +3463,34 @@
  3597. }
  3598. _ACEOF
  3599. rm -f conftest.$ac_objext conftest$ac_exeext
  3600. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3601. - (eval $ac_link) 2>conftest.er1
  3602. +if { (ac_try="$ac_link"
  3603. +case "(($ac_try" in
  3604. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3605. + *) ac_try_echo=$ac_try;;
  3606. +esac
  3607. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3608. + (eval "$ac_link") 2>conftest.er1
  3609. ac_status=$?
  3610. grep -v '^ *+' conftest.er1 >conftest.err
  3611. rm -f conftest.er1
  3612. cat conftest.err >&5
  3613. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3614. - (exit $ac_status); } &&
  3615. - { ac_try='test -z "$ac_c_werror_flag"
  3616. - || test ! -s conftest.err'
  3617. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3618. - (eval $ac_try) 2>&5
  3619. - ac_status=$?
  3620. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3621. - (exit $ac_status); }; } &&
  3622. - { ac_try='test -s conftest$ac_exeext'
  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); }; }; then
  3628. - echo "$as_me:$LINENO: result: found" >&5
  3629. -echo "${ECHO_T}found" >&6
  3630. + (exit $ac_status); } && {
  3631. + test -z "$ac_c_werror_flag" ||
  3632. + test ! -s conftest.err
  3633. + } && test -s conftest$ac_exeext &&
  3634. + $as_test_x conftest$ac_exeext; then
  3635. + { echo "$as_me:$LINENO: result: found" >&5
  3636. +echo "${ECHO_T}found" >&6; }
  3637. else
  3638. echo "$as_me: failed program was:" >&5
  3639. sed 's/^/| /' conftest.$ac_ext >&5
  3640. -echo "$as_me:$LINENO: result: not found" >&5
  3641. -echo "${ECHO_T}not found" >&6
  3642. + { echo "$as_me:$LINENO: result: not found" >&5
  3643. +echo "${ECHO_T}not found" >&6; }
  3644. CFLAGS="$save_cflags"
  3645. - echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
  3646. -echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6
  3647. + { echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
  3648. +echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6; }
  3649. CPPFLAGS="$CPPFLAGS -arch i386"
  3650. LDFLAGS="$save_ldflags -arch i386"
  3651. cat >conftest.$ac_ext <<_ACEOF
  3652. @@ -2954,43 +3509,41 @@
  3653. }
  3654. _ACEOF
  3655. rm -f conftest.$ac_objext conftest$ac_exeext
  3656. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3657. - (eval $ac_link) 2>conftest.er1
  3658. +if { (ac_try="$ac_link"
  3659. +case "(($ac_try" in
  3660. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3661. + *) ac_try_echo=$ac_try;;
  3662. +esac
  3663. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3664. + (eval "$ac_link") 2>conftest.er1
  3665. ac_status=$?
  3666. grep -v '^ *+' conftest.er1 >conftest.err
  3667. rm -f conftest.er1
  3668. cat conftest.err >&5
  3669. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3670. - (exit $ac_status); } &&
  3671. - { ac_try='test -z "$ac_c_werror_flag"
  3672. - || test ! -s conftest.err'
  3673. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3674. - (eval $ac_try) 2>&5
  3675. - ac_status=$?
  3676. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3677. - (exit $ac_status); }; } &&
  3678. - { ac_try='test -s conftest$ac_exeext'
  3679. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3680. - (eval $ac_try) 2>&5
  3681. - ac_status=$?
  3682. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3683. - (exit $ac_status); }; }; then
  3684. - echo "$as_me:$LINENO: result: yes" >&5
  3685. -echo "${ECHO_T}yes" >&6; MACARCH="intel"
  3686. + (exit $ac_status); } && {
  3687. + test -z "$ac_c_werror_flag" ||
  3688. + test ! -s conftest.err
  3689. + } && test -s conftest$ac_exeext &&
  3690. + $as_test_x conftest$ac_exeext; then
  3691. + { echo "$as_me:$LINENO: result: yes" >&5
  3692. +echo "${ECHO_T}yes" >&6; }; MACARCH="intel"
  3693. else
  3694. echo "$as_me: failed program was:" >&5
  3695. sed 's/^/| /' conftest.$ac_ext >&5
  3696. -echo "$as_me:$LINENO: result: no" >&5
  3697. -echo "${ECHO_T}no" >&6
  3698. + { echo "$as_me:$LINENO: result: no" >&5
  3699. +echo "${ECHO_T}no" >&6; }
  3700. MACARCH="ppc"
  3701. CPPFLAGS="$save_cppflags -arch ppc"
  3702. LDFLAGS="$save_ldflags -arch ppc"
  3703. fi
  3704. -rm -f conftest.err conftest.$ac_objext \
  3705. +
  3706. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3707. conftest$ac_exeext conftest.$ac_ext
  3708. fi
  3709. -rm -f conftest.err conftest.$ac_objext \
  3710. +
  3711. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3712. conftest$ac_exeext conftest.$ac_ext
  3713. elif test "x$MACARCH" = "xintel"; then
  3714. CPPFLAGS="$CPPFLAGS -arch intel"
  3715. @@ -3011,8 +3564,8 @@
  3716. CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
  3717. fi
  3718. - echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3719. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3720. + { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3721. +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  3722. if test "${ac_cv_header_stdc+set}" = set; then
  3723. echo $ECHO_N "(cached) $ECHO_C" >&6
  3724. else
  3725. @@ -3036,35 +3589,31 @@
  3726. }
  3727. _ACEOF
  3728. rm -f conftest.$ac_objext
  3729. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3730. - (eval $ac_compile) 2>conftest.er1
  3731. +if { (ac_try="$ac_compile"
  3732. +case "(($ac_try" in
  3733. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3734. + *) ac_try_echo=$ac_try;;
  3735. +esac
  3736. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3737. + (eval "$ac_compile") 2>conftest.er1
  3738. ac_status=$?
  3739. grep -v '^ *+' conftest.er1 >conftest.err
  3740. rm -f conftest.er1
  3741. cat conftest.err >&5
  3742. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3743. - (exit $ac_status); } &&
  3744. - { ac_try='test -z "$ac_c_werror_flag"
  3745. - || test ! -s conftest.err'
  3746. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3747. - (eval $ac_try) 2>&5
  3748. - ac_status=$?
  3749. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3750. - (exit $ac_status); }; } &&
  3751. - { ac_try='test -s conftest.$ac_objext'
  3752. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3753. - (eval $ac_try) 2>&5
  3754. - ac_status=$?
  3755. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3756. - (exit $ac_status); }; }; then
  3757. + (exit $ac_status); } && {
  3758. + test -z "$ac_c_werror_flag" ||
  3759. + test ! -s conftest.err
  3760. + } && test -s conftest.$ac_objext; then
  3761. ac_cv_header_stdc=yes
  3762. else
  3763. echo "$as_me: failed program was:" >&5
  3764. sed 's/^/| /' conftest.$ac_ext >&5
  3765. -ac_cv_header_stdc=no
  3766. + ac_cv_header_stdc=no
  3767. fi
  3768. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3769. +
  3770. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3771. if test $ac_cv_header_stdc = yes; then
  3772. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3773. @@ -3120,6 +3669,7 @@
  3774. cat >>conftest.$ac_ext <<_ACEOF
  3775. /* end confdefs.h. */
  3776. #include <ctype.h>
  3777. +#include <stdlib.h>
  3778. #if ((' ' & 0x0FF) == 0x020)
  3779. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3780. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3781. @@ -3139,18 +3689,27 @@
  3782. for (i = 0; i < 256; i++)
  3783. if (XOR (islower (i), ISLOWER (i))
  3784. || toupper (i) != TOUPPER (i))
  3785. - exit(2);
  3786. - exit (0);
  3787. + return 2;
  3788. + return 0;
  3789. }
  3790. _ACEOF
  3791. rm -f conftest$ac_exeext
  3792. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3793. - (eval $ac_link) 2>&5
  3794. +if { (ac_try="$ac_link"
  3795. +case "(($ac_try" in
  3796. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3797. + *) ac_try_echo=$ac_try;;
  3798. +esac
  3799. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3800. + (eval "$ac_link") 2>&5
  3801. ac_status=$?
  3802. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3803. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3804. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3805. - (eval $ac_try) 2>&5
  3806. + { (case "(($ac_try" in
  3807. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3808. + *) ac_try_echo=$ac_try;;
  3809. +esac
  3810. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3811. + (eval "$ac_try") 2>&5
  3812. ac_status=$?
  3813. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3814. (exit $ac_status); }; }; then
  3815. @@ -3163,12 +3722,14 @@
  3816. ( exit $ac_status )
  3817. ac_cv_header_stdc=no
  3818. fi
  3819. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3820. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3821. fi
  3822. +
  3823. +
  3824. fi
  3825. fi
  3826. -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3827. -echo "${ECHO_T}$ac_cv_header_stdc" >&6
  3828. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3829. +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3830. if test $ac_cv_header_stdc = yes; then
  3831. cat >>confdefs.h <<\_ACEOF
  3832. @@ -3191,9 +3752,9 @@
  3833. inttypes.h stdint.h unistd.h
  3834. do
  3835. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3836. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  3837. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3838. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3839. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  3840. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3841. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3842. echo $ECHO_N "(cached) $ECHO_C" >&6
  3843. else
  3844. cat >conftest.$ac_ext <<_ACEOF
  3845. @@ -3207,38 +3768,35 @@
  3846. #include <$ac_header>
  3847. _ACEOF
  3848. rm -f conftest.$ac_objext
  3849. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3850. - (eval $ac_compile) 2>conftest.er1
  3851. +if { (ac_try="$ac_compile"
  3852. +case "(($ac_try" in
  3853. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3854. + *) ac_try_echo=$ac_try;;
  3855. +esac
  3856. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3857. + (eval "$ac_compile") 2>conftest.er1
  3858. ac_status=$?
  3859. grep -v '^ *+' conftest.er1 >conftest.err
  3860. rm -f conftest.er1
  3861. cat conftest.err >&5
  3862. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3863. - (exit $ac_status); } &&
  3864. - { ac_try='test -z "$ac_c_werror_flag"
  3865. - || test ! -s conftest.err'
  3866. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3867. - (eval $ac_try) 2>&5
  3868. - ac_status=$?
  3869. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3870. - (exit $ac_status); }; } &&
  3871. - { ac_try='test -s conftest.$ac_objext'
  3872. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3873. - (eval $ac_try) 2>&5
  3874. - ac_status=$?
  3875. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3876. - (exit $ac_status); }; }; then
  3877. + (exit $ac_status); } && {
  3878. + test -z "$ac_c_werror_flag" ||
  3879. + test ! -s conftest.err
  3880. + } && test -s conftest.$ac_objext; then
  3881. eval "$as_ac_Header=yes"
  3882. else
  3883. echo "$as_me: failed program was:" >&5
  3884. sed 's/^/| /' conftest.$ac_ext >&5
  3885. -eval "$as_ac_Header=no"
  3886. + eval "$as_ac_Header=no"
  3887. fi
  3888. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3889. +
  3890. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3891. fi
  3892. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3893. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3894. +ac_res=`eval echo '${'$as_ac_Header'}'`
  3895. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  3896. +echo "${ECHO_T}$ac_res" >&6; }
  3897. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3898. cat >>confdefs.h <<_ACEOF
  3899. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3900. @@ -3250,17 +3808,17 @@
  3901. if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  3902. - echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  3903. -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
  3904. + { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  3905. +echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  3906. if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  3907. echo $ECHO_N "(cached) $ECHO_C" >&6
  3908. fi
  3909. -echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  3910. -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
  3911. +{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  3912. +echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  3913. else
  3914. # Is the header compilable?
  3915. -echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
  3916. -echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
  3917. +{ echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
  3918. +echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
  3919. cat >conftest.$ac_ext <<_ACEOF
  3920. /* confdefs.h. */
  3921. _ACEOF
  3922. @@ -3271,41 +3829,37 @@
  3923. #include <Carbon/Carbon.h>
  3924. _ACEOF
  3925. rm -f conftest.$ac_objext
  3926. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3927. - (eval $ac_compile) 2>conftest.er1
  3928. +if { (ac_try="$ac_compile"
  3929. +case "(($ac_try" in
  3930. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3931. + *) ac_try_echo=$ac_try;;
  3932. +esac
  3933. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3934. + (eval "$ac_compile") 2>conftest.er1
  3935. ac_status=$?
  3936. grep -v '^ *+' conftest.er1 >conftest.err
  3937. rm -f conftest.er1
  3938. cat conftest.err >&5
  3939. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3940. - (exit $ac_status); } &&
  3941. - { ac_try='test -z "$ac_c_werror_flag"
  3942. - || test ! -s conftest.err'
  3943. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3944. - (eval $ac_try) 2>&5
  3945. - ac_status=$?
  3946. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3947. - (exit $ac_status); }; } &&
  3948. - { ac_try='test -s conftest.$ac_objext'
  3949. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3950. - (eval $ac_try) 2>&5
  3951. - ac_status=$?
  3952. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3953. - (exit $ac_status); }; }; then
  3954. + (exit $ac_status); } && {
  3955. + test -z "$ac_c_werror_flag" ||
  3956. + test ! -s conftest.err
  3957. + } && test -s conftest.$ac_objext; then
  3958. ac_header_compiler=yes
  3959. else
  3960. echo "$as_me: failed program was:" >&5
  3961. sed 's/^/| /' conftest.$ac_ext >&5
  3962. -ac_header_compiler=no
  3963. + ac_header_compiler=no
  3964. fi
  3965. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3966. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3967. -echo "${ECHO_T}$ac_header_compiler" >&6
  3968. +
  3969. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3970. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3971. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  3972. # Is the header present?
  3973. -echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
  3974. -echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
  3975. +{ echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
  3976. +echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
  3977. cat >conftest.$ac_ext <<_ACEOF
  3978. /* confdefs.h. */
  3979. _ACEOF
  3980. @@ -3314,24 +3868,22 @@
  3981. /* end confdefs.h. */
  3982. #include <Carbon/Carbon.h>
  3983. _ACEOF
  3984. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3985. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3986. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3987. +case "(($ac_try" in
  3988. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3989. + *) ac_try_echo=$ac_try;;
  3990. +esac
  3991. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3992. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3993. ac_status=$?
  3994. grep -v '^ *+' conftest.er1 >conftest.err
  3995. rm -f conftest.er1
  3996. cat conftest.err >&5
  3997. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3998. - (exit $ac_status); } >/dev/null; then
  3999. - if test -s conftest.err; then
  4000. - ac_cpp_err=$ac_c_preproc_warn_flag
  4001. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4002. - else
  4003. - ac_cpp_err=
  4004. - fi
  4005. -else
  4006. - ac_cpp_err=yes
  4007. -fi
  4008. -if test -z "$ac_cpp_err"; then
  4009. + (exit $ac_status); } >/dev/null && {
  4010. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4011. + test ! -s conftest.err
  4012. + }; then
  4013. ac_header_preproc=yes
  4014. else
  4015. echo "$as_me: failed program was:" >&5
  4016. @@ -3339,9 +3891,10 @@
  4017. ac_header_preproc=no
  4018. fi
  4019. +
  4020. rm -f conftest.err conftest.$ac_ext
  4021. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4022. -echo "${ECHO_T}$ac_header_preproc" >&6
  4023. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4024. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4025. # So? What about this header?
  4026. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4027. @@ -3365,25 +3918,18 @@
  4028. echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
  4029. { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
  4030. echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
  4031. - (
  4032. - cat <<\_ASBOX
  4033. -## ------------------------------------------ ##
  4034. -## Report this to the AC_PACKAGE_NAME lists. ##
  4035. -## ------------------------------------------ ##
  4036. -_ASBOX
  4037. - ) |
  4038. - sed "s/^/$as_me: WARNING: /" >&2
  4039. +
  4040. ;;
  4041. esac
  4042. -echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  4043. -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
  4044. +{ echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  4045. +echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  4046. if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  4047. echo $ECHO_N "(cached) $ECHO_C" >&6
  4048. else
  4049. ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
  4050. fi
  4051. -echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  4052. -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
  4053. +{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  4054. +echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  4055. fi
  4056. if test $ac_cv_header_Carbon_Carbon_h = yes; then
  4057. @@ -3403,8 +3949,8 @@
  4058. fi
  4059. else
  4060. - echo "$as_me:$LINENO: result: no" >&5
  4061. -echo "${ECHO_T}no" >&6
  4062. + { echo "$as_me:$LINENO: result: no" >&5
  4063. +echo "${ECHO_T}no" >&6; }
  4064. fi
  4065. @@ -3431,80 +3977,80 @@
  4066. fi
  4067. fi
  4068. -echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
  4069. -echo $ECHO_N "checking --with-vim-name argument... $ECHO_C" >&6
  4070. +{ echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
  4071. +echo $ECHO_N "checking --with-vim-name argument... $ECHO_C" >&6; }
  4072. -# Check whether --with-vim-name or --without-vim-name was given.
  4073. +# Check whether --with-vim-name was given.
  4074. if test "${with_vim_name+set}" = set; then
  4075. - withval="$with_vim_name"
  4076. - VIMNAME="$withval"; echo "$as_me:$LINENO: result: $VIMNAME" >&5
  4077. -echo "${ECHO_T}$VIMNAME" >&6
  4078. -else
  4079. - VIMNAME="vim"; echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
  4080. -echo "${ECHO_T}Defaulting to $VIMNAME" >&6
  4081. -fi;
  4082. + withval=$with_vim_name; VIMNAME="$withval"; { echo "$as_me:$LINENO: result: $VIMNAME" >&5
  4083. +echo "${ECHO_T}$VIMNAME" >&6; }
  4084. +else
  4085. + VIMNAME="vim"; { echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
  4086. +echo "${ECHO_T}Defaulting to $VIMNAME" >&6; }
  4087. +fi
  4088. +
  4089. -echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
  4090. -echo $ECHO_N "checking --with-ex-name argument... $ECHO_C" >&6
  4091. +{ echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
  4092. +echo $ECHO_N "checking --with-ex-name argument... $ECHO_C" >&6; }
  4093. -# Check whether --with-ex-name or --without-ex-name was given.
  4094. +# Check whether --with-ex-name was given.
  4095. if test "${with_ex_name+set}" = set; then
  4096. - withval="$with_ex_name"
  4097. - EXNAME="$withval"; echo "$as_me:$LINENO: result: $EXNAME" >&5
  4098. -echo "${ECHO_T}$EXNAME" >&6
  4099. -else
  4100. - EXNAME="ex"; echo "$as_me:$LINENO: result: Defaulting to ex" >&5
  4101. -echo "${ECHO_T}Defaulting to ex" >&6
  4102. -fi;
  4103. + withval=$with_ex_name; EXNAME="$withval"; { echo "$as_me:$LINENO: result: $EXNAME" >&5
  4104. +echo "${ECHO_T}$EXNAME" >&6; }
  4105. +else
  4106. + EXNAME="ex"; { echo "$as_me:$LINENO: result: Defaulting to ex" >&5
  4107. +echo "${ECHO_T}Defaulting to ex" >&6; }
  4108. +fi
  4109. -echo "$as_me:$LINENO: checking --with-view-name argument" >&5
  4110. -echo $ECHO_N "checking --with-view-name argument... $ECHO_C" >&6
  4111. -# Check whether --with-view-name or --without-view-name was given.
  4112. +{ echo "$as_me:$LINENO: checking --with-view-name argument" >&5
  4113. +echo $ECHO_N "checking --with-view-name argument... $ECHO_C" >&6; }
  4114. +
  4115. +# Check whether --with-view-name was given.
  4116. if test "${with_view_name+set}" = set; then
  4117. - withval="$with_view_name"
  4118. - VIEWNAME="$withval"; echo "$as_me:$LINENO: result: $VIEWNAME" >&5
  4119. -echo "${ECHO_T}$VIEWNAME" >&6
  4120. + withval=$with_view_name; VIEWNAME="$withval"; { echo "$as_me:$LINENO: result: $VIEWNAME" >&5
  4121. +echo "${ECHO_T}$VIEWNAME" >&6; }
  4122. else
  4123. - VIEWNAME="view"; echo "$as_me:$LINENO: result: Defaulting to view" >&5
  4124. -echo "${ECHO_T}Defaulting to view" >&6
  4125. -fi;
  4126. + VIEWNAME="view"; { echo "$as_me:$LINENO: result: Defaulting to view" >&5
  4127. +echo "${ECHO_T}Defaulting to view" >&6; }
  4128. +fi
  4129. -echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
  4130. -echo $ECHO_N "checking --with-global-runtime argument... $ECHO_C" >&6
  4131. -# Check whether --with-global-runtime or --without-global-runtime was given.
  4132. +{ echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
  4133. +echo $ECHO_N "checking --with-global-runtime argument... $ECHO_C" >&6; }
  4134. +
  4135. +# Check whether --with-global-runtime was given.
  4136. if test "${with_global_runtime+set}" = set; then
  4137. - withval="$with_global_runtime"
  4138. - echo "$as_me:$LINENO: result: $withval" >&5
  4139. -echo "${ECHO_T}$withval" >&6; cat >>confdefs.h <<_ACEOF
  4140. + withval=$with_global_runtime; { echo "$as_me:$LINENO: result: $withval" >&5
  4141. +echo "${ECHO_T}$withval" >&6; }; cat >>confdefs.h <<_ACEOF
  4142. #define RUNTIME_GLOBAL "$withval"
  4143. _ACEOF
  4144. else
  4145. - echo "$as_me:$LINENO: result: no" >&5
  4146. -echo "${ECHO_T}no" >&6
  4147. -fi;
  4148. + { echo "$as_me:$LINENO: result: no" >&5
  4149. +echo "${ECHO_T}no" >&6; }
  4150. +fi
  4151. -echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
  4152. -echo $ECHO_N "checking --with-modified-by argument... $ECHO_C" >&6
  4153. -# Check whether --with-modified-by or --without-modified-by was given.
  4154. +{ echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
  4155. +echo $ECHO_N "checking --with-modified-by argument... $ECHO_C" >&6; }
  4156. +
  4157. +# Check whether --with-modified-by was given.
  4158. if test "${with_modified_by+set}" = set; then
  4159. - withval="$with_modified_by"
  4160. - echo "$as_me:$LINENO: result: $withval" >&5
  4161. -echo "${ECHO_T}$withval" >&6; cat >>confdefs.h <<_ACEOF
  4162. + withval=$with_modified_by; { echo "$as_me:$LINENO: result: $withval" >&5
  4163. +echo "${ECHO_T}$withval" >&6; }; cat >>confdefs.h <<_ACEOF
  4164. #define MODIFIED_BY "$withval"
  4165. _ACEOF
  4166. else
  4167. - echo "$as_me:$LINENO: result: no" >&5
  4168. -echo "${ECHO_T}no" >&6
  4169. -fi;
  4170. + { echo "$as_me:$LINENO: result: no" >&5
  4171. +echo "${ECHO_T}no" >&6; }
  4172. +fi
  4173. -echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
  4174. -echo $ECHO_N "checking if character set is EBCDIC... $ECHO_C" >&6
  4175. +
  4176. +{ echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
  4177. +echo $ECHO_N "checking if character set is EBCDIC... $ECHO_C" >&6; }
  4178. cat >conftest.$ac_ext <<_ACEOF
  4179. /* confdefs.h. */
  4180. _ACEOF
  4181. @@ -3527,41 +4073,37 @@
  4182. }
  4183. _ACEOF
  4184. rm -f conftest.$ac_objext
  4185. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4186. - (eval $ac_compile) 2>conftest.er1
  4187. +if { (ac_try="$ac_compile"
  4188. +case "(($ac_try" in
  4189. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4190. + *) ac_try_echo=$ac_try;;
  4191. +esac
  4192. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4193. + (eval "$ac_compile") 2>conftest.er1
  4194. ac_status=$?
  4195. grep -v '^ *+' conftest.er1 >conftest.err
  4196. rm -f conftest.er1
  4197. cat conftest.err >&5
  4198. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4199. - (exit $ac_status); } &&
  4200. - { ac_try='test -z "$ac_c_werror_flag"
  4201. - || test ! -s conftest.err'
  4202. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4203. - (eval $ac_try) 2>&5
  4204. - ac_status=$?
  4205. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4206. - (exit $ac_status); }; } &&
  4207. - { ac_try='test -s conftest.$ac_objext'
  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); }; }; then
  4213. + (exit $ac_status); } && {
  4214. + test -z "$ac_c_werror_flag" ||
  4215. + test ! -s conftest.err
  4216. + } && test -s conftest.$ac_objext; then
  4217. # TryCompile action if true
  4218. cf_cv_ebcdic=yes
  4219. else
  4220. echo "$as_me: failed program was:" >&5
  4221. sed 's/^/| /' conftest.$ac_ext >&5
  4222. - # TryCompile action if false
  4223. + # TryCompile action if false
  4224. cf_cv_ebcdic=no
  4225. fi
  4226. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4227. +
  4228. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4229. # end of TryCompile ])
  4230. # end of CacheVal CvEbcdic
  4231. -echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
  4232. -echo "${ECHO_T}$cf_cv_ebcdic" >&6
  4233. +{ echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
  4234. +echo "${ECHO_T}$cf_cv_ebcdic" >&6; }
  4235. case "$cf_cv_ebcdic" in #(vi
  4236. yes) cat >>confdefs.h <<\_ACEOF
  4237. #define EBCDIC 1
  4238. @@ -3574,8 +4116,8 @@
  4239. if test "$cf_cv_ebcdic" = "yes"; then
  4240. -echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
  4241. -echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
  4242. +{ echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
  4243. +echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6; }
  4244. case `uname` in
  4245. OS/390) OS390Unix="yes";
  4246. if test "$CC" = "cc"; then
  4247. @@ -3652,109 +4194,109 @@
  4248. _ACEOF
  4249. dovimdiff="installvimdiff";
  4250. dogvimdiff="installgvimdiff" ;;
  4251. - *) echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
  4252. -echo "${ECHO_T}Sorry, $features is not supported" >&6 ;;
  4253. + *) { echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
  4254. +echo "${ECHO_T}Sorry, $features is not supported" >&6; } ;;
  4255. esac
  4256. -echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
  4257. -echo $ECHO_N "checking --with-compiledby argument... $ECHO_C" >&6
  4258. +{ echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
  4259. +echo $ECHO_N "checking --with-compiledby argument... $ECHO_C" >&6; }
  4260. -# Check whether --with-compiledby or --without-compiledby was given.
  4261. +# Check whether --with-compiledby was given.
  4262. if test "${with_compiledby+set}" = set; then
  4263. - withval="$with_compiledby"
  4264. - compiledby="$withval"; echo "$as_me:$LINENO: result: $withval" >&5
  4265. -echo "${ECHO_T}$withval" >&6
  4266. -else
  4267. - compiledby=""; echo "$as_me:$LINENO: result: no" >&5
  4268. -echo "${ECHO_T}no" >&6
  4269. -fi;
  4270. + withval=$with_compiledby; compiledby="$withval"; { echo "$as_me:$LINENO: result: $withval" >&5
  4271. +echo "${ECHO_T}$withval" >&6; }
  4272. +else
  4273. + compiledby=""; { echo "$as_me:$LINENO: result: no" >&5
  4274. +echo "${ECHO_T}no" >&6; }
  4275. +fi
  4276. -echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
  4277. -echo $ECHO_N "checking --disable-xsmp argument... $ECHO_C" >&6
  4278. -# Check whether --enable-xsmp or --disable-xsmp was given.
  4279. -if test "${enable_xsmp+set}" = set; then
  4280. - enableval="$enable_xsmp"
  4281. +{ echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
  4282. +echo $ECHO_N "checking --disable-xsmp argument... $ECHO_C" >&6; }
  4283. +# Check whether --enable-xsmp was given.
  4284. +if test "${enable_xsmp+set}" = set; then
  4285. + enableval=$enable_xsmp;
  4286. else
  4287. enable_xsmp="yes"
  4288. -fi;
  4289. +fi
  4290. +
  4291. if test "$enable_xsmp" = "yes"; then
  4292. - echo "$as_me:$LINENO: result: no" >&5
  4293. -echo "${ECHO_T}no" >&6
  4294. - echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
  4295. -echo $ECHO_N "checking --disable-xsmp-interact argument... $ECHO_C" >&6
  4296. - # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given.
  4297. + { echo "$as_me:$LINENO: result: no" >&5
  4298. +echo "${ECHO_T}no" >&6; }
  4299. + { echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
  4300. +echo $ECHO_N "checking --disable-xsmp-interact argument... $ECHO_C" >&6; }
  4301. + # Check whether --enable-xsmp-interact was given.
  4302. if test "${enable_xsmp_interact+set}" = set; then
  4303. - enableval="$enable_xsmp_interact"
  4304. -
  4305. + enableval=$enable_xsmp_interact;
  4306. else
  4307. enable_xsmp_interact="yes"
  4308. -fi;
  4309. +fi
  4310. +
  4311. if test "$enable_xsmp_interact" = "yes"; then
  4312. - echo "$as_me:$LINENO: result: no" >&5
  4313. -echo "${ECHO_T}no" >&6
  4314. + { echo "$as_me:$LINENO: result: no" >&5
  4315. +echo "${ECHO_T}no" >&6; }
  4316. cat >>confdefs.h <<\_ACEOF
  4317. #define USE_XSMP_INTERACT 1
  4318. _ACEOF
  4319. else
  4320. - echo "$as_me:$LINENO: result: yes" >&5
  4321. -echo "${ECHO_T}yes" >&6
  4322. + { echo "$as_me:$LINENO: result: yes" >&5
  4323. +echo "${ECHO_T}yes" >&6; }
  4324. fi
  4325. else
  4326. - echo "$as_me:$LINENO: result: yes" >&5
  4327. -echo "${ECHO_T}yes" >&6
  4328. + { echo "$as_me:$LINENO: result: yes" >&5
  4329. +echo "${ECHO_T}yes" >&6; }
  4330. fi
  4331. -echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
  4332. -echo $ECHO_N "checking --enable-mzschemeinterp argument... $ECHO_C" >&6
  4333. -# Check whether --enable-mzschemeinterp or --disable-mzschemeinterp was given.
  4334. +{ echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
  4335. +echo $ECHO_N "checking --enable-mzschemeinterp argument... $ECHO_C" >&6; }
  4336. +# Check whether --enable-mzschemeinterp was given.
  4337. if test "${enable_mzschemeinterp+set}" = set; then
  4338. - enableval="$enable_mzschemeinterp"
  4339. -
  4340. + enableval=$enable_mzschemeinterp;
  4341. else
  4342. enable_mzschemeinterp="no"
  4343. -fi;
  4344. -echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
  4345. -echo "${ECHO_T}$enable_mzschemeinterp" >&6
  4346. +fi
  4347. +
  4348. +{ echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
  4349. +echo "${ECHO_T}$enable_mzschemeinterp" >&6; }
  4350. if test "$enable_mzschemeinterp" = "yes"; then
  4351. - echo "$as_me:$LINENO: checking --with-plthome argument" >&5
  4352. -echo $ECHO_N "checking --with-plthome argument... $ECHO_C" >&6
  4353. + { echo "$as_me:$LINENO: checking --with-plthome argument" >&5
  4354. +echo $ECHO_N "checking --with-plthome argument... $ECHO_C" >&6; }
  4355. -# Check whether --with-plthome or --without-plthome was given.
  4356. +# Check whether --with-plthome was given.
  4357. if test "${with_plthome+set}" = set; then
  4358. - withval="$with_plthome"
  4359. - with_plthome="$withval"; echo "$as_me:$LINENO: result: $with_plthome" >&5
  4360. -echo "${ECHO_T}$with_plthome" >&6
  4361. -else
  4362. - with_plthome="";echo "$as_me:$LINENO: result: \"no\"" >&5
  4363. -echo "${ECHO_T}\"no\"" >&6
  4364. -fi;
  4365. + withval=$with_plthome; with_plthome="$withval"; { echo "$as_me:$LINENO: result: $with_plthome" >&5
  4366. +echo "${ECHO_T}$with_plthome" >&6; }
  4367. +else
  4368. + with_plthome="";{ echo "$as_me:$LINENO: result: \"no\"" >&5
  4369. +echo "${ECHO_T}\"no\"" >&6; }
  4370. +fi
  4371. +
  4372. if test "X$with_plthome" != "X"; then
  4373. vi_cv_path_mzscheme_pfx="$with_plthome"
  4374. else
  4375. - echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
  4376. -echo $ECHO_N "checking PLTHOME environment var... $ECHO_C" >&6
  4377. + { echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
  4378. +echo $ECHO_N "checking PLTHOME environment var... $ECHO_C" >&6; }
  4379. if test "X$PLTHOME" != "X"; then
  4380. - echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
  4381. -echo "${ECHO_T}\"$PLTHOME\"" >&6
  4382. + { echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
  4383. +echo "${ECHO_T}\"$PLTHOME\"" >&6; }
  4384. vi_cv_path_mzscheme_pfx="$PLTHOME"
  4385. else
  4386. - echo "$as_me:$LINENO: result: \"not set\"" >&5
  4387. -echo "${ECHO_T}\"not set\"" >&6
  4388. + { echo "$as_me:$LINENO: result: \"not set\"" >&5
  4389. +echo "${ECHO_T}\"not set\"" >&6; }
  4390. # Extract the first word of "mzscheme", so it can be a program name with args.
  4391. set dummy mzscheme; ac_word=$2
  4392. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4393. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4394. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4395. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4396. if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then
  4397. echo $ECHO_N "(cached) $ECHO_C" >&6
  4398. else
  4399. @@ -3769,28 +4311,29 @@
  4400. IFS=$as_save_IFS
  4401. test -z "$as_dir" && as_dir=.
  4402. for ac_exec_ext in '' $ac_executable_extensions; do
  4403. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4404. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4405. ac_cv_path_vi_cv_path_mzscheme="$as_dir/$ac_word$ac_exec_ext"
  4406. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4407. break 2
  4408. fi
  4409. done
  4410. done
  4411. +IFS=$as_save_IFS
  4412. ;;
  4413. esac
  4414. fi
  4415. vi_cv_path_mzscheme=$ac_cv_path_vi_cv_path_mzscheme
  4416. -
  4417. if test -n "$vi_cv_path_mzscheme"; then
  4418. - echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
  4419. -echo "${ECHO_T}$vi_cv_path_mzscheme" >&6
  4420. + { echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
  4421. +echo "${ECHO_T}$vi_cv_path_mzscheme" >&6; }
  4422. else
  4423. - echo "$as_me:$LINENO: result: no" >&5
  4424. -echo "${ECHO_T}no" >&6
  4425. + { echo "$as_me:$LINENO: result: no" >&5
  4426. +echo "${ECHO_T}no" >&6; }
  4427. fi
  4428. +
  4429. if test "X$vi_cv_path_mzscheme" != "X"; then
  4430. lsout=`ls -l $vi_cv_path_mzscheme`
  4431. if echo "$lsout" | grep -e '->' >/dev/null 2>/dev/null; then
  4432. @@ -3799,8 +4342,8 @@
  4433. fi
  4434. if test "X$vi_cv_path_mzscheme" != "X"; then
  4435. - echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
  4436. -echo $ECHO_N "checking MzScheme install prefix... $ECHO_C" >&6
  4437. + { echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
  4438. +echo $ECHO_N "checking MzScheme install prefix... $ECHO_C" >&6; }
  4439. if test "${vi_cv_path_mzscheme_pfx+set}" = set; then
  4440. echo $ECHO_N "(cached) $ECHO_C" >&6
  4441. else
  4442. @@ -3811,8 +4354,8 @@
  4443. (lambda () (split-path (find-system-path (quote exec-file)))) \
  4444. (lambda (base name must-be-dir?) base)) (quote up))))"`
  4445. fi
  4446. -echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
  4447. -echo "${ECHO_T}$vi_cv_path_mzscheme_pfx" >&6
  4448. +{ echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
  4449. +echo "${ECHO_T}$vi_cv_path_mzscheme_pfx" >&6; }
  4450. vi_cv_path_mzscheme_pfx=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'`
  4451. fi
  4452. fi
  4453. @@ -3820,23 +4363,23 @@
  4454. SCHEME_INC=
  4455. if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
  4456. - echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
  4457. -echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... $ECHO_C" >&6
  4458. + { echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
  4459. +echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... $ECHO_C" >&6; }
  4460. if test -f $vi_cv_path_mzscheme_pfx/include/scheme.h; then
  4461. - echo "$as_me:$LINENO: result: \"yes\"" >&5
  4462. -echo "${ECHO_T}\"yes\"" >&6
  4463. + { echo "$as_me:$LINENO: result: \"yes\"" >&5
  4464. +echo "${ECHO_T}\"yes\"" >&6; }
  4465. else
  4466. - echo "$as_me:$LINENO: result: \"no\"" >&5
  4467. -echo "${ECHO_T}\"no\"" >&6
  4468. - echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
  4469. -echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... $ECHO_C" >&6
  4470. + { echo "$as_me:$LINENO: result: \"no\"" >&5
  4471. +echo "${ECHO_T}\"no\"" >&6; }
  4472. + { echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
  4473. +echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... $ECHO_C" >&6; }
  4474. if test -f $vi_cv_path_mzscheme_pfx/include/plt/scheme.h; then
  4475. - echo "$as_me:$LINENO: result: \"yes\"" >&5
  4476. -echo "${ECHO_T}\"yes\"" >&6
  4477. + { echo "$as_me:$LINENO: result: \"yes\"" >&5
  4478. +echo "${ECHO_T}\"yes\"" >&6; }
  4479. SCHEME_INC=/plt
  4480. else
  4481. - echo "$as_me:$LINENO: result: \"no\"" >&5
  4482. -echo "${ECHO_T}\"no\"" >&6
  4483. + { echo "$as_me:$LINENO: result: \"no\"" >&5
  4484. +echo "${ECHO_T}\"no\"" >&6; }
  4485. vi_cv_path_mzscheme_pfx=
  4486. fi
  4487. fi
  4488. @@ -3877,23 +4420,23 @@
  4489. fi
  4490. -echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
  4491. -echo $ECHO_N "checking --enable-perlinterp argument... $ECHO_C" >&6
  4492. -# Check whether --enable-perlinterp or --disable-perlinterp was given.
  4493. +{ echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
  4494. +echo $ECHO_N "checking --enable-perlinterp argument... $ECHO_C" >&6; }
  4495. +# Check whether --enable-perlinterp was given.
  4496. if test "${enable_perlinterp+set}" = set; then
  4497. - enableval="$enable_perlinterp"
  4498. -
  4499. + enableval=$enable_perlinterp;
  4500. else
  4501. enable_perlinterp="no"
  4502. -fi;
  4503. -echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
  4504. -echo "${ECHO_T}$enable_perlinterp" >&6
  4505. +fi
  4506. +
  4507. +{ echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
  4508. +echo "${ECHO_T}$enable_perlinterp" >&6; }
  4509. if test "$enable_perlinterp" = "yes"; then
  4510. # Extract the first word of "perl", so it can be a program name with args.
  4511. set dummy perl; ac_word=$2
  4512. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4513. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4514. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4515. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4516. if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then
  4517. echo $ECHO_N "(cached) $ECHO_C" >&6
  4518. else
  4519. @@ -3908,30 +4451,31 @@
  4520. IFS=$as_save_IFS
  4521. test -z "$as_dir" && as_dir=.
  4522. for ac_exec_ext in '' $ac_executable_extensions; do
  4523. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4524. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4525. ac_cv_path_vi_cv_path_perl="$as_dir/$ac_word$ac_exec_ext"
  4526. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4527. break 2
  4528. fi
  4529. done
  4530. done
  4531. +IFS=$as_save_IFS
  4532. ;;
  4533. esac
  4534. fi
  4535. vi_cv_path_perl=$ac_cv_path_vi_cv_path_perl
  4536. -
  4537. if test -n "$vi_cv_path_perl"; then
  4538. - echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
  4539. -echo "${ECHO_T}$vi_cv_path_perl" >&6
  4540. + { echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
  4541. +echo "${ECHO_T}$vi_cv_path_perl" >&6; }
  4542. else
  4543. - echo "$as_me:$LINENO: result: no" >&5
  4544. -echo "${ECHO_T}no" >&6
  4545. + { echo "$as_me:$LINENO: result: no" >&5
  4546. +echo "${ECHO_T}no" >&6; }
  4547. fi
  4548. +
  4549. if test "X$vi_cv_path_perl" != "X"; then
  4550. - echo "$as_me:$LINENO: checking Perl version" >&5
  4551. -echo $ECHO_N "checking Perl version... $ECHO_C" >&6
  4552. + { echo "$as_me:$LINENO: checking Perl version" >&5
  4553. +echo $ECHO_N "checking Perl version... $ECHO_C" >&6; }
  4554. if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then
  4555. eval `$vi_cv_path_perl -V:usethreads`
  4556. if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
  4557. @@ -3943,18 +4487,18 @@
  4558. badthreads=no
  4559. else
  4560. badthreads=yes
  4561. - echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
  4562. -echo "${ECHO_T}>>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6
  4563. + { echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
  4564. +echo "${ECHO_T}>>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6; }
  4565. fi
  4566. else
  4567. badthreads=yes
  4568. - echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
  4569. -echo "${ECHO_T}>>> Perl 5.5 with threads cannot be used <<<" >&6
  4570. + { echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
  4571. +echo "${ECHO_T}>>> Perl 5.5 with threads cannot be used <<<" >&6; }
  4572. fi
  4573. fi
  4574. if test $badthreads = no; then
  4575. - echo "$as_me:$LINENO: result: OK" >&5
  4576. -echo "${ECHO_T}OK" >&6
  4577. + { echo "$as_me:$LINENO: result: OK" >&5
  4578. +echo "${ECHO_T}OK" >&6; }
  4579. eval `$vi_cv_path_perl -V:shrpenv`
  4580. if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
  4581. shrpenv=""
  4582. @@ -3969,8 +4513,8 @@
  4583. perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
  4584. -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
  4585. - echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
  4586. -echo $ECHO_N "checking if compile and link flags for Perl are sane... $ECHO_C" >&6
  4587. + { echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
  4588. +echo $ECHO_N "checking if compile and link flags for Perl are sane... $ECHO_C" >&6; }
  4589. cflags_save=$CFLAGS
  4590. libs_save=$LIBS
  4591. ldflags_save=$LDFLAGS
  4592. @@ -3993,37 +4537,34 @@
  4593. }
  4594. _ACEOF
  4595. rm -f conftest.$ac_objext conftest$ac_exeext
  4596. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4597. - (eval $ac_link) 2>conftest.er1
  4598. +if { (ac_try="$ac_link"
  4599. +case "(($ac_try" in
  4600. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4601. + *) ac_try_echo=$ac_try;;
  4602. +esac
  4603. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4604. + (eval "$ac_link") 2>conftest.er1
  4605. ac_status=$?
  4606. grep -v '^ *+' conftest.er1 >conftest.err
  4607. rm -f conftest.er1
  4608. cat conftest.err >&5
  4609. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4610. - (exit $ac_status); } &&
  4611. - { ac_try='test -z "$ac_c_werror_flag"
  4612. - || test ! -s conftest.err'
  4613. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4614. - (eval $ac_try) 2>&5
  4615. - ac_status=$?
  4616. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4617. - (exit $ac_status); }; } &&
  4618. - { ac_try='test -s conftest$ac_exeext'
  4619. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4620. - (eval $ac_try) 2>&5
  4621. - ac_status=$?
  4622. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4623. - (exit $ac_status); }; }; then
  4624. - echo "$as_me:$LINENO: result: yes" >&5
  4625. -echo "${ECHO_T}yes" >&6; perl_ok=yes
  4626. + (exit $ac_status); } && {
  4627. + test -z "$ac_c_werror_flag" ||
  4628. + test ! -s conftest.err
  4629. + } && test -s conftest$ac_exeext &&
  4630. + $as_test_x conftest$ac_exeext; then
  4631. + { echo "$as_me:$LINENO: result: yes" >&5
  4632. +echo "${ECHO_T}yes" >&6; }; perl_ok=yes
  4633. else
  4634. echo "$as_me: failed program was:" >&5
  4635. sed 's/^/| /' conftest.$ac_ext >&5
  4636. -echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
  4637. -echo "${ECHO_T}no: PERL DISABLED" >&6; perl_ok=no
  4638. + { echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
  4639. +echo "${ECHO_T}no: PERL DISABLED" >&6; }; perl_ok=no
  4640. fi
  4641. -rm -f conftest.err conftest.$ac_objext \
  4642. +
  4643. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4644. conftest$ac_exeext conftest.$ac_ext
  4645. CFLAGS=$cflags_save
  4646. LIBS=$libs_save
  4647. @@ -4046,8 +4587,8 @@
  4648. fi
  4649. fi
  4650. else
  4651. - echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
  4652. -echo "${ECHO_T}>>> too old; need Perl version 5.003_01 or later <<<" >&6
  4653. + { echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
  4654. +echo "${ECHO_T}>>> too old; need Perl version 5.003_01 or later <<<" >&6; }
  4655. fi
  4656. fi
  4657. @@ -4078,22 +4619,22 @@
  4658. -echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
  4659. -echo $ECHO_N "checking --enable-pythoninterp argument... $ECHO_C" >&6
  4660. -# Check whether --enable-pythoninterp or --disable-pythoninterp was given.
  4661. +{ echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
  4662. +echo $ECHO_N "checking --enable-pythoninterp argument... $ECHO_C" >&6; }
  4663. +# Check whether --enable-pythoninterp was given.
  4664. if test "${enable_pythoninterp+set}" = set; then
  4665. - enableval="$enable_pythoninterp"
  4666. -
  4667. + enableval=$enable_pythoninterp;
  4668. else
  4669. enable_pythoninterp="no"
  4670. -fi;
  4671. -echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
  4672. -echo "${ECHO_T}$enable_pythoninterp" >&6
  4673. +fi
  4674. +
  4675. +{ echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
  4676. +echo "${ECHO_T}$enable_pythoninterp" >&6; }
  4677. if test "$enable_pythoninterp" = "yes"; then
  4678. # Extract the first word of "python", so it can be a program name with args.
  4679. set dummy python; ac_word=$2
  4680. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4681. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4682. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4683. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4684. if test "${ac_cv_path_vi_cv_path_python+set}" = set; then
  4685. echo $ECHO_N "(cached) $ECHO_C" >&6
  4686. else
  4687. @@ -4108,31 +4649,32 @@
  4688. IFS=$as_save_IFS
  4689. test -z "$as_dir" && as_dir=.
  4690. for ac_exec_ext in '' $ac_executable_extensions; do
  4691. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4692. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4693. ac_cv_path_vi_cv_path_python="$as_dir/$ac_word$ac_exec_ext"
  4694. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4695. break 2
  4696. fi
  4697. done
  4698. done
  4699. +IFS=$as_save_IFS
  4700. ;;
  4701. esac
  4702. fi
  4703. vi_cv_path_python=$ac_cv_path_vi_cv_path_python
  4704. -
  4705. if test -n "$vi_cv_path_python"; then
  4706. - echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
  4707. -echo "${ECHO_T}$vi_cv_path_python" >&6
  4708. + { echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
  4709. +echo "${ECHO_T}$vi_cv_path_python" >&6; }
  4710. else
  4711. - echo "$as_me:$LINENO: result: no" >&5
  4712. -echo "${ECHO_T}no" >&6
  4713. + { echo "$as_me:$LINENO: result: no" >&5
  4714. +echo "${ECHO_T}no" >&6; }
  4715. fi
  4716. +
  4717. if test "X$vi_cv_path_python" != "X"; then
  4718. - echo "$as_me:$LINENO: checking Python version" >&5
  4719. -echo $ECHO_N "checking Python version... $ECHO_C" >&6
  4720. + { echo "$as_me:$LINENO: checking Python version" >&5
  4721. +echo $ECHO_N "checking Python version... $ECHO_C" >&6; }
  4722. if test "${vi_cv_var_python_version+set}" = set; then
  4723. echo $ECHO_N "(cached) $ECHO_C" >&6
  4724. else
  4725. @@ -4140,19 +4682,19 @@
  4726. ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'`
  4727. fi
  4728. -echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
  4729. -echo "${ECHO_T}$vi_cv_var_python_version" >&6
  4730. +{ echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
  4731. +echo "${ECHO_T}$vi_cv_var_python_version" >&6; }
  4732. - echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
  4733. -echo $ECHO_N "checking Python is 1.4 or better... $ECHO_C" >&6
  4734. + { echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
  4735. +echo $ECHO_N "checking Python is 1.4 or better... $ECHO_C" >&6; }
  4736. if ${vi_cv_path_python} -c \
  4737. "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
  4738. then
  4739. - echo "$as_me:$LINENO: result: yep" >&5
  4740. -echo "${ECHO_T}yep" >&6
  4741. + { echo "$as_me:$LINENO: result: yep" >&5
  4742. +echo "${ECHO_T}yep" >&6; }
  4743. - echo "$as_me:$LINENO: checking Python's install prefix" >&5
  4744. -echo $ECHO_N "checking Python's install prefix... $ECHO_C" >&6
  4745. + { echo "$as_me:$LINENO: checking Python's install prefix" >&5
  4746. +echo $ECHO_N "checking Python's install prefix... $ECHO_C" >&6; }
  4747. if test "${vi_cv_path_python_pfx+set}" = set; then
  4748. echo $ECHO_N "(cached) $ECHO_C" >&6
  4749. else
  4750. @@ -4160,11 +4702,11 @@
  4751. ${vi_cv_path_python} -c \
  4752. "import sys; print sys.prefix"`
  4753. fi
  4754. -echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
  4755. -echo "${ECHO_T}$vi_cv_path_python_pfx" >&6
  4756. +{ echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
  4757. +echo "${ECHO_T}$vi_cv_path_python_pfx" >&6; }
  4758. - echo "$as_me:$LINENO: checking Python's execution prefix" >&5
  4759. -echo $ECHO_N "checking Python's execution prefix... $ECHO_C" >&6
  4760. + { echo "$as_me:$LINENO: checking Python's execution prefix" >&5
  4761. +echo $ECHO_N "checking Python's execution prefix... $ECHO_C" >&6; }
  4762. if test "${vi_cv_path_python_epfx+set}" = set; then
  4763. echo $ECHO_N "(cached) $ECHO_C" >&6
  4764. else
  4765. @@ -4172,8 +4714,8 @@
  4766. ${vi_cv_path_python} -c \
  4767. "import sys; print sys.exec_prefix"`
  4768. fi
  4769. -echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
  4770. -echo "${ECHO_T}$vi_cv_path_python_epfx" >&6
  4771. +{ echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
  4772. +echo "${ECHO_T}$vi_cv_path_python_epfx" >&6; }
  4773. if test "${vi_cv_path_pythonpath+set}" = set; then
  4774. @@ -4188,14 +4730,14 @@
  4775. -# Check whether --with-python-config-dir or --without-python-config-dir was given.
  4776. +# Check whether --with-python-config-dir was given.
  4777. if test "${with_python_config_dir+set}" = set; then
  4778. - withval="$with_python_config_dir"
  4779. - vi_cv_path_python_conf="${withval}"
  4780. -fi;
  4781. + withval=$with_python_config_dir; vi_cv_path_python_conf="${withval}"
  4782. +fi
  4783. - echo "$as_me:$LINENO: checking Python's configuration directory" >&5
  4784. -echo $ECHO_N "checking Python's configuration directory... $ECHO_C" >&6
  4785. +
  4786. + { echo "$as_me:$LINENO: checking Python's configuration directory" >&5
  4787. +echo $ECHO_N "checking Python's configuration directory... $ECHO_C" >&6; }
  4788. if test "${vi_cv_path_python_conf+set}" = set; then
  4789. echo $ECHO_N "(cached) $ECHO_C" >&6
  4790. else
  4791. @@ -4211,14 +4753,14 @@
  4792. done
  4793. fi
  4794. -echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
  4795. -echo "${ECHO_T}$vi_cv_path_python_conf" >&6
  4796. +{ echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
  4797. +echo "${ECHO_T}$vi_cv_path_python_conf" >&6; }
  4798. PYTHON_CONFDIR="${vi_cv_path_python_conf}"
  4799. if test "X$PYTHON_CONFDIR" = "X"; then
  4800. - echo "$as_me:$LINENO: result: can't find it!" >&5
  4801. -echo "${ECHO_T}can't find it!" >&6
  4802. + { echo "$as_me:$LINENO: result: can't find it!" >&5
  4803. +echo "${ECHO_T}can't find it!" >&6; }
  4804. else
  4805. if test "${vi_cv_path_python_plibs+set}" = set; then
  4806. @@ -4268,8 +4810,8 @@
  4807. fi
  4808. PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'"
  4809. - echo "$as_me:$LINENO: checking if -pthread should be used" >&5
  4810. -echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6
  4811. + { echo "$as_me:$LINENO: checking if -pthread should be used" >&5
  4812. +echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6; }
  4813. threadsafe_flag=
  4814. thread_lib=
  4815. if test "`(uname) 2>/dev/null`" != Darwin; then
  4816. @@ -4300,47 +4842,44 @@
  4817. }
  4818. _ACEOF
  4819. rm -f conftest.$ac_objext conftest$ac_exeext
  4820. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4821. - (eval $ac_link) 2>conftest.er1
  4822. +if { (ac_try="$ac_link"
  4823. +case "(($ac_try" in
  4824. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4825. + *) ac_try_echo=$ac_try;;
  4826. +esac
  4827. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4828. + (eval "$ac_link") 2>conftest.er1
  4829. ac_status=$?
  4830. grep -v '^ *+' conftest.er1 >conftest.err
  4831. rm -f conftest.er1
  4832. cat conftest.err >&5
  4833. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4834. - (exit $ac_status); } &&
  4835. - { ac_try='test -z "$ac_c_werror_flag"
  4836. - || test ! -s conftest.err'
  4837. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4838. - (eval $ac_try) 2>&5
  4839. - ac_status=$?
  4840. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4841. - (exit $ac_status); }; } &&
  4842. - { ac_try='test -s conftest$ac_exeext'
  4843. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4844. - (eval $ac_try) 2>&5
  4845. - ac_status=$?
  4846. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4847. - (exit $ac_status); }; }; then
  4848. - echo "$as_me:$LINENO: result: yes" >&5
  4849. -echo "${ECHO_T}yes" >&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag"
  4850. + (exit $ac_status); } && {
  4851. + test -z "$ac_c_werror_flag" ||
  4852. + test ! -s conftest.err
  4853. + } && test -s conftest$ac_exeext &&
  4854. + $as_test_x conftest$ac_exeext; then
  4855. + { echo "$as_me:$LINENO: result: yes" >&5
  4856. +echo "${ECHO_T}yes" >&6; }; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag"
  4857. else
  4858. echo "$as_me: failed program was:" >&5
  4859. sed 's/^/| /' conftest.$ac_ext >&5
  4860. -echo "$as_me:$LINENO: result: no" >&5
  4861. -echo "${ECHO_T}no" >&6; LIBS=$libs_save_old
  4862. + { echo "$as_me:$LINENO: result: no" >&5
  4863. +echo "${ECHO_T}no" >&6; }; LIBS=$libs_save_old
  4864. fi
  4865. -rm -f conftest.err conftest.$ac_objext \
  4866. +
  4867. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4868. conftest$ac_exeext conftest.$ac_ext
  4869. CFLAGS=$cflags_save
  4870. else
  4871. - echo "$as_me:$LINENO: result: no" >&5
  4872. -echo "${ECHO_T}no" >&6
  4873. + { echo "$as_me:$LINENO: result: no" >&5
  4874. +echo "${ECHO_T}no" >&6; }
  4875. fi
  4876. - echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
  4877. -echo $ECHO_N "checking if compile and link flags for Python are sane... $ECHO_C" >&6
  4878. + { echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
  4879. +echo $ECHO_N "checking if compile and link flags for Python are sane... $ECHO_C" >&6; }
  4880. cflags_save=$CFLAGS
  4881. libs_save=$LIBS
  4882. CFLAGS="$CFLAGS $PYTHON_CFLAGS"
  4883. @@ -4361,37 +4900,34 @@
  4884. }
  4885. _ACEOF
  4886. rm -f conftest.$ac_objext conftest$ac_exeext
  4887. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4888. - (eval $ac_link) 2>conftest.er1
  4889. +if { (ac_try="$ac_link"
  4890. +case "(($ac_try" in
  4891. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4892. + *) ac_try_echo=$ac_try;;
  4893. +esac
  4894. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4895. + (eval "$ac_link") 2>conftest.er1
  4896. ac_status=$?
  4897. grep -v '^ *+' conftest.er1 >conftest.err
  4898. rm -f conftest.er1
  4899. cat conftest.err >&5
  4900. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4901. - (exit $ac_status); } &&
  4902. - { ac_try='test -z "$ac_c_werror_flag"
  4903. - || test ! -s conftest.err'
  4904. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4905. - (eval $ac_try) 2>&5
  4906. - ac_status=$?
  4907. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4908. - (exit $ac_status); }; } &&
  4909. - { ac_try='test -s conftest$ac_exeext'
  4910. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4911. - (eval $ac_try) 2>&5
  4912. - ac_status=$?
  4913. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4914. - (exit $ac_status); }; }; then
  4915. - echo "$as_me:$LINENO: result: yes" >&5
  4916. -echo "${ECHO_T}yes" >&6; python_ok=yes
  4917. + (exit $ac_status); } && {
  4918. + test -z "$ac_c_werror_flag" ||
  4919. + test ! -s conftest.err
  4920. + } && test -s conftest$ac_exeext &&
  4921. + $as_test_x conftest$ac_exeext; then
  4922. + { echo "$as_me:$LINENO: result: yes" >&5
  4923. +echo "${ECHO_T}yes" >&6; }; python_ok=yes
  4924. else
  4925. echo "$as_me: failed program was:" >&5
  4926. sed 's/^/| /' conftest.$ac_ext >&5
  4927. -echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
  4928. -echo "${ECHO_T}no: PYTHON DISABLED" >&6; python_ok=no
  4929. + { echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
  4930. +echo "${ECHO_T}no: PYTHON DISABLED" >&6; }; python_ok=no
  4931. fi
  4932. -rm -f conftest.err conftest.$ac_objext \
  4933. +
  4934. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4935. conftest$ac_exeext conftest.$ac_ext
  4936. CFLAGS=$cflags_save
  4937. LIBS=$libs_save
  4938. @@ -4410,8 +4946,8 @@
  4939. fi
  4940. else
  4941. - echo "$as_me:$LINENO: result: too old" >&5
  4942. -echo "${ECHO_T}too old" >&6
  4943. + { echo "$as_me:$LINENO: result: too old" >&5
  4944. +echo "${ECHO_T}too old" >&6; }
  4945. fi
  4946. fi
  4947. fi
  4948. @@ -4422,36 +4958,36 @@
  4949. -echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
  4950. -echo $ECHO_N "checking --enable-tclinterp argument... $ECHO_C" >&6
  4951. -# Check whether --enable-tclinterp or --disable-tclinterp was given.
  4952. +{ echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
  4953. +echo $ECHO_N "checking --enable-tclinterp argument... $ECHO_C" >&6; }
  4954. +# Check whether --enable-tclinterp was given.
  4955. if test "${enable_tclinterp+set}" = set; then
  4956. - enableval="$enable_tclinterp"
  4957. -
  4958. + enableval=$enable_tclinterp;
  4959. else
  4960. enable_tclinterp="no"
  4961. -fi;
  4962. -echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
  4963. -echo "${ECHO_T}$enable_tclinterp" >&6
  4964. +fi
  4965. +
  4966. +{ echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
  4967. +echo "${ECHO_T}$enable_tclinterp" >&6; }
  4968. if test "$enable_tclinterp" = "yes"; then
  4969. - echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
  4970. -echo $ECHO_N "checking --with-tclsh argument... $ECHO_C" >&6
  4971. + { echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
  4972. +echo $ECHO_N "checking --with-tclsh argument... $ECHO_C" >&6; }
  4973. -# Check whether --with-tclsh or --without-tclsh was given.
  4974. +# Check whether --with-tclsh was given.
  4975. if test "${with_tclsh+set}" = set; then
  4976. - withval="$with_tclsh"
  4977. - tclsh_name="$withval"; echo "$as_me:$LINENO: result: $tclsh_name" >&5
  4978. -echo "${ECHO_T}$tclsh_name" >&6
  4979. -else
  4980. - tclsh_name="tclsh8.5"; echo "$as_me:$LINENO: result: no" >&5
  4981. -echo "${ECHO_T}no" >&6
  4982. -fi;
  4983. + withval=$with_tclsh; tclsh_name="$withval"; { echo "$as_me:$LINENO: result: $tclsh_name" >&5
  4984. +echo "${ECHO_T}$tclsh_name" >&6; }
  4985. +else
  4986. + tclsh_name="tclsh8.5"; { echo "$as_me:$LINENO: result: no" >&5
  4987. +echo "${ECHO_T}no" >&6; }
  4988. +fi
  4989. +
  4990. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  4991. set dummy $tclsh_name; ac_word=$2
  4992. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4993. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4994. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4995. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4996. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  4997. echo $ECHO_N "(cached) $ECHO_C" >&6
  4998. else
  4999. @@ -4466,35 +5002,36 @@
  5000. IFS=$as_save_IFS
  5001. test -z "$as_dir" && as_dir=.
  5002. for ac_exec_ext in '' $ac_executable_extensions; do
  5003. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5004. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5005. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5006. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5007. break 2
  5008. fi
  5009. done
  5010. done
  5011. +IFS=$as_save_IFS
  5012. ;;
  5013. esac
  5014. fi
  5015. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5016. -
  5017. if test -n "$vi_cv_path_tcl"; then
  5018. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5019. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5020. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5021. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5022. else
  5023. - echo "$as_me:$LINENO: result: no" >&5
  5024. -echo "${ECHO_T}no" >&6
  5025. + { echo "$as_me:$LINENO: result: no" >&5
  5026. +echo "${ECHO_T}no" >&6; }
  5027. fi
  5028. +
  5029. if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.5"; then
  5030. tclsh_name="tclsh8.4"
  5031. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  5032. set dummy $tclsh_name; ac_word=$2
  5033. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5034. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5035. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5036. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5037. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  5038. echo $ECHO_N "(cached) $ECHO_C" >&6
  5039. else
  5040. @@ -4509,34 +5046,35 @@
  5041. IFS=$as_save_IFS
  5042. test -z "$as_dir" && as_dir=.
  5043. for ac_exec_ext in '' $ac_executable_extensions; do
  5044. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5045. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5046. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5047. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5048. break 2
  5049. fi
  5050. done
  5051. done
  5052. +IFS=$as_save_IFS
  5053. ;;
  5054. esac
  5055. fi
  5056. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5057. -
  5058. if test -n "$vi_cv_path_tcl"; then
  5059. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5060. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5061. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5062. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5063. else
  5064. - echo "$as_me:$LINENO: result: no" >&5
  5065. -echo "${ECHO_T}no" >&6
  5066. + { echo "$as_me:$LINENO: result: no" >&5
  5067. +echo "${ECHO_T}no" >&6; }
  5068. fi
  5069. +
  5070. fi
  5071. if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
  5072. tclsh_name="tclsh8.2"
  5073. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  5074. set dummy $tclsh_name; ac_word=$2
  5075. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5076. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5077. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5078. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5079. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  5080. echo $ECHO_N "(cached) $ECHO_C" >&6
  5081. else
  5082. @@ -4551,34 +5089,35 @@
  5083. IFS=$as_save_IFS
  5084. test -z "$as_dir" && as_dir=.
  5085. for ac_exec_ext in '' $ac_executable_extensions; do
  5086. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5087. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5088. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5089. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5090. break 2
  5091. fi
  5092. done
  5093. done
  5094. +IFS=$as_save_IFS
  5095. ;;
  5096. esac
  5097. fi
  5098. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5099. -
  5100. if test -n "$vi_cv_path_tcl"; then
  5101. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5102. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5103. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5104. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5105. else
  5106. - echo "$as_me:$LINENO: result: no" >&5
  5107. -echo "${ECHO_T}no" >&6
  5108. + { echo "$as_me:$LINENO: result: no" >&5
  5109. +echo "${ECHO_T}no" >&6; }
  5110. fi
  5111. +
  5112. fi
  5113. if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then
  5114. tclsh_name="tclsh8.0"
  5115. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  5116. set dummy $tclsh_name; ac_word=$2
  5117. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5118. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5119. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5120. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5121. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  5122. echo $ECHO_N "(cached) $ECHO_C" >&6
  5123. else
  5124. @@ -4593,34 +5132,35 @@
  5125. IFS=$as_save_IFS
  5126. test -z "$as_dir" && as_dir=.
  5127. for ac_exec_ext in '' $ac_executable_extensions; do
  5128. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5129. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5130. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5131. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5132. break 2
  5133. fi
  5134. done
  5135. done
  5136. +IFS=$as_save_IFS
  5137. ;;
  5138. esac
  5139. fi
  5140. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5141. -
  5142. if test -n "$vi_cv_path_tcl"; then
  5143. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5144. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5145. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5146. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5147. else
  5148. - echo "$as_me:$LINENO: result: no" >&5
  5149. -echo "${ECHO_T}no" >&6
  5150. + { echo "$as_me:$LINENO: result: no" >&5
  5151. +echo "${ECHO_T}no" >&6; }
  5152. fi
  5153. +
  5154. fi
  5155. if test "X$vi_cv_path_tcl" = "X"; then
  5156. tclsh_name="tclsh"
  5157. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  5158. set dummy $tclsh_name; ac_word=$2
  5159. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5160. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5161. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5162. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5163. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  5164. echo $ECHO_N "(cached) $ECHO_C" >&6
  5165. else
  5166. @@ -4635,39 +5175,40 @@
  5167. IFS=$as_save_IFS
  5168. test -z "$as_dir" && as_dir=.
  5169. for ac_exec_ext in '' $ac_executable_extensions; do
  5170. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5171. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5172. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5173. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5174. break 2
  5175. fi
  5176. done
  5177. done
  5178. +IFS=$as_save_IFS
  5179. ;;
  5180. esac
  5181. fi
  5182. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5183. -
  5184. if test -n "$vi_cv_path_tcl"; then
  5185. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5186. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5187. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5188. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5189. else
  5190. - echo "$as_me:$LINENO: result: no" >&5
  5191. -echo "${ECHO_T}no" >&6
  5192. + { echo "$as_me:$LINENO: result: no" >&5
  5193. +echo "${ECHO_T}no" >&6; }
  5194. fi
  5195. +
  5196. fi
  5197. if test "X$vi_cv_path_tcl" != "X"; then
  5198. - echo "$as_me:$LINENO: checking Tcl version" >&5
  5199. -echo $ECHO_N "checking Tcl version... $ECHO_C" >&6
  5200. + { echo "$as_me:$LINENO: checking Tcl version" >&5
  5201. +echo $ECHO_N "checking Tcl version... $ECHO_C" >&6; }
  5202. if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then
  5203. tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -`
  5204. - echo "$as_me:$LINENO: result: $tclver - OK" >&5
  5205. -echo "${ECHO_T}$tclver - OK" >&6;
  5206. + { echo "$as_me:$LINENO: result: $tclver - OK" >&5
  5207. +echo "${ECHO_T}$tclver - OK" >&6; };
  5208. tclloc=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -`
  5209. - echo "$as_me:$LINENO: checking for location of Tcl include" >&5
  5210. -echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6
  5211. + { echo "$as_me:$LINENO: checking for location of Tcl include" >&5
  5212. +echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6; }
  5213. if test "x$MACOSX" != "xyes"; then
  5214. tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include"
  5215. else
  5216. @@ -4675,20 +5216,20 @@
  5217. fi
  5218. for try in $tclinc; do
  5219. if test -f "$try/tcl.h"; then
  5220. - echo "$as_me:$LINENO: result: $try/tcl.h" >&5
  5221. -echo "${ECHO_T}$try/tcl.h" >&6
  5222. + { echo "$as_me:$LINENO: result: $try/tcl.h" >&5
  5223. +echo "${ECHO_T}$try/tcl.h" >&6; }
  5224. TCL_INC=$try
  5225. break
  5226. fi
  5227. done
  5228. if test -z "$TCL_INC"; then
  5229. - echo "$as_me:$LINENO: result: <not found>" >&5
  5230. -echo "${ECHO_T}<not found>" >&6
  5231. + { echo "$as_me:$LINENO: result: <not found>" >&5
  5232. +echo "${ECHO_T}<not found>" >&6; }
  5233. SKIP_TCL=YES
  5234. fi
  5235. if test -z "$SKIP_TCL"; then
  5236. - echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
  5237. -echo $ECHO_N "checking for location of tclConfig.sh script... $ECHO_C" >&6
  5238. + { echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
  5239. +echo $ECHO_N "checking for location of tclConfig.sh script... $ECHO_C" >&6; }
  5240. if test "x$MACOSX" != "xyes"; then
  5241. tclcnf=`echo $tclinc | sed s/include/lib/g`
  5242. tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
  5243. @@ -4697,8 +5238,8 @@
  5244. fi
  5245. for try in $tclcnf; do
  5246. if test -f $try/tclConfig.sh; then
  5247. - echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
  5248. -echo "${ECHO_T}$try/tclConfig.sh" >&6
  5249. + { echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
  5250. +echo "${ECHO_T}$try/tclConfig.sh" >&6; }
  5251. . $try/tclConfig.sh
  5252. TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
  5253. TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
  5254. @@ -4706,10 +5247,10 @@
  5255. fi
  5256. done
  5257. if test -z "$TCL_LIBS"; then
  5258. - echo "$as_me:$LINENO: result: <not found>" >&5
  5259. -echo "${ECHO_T}<not found>" >&6
  5260. - echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
  5261. -echo $ECHO_N "checking for Tcl library by myself... $ECHO_C" >&6
  5262. + { echo "$as_me:$LINENO: result: <not found>" >&5
  5263. +echo "${ECHO_T}<not found>" >&6; }
  5264. + { echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
  5265. +echo $ECHO_N "checking for Tcl library by myself... $ECHO_C" >&6; }
  5266. tcllib=`echo $tclinc | sed s/include/lib/g`
  5267. tcllib="$tcllib `echo $tclinc | sed s/include/lib64/g`"
  5268. for ext in .so .a ; do
  5269. @@ -4717,8 +5258,8 @@
  5270. for try in $tcllib ; do
  5271. trylib=tcl$ver$ext
  5272. if test -f $try/lib$trylib ; then
  5273. - echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
  5274. -echo "${ECHO_T}$try/lib$trylib" >&6
  5275. + { echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
  5276. +echo "${ECHO_T}$try/lib$trylib" >&6; }
  5277. TCL_LIBS="-L$try -ltcl$ver -ldl -lm"
  5278. if test "`(uname) 2>/dev/null`" = SunOS &&
  5279. uname -r | grep '^5' >/dev/null; then
  5280. @@ -4730,8 +5271,8 @@
  5281. done
  5282. done
  5283. if test -z "$TCL_LIBS"; then
  5284. - echo "$as_me:$LINENO: result: <not found>" >&5
  5285. -echo "${ECHO_T}<not found>" >&6
  5286. + { echo "$as_me:$LINENO: result: <not found>" >&5
  5287. +echo "${ECHO_T}<not found>" >&6; }
  5288. SKIP_TCL=YES
  5289. fi
  5290. fi
  5291. @@ -4747,8 +5288,8 @@
  5292. fi
  5293. fi
  5294. else
  5295. - echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
  5296. -echo "${ECHO_T}too old; need Tcl version 8.0 or later" >&6
  5297. + { echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
  5298. +echo "${ECHO_T}too old; need Tcl version 8.0 or later" >&6; }
  5299. fi
  5300. fi
  5301. fi
  5302. @@ -4758,23 +5299,23 @@
  5303. -echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
  5304. -echo $ECHO_N "checking --enable-rubyinterp argument... $ECHO_C" >&6
  5305. -# Check whether --enable-rubyinterp or --disable-rubyinterp was given.
  5306. +{ echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
  5307. +echo $ECHO_N "checking --enable-rubyinterp argument... $ECHO_C" >&6; }
  5308. +# Check whether --enable-rubyinterp was given.
  5309. if test "${enable_rubyinterp+set}" = set; then
  5310. - enableval="$enable_rubyinterp"
  5311. -
  5312. + enableval=$enable_rubyinterp;
  5313. else
  5314. enable_rubyinterp="no"
  5315. -fi;
  5316. -echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
  5317. -echo "${ECHO_T}$enable_rubyinterp" >&6
  5318. +fi
  5319. +
  5320. +{ echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
  5321. +echo "${ECHO_T}$enable_rubyinterp" >&6; }
  5322. if test "$enable_rubyinterp" = "yes"; then
  5323. # Extract the first word of "ruby", so it can be a program name with args.
  5324. set dummy ruby; ac_word=$2
  5325. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5326. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5327. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5328. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5329. if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
  5330. echo $ECHO_N "(cached) $ECHO_C" >&6
  5331. else
  5332. @@ -4789,39 +5330,40 @@
  5333. IFS=$as_save_IFS
  5334. test -z "$as_dir" && as_dir=.
  5335. for ac_exec_ext in '' $ac_executable_extensions; do
  5336. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5337. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5338. ac_cv_path_vi_cv_path_ruby="$as_dir/$ac_word$ac_exec_ext"
  5339. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5340. break 2
  5341. fi
  5342. done
  5343. done
  5344. +IFS=$as_save_IFS
  5345. ;;
  5346. esac
  5347. fi
  5348. vi_cv_path_ruby=$ac_cv_path_vi_cv_path_ruby
  5349. -
  5350. if test -n "$vi_cv_path_ruby"; then
  5351. - echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
  5352. -echo "${ECHO_T}$vi_cv_path_ruby" >&6
  5353. + { echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
  5354. +echo "${ECHO_T}$vi_cv_path_ruby" >&6; }
  5355. else
  5356. - echo "$as_me:$LINENO: result: no" >&5
  5357. -echo "${ECHO_T}no" >&6
  5358. + { echo "$as_me:$LINENO: result: no" >&5
  5359. +echo "${ECHO_T}no" >&6; }
  5360. fi
  5361. +
  5362. if test "X$vi_cv_path_ruby" != "X"; then
  5363. - echo "$as_me:$LINENO: checking Ruby version" >&5
  5364. -echo $ECHO_N "checking Ruby version... $ECHO_C" >&6
  5365. + { echo "$as_me:$LINENO: checking Ruby version" >&5
  5366. +echo $ECHO_N "checking Ruby version... $ECHO_C" >&6; }
  5367. if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
  5368. - echo "$as_me:$LINENO: result: OK" >&5
  5369. -echo "${ECHO_T}OK" >&6
  5370. - echo "$as_me:$LINENO: checking Ruby header files" >&5
  5371. -echo $ECHO_N "checking Ruby header files... $ECHO_C" >&6
  5372. + { echo "$as_me:$LINENO: result: OK" >&5
  5373. +echo "${ECHO_T}OK" >&6; }
  5374. + { echo "$as_me:$LINENO: checking Ruby header files" >&5
  5375. +echo $ECHO_N "checking Ruby header files... $ECHO_C" >&6; }
  5376. rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null`
  5377. if test "X$rubyhdrdir" != "X"; then
  5378. - echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
  5379. -echo "${ECHO_T}$rubyhdrdir" >&6
  5380. + { echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
  5381. +echo "${ECHO_T}$rubyhdrdir" >&6; }
  5382. RUBY_CFLAGS="-I$rubyhdrdir"
  5383. rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'`
  5384. if test "X$rubylibs" != "X"; then
  5385. @@ -4856,12 +5398,12 @@
  5386. _ACEOF
  5387. else
  5388. - echo "$as_me:$LINENO: result: not found" >&5
  5389. -echo "${ECHO_T}not found" >&6
  5390. + { echo "$as_me:$LINENO: result: not found" >&5
  5391. +echo "${ECHO_T}not found" >&6; }
  5392. fi
  5393. else
  5394. - echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
  5395. -echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6
  5396. + { echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
  5397. +echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6; }
  5398. fi
  5399. fi
  5400. fi
  5401. @@ -4871,17 +5413,17 @@
  5402. -echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
  5403. -echo $ECHO_N "checking --enable-cscope argument... $ECHO_C" >&6
  5404. -# Check whether --enable-cscope or --disable-cscope was given.
  5405. +{ echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
  5406. +echo $ECHO_N "checking --enable-cscope argument... $ECHO_C" >&6; }
  5407. +# Check whether --enable-cscope was given.
  5408. if test "${enable_cscope+set}" = set; then
  5409. - enableval="$enable_cscope"
  5410. -
  5411. + enableval=$enable_cscope;
  5412. else
  5413. enable_cscope="no"
  5414. -fi;
  5415. -echo "$as_me:$LINENO: result: $enable_cscope" >&5
  5416. -echo "${ECHO_T}$enable_cscope" >&6
  5417. +fi
  5418. +
  5419. +{ echo "$as_me:$LINENO: result: $enable_cscope" >&5
  5420. +echo "${ECHO_T}$enable_cscope" >&6; }
  5421. if test "$enable_cscope" = "yes"; then
  5422. cat >>confdefs.h <<\_ACEOF
  5423. #define FEAT_CSCOPE 1
  5424. @@ -4889,17 +5431,17 @@
  5425. fi
  5426. -echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
  5427. -echo $ECHO_N "checking --enable-workshop argument... $ECHO_C" >&6
  5428. -# Check whether --enable-workshop or --disable-workshop was given.
  5429. +{ echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
  5430. +echo $ECHO_N "checking --enable-workshop argument... $ECHO_C" >&6; }
  5431. +# Check whether --enable-workshop was given.
  5432. if test "${enable_workshop+set}" = set; then
  5433. - enableval="$enable_workshop"
  5434. -
  5435. + enableval=$enable_workshop;
  5436. else
  5437. enable_workshop="no"
  5438. -fi;
  5439. -echo "$as_me:$LINENO: result: $enable_workshop" >&5
  5440. -echo "${ECHO_T}$enable_workshop" >&6
  5441. +fi
  5442. +
  5443. +{ echo "$as_me:$LINENO: result: $enable_workshop" >&5
  5444. +echo "${ECHO_T}$enable_workshop" >&6; }
  5445. if test "$enable_workshop" = "yes"; then
  5446. cat >>confdefs.h <<\_ACEOF
  5447. #define FEAT_SUN_WORKSHOP 1
  5448. @@ -4914,21 +5456,21 @@
  5449. fi
  5450. fi
  5451. -echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
  5452. -echo $ECHO_N "checking --disable-netbeans argument... $ECHO_C" >&6
  5453. -# Check whether --enable-netbeans or --disable-netbeans was given.
  5454. +{ echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
  5455. +echo $ECHO_N "checking --disable-netbeans argument... $ECHO_C" >&6; }
  5456. +# Check whether --enable-netbeans was given.
  5457. if test "${enable_netbeans+set}" = set; then
  5458. - enableval="$enable_netbeans"
  5459. -
  5460. + enableval=$enable_netbeans;
  5461. else
  5462. enable_netbeans="yes"
  5463. -fi;
  5464. +fi
  5465. +
  5466. if test "$enable_netbeans" = "yes"; then
  5467. - echo "$as_me:$LINENO: result: no" >&5
  5468. -echo "${ECHO_T}no" >&6
  5469. + { echo "$as_me:$LINENO: result: no" >&5
  5470. +echo "${ECHO_T}no" >&6; }
  5471. -echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
  5472. -echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
  5473. +{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
  5474. +echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
  5475. if test "${ac_cv_lib_socket_socket+set}" = set; then
  5476. echo $ECHO_N "(cached) $ECHO_C" >&6
  5477. else
  5478. @@ -4941,56 +5483,53 @@
  5479. cat >>conftest.$ac_ext <<_ACEOF
  5480. /* end confdefs.h. */
  5481. -/* Override any gcc2 internal prototype to avoid an error. */
  5482. +/* Override any GCC internal prototype to avoid an error.
  5483. + Use char because int might match the return type of a GCC
  5484. + builtin and then its argument prototype would still apply. */
  5485. #ifdef __cplusplus
  5486. extern "C"
  5487. #endif
  5488. -/* We use char because int might match the return type of a gcc2
  5489. - builtin and then its argument prototype would still apply. */
  5490. char socket ();
  5491. int
  5492. main ()
  5493. {
  5494. -socket ();
  5495. +return socket ();
  5496. ;
  5497. return 0;
  5498. }
  5499. _ACEOF
  5500. rm -f conftest.$ac_objext conftest$ac_exeext
  5501. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5502. - (eval $ac_link) 2>conftest.er1
  5503. +if { (ac_try="$ac_link"
  5504. +case "(($ac_try" in
  5505. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5506. + *) ac_try_echo=$ac_try;;
  5507. +esac
  5508. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5509. + (eval "$ac_link") 2>conftest.er1
  5510. ac_status=$?
  5511. grep -v '^ *+' conftest.er1 >conftest.err
  5512. rm -f conftest.er1
  5513. cat conftest.err >&5
  5514. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5515. - (exit $ac_status); } &&
  5516. - { ac_try='test -z "$ac_c_werror_flag"
  5517. - || test ! -s conftest.err'
  5518. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5519. - (eval $ac_try) 2>&5
  5520. - ac_status=$?
  5521. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5522. - (exit $ac_status); }; } &&
  5523. - { ac_try='test -s conftest$ac_exeext'
  5524. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5525. - (eval $ac_try) 2>&5
  5526. - ac_status=$?
  5527. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5528. - (exit $ac_status); }; }; then
  5529. + (exit $ac_status); } && {
  5530. + test -z "$ac_c_werror_flag" ||
  5531. + test ! -s conftest.err
  5532. + } && test -s conftest$ac_exeext &&
  5533. + $as_test_x conftest$ac_exeext; then
  5534. ac_cv_lib_socket_socket=yes
  5535. else
  5536. echo "$as_me: failed program was:" >&5
  5537. sed 's/^/| /' conftest.$ac_ext >&5
  5538. -ac_cv_lib_socket_socket=no
  5539. + ac_cv_lib_socket_socket=no
  5540. fi
  5541. -rm -f conftest.err conftest.$ac_objext \
  5542. +
  5543. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5544. conftest$ac_exeext conftest.$ac_ext
  5545. LIBS=$ac_check_lib_save_LIBS
  5546. fi
  5547. -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
  5548. -echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
  5549. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
  5550. +echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
  5551. if test $ac_cv_lib_socket_socket = yes; then
  5552. cat >>confdefs.h <<_ACEOF
  5553. #define HAVE_LIBSOCKET 1
  5554. @@ -5001,8 +5540,8 @@
  5555. fi
  5556. -echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  5557. -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
  5558. +{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  5559. +echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
  5560. if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  5561. echo $ECHO_N "(cached) $ECHO_C" >&6
  5562. else
  5563. @@ -5015,56 +5554,53 @@
  5564. cat >>conftest.$ac_ext <<_ACEOF
  5565. /* end confdefs.h. */
  5566. -/* Override any gcc2 internal prototype to avoid an error. */
  5567. +/* Override any GCC internal prototype to avoid an error.
  5568. + Use char because int might match the return type of a GCC
  5569. + builtin and then its argument prototype would still apply. */
  5570. #ifdef __cplusplus
  5571. extern "C"
  5572. #endif
  5573. -/* We use char because int might match the return type of a gcc2
  5574. - builtin and then its argument prototype would still apply. */
  5575. char gethostbyname ();
  5576. int
  5577. main ()
  5578. {
  5579. -gethostbyname ();
  5580. +return gethostbyname ();
  5581. ;
  5582. return 0;
  5583. }
  5584. _ACEOF
  5585. rm -f conftest.$ac_objext conftest$ac_exeext
  5586. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5587. - (eval $ac_link) 2>conftest.er1
  5588. +if { (ac_try="$ac_link"
  5589. +case "(($ac_try" in
  5590. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5591. + *) ac_try_echo=$ac_try;;
  5592. +esac
  5593. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5594. + (eval "$ac_link") 2>conftest.er1
  5595. ac_status=$?
  5596. grep -v '^ *+' conftest.er1 >conftest.err
  5597. rm -f conftest.er1
  5598. cat conftest.err >&5
  5599. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5600. - (exit $ac_status); } &&
  5601. - { ac_try='test -z "$ac_c_werror_flag"
  5602. - || test ! -s conftest.err'
  5603. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5604. - (eval $ac_try) 2>&5
  5605. - ac_status=$?
  5606. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5607. - (exit $ac_status); }; } &&
  5608. - { ac_try='test -s conftest$ac_exeext'
  5609. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5610. - (eval $ac_try) 2>&5
  5611. - ac_status=$?
  5612. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5613. - (exit $ac_status); }; }; then
  5614. + (exit $ac_status); } && {
  5615. + test -z "$ac_c_werror_flag" ||
  5616. + test ! -s conftest.err
  5617. + } && test -s conftest$ac_exeext &&
  5618. + $as_test_x conftest$ac_exeext; then
  5619. ac_cv_lib_nsl_gethostbyname=yes
  5620. else
  5621. echo "$as_me: failed program was:" >&5
  5622. sed 's/^/| /' conftest.$ac_ext >&5
  5623. -ac_cv_lib_nsl_gethostbyname=no
  5624. + ac_cv_lib_nsl_gethostbyname=no
  5625. fi
  5626. -rm -f conftest.err conftest.$ac_objext \
  5627. +
  5628. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5629. conftest$ac_exeext conftest.$ac_ext
  5630. LIBS=$ac_check_lib_save_LIBS
  5631. fi
  5632. -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  5633. -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
  5634. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  5635. +echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
  5636. if test $ac_cv_lib_nsl_gethostbyname = yes; then
  5637. cat >>confdefs.h <<_ACEOF
  5638. #define HAVE_LIBNSL 1
  5639. @@ -5074,8 +5610,8 @@
  5640. fi
  5641. - echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
  5642. -echo $ECHO_N "checking whether compiling netbeans integration is possible... $ECHO_C" >&6
  5643. + { echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
  5644. +echo $ECHO_N "checking whether compiling netbeans integration is possible... $ECHO_C" >&6; }
  5645. cat >conftest.$ac_ext <<_ACEOF
  5646. /* confdefs.h. */
  5647. _ACEOF
  5648. @@ -5115,41 +5651,38 @@
  5649. }
  5650. _ACEOF
  5651. rm -f conftest.$ac_objext conftest$ac_exeext
  5652. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5653. - (eval $ac_link) 2>conftest.er1
  5654. +if { (ac_try="$ac_link"
  5655. +case "(($ac_try" in
  5656. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5657. + *) ac_try_echo=$ac_try;;
  5658. +esac
  5659. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5660. + (eval "$ac_link") 2>conftest.er1
  5661. ac_status=$?
  5662. grep -v '^ *+' conftest.er1 >conftest.err
  5663. rm -f conftest.er1
  5664. cat conftest.err >&5
  5665. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5666. - (exit $ac_status); } &&
  5667. - { ac_try='test -z "$ac_c_werror_flag"
  5668. - || test ! -s conftest.err'
  5669. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5670. - (eval $ac_try) 2>&5
  5671. - ac_status=$?
  5672. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5673. - (exit $ac_status); }; } &&
  5674. - { ac_try='test -s conftest$ac_exeext'
  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); }; }; then
  5680. - echo "$as_me:$LINENO: result: yes" >&5
  5681. -echo "${ECHO_T}yes" >&6
  5682. + (exit $ac_status); } && {
  5683. + test -z "$ac_c_werror_flag" ||
  5684. + test ! -s conftest.err
  5685. + } && test -s conftest$ac_exeext &&
  5686. + $as_test_x conftest$ac_exeext; then
  5687. + { echo "$as_me:$LINENO: result: yes" >&5
  5688. +echo "${ECHO_T}yes" >&6; }
  5689. else
  5690. echo "$as_me: failed program was:" >&5
  5691. sed 's/^/| /' conftest.$ac_ext >&5
  5692. -echo "$as_me:$LINENO: result: no" >&5
  5693. -echo "${ECHO_T}no" >&6; enable_netbeans="no"
  5694. + { echo "$as_me:$LINENO: result: no" >&5
  5695. +echo "${ECHO_T}no" >&6; }; enable_netbeans="no"
  5696. fi
  5697. -rm -f conftest.err conftest.$ac_objext \
  5698. +
  5699. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5700. conftest$ac_exeext conftest.$ac_ext
  5701. else
  5702. - echo "$as_me:$LINENO: result: yes" >&5
  5703. -echo "${ECHO_T}yes" >&6
  5704. + { echo "$as_me:$LINENO: result: yes" >&5
  5705. +echo "${ECHO_T}yes" >&6; }
  5706. fi
  5707. if test "$enable_netbeans" = "yes"; then
  5708. cat >>confdefs.h <<\_ACEOF
  5709. @@ -5162,17 +5695,17 @@
  5710. fi
  5711. -echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
  5712. -echo $ECHO_N "checking --enable-sniff argument... $ECHO_C" >&6
  5713. -# Check whether --enable-sniff or --disable-sniff was given.
  5714. +{ echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
  5715. +echo $ECHO_N "checking --enable-sniff argument... $ECHO_C" >&6; }
  5716. +# Check whether --enable-sniff was given.
  5717. if test "${enable_sniff+set}" = set; then
  5718. - enableval="$enable_sniff"
  5719. -
  5720. + enableval=$enable_sniff;
  5721. else
  5722. enable_sniff="no"
  5723. -fi;
  5724. -echo "$as_me:$LINENO: result: $enable_sniff" >&5
  5725. -echo "${ECHO_T}$enable_sniff" >&6
  5726. +fi
  5727. +
  5728. +{ echo "$as_me:$LINENO: result: $enable_sniff" >&5
  5729. +echo "${ECHO_T}$enable_sniff" >&6; }
  5730. if test "$enable_sniff" = "yes"; then
  5731. cat >>confdefs.h <<\_ACEOF
  5732. #define FEAT_SNIFF 1
  5733. @@ -5184,17 +5717,17 @@
  5734. fi
  5735. -echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
  5736. -echo $ECHO_N "checking --enable-multibyte argument... $ECHO_C" >&6
  5737. -# Check whether --enable-multibyte or --disable-multibyte was given.
  5738. +{ echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
  5739. +echo $ECHO_N "checking --enable-multibyte argument... $ECHO_C" >&6; }
  5740. +# Check whether --enable-multibyte was given.
  5741. if test "${enable_multibyte+set}" = set; then
  5742. - enableval="$enable_multibyte"
  5743. -
  5744. + enableval=$enable_multibyte;
  5745. else
  5746. enable_multibyte="no"
  5747. -fi;
  5748. -echo "$as_me:$LINENO: result: $enable_multibyte" >&5
  5749. -echo "${ECHO_T}$enable_multibyte" >&6
  5750. +fi
  5751. +
  5752. +{ echo "$as_me:$LINENO: result: $enable_multibyte" >&5
  5753. +echo "${ECHO_T}$enable_multibyte" >&6; }
  5754. if test "$enable_multibyte" = "yes"; then
  5755. cat >>confdefs.h <<\_ACEOF
  5756. #define FEAT_MBYTE 1
  5757. @@ -5202,53 +5735,53 @@
  5758. fi
  5759. -echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
  5760. -echo $ECHO_N "checking --enable-hangulinput argument... $ECHO_C" >&6
  5761. -# Check whether --enable-hangulinput or --disable-hangulinput was given.
  5762. +{ echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
  5763. +echo $ECHO_N "checking --enable-hangulinput argument... $ECHO_C" >&6; }
  5764. +# Check whether --enable-hangulinput was given.
  5765. if test "${enable_hangulinput+set}" = set; then
  5766. - enableval="$enable_hangulinput"
  5767. -
  5768. + enableval=$enable_hangulinput;
  5769. else
  5770. enable_hangulinput="no"
  5771. -fi;
  5772. -echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
  5773. -echo "${ECHO_T}$enable_hangulinput" >&6
  5774. -
  5775. -echo "$as_me:$LINENO: checking --enable-xim argument" >&5
  5776. -echo $ECHO_N "checking --enable-xim argument... $ECHO_C" >&6
  5777. -# Check whether --enable-xim or --disable-xim was given.
  5778. +fi
  5779. +
  5780. +{ echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
  5781. +echo "${ECHO_T}$enable_hangulinput" >&6; }
  5782. +
  5783. +{ echo "$as_me:$LINENO: checking --enable-xim argument" >&5
  5784. +echo $ECHO_N "checking --enable-xim argument... $ECHO_C" >&6; }
  5785. +# Check whether --enable-xim was given.
  5786. if test "${enable_xim+set}" = set; then
  5787. - enableval="$enable_xim"
  5788. - echo "$as_me:$LINENO: result: $enable_xim" >&5
  5789. -echo "${ECHO_T}$enable_xim" >&6
  5790. -else
  5791. - enable_xim="auto"; echo "$as_me:$LINENO: result: defaulting to auto" >&5
  5792. -echo "${ECHO_T}defaulting to auto" >&6
  5793. -fi;
  5794. -
  5795. -echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
  5796. -echo $ECHO_N "checking --enable-fontset argument... $ECHO_C" >&6
  5797. -# Check whether --enable-fontset or --disable-fontset was given.
  5798. -if test "${enable_fontset+set}" = set; then
  5799. - enableval="$enable_fontset"
  5800. + enableval=$enable_xim; { echo "$as_me:$LINENO: result: $enable_xim" >&5
  5801. +echo "${ECHO_T}$enable_xim" >&6; }
  5802. +else
  5803. + enable_xim="auto"; { echo "$as_me:$LINENO: result: defaulting to auto" >&5
  5804. +echo "${ECHO_T}defaulting to auto" >&6; }
  5805. +fi
  5806. +
  5807. +{ echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
  5808. +echo $ECHO_N "checking --enable-fontset argument... $ECHO_C" >&6; }
  5809. +# Check whether --enable-fontset was given.
  5810. +if test "${enable_fontset+set}" = set; then
  5811. + enableval=$enable_fontset;
  5812. else
  5813. enable_fontset="no"
  5814. -fi;
  5815. -echo "$as_me:$LINENO: result: $enable_fontset" >&5
  5816. -echo "${ECHO_T}$enable_fontset" >&6
  5817. +fi
  5818. +
  5819. +{ echo "$as_me:$LINENO: result: $enable_fontset" >&5
  5820. +echo "${ECHO_T}$enable_fontset" >&6; }
  5821. test -z "$with_x" && with_x=yes
  5822. test "${enable_gui-yes}" != no -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x=yes
  5823. if test "$with_x" = no; then
  5824. - echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
  5825. -echo "${ECHO_T}defaulting to: don't HAVE_X11" >&6
  5826. + { echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
  5827. +echo "${ECHO_T}defaulting to: don't HAVE_X11" >&6; }
  5828. else
  5829. # Extract the first word of "xmkmf", so it can be a program name with args.
  5830. set dummy xmkmf; ac_word=$2
  5831. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5832. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5833. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5834. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5835. if test "${ac_cv_path_xmkmfpath+set}" = set; then
  5836. echo $ECHO_N "(cached) $ECHO_C" >&6
  5837. else
  5838. @@ -5263,66 +5796,72 @@
  5839. IFS=$as_save_IFS
  5840. test -z "$as_dir" && as_dir=.
  5841. for ac_exec_ext in '' $ac_executable_extensions; do
  5842. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5843. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5844. ac_cv_path_xmkmfpath="$as_dir/$ac_word$ac_exec_ext"
  5845. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5846. break 2
  5847. fi
  5848. done
  5849. done
  5850. +IFS=$as_save_IFS
  5851. ;;
  5852. esac
  5853. fi
  5854. xmkmfpath=$ac_cv_path_xmkmfpath
  5855. -
  5856. if test -n "$xmkmfpath"; then
  5857. - echo "$as_me:$LINENO: result: $xmkmfpath" >&5
  5858. -echo "${ECHO_T}$xmkmfpath" >&6
  5859. + { echo "$as_me:$LINENO: result: $xmkmfpath" >&5
  5860. +echo "${ECHO_T}$xmkmfpath" >&6; }
  5861. else
  5862. - echo "$as_me:$LINENO: result: no" >&5
  5863. -echo "${ECHO_T}no" >&6
  5864. + { echo "$as_me:$LINENO: result: no" >&5
  5865. +echo "${ECHO_T}no" >&6; }
  5866. fi
  5867. - echo "$as_me:$LINENO: checking for X" >&5
  5868. -echo $ECHO_N "checking for X... $ECHO_C" >&6
  5869. + { echo "$as_me:$LINENO: checking for X" >&5
  5870. +echo $ECHO_N "checking for X... $ECHO_C" >&6; }
  5871. -# Check whether --with-x or --without-x was given.
  5872. +
  5873. +# Check whether --with-x was given.
  5874. if test "${with_x+set}" = set; then
  5875. - withval="$with_x"
  5876. + withval=$with_x;
  5877. +fi
  5878. -fi;
  5879. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  5880. if test "x$with_x" = xno; then
  5881. # The user explicitly disabled X.
  5882. have_x=disabled
  5883. else
  5884. - if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
  5885. - # Both variables are already set.
  5886. - have_x=yes
  5887. - else
  5888. - if test "${ac_cv_have_x+set}" = set; then
  5889. + case $x_includes,$x_libraries in #(
  5890. + *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
  5891. +echo "$as_me: error: Cannot use X directory names containing '" >&2;}
  5892. + { (exit 1); exit 1; }; };; #(
  5893. + *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
  5894. echo $ECHO_N "(cached) $ECHO_C" >&6
  5895. else
  5896. # One or both of the vars are not set, and there is no cached value.
  5897. ac_x_includes=no ac_x_libraries=no
  5898. -rm -fr conftest.dir
  5899. +rm -f -r conftest.dir
  5900. if mkdir conftest.dir; then
  5901. cd conftest.dir
  5902. - # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  5903. cat >Imakefile <<'_ACEOF'
  5904. -acfindx:
  5905. - @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  5906. +incroot:
  5907. + @echo incroot='${INCROOT}'
  5908. +usrlibdir:
  5909. + @echo usrlibdir='${USRLIBDIR}'
  5910. +libdir:
  5911. + @echo libdir='${LIBDIR}'
  5912. _ACEOF
  5913. - if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  5914. + if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  5915. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  5916. - eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
  5917. + for ac_var in incroot usrlibdir libdir; do
  5918. + eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  5919. + done
  5920. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  5921. for ac_extension in a so sl; do
  5922. - if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
  5923. - test -f $ac_im_libdir/libX11.$ac_extension; then
  5924. + if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  5925. + test -f "$ac_im_libdir/libX11.$ac_extension"; then
  5926. ac_im_usrlibdir=$ac_im_libdir; break
  5927. fi
  5928. done
  5929. @@ -5330,7 +5869,7 @@
  5930. # bogus both because they are the default anyway, and because
  5931. # using them would break gcc on systems where it needs fixed includes.
  5932. case $ac_im_incroot in
  5933. - /usr/include) ;;
  5934. + /usr/include) ac_x_includes= ;;
  5935. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  5936. esac
  5937. case $ac_im_usrlibdir in
  5938. @@ -5339,7 +5878,7 @@
  5939. esac
  5940. fi
  5941. cd ..
  5942. - rm -fr conftest.dir
  5943. + rm -f -r conftest.dir
  5944. fi
  5945. # Standard set of common directories for X headers.
  5946. @@ -5380,7 +5919,7 @@
  5947. /usr/openwin/share/include'
  5948. if test "$ac_x_includes" = no; then
  5949. - # Guess where to find include files, by looking for Intrinsic.h.
  5950. + # Guess where to find include files, by looking for Xlib.h.
  5951. # First, try using that file with no special directory specified.
  5952. cat >conftest.$ac_ext <<_ACEOF
  5953. /* confdefs.h. */
  5954. @@ -5388,26 +5927,24 @@
  5955. cat confdefs.h >>conftest.$ac_ext
  5956. cat >>conftest.$ac_ext <<_ACEOF
  5957. /* end confdefs.h. */
  5958. -#include <X11/Intrinsic.h>
  5959. +#include <X11/Xlib.h>
  5960. _ACEOF
  5961. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5962. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5963. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  5964. +case "(($ac_try" in
  5965. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5966. + *) ac_try_echo=$ac_try;;
  5967. +esac
  5968. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5969. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5970. ac_status=$?
  5971. grep -v '^ *+' conftest.er1 >conftest.err
  5972. rm -f conftest.er1
  5973. cat conftest.err >&5
  5974. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5975. - (exit $ac_status); } >/dev/null; then
  5976. - if test -s conftest.err; then
  5977. - ac_cpp_err=$ac_c_preproc_warn_flag
  5978. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5979. - else
  5980. - ac_cpp_err=
  5981. - fi
  5982. -else
  5983. - ac_cpp_err=yes
  5984. -fi
  5985. -if test -z "$ac_cpp_err"; then
  5986. + (exit $ac_status); } >/dev/null && {
  5987. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5988. + test ! -s conftest.err
  5989. + }; then
  5990. # We can compile using X headers with no special include directory.
  5991. ac_x_includes=
  5992. else
  5993. @@ -5415,12 +5952,13 @@
  5994. sed 's/^/| /' conftest.$ac_ext >&5
  5995. for ac_dir in $ac_x_header_dirs; do
  5996. - if test -r "$ac_dir/X11/Intrinsic.h"; then
  5997. + if test -r "$ac_dir/X11/Xlib.h"; then
  5998. ac_x_includes=$ac_dir
  5999. break
  6000. fi
  6001. done
  6002. fi
  6003. +
  6004. rm -f conftest.err conftest.$ac_ext
  6005. fi # $ac_x_includes = no
  6006. @@ -5429,44 +5967,40 @@
  6007. # See if we find them without any special options.
  6008. # Don't add to $LIBS permanently.
  6009. ac_save_LIBS=$LIBS
  6010. - LIBS="-lXt $LIBS"
  6011. + LIBS="-lX11 $LIBS"
  6012. cat >conftest.$ac_ext <<_ACEOF
  6013. /* confdefs.h. */
  6014. _ACEOF
  6015. cat confdefs.h >>conftest.$ac_ext
  6016. cat >>conftest.$ac_ext <<_ACEOF
  6017. /* end confdefs.h. */
  6018. -#include <X11/Intrinsic.h>
  6019. +#include <X11/Xlib.h>
  6020. int
  6021. main ()
  6022. {
  6023. -XtMalloc (0)
  6024. +XrmInitialize ()
  6025. ;
  6026. return 0;
  6027. }
  6028. _ACEOF
  6029. rm -f conftest.$ac_objext conftest$ac_exeext
  6030. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6031. - (eval $ac_link) 2>conftest.er1
  6032. +if { (ac_try="$ac_link"
  6033. +case "(($ac_try" in
  6034. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6035. + *) ac_try_echo=$ac_try;;
  6036. +esac
  6037. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6038. + (eval "$ac_link") 2>conftest.er1
  6039. ac_status=$?
  6040. grep -v '^ *+' conftest.er1 >conftest.err
  6041. rm -f conftest.er1
  6042. cat conftest.err >&5
  6043. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6044. - (exit $ac_status); } &&
  6045. - { ac_try='test -z "$ac_c_werror_flag"
  6046. - || test ! -s conftest.err'
  6047. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6048. - (eval $ac_try) 2>&5
  6049. - ac_status=$?
  6050. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6051. - (exit $ac_status); }; } &&
  6052. - { ac_try='test -s conftest$ac_exeext'
  6053. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6054. - (eval $ac_try) 2>&5
  6055. - ac_status=$?
  6056. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6057. - (exit $ac_status); }; }; then
  6058. + (exit $ac_status); } && {
  6059. + test -z "$ac_c_werror_flag" ||
  6060. + test ! -s conftest.err
  6061. + } && test -s conftest$ac_exeext &&
  6062. + $as_test_x conftest$ac_exeext; then
  6063. LIBS=$ac_save_LIBS
  6064. # We can link X programs with no special library path.
  6065. ac_x_libraries=
  6066. @@ -5474,49 +6008,54 @@
  6067. echo "$as_me: failed program was:" >&5
  6068. sed 's/^/| /' conftest.$ac_ext >&5
  6069. -LIBS=$ac_save_LIBS
  6070. + LIBS=$ac_save_LIBS
  6071. for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  6072. do
  6073. # Don't even attempt the hair of trying to link an X program!
  6074. for ac_extension in a so sl; do
  6075. - if test -r $ac_dir/libXt.$ac_extension; then
  6076. + if test -r "$ac_dir/libX11.$ac_extension"; then
  6077. ac_x_libraries=$ac_dir
  6078. break 2
  6079. fi
  6080. done
  6081. done
  6082. fi
  6083. -rm -f conftest.err conftest.$ac_objext \
  6084. +
  6085. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6086. conftest$ac_exeext conftest.$ac_ext
  6087. fi # $ac_x_libraries = no
  6088. -if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  6089. - # Didn't find X anywhere. Cache the known absence of X.
  6090. - ac_cv_have_x="have_x=no"
  6091. -else
  6092. - # Record where we found X for the cache.
  6093. - ac_cv_have_x="have_x=yes \
  6094. - ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
  6095. -fi
  6096. +case $ac_x_includes,$ac_x_libraries in #(
  6097. + no,* | *,no | *\'*)
  6098. + # Didn't find X, or a directory has "'" in its name.
  6099. + ac_cv_have_x="have_x=no";; #(
  6100. + *)
  6101. + # Record where we found X for the cache.
  6102. + ac_cv_have_x="have_x=yes\
  6103. + ac_x_includes='$ac_x_includes'\
  6104. + ac_x_libraries='$ac_x_libraries'"
  6105. +esac
  6106. fi
  6107. -
  6108. - fi
  6109. +;; #(
  6110. + *) have_x=yes;;
  6111. + esac
  6112. eval "$ac_cv_have_x"
  6113. fi # $with_x != no
  6114. if test "$have_x" != yes; then
  6115. - echo "$as_me:$LINENO: result: $have_x" >&5
  6116. -echo "${ECHO_T}$have_x" >&6
  6117. + { echo "$as_me:$LINENO: result: $have_x" >&5
  6118. +echo "${ECHO_T}$have_x" >&6; }
  6119. no_x=yes
  6120. else
  6121. # If each of the values was on the command line, it overrides each guess.
  6122. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  6123. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  6124. # Update the cache value to reflect the command line values.
  6125. - ac_cv_have_x="have_x=yes \
  6126. - ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  6127. - echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  6128. -echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
  6129. + ac_cv_have_x="have_x=yes\
  6130. + ac_x_includes='$x_includes'\
  6131. + ac_x_libraries='$x_libraries'"
  6132. + { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  6133. +echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
  6134. fi
  6135. if test "$no_x" = yes; then
  6136. @@ -5537,12 +6076,12 @@
  6137. X_LIBS="$X_LIBS -L$x_libraries"
  6138. # For Solaris; some versions of Sun CC require a space after -R and
  6139. # others require no space. Words are not sufficient . . . .
  6140. - case `(uname -sr) 2>/dev/null` in
  6141. - "SunOS 5"*)
  6142. - echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
  6143. -echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
  6144. - ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  6145. - cat >conftest.$ac_ext <<_ACEOF
  6146. + { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
  6147. +echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
  6148. + ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  6149. + ac_xsave_c_werror_flag=$ac_c_werror_flag
  6150. + ac_c_werror_flag=yes
  6151. + cat >conftest.$ac_ext <<_ACEOF
  6152. /* confdefs.h. */
  6153. _ACEOF
  6154. cat confdefs.h >>conftest.$ac_ext
  6155. @@ -5558,43 +6097,32 @@
  6156. }
  6157. _ACEOF
  6158. rm -f conftest.$ac_objext conftest$ac_exeext
  6159. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6160. - (eval $ac_link) 2>conftest.er1
  6161. +if { (ac_try="$ac_link"
  6162. +case "(($ac_try" in
  6163. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6164. + *) ac_try_echo=$ac_try;;
  6165. +esac
  6166. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6167. + (eval "$ac_link") 2>conftest.er1
  6168. ac_status=$?
  6169. grep -v '^ *+' conftest.er1 >conftest.err
  6170. rm -f conftest.er1
  6171. cat conftest.err >&5
  6172. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6173. - (exit $ac_status); } &&
  6174. - { ac_try='test -z "$ac_c_werror_flag"
  6175. - || test ! -s conftest.err'
  6176. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6177. - (eval $ac_try) 2>&5
  6178. - ac_status=$?
  6179. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6180. - (exit $ac_status); }; } &&
  6181. - { ac_try='test -s conftest$ac_exeext'
  6182. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6183. - (eval $ac_try) 2>&5
  6184. - ac_status=$?
  6185. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6186. - (exit $ac_status); }; }; then
  6187. - ac_R_nospace=yes
  6188. + (exit $ac_status); } && {
  6189. + test -z "$ac_c_werror_flag" ||
  6190. + test ! -s conftest.err
  6191. + } && test -s conftest$ac_exeext &&
  6192. + $as_test_x conftest$ac_exeext; then
  6193. + { echo "$as_me:$LINENO: result: no" >&5
  6194. +echo "${ECHO_T}no" >&6; }
  6195. + X_LIBS="$X_LIBS -R$x_libraries"
  6196. else
  6197. echo "$as_me: failed program was:" >&5
  6198. sed 's/^/| /' conftest.$ac_ext >&5
  6199. -ac_R_nospace=no
  6200. -fi
  6201. -rm -f conftest.err conftest.$ac_objext \
  6202. - conftest$ac_exeext conftest.$ac_ext
  6203. - if test $ac_R_nospace = yes; then
  6204. - echo "$as_me:$LINENO: result: no" >&5
  6205. -echo "${ECHO_T}no" >&6
  6206. - X_LIBS="$X_LIBS -R$x_libraries"
  6207. - else
  6208. LIBS="$ac_xsave_LIBS -R $x_libraries"
  6209. - cat >conftest.$ac_ext <<_ACEOF
  6210. + cat >conftest.$ac_ext <<_ACEOF
  6211. /* confdefs.h. */
  6212. _ACEOF
  6213. cat confdefs.h >>conftest.$ac_ext
  6214. @@ -5610,47 +6138,42 @@
  6215. }
  6216. _ACEOF
  6217. rm -f conftest.$ac_objext conftest$ac_exeext
  6218. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6219. - (eval $ac_link) 2>conftest.er1
  6220. +if { (ac_try="$ac_link"
  6221. +case "(($ac_try" in
  6222. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6223. + *) ac_try_echo=$ac_try;;
  6224. +esac
  6225. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6226. + (eval "$ac_link") 2>conftest.er1
  6227. ac_status=$?
  6228. grep -v '^ *+' conftest.er1 >conftest.err
  6229. rm -f conftest.er1
  6230. cat conftest.err >&5
  6231. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6232. - (exit $ac_status); } &&
  6233. - { ac_try='test -z "$ac_c_werror_flag"
  6234. - || test ! -s conftest.err'
  6235. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6236. - (eval $ac_try) 2>&5
  6237. - ac_status=$?
  6238. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6239. - (exit $ac_status); }; } &&
  6240. - { ac_try='test -s conftest$ac_exeext'
  6241. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6242. - (eval $ac_try) 2>&5
  6243. - ac_status=$?
  6244. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6245. - (exit $ac_status); }; }; then
  6246. - ac_R_space=yes
  6247. + (exit $ac_status); } && {
  6248. + test -z "$ac_c_werror_flag" ||
  6249. + test ! -s conftest.err
  6250. + } && test -s conftest$ac_exeext &&
  6251. + $as_test_x conftest$ac_exeext; then
  6252. + { echo "$as_me:$LINENO: result: yes" >&5
  6253. +echo "${ECHO_T}yes" >&6; }
  6254. + X_LIBS="$X_LIBS -R $x_libraries"
  6255. else
  6256. echo "$as_me: failed program was:" >&5
  6257. sed 's/^/| /' conftest.$ac_ext >&5
  6258. -ac_R_space=no
  6259. + { echo "$as_me:$LINENO: result: neither works" >&5
  6260. +echo "${ECHO_T}neither works" >&6; }
  6261. +fi
  6262. +
  6263. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6264. + conftest$ac_exeext conftest.$ac_ext
  6265. fi
  6266. -rm -f conftest.err conftest.$ac_objext \
  6267. +
  6268. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6269. conftest$ac_exeext conftest.$ac_ext
  6270. - if test $ac_R_space = yes; then
  6271. - echo "$as_me:$LINENO: result: yes" >&5
  6272. -echo "${ECHO_T}yes" >&6
  6273. - X_LIBS="$X_LIBS -R $x_libraries"
  6274. - else
  6275. - echo "$as_me:$LINENO: result: neither works" >&5
  6276. -echo "${ECHO_T}neither works" >&6
  6277. - fi
  6278. - fi
  6279. - LIBS=$ac_xsave_LIBS
  6280. - esac
  6281. + ac_c_werror_flag=$ac_xsave_c_werror_flag
  6282. + LIBS=$ac_xsave_LIBS
  6283. fi
  6284. # Check for system-dependent libraries X programs must link with.
  6285. @@ -5671,50 +6194,46 @@
  6286. cat >>conftest.$ac_ext <<_ACEOF
  6287. /* end confdefs.h. */
  6288. -/* Override any gcc2 internal prototype to avoid an error. */
  6289. +/* Override any GCC internal prototype to avoid an error.
  6290. + Use char because int might match the return type of a GCC
  6291. + builtin and then its argument prototype would still apply. */
  6292. #ifdef __cplusplus
  6293. extern "C"
  6294. #endif
  6295. -/* We use char because int might match the return type of a gcc2
  6296. - builtin and then its argument prototype would still apply. */
  6297. char XOpenDisplay ();
  6298. int
  6299. main ()
  6300. {
  6301. -XOpenDisplay ();
  6302. +return XOpenDisplay ();
  6303. ;
  6304. return 0;
  6305. }
  6306. _ACEOF
  6307. rm -f conftest.$ac_objext conftest$ac_exeext
  6308. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6309. - (eval $ac_link) 2>conftest.er1
  6310. +if { (ac_try="$ac_link"
  6311. +case "(($ac_try" in
  6312. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6313. + *) ac_try_echo=$ac_try;;
  6314. +esac
  6315. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6316. + (eval "$ac_link") 2>conftest.er1
  6317. ac_status=$?
  6318. grep -v '^ *+' conftest.er1 >conftest.err
  6319. rm -f conftest.er1
  6320. cat conftest.err >&5
  6321. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6322. - (exit $ac_status); } &&
  6323. - { ac_try='test -z "$ac_c_werror_flag"
  6324. - || test ! -s conftest.err'
  6325. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6326. - (eval $ac_try) 2>&5
  6327. - ac_status=$?
  6328. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6329. - (exit $ac_status); }; } &&
  6330. - { ac_try='test -s conftest$ac_exeext'
  6331. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6332. - (eval $ac_try) 2>&5
  6333. - ac_status=$?
  6334. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6335. - (exit $ac_status); }; }; then
  6336. + (exit $ac_status); } && {
  6337. + test -z "$ac_c_werror_flag" ||
  6338. + test ! -s conftest.err
  6339. + } && test -s conftest$ac_exeext &&
  6340. + $as_test_x conftest$ac_exeext; then
  6341. :
  6342. else
  6343. echo "$as_me: failed program was:" >&5
  6344. sed 's/^/| /' conftest.$ac_ext >&5
  6345. -echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
  6346. -echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
  6347. + { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
  6348. +echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
  6349. if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
  6350. echo $ECHO_N "(cached) $ECHO_C" >&6
  6351. else
  6352. @@ -5727,63 +6246,60 @@
  6353. cat >>conftest.$ac_ext <<_ACEOF
  6354. /* end confdefs.h. */
  6355. -/* Override any gcc2 internal prototype to avoid an error. */
  6356. +/* Override any GCC internal prototype to avoid an error.
  6357. + Use char because int might match the return type of a GCC
  6358. + builtin and then its argument prototype would still apply. */
  6359. #ifdef __cplusplus
  6360. extern "C"
  6361. #endif
  6362. -/* We use char because int might match the return type of a gcc2
  6363. - builtin and then its argument prototype would still apply. */
  6364. char dnet_ntoa ();
  6365. int
  6366. main ()
  6367. {
  6368. -dnet_ntoa ();
  6369. +return dnet_ntoa ();
  6370. ;
  6371. return 0;
  6372. }
  6373. _ACEOF
  6374. rm -f conftest.$ac_objext conftest$ac_exeext
  6375. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6376. - (eval $ac_link) 2>conftest.er1
  6377. +if { (ac_try="$ac_link"
  6378. +case "(($ac_try" in
  6379. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6380. + *) ac_try_echo=$ac_try;;
  6381. +esac
  6382. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 -z "$ac_c_werror_flag"
  6391. - || 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. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6402. - (exit $ac_status); }; }; then
  6403. + (exit $ac_status); } && {
  6404. + test -z "$ac_c_werror_flag" ||
  6405. + test ! -s conftest.err
  6406. + } && test -s conftest$ac_exeext &&
  6407. + $as_test_x conftest$ac_exeext; then
  6408. ac_cv_lib_dnet_dnet_ntoa=yes
  6409. else
  6410. echo "$as_me: failed program was:" >&5
  6411. sed 's/^/| /' conftest.$ac_ext >&5
  6412. -ac_cv_lib_dnet_dnet_ntoa=no
  6413. + ac_cv_lib_dnet_dnet_ntoa=no
  6414. fi
  6415. -rm -f conftest.err conftest.$ac_objext \
  6416. +
  6417. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6418. conftest$ac_exeext conftest.$ac_ext
  6419. LIBS=$ac_check_lib_save_LIBS
  6420. fi
  6421. -echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  6422. -echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
  6423. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  6424. +echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  6425. if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
  6426. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  6427. fi
  6428. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  6429. - echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
  6430. -echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
  6431. + { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
  6432. +echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
  6433. if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
  6434. echo $ECHO_N "(cached) $ECHO_C" >&6
  6435. else
  6436. @@ -5796,63 +6312,61 @@
  6437. cat >>conftest.$ac_ext <<_ACEOF
  6438. /* end confdefs.h. */
  6439. -/* Override any gcc2 internal prototype to avoid an error. */
  6440. +/* Override any GCC internal prototype to avoid an error.
  6441. + Use char because int might match the return type of a GCC
  6442. + builtin and then its argument prototype would still apply. */
  6443. #ifdef __cplusplus
  6444. extern "C"
  6445. #endif
  6446. -/* We use char because int might match the return type of a gcc2
  6447. - builtin and then its argument prototype would still apply. */
  6448. char dnet_ntoa ();
  6449. int
  6450. main ()
  6451. {
  6452. -dnet_ntoa ();
  6453. +return dnet_ntoa ();
  6454. ;
  6455. return 0;
  6456. }
  6457. _ACEOF
  6458. rm -f conftest.$ac_objext conftest$ac_exeext
  6459. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6460. - (eval $ac_link) 2>conftest.er1
  6461. +if { (ac_try="$ac_link"
  6462. +case "(($ac_try" in
  6463. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6464. + *) ac_try_echo=$ac_try;;
  6465. +esac
  6466. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6467. + (eval "$ac_link") 2>conftest.er1
  6468. ac_status=$?
  6469. grep -v '^ *+' conftest.er1 >conftest.err
  6470. rm -f conftest.er1
  6471. cat conftest.err >&5
  6472. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6473. - (exit $ac_status); } &&
  6474. - { ac_try='test -z "$ac_c_werror_flag"
  6475. - || test ! -s conftest.err'
  6476. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6477. - (eval $ac_try) 2>&5
  6478. - ac_status=$?
  6479. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6480. - (exit $ac_status); }; } &&
  6481. - { ac_try='test -s conftest$ac_exeext'
  6482. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6483. - (eval $ac_try) 2>&5
  6484. - ac_status=$?
  6485. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6486. - (exit $ac_status); }; }; then
  6487. + (exit $ac_status); } && {
  6488. + test -z "$ac_c_werror_flag" ||
  6489. + test ! -s conftest.err
  6490. + } && test -s conftest$ac_exeext &&
  6491. + $as_test_x conftest$ac_exeext; then
  6492. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  6493. else
  6494. echo "$as_me: failed program was:" >&5
  6495. sed 's/^/| /' conftest.$ac_ext >&5
  6496. -ac_cv_lib_dnet_stub_dnet_ntoa=no
  6497. + ac_cv_lib_dnet_stub_dnet_ntoa=no
  6498. fi
  6499. -rm -f conftest.err conftest.$ac_objext \
  6500. +
  6501. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6502. conftest$ac_exeext conftest.$ac_ext
  6503. LIBS=$ac_check_lib_save_LIBS
  6504. fi
  6505. -echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  6506. -echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
  6507. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  6508. +echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  6509. if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
  6510. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  6511. fi
  6512. fi
  6513. fi
  6514. -rm -f conftest.err conftest.$ac_objext \
  6515. +
  6516. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6517. conftest$ac_exeext conftest.$ac_ext
  6518. LIBS="$ac_xsave_LIBS"
  6519. @@ -5864,8 +6378,8 @@
  6520. # on Irix 5.2, according to T.E. Dickey.
  6521. # The functions gethostbyname, getservbyname, and inet_addr are
  6522. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  6523. - echo "$as_me:$LINENO: checking for gethostbyname" >&5
  6524. -echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
  6525. + { echo "$as_me:$LINENO: checking for gethostbyname" >&5
  6526. +echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
  6527. if test "${ac_cv_func_gethostbyname+set}" = set; then
  6528. echo $ECHO_N "(cached) $ECHO_C" >&6
  6529. else
  6530. @@ -5892,72 +6406,63 @@
  6531. #undef gethostbyname
  6532. -/* Override any gcc2 internal prototype to avoid an error. */
  6533. +/* Override any GCC internal prototype to avoid an error.
  6534. + Use char because int might match the return type of a GCC
  6535. + builtin and then its argument prototype would still apply. */
  6536. #ifdef __cplusplus
  6537. extern "C"
  6538. -{
  6539. #endif
  6540. -/* We use char because int might match the return type of a gcc2
  6541. - builtin and then its argument prototype would still apply. */
  6542. char gethostbyname ();
  6543. /* The GNU C library defines this for functions which it implements
  6544. to always fail with ENOSYS. Some functions are actually named
  6545. something starting with __ and the normal name is an alias. */
  6546. -#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
  6547. +#if defined __stub_gethostbyname || defined __stub___gethostbyname
  6548. choke me
  6549. -#else
  6550. -char (*f) () = gethostbyname;
  6551. -#endif
  6552. -#ifdef __cplusplus
  6553. -}
  6554. #endif
  6555. int
  6556. main ()
  6557. {
  6558. -return f != gethostbyname;
  6559. +return gethostbyname ();
  6560. ;
  6561. return 0;
  6562. }
  6563. _ACEOF
  6564. rm -f conftest.$ac_objext conftest$ac_exeext
  6565. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6566. - (eval $ac_link) 2>conftest.er1
  6567. +if { (ac_try="$ac_link"
  6568. +case "(($ac_try" in
  6569. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6570. + *) ac_try_echo=$ac_try;;
  6571. +esac
  6572. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6573. + (eval "$ac_link") 2>conftest.er1
  6574. ac_status=$?
  6575. grep -v '^ *+' conftest.er1 >conftest.err
  6576. rm -f conftest.er1
  6577. cat conftest.err >&5
  6578. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6579. - (exit $ac_status); } &&
  6580. - { ac_try='test -z "$ac_c_werror_flag"
  6581. - || test ! -s conftest.err'
  6582. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6583. - (eval $ac_try) 2>&5
  6584. - ac_status=$?
  6585. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6586. - (exit $ac_status); }; } &&
  6587. - { ac_try='test -s conftest$ac_exeext'
  6588. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6589. - (eval $ac_try) 2>&5
  6590. - ac_status=$?
  6591. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6592. - (exit $ac_status); }; }; then
  6593. + (exit $ac_status); } && {
  6594. + test -z "$ac_c_werror_flag" ||
  6595. + test ! -s conftest.err
  6596. + } && test -s conftest$ac_exeext &&
  6597. + $as_test_x conftest$ac_exeext; then
  6598. ac_cv_func_gethostbyname=yes
  6599. else
  6600. echo "$as_me: failed program was:" >&5
  6601. sed 's/^/| /' conftest.$ac_ext >&5
  6602. -ac_cv_func_gethostbyname=no
  6603. + ac_cv_func_gethostbyname=no
  6604. fi
  6605. -rm -f conftest.err conftest.$ac_objext \
  6606. +
  6607. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6608. conftest$ac_exeext conftest.$ac_ext
  6609. fi
  6610. -echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
  6611. -echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
  6612. +{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
  6613. +echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
  6614. if test $ac_cv_func_gethostbyname = no; then
  6615. - echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  6616. -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
  6617. + { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  6618. +echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
  6619. if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  6620. echo $ECHO_N "(cached) $ECHO_C" >&6
  6621. else
  6622. @@ -5970,63 +6475,60 @@
  6623. cat >>conftest.$ac_ext <<_ACEOF
  6624. /* end confdefs.h. */
  6625. -/* Override any gcc2 internal prototype to avoid an error. */
  6626. +/* Override any GCC internal prototype to avoid an error.
  6627. + Use char because int might match the return type of a GCC
  6628. + builtin and then its argument prototype would still apply. */
  6629. #ifdef __cplusplus
  6630. extern "C"
  6631. #endif
  6632. -/* We use char because int might match the return type of a gcc2
  6633. - builtin and then its argument prototype would still apply. */
  6634. char gethostbyname ();
  6635. int
  6636. main ()
  6637. {
  6638. -gethostbyname ();
  6639. +return gethostbyname ();
  6640. ;
  6641. return 0;
  6642. }
  6643. _ACEOF
  6644. rm -f conftest.$ac_objext conftest$ac_exeext
  6645. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6646. - (eval $ac_link) 2>conftest.er1
  6647. +if { (ac_try="$ac_link"
  6648. +case "(($ac_try" in
  6649. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6650. + *) ac_try_echo=$ac_try;;
  6651. +esac
  6652. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6653. + (eval "$ac_link") 2>conftest.er1
  6654. ac_status=$?
  6655. grep -v '^ *+' conftest.er1 >conftest.err
  6656. rm -f conftest.er1
  6657. cat conftest.err >&5
  6658. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6659. - (exit $ac_status); } &&
  6660. - { ac_try='test -z "$ac_c_werror_flag"
  6661. - || test ! -s conftest.err'
  6662. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6663. - (eval $ac_try) 2>&5
  6664. - ac_status=$?
  6665. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6666. - (exit $ac_status); }; } &&
  6667. - { ac_try='test -s conftest$ac_exeext'
  6668. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6669. - (eval $ac_try) 2>&5
  6670. - ac_status=$?
  6671. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6672. - (exit $ac_status); }; }; then
  6673. + (exit $ac_status); } && {
  6674. + test -z "$ac_c_werror_flag" ||
  6675. + test ! -s conftest.err
  6676. + } && test -s conftest$ac_exeext &&
  6677. + $as_test_x conftest$ac_exeext; then
  6678. ac_cv_lib_nsl_gethostbyname=yes
  6679. else
  6680. echo "$as_me: failed program was:" >&5
  6681. sed 's/^/| /' conftest.$ac_ext >&5
  6682. -ac_cv_lib_nsl_gethostbyname=no
  6683. + ac_cv_lib_nsl_gethostbyname=no
  6684. fi
  6685. -rm -f conftest.err conftest.$ac_objext \
  6686. +
  6687. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6688. conftest$ac_exeext conftest.$ac_ext
  6689. LIBS=$ac_check_lib_save_LIBS
  6690. fi
  6691. -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  6692. -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
  6693. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  6694. +echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
  6695. if test $ac_cv_lib_nsl_gethostbyname = yes; then
  6696. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  6697. fi
  6698. if test $ac_cv_lib_nsl_gethostbyname = no; then
  6699. - echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
  6700. -echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
  6701. + { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
  6702. +echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
  6703. if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
  6704. echo $ECHO_N "(cached) $ECHO_C" >&6
  6705. else
  6706. @@ -6039,56 +6541,53 @@
  6707. cat >>conftest.$ac_ext <<_ACEOF
  6708. /* end confdefs.h. */
  6709. -/* Override any gcc2 internal prototype to avoid an error. */
  6710. +/* Override any GCC internal prototype to avoid an error.
  6711. + Use char because int might match the return type of a GCC
  6712. + builtin and then its argument prototype would still apply. */
  6713. #ifdef __cplusplus
  6714. extern "C"
  6715. #endif
  6716. -/* We use char because int might match the return type of a gcc2
  6717. - builtin and then its argument prototype would still apply. */
  6718. char gethostbyname ();
  6719. int
  6720. main ()
  6721. {
  6722. -gethostbyname ();
  6723. +return gethostbyname ();
  6724. ;
  6725. return 0;
  6726. }
  6727. _ACEOF
  6728. rm -f conftest.$ac_objext conftest$ac_exeext
  6729. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6730. - (eval $ac_link) 2>conftest.er1
  6731. +if { (ac_try="$ac_link"
  6732. +case "(($ac_try" in
  6733. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6734. + *) ac_try_echo=$ac_try;;
  6735. +esac
  6736. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6737. + (eval "$ac_link") 2>conftest.er1
  6738. ac_status=$?
  6739. grep -v '^ *+' conftest.er1 >conftest.err
  6740. rm -f conftest.er1
  6741. cat conftest.err >&5
  6742. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6743. - (exit $ac_status); } &&
  6744. - { ac_try='test -z "$ac_c_werror_flag"
  6745. - || test ! -s conftest.err'
  6746. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6747. - (eval $ac_try) 2>&5
  6748. - ac_status=$?
  6749. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6750. - (exit $ac_status); }; } &&
  6751. - { ac_try='test -s conftest$ac_exeext'
  6752. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6753. - (eval $ac_try) 2>&5
  6754. - ac_status=$?
  6755. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6756. - (exit $ac_status); }; }; then
  6757. + (exit $ac_status); } && {
  6758. + test -z "$ac_c_werror_flag" ||
  6759. + test ! -s conftest.err
  6760. + } && test -s conftest$ac_exeext &&
  6761. + $as_test_x conftest$ac_exeext; then
  6762. ac_cv_lib_bsd_gethostbyname=yes
  6763. else
  6764. echo "$as_me: failed program was:" >&5
  6765. sed 's/^/| /' conftest.$ac_ext >&5
  6766. -ac_cv_lib_bsd_gethostbyname=no
  6767. + ac_cv_lib_bsd_gethostbyname=no
  6768. fi
  6769. -rm -f conftest.err conftest.$ac_objext \
  6770. +
  6771. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6772. conftest$ac_exeext conftest.$ac_ext
  6773. LIBS=$ac_check_lib_save_LIBS
  6774. fi
  6775. -echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
  6776. -echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
  6777. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
  6778. +echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
  6779. if test $ac_cv_lib_bsd_gethostbyname = yes; then
  6780. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  6781. fi
  6782. @@ -6103,8 +6602,8 @@
  6783. # variants that don't use the name server (or something). -lsocket
  6784. # must be given before -lnsl if both are needed. We assume that
  6785. # if connect needs -lnsl, so does gethostbyname.
  6786. - echo "$as_me:$LINENO: checking for connect" >&5
  6787. -echo $ECHO_N "checking for connect... $ECHO_C" >&6
  6788. + { echo "$as_me:$LINENO: checking for connect" >&5
  6789. +echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
  6790. if test "${ac_cv_func_connect+set}" = set; then
  6791. echo $ECHO_N "(cached) $ECHO_C" >&6
  6792. else
  6793. @@ -6131,72 +6630,63 @@
  6794. #undef connect
  6795. -/* Override any gcc2 internal prototype to avoid an error. */
  6796. +/* Override any GCC internal prototype to avoid an error.
  6797. + Use char because int might match the return type of a GCC
  6798. + builtin and then its argument prototype would still apply. */
  6799. #ifdef __cplusplus
  6800. extern "C"
  6801. -{
  6802. #endif
  6803. -/* We use char because int might match the return type of a gcc2
  6804. - builtin and then its argument prototype would still apply. */
  6805. char connect ();
  6806. /* The GNU C library defines this for functions which it implements
  6807. to always fail with ENOSYS. Some functions are actually named
  6808. something starting with __ and the normal name is an alias. */
  6809. -#if defined (__stub_connect) || defined (__stub___connect)
  6810. +#if defined __stub_connect || defined __stub___connect
  6811. choke me
  6812. -#else
  6813. -char (*f) () = connect;
  6814. -#endif
  6815. -#ifdef __cplusplus
  6816. -}
  6817. #endif
  6818. int
  6819. main ()
  6820. {
  6821. -return f != connect;
  6822. +return connect ();
  6823. ;
  6824. return 0;
  6825. }
  6826. _ACEOF
  6827. rm -f conftest.$ac_objext conftest$ac_exeext
  6828. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6829. - (eval $ac_link) 2>conftest.er1
  6830. +if { (ac_try="$ac_link"
  6831. +case "(($ac_try" in
  6832. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6833. + *) ac_try_echo=$ac_try;;
  6834. +esac
  6835. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6836. + (eval "$ac_link") 2>conftest.er1
  6837. ac_status=$?
  6838. grep -v '^ *+' conftest.er1 >conftest.err
  6839. rm -f conftest.er1
  6840. cat conftest.err >&5
  6841. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6842. - (exit $ac_status); } &&
  6843. - { ac_try='test -z "$ac_c_werror_flag"
  6844. - || test ! -s conftest.err'
  6845. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6846. - (eval $ac_try) 2>&5
  6847. - ac_status=$?
  6848. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6849. - (exit $ac_status); }; } &&
  6850. - { ac_try='test -s conftest$ac_exeext'
  6851. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6852. - (eval $ac_try) 2>&5
  6853. - ac_status=$?
  6854. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6855. - (exit $ac_status); }; }; then
  6856. + (exit $ac_status); } && {
  6857. + test -z "$ac_c_werror_flag" ||
  6858. + test ! -s conftest.err
  6859. + } && test -s conftest$ac_exeext &&
  6860. + $as_test_x conftest$ac_exeext; then
  6861. ac_cv_func_connect=yes
  6862. else
  6863. echo "$as_me: failed program was:" >&5
  6864. sed 's/^/| /' conftest.$ac_ext >&5
  6865. -ac_cv_func_connect=no
  6866. + ac_cv_func_connect=no
  6867. fi
  6868. -rm -f conftest.err conftest.$ac_objext \
  6869. +
  6870. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6871. conftest$ac_exeext conftest.$ac_ext
  6872. fi
  6873. -echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
  6874. -echo "${ECHO_T}$ac_cv_func_connect" >&6
  6875. +{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
  6876. +echo "${ECHO_T}$ac_cv_func_connect" >&6; }
  6877. if test $ac_cv_func_connect = no; then
  6878. - echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
  6879. -echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
  6880. + { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
  6881. +echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
  6882. if test "${ac_cv_lib_socket_connect+set}" = set; then
  6883. echo $ECHO_N "(cached) $ECHO_C" >&6
  6884. else
  6885. @@ -6209,56 +6699,53 @@
  6886. cat >>conftest.$ac_ext <<_ACEOF
  6887. /* end confdefs.h. */
  6888. -/* Override any gcc2 internal prototype to avoid an error. */
  6889. +/* Override any GCC internal prototype to avoid an error.
  6890. + Use char because int might match the return type of a GCC
  6891. + builtin and then its argument prototype would still apply. */
  6892. #ifdef __cplusplus
  6893. extern "C"
  6894. #endif
  6895. -/* We use char because int might match the return type of a gcc2
  6896. - builtin and then its argument prototype would still apply. */
  6897. char connect ();
  6898. int
  6899. main ()
  6900. {
  6901. -connect ();
  6902. +return connect ();
  6903. ;
  6904. return 0;
  6905. }
  6906. _ACEOF
  6907. rm -f conftest.$ac_objext conftest$ac_exeext
  6908. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6909. - (eval $ac_link) 2>conftest.er1
  6910. +if { (ac_try="$ac_link"
  6911. +case "(($ac_try" in
  6912. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6913. + *) ac_try_echo=$ac_try;;
  6914. +esac
  6915. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6916. + (eval "$ac_link") 2>conftest.er1
  6917. ac_status=$?
  6918. grep -v '^ *+' conftest.er1 >conftest.err
  6919. rm -f conftest.er1
  6920. cat conftest.err >&5
  6921. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6922. - (exit $ac_status); } &&
  6923. - { ac_try='test -z "$ac_c_werror_flag"
  6924. - || test ! -s conftest.err'
  6925. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6926. - (eval $ac_try) 2>&5
  6927. - ac_status=$?
  6928. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6929. - (exit $ac_status); }; } &&
  6930. - { ac_try='test -s conftest$ac_exeext'
  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); }; }; then
  6936. + (exit $ac_status); } && {
  6937. + test -z "$ac_c_werror_flag" ||
  6938. + test ! -s conftest.err
  6939. + } && test -s conftest$ac_exeext &&
  6940. + $as_test_x conftest$ac_exeext; then
  6941. ac_cv_lib_socket_connect=yes
  6942. else
  6943. echo "$as_me: failed program was:" >&5
  6944. sed 's/^/| /' conftest.$ac_ext >&5
  6945. -ac_cv_lib_socket_connect=no
  6946. + ac_cv_lib_socket_connect=no
  6947. fi
  6948. -rm -f conftest.err conftest.$ac_objext \
  6949. +
  6950. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6951. conftest$ac_exeext conftest.$ac_ext
  6952. LIBS=$ac_check_lib_save_LIBS
  6953. fi
  6954. -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
  6955. -echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
  6956. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
  6957. +echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
  6958. if test $ac_cv_lib_socket_connect = yes; then
  6959. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  6960. fi
  6961. @@ -6266,8 +6753,8 @@
  6962. fi
  6963. # Guillermo Gomez says -lposix is necessary on A/UX.
  6964. - echo "$as_me:$LINENO: checking for remove" >&5
  6965. -echo $ECHO_N "checking for remove... $ECHO_C" >&6
  6966. + { echo "$as_me:$LINENO: checking for remove" >&5
  6967. +echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
  6968. if test "${ac_cv_func_remove+set}" = set; then
  6969. echo $ECHO_N "(cached) $ECHO_C" >&6
  6970. else
  6971. @@ -6294,72 +6781,63 @@
  6972. #undef remove
  6973. -/* Override any gcc2 internal prototype to avoid an error. */
  6974. +/* Override any GCC internal prototype to avoid an error.
  6975. + Use char because int might match the return type of a GCC
  6976. + builtin and then its argument prototype would still apply. */
  6977. #ifdef __cplusplus
  6978. extern "C"
  6979. -{
  6980. #endif
  6981. -/* We use char because int might match the return type of a gcc2
  6982. - builtin and then its argument prototype would still apply. */
  6983. char remove ();
  6984. /* The GNU C library defines this for functions which it implements
  6985. to always fail with ENOSYS. Some functions are actually named
  6986. something starting with __ and the normal name is an alias. */
  6987. -#if defined (__stub_remove) || defined (__stub___remove)
  6988. +#if defined __stub_remove || defined __stub___remove
  6989. choke me
  6990. -#else
  6991. -char (*f) () = remove;
  6992. -#endif
  6993. -#ifdef __cplusplus
  6994. -}
  6995. #endif
  6996. int
  6997. main ()
  6998. {
  6999. -return f != remove;
  7000. +return remove ();
  7001. ;
  7002. return 0;
  7003. }
  7004. _ACEOF
  7005. rm -f conftest.$ac_objext conftest$ac_exeext
  7006. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7007. - (eval $ac_link) 2>conftest.er1
  7008. +if { (ac_try="$ac_link"
  7009. +case "(($ac_try" in
  7010. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7011. + *) ac_try_echo=$ac_try;;
  7012. +esac
  7013. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7014. + (eval "$ac_link") 2>conftest.er1
  7015. ac_status=$?
  7016. grep -v '^ *+' conftest.er1 >conftest.err
  7017. rm -f conftest.er1
  7018. cat conftest.err >&5
  7019. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7020. - (exit $ac_status); } &&
  7021. - { ac_try='test -z "$ac_c_werror_flag"
  7022. - || test ! -s conftest.err'
  7023. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7024. - (eval $ac_try) 2>&5
  7025. - ac_status=$?
  7026. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7027. - (exit $ac_status); }; } &&
  7028. - { ac_try='test -s conftest$ac_exeext'
  7029. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7030. - (eval $ac_try) 2>&5
  7031. - ac_status=$?
  7032. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7033. - (exit $ac_status); }; }; then
  7034. + (exit $ac_status); } && {
  7035. + test -z "$ac_c_werror_flag" ||
  7036. + test ! -s conftest.err
  7037. + } && test -s conftest$ac_exeext &&
  7038. + $as_test_x conftest$ac_exeext; then
  7039. ac_cv_func_remove=yes
  7040. else
  7041. echo "$as_me: failed program was:" >&5
  7042. sed 's/^/| /' conftest.$ac_ext >&5
  7043. -ac_cv_func_remove=no
  7044. + ac_cv_func_remove=no
  7045. fi
  7046. -rm -f conftest.err conftest.$ac_objext \
  7047. +
  7048. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7049. conftest$ac_exeext conftest.$ac_ext
  7050. fi
  7051. -echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
  7052. -echo "${ECHO_T}$ac_cv_func_remove" >&6
  7053. +{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
  7054. +echo "${ECHO_T}$ac_cv_func_remove" >&6; }
  7055. if test $ac_cv_func_remove = no; then
  7056. - echo "$as_me:$LINENO: checking for remove in -lposix" >&5
  7057. -echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
  7058. + { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
  7059. +echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
  7060. if test "${ac_cv_lib_posix_remove+set}" = set; then
  7061. echo $ECHO_N "(cached) $ECHO_C" >&6
  7062. else
  7063. @@ -6372,56 +6850,53 @@
  7064. cat >>conftest.$ac_ext <<_ACEOF
  7065. /* end confdefs.h. */
  7066. -/* Override any gcc2 internal prototype to avoid an error. */
  7067. +/* Override any GCC internal prototype to avoid an error.
  7068. + Use char because int might match the return type of a GCC
  7069. + builtin and then its argument prototype would still apply. */
  7070. #ifdef __cplusplus
  7071. extern "C"
  7072. #endif
  7073. -/* We use char because int might match the return type of a gcc2
  7074. - builtin and then its argument prototype would still apply. */
  7075. char remove ();
  7076. int
  7077. main ()
  7078. {
  7079. -remove ();
  7080. +return remove ();
  7081. ;
  7082. return 0;
  7083. }
  7084. _ACEOF
  7085. rm -f conftest.$ac_objext conftest$ac_exeext
  7086. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7087. - (eval $ac_link) 2>conftest.er1
  7088. +if { (ac_try="$ac_link"
  7089. +case "(($ac_try" in
  7090. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7091. + *) ac_try_echo=$ac_try;;
  7092. +esac
  7093. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7094. + (eval "$ac_link") 2>conftest.er1
  7095. ac_status=$?
  7096. grep -v '^ *+' conftest.er1 >conftest.err
  7097. rm -f conftest.er1
  7098. cat conftest.err >&5
  7099. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7100. - (exit $ac_status); } &&
  7101. - { ac_try='test -z "$ac_c_werror_flag"
  7102. - || test ! -s conftest.err'
  7103. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7104. - (eval $ac_try) 2>&5
  7105. - ac_status=$?
  7106. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7107. - (exit $ac_status); }; } &&
  7108. - { ac_try='test -s conftest$ac_exeext'
  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); }; }; then
  7114. + (exit $ac_status); } && {
  7115. + test -z "$ac_c_werror_flag" ||
  7116. + test ! -s conftest.err
  7117. + } && test -s conftest$ac_exeext &&
  7118. + $as_test_x conftest$ac_exeext; then
  7119. ac_cv_lib_posix_remove=yes
  7120. else
  7121. echo "$as_me: failed program was:" >&5
  7122. sed 's/^/| /' conftest.$ac_ext >&5
  7123. -ac_cv_lib_posix_remove=no
  7124. + ac_cv_lib_posix_remove=no
  7125. fi
  7126. -rm -f conftest.err conftest.$ac_objext \
  7127. +
  7128. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7129. conftest$ac_exeext conftest.$ac_ext
  7130. LIBS=$ac_check_lib_save_LIBS
  7131. fi
  7132. -echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
  7133. -echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
  7134. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
  7135. +echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
  7136. if test $ac_cv_lib_posix_remove = yes; then
  7137. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  7138. fi
  7139. @@ -6429,8 +6904,8 @@
  7140. fi
  7141. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  7142. - echo "$as_me:$LINENO: checking for shmat" >&5
  7143. -echo $ECHO_N "checking for shmat... $ECHO_C" >&6
  7144. + { echo "$as_me:$LINENO: checking for shmat" >&5
  7145. +echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
  7146. if test "${ac_cv_func_shmat+set}" = set; then
  7147. echo $ECHO_N "(cached) $ECHO_C" >&6
  7148. else
  7149. @@ -6457,72 +6932,63 @@
  7150. #undef shmat
  7151. -/* Override any gcc2 internal prototype to avoid an error. */
  7152. +/* Override any GCC internal prototype to avoid an error.
  7153. + Use char because int might match the return type of a GCC
  7154. + builtin and then its argument prototype would still apply. */
  7155. #ifdef __cplusplus
  7156. extern "C"
  7157. -{
  7158. #endif
  7159. -/* We use char because int might match the return type of a gcc2
  7160. - builtin and then its argument prototype would still apply. */
  7161. char shmat ();
  7162. /* The GNU C library defines this for functions which it implements
  7163. to always fail with ENOSYS. Some functions are actually named
  7164. something starting with __ and the normal name is an alias. */
  7165. -#if defined (__stub_shmat) || defined (__stub___shmat)
  7166. +#if defined __stub_shmat || defined __stub___shmat
  7167. choke me
  7168. -#else
  7169. -char (*f) () = shmat;
  7170. -#endif
  7171. -#ifdef __cplusplus
  7172. -}
  7173. #endif
  7174. int
  7175. main ()
  7176. {
  7177. -return f != shmat;
  7178. +return shmat ();
  7179. ;
  7180. return 0;
  7181. }
  7182. _ACEOF
  7183. rm -f conftest.$ac_objext conftest$ac_exeext
  7184. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7185. - (eval $ac_link) 2>conftest.er1
  7186. +if { (ac_try="$ac_link"
  7187. +case "(($ac_try" in
  7188. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7189. + *) ac_try_echo=$ac_try;;
  7190. +esac
  7191. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7192. + (eval "$ac_link") 2>conftest.er1
  7193. ac_status=$?
  7194. grep -v '^ *+' conftest.er1 >conftest.err
  7195. rm -f conftest.er1
  7196. cat conftest.err >&5
  7197. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7198. - (exit $ac_status); } &&
  7199. - { ac_try='test -z "$ac_c_werror_flag"
  7200. - || test ! -s conftest.err'
  7201. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7202. - (eval $ac_try) 2>&5
  7203. - ac_status=$?
  7204. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7205. - (exit $ac_status); }; } &&
  7206. - { ac_try='test -s conftest$ac_exeext'
  7207. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7208. - (eval $ac_try) 2>&5
  7209. - ac_status=$?
  7210. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7211. - (exit $ac_status); }; }; then
  7212. + (exit $ac_status); } && {
  7213. + test -z "$ac_c_werror_flag" ||
  7214. + test ! -s conftest.err
  7215. + } && test -s conftest$ac_exeext &&
  7216. + $as_test_x conftest$ac_exeext; then
  7217. ac_cv_func_shmat=yes
  7218. else
  7219. echo "$as_me: failed program was:" >&5
  7220. sed 's/^/| /' conftest.$ac_ext >&5
  7221. -ac_cv_func_shmat=no
  7222. + ac_cv_func_shmat=no
  7223. fi
  7224. -rm -f conftest.err conftest.$ac_objext \
  7225. +
  7226. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7227. conftest$ac_exeext conftest.$ac_ext
  7228. fi
  7229. -echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
  7230. -echo "${ECHO_T}$ac_cv_func_shmat" >&6
  7231. +{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
  7232. +echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
  7233. if test $ac_cv_func_shmat = no; then
  7234. - echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
  7235. -echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
  7236. + { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
  7237. +echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
  7238. if test "${ac_cv_lib_ipc_shmat+set}" = set; then
  7239. echo $ECHO_N "(cached) $ECHO_C" >&6
  7240. else
  7241. @@ -6535,56 +7001,53 @@
  7242. cat >>conftest.$ac_ext <<_ACEOF
  7243. /* end confdefs.h. */
  7244. -/* Override any gcc2 internal prototype to avoid an error. */
  7245. +/* Override any GCC internal prototype to avoid an error.
  7246. + Use char because int might match the return type of a GCC
  7247. + builtin and then its argument prototype would still apply. */
  7248. #ifdef __cplusplus
  7249. extern "C"
  7250. #endif
  7251. -/* We use char because int might match the return type of a gcc2
  7252. - builtin and then its argument prototype would still apply. */
  7253. char shmat ();
  7254. int
  7255. main ()
  7256. {
  7257. -shmat ();
  7258. +return shmat ();
  7259. ;
  7260. return 0;
  7261. }
  7262. _ACEOF
  7263. rm -f conftest.$ac_objext conftest$ac_exeext
  7264. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7265. - (eval $ac_link) 2>conftest.er1
  7266. +if { (ac_try="$ac_link"
  7267. +case "(($ac_try" in
  7268. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7269. + *) ac_try_echo=$ac_try;;
  7270. +esac
  7271. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7272. + (eval "$ac_link") 2>conftest.er1
  7273. ac_status=$?
  7274. grep -v '^ *+' conftest.er1 >conftest.err
  7275. rm -f conftest.er1
  7276. cat conftest.err >&5
  7277. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7278. - (exit $ac_status); } &&
  7279. - { ac_try='test -z "$ac_c_werror_flag"
  7280. - || test ! -s conftest.err'
  7281. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7282. - (eval $ac_try) 2>&5
  7283. - ac_status=$?
  7284. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7285. - (exit $ac_status); }; } &&
  7286. - { ac_try='test -s conftest$ac_exeext'
  7287. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7288. - (eval $ac_try) 2>&5
  7289. - ac_status=$?
  7290. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7291. - (exit $ac_status); }; }; then
  7292. + (exit $ac_status); } && {
  7293. + test -z "$ac_c_werror_flag" ||
  7294. + test ! -s conftest.err
  7295. + } && test -s conftest$ac_exeext &&
  7296. + $as_test_x conftest$ac_exeext; then
  7297. ac_cv_lib_ipc_shmat=yes
  7298. else
  7299. echo "$as_me: failed program was:" >&5
  7300. sed 's/^/| /' conftest.$ac_ext >&5
  7301. -ac_cv_lib_ipc_shmat=no
  7302. + ac_cv_lib_ipc_shmat=no
  7303. fi
  7304. -rm -f conftest.err conftest.$ac_objext \
  7305. +
  7306. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7307. conftest$ac_exeext conftest.$ac_ext
  7308. LIBS=$ac_check_lib_save_LIBS
  7309. fi
  7310. -echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
  7311. -echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
  7312. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
  7313. +echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
  7314. if test $ac_cv_lib_ipc_shmat = yes; then
  7315. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  7316. fi
  7317. @@ -6601,8 +7064,8 @@
  7318. # These have to be linked with before -lX11, unlike the other
  7319. # libraries we check for below, so use a different variable.
  7320. # John Interrante, Karl Berry
  7321. - echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
  7322. -echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
  7323. + { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
  7324. +echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
  7325. if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
  7326. echo $ECHO_N "(cached) $ECHO_C" >&6
  7327. else
  7328. @@ -6615,56 +7078,53 @@
  7329. cat >>conftest.$ac_ext <<_ACEOF
  7330. /* end confdefs.h. */
  7331. -/* Override any gcc2 internal prototype to avoid an error. */
  7332. +/* Override any GCC internal prototype to avoid an error.
  7333. + Use char because int might match the return type of a GCC
  7334. + builtin and then its argument prototype would still apply. */
  7335. #ifdef __cplusplus
  7336. extern "C"
  7337. #endif
  7338. -/* We use char because int might match the return type of a gcc2
  7339. - builtin and then its argument prototype would still apply. */
  7340. char IceConnectionNumber ();
  7341. int
  7342. main ()
  7343. {
  7344. -IceConnectionNumber ();
  7345. +return IceConnectionNumber ();
  7346. ;
  7347. return 0;
  7348. }
  7349. _ACEOF
  7350. rm -f conftest.$ac_objext conftest$ac_exeext
  7351. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7352. - (eval $ac_link) 2>conftest.er1
  7353. +if { (ac_try="$ac_link"
  7354. +case "(($ac_try" in
  7355. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7356. + *) ac_try_echo=$ac_try;;
  7357. +esac
  7358. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7359. + (eval "$ac_link") 2>conftest.er1
  7360. ac_status=$?
  7361. grep -v '^ *+' conftest.er1 >conftest.err
  7362. rm -f conftest.er1
  7363. cat conftest.err >&5
  7364. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7365. - (exit $ac_status); } &&
  7366. - { ac_try='test -z "$ac_c_werror_flag"
  7367. - || test ! -s conftest.err'
  7368. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7369. - (eval $ac_try) 2>&5
  7370. - ac_status=$?
  7371. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7372. - (exit $ac_status); }; } &&
  7373. - { ac_try='test -s conftest$ac_exeext'
  7374. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7375. - (eval $ac_try) 2>&5
  7376. - ac_status=$?
  7377. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7378. - (exit $ac_status); }; }; then
  7379. + (exit $ac_status); } && {
  7380. + test -z "$ac_c_werror_flag" ||
  7381. + test ! -s conftest.err
  7382. + } && test -s conftest$ac_exeext &&
  7383. + $as_test_x conftest$ac_exeext; then
  7384. ac_cv_lib_ICE_IceConnectionNumber=yes
  7385. else
  7386. echo "$as_me: failed program was:" >&5
  7387. sed 's/^/| /' conftest.$ac_ext >&5
  7388. -ac_cv_lib_ICE_IceConnectionNumber=no
  7389. + ac_cv_lib_ICE_IceConnectionNumber=no
  7390. fi
  7391. -rm -f conftest.err conftest.$ac_objext \
  7392. +
  7393. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7394. conftest$ac_exeext conftest.$ac_ext
  7395. LIBS=$ac_check_lib_save_LIBS
  7396. fi
  7397. -echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  7398. -echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
  7399. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  7400. +echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  7401. if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
  7402. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  7403. fi
  7404. @@ -6683,8 +7143,8 @@
  7405. if test -d "$x_includes" && test ! -d "$x_libraries"; then
  7406. x_libraries=`echo "$x_includes" | sed s/include/lib/`
  7407. - echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
  7408. -echo "${ECHO_T}Corrected X libraries to $x_libraries" >&6
  7409. + { echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
  7410. +echo "${ECHO_T}Corrected X libraries to $x_libraries" >&6; }
  7411. X_LIBS="$X_LIBS -L$x_libraries"
  7412. if test "`(uname) 2>/dev/null`" = SunOS &&
  7413. uname -r | grep '^5' >/dev/null; then
  7414. @@ -6694,8 +7154,8 @@
  7415. if test -d "$x_libraries" && test ! -d "$x_includes"; then
  7416. x_includes=`echo "$x_libraries" | sed s/lib/include/`
  7417. - echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
  7418. -echo "${ECHO_T}Corrected X includes to $x_includes" >&6
  7419. + { echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
  7420. +echo "${ECHO_T}Corrected X includes to $x_includes" >&6; }
  7421. X_CFLAGS="$X_CFLAGS -I$x_includes"
  7422. fi
  7423. @@ -6704,8 +7164,8 @@
  7424. X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`"
  7425. - echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
  7426. -echo $ECHO_N "checking if X11 header files can be found... $ECHO_C" >&6
  7427. + { echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
  7428. +echo $ECHO_N "checking if X11 header files can be found... $ECHO_C" >&6; }
  7429. cflags_save=$CFLAGS
  7430. CFLAGS="$CFLAGS $X_CFLAGS"
  7431. cat >conftest.$ac_ext <<_ACEOF
  7432. @@ -6724,37 +7184,33 @@
  7433. }
  7434. _ACEOF
  7435. rm -f conftest.$ac_objext
  7436. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7437. - (eval $ac_compile) 2>conftest.er1
  7438. +if { (ac_try="$ac_compile"
  7439. +case "(($ac_try" in
  7440. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7441. + *) ac_try_echo=$ac_try;;
  7442. +esac
  7443. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7444. + (eval "$ac_compile") 2>conftest.er1
  7445. ac_status=$?
  7446. grep -v '^ *+' conftest.er1 >conftest.err
  7447. rm -f conftest.er1
  7448. cat conftest.err >&5
  7449. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7450. - (exit $ac_status); } &&
  7451. - { ac_try='test -z "$ac_c_werror_flag"
  7452. - || test ! -s conftest.err'
  7453. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7454. - (eval $ac_try) 2>&5
  7455. - ac_status=$?
  7456. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7457. - (exit $ac_status); }; } &&
  7458. - { ac_try='test -s conftest.$ac_objext'
  7459. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7460. - (eval $ac_try) 2>&5
  7461. - ac_status=$?
  7462. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7463. - (exit $ac_status); }; }; then
  7464. - echo "$as_me:$LINENO: result: yes" >&5
  7465. -echo "${ECHO_T}yes" >&6
  7466. + (exit $ac_status); } && {
  7467. + test -z "$ac_c_werror_flag" ||
  7468. + test ! -s conftest.err
  7469. + } && test -s conftest.$ac_objext; then
  7470. + { echo "$as_me:$LINENO: result: yes" >&5
  7471. +echo "${ECHO_T}yes" >&6; }
  7472. else
  7473. echo "$as_me: failed program was:" >&5
  7474. sed 's/^/| /' conftest.$ac_ext >&5
  7475. -echo "$as_me:$LINENO: result: no" >&5
  7476. -echo "${ECHO_T}no" >&6; no_x=yes
  7477. + { echo "$as_me:$LINENO: result: no" >&5
  7478. +echo "${ECHO_T}no" >&6; }; no_x=yes
  7479. fi
  7480. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7481. +
  7482. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7483. CFLAGS=$cflags_save
  7484. if test "${no_x-no}" = yes; then
  7485. @@ -6770,8 +7226,8 @@
  7486. ac_save_LDFLAGS="$LDFLAGS"
  7487. LDFLAGS="-L$x_libraries $LDFLAGS"
  7488. - echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
  7489. -echo $ECHO_N "checking for _XdmcpAuthDoIt in -lXdmcp... $ECHO_C" >&6
  7490. + { echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
  7491. +echo $ECHO_N "checking for _XdmcpAuthDoIt in -lXdmcp... $ECHO_C" >&6; }
  7492. if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then
  7493. echo $ECHO_N "(cached) $ECHO_C" >&6
  7494. else
  7495. @@ -6784,63 +7240,60 @@
  7496. cat >>conftest.$ac_ext <<_ACEOF
  7497. /* end confdefs.h. */
  7498. -/* Override any gcc2 internal prototype to avoid an error. */
  7499. +/* Override any GCC internal prototype to avoid an error.
  7500. + Use char because int might match the return type of a GCC
  7501. + builtin and then its argument prototype would still apply. */
  7502. #ifdef __cplusplus
  7503. extern "C"
  7504. #endif
  7505. -/* We use char because int might match the return type of a gcc2
  7506. - builtin and then its argument prototype would still apply. */
  7507. char _XdmcpAuthDoIt ();
  7508. int
  7509. main ()
  7510. {
  7511. -_XdmcpAuthDoIt ();
  7512. +return _XdmcpAuthDoIt ();
  7513. ;
  7514. return 0;
  7515. }
  7516. _ACEOF
  7517. rm -f conftest.$ac_objext conftest$ac_exeext
  7518. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7519. - (eval $ac_link) 2>conftest.er1
  7520. +if { (ac_try="$ac_link"
  7521. +case "(($ac_try" in
  7522. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7523. + *) ac_try_echo=$ac_try;;
  7524. +esac
  7525. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7526. + (eval "$ac_link") 2>conftest.er1
  7527. ac_status=$?
  7528. grep -v '^ *+' conftest.er1 >conftest.err
  7529. rm -f conftest.er1
  7530. cat conftest.err >&5
  7531. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7532. - (exit $ac_status); } &&
  7533. - { ac_try='test -z "$ac_c_werror_flag"
  7534. - || test ! -s conftest.err'
  7535. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7536. - (eval $ac_try) 2>&5
  7537. - ac_status=$?
  7538. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7539. - (exit $ac_status); }; } &&
  7540. - { ac_try='test -s conftest$ac_exeext'
  7541. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7542. - (eval $ac_try) 2>&5
  7543. - ac_status=$?
  7544. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7545. - (exit $ac_status); }; }; then
  7546. + (exit $ac_status); } && {
  7547. + test -z "$ac_c_werror_flag" ||
  7548. + test ! -s conftest.err
  7549. + } && test -s conftest$ac_exeext &&
  7550. + $as_test_x conftest$ac_exeext; then
  7551. ac_cv_lib_Xdmcp__XdmcpAuthDoIt=yes
  7552. else
  7553. echo "$as_me: failed program was:" >&5
  7554. sed 's/^/| /' conftest.$ac_ext >&5
  7555. -ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no
  7556. + ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no
  7557. fi
  7558. -rm -f conftest.err conftest.$ac_objext \
  7559. +
  7560. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7561. conftest$ac_exeext conftest.$ac_ext
  7562. LIBS=$ac_check_lib_save_LIBS
  7563. fi
  7564. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
  7565. -echo "${ECHO_T}$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6
  7566. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
  7567. +echo "${ECHO_T}$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6; }
  7568. if test $ac_cv_lib_Xdmcp__XdmcpAuthDoIt = yes; then
  7569. X_EXTRA_LIBS="$X_EXTRA_LIBS -lXdmcp"
  7570. fi
  7571. - echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
  7572. -echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6
  7573. + { echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
  7574. +echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6; }
  7575. if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
  7576. echo $ECHO_N "(cached) $ECHO_C" >&6
  7577. else
  7578. @@ -6853,64 +7306,61 @@
  7579. cat >>conftest.$ac_ext <<_ACEOF
  7580. /* end confdefs.h. */
  7581. -/* Override any gcc2 internal prototype to avoid an error. */
  7582. +/* Override any GCC internal prototype to avoid an error.
  7583. + Use char because int might match the return type of a GCC
  7584. + builtin and then its argument prototype would still apply. */
  7585. #ifdef __cplusplus
  7586. extern "C"
  7587. #endif
  7588. -/* We use char because int might match the return type of a gcc2
  7589. - builtin and then its argument prototype would still apply. */
  7590. char IceOpenConnection ();
  7591. int
  7592. main ()
  7593. {
  7594. -IceOpenConnection ();
  7595. +return IceOpenConnection ();
  7596. ;
  7597. return 0;
  7598. }
  7599. _ACEOF
  7600. rm -f conftest.$ac_objext conftest$ac_exeext
  7601. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7602. - (eval $ac_link) 2>conftest.er1
  7603. +if { (ac_try="$ac_link"
  7604. +case "(($ac_try" in
  7605. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7606. + *) ac_try_echo=$ac_try;;
  7607. +esac
  7608. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7609. + (eval "$ac_link") 2>conftest.er1
  7610. ac_status=$?
  7611. grep -v '^ *+' conftest.er1 >conftest.err
  7612. rm -f conftest.er1
  7613. cat conftest.err >&5
  7614. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7615. - (exit $ac_status); } &&
  7616. - { ac_try='test -z "$ac_c_werror_flag"
  7617. - || test ! -s conftest.err'
  7618. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7619. - (eval $ac_try) 2>&5
  7620. - ac_status=$?
  7621. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7622. - (exit $ac_status); }; } &&
  7623. - { ac_try='test -s conftest$ac_exeext'
  7624. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7625. - (eval $ac_try) 2>&5
  7626. - ac_status=$?
  7627. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7628. - (exit $ac_status); }; }; then
  7629. + (exit $ac_status); } && {
  7630. + test -z "$ac_c_werror_flag" ||
  7631. + test ! -s conftest.err
  7632. + } && test -s conftest$ac_exeext &&
  7633. + $as_test_x conftest$ac_exeext; then
  7634. ac_cv_lib_ICE_IceOpenConnection=yes
  7635. else
  7636. echo "$as_me: failed program was:" >&5
  7637. sed 's/^/| /' conftest.$ac_ext >&5
  7638. -ac_cv_lib_ICE_IceOpenConnection=no
  7639. + ac_cv_lib_ICE_IceOpenConnection=no
  7640. fi
  7641. -rm -f conftest.err conftest.$ac_objext \
  7642. +
  7643. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7644. conftest$ac_exeext conftest.$ac_ext
  7645. LIBS=$ac_check_lib_save_LIBS
  7646. fi
  7647. -echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
  7648. -echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6
  7649. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
  7650. +echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6; }
  7651. if test $ac_cv_lib_ICE_IceOpenConnection = yes; then
  7652. X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE"
  7653. fi
  7654. LDFLAGS="$X_LIBS $ac_save_LDFLAGS"
  7655. - echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
  7656. -echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6
  7657. + { echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
  7658. +echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6; }
  7659. if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
  7660. echo $ECHO_N "(cached) $ECHO_C" >&6
  7661. else
  7662. @@ -6923,63 +7373,60 @@
  7663. cat >>conftest.$ac_ext <<_ACEOF
  7664. /* end confdefs.h. */
  7665. -/* Override any gcc2 internal prototype to avoid an error. */
  7666. +/* Override any GCC internal prototype to avoid an error.
  7667. + Use char because int might match the return type of a GCC
  7668. + builtin and then its argument prototype would still apply. */
  7669. #ifdef __cplusplus
  7670. extern "C"
  7671. #endif
  7672. -/* We use char because int might match the return type of a gcc2
  7673. - builtin and then its argument prototype would still apply. */
  7674. char XpmCreatePixmapFromData ();
  7675. int
  7676. main ()
  7677. {
  7678. -XpmCreatePixmapFromData ();
  7679. +return XpmCreatePixmapFromData ();
  7680. ;
  7681. return 0;
  7682. }
  7683. _ACEOF
  7684. rm -f conftest.$ac_objext conftest$ac_exeext
  7685. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7686. - (eval $ac_link) 2>conftest.er1
  7687. +if { (ac_try="$ac_link"
  7688. +case "(($ac_try" in
  7689. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7690. + *) ac_try_echo=$ac_try;;
  7691. +esac
  7692. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7693. + (eval "$ac_link") 2>conftest.er1
  7694. ac_status=$?
  7695. grep -v '^ *+' conftest.er1 >conftest.err
  7696. rm -f conftest.er1
  7697. cat conftest.err >&5
  7698. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7699. - (exit $ac_status); } &&
  7700. - { ac_try='test -z "$ac_c_werror_flag"
  7701. - || test ! -s conftest.err'
  7702. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7703. - (eval $ac_try) 2>&5
  7704. - ac_status=$?
  7705. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7706. - (exit $ac_status); }; } &&
  7707. - { ac_try='test -s conftest$ac_exeext'
  7708. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7709. - (eval $ac_try) 2>&5
  7710. - ac_status=$?
  7711. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7712. - (exit $ac_status); }; }; then
  7713. + (exit $ac_status); } && {
  7714. + test -z "$ac_c_werror_flag" ||
  7715. + test ! -s conftest.err
  7716. + } && test -s conftest$ac_exeext &&
  7717. + $as_test_x conftest$ac_exeext; then
  7718. ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes
  7719. else
  7720. echo "$as_me: failed program was:" >&5
  7721. sed 's/^/| /' conftest.$ac_ext >&5
  7722. -ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
  7723. + ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
  7724. fi
  7725. -rm -f conftest.err conftest.$ac_objext \
  7726. +
  7727. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7728. conftest$ac_exeext conftest.$ac_ext
  7729. LIBS=$ac_check_lib_save_LIBS
  7730. fi
  7731. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
  7732. -echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6
  7733. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
  7734. +echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6; }
  7735. if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
  7736. X_PRE_LIBS="$X_PRE_LIBS -lXpm"
  7737. fi
  7738. - echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
  7739. -echo $ECHO_N "checking if X11 header files implicitly declare return values... $ECHO_C" >&6
  7740. + { echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
  7741. +echo $ECHO_N "checking if X11 header files implicitly declare return values... $ECHO_C" >&6; }
  7742. cflags_save=$CFLAGS
  7743. CFLAGS="$CFLAGS $X_CFLAGS -Werror"
  7744. cat >conftest.$ac_ext <<_ACEOF
  7745. @@ -6998,34 +7445,29 @@
  7746. }
  7747. _ACEOF
  7748. rm -f conftest.$ac_objext
  7749. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7750. - (eval $ac_compile) 2>conftest.er1
  7751. +if { (ac_try="$ac_compile"
  7752. +case "(($ac_try" in
  7753. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7754. + *) ac_try_echo=$ac_try;;
  7755. +esac
  7756. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7757. + (eval "$ac_compile") 2>conftest.er1
  7758. ac_status=$?
  7759. grep -v '^ *+' conftest.er1 >conftest.err
  7760. rm -f conftest.er1
  7761. cat conftest.err >&5
  7762. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7763. - (exit $ac_status); } &&
  7764. - { ac_try='test -z "$ac_c_werror_flag"
  7765. - || test ! -s conftest.err'
  7766. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7767. - (eval $ac_try) 2>&5
  7768. - ac_status=$?
  7769. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7770. - (exit $ac_status); }; } &&
  7771. - { ac_try='test -s conftest.$ac_objext'
  7772. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7773. - (eval $ac_try) 2>&5
  7774. - ac_status=$?
  7775. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7776. - (exit $ac_status); }; }; then
  7777. - echo "$as_me:$LINENO: result: no" >&5
  7778. -echo "${ECHO_T}no" >&6
  7779. + (exit $ac_status); } && {
  7780. + test -z "$ac_c_werror_flag" ||
  7781. + test ! -s conftest.err
  7782. + } && test -s conftest.$ac_objext; then
  7783. + { echo "$as_me:$LINENO: result: no" >&5
  7784. +echo "${ECHO_T}no" >&6; }
  7785. else
  7786. echo "$as_me: failed program was:" >&5
  7787. sed 's/^/| /' conftest.$ac_ext >&5
  7788. -CFLAGS="$CFLAGS -Wno-implicit-int"
  7789. + CFLAGS="$CFLAGS -Wno-implicit-int"
  7790. cat >conftest.$ac_ext <<_ACEOF
  7791. /* confdefs.h. */
  7792. _ACEOF
  7793. @@ -7042,41 +7484,38 @@
  7794. }
  7795. _ACEOF
  7796. rm -f conftest.$ac_objext
  7797. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7798. - (eval $ac_compile) 2>conftest.er1
  7799. +if { (ac_try="$ac_compile"
  7800. +case "(($ac_try" in
  7801. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7802. + *) ac_try_echo=$ac_try;;
  7803. +esac
  7804. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7805. + (eval "$ac_compile") 2>conftest.er1
  7806. ac_status=$?
  7807. grep -v '^ *+' conftest.er1 >conftest.err
  7808. rm -f conftest.er1
  7809. cat conftest.err >&5
  7810. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7811. - (exit $ac_status); } &&
  7812. - { ac_try='test -z "$ac_c_werror_flag"
  7813. - || test ! -s conftest.err'
  7814. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7815. - (eval $ac_try) 2>&5
  7816. - ac_status=$?
  7817. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7818. - (exit $ac_status); }; } &&
  7819. - { ac_try='test -s conftest.$ac_objext'
  7820. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7821. - (eval $ac_try) 2>&5
  7822. - ac_status=$?
  7823. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7824. - (exit $ac_status); }; }; then
  7825. - echo "$as_me:$LINENO: result: yes" >&5
  7826. -echo "${ECHO_T}yes" >&6; cflags_save="$cflags_save -Wno-implicit-int"
  7827. + (exit $ac_status); } && {
  7828. + test -z "$ac_c_werror_flag" ||
  7829. + test ! -s conftest.err
  7830. + } && test -s conftest.$ac_objext; then
  7831. + { echo "$as_me:$LINENO: result: yes" >&5
  7832. +echo "${ECHO_T}yes" >&6; }; cflags_save="$cflags_save -Wno-implicit-int"
  7833. else
  7834. echo "$as_me: failed program was:" >&5
  7835. sed 's/^/| /' conftest.$ac_ext >&5
  7836. -echo "$as_me:$LINENO: result: test failed" >&5
  7837. -echo "${ECHO_T}test failed" >&6
  7838. + { echo "$as_me:$LINENO: result: test failed" >&5
  7839. +echo "${ECHO_T}test failed" >&6; }
  7840. fi
  7841. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7842. +
  7843. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7844. fi
  7845. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7846. +
  7847. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7848. CFLAGS=$cflags_save
  7849. LDFLAGS="$ac_save_LDFLAGS"
  7850. @@ -7086,15 +7525,15 @@
  7851. test "x$with_x" = xno -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no
  7852. -echo "$as_me:$LINENO: checking --enable-gui argument" >&5
  7853. -echo $ECHO_N "checking --enable-gui argument... $ECHO_C" >&6
  7854. -# Check whether --enable-gui or --disable-gui was given.
  7855. +{ echo "$as_me:$LINENO: checking --enable-gui argument" >&5
  7856. +echo $ECHO_N "checking --enable-gui argument... $ECHO_C" >&6; }
  7857. +# Check whether --enable-gui was given.
  7858. if test "${enable_gui+set}" = set; then
  7859. - enableval="$enable_gui"
  7860. -
  7861. + enableval=$enable_gui;
  7862. else
  7863. enable_gui="auto"
  7864. -fi;
  7865. +fi
  7866. +
  7867. enable_gui_canon=`echo "_$enable_gui" | \
  7868. sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
  7869. @@ -7112,44 +7551,44 @@
  7870. if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then
  7871. SKIP_PHOTON=
  7872. case "$enable_gui_canon" in
  7873. - no) echo "$as_me:$LINENO: result: no GUI support" >&5
  7874. -echo "${ECHO_T}no GUI support" >&6
  7875. + no) { echo "$as_me:$LINENO: result: no GUI support" >&5
  7876. +echo "${ECHO_T}no GUI support" >&6; }
  7877. SKIP_PHOTON=YES ;;
  7878. - yes|"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7879. -echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
  7880. - auto) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7881. -echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
  7882. - photon) echo "$as_me:$LINENO: result: Photon GUI support" >&5
  7883. -echo "${ECHO_T}Photon GUI support" >&6 ;;
  7884. - *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7885. -echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
  7886. + yes|"") { echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7887. +echo "${ECHO_T}yes - automatic GUI support" >&6; } ;;
  7888. + auto) { echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7889. +echo "${ECHO_T}auto - automatic GUI support" >&6; } ;;
  7890. + photon) { echo "$as_me:$LINENO: result: Photon GUI support" >&5
  7891. +echo "${ECHO_T}Photon GUI support" >&6; } ;;
  7892. + *) { echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7893. +echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6; }
  7894. SKIP_PHOTON=YES ;;
  7895. esac
  7896. elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then
  7897. SKIP_CARBON=
  7898. case "$enable_gui_canon" in
  7899. - no) echo "$as_me:$LINENO: result: no GUI support" >&5
  7900. -echo "${ECHO_T}no GUI support" >&6
  7901. + no) { echo "$as_me:$LINENO: result: no GUI support" >&5
  7902. +echo "${ECHO_T}no GUI support" >&6; }
  7903. SKIP_CARBON=YES ;;
  7904. - yes|"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7905. -echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
  7906. - auto) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7907. -echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
  7908. - carbon) echo "$as_me:$LINENO: result: Carbon GUI support" >&5
  7909. -echo "${ECHO_T}Carbon GUI support" >&6 ;;
  7910. - *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7911. -echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
  7912. + yes|"") { echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7913. +echo "${ECHO_T}yes - automatic GUI support" >&6; } ;;
  7914. + auto) { echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7915. +echo "${ECHO_T}auto - automatic GUI support" >&6; } ;;
  7916. + carbon) { echo "$as_me:$LINENO: result: Carbon GUI support" >&5
  7917. +echo "${ECHO_T}Carbon GUI support" >&6; } ;;
  7918. + *) { echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7919. +echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6; }
  7920. SKIP_CARBON=YES ;;
  7921. esac
  7922. else
  7923. case "$enable_gui_canon" in
  7924. - no|none) echo "$as_me:$LINENO: result: no GUI support" >&5
  7925. -echo "${ECHO_T}no GUI support" >&6 ;;
  7926. - yes|""|auto) echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
  7927. -echo "${ECHO_T}yes/auto - automatic GUI support" >&6
  7928. + no|none) { echo "$as_me:$LINENO: result: no GUI support" >&5
  7929. +echo "${ECHO_T}no GUI support" >&6; } ;;
  7930. + yes|""|auto) { echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
  7931. +echo "${ECHO_T}yes/auto - automatic GUI support" >&6; }
  7932. SKIP_GTK=
  7933. SKIP_GTK2=
  7934. SKIP_GNOME=
  7935. @@ -7157,49 +7596,49 @@
  7936. SKIP_ATHENA=
  7937. SKIP_NEXTAW=
  7938. SKIP_CARBON=;;
  7939. - gtk) echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
  7940. -echo "${ECHO_T}GTK+ 1.x GUI support" >&6
  7941. + gtk) { echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
  7942. +echo "${ECHO_T}GTK+ 1.x GUI support" >&6; }
  7943. SKIP_GTK=;;
  7944. - gtk2) echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
  7945. -echo "${ECHO_T}GTK+ 2.x GUI support" >&6
  7946. + gtk2) { echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
  7947. +echo "${ECHO_T}GTK+ 2.x GUI support" >&6; }
  7948. SKIP_GTK=
  7949. SKIP_GTK2=;;
  7950. - gnome) echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
  7951. -echo "${ECHO_T}GNOME 1.x GUI support" >&6
  7952. + gnome) { echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
  7953. +echo "${ECHO_T}GNOME 1.x GUI support" >&6; }
  7954. SKIP_GNOME=
  7955. SKIP_GTK=;;
  7956. - gnome2) echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
  7957. -echo "${ECHO_T}GNOME 2.x GUI support" >&6
  7958. + gnome2) { echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
  7959. +echo "${ECHO_T}GNOME 2.x GUI support" >&6; }
  7960. SKIP_GNOME=
  7961. SKIP_GTK=
  7962. SKIP_GTK2=;;
  7963. - motif) echo "$as_me:$LINENO: result: Motif GUI support" >&5
  7964. -echo "${ECHO_T}Motif GUI support" >&6
  7965. + motif) { echo "$as_me:$LINENO: result: Motif GUI support" >&5
  7966. +echo "${ECHO_T}Motif GUI support" >&6; }
  7967. SKIP_MOTIF=;;
  7968. - athena) echo "$as_me:$LINENO: result: Athena GUI support" >&5
  7969. -echo "${ECHO_T}Athena GUI support" >&6
  7970. + athena) { echo "$as_me:$LINENO: result: Athena GUI support" >&5
  7971. +echo "${ECHO_T}Athena GUI support" >&6; }
  7972. SKIP_ATHENA=;;
  7973. - nextaw) echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
  7974. -echo "${ECHO_T}neXtaw GUI support" >&6
  7975. + nextaw) { echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
  7976. +echo "${ECHO_T}neXtaw GUI support" >&6; }
  7977. SKIP_NEXTAW=;;
  7978. - *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7979. -echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6 ;;
  7980. + *) { echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7981. +echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6; } ;;
  7982. esac
  7983. fi
  7984. if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then
  7985. - echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
  7986. -echo $ECHO_N "checking whether or not to look for GTK... $ECHO_C" >&6
  7987. - # Check whether --enable-gtk-check or --disable-gtk-check was given.
  7988. + { echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
  7989. +echo $ECHO_N "checking whether or not to look for GTK... $ECHO_C" >&6; }
  7990. + # Check whether --enable-gtk-check was given.
  7991. if test "${enable_gtk_check+set}" = set; then
  7992. - enableval="$enable_gtk_check"
  7993. -
  7994. + enableval=$enable_gtk_check;
  7995. else
  7996. enable_gtk_check="yes"
  7997. -fi;
  7998. - echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
  7999. -echo "${ECHO_T}$enable_gtk_check" >&6
  8000. +fi
  8001. +
  8002. + { echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
  8003. +echo "${ECHO_T}$enable_gtk_check" >&6; }
  8004. if test "x$enable_gtk_check" = "xno"; then
  8005. SKIP_GTK=YES
  8006. SKIP_GNOME=YES
  8007. @@ -7208,17 +7647,17 @@
  8008. if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \
  8009. -a "$enable_gui_canon" != "gnome2"; then
  8010. - echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
  8011. -echo $ECHO_N "checking whether or not to look for GTK+ 2... $ECHO_C" >&6
  8012. - # Check whether --enable-gtk2-check or --disable-gtk2-check was given.
  8013. + { echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
  8014. +echo $ECHO_N "checking whether or not to look for GTK+ 2... $ECHO_C" >&6; }
  8015. + # Check whether --enable-gtk2-check was given.
  8016. if test "${enable_gtk2_check+set}" = set; then
  8017. - enableval="$enable_gtk2_check"
  8018. -
  8019. + enableval=$enable_gtk2_check;
  8020. else
  8021. enable_gtk2_check="yes"
  8022. -fi;
  8023. - echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
  8024. -echo "${ECHO_T}$enable_gtk2_check" >&6
  8025. +fi
  8026. +
  8027. + { echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
  8028. +echo "${ECHO_T}$enable_gtk2_check" >&6; }
  8029. if test "x$enable_gtk2_check" = "xno"; then
  8030. SKIP_GTK2=YES
  8031. fi
  8032. @@ -7226,85 +7665,85 @@
  8033. if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \
  8034. -a "$enable_gui_canon" != "gnome2"; then
  8035. - echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
  8036. -echo $ECHO_N "checking whether or not to look for GNOME... $ECHO_C" >&6
  8037. - # Check whether --enable-gnome-check or --disable-gnome-check was given.
  8038. + { echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
  8039. +echo $ECHO_N "checking whether or not to look for GNOME... $ECHO_C" >&6; }
  8040. + # Check whether --enable-gnome-check was given.
  8041. if test "${enable_gnome_check+set}" = set; then
  8042. - enableval="$enable_gnome_check"
  8043. -
  8044. + enableval=$enable_gnome_check;
  8045. else
  8046. enable_gnome_check="no"
  8047. -fi;
  8048. - echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
  8049. -echo "${ECHO_T}$enable_gnome_check" >&6
  8050. +fi
  8051. +
  8052. + { echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
  8053. +echo "${ECHO_T}$enable_gnome_check" >&6; }
  8054. if test "x$enable_gnome_check" = "xno"; then
  8055. SKIP_GNOME=YES
  8056. fi
  8057. fi
  8058. if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then
  8059. - echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
  8060. -echo $ECHO_N "checking whether or not to look for Motif... $ECHO_C" >&6
  8061. - # Check whether --enable-motif-check or --disable-motif-check was given.
  8062. + { echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
  8063. +echo $ECHO_N "checking whether or not to look for Motif... $ECHO_C" >&6; }
  8064. + # Check whether --enable-motif-check was given.
  8065. if test "${enable_motif_check+set}" = set; then
  8066. - enableval="$enable_motif_check"
  8067. -
  8068. + enableval=$enable_motif_check;
  8069. else
  8070. enable_motif_check="yes"
  8071. -fi;
  8072. - echo "$as_me:$LINENO: result: $enable_motif_check" >&5
  8073. -echo "${ECHO_T}$enable_motif_check" >&6
  8074. +fi
  8075. +
  8076. + { echo "$as_me:$LINENO: result: $enable_motif_check" >&5
  8077. +echo "${ECHO_T}$enable_motif_check" >&6; }
  8078. if test "x$enable_motif_check" = "xno"; then
  8079. SKIP_MOTIF=YES
  8080. fi
  8081. fi
  8082. if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then
  8083. - echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
  8084. -echo $ECHO_N "checking whether or not to look for Athena... $ECHO_C" >&6
  8085. - # Check whether --enable-athena-check or --disable-athena-check was given.
  8086. + { echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
  8087. +echo $ECHO_N "checking whether or not to look for Athena... $ECHO_C" >&6; }
  8088. + # Check whether --enable-athena-check was given.
  8089. if test "${enable_athena_check+set}" = set; then
  8090. - enableval="$enable_athena_check"
  8091. -
  8092. + enableval=$enable_athena_check;
  8093. else
  8094. enable_athena_check="yes"
  8095. -fi;
  8096. - echo "$as_me:$LINENO: result: $enable_athena_check" >&5
  8097. -echo "${ECHO_T}$enable_athena_check" >&6
  8098. +fi
  8099. +
  8100. + { echo "$as_me:$LINENO: result: $enable_athena_check" >&5
  8101. +echo "${ECHO_T}$enable_athena_check" >&6; }
  8102. if test "x$enable_athena_check" = "xno"; then
  8103. SKIP_ATHENA=YES
  8104. fi
  8105. fi
  8106. if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then
  8107. - echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
  8108. -echo $ECHO_N "checking whether or not to look for neXtaw... $ECHO_C" >&6
  8109. - # Check whether --enable-nextaw-check or --disable-nextaw-check was given.
  8110. + { echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
  8111. +echo $ECHO_N "checking whether or not to look for neXtaw... $ECHO_C" >&6; }
  8112. + # Check whether --enable-nextaw-check was given.
  8113. if test "${enable_nextaw_check+set}" = set; then
  8114. - enableval="$enable_nextaw_check"
  8115. -
  8116. + enableval=$enable_nextaw_check;
  8117. else
  8118. enable_nextaw_check="yes"
  8119. -fi;
  8120. - echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
  8121. -echo "${ECHO_T}$enable_nextaw_check" >&6;
  8122. +fi
  8123. +
  8124. + { echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
  8125. +echo "${ECHO_T}$enable_nextaw_check" >&6; };
  8126. if test "x$enable_nextaw_check" = "xno"; then
  8127. SKIP_NEXTAW=YES
  8128. fi
  8129. fi
  8130. if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then
  8131. - echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
  8132. -echo $ECHO_N "checking whether or not to look for Carbon... $ECHO_C" >&6
  8133. - # Check whether --enable-carbon-check or --disable-carbon-check was given.
  8134. + { echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
  8135. +echo $ECHO_N "checking whether or not to look for Carbon... $ECHO_C" >&6; }
  8136. + # Check whether --enable-carbon-check was given.
  8137. if test "${enable_carbon_check+set}" = set; then
  8138. - enableval="$enable_carbon_check"
  8139. -
  8140. + enableval=$enable_carbon_check;
  8141. else
  8142. enable_carbon_check="yes"
  8143. -fi;
  8144. - echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
  8145. -echo "${ECHO_T}$enable_carbon_check" >&6;
  8146. +fi
  8147. +
  8148. + { echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
  8149. +echo "${ECHO_T}$enable_carbon_check" >&6; };
  8150. if test "x$enable_carbon_check" = "xno"; then
  8151. SKIP_CARBON=YES
  8152. fi
  8153. @@ -7312,10 +7751,10 @@
  8154. if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then
  8155. - echo "$as_me:$LINENO: checking for Carbon GUI" >&5
  8156. -echo $ECHO_N "checking for Carbon GUI... $ECHO_C" >&6
  8157. - echo "$as_me:$LINENO: result: yes" >&5
  8158. -echo "${ECHO_T}yes" >&6;
  8159. + { echo "$as_me:$LINENO: checking for Carbon GUI" >&5
  8160. +echo $ECHO_N "checking for Carbon GUI... $ECHO_C" >&6; }
  8161. + { echo "$as_me:$LINENO: result: yes" >&5
  8162. +echo "${ECHO_T}yes" >&6; };
  8163. GUITYPE=CARBONGUI
  8164. if test "$VIMNAME" = "vim"; then
  8165. VIMNAME=Vim
  8166. @@ -7347,47 +7786,47 @@
  8167. if test -z "$SKIP_GTK"; then
  8168. - echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
  8169. -echo $ECHO_N "checking --with-gtk-prefix argument... $ECHO_C" >&6
  8170. + { echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
  8171. +echo $ECHO_N "checking --with-gtk-prefix argument... $ECHO_C" >&6; }
  8172. -# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
  8173. +# Check whether --with-gtk-prefix was given.
  8174. if test "${with_gtk_prefix+set}" = set; then
  8175. - withval="$with_gtk_prefix"
  8176. - gtk_config_prefix="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8177. -echo "${ECHO_T}$gtk_config_prefix" >&6
  8178. -else
  8179. - gtk_config_prefix=""; echo "$as_me:$LINENO: result: no" >&5
  8180. -echo "${ECHO_T}no" >&6
  8181. -fi;
  8182. + withval=$with_gtk_prefix; gtk_config_prefix="$withval"; { echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8183. +echo "${ECHO_T}$gtk_config_prefix" >&6; }
  8184. +else
  8185. + gtk_config_prefix=""; { echo "$as_me:$LINENO: result: no" >&5
  8186. +echo "${ECHO_T}no" >&6; }
  8187. +fi
  8188. +
  8189. - echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
  8190. -echo $ECHO_N "checking --with-gtk-exec-prefix argument... $ECHO_C" >&6
  8191. + { echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
  8192. +echo $ECHO_N "checking --with-gtk-exec-prefix argument... $ECHO_C" >&6; }
  8193. -# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
  8194. +# Check whether --with-gtk-exec-prefix was given.
  8195. if test "${with_gtk_exec_prefix+set}" = set; then
  8196. - withval="$with_gtk_exec_prefix"
  8197. - gtk_config_exec_prefix="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8198. -echo "${ECHO_T}$gtk_config_prefix" >&6
  8199. -else
  8200. - gtk_config_exec_prefix=""; echo "$as_me:$LINENO: result: no" >&5
  8201. -echo "${ECHO_T}no" >&6
  8202. -fi;
  8203. -
  8204. - echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
  8205. -echo $ECHO_N "checking --disable-gtktest argument... $ECHO_C" >&6
  8206. - # Check whether --enable-gtktest or --disable-gtktest was given.
  8207. -if test "${enable_gtktest+set}" = set; then
  8208. - enableval="$enable_gtktest"
  8209. + withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"; { echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8210. +echo "${ECHO_T}$gtk_config_prefix" >&6; }
  8211. +else
  8212. + gtk_config_exec_prefix=""; { echo "$as_me:$LINENO: result: no" >&5
  8213. +echo "${ECHO_T}no" >&6; }
  8214. +fi
  8215. +
  8216. + { echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
  8217. +echo $ECHO_N "checking --disable-gtktest argument... $ECHO_C" >&6; }
  8218. + # Check whether --enable-gtktest was given.
  8219. +if test "${enable_gtktest+set}" = set; then
  8220. + enableval=$enable_gtktest;
  8221. else
  8222. enable_gtktest=yes
  8223. -fi;
  8224. +fi
  8225. +
  8226. if test "x$enable_gtktest" = "xyes" ; then
  8227. - echo "$as_me:$LINENO: result: gtk test enabled" >&5
  8228. -echo "${ECHO_T}gtk test enabled" >&6
  8229. + { echo "$as_me:$LINENO: result: gtk test enabled" >&5
  8230. +echo "${ECHO_T}gtk test enabled" >&6; }
  8231. else
  8232. - echo "$as_me:$LINENO: result: gtk test disabled" >&5
  8233. -echo "${ECHO_T}gtk test disabled" >&6
  8234. + { echo "$as_me:$LINENO: result: gtk test disabled" >&5
  8235. +echo "${ECHO_T}gtk test disabled" >&6; }
  8236. fi
  8237. if test "x$gtk_config_prefix" != "x" ; then
  8238. @@ -7401,8 +7840,8 @@
  8239. if test "X$GTK_CONFIG" = "X"; then
  8240. # Extract the first word of "gtk-config", so it can be a program name with args.
  8241. set dummy gtk-config; ac_word=$2
  8242. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8243. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8244. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8245. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8246. if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
  8247. echo $ECHO_N "(cached) $ECHO_C" >&6
  8248. else
  8249. @@ -7417,33 +7856,34 @@
  8250. IFS=$as_save_IFS
  8251. test -z "$as_dir" && as_dir=.
  8252. for ac_exec_ext in '' $ac_executable_extensions; do
  8253. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8254. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8255. ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8256. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8257. break 2
  8258. fi
  8259. done
  8260. done
  8261. +IFS=$as_save_IFS
  8262. test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
  8263. ;;
  8264. esac
  8265. fi
  8266. GTK_CONFIG=$ac_cv_path_GTK_CONFIG
  8267. -
  8268. if test -n "$GTK_CONFIG"; then
  8269. - echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
  8270. -echo "${ECHO_T}$GTK_CONFIG" >&6
  8271. + { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
  8272. +echo "${ECHO_T}$GTK_CONFIG" >&6; }
  8273. else
  8274. - echo "$as_me:$LINENO: result: no" >&5
  8275. -echo "${ECHO_T}no" >&6
  8276. + { echo "$as_me:$LINENO: result: no" >&5
  8277. +echo "${ECHO_T}no" >&6; }
  8278. fi
  8279. +
  8280. if test "X$GTK_CONFIG" = "Xno"; then
  8281. # Extract the first word of "gtk12-config", so it can be a program name with args.
  8282. set dummy gtk12-config; ac_word=$2
  8283. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8284. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8285. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8286. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8287. if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
  8288. echo $ECHO_N "(cached) $ECHO_C" >&6
  8289. else
  8290. @@ -7458,39 +7898,40 @@
  8291. IFS=$as_save_IFS
  8292. test -z "$as_dir" && as_dir=.
  8293. for ac_exec_ext in '' $ac_executable_extensions; do
  8294. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8295. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8296. ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8297. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8298. break 2
  8299. fi
  8300. done
  8301. done
  8302. +IFS=$as_save_IFS
  8303. test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
  8304. ;;
  8305. esac
  8306. fi
  8307. GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
  8308. -
  8309. if test -n "$GTK12_CONFIG"; then
  8310. - echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
  8311. -echo "${ECHO_T}$GTK12_CONFIG" >&6
  8312. + { echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
  8313. +echo "${ECHO_T}$GTK12_CONFIG" >&6; }
  8314. else
  8315. - echo "$as_me:$LINENO: result: no" >&5
  8316. -echo "${ECHO_T}no" >&6
  8317. + { echo "$as_me:$LINENO: result: no" >&5
  8318. +echo "${ECHO_T}no" >&6; }
  8319. fi
  8320. +
  8321. GTK_CONFIG="$GTK12_CONFIG"
  8322. fi
  8323. else
  8324. - echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
  8325. -echo "${ECHO_T}Using GTK configuration program $GTK_CONFIG" >&6
  8326. + { echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
  8327. +echo "${ECHO_T}Using GTK configuration program $GTK_CONFIG" >&6; }
  8328. fi
  8329. if test "X$PKG_CONFIG" = "X"; then
  8330. # Extract the first word of "pkg-config", so it can be a program name with args.
  8331. set dummy pkg-config; ac_word=$2
  8332. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8333. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8334. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8335. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8336. if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  8337. echo $ECHO_N "(cached) $ECHO_C" >&6
  8338. else
  8339. @@ -7505,28 +7946,29 @@
  8340. IFS=$as_save_IFS
  8341. test -z "$as_dir" && as_dir=.
  8342. for ac_exec_ext in '' $ac_executable_extensions; do
  8343. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8344. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8345. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8346. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8347. break 2
  8348. fi
  8349. done
  8350. done
  8351. +IFS=$as_save_IFS
  8352. test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  8353. ;;
  8354. esac
  8355. fi
  8356. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  8357. -
  8358. if test -n "$PKG_CONFIG"; then
  8359. - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  8360. -echo "${ECHO_T}$PKG_CONFIG" >&6
  8361. + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  8362. +echo "${ECHO_T}$PKG_CONFIG" >&6; }
  8363. else
  8364. - echo "$as_me:$LINENO: result: no" >&5
  8365. -echo "${ECHO_T}no" >&6
  8366. + { echo "$as_me:$LINENO: result: no" >&5
  8367. +echo "${ECHO_T}no" >&6; }
  8368. fi
  8369. +
  8370. fi
  8371. if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then
  8372. @@ -7535,8 +7977,8 @@
  8373. if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
  8374. {
  8375. min_gtk_version=2.2.0
  8376. - echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
  8377. -echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
  8378. + { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
  8379. +echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
  8380. no_gtk=""
  8381. if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
  8382. && $PKG_CONFIG --exists gtk+-2.0; then
  8383. @@ -7615,13 +8057,22 @@
  8384. _ACEOF
  8385. rm -f conftest$ac_exeext
  8386. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8387. - (eval $ac_link) 2>&5
  8388. +if { (ac_try="$ac_link"
  8389. +case "(($ac_try" in
  8390. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8391. + *) ac_try_echo=$ac_try;;
  8392. +esac
  8393. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8394. + (eval "$ac_link") 2>&5
  8395. ac_status=$?
  8396. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8397. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8398. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8399. - (eval $ac_try) 2>&5
  8400. + { (case "(($ac_try" in
  8401. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8402. + *) ac_try_echo=$ac_try;;
  8403. +esac
  8404. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8405. + (eval "$ac_try") 2>&5
  8406. ac_status=$?
  8407. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8408. (exit $ac_status); }; }; then
  8409. @@ -7634,27 +8085,29 @@
  8410. ( exit $ac_status )
  8411. no_gtk=yes
  8412. fi
  8413. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8414. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8415. fi
  8416. +
  8417. +
  8418. CFLAGS="$ac_save_CFLAGS"
  8419. LIBS="$ac_save_LIBS"
  8420. }
  8421. fi
  8422. if test "x$no_gtk" = x ; then
  8423. if test "x$enable_gtktest" = "xyes"; then
  8424. - echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8425. -echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
  8426. + { echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8427. +echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8428. else
  8429. - echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8430. -echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
  8431. + { echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8432. +echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8433. fi
  8434. GUI_LIB_LOC="$GTK_LIBDIR"
  8435. GTK_LIBNAME="$GTK_LIBS"
  8436. GUI_INC_LOC="$GTK_CFLAGS"
  8437. else
  8438. {
  8439. - echo "$as_me:$LINENO: result: no" >&5
  8440. -echo "${ECHO_T}no" >&6
  8441. + { echo "$as_me:$LINENO: result: no" >&5
  8442. +echo "${ECHO_T}no" >&6; }
  8443. GTK_CFLAGS=""
  8444. GTK_LIBS=""
  8445. :
  8446. @@ -7685,8 +8138,8 @@
  8447. if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
  8448. {
  8449. min_gtk_version=1.1.16
  8450. - echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
  8451. -echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
  8452. + { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
  8453. +echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
  8454. no_gtk=""
  8455. if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
  8456. && $PKG_CONFIG --exists gtk+-2.0; then
  8457. @@ -7765,13 +8218,22 @@
  8458. _ACEOF
  8459. rm -f conftest$ac_exeext
  8460. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8461. - (eval $ac_link) 2>&5
  8462. +if { (ac_try="$ac_link"
  8463. +case "(($ac_try" in
  8464. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8465. + *) ac_try_echo=$ac_try;;
  8466. +esac
  8467. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8468. + (eval "$ac_link") 2>&5
  8469. ac_status=$?
  8470. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8471. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8472. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8473. - (eval $ac_try) 2>&5
  8474. + { (case "(($ac_try" in
  8475. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8476. + *) ac_try_echo=$ac_try;;
  8477. +esac
  8478. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8479. + (eval "$ac_try") 2>&5
  8480. ac_status=$?
  8481. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8482. (exit $ac_status); }; }; then
  8483. @@ -7784,26 +8246,28 @@
  8484. ( exit $ac_status )
  8485. no_gtk=yes
  8486. fi
  8487. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8488. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8489. fi
  8490. +
  8491. +
  8492. CFLAGS="$ac_save_CFLAGS"
  8493. LIBS="$ac_save_LIBS"
  8494. }
  8495. fi
  8496. if test "x$no_gtk" = x ; then
  8497. if test "x$enable_gtktest" = "xyes"; then
  8498. - echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8499. -echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
  8500. + { echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8501. +echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8502. else
  8503. - echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8504. -echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
  8505. + { echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8506. +echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8507. fi
  8508. GTK_LIBNAME="$GTK_LIBS"
  8509. GUI_INC_LOC="$GTK_CFLAGS"
  8510. else
  8511. {
  8512. - echo "$as_me:$LINENO: result: no" >&5
  8513. -echo "${ECHO_T}no" >&6
  8514. + { echo "$as_me:$LINENO: result: no" >&5
  8515. +echo "${ECHO_T}no" >&6; }
  8516. GTK_CFLAGS=""
  8517. GTK_LIBS=""
  8518. :
  8519. @@ -7831,8 +8295,8 @@
  8520. if test "x$GUITYPE" = "xGTK"; then
  8521. if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \
  8522. -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then
  8523. - echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
  8524. -echo "${ECHO_T}this GTK version is old; version 1.2.3 or later is recommended" >&6
  8525. + { echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
  8526. +echo "${ECHO_T}this GTK version is old; version 1.2.3 or later is recommended" >&6; }
  8527. else
  8528. {
  8529. if test "0$gtk_major_version" -ge 2; then
  8530. @@ -7857,26 +8321,25 @@
  8531. -# Check whether --with-gnome-includes or --without-gnome-includes was given.
  8532. +# Check whether --with-gnome-includes was given.
  8533. if test "${with_gnome_includes+set}" = set; then
  8534. - withval="$with_gnome_includes"
  8535. - CFLAGS="$CFLAGS -I$withval"
  8536. + withval=$with_gnome_includes; CFLAGS="$CFLAGS -I$withval"
  8537. +
  8538. +fi
  8539. -fi;
  8540. -# Check whether --with-gnome-libs or --without-gnome-libs was given.
  8541. +# Check whether --with-gnome-libs was given.
  8542. if test "${with_gnome_libs+set}" = set; then
  8543. - withval="$with_gnome_libs"
  8544. - LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval
  8545. + withval=$with_gnome_libs; LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval
  8546. +
  8547. +fi
  8548. -fi;
  8549. -# Check whether --with-gnome or --without-gnome was given.
  8550. +# Check whether --with-gnome was given.
  8551. if test "${with_gnome+set}" = set; then
  8552. - withval="$with_gnome"
  8553. - if test x$withval = xyes; then
  8554. + withval=$with_gnome; if test x$withval = xyes; then
  8555. want_gnome=yes
  8556. have_gnome=yes
  8557. else
  8558. @@ -7891,34 +8354,35 @@
  8559. fi
  8560. else
  8561. want_gnome=yes
  8562. -fi;
  8563. +fi
  8564. +
  8565. if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then
  8566. {
  8567. - echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
  8568. -echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6
  8569. + { echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
  8570. +echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6; }
  8571. if $PKG_CONFIG --exists libgnomeui-2.0; then
  8572. - echo "$as_me:$LINENO: result: yes" >&5
  8573. -echo "${ECHO_T}yes" >&6
  8574. + { echo "$as_me:$LINENO: result: yes" >&5
  8575. +echo "${ECHO_T}yes" >&6; }
  8576. GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0`
  8577. GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0`
  8578. GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0`
  8579. - echo "$as_me:$LINENO: checking for FreeBSD" >&5
  8580. -echo $ECHO_N "checking for FreeBSD... $ECHO_C" >&6
  8581. + { echo "$as_me:$LINENO: checking for FreeBSD" >&5
  8582. +echo $ECHO_N "checking for FreeBSD... $ECHO_C" >&6; }
  8583. if test "`(uname) 2>/dev/null`" = FreeBSD; then
  8584. - echo "$as_me:$LINENO: result: yes" >&5
  8585. -echo "${ECHO_T}yes" >&6
  8586. + { echo "$as_me:$LINENO: result: yes" >&5
  8587. +echo "${ECHO_T}yes" >&6; }
  8588. GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
  8589. GNOME_LIBS="$GNOME_LIBS -pthread"
  8590. else
  8591. - echo "$as_me:$LINENO: result: no" >&5
  8592. -echo "${ECHO_T}no" >&6
  8593. + { echo "$as_me:$LINENO: result: no" >&5
  8594. +echo "${ECHO_T}no" >&6; }
  8595. fi
  8596. have_gnome=yes
  8597. else
  8598. - echo "$as_me:$LINENO: result: not found" >&5
  8599. -echo "${ECHO_T}not found" >&6
  8600. + { echo "$as_me:$LINENO: result: not found" >&5
  8601. +echo "${ECHO_T}not found" >&6; }
  8602. if test "x" = xfail; then
  8603. { { echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5
  8604. echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;}
  8605. @@ -7930,8 +8394,8 @@
  8606. {
  8607. # Extract the first word of "gnome-config", so it can be a program name with args.
  8608. set dummy gnome-config; ac_word=$2
  8609. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8610. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8611. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8612. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8613. if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
  8614. echo $ECHO_N "(cached) $ECHO_C" >&6
  8615. else
  8616. @@ -7946,43 +8410,44 @@
  8617. IFS=$as_save_IFS
  8618. test -z "$as_dir" && as_dir=.
  8619. for ac_exec_ext in '' $ac_executable_extensions; do
  8620. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8621. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8622. ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8623. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8624. break 2
  8625. fi
  8626. done
  8627. done
  8628. +IFS=$as_save_IFS
  8629. test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
  8630. ;;
  8631. esac
  8632. fi
  8633. GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
  8634. -
  8635. if test -n "$GNOME_CONFIG"; then
  8636. - echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
  8637. -echo "${ECHO_T}$GNOME_CONFIG" >&6
  8638. + { echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
  8639. +echo "${ECHO_T}$GNOME_CONFIG" >&6; }
  8640. else
  8641. - echo "$as_me:$LINENO: result: no" >&5
  8642. -echo "${ECHO_T}no" >&6
  8643. + { echo "$as_me:$LINENO: result: no" >&5
  8644. +echo "${ECHO_T}no" >&6; }
  8645. fi
  8646. +
  8647. if test "$GNOME_CONFIG" = "no"; then
  8648. no_gnome_config="yes"
  8649. else
  8650. - echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
  8651. -echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6
  8652. + { echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
  8653. +echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6; }
  8654. if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
  8655. - echo "$as_me:$LINENO: result: yes" >&5
  8656. -echo "${ECHO_T}yes" >&6
  8657. + { echo "$as_me:$LINENO: result: yes" >&5
  8658. +echo "${ECHO_T}yes" >&6; }
  8659. GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`"
  8660. GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
  8661. GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
  8662. have_gnome=yes
  8663. else
  8664. - echo "$as_me:$LINENO: result: no" >&5
  8665. -echo "${ECHO_T}no" >&6
  8666. + { echo "$as_me:$LINENO: result: no" >&5
  8667. +echo "${ECHO_T}no" >&6; }
  8668. no_gnome_config="yes"
  8669. fi
  8670. fi
  8671. @@ -7998,18 +8463,18 @@
  8672. fi
  8673. if test "$no_gnome_config" = "yes"; then
  8674. - echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
  8675. -echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6
  8676. + { echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
  8677. +echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6; }
  8678. if test -f $gnome_prefix/gnomeConf.sh; then
  8679. - echo "$as_me:$LINENO: result: found" >&5
  8680. -echo "${ECHO_T}found" >&6
  8681. + { echo "$as_me:$LINENO: result: found" >&5
  8682. +echo "${ECHO_T}found" >&6; }
  8683. echo "loading gnome configuration from" \
  8684. "$gnome_prefix/gnomeConf.sh"
  8685. . $gnome_prefix/gnomeConf.sh
  8686. have_gnome=yes
  8687. else
  8688. - echo "$as_me:$LINENO: result: not found" >&5
  8689. -echo "${ECHO_T}not found" >&6
  8690. + { echo "$as_me:$LINENO: result: not found" >&5
  8691. +echo "${ECHO_T}not found" >&6; }
  8692. if test x = xfail; then
  8693. { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
  8694. echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
  8695. @@ -8040,8 +8505,8 @@
  8696. gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX"
  8697. GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`"
  8698. - echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
  8699. -echo $ECHO_N "checking for location of Motif GUI includes... $ECHO_C" >&6
  8700. + { echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
  8701. +echo $ECHO_N "checking for location of Motif GUI includes... $ECHO_C" >&6; }
  8702. gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC"
  8703. GUI_INC_LOC=
  8704. for try in $gui_includes; do
  8705. @@ -8052,42 +8517,42 @@
  8706. if test -n "$GUI_INC_LOC"; then
  8707. if test "$GUI_INC_LOC" = /usr/include; then
  8708. GUI_INC_LOC=
  8709. - echo "$as_me:$LINENO: result: in default path" >&5
  8710. -echo "${ECHO_T}in default path" >&6
  8711. + { echo "$as_me:$LINENO: result: in default path" >&5
  8712. +echo "${ECHO_T}in default path" >&6; }
  8713. else
  8714. - echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
  8715. -echo "${ECHO_T}$GUI_INC_LOC" >&6
  8716. + { echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
  8717. +echo "${ECHO_T}$GUI_INC_LOC" >&6; }
  8718. fi
  8719. else
  8720. - echo "$as_me:$LINENO: result: <not found>" >&5
  8721. -echo "${ECHO_T}<not found>" >&6
  8722. + { echo "$as_me:$LINENO: result: <not found>" >&5
  8723. +echo "${ECHO_T}<not found>" >&6; }
  8724. SKIP_MOTIF=YES
  8725. fi
  8726. fi
  8727. if test -z "$SKIP_MOTIF"; then
  8728. - echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
  8729. -echo $ECHO_N "checking --with-motif-lib argument... $ECHO_C" >&6
  8730. + { echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
  8731. +echo $ECHO_N "checking --with-motif-lib argument... $ECHO_C" >&6; }
  8732. -# Check whether --with-motif-lib or --without-motif-lib was given.
  8733. +# Check whether --with-motif-lib was given.
  8734. if test "${with_motif_lib+set}" = set; then
  8735. - withval="$with_motif_lib"
  8736. - MOTIF_LIBNAME="${withval}"
  8737. -fi;
  8738. + withval=$with_motif_lib; MOTIF_LIBNAME="${withval}"
  8739. +fi
  8740. +
  8741. if test -n "$MOTIF_LIBNAME"; then
  8742. - echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
  8743. -echo "${ECHO_T}$MOTIF_LIBNAME" >&6
  8744. + { echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
  8745. +echo "${ECHO_T}$MOTIF_LIBNAME" >&6; }
  8746. GUI_LIB_LOC=
  8747. else
  8748. - echo "$as_me:$LINENO: result: no" >&5
  8749. -echo "${ECHO_T}no" >&6
  8750. + { echo "$as_me:$LINENO: result: no" >&5
  8751. +echo "${ECHO_T}no" >&6; }
  8752. GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
  8753. - echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
  8754. -echo $ECHO_N "checking for location of Motif GUI libs... $ECHO_C" >&6
  8755. + { echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
  8756. +echo $ECHO_N "checking for location of Motif GUI libs... $ECHO_C" >&6; }
  8757. gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
  8758. GUI_LIB_LOC=
  8759. for try in $gui_libs; do
  8760. @@ -8100,12 +8565,12 @@
  8761. if test -n "$GUI_LIB_LOC"; then
  8762. if test "$GUI_LIB_LOC" = /usr/lib; then
  8763. GUI_LIB_LOC=
  8764. - echo "$as_me:$LINENO: result: in default path" >&5
  8765. -echo "${ECHO_T}in default path" >&6
  8766. + { echo "$as_me:$LINENO: result: in default path" >&5
  8767. +echo "${ECHO_T}in default path" >&6; }
  8768. else
  8769. if test -n "$GUI_LIB_LOC"; then
  8770. - echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
  8771. -echo "${ECHO_T}$GUI_LIB_LOC" >&6
  8772. + { echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
  8773. +echo "${ECHO_T}$GUI_LIB_LOC" >&6; }
  8774. if test "`(uname) 2>/dev/null`" = SunOS &&
  8775. uname -r | grep '^5' >/dev/null; then
  8776. GUI_LIB_LOC="$GUI_LIB_LOC -R $GUI_LIB_LOC"
  8777. @@ -8114,8 +8579,8 @@
  8778. fi
  8779. MOTIF_LIBNAME=-lXm
  8780. else
  8781. - echo "$as_me:$LINENO: result: <not found>" >&5
  8782. -echo "${ECHO_T}<not found>" >&6
  8783. + { echo "$as_me:$LINENO: result: <not found>" >&5
  8784. +echo "${ECHO_T}<not found>" >&6; }
  8785. SKIP_MOTIF=YES
  8786. fi
  8787. fi
  8788. @@ -8132,8 +8597,8 @@
  8789. GUI_X_LIBS=
  8790. if test -z "$SKIP_ATHENA"; then
  8791. - echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
  8792. -echo $ECHO_N "checking if Athena header files can be found... $ECHO_C" >&6
  8793. + { echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
  8794. +echo $ECHO_N "checking if Athena header files can be found... $ECHO_C" >&6; }
  8795. cflags_save=$CFLAGS
  8796. CFLAGS="$CFLAGS $X_CFLAGS"
  8797. cat >conftest.$ac_ext <<_ACEOF
  8798. @@ -8154,37 +8619,33 @@
  8799. }
  8800. _ACEOF
  8801. rm -f conftest.$ac_objext
  8802. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8803. - (eval $ac_compile) 2>conftest.er1
  8804. +if { (ac_try="$ac_compile"
  8805. +case "(($ac_try" in
  8806. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8807. + *) ac_try_echo=$ac_try;;
  8808. +esac
  8809. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8810. + (eval "$ac_compile") 2>conftest.er1
  8811. ac_status=$?
  8812. grep -v '^ *+' conftest.er1 >conftest.err
  8813. rm -f conftest.er1
  8814. cat conftest.err >&5
  8815. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8816. - (exit $ac_status); } &&
  8817. - { ac_try='test -z "$ac_c_werror_flag"
  8818. - || test ! -s conftest.err'
  8819. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8820. - (eval $ac_try) 2>&5
  8821. - ac_status=$?
  8822. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8823. - (exit $ac_status); }; } &&
  8824. - { ac_try='test -s conftest.$ac_objext'
  8825. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8826. - (eval $ac_try) 2>&5
  8827. - ac_status=$?
  8828. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8829. - (exit $ac_status); }; }; then
  8830. - echo "$as_me:$LINENO: result: yes" >&5
  8831. -echo "${ECHO_T}yes" >&6
  8832. + (exit $ac_status); } && {
  8833. + test -z "$ac_c_werror_flag" ||
  8834. + test ! -s conftest.err
  8835. + } && test -s conftest.$ac_objext; then
  8836. + { echo "$as_me:$LINENO: result: yes" >&5
  8837. +echo "${ECHO_T}yes" >&6; }
  8838. else
  8839. echo "$as_me: failed program was:" >&5
  8840. sed 's/^/| /' conftest.$ac_ext >&5
  8841. -echo "$as_me:$LINENO: result: no" >&5
  8842. -echo "${ECHO_T}no" >&6; SKIP_ATHENA=YES
  8843. + { echo "$as_me:$LINENO: result: no" >&5
  8844. +echo "${ECHO_T}no" >&6; }; SKIP_ATHENA=YES
  8845. fi
  8846. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8847. +
  8848. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8849. CFLAGS=$cflags_save
  8850. fi
  8851. @@ -8193,8 +8654,8 @@
  8852. fi
  8853. if test -z "$SKIP_NEXTAW"; then
  8854. - echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
  8855. -echo $ECHO_N "checking if neXtaw header files can be found... $ECHO_C" >&6
  8856. + { echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
  8857. +echo $ECHO_N "checking if neXtaw header files can be found... $ECHO_C" >&6; }
  8858. cflags_save=$CFLAGS
  8859. CFLAGS="$CFLAGS $X_CFLAGS"
  8860. cat >conftest.$ac_ext <<_ACEOF
  8861. @@ -8215,37 +8676,33 @@
  8862. }
  8863. _ACEOF
  8864. rm -f conftest.$ac_objext
  8865. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8866. - (eval $ac_compile) 2>conftest.er1
  8867. +if { (ac_try="$ac_compile"
  8868. +case "(($ac_try" in
  8869. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8870. + *) ac_try_echo=$ac_try;;
  8871. +esac
  8872. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8873. + (eval "$ac_compile") 2>conftest.er1
  8874. ac_status=$?
  8875. grep -v '^ *+' conftest.er1 >conftest.err
  8876. rm -f conftest.er1
  8877. cat conftest.err >&5
  8878. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8879. - (exit $ac_status); } &&
  8880. - { ac_try='test -z "$ac_c_werror_flag"
  8881. - || test ! -s conftest.err'
  8882. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8883. - (eval $ac_try) 2>&5
  8884. - ac_status=$?
  8885. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8886. - (exit $ac_status); }; } &&
  8887. - { ac_try='test -s conftest.$ac_objext'
  8888. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8889. - (eval $ac_try) 2>&5
  8890. - ac_status=$?
  8891. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8892. - (exit $ac_status); }; }; then
  8893. - echo "$as_me:$LINENO: result: yes" >&5
  8894. -echo "${ECHO_T}yes" >&6
  8895. + (exit $ac_status); } && {
  8896. + test -z "$ac_c_werror_flag" ||
  8897. + test ! -s conftest.err
  8898. + } && test -s conftest.$ac_objext; then
  8899. + { echo "$as_me:$LINENO: result: yes" >&5
  8900. +echo "${ECHO_T}yes" >&6; }
  8901. else
  8902. echo "$as_me: failed program was:" >&5
  8903. sed 's/^/| /' conftest.$ac_ext >&5
  8904. -echo "$as_me:$LINENO: result: no" >&5
  8905. -echo "${ECHO_T}no" >&6; SKIP_NEXTAW=YES
  8906. + { echo "$as_me:$LINENO: result: no" >&5
  8907. +echo "${ECHO_T}no" >&6; }; SKIP_NEXTAW=YES
  8908. fi
  8909. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8910. +
  8911. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8912. CFLAGS=$cflags_save
  8913. fi
  8914. @@ -8263,8 +8720,8 @@
  8915. ldflags_save=$LDFLAGS
  8916. LDFLAGS="$X_LIBS $LDFLAGS"
  8917. - echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
  8918. -echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
  8919. + { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
  8920. +echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
  8921. if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
  8922. echo $ECHO_N "(cached) $ECHO_C" >&6
  8923. else
  8924. @@ -8277,62 +8734,59 @@
  8925. cat >>conftest.$ac_ext <<_ACEOF
  8926. /* end confdefs.h. */
  8927. -/* Override any gcc2 internal prototype to avoid an error. */
  8928. +/* Override any GCC internal prototype to avoid an error.
  8929. + Use char because int might match the return type of a GCC
  8930. + builtin and then its argument prototype would still apply. */
  8931. #ifdef __cplusplus
  8932. extern "C"
  8933. #endif
  8934. -/* We use char because int might match the return type of a gcc2
  8935. - builtin and then its argument prototype would still apply. */
  8936. char XShapeQueryExtension ();
  8937. int
  8938. main ()
  8939. {
  8940. -XShapeQueryExtension ();
  8941. +return XShapeQueryExtension ();
  8942. ;
  8943. return 0;
  8944. }
  8945. _ACEOF
  8946. rm -f conftest.$ac_objext conftest$ac_exeext
  8947. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8948. - (eval $ac_link) 2>conftest.er1
  8949. +if { (ac_try="$ac_link"
  8950. +case "(($ac_try" in
  8951. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8952. + *) ac_try_echo=$ac_try;;
  8953. +esac
  8954. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8955. + (eval "$ac_link") 2>conftest.er1
  8956. ac_status=$?
  8957. grep -v '^ *+' conftest.er1 >conftest.err
  8958. rm -f conftest.er1
  8959. cat conftest.err >&5
  8960. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8961. - (exit $ac_status); } &&
  8962. - { ac_try='test -z "$ac_c_werror_flag"
  8963. - || test ! -s conftest.err'
  8964. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8965. - (eval $ac_try) 2>&5
  8966. - ac_status=$?
  8967. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8968. - (exit $ac_status); }; } &&
  8969. - { ac_try='test -s conftest$ac_exeext'
  8970. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8971. - (eval $ac_try) 2>&5
  8972. - ac_status=$?
  8973. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8974. - (exit $ac_status); }; }; then
  8975. + (exit $ac_status); } && {
  8976. + test -z "$ac_c_werror_flag" ||
  8977. + test ! -s conftest.err
  8978. + } && test -s conftest$ac_exeext &&
  8979. + $as_test_x conftest$ac_exeext; then
  8980. ac_cv_lib_Xext_XShapeQueryExtension=yes
  8981. else
  8982. echo "$as_me: failed program was:" >&5
  8983. sed 's/^/| /' conftest.$ac_ext >&5
  8984. -ac_cv_lib_Xext_XShapeQueryExtension=no
  8985. + ac_cv_lib_Xext_XShapeQueryExtension=no
  8986. fi
  8987. -rm -f conftest.err conftest.$ac_objext \
  8988. +
  8989. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8990. conftest$ac_exeext conftest.$ac_ext
  8991. LIBS=$ac_check_lib_save_LIBS
  8992. fi
  8993. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  8994. -echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
  8995. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  8996. +echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  8997. if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
  8998. GUI_X_LIBS="-lXext"
  8999. fi
  9000. - echo "$as_me:$LINENO: checking for wslen in -lw" >&5
  9001. -echo $ECHO_N "checking for wslen in -lw... $ECHO_C" >&6
  9002. + { echo "$as_me:$LINENO: checking for wslen in -lw" >&5
  9003. +echo $ECHO_N "checking for wslen in -lw... $ECHO_C" >&6; }
  9004. if test "${ac_cv_lib_w_wslen+set}" = set; then
  9005. echo $ECHO_N "(cached) $ECHO_C" >&6
  9006. else
  9007. @@ -8345,62 +8799,59 @@
  9008. cat >>conftest.$ac_ext <<_ACEOF
  9009. /* end confdefs.h. */
  9010. -/* Override any gcc2 internal prototype to avoid an error. */
  9011. +/* Override any GCC internal prototype to avoid an error.
  9012. + Use char because int might match the return type of a GCC
  9013. + builtin and then its argument prototype would still apply. */
  9014. #ifdef __cplusplus
  9015. extern "C"
  9016. #endif
  9017. -/* We use char because int might match the return type of a gcc2
  9018. - builtin and then its argument prototype would still apply. */
  9019. char wslen ();
  9020. int
  9021. main ()
  9022. {
  9023. -wslen ();
  9024. +return wslen ();
  9025. ;
  9026. return 0;
  9027. }
  9028. _ACEOF
  9029. rm -f conftest.$ac_objext conftest$ac_exeext
  9030. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9031. - (eval $ac_link) 2>conftest.er1
  9032. +if { (ac_try="$ac_link"
  9033. +case "(($ac_try" in
  9034. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9035. + *) ac_try_echo=$ac_try;;
  9036. +esac
  9037. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9038. + (eval "$ac_link") 2>conftest.er1
  9039. ac_status=$?
  9040. grep -v '^ *+' conftest.er1 >conftest.err
  9041. rm -f conftest.er1
  9042. cat conftest.err >&5
  9043. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9044. - (exit $ac_status); } &&
  9045. - { ac_try='test -z "$ac_c_werror_flag"
  9046. - || test ! -s conftest.err'
  9047. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9048. - (eval $ac_try) 2>&5
  9049. - ac_status=$?
  9050. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9051. - (exit $ac_status); }; } &&
  9052. - { ac_try='test -s conftest$ac_exeext'
  9053. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9054. - (eval $ac_try) 2>&5
  9055. - ac_status=$?
  9056. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9057. - (exit $ac_status); }; }; then
  9058. + (exit $ac_status); } && {
  9059. + test -z "$ac_c_werror_flag" ||
  9060. + test ! -s conftest.err
  9061. + } && test -s conftest$ac_exeext &&
  9062. + $as_test_x conftest$ac_exeext; then
  9063. ac_cv_lib_w_wslen=yes
  9064. else
  9065. echo "$as_me: failed program was:" >&5
  9066. sed 's/^/| /' conftest.$ac_ext >&5
  9067. -ac_cv_lib_w_wslen=no
  9068. + ac_cv_lib_w_wslen=no
  9069. fi
  9070. -rm -f conftest.err conftest.$ac_objext \
  9071. +
  9072. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9073. conftest$ac_exeext conftest.$ac_ext
  9074. LIBS=$ac_check_lib_save_LIBS
  9075. fi
  9076. -echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
  9077. -echo "${ECHO_T}$ac_cv_lib_w_wslen" >&6
  9078. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
  9079. +echo "${ECHO_T}$ac_cv_lib_w_wslen" >&6; }
  9080. if test $ac_cv_lib_w_wslen = yes; then
  9081. X_EXTRA_LIBS="$X_EXTRA_LIBS -lw"
  9082. fi
  9083. - echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
  9084. -echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
  9085. + { echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
  9086. +echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; }
  9087. if test "${ac_cv_lib_dl_dlsym+set}" = set; then
  9088. echo $ECHO_N "(cached) $ECHO_C" >&6
  9089. else
  9090. @@ -8413,62 +8864,59 @@
  9091. cat >>conftest.$ac_ext <<_ACEOF
  9092. /* end confdefs.h. */
  9093. -/* Override any gcc2 internal prototype to avoid an error. */
  9094. +/* Override any GCC internal prototype to avoid an error.
  9095. + Use char because int might match the return type of a GCC
  9096. + builtin and then its argument prototype would still apply. */
  9097. #ifdef __cplusplus
  9098. extern "C"
  9099. #endif
  9100. -/* We use char because int might match the return type of a gcc2
  9101. - builtin and then its argument prototype would still apply. */
  9102. char dlsym ();
  9103. int
  9104. main ()
  9105. {
  9106. -dlsym ();
  9107. +return dlsym ();
  9108. ;
  9109. return 0;
  9110. }
  9111. _ACEOF
  9112. rm -f conftest.$ac_objext conftest$ac_exeext
  9113. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9114. - (eval $ac_link) 2>conftest.er1
  9115. +if { (ac_try="$ac_link"
  9116. +case "(($ac_try" in
  9117. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9118. + *) ac_try_echo=$ac_try;;
  9119. +esac
  9120. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9121. + (eval "$ac_link") 2>conftest.er1
  9122. ac_status=$?
  9123. grep -v '^ *+' conftest.er1 >conftest.err
  9124. rm -f conftest.er1
  9125. cat conftest.err >&5
  9126. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9127. - (exit $ac_status); } &&
  9128. - { ac_try='test -z "$ac_c_werror_flag"
  9129. - || test ! -s conftest.err'
  9130. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9131. - (eval $ac_try) 2>&5
  9132. - ac_status=$?
  9133. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9134. - (exit $ac_status); }; } &&
  9135. - { ac_try='test -s conftest$ac_exeext'
  9136. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9137. - (eval $ac_try) 2>&5
  9138. - ac_status=$?
  9139. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9140. - (exit $ac_status); }; }; then
  9141. + (exit $ac_status); } && {
  9142. + test -z "$ac_c_werror_flag" ||
  9143. + test ! -s conftest.err
  9144. + } && test -s conftest$ac_exeext &&
  9145. + $as_test_x conftest$ac_exeext; then
  9146. ac_cv_lib_dl_dlsym=yes
  9147. else
  9148. echo "$as_me: failed program was:" >&5
  9149. sed 's/^/| /' conftest.$ac_ext >&5
  9150. -ac_cv_lib_dl_dlsym=no
  9151. + ac_cv_lib_dl_dlsym=no
  9152. fi
  9153. -rm -f conftest.err conftest.$ac_objext \
  9154. +
  9155. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9156. conftest$ac_exeext conftest.$ac_ext
  9157. LIBS=$ac_check_lib_save_LIBS
  9158. fi
  9159. -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
  9160. -echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
  9161. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
  9162. +echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; }
  9163. if test $ac_cv_lib_dl_dlsym = yes; then
  9164. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldl"
  9165. fi
  9166. - echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
  9167. -echo $ECHO_N "checking for XmuCreateStippledPixmap in -lXmu... $ECHO_C" >&6
  9168. + { echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
  9169. +echo $ECHO_N "checking for XmuCreateStippledPixmap in -lXmu... $ECHO_C" >&6; }
  9170. if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then
  9171. echo $ECHO_N "(cached) $ECHO_C" >&6
  9172. else
  9173. @@ -8481,63 +8929,60 @@
  9174. cat >>conftest.$ac_ext <<_ACEOF
  9175. /* end confdefs.h. */
  9176. -/* Override any gcc2 internal prototype to avoid an error. */
  9177. +/* Override any GCC internal prototype to avoid an error.
  9178. + Use char because int might match the return type of a GCC
  9179. + builtin and then its argument prototype would still apply. */
  9180. #ifdef __cplusplus
  9181. extern "C"
  9182. #endif
  9183. -/* We use char because int might match the return type of a gcc2
  9184. - builtin and then its argument prototype would still apply. */
  9185. char XmuCreateStippledPixmap ();
  9186. int
  9187. main ()
  9188. {
  9189. -XmuCreateStippledPixmap ();
  9190. +return XmuCreateStippledPixmap ();
  9191. ;
  9192. return 0;
  9193. }
  9194. _ACEOF
  9195. rm -f conftest.$ac_objext conftest$ac_exeext
  9196. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9197. - (eval $ac_link) 2>conftest.er1
  9198. +if { (ac_try="$ac_link"
  9199. +case "(($ac_try" in
  9200. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9201. + *) ac_try_echo=$ac_try;;
  9202. +esac
  9203. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9204. + (eval "$ac_link") 2>conftest.er1
  9205. ac_status=$?
  9206. grep -v '^ *+' conftest.er1 >conftest.err
  9207. rm -f conftest.er1
  9208. cat conftest.err >&5
  9209. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9210. - (exit $ac_status); } &&
  9211. - { ac_try='test -z "$ac_c_werror_flag"
  9212. - || test ! -s conftest.err'
  9213. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9214. - (eval $ac_try) 2>&5
  9215. - ac_status=$?
  9216. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9217. - (exit $ac_status); }; } &&
  9218. - { ac_try='test -s conftest$ac_exeext'
  9219. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9220. - (eval $ac_try) 2>&5
  9221. - ac_status=$?
  9222. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9223. - (exit $ac_status); }; }; then
  9224. + (exit $ac_status); } && {
  9225. + test -z "$ac_c_werror_flag" ||
  9226. + test ! -s conftest.err
  9227. + } && test -s conftest$ac_exeext &&
  9228. + $as_test_x conftest$ac_exeext; then
  9229. ac_cv_lib_Xmu_XmuCreateStippledPixmap=yes
  9230. else
  9231. echo "$as_me: failed program was:" >&5
  9232. sed 's/^/| /' conftest.$ac_ext >&5
  9233. -ac_cv_lib_Xmu_XmuCreateStippledPixmap=no
  9234. + ac_cv_lib_Xmu_XmuCreateStippledPixmap=no
  9235. fi
  9236. -rm -f conftest.err conftest.$ac_objext \
  9237. +
  9238. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9239. conftest$ac_exeext conftest.$ac_ext
  9240. LIBS=$ac_check_lib_save_LIBS
  9241. fi
  9242. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
  9243. -echo "${ECHO_T}$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6
  9244. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
  9245. +echo "${ECHO_T}$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6; }
  9246. if test $ac_cv_lib_Xmu_XmuCreateStippledPixmap = yes; then
  9247. GUI_X_LIBS="-lXmu $GUI_X_LIBS"
  9248. fi
  9249. if test -z "$SKIP_MOTIF"; then
  9250. - echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
  9251. -echo $ECHO_N "checking for XpEndJob in -lXp... $ECHO_C" >&6
  9252. + { echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
  9253. +echo $ECHO_N "checking for XpEndJob in -lXp... $ECHO_C" >&6; }
  9254. if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then
  9255. echo $ECHO_N "(cached) $ECHO_C" >&6
  9256. else
  9257. @@ -8550,56 +8995,53 @@
  9258. cat >>conftest.$ac_ext <<_ACEOF
  9259. /* end confdefs.h. */
  9260. -/* Override any gcc2 internal prototype to avoid an error. */
  9261. +/* Override any GCC internal prototype to avoid an error.
  9262. + Use char because int might match the return type of a GCC
  9263. + builtin and then its argument prototype would still apply. */
  9264. #ifdef __cplusplus
  9265. extern "C"
  9266. #endif
  9267. -/* We use char because int might match the return type of a gcc2
  9268. - builtin and then its argument prototype would still apply. */
  9269. char XpEndJob ();
  9270. int
  9271. main ()
  9272. {
  9273. -XpEndJob ();
  9274. +return XpEndJob ();
  9275. ;
  9276. return 0;
  9277. }
  9278. _ACEOF
  9279. rm -f conftest.$ac_objext conftest$ac_exeext
  9280. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9281. - (eval $ac_link) 2>conftest.er1
  9282. +if { (ac_try="$ac_link"
  9283. +case "(($ac_try" in
  9284. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9285. + *) ac_try_echo=$ac_try;;
  9286. +esac
  9287. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9288. + (eval "$ac_link") 2>conftest.er1
  9289. ac_status=$?
  9290. grep -v '^ *+' conftest.er1 >conftest.err
  9291. rm -f conftest.er1
  9292. cat conftest.err >&5
  9293. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9294. - (exit $ac_status); } &&
  9295. - { ac_try='test -z "$ac_c_werror_flag"
  9296. - || test ! -s conftest.err'
  9297. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9298. - (eval $ac_try) 2>&5
  9299. - ac_status=$?
  9300. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9301. - (exit $ac_status); }; } &&
  9302. - { ac_try='test -s conftest$ac_exeext'
  9303. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9304. - (eval $ac_try) 2>&5
  9305. - ac_status=$?
  9306. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9307. - (exit $ac_status); }; }; then
  9308. + (exit $ac_status); } && {
  9309. + test -z "$ac_c_werror_flag" ||
  9310. + test ! -s conftest.err
  9311. + } && test -s conftest$ac_exeext &&
  9312. + $as_test_x conftest$ac_exeext; then
  9313. ac_cv_lib_Xp_XpEndJob=yes
  9314. else
  9315. echo "$as_me: failed program was:" >&5
  9316. sed 's/^/| /' conftest.$ac_ext >&5
  9317. -ac_cv_lib_Xp_XpEndJob=no
  9318. + ac_cv_lib_Xp_XpEndJob=no
  9319. fi
  9320. -rm -f conftest.err conftest.$ac_objext \
  9321. +
  9322. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9323. conftest$ac_exeext conftest.$ac_ext
  9324. LIBS=$ac_check_lib_save_LIBS
  9325. fi
  9326. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
  9327. -echo "${ECHO_T}$ac_cv_lib_Xp_XpEndJob" >&6
  9328. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
  9329. +echo "${ECHO_T}$ac_cv_lib_Xp_XpEndJob" >&6; }
  9330. if test $ac_cv_lib_Xp_XpEndJob = yes; then
  9331. GUI_X_LIBS="-lXp $GUI_X_LIBS"
  9332. fi
  9333. @@ -8607,8 +9049,8 @@
  9334. fi
  9335. LDFLAGS=$ldflags_save
  9336. - echo "$as_me:$LINENO: checking for extra X11 defines" >&5
  9337. -echo $ECHO_N "checking for extra X11 defines... $ECHO_C" >&6
  9338. + { echo "$as_me:$LINENO: checking for extra X11 defines" >&5
  9339. +echo $ECHO_N "checking for extra X11 defines... $ECHO_C" >&6; }
  9340. NARROW_PROTO=
  9341. rm -fr conftestdir
  9342. if mkdir conftestdir; then
  9343. @@ -8624,11 +9066,11 @@
  9344. rm -fr conftestdir
  9345. fi
  9346. if test -z "$NARROW_PROTO"; then
  9347. - echo "$as_me:$LINENO: result: no" >&5
  9348. -echo "${ECHO_T}no" >&6
  9349. + { echo "$as_me:$LINENO: result: no" >&5
  9350. +echo "${ECHO_T}no" >&6; }
  9351. else
  9352. - echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
  9353. -echo "${ECHO_T}$NARROW_PROTO" >&6
  9354. + { echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
  9355. +echo "${ECHO_T}$NARROW_PROTO" >&6; }
  9356. fi
  9357. fi
  9358. @@ -8640,18 +9082,19 @@
  9359. for ac_header in X11/SM/SMlib.h
  9360. do
  9361. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9362. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9363. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  9364. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9365. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9366. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9367. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  9368. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9369. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9370. echo $ECHO_N "(cached) $ECHO_C" >&6
  9371. fi
  9372. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9373. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9374. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9375. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9376. +echo "${ECHO_T}$ac_res" >&6; }
  9377. else
  9378. # Is the header compilable?
  9379. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9380. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  9381. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9382. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  9383. cat >conftest.$ac_ext <<_ACEOF
  9384. /* confdefs.h. */
  9385. _ACEOF
  9386. @@ -8662,41 +9105,37 @@
  9387. #include <$ac_header>
  9388. _ACEOF
  9389. rm -f conftest.$ac_objext
  9390. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9391. - (eval $ac_compile) 2>conftest.er1
  9392. +if { (ac_try="$ac_compile"
  9393. +case "(($ac_try" in
  9394. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9395. + *) ac_try_echo=$ac_try;;
  9396. +esac
  9397. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9398. + (eval "$ac_compile") 2>conftest.er1
  9399. ac_status=$?
  9400. grep -v '^ *+' conftest.er1 >conftest.err
  9401. rm -f conftest.er1
  9402. cat conftest.err >&5
  9403. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9404. - (exit $ac_status); } &&
  9405. - { ac_try='test -z "$ac_c_werror_flag"
  9406. - || test ! -s conftest.err'
  9407. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9408. - (eval $ac_try) 2>&5
  9409. - ac_status=$?
  9410. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9411. - (exit $ac_status); }; } &&
  9412. - { ac_try='test -s conftest.$ac_objext'
  9413. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9414. - (eval $ac_try) 2>&5
  9415. - ac_status=$?
  9416. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9417. - (exit $ac_status); }; }; then
  9418. + (exit $ac_status); } && {
  9419. + test -z "$ac_c_werror_flag" ||
  9420. + test ! -s conftest.err
  9421. + } && test -s conftest.$ac_objext; then
  9422. ac_header_compiler=yes
  9423. else
  9424. echo "$as_me: failed program was:" >&5
  9425. sed 's/^/| /' conftest.$ac_ext >&5
  9426. -ac_header_compiler=no
  9427. + ac_header_compiler=no
  9428. fi
  9429. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9430. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9431. -echo "${ECHO_T}$ac_header_compiler" >&6
  9432. +
  9433. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9434. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9435. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  9436. # Is the header present?
  9437. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9438. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  9439. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9440. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  9441. cat >conftest.$ac_ext <<_ACEOF
  9442. /* confdefs.h. */
  9443. _ACEOF
  9444. @@ -8705,24 +9144,22 @@
  9445. /* end confdefs.h. */
  9446. #include <$ac_header>
  9447. _ACEOF
  9448. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  9449. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  9450. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  9451. +case "(($ac_try" in
  9452. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9453. + *) ac_try_echo=$ac_try;;
  9454. +esac
  9455. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9456. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9457. ac_status=$?
  9458. grep -v '^ *+' conftest.er1 >conftest.err
  9459. rm -f conftest.er1
  9460. cat conftest.err >&5
  9461. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9462. - (exit $ac_status); } >/dev/null; then
  9463. - if test -s conftest.err; then
  9464. - ac_cpp_err=$ac_c_preproc_warn_flag
  9465. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9466. - else
  9467. - ac_cpp_err=
  9468. - fi
  9469. -else
  9470. - ac_cpp_err=yes
  9471. -fi
  9472. -if test -z "$ac_cpp_err"; then
  9473. + (exit $ac_status); } >/dev/null && {
  9474. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9475. + test ! -s conftest.err
  9476. + }; then
  9477. ac_header_preproc=yes
  9478. else
  9479. echo "$as_me: failed program was:" >&5
  9480. @@ -8730,9 +9167,10 @@
  9481. ac_header_preproc=no
  9482. fi
  9483. +
  9484. rm -f conftest.err conftest.$ac_ext
  9485. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9486. -echo "${ECHO_T}$ac_header_preproc" >&6
  9487. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9488. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  9489. # So? What about this header?
  9490. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9491. @@ -8756,25 +9194,19 @@
  9492. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9493. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9494. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9495. - (
  9496. - cat <<\_ASBOX
  9497. -## ------------------------------------------ ##
  9498. -## Report this to the AC_PACKAGE_NAME lists. ##
  9499. -## ------------------------------------------ ##
  9500. -_ASBOX
  9501. - ) |
  9502. - sed "s/^/$as_me: WARNING: /" >&2
  9503. +
  9504. ;;
  9505. esac
  9506. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  9507. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9508. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9509. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  9510. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9511. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9512. echo $ECHO_N "(cached) $ECHO_C" >&6
  9513. else
  9514. eval "$as_ac_Header=\$ac_header_preproc"
  9515. fi
  9516. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9517. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9518. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9519. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9520. +echo "${ECHO_T}$ac_res" >&6; }
  9521. fi
  9522. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  9523. @@ -8798,18 +9230,19 @@
  9524. for ac_header in X11/xpm.h X11/Sunkeysym.h
  9525. do
  9526. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9527. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9528. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  9529. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9530. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9531. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9532. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  9533. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9534. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9535. echo $ECHO_N "(cached) $ECHO_C" >&6
  9536. fi
  9537. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9538. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9539. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9540. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9541. +echo "${ECHO_T}$ac_res" >&6; }
  9542. else
  9543. # Is the header compilable?
  9544. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9545. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  9546. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9547. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  9548. cat >conftest.$ac_ext <<_ACEOF
  9549. /* confdefs.h. */
  9550. _ACEOF
  9551. @@ -8820,41 +9253,37 @@
  9552. #include <$ac_header>
  9553. _ACEOF
  9554. rm -f conftest.$ac_objext
  9555. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9556. - (eval $ac_compile) 2>conftest.er1
  9557. +if { (ac_try="$ac_compile"
  9558. +case "(($ac_try" in
  9559. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9560. + *) ac_try_echo=$ac_try;;
  9561. +esac
  9562. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9563. + (eval "$ac_compile") 2>conftest.er1
  9564. ac_status=$?
  9565. grep -v '^ *+' conftest.er1 >conftest.err
  9566. rm -f conftest.er1
  9567. cat conftest.err >&5
  9568. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9569. - (exit $ac_status); } &&
  9570. - { ac_try='test -z "$ac_c_werror_flag"
  9571. - || test ! -s conftest.err'
  9572. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9573. - (eval $ac_try) 2>&5
  9574. - ac_status=$?
  9575. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9576. - (exit $ac_status); }; } &&
  9577. - { ac_try='test -s conftest.$ac_objext'
  9578. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9579. - (eval $ac_try) 2>&5
  9580. - ac_status=$?
  9581. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9582. - (exit $ac_status); }; }; then
  9583. + (exit $ac_status); } && {
  9584. + test -z "$ac_c_werror_flag" ||
  9585. + test ! -s conftest.err
  9586. + } && test -s conftest.$ac_objext; then
  9587. ac_header_compiler=yes
  9588. else
  9589. echo "$as_me: failed program was:" >&5
  9590. sed 's/^/| /' conftest.$ac_ext >&5
  9591. -ac_header_compiler=no
  9592. + ac_header_compiler=no
  9593. fi
  9594. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9595. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9596. -echo "${ECHO_T}$ac_header_compiler" >&6
  9597. +
  9598. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9599. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9600. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  9601. # Is the header present?
  9602. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9603. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  9604. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9605. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  9606. cat >conftest.$ac_ext <<_ACEOF
  9607. /* confdefs.h. */
  9608. _ACEOF
  9609. @@ -8863,24 +9292,22 @@
  9610. /* end confdefs.h. */
  9611. #include <$ac_header>
  9612. _ACEOF
  9613. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  9614. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  9615. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  9616. +case "(($ac_try" in
  9617. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9618. + *) ac_try_echo=$ac_try;;
  9619. +esac
  9620. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9621. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9622. ac_status=$?
  9623. grep -v '^ *+' conftest.er1 >conftest.err
  9624. rm -f conftest.er1
  9625. cat conftest.err >&5
  9626. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9627. - (exit $ac_status); } >/dev/null; then
  9628. - if test -s conftest.err; then
  9629. - ac_cpp_err=$ac_c_preproc_warn_flag
  9630. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9631. - else
  9632. - ac_cpp_err=
  9633. - fi
  9634. -else
  9635. - ac_cpp_err=yes
  9636. -fi
  9637. -if test -z "$ac_cpp_err"; then
  9638. + (exit $ac_status); } >/dev/null && {
  9639. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9640. + test ! -s conftest.err
  9641. + }; then
  9642. ac_header_preproc=yes
  9643. else
  9644. echo "$as_me: failed program was:" >&5
  9645. @@ -8888,9 +9315,10 @@
  9646. ac_header_preproc=no
  9647. fi
  9648. +
  9649. rm -f conftest.err conftest.$ac_ext
  9650. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9651. -echo "${ECHO_T}$ac_header_preproc" >&6
  9652. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9653. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  9654. # So? What about this header?
  9655. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9656. @@ -8914,25 +9342,19 @@
  9657. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9658. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9659. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9660. - (
  9661. - cat <<\_ASBOX
  9662. -## ------------------------------------------ ##
  9663. -## Report this to the AC_PACKAGE_NAME lists. ##
  9664. -## ------------------------------------------ ##
  9665. -_ASBOX
  9666. - ) |
  9667. - sed "s/^/$as_me: WARNING: /" >&2
  9668. +
  9669. ;;
  9670. esac
  9671. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  9672. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9673. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9674. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  9675. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9676. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9677. echo $ECHO_N "(cached) $ECHO_C" >&6
  9678. else
  9679. eval "$as_ac_Header=\$ac_header_preproc"
  9680. fi
  9681. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9682. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9683. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9684. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9685. +echo "${ECHO_T}$ac_res" >&6; }
  9686. fi
  9687. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  9688. @@ -8946,8 +9368,8 @@
  9689. if test ! "$enable_xim" = "no"; then
  9690. - echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
  9691. -echo $ECHO_N "checking for XIMText in X11/Xlib.h... $ECHO_C" >&6
  9692. + { echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
  9693. +echo $ECHO_N "checking for XIMText in X11/Xlib.h... $ECHO_C" >&6; }
  9694. cat >conftest.$ac_ext <<_ACEOF
  9695. /* confdefs.h. */
  9696. _ACEOF
  9697. @@ -8958,11 +9380,11 @@
  9698. _ACEOF
  9699. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9700. $EGREP "XIMText" >/dev/null 2>&1; then
  9701. - echo "$as_me:$LINENO: result: yes" >&5
  9702. -echo "${ECHO_T}yes" >&6
  9703. + { echo "$as_me:$LINENO: result: yes" >&5
  9704. +echo "${ECHO_T}yes" >&6; }
  9705. else
  9706. - echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
  9707. -echo "${ECHO_T}no; xim has been disabled" >&6; enable_xim = "no"
  9708. + { echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
  9709. +echo "${ECHO_T}no; xim has been disabled" >&6; }; enable_xim = "no"
  9710. fi
  9711. rm -f conftest*
  9712. @@ -8971,8 +9393,8 @@
  9713. if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \
  9714. -a "x$GUITYPE" != "xNONE" ; then
  9715. - echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
  9716. -echo "${ECHO_T}X GUI selected; xim has been enabled" >&6
  9717. + { echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
  9718. +echo "${ECHO_T}X GUI selected; xim has been enabled" >&6; }
  9719. enable_xim="yes"
  9720. fi
  9721. fi
  9722. @@ -8980,8 +9402,8 @@
  9723. if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
  9724. cppflags_save=$CPPFLAGS
  9725. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  9726. - echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
  9727. -echo $ECHO_N "checking for X11/Xmu/Editres.h... $ECHO_C" >&6
  9728. + { echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
  9729. +echo $ECHO_N "checking for X11/Xmu/Editres.h... $ECHO_C" >&6; }
  9730. cat >conftest.$ac_ext <<_ACEOF
  9731. /* confdefs.h. */
  9732. _ACEOF
  9733. @@ -9000,29 +9422,24 @@
  9734. }
  9735. _ACEOF
  9736. rm -f conftest.$ac_objext
  9737. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9738. - (eval $ac_compile) 2>conftest.er1
  9739. +if { (ac_try="$ac_compile"
  9740. +case "(($ac_try" in
  9741. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9742. + *) ac_try_echo=$ac_try;;
  9743. +esac
  9744. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9745. + (eval "$ac_compile") 2>conftest.er1
  9746. ac_status=$?
  9747. grep -v '^ *+' conftest.er1 >conftest.err
  9748. rm -f conftest.er1
  9749. cat conftest.err >&5
  9750. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9751. - (exit $ac_status); } &&
  9752. - { ac_try='test -z "$ac_c_werror_flag"
  9753. - || test ! -s conftest.err'
  9754. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9755. - (eval $ac_try) 2>&5
  9756. - ac_status=$?
  9757. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9758. - (exit $ac_status); }; } &&
  9759. - { ac_try='test -s conftest.$ac_objext'
  9760. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9761. - (eval $ac_try) 2>&5
  9762. - ac_status=$?
  9763. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9764. - (exit $ac_status); }; }; then
  9765. - echo "$as_me:$LINENO: result: yes" >&5
  9766. -echo "${ECHO_T}yes" >&6
  9767. + (exit $ac_status); } && {
  9768. + test -z "$ac_c_werror_flag" ||
  9769. + test ! -s conftest.err
  9770. + } && test -s conftest.$ac_objext; then
  9771. + { echo "$as_me:$LINENO: result: yes" >&5
  9772. +echo "${ECHO_T}yes" >&6; }
  9773. cat >>confdefs.h <<\_ACEOF
  9774. #define HAVE_X11_XMU_EDITRES_H 1
  9775. _ACEOF
  9776. @@ -9031,10 +9448,11 @@
  9777. echo "$as_me: failed program was:" >&5
  9778. sed 's/^/| /' conftest.$ac_ext >&5
  9779. -echo "$as_me:$LINENO: result: no" >&5
  9780. -echo "${ECHO_T}no" >&6
  9781. + { echo "$as_me:$LINENO: result: no" >&5
  9782. +echo "${ECHO_T}no" >&6; }
  9783. fi
  9784. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9785. +
  9786. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9787. CPPFLAGS=$cppflags_save
  9788. fi
  9789. @@ -9052,18 +9470,19 @@
  9790. Xm/UnhighlightT.h Xm/Notebook.h
  9791. do
  9792. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9793. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9794. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  9795. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9796. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9797. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9798. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  9799. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9800. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9801. echo $ECHO_N "(cached) $ECHO_C" >&6
  9802. fi
  9803. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9804. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9805. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9806. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9807. +echo "${ECHO_T}$ac_res" >&6; }
  9808. else
  9809. # Is the header compilable?
  9810. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9811. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  9812. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9813. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  9814. cat >conftest.$ac_ext <<_ACEOF
  9815. /* confdefs.h. */
  9816. _ACEOF
  9817. @@ -9074,41 +9493,37 @@
  9818. #include <$ac_header>
  9819. _ACEOF
  9820. rm -f conftest.$ac_objext
  9821. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9822. - (eval $ac_compile) 2>conftest.er1
  9823. +if { (ac_try="$ac_compile"
  9824. +case "(($ac_try" in
  9825. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9826. + *) ac_try_echo=$ac_try;;
  9827. +esac
  9828. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9829. + (eval "$ac_compile") 2>conftest.er1
  9830. ac_status=$?
  9831. grep -v '^ *+' conftest.er1 >conftest.err
  9832. rm -f conftest.er1
  9833. cat conftest.err >&5
  9834. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9835. - (exit $ac_status); } &&
  9836. - { ac_try='test -z "$ac_c_werror_flag"
  9837. - || test ! -s conftest.err'
  9838. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9839. - (eval $ac_try) 2>&5
  9840. - ac_status=$?
  9841. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9842. - (exit $ac_status); }; } &&
  9843. - { ac_try='test -s conftest.$ac_objext'
  9844. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9845. - (eval $ac_try) 2>&5
  9846. - ac_status=$?
  9847. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9848. - (exit $ac_status); }; }; then
  9849. + (exit $ac_status); } && {
  9850. + test -z "$ac_c_werror_flag" ||
  9851. + test ! -s conftest.err
  9852. + } && test -s conftest.$ac_objext; then
  9853. ac_header_compiler=yes
  9854. else
  9855. echo "$as_me: failed program was:" >&5
  9856. sed 's/^/| /' conftest.$ac_ext >&5
  9857. -ac_header_compiler=no
  9858. + ac_header_compiler=no
  9859. fi
  9860. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9861. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9862. -echo "${ECHO_T}$ac_header_compiler" >&6
  9863. +
  9864. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9865. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9866. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  9867. # Is the header present?
  9868. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9869. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  9870. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9871. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  9872. cat >conftest.$ac_ext <<_ACEOF
  9873. /* confdefs.h. */
  9874. _ACEOF
  9875. @@ -9117,24 +9532,22 @@
  9876. /* end confdefs.h. */
  9877. #include <$ac_header>
  9878. _ACEOF
  9879. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  9880. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  9881. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  9882. +case "(($ac_try" in
  9883. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9884. + *) ac_try_echo=$ac_try;;
  9885. +esac
  9886. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9887. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9888. ac_status=$?
  9889. grep -v '^ *+' conftest.er1 >conftest.err
  9890. rm -f conftest.er1
  9891. cat conftest.err >&5
  9892. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9893. - (exit $ac_status); } >/dev/null; then
  9894. - if test -s conftest.err; then
  9895. - ac_cpp_err=$ac_c_preproc_warn_flag
  9896. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9897. - else
  9898. - ac_cpp_err=
  9899. - fi
  9900. -else
  9901. - ac_cpp_err=yes
  9902. -fi
  9903. -if test -z "$ac_cpp_err"; then
  9904. + (exit $ac_status); } >/dev/null && {
  9905. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9906. + test ! -s conftest.err
  9907. + }; then
  9908. ac_header_preproc=yes
  9909. else
  9910. echo "$as_me: failed program was:" >&5
  9911. @@ -9142,9 +9555,10 @@
  9912. ac_header_preproc=no
  9913. fi
  9914. +
  9915. rm -f conftest.err conftest.$ac_ext
  9916. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9917. -echo "${ECHO_T}$ac_header_preproc" >&6
  9918. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9919. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  9920. # So? What about this header?
  9921. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9922. @@ -9168,25 +9582,19 @@
  9923. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9924. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9925. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9926. - (
  9927. - cat <<\_ASBOX
  9928. -## ------------------------------------------ ##
  9929. -## Report this to the AC_PACKAGE_NAME lists. ##
  9930. -## ------------------------------------------ ##
  9931. -_ASBOX
  9932. - ) |
  9933. - sed "s/^/$as_me: WARNING: /" >&2
  9934. +
  9935. ;;
  9936. esac
  9937. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  9938. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9939. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9940. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  9941. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9942. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9943. echo $ECHO_N "(cached) $ECHO_C" >&6
  9944. else
  9945. eval "$as_ac_Header=\$ac_header_preproc"
  9946. fi
  9947. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9948. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9949. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9950. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9951. +echo "${ECHO_T}$ac_res" >&6; }
  9952. fi
  9953. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  9954. @@ -9200,8 +9608,8 @@
  9955. if test $ac_cv_header_Xm_XpmP_h = yes; then
  9956. - echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
  9957. -echo $ECHO_N "checking for XpmAttributes_21 in Xm/XpmP.h... $ECHO_C" >&6
  9958. + { echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
  9959. +echo $ECHO_N "checking for XpmAttributes_21 in Xm/XpmP.h... $ECHO_C" >&6; }
  9960. cat >conftest.$ac_ext <<_ACEOF
  9961. /* confdefs.h. */
  9962. _ACEOF
  9963. @@ -9218,29 +9626,24 @@
  9964. }
  9965. _ACEOF
  9966. rm -f conftest.$ac_objext
  9967. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9968. - (eval $ac_compile) 2>conftest.er1
  9969. +if { (ac_try="$ac_compile"
  9970. +case "(($ac_try" in
  9971. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9972. + *) ac_try_echo=$ac_try;;
  9973. +esac
  9974. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9975. + (eval "$ac_compile") 2>conftest.er1
  9976. ac_status=$?
  9977. grep -v '^ *+' conftest.er1 >conftest.err
  9978. rm -f conftest.er1
  9979. cat conftest.err >&5
  9980. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9981. - (exit $ac_status); } &&
  9982. - { ac_try='test -z "$ac_c_werror_flag"
  9983. - || test ! -s conftest.err'
  9984. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9985. - (eval $ac_try) 2>&5
  9986. - ac_status=$?
  9987. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9988. - (exit $ac_status); }; } &&
  9989. - { ac_try='test -s conftest.$ac_objext'
  9990. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9991. - (eval $ac_try) 2>&5
  9992. - ac_status=$?
  9993. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9994. - (exit $ac_status); }; }; then
  9995. - echo "$as_me:$LINENO: result: yes" >&5
  9996. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  9997. + (exit $ac_status); } && {
  9998. + test -z "$ac_c_werror_flag" ||
  9999. + test ! -s conftest.err
  10000. + } && test -s conftest.$ac_objext; then
  10001. + { echo "$as_me:$LINENO: result: yes" >&5
  10002. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  10003. #define XPMATTRIBUTES_TYPE XpmAttributes_21
  10004. _ACEOF
  10005. @@ -9248,14 +9651,15 @@
  10006. echo "$as_me: failed program was:" >&5
  10007. sed 's/^/| /' conftest.$ac_ext >&5
  10008. -echo "$as_me:$LINENO: result: no" >&5
  10009. -echo "${ECHO_T}no" >&6; cat >>confdefs.h <<\_ACEOF
  10010. + { echo "$as_me:$LINENO: result: no" >&5
  10011. +echo "${ECHO_T}no" >&6; }; cat >>confdefs.h <<\_ACEOF
  10012. #define XPMATTRIBUTES_TYPE XpmAttributes
  10013. _ACEOF
  10014. fi
  10015. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10016. +
  10017. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10018. else
  10019. cat >>confdefs.h <<\_ACEOF
  10020. #define XPMATTRIBUTES_TYPE XpmAttributes
  10021. @@ -9266,18 +9670,18 @@
  10022. fi
  10023. if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then
  10024. - echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
  10025. -echo "${ECHO_T}no GUI selected; xim has been disabled" >&6
  10026. + { echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
  10027. +echo "${ECHO_T}no GUI selected; xim has been disabled" >&6; }
  10028. enable_xim="no"
  10029. fi
  10030. if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then
  10031. - echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
  10032. -echo "${ECHO_T}no GUI selected; fontset has been disabled" >&6
  10033. + { echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
  10034. +echo "${ECHO_T}no GUI selected; fontset has been disabled" >&6; }
  10035. enable_fontset="no"
  10036. fi
  10037. if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then
  10038. - echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
  10039. -echo "${ECHO_T}GTK+ 2 GUI selected; fontset has been disabled" >&6
  10040. + { echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
  10041. +echo "${ECHO_T}GTK+ 2 GUI selected; fontset has been disabled" >&6; }
  10042. enable_fontset="no"
  10043. fi
  10044. @@ -9314,8 +9718,8 @@
  10045. if test "$enable_hangulinput" = "yes"; then
  10046. if test "x$GUITYPE" = "xNONE"; then
  10047. - echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
  10048. -echo "${ECHO_T}no GUI selected; hangul input has been disabled" >&6
  10049. + { echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
  10050. +echo "${ECHO_T}no GUI selected; hangul input has been disabled" >&6; }
  10051. enable_hangulinput=no
  10052. else
  10053. cat >>confdefs.h <<\_ACEOF
  10054. @@ -9330,115 +9734,33 @@
  10055. fi
  10056. -echo "$as_me:$LINENO: checking quality of toupper" >&5
  10057. -echo $ECHO_N "checking quality of toupper... $ECHO_C" >&6
  10058. -if test "$cross_compiling" = yes; then
  10059. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  10060. -echo "$as_me: error: failed to compile test program" >&2;}
  10061. - { (exit 1); exit 1; }; }
  10062. -else
  10063. - cat >conftest.$ac_ext <<_ACEOF
  10064. -/* confdefs.h. */
  10065. -_ACEOF
  10066. -cat confdefs.h >>conftest.$ac_ext
  10067. -cat >>conftest.$ac_ext <<_ACEOF
  10068. -/* end confdefs.h. */
  10069. -#include <ctype.h>
  10070. -main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
  10071. -_ACEOF
  10072. -rm -f conftest$ac_exeext
  10073. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10074. - (eval $ac_link) 2>&5
  10075. - ac_status=$?
  10076. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10077. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  10078. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10079. - (eval $ac_try) 2>&5
  10080. - ac_status=$?
  10081. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10082. - (exit $ac_status); }; }; then
  10083. - cat >>confdefs.h <<\_ACEOF
  10084. -#define BROKEN_TOUPPER 1
  10085. -_ACEOF
  10086. - echo "$as_me:$LINENO: result: bad" >&5
  10087. -echo "${ECHO_T}bad" >&6
  10088. -else
  10089. - echo "$as_me: program exited with status $ac_status" >&5
  10090. -echo "$as_me: failed program was:" >&5
  10091. -sed 's/^/| /' conftest.$ac_ext >&5
  10092. -
  10093. -( exit $ac_status )
  10094. -echo "$as_me:$LINENO: result: good" >&5
  10095. -echo "${ECHO_T}good" >&6
  10096. -fi
  10097. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  10098. -fi
  10099. -
  10100. -echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
  10101. -echo $ECHO_N "checking whether __DATE__ and __TIME__ work... $ECHO_C" >&6
  10102. -cat >conftest.$ac_ext <<_ACEOF
  10103. -/* confdefs.h. */
  10104. -_ACEOF
  10105. -cat confdefs.h >>conftest.$ac_ext
  10106. -cat >>conftest.$ac_ext <<_ACEOF
  10107. -/* end confdefs.h. */
  10108. -
  10109. -int
  10110. -main ()
  10111. -{
  10112. -printf("(" __DATE__ " " __TIME__ ")");
  10113. - ;
  10114. - return 0;
  10115. -}
  10116. -_ACEOF
  10117. -rm -f conftest.$ac_objext
  10118. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10119. - (eval $ac_compile) 2>conftest.er1
  10120. - ac_status=$?
  10121. - grep -v '^ *+' conftest.er1 >conftest.err
  10122. - rm -f conftest.er1
  10123. - cat conftest.err >&5
  10124. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10125. - (exit $ac_status); } &&
  10126. - { ac_try='test -z "$ac_c_werror_flag"
  10127. - || test ! -s conftest.err'
  10128. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10129. - (eval $ac_try) 2>&5
  10130. - ac_status=$?
  10131. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10132. - (exit $ac_status); }; } &&
  10133. - { ac_try='test -s conftest.$ac_objext'
  10134. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10135. - (eval $ac_try) 2>&5
  10136. - ac_status=$?
  10137. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10138. - (exit $ac_status); }; }; then
  10139. - echo "$as_me:$LINENO: result: yes" >&5
  10140. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  10141. +#AC_MSG_CHECKING(quality of toupper)
  10142. +#AC_TRY_RUN([#include <ctype.h>
  10143. +#main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }],
  10144. +# AC_DEFINE(BROKEN_TOUPPER) AC_MSG_RESULT(bad),
  10145. +# AC_MSG_RESULT(good), AC_MSG_ERROR(failed to compile test program))
  10146. +
  10147. +#AC_MSG_CHECKING(whether __DATE__ and __TIME__ work)
  10148. +#AC_TRY_COMPILE(, [printf("(" __DATE__ " " __TIME__ ")");],
  10149. +# AC_MSG_RESULT(yes); AC_DEFINE(HAVE_DATE_TIME),
  10150. +# AC_MSG_RESULT(no))
  10151. +cat >>confdefs.h <<\_ACEOF
  10152. #define HAVE_DATE_TIME 1
  10153. _ACEOF
  10154. -else
  10155. - echo "$as_me: failed program was:" >&5
  10156. -sed 's/^/| /' conftest.$ac_ext >&5
  10157. -
  10158. -echo "$as_me:$LINENO: result: no" >&5
  10159. -echo "${ECHO_T}no" >&6
  10160. -fi
  10161. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10162. if test "${ac_cv_header_elf_h+set}" = set; then
  10163. - echo "$as_me:$LINENO: checking for elf.h" >&5
  10164. -echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
  10165. + { echo "$as_me:$LINENO: checking for elf.h" >&5
  10166. +echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
  10167. if test "${ac_cv_header_elf_h+set}" = set; then
  10168. echo $ECHO_N "(cached) $ECHO_C" >&6
  10169. fi
  10170. -echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10171. -echo "${ECHO_T}$ac_cv_header_elf_h" >&6
  10172. +{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10173. +echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
  10174. else
  10175. # Is the header compilable?
  10176. -echo "$as_me:$LINENO: checking elf.h usability" >&5
  10177. -echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6
  10178. +{ echo "$as_me:$LINENO: checking elf.h usability" >&5
  10179. +echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6; }
  10180. cat >conftest.$ac_ext <<_ACEOF
  10181. /* confdefs.h. */
  10182. _ACEOF
  10183. @@ -9449,41 +9771,37 @@
  10184. #include <elf.h>
  10185. _ACEOF
  10186. rm -f conftest.$ac_objext
  10187. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10188. - (eval $ac_compile) 2>conftest.er1
  10189. +if { (ac_try="$ac_compile"
  10190. +case "(($ac_try" in
  10191. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10192. + *) ac_try_echo=$ac_try;;
  10193. +esac
  10194. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10195. + (eval "$ac_compile") 2>conftest.er1
  10196. ac_status=$?
  10197. grep -v '^ *+' conftest.er1 >conftest.err
  10198. rm -f conftest.er1
  10199. cat conftest.err >&5
  10200. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10201. - (exit $ac_status); } &&
  10202. - { ac_try='test -z "$ac_c_werror_flag"
  10203. - || test ! -s conftest.err'
  10204. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10205. - (eval $ac_try) 2>&5
  10206. - ac_status=$?
  10207. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10208. - (exit $ac_status); }; } &&
  10209. - { ac_try='test -s conftest.$ac_objext'
  10210. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10211. - (eval $ac_try) 2>&5
  10212. - ac_status=$?
  10213. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10214. - (exit $ac_status); }; }; then
  10215. + (exit $ac_status); } && {
  10216. + test -z "$ac_c_werror_flag" ||
  10217. + test ! -s conftest.err
  10218. + } && test -s conftest.$ac_objext; then
  10219. ac_header_compiler=yes
  10220. else
  10221. echo "$as_me: failed program was:" >&5
  10222. sed 's/^/| /' conftest.$ac_ext >&5
  10223. -ac_header_compiler=no
  10224. + ac_header_compiler=no
  10225. fi
  10226. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10227. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  10228. -echo "${ECHO_T}$ac_header_compiler" >&6
  10229. +
  10230. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10231. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  10232. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  10233. # Is the header present?
  10234. -echo "$as_me:$LINENO: checking elf.h presence" >&5
  10235. -echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6
  10236. +{ echo "$as_me:$LINENO: checking elf.h presence" >&5
  10237. +echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6; }
  10238. cat >conftest.$ac_ext <<_ACEOF
  10239. /* confdefs.h. */
  10240. _ACEOF
  10241. @@ -9492,24 +9810,22 @@
  10242. /* end confdefs.h. */
  10243. #include <elf.h>
  10244. _ACEOF
  10245. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  10246. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  10247. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  10248. +case "(($ac_try" in
  10249. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10250. + *) ac_try_echo=$ac_try;;
  10251. +esac
  10252. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10253. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  10254. ac_status=$?
  10255. grep -v '^ *+' conftest.er1 >conftest.err
  10256. rm -f conftest.er1
  10257. cat conftest.err >&5
  10258. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10259. - (exit $ac_status); } >/dev/null; then
  10260. - if test -s conftest.err; then
  10261. - ac_cpp_err=$ac_c_preproc_warn_flag
  10262. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  10263. - else
  10264. - ac_cpp_err=
  10265. - fi
  10266. -else
  10267. - ac_cpp_err=yes
  10268. -fi
  10269. -if test -z "$ac_cpp_err"; then
  10270. + (exit $ac_status); } >/dev/null && {
  10271. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  10272. + test ! -s conftest.err
  10273. + }; then
  10274. ac_header_preproc=yes
  10275. else
  10276. echo "$as_me: failed program was:" >&5
  10277. @@ -9517,9 +9833,10 @@
  10278. ac_header_preproc=no
  10279. fi
  10280. +
  10281. rm -f conftest.err conftest.$ac_ext
  10282. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  10283. -echo "${ECHO_T}$ac_header_preproc" >&6
  10284. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  10285. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  10286. # So? What about this header?
  10287. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  10288. @@ -9543,25 +9860,18 @@
  10289. echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
  10290. { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
  10291. echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
  10292. - (
  10293. - cat <<\_ASBOX
  10294. -## ------------------------------------------ ##
  10295. -## Report this to the AC_PACKAGE_NAME lists. ##
  10296. -## ------------------------------------------ ##
  10297. -_ASBOX
  10298. - ) |
  10299. - sed "s/^/$as_me: WARNING: /" >&2
  10300. +
  10301. ;;
  10302. esac
  10303. -echo "$as_me:$LINENO: checking for elf.h" >&5
  10304. -echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
  10305. +{ echo "$as_me:$LINENO: checking for elf.h" >&5
  10306. +echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
  10307. if test "${ac_cv_header_elf_h+set}" = set; then
  10308. echo $ECHO_N "(cached) $ECHO_C" >&6
  10309. else
  10310. ac_cv_header_elf_h=$ac_header_preproc
  10311. fi
  10312. -echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10313. -echo "${ECHO_T}$ac_cv_header_elf_h" >&6
  10314. +{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10315. +echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
  10316. fi
  10317. if test $ac_cv_header_elf_h = yes; then
  10318. @@ -9571,8 +9881,8 @@
  10319. if test "$HAS_ELF" = 1; then
  10320. -echo "$as_me:$LINENO: checking for main in -lelf" >&5
  10321. -echo $ECHO_N "checking for main in -lelf... $ECHO_C" >&6
  10322. +{ echo "$as_me:$LINENO: checking for main in -lelf" >&5
  10323. +echo $ECHO_N "checking for main in -lelf... $ECHO_C" >&6; }
  10324. if test "${ac_cv_lib_elf_main+set}" = set; then
  10325. echo $ECHO_N "(cached) $ECHO_C" >&6
  10326. else
  10327. @@ -9589,46 +9899,43 @@
  10328. int
  10329. main ()
  10330. {
  10331. -main ();
  10332. +return main ();
  10333. ;
  10334. return 0;
  10335. }
  10336. _ACEOF
  10337. rm -f conftest.$ac_objext conftest$ac_exeext
  10338. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10339. - (eval $ac_link) 2>conftest.er1
  10340. +if { (ac_try="$ac_link"
  10341. +case "(($ac_try" in
  10342. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10343. + *) ac_try_echo=$ac_try;;
  10344. +esac
  10345. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10346. + (eval "$ac_link") 2>conftest.er1
  10347. ac_status=$?
  10348. grep -v '^ *+' conftest.er1 >conftest.err
  10349. rm -f conftest.er1
  10350. cat conftest.err >&5
  10351. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10352. - (exit $ac_status); } &&
  10353. - { ac_try='test -z "$ac_c_werror_flag"
  10354. - || test ! -s conftest.err'
  10355. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10356. - (eval $ac_try) 2>&5
  10357. - ac_status=$?
  10358. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10359. - (exit $ac_status); }; } &&
  10360. - { ac_try='test -s conftest$ac_exeext'
  10361. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10362. - (eval $ac_try) 2>&5
  10363. - ac_status=$?
  10364. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10365. - (exit $ac_status); }; }; then
  10366. + (exit $ac_status); } && {
  10367. + test -z "$ac_c_werror_flag" ||
  10368. + test ! -s conftest.err
  10369. + } && test -s conftest$ac_exeext &&
  10370. + $as_test_x conftest$ac_exeext; then
  10371. ac_cv_lib_elf_main=yes
  10372. else
  10373. echo "$as_me: failed program was:" >&5
  10374. sed 's/^/| /' conftest.$ac_ext >&5
  10375. -ac_cv_lib_elf_main=no
  10376. + ac_cv_lib_elf_main=no
  10377. fi
  10378. -rm -f conftest.err conftest.$ac_objext \
  10379. +
  10380. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10381. conftest$ac_exeext conftest.$ac_ext
  10382. LIBS=$ac_check_lib_save_LIBS
  10383. fi
  10384. -echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
  10385. -echo "${ECHO_T}$ac_cv_lib_elf_main" >&6
  10386. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
  10387. +echo "${ECHO_T}$ac_cv_lib_elf_main" >&6; }
  10388. if test $ac_cv_lib_elf_main = yes; then
  10389. cat >>confdefs.h <<_ACEOF
  10390. #define HAVE_LIBELF 1
  10391. @@ -9648,9 +9955,9 @@
  10392. ac_header_dirent=no
  10393. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  10394. as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  10395. -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  10396. -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
  10397. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  10398. +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  10399. +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
  10400. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10401. echo $ECHO_N "(cached) $ECHO_C" >&6
  10402. else
  10403. cat >conftest.$ac_ext <<_ACEOF
  10404. @@ -9672,38 +9979,35 @@
  10405. }
  10406. _ACEOF
  10407. rm -f conftest.$ac_objext
  10408. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10409. - (eval $ac_compile) 2>conftest.er1
  10410. +if { (ac_try="$ac_compile"
  10411. +case "(($ac_try" in
  10412. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10413. + *) ac_try_echo=$ac_try;;
  10414. +esac
  10415. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10416. + (eval "$ac_compile") 2>conftest.er1
  10417. ac_status=$?
  10418. grep -v '^ *+' conftest.er1 >conftest.err
  10419. rm -f conftest.er1
  10420. cat conftest.err >&5
  10421. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10422. - (exit $ac_status); } &&
  10423. - { ac_try='test -z "$ac_c_werror_flag"
  10424. - || test ! -s conftest.err'
  10425. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10426. - (eval $ac_try) 2>&5
  10427. - ac_status=$?
  10428. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10429. - (exit $ac_status); }; } &&
  10430. - { ac_try='test -s conftest.$ac_objext'
  10431. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10432. - (eval $ac_try) 2>&5
  10433. - ac_status=$?
  10434. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10435. - (exit $ac_status); }; }; then
  10436. + (exit $ac_status); } && {
  10437. + test -z "$ac_c_werror_flag" ||
  10438. + test ! -s conftest.err
  10439. + } && test -s conftest.$ac_objext; then
  10440. eval "$as_ac_Header=yes"
  10441. else
  10442. echo "$as_me: failed program was:" >&5
  10443. sed 's/^/| /' conftest.$ac_ext >&5
  10444. -eval "$as_ac_Header=no"
  10445. + eval "$as_ac_Header=no"
  10446. fi
  10447. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10448. +
  10449. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10450. fi
  10451. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  10452. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  10453. +ac_res=`eval echo '${'$as_ac_Header'}'`
  10454. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  10455. +echo "${ECHO_T}$ac_res" >&6; }
  10456. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  10457. cat >>confdefs.h <<_ACEOF
  10458. #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  10459. @@ -9715,13 +10019,12 @@
  10460. done
  10461. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  10462. if test $ac_header_dirent = dirent.h; then
  10463. - echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10464. -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
  10465. + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10466. +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  10467. if test "${ac_cv_search_opendir+set}" = set; then
  10468. echo $ECHO_N "(cached) $ECHO_C" >&6
  10469. else
  10470. ac_func_search_save_LIBS=$LIBS
  10471. -ac_cv_search_opendir=no
  10472. cat >conftest.$ac_ext <<_ACEOF
  10473. /* confdefs.h. */
  10474. _ACEOF
  10475. @@ -9729,126 +10032,83 @@
  10476. cat >>conftest.$ac_ext <<_ACEOF
  10477. /* end confdefs.h. */
  10478. -/* Override any gcc2 internal prototype to avoid an error. */
  10479. +/* Override any GCC internal prototype to avoid an error.
  10480. + Use char because int might match the return type of a GCC
  10481. + builtin and then its argument prototype would still apply. */
  10482. #ifdef __cplusplus
  10483. extern "C"
  10484. #endif
  10485. -/* We use char because int might match the return type of a gcc2
  10486. - builtin and then its argument prototype would still apply. */
  10487. char opendir ();
  10488. int
  10489. main ()
  10490. {
  10491. -opendir ();
  10492. +return opendir ();
  10493. ;
  10494. return 0;
  10495. }
  10496. _ACEOF
  10497. -rm -f conftest.$ac_objext conftest$ac_exeext
  10498. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10499. - (eval $ac_link) 2>conftest.er1
  10500. +for ac_lib in '' dir; do
  10501. + if test -z "$ac_lib"; then
  10502. + ac_res="none required"
  10503. + else
  10504. + ac_res=-l$ac_lib
  10505. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10506. + fi
  10507. + rm -f conftest.$ac_objext conftest$ac_exeext
  10508. +if { (ac_try="$ac_link"
  10509. +case "(($ac_try" in
  10510. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10511. + *) ac_try_echo=$ac_try;;
  10512. +esac
  10513. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10514. + (eval "$ac_link") 2>conftest.er1
  10515. ac_status=$?
  10516. grep -v '^ *+' conftest.er1 >conftest.err
  10517. rm -f conftest.er1
  10518. cat conftest.err >&5
  10519. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10520. - (exit $ac_status); } &&
  10521. - { ac_try='test -z "$ac_c_werror_flag"
  10522. - || test ! -s conftest.err'
  10523. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10524. - (eval $ac_try) 2>&5
  10525. - ac_status=$?
  10526. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10527. - (exit $ac_status); }; } &&
  10528. - { ac_try='test -s conftest$ac_exeext'
  10529. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10530. - (eval $ac_try) 2>&5
  10531. - ac_status=$?
  10532. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10533. - (exit $ac_status); }; }; then
  10534. - ac_cv_search_opendir="none required"
  10535. + (exit $ac_status); } && {
  10536. + test -z "$ac_c_werror_flag" ||
  10537. + test ! -s conftest.err
  10538. + } && test -s conftest$ac_exeext &&
  10539. + $as_test_x conftest$ac_exeext; then
  10540. + ac_cv_search_opendir=$ac_res
  10541. else
  10542. echo "$as_me: failed program was:" >&5
  10543. sed 's/^/| /' conftest.$ac_ext >&5
  10544. -fi
  10545. -rm -f conftest.err conftest.$ac_objext \
  10546. - conftest$ac_exeext conftest.$ac_ext
  10547. -if test "$ac_cv_search_opendir" = no; then
  10548. - for ac_lib in dir; do
  10549. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10550. - cat >conftest.$ac_ext <<_ACEOF
  10551. -/* confdefs.h. */
  10552. -_ACEOF
  10553. -cat confdefs.h >>conftest.$ac_ext
  10554. -cat >>conftest.$ac_ext <<_ACEOF
  10555. -/* end confdefs.h. */
  10556. -/* Override any gcc2 internal prototype to avoid an error. */
  10557. -#ifdef __cplusplus
  10558. -extern "C"
  10559. -#endif
  10560. -/* We use char because int might match the return type of a gcc2
  10561. - builtin and then its argument prototype would still apply. */
  10562. -char opendir ();
  10563. -int
  10564. -main ()
  10565. -{
  10566. -opendir ();
  10567. - ;
  10568. - return 0;
  10569. -}
  10570. -_ACEOF
  10571. -rm -f conftest.$ac_objext conftest$ac_exeext
  10572. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10573. - (eval $ac_link) 2>conftest.er1
  10574. - ac_status=$?
  10575. - grep -v '^ *+' conftest.er1 >conftest.err
  10576. - rm -f conftest.er1
  10577. - cat conftest.err >&5
  10578. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10579. - (exit $ac_status); } &&
  10580. - { ac_try='test -z "$ac_c_werror_flag"
  10581. - || test ! -s conftest.err'
  10582. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10583. - (eval $ac_try) 2>&5
  10584. - ac_status=$?
  10585. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10586. - (exit $ac_status); }; } &&
  10587. - { ac_try='test -s conftest$ac_exeext'
  10588. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10589. - (eval $ac_try) 2>&5
  10590. - ac_status=$?
  10591. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10592. - (exit $ac_status); }; }; then
  10593. - ac_cv_search_opendir="-l$ac_lib"
  10594. -break
  10595. -else
  10596. - echo "$as_me: failed program was:" >&5
  10597. -sed 's/^/| /' conftest.$ac_ext >&5
  10598. +fi
  10599. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10600. + conftest$ac_exeext
  10601. + if test "${ac_cv_search_opendir+set}" = set; then
  10602. + break
  10603. fi
  10604. -rm -f conftest.err conftest.$ac_objext \
  10605. - conftest$ac_exeext conftest.$ac_ext
  10606. - done
  10607. +done
  10608. +if test "${ac_cv_search_opendir+set}" = set; then
  10609. + :
  10610. +else
  10611. + ac_cv_search_opendir=no
  10612. fi
  10613. +rm conftest.$ac_ext
  10614. LIBS=$ac_func_search_save_LIBS
  10615. fi
  10616. -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10617. -echo "${ECHO_T}$ac_cv_search_opendir" >&6
  10618. -if test "$ac_cv_search_opendir" != no; then
  10619. - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
  10620. +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10621. +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  10622. +ac_res=$ac_cv_search_opendir
  10623. +if test "$ac_res" != no; then
  10624. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  10625. fi
  10626. else
  10627. - echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10628. -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
  10629. + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10630. +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  10631. if test "${ac_cv_search_opendir+set}" = set; then
  10632. echo $ECHO_N "(cached) $ECHO_C" >&6
  10633. else
  10634. ac_func_search_save_LIBS=$LIBS
  10635. -ac_cv_search_opendir=no
  10636. cat >conftest.$ac_ext <<_ACEOF
  10637. /* confdefs.h. */
  10638. _ACEOF
  10639. @@ -9856,123 +10116,81 @@
  10640. cat >>conftest.$ac_ext <<_ACEOF
  10641. /* end confdefs.h. */
  10642. -/* Override any gcc2 internal prototype to avoid an error. */
  10643. +/* Override any GCC internal prototype to avoid an error.
  10644. + Use char because int might match the return type of a GCC
  10645. + builtin and then its argument prototype would still apply. */
  10646. #ifdef __cplusplus
  10647. extern "C"
  10648. #endif
  10649. -/* We use char because int might match the return type of a gcc2
  10650. - builtin and then its argument prototype would still apply. */
  10651. char opendir ();
  10652. int
  10653. main ()
  10654. {
  10655. -opendir ();
  10656. +return opendir ();
  10657. ;
  10658. return 0;
  10659. }
  10660. _ACEOF
  10661. -rm -f conftest.$ac_objext conftest$ac_exeext
  10662. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10663. - (eval $ac_link) 2>conftest.er1
  10664. +for ac_lib in '' x; do
  10665. + if test -z "$ac_lib"; then
  10666. + ac_res="none required"
  10667. + else
  10668. + ac_res=-l$ac_lib
  10669. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10670. + fi
  10671. + rm -f conftest.$ac_objext conftest$ac_exeext
  10672. +if { (ac_try="$ac_link"
  10673. +case "(($ac_try" in
  10674. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10675. + *) ac_try_echo=$ac_try;;
  10676. +esac
  10677. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10678. + (eval "$ac_link") 2>conftest.er1
  10679. ac_status=$?
  10680. grep -v '^ *+' conftest.er1 >conftest.err
  10681. rm -f conftest.er1
  10682. cat conftest.err >&5
  10683. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10684. - (exit $ac_status); } &&
  10685. - { ac_try='test -z "$ac_c_werror_flag"
  10686. - || test ! -s conftest.err'
  10687. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10688. - (eval $ac_try) 2>&5
  10689. - ac_status=$?
  10690. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10691. - (exit $ac_status); }; } &&
  10692. - { ac_try='test -s conftest$ac_exeext'
  10693. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10694. - (eval $ac_try) 2>&5
  10695. - ac_status=$?
  10696. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10697. - (exit $ac_status); }; }; then
  10698. - ac_cv_search_opendir="none required"
  10699. + (exit $ac_status); } && {
  10700. + test -z "$ac_c_werror_flag" ||
  10701. + test ! -s conftest.err
  10702. + } && test -s conftest$ac_exeext &&
  10703. + $as_test_x conftest$ac_exeext; then
  10704. + ac_cv_search_opendir=$ac_res
  10705. else
  10706. echo "$as_me: failed program was:" >&5
  10707. sed 's/^/| /' conftest.$ac_ext >&5
  10708. +
  10709. fi
  10710. -rm -f conftest.err conftest.$ac_objext \
  10711. - conftest$ac_exeext conftest.$ac_ext
  10712. -if test "$ac_cv_search_opendir" = no; then
  10713. - for ac_lib in x; do
  10714. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10715. - cat >conftest.$ac_ext <<_ACEOF
  10716. -/* confdefs.h. */
  10717. -_ACEOF
  10718. -cat confdefs.h >>conftest.$ac_ext
  10719. -cat >>conftest.$ac_ext <<_ACEOF
  10720. -/* end confdefs.h. */
  10721. -
  10722. -/* Override any gcc2 internal prototype to avoid an error. */
  10723. -#ifdef __cplusplus
  10724. -extern "C"
  10725. -#endif
  10726. -/* We use char because int might match the return type of a gcc2
  10727. - builtin and then its argument prototype would still apply. */
  10728. -char opendir ();
  10729. -int
  10730. -main ()
  10731. -{
  10732. -opendir ();
  10733. - ;
  10734. - return 0;
  10735. -}
  10736. -_ACEOF
  10737. -rm -f conftest.$ac_objext conftest$ac_exeext
  10738. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10739. - (eval $ac_link) 2>conftest.er1
  10740. - ac_status=$?
  10741. - grep -v '^ *+' conftest.er1 >conftest.err
  10742. - rm -f conftest.er1
  10743. - cat conftest.err >&5
  10744. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10745. - (exit $ac_status); } &&
  10746. - { ac_try='test -z "$ac_c_werror_flag"
  10747. - || test ! -s conftest.err'
  10748. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10749. - (eval $ac_try) 2>&5
  10750. - ac_status=$?
  10751. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10752. - (exit $ac_status); }; } &&
  10753. - { ac_try='test -s conftest$ac_exeext'
  10754. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10755. - (eval $ac_try) 2>&5
  10756. - ac_status=$?
  10757. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10758. - (exit $ac_status); }; }; then
  10759. - ac_cv_search_opendir="-l$ac_lib"
  10760. -break
  10761. -else
  10762. - echo "$as_me: failed program was:" >&5
  10763. -sed 's/^/| /' conftest.$ac_ext >&5
  10764. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10765. + conftest$ac_exeext
  10766. + if test "${ac_cv_search_opendir+set}" = set; then
  10767. + break
  10768. fi
  10769. -rm -f conftest.err conftest.$ac_objext \
  10770. - conftest$ac_exeext conftest.$ac_ext
  10771. - done
  10772. +done
  10773. +if test "${ac_cv_search_opendir+set}" = set; then
  10774. + :
  10775. +else
  10776. + ac_cv_search_opendir=no
  10777. fi
  10778. +rm conftest.$ac_ext
  10779. LIBS=$ac_func_search_save_LIBS
  10780. fi
  10781. -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10782. -echo "${ECHO_T}$ac_cv_search_opendir" >&6
  10783. -if test "$ac_cv_search_opendir" != no; then
  10784. - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
  10785. +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10786. +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  10787. +ac_res=$ac_cv_search_opendir
  10788. +if test "$ac_res" != no; then
  10789. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  10790. fi
  10791. fi
  10792. -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  10793. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  10794. +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  10795. +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  10796. if test "${ac_cv_header_stdc+set}" = set; then
  10797. echo $ECHO_N "(cached) $ECHO_C" >&6
  10798. else
  10799. @@ -9996,35 +10214,31 @@
  10800. }
  10801. _ACEOF
  10802. rm -f conftest.$ac_objext
  10803. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10804. - (eval $ac_compile) 2>conftest.er1
  10805. +if { (ac_try="$ac_compile"
  10806. +case "(($ac_try" in
  10807. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10808. + *) ac_try_echo=$ac_try;;
  10809. +esac
  10810. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10811. + (eval "$ac_compile") 2>conftest.er1
  10812. ac_status=$?
  10813. grep -v '^ *+' conftest.er1 >conftest.err
  10814. rm -f conftest.er1
  10815. cat conftest.err >&5
  10816. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10817. - (exit $ac_status); } &&
  10818. - { ac_try='test -z "$ac_c_werror_flag"
  10819. - || test ! -s conftest.err'
  10820. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10821. - (eval $ac_try) 2>&5
  10822. - ac_status=$?
  10823. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10824. - (exit $ac_status); }; } &&
  10825. - { ac_try='test -s conftest.$ac_objext'
  10826. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10827. - (eval $ac_try) 2>&5
  10828. - ac_status=$?
  10829. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10830. - (exit $ac_status); }; }; then
  10831. + (exit $ac_status); } && {
  10832. + test -z "$ac_c_werror_flag" ||
  10833. + test ! -s conftest.err
  10834. + } && test -s conftest.$ac_objext; then
  10835. ac_cv_header_stdc=yes
  10836. else
  10837. echo "$as_me: failed program was:" >&5
  10838. sed 's/^/| /' conftest.$ac_ext >&5
  10839. -ac_cv_header_stdc=no
  10840. + ac_cv_header_stdc=no
  10841. fi
  10842. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10843. +
  10844. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10845. if test $ac_cv_header_stdc = yes; then
  10846. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  10847. @@ -10080,6 +10294,7 @@
  10848. cat >>conftest.$ac_ext <<_ACEOF
  10849. /* end confdefs.h. */
  10850. #include <ctype.h>
  10851. +#include <stdlib.h>
  10852. #if ((' ' & 0x0FF) == 0x020)
  10853. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  10854. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  10855. @@ -10099,18 +10314,27 @@
  10856. for (i = 0; i < 256; i++)
  10857. if (XOR (islower (i), ISLOWER (i))
  10858. || toupper (i) != TOUPPER (i))
  10859. - exit(2);
  10860. - exit (0);
  10861. + return 2;
  10862. + return 0;
  10863. }
  10864. _ACEOF
  10865. rm -f conftest$ac_exeext
  10866. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10867. - (eval $ac_link) 2>&5
  10868. +if { (ac_try="$ac_link"
  10869. +case "(($ac_try" in
  10870. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10871. + *) ac_try_echo=$ac_try;;
  10872. +esac
  10873. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10874. + (eval "$ac_link") 2>&5
  10875. ac_status=$?
  10876. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10877. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  10878. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10879. - (eval $ac_try) 2>&5
  10880. + { (case "(($ac_try" in
  10881. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10882. + *) ac_try_echo=$ac_try;;
  10883. +esac
  10884. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10885. + (eval "$ac_try") 2>&5
  10886. ac_status=$?
  10887. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10888. (exit $ac_status); }; }; then
  10889. @@ -10123,12 +10347,14 @@
  10890. ( exit $ac_status )
  10891. ac_cv_header_stdc=no
  10892. fi
  10893. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  10894. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  10895. fi
  10896. +
  10897. +
  10898. fi
  10899. fi
  10900. -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  10901. -echo "${ECHO_T}$ac_cv_header_stdc" >&6
  10902. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  10903. +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  10904. if test $ac_cv_header_stdc = yes; then
  10905. cat >>confdefs.h <<\_ACEOF
  10906. @@ -10137,8 +10363,8 @@
  10907. fi
  10908. -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  10909. -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
  10910. +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  10911. +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
  10912. if test "${ac_cv_header_sys_wait_h+set}" = set; then
  10913. echo $ECHO_N "(cached) $ECHO_C" >&6
  10914. else
  10915. @@ -10151,7 +10377,7 @@
  10916. #include <sys/types.h>
  10917. #include <sys/wait.h>
  10918. #ifndef WEXITSTATUS
  10919. -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
  10920. +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
  10921. #endif
  10922. #ifndef WIFEXITED
  10923. # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  10924. @@ -10168,38 +10394,34 @@
  10925. }
  10926. _ACEOF
  10927. rm -f conftest.$ac_objext
  10928. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10929. - (eval $ac_compile) 2>conftest.er1
  10930. +if { (ac_try="$ac_compile"
  10931. +case "(($ac_try" in
  10932. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10933. + *) ac_try_echo=$ac_try;;
  10934. +esac
  10935. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10936. + (eval "$ac_compile") 2>conftest.er1
  10937. ac_status=$?
  10938. grep -v '^ *+' conftest.er1 >conftest.err
  10939. rm -f conftest.er1
  10940. cat conftest.err >&5
  10941. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10942. - (exit $ac_status); } &&
  10943. - { ac_try='test -z "$ac_c_werror_flag"
  10944. - || test ! -s conftest.err'
  10945. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10946. - (eval $ac_try) 2>&5
  10947. - ac_status=$?
  10948. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10949. - (exit $ac_status); }; } &&
  10950. - { ac_try='test -s conftest.$ac_objext'
  10951. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10952. - (eval $ac_try) 2>&5
  10953. - ac_status=$?
  10954. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10955. - (exit $ac_status); }; }; then
  10956. + (exit $ac_status); } && {
  10957. + test -z "$ac_c_werror_flag" ||
  10958. + test ! -s conftest.err
  10959. + } && test -s conftest.$ac_objext; then
  10960. ac_cv_header_sys_wait_h=yes
  10961. else
  10962. echo "$as_me: failed program was:" >&5
  10963. sed 's/^/| /' conftest.$ac_ext >&5
  10964. -ac_cv_header_sys_wait_h=no
  10965. + ac_cv_header_sys_wait_h=no
  10966. fi
  10967. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10968. +
  10969. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10970. fi
  10971. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  10972. -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
  10973. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  10974. +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
  10975. if test $ac_cv_header_sys_wait_h = yes; then
  10976. cat >>confdefs.h <<\_ACEOF
  10977. @@ -10210,8 +10432,8 @@
  10978. if test $ac_cv_header_sys_wait_h = no; then
  10979. - echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
  10980. -echo $ECHO_N "checking for sys/wait.h that defines union wait... $ECHO_C" >&6
  10981. + { echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
  10982. +echo $ECHO_N "checking for sys/wait.h that defines union wait... $ECHO_C" >&6; }
  10983. cat >conftest.$ac_ext <<_ACEOF
  10984. /* confdefs.h. */
  10985. _ACEOF
  10986. @@ -10228,29 +10450,24 @@
  10987. }
  10988. _ACEOF
  10989. rm -f conftest.$ac_objext
  10990. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10991. - (eval $ac_compile) 2>conftest.er1
  10992. +if { (ac_try="$ac_compile"
  10993. +case "(($ac_try" in
  10994. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10995. + *) ac_try_echo=$ac_try;;
  10996. +esac
  10997. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10998. + (eval "$ac_compile") 2>conftest.er1
  10999. ac_status=$?
  11000. grep -v '^ *+' conftest.er1 >conftest.err
  11001. rm -f conftest.er1
  11002. cat conftest.err >&5
  11003. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11004. - (exit $ac_status); } &&
  11005. - { ac_try='test -z "$ac_c_werror_flag"
  11006. - || test ! -s conftest.err'
  11007. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11008. - (eval $ac_try) 2>&5
  11009. - ac_status=$?
  11010. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11011. - (exit $ac_status); }; } &&
  11012. - { ac_try='test -s conftest.$ac_objext'
  11013. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11014. - (eval $ac_try) 2>&5
  11015. - ac_status=$?
  11016. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11017. - (exit $ac_status); }; }; then
  11018. - echo "$as_me:$LINENO: result: yes" >&5
  11019. -echo "${ECHO_T}yes" >&6
  11020. + (exit $ac_status); } && {
  11021. + test -z "$ac_c_werror_flag" ||
  11022. + test ! -s conftest.err
  11023. + } && test -s conftest.$ac_objext; then
  11024. + { echo "$as_me:$LINENO: result: yes" >&5
  11025. +echo "${ECHO_T}yes" >&6; }
  11026. cat >>confdefs.h <<\_ACEOF
  11027. #define HAVE_SYS_WAIT_H 1
  11028. _ACEOF
  11029. @@ -10263,10 +10480,11 @@
  11030. echo "$as_me: failed program was:" >&5
  11031. sed 's/^/| /' conftest.$ac_ext >&5
  11032. -echo "$as_me:$LINENO: result: no" >&5
  11033. -echo "${ECHO_T}no" >&6
  11034. + { echo "$as_me:$LINENO: result: no" >&5
  11035. +echo "${ECHO_T}no" >&6; }
  11036. fi
  11037. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11038. +
  11039. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11040. fi
  11041. @@ -10320,18 +10538,19 @@
  11042. sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h
  11043. do
  11044. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11045. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11046. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  11047. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11048. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11049. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11050. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  11051. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11052. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11053. echo $ECHO_N "(cached) $ECHO_C" >&6
  11054. fi
  11055. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11056. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11057. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11058. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11059. +echo "${ECHO_T}$ac_res" >&6; }
  11060. else
  11061. # Is the header compilable?
  11062. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11063. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  11064. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11065. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  11066. cat >conftest.$ac_ext <<_ACEOF
  11067. /* confdefs.h. */
  11068. _ACEOF
  11069. @@ -10342,41 +10561,37 @@
  11070. #include <$ac_header>
  11071. _ACEOF
  11072. rm -f conftest.$ac_objext
  11073. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11074. - (eval $ac_compile) 2>conftest.er1
  11075. +if { (ac_try="$ac_compile"
  11076. +case "(($ac_try" in
  11077. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11078. + *) ac_try_echo=$ac_try;;
  11079. +esac
  11080. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11081. + (eval "$ac_compile") 2>conftest.er1
  11082. ac_status=$?
  11083. grep -v '^ *+' conftest.er1 >conftest.err
  11084. rm -f conftest.er1
  11085. cat conftest.err >&5
  11086. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11087. - (exit $ac_status); } &&
  11088. - { ac_try='test -z "$ac_c_werror_flag"
  11089. - || test ! -s conftest.err'
  11090. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11091. - (eval $ac_try) 2>&5
  11092. - ac_status=$?
  11093. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11094. - (exit $ac_status); }; } &&
  11095. - { ac_try='test -s conftest.$ac_objext'
  11096. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11097. - (eval $ac_try) 2>&5
  11098. - ac_status=$?
  11099. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11100. - (exit $ac_status); }; }; then
  11101. + (exit $ac_status); } && {
  11102. + test -z "$ac_c_werror_flag" ||
  11103. + test ! -s conftest.err
  11104. + } && test -s conftest.$ac_objext; then
  11105. ac_header_compiler=yes
  11106. else
  11107. echo "$as_me: failed program was:" >&5
  11108. sed 's/^/| /' conftest.$ac_ext >&5
  11109. -ac_header_compiler=no
  11110. + ac_header_compiler=no
  11111. fi
  11112. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11113. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11114. -echo "${ECHO_T}$ac_header_compiler" >&6
  11115. +
  11116. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11117. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11118. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  11119. # Is the header present?
  11120. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11121. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  11122. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11123. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  11124. cat >conftest.$ac_ext <<_ACEOF
  11125. /* confdefs.h. */
  11126. _ACEOF
  11127. @@ -10385,24 +10600,22 @@
  11128. /* end confdefs.h. */
  11129. #include <$ac_header>
  11130. _ACEOF
  11131. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  11132. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  11133. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  11134. +case "(($ac_try" in
  11135. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11136. + *) ac_try_echo=$ac_try;;
  11137. +esac
  11138. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11139. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11140. ac_status=$?
  11141. grep -v '^ *+' conftest.er1 >conftest.err
  11142. rm -f conftest.er1
  11143. cat conftest.err >&5
  11144. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11145. - (exit $ac_status); } >/dev/null; then
  11146. - if test -s conftest.err; then
  11147. - ac_cpp_err=$ac_c_preproc_warn_flag
  11148. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  11149. - else
  11150. - ac_cpp_err=
  11151. - fi
  11152. -else
  11153. - ac_cpp_err=yes
  11154. -fi
  11155. -if test -z "$ac_cpp_err"; then
  11156. + (exit $ac_status); } >/dev/null && {
  11157. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11158. + test ! -s conftest.err
  11159. + }; then
  11160. ac_header_preproc=yes
  11161. else
  11162. echo "$as_me: failed program was:" >&5
  11163. @@ -10410,9 +10623,10 @@
  11164. ac_header_preproc=no
  11165. fi
  11166. +
  11167. rm -f conftest.err conftest.$ac_ext
  11168. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11169. -echo "${ECHO_T}$ac_header_preproc" >&6
  11170. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11171. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  11172. # So? What about this header?
  11173. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11174. @@ -10436,25 +10650,19 @@
  11175. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11176. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11177. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11178. - (
  11179. - cat <<\_ASBOX
  11180. -## ------------------------------------------ ##
  11181. -## Report this to the AC_PACKAGE_NAME lists. ##
  11182. -## ------------------------------------------ ##
  11183. -_ASBOX
  11184. - ) |
  11185. - sed "s/^/$as_me: WARNING: /" >&2
  11186. +
  11187. ;;
  11188. esac
  11189. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  11190. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11191. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11192. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  11193. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11194. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11195. echo $ECHO_N "(cached) $ECHO_C" >&6
  11196. else
  11197. eval "$as_ac_Header=\$ac_header_preproc"
  11198. fi
  11199. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11200. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11201. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11202. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11203. +echo "${ECHO_T}$ac_res" >&6; }
  11204. fi
  11205. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  11206. @@ -10467,8 +10675,8 @@
  11207. done
  11208. -echo "$as_me:$LINENO: checking for pthread_np.h" >&5
  11209. -echo $ECHO_N "checking for pthread_np.h... $ECHO_C" >&6
  11210. +{ echo "$as_me:$LINENO: checking for pthread_np.h" >&5
  11211. +echo $ECHO_N "checking for pthread_np.h... $ECHO_C" >&6; }
  11212. cat >conftest.$ac_ext <<_ACEOF
  11213. /* confdefs.h. */
  11214. _ACEOF
  11215. @@ -10487,29 +10695,24 @@
  11216. }
  11217. _ACEOF
  11218. rm -f conftest.$ac_objext
  11219. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11220. - (eval $ac_compile) 2>conftest.er1
  11221. +if { (ac_try="$ac_compile"
  11222. +case "(($ac_try" in
  11223. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11224. + *) ac_try_echo=$ac_try;;
  11225. +esac
  11226. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11227. + (eval "$ac_compile") 2>conftest.er1
  11228. ac_status=$?
  11229. grep -v '^ *+' conftest.er1 >conftest.err
  11230. rm -f conftest.er1
  11231. cat conftest.err >&5
  11232. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11233. - (exit $ac_status); } &&
  11234. - { ac_try='test -z "$ac_c_werror_flag"
  11235. - || test ! -s conftest.err'
  11236. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11237. - (eval $ac_try) 2>&5
  11238. - ac_status=$?
  11239. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11240. - (exit $ac_status); }; } &&
  11241. - { ac_try='test -s conftest.$ac_objext'
  11242. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11243. - (eval $ac_try) 2>&5
  11244. - ac_status=$?
  11245. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11246. - (exit $ac_status); }; }; then
  11247. - echo "$as_me:$LINENO: result: yes" >&5
  11248. -echo "${ECHO_T}yes" >&6
  11249. + (exit $ac_status); } && {
  11250. + test -z "$ac_c_werror_flag" ||
  11251. + test ! -s conftest.err
  11252. + } && test -s conftest.$ac_objext; then
  11253. + { echo "$as_me:$LINENO: result: yes" >&5
  11254. +echo "${ECHO_T}yes" >&6; }
  11255. cat >>confdefs.h <<\_ACEOF
  11256. #define HAVE_PTHREAD_NP_H 1
  11257. _ACEOF
  11258. @@ -10518,27 +10721,29 @@
  11259. echo "$as_me: failed program was:" >&5
  11260. sed 's/^/| /' conftest.$ac_ext >&5
  11261. -echo "$as_me:$LINENO: result: no" >&5
  11262. -echo "${ECHO_T}no" >&6
  11263. + { echo "$as_me:$LINENO: result: no" >&5
  11264. +echo "${ECHO_T}no" >&6; }
  11265. fi
  11266. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11267. +
  11268. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11269. for ac_header in strings.h
  11270. do
  11271. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11272. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11273. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  11274. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11275. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11276. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11277. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  11278. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11279. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11280. echo $ECHO_N "(cached) $ECHO_C" >&6
  11281. fi
  11282. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11283. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11284. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11285. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11286. +echo "${ECHO_T}$ac_res" >&6; }
  11287. else
  11288. # Is the header compilable?
  11289. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11290. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  11291. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11292. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  11293. cat >conftest.$ac_ext <<_ACEOF
  11294. /* confdefs.h. */
  11295. _ACEOF
  11296. @@ -10549,41 +10754,37 @@
  11297. #include <$ac_header>
  11298. _ACEOF
  11299. rm -f conftest.$ac_objext
  11300. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11301. - (eval $ac_compile) 2>conftest.er1
  11302. +if { (ac_try="$ac_compile"
  11303. +case "(($ac_try" in
  11304. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11305. + *) ac_try_echo=$ac_try;;
  11306. +esac
  11307. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11308. + (eval "$ac_compile") 2>conftest.er1
  11309. ac_status=$?
  11310. grep -v '^ *+' conftest.er1 >conftest.err
  11311. rm -f conftest.er1
  11312. cat conftest.err >&5
  11313. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11314. - (exit $ac_status); } &&
  11315. - { ac_try='test -z "$ac_c_werror_flag"
  11316. - || test ! -s conftest.err'
  11317. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11318. - (eval $ac_try) 2>&5
  11319. - ac_status=$?
  11320. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11321. - (exit $ac_status); }; } &&
  11322. - { ac_try='test -s conftest.$ac_objext'
  11323. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11324. - (eval $ac_try) 2>&5
  11325. - ac_status=$?
  11326. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11327. - (exit $ac_status); }; }; then
  11328. + (exit $ac_status); } && {
  11329. + test -z "$ac_c_werror_flag" ||
  11330. + test ! -s conftest.err
  11331. + } && test -s conftest.$ac_objext; then
  11332. ac_header_compiler=yes
  11333. else
  11334. echo "$as_me: failed program was:" >&5
  11335. sed 's/^/| /' conftest.$ac_ext >&5
  11336. -ac_header_compiler=no
  11337. + ac_header_compiler=no
  11338. fi
  11339. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11340. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11341. -echo "${ECHO_T}$ac_header_compiler" >&6
  11342. +
  11343. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11344. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11345. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  11346. # Is the header present?
  11347. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11348. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  11349. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11350. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  11351. cat >conftest.$ac_ext <<_ACEOF
  11352. /* confdefs.h. */
  11353. _ACEOF
  11354. @@ -10592,24 +10793,22 @@
  11355. /* end confdefs.h. */
  11356. #include <$ac_header>
  11357. _ACEOF
  11358. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  11359. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  11360. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  11361. +case "(($ac_try" in
  11362. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11363. + *) ac_try_echo=$ac_try;;
  11364. +esac
  11365. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11366. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11367. ac_status=$?
  11368. grep -v '^ *+' conftest.er1 >conftest.err
  11369. rm -f conftest.er1
  11370. cat conftest.err >&5
  11371. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11372. - (exit $ac_status); } >/dev/null; then
  11373. - if test -s conftest.err; then
  11374. - ac_cpp_err=$ac_c_preproc_warn_flag
  11375. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  11376. - else
  11377. - ac_cpp_err=
  11378. - fi
  11379. -else
  11380. - ac_cpp_err=yes
  11381. -fi
  11382. -if test -z "$ac_cpp_err"; then
  11383. + (exit $ac_status); } >/dev/null && {
  11384. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11385. + test ! -s conftest.err
  11386. + }; then
  11387. ac_header_preproc=yes
  11388. else
  11389. echo "$as_me: failed program was:" >&5
  11390. @@ -10617,9 +10816,10 @@
  11391. ac_header_preproc=no
  11392. fi
  11393. +
  11394. rm -f conftest.err conftest.$ac_ext
  11395. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11396. -echo "${ECHO_T}$ac_header_preproc" >&6
  11397. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11398. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  11399. # So? What about this header?
  11400. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11401. @@ -10643,25 +10843,19 @@
  11402. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11403. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11404. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11405. - (
  11406. - cat <<\_ASBOX
  11407. -## ------------------------------------------ ##
  11408. -## Report this to the AC_PACKAGE_NAME lists. ##
  11409. -## ------------------------------------------ ##
  11410. -_ASBOX
  11411. - ) |
  11412. - sed "s/^/$as_me: WARNING: /" >&2
  11413. +
  11414. ;;
  11415. esac
  11416. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  11417. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11418. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11419. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  11420. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11421. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11422. echo $ECHO_N "(cached) $ECHO_C" >&6
  11423. else
  11424. eval "$as_ac_Header=\$ac_header_preproc"
  11425. fi
  11426. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11427. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11428. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11429. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11430. +echo "${ECHO_T}$ac_res" >&6; }
  11431. fi
  11432. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  11433. @@ -10680,8 +10874,8 @@
  11434. else
  11435. -echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
  11436. -echo $ECHO_N "checking if strings.h can be included after string.h... $ECHO_C" >&6
  11437. +{ echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
  11438. +echo $ECHO_N "checking if strings.h can be included after string.h... $ECHO_C" >&6; }
  11439. cppflags_save=$CPPFLAGS
  11440. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  11441. cat >conftest.$ac_ext <<_ACEOF
  11442. @@ -10714,47 +10908,43 @@
  11443. }
  11444. _ACEOF
  11445. rm -f conftest.$ac_objext
  11446. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11447. - (eval $ac_compile) 2>conftest.er1
  11448. +if { (ac_try="$ac_compile"
  11449. +case "(($ac_try" in
  11450. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11451. + *) ac_try_echo=$ac_try;;
  11452. +esac
  11453. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11454. + (eval "$ac_compile") 2>conftest.er1
  11455. ac_status=$?
  11456. grep -v '^ *+' conftest.er1 >conftest.err
  11457. rm -f conftest.er1
  11458. cat conftest.err >&5
  11459. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11460. - (exit $ac_status); } &&
  11461. - { ac_try='test -z "$ac_c_werror_flag"
  11462. - || test ! -s conftest.err'
  11463. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11464. - (eval $ac_try) 2>&5
  11465. - ac_status=$?
  11466. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11467. - (exit $ac_status); }; } &&
  11468. - { ac_try='test -s conftest.$ac_objext'
  11469. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11470. - (eval $ac_try) 2>&5
  11471. - ac_status=$?
  11472. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11473. - (exit $ac_status); }; }; then
  11474. - echo "$as_me:$LINENO: result: yes" >&5
  11475. -echo "${ECHO_T}yes" >&6
  11476. + (exit $ac_status); } && {
  11477. + test -z "$ac_c_werror_flag" ||
  11478. + test ! -s conftest.err
  11479. + } && test -s conftest.$ac_objext; then
  11480. + { echo "$as_me:$LINENO: result: yes" >&5
  11481. +echo "${ECHO_T}yes" >&6; }
  11482. else
  11483. echo "$as_me: failed program was:" >&5
  11484. sed 's/^/| /' conftest.$ac_ext >&5
  11485. -cat >>confdefs.h <<\_ACEOF
  11486. + cat >>confdefs.h <<\_ACEOF
  11487. #define NO_STRINGS_WITH_STRING_H 1
  11488. _ACEOF
  11489. - echo "$as_me:$LINENO: result: no" >&5
  11490. -echo "${ECHO_T}no" >&6
  11491. + { echo "$as_me:$LINENO: result: no" >&5
  11492. +echo "${ECHO_T}no" >&6; }
  11493. fi
  11494. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11495. +
  11496. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11497. CPPFLAGS=$cppflags_save
  11498. fi
  11499. if test $ac_cv_c_compiler_gnu = yes; then
  11500. - echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  11501. -echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
  11502. + { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  11503. +echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
  11504. if test "${ac_cv_prog_gcc_traditional+set}" = set; then
  11505. echo $ECHO_N "(cached) $ECHO_C" >&6
  11506. else
  11507. @@ -10795,15 +10985,15 @@
  11508. fi
  11509. fi
  11510. -echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  11511. -echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
  11512. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  11513. +echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
  11514. if test $ac_cv_prog_gcc_traditional = yes; then
  11515. CC="$CC -traditional"
  11516. fi
  11517. fi
  11518. -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  11519. -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
  11520. +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  11521. +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  11522. if test "${ac_cv_c_const+set}" = set; then
  11523. echo $ECHO_N "(cached) $ECHO_C" >&6
  11524. else
  11525. @@ -10821,10 +11011,10 @@
  11526. #ifndef __cplusplus
  11527. /* Ultrix mips cc rejects this. */
  11528. typedef int charset[2];
  11529. - const charset x;
  11530. + const charset cs;
  11531. /* SunOS 4.1.1 cc rejects this. */
  11532. - char const *const *ccp;
  11533. - char **p;
  11534. + char const *const *pcpcc;
  11535. + char **ppc;
  11536. /* NEC SVR4.0.2 mips cc rejects this. */
  11537. struct point {int x, y;};
  11538. static struct point const zero = {0,0};
  11539. @@ -10833,16 +11023,17 @@
  11540. an arm of an if-expression whose if-part is not a constant
  11541. expression */
  11542. const char *g = "string";
  11543. - ccp = &g + (g ? g-g : 0);
  11544. + pcpcc = &g + (g ? g-g : 0);
  11545. /* HPUX 7.0 cc rejects these. */
  11546. - ++ccp;
  11547. - p = (char**) ccp;
  11548. - ccp = (char const *const *) p;
  11549. + ++pcpcc;
  11550. + ppc = (char**) pcpcc;
  11551. + pcpcc = (char const *const *) ppc;
  11552. { /* SCO 3.2v4 cc rejects this. */
  11553. char *t;
  11554. char const *s = 0 ? (char *) 0 : (char const *) 0;
  11555. *t++ = 0;
  11556. + if (s) return 0;
  11557. }
  11558. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  11559. int x[] = {25, 17};
  11560. @@ -10861,7 +11052,9 @@
  11561. }
  11562. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  11563. const int foo = 10;
  11564. + if (!foo) return 0;
  11565. }
  11566. + return !cs[0] && !zero.x;
  11567. #endif
  11568. ;
  11569. @@ -10869,38 +11062,34 @@
  11570. }
  11571. _ACEOF
  11572. rm -f conftest.$ac_objext
  11573. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11574. - (eval $ac_compile) 2>conftest.er1
  11575. +if { (ac_try="$ac_compile"
  11576. +case "(($ac_try" in
  11577. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11578. + *) ac_try_echo=$ac_try;;
  11579. +esac
  11580. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11581. + (eval "$ac_compile") 2>conftest.er1
  11582. ac_status=$?
  11583. grep -v '^ *+' conftest.er1 >conftest.err
  11584. rm -f conftest.er1
  11585. cat conftest.err >&5
  11586. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11587. - (exit $ac_status); } &&
  11588. - { ac_try='test -z "$ac_c_werror_flag"
  11589. - || test ! -s conftest.err'
  11590. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11591. - (eval $ac_try) 2>&5
  11592. - ac_status=$?
  11593. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11594. - (exit $ac_status); }; } &&
  11595. - { ac_try='test -s conftest.$ac_objext'
  11596. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11597. - (eval $ac_try) 2>&5
  11598. - ac_status=$?
  11599. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11600. - (exit $ac_status); }; }; then
  11601. + (exit $ac_status); } && {
  11602. + test -z "$ac_c_werror_flag" ||
  11603. + test ! -s conftest.err
  11604. + } && test -s conftest.$ac_objext; then
  11605. ac_cv_c_const=yes
  11606. else
  11607. echo "$as_me: failed program was:" >&5
  11608. sed 's/^/| /' conftest.$ac_ext >&5
  11609. -ac_cv_c_const=no
  11610. + ac_cv_c_const=no
  11611. fi
  11612. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11613. +
  11614. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11615. fi
  11616. -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  11617. -echo "${ECHO_T}$ac_cv_c_const" >&6
  11618. +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  11619. +echo "${ECHO_T}$ac_cv_c_const" >&6; }
  11620. if test $ac_cv_c_const = no; then
  11621. cat >>confdefs.h <<\_ACEOF
  11622. @@ -10909,8 +11098,8 @@
  11623. fi
  11624. -echo "$as_me:$LINENO: checking for mode_t" >&5
  11625. -echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
  11626. +{ echo "$as_me:$LINENO: checking for mode_t" >&5
  11627. +echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
  11628. if test "${ac_cv_type_mode_t+set}" = set; then
  11629. echo $ECHO_N "(cached) $ECHO_C" >&6
  11630. else
  11631. @@ -10921,50 +11110,47 @@
  11632. cat >>conftest.$ac_ext <<_ACEOF
  11633. /* end confdefs.h. */
  11634. $ac_includes_default
  11635. +typedef mode_t ac__type_new_;
  11636. int
  11637. main ()
  11638. {
  11639. -if ((mode_t *) 0)
  11640. +if ((ac__type_new_ *) 0)
  11641. return 0;
  11642. -if (sizeof (mode_t))
  11643. +if (sizeof (ac__type_new_))
  11644. return 0;
  11645. ;
  11646. return 0;
  11647. }
  11648. _ACEOF
  11649. rm -f conftest.$ac_objext
  11650. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11651. - (eval $ac_compile) 2>conftest.er1
  11652. +if { (ac_try="$ac_compile"
  11653. +case "(($ac_try" in
  11654. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11655. + *) ac_try_echo=$ac_try;;
  11656. +esac
  11657. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11658. + (eval "$ac_compile") 2>conftest.er1
  11659. ac_status=$?
  11660. grep -v '^ *+' conftest.er1 >conftest.err
  11661. rm -f conftest.er1
  11662. cat conftest.err >&5
  11663. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11664. - (exit $ac_status); } &&
  11665. - { ac_try='test -z "$ac_c_werror_flag"
  11666. - || test ! -s conftest.err'
  11667. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11668. - (eval $ac_try) 2>&5
  11669. - ac_status=$?
  11670. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11671. - (exit $ac_status); }; } &&
  11672. - { ac_try='test -s conftest.$ac_objext'
  11673. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11674. - (eval $ac_try) 2>&5
  11675. - ac_status=$?
  11676. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11677. - (exit $ac_status); }; }; then
  11678. + (exit $ac_status); } && {
  11679. + test -z "$ac_c_werror_flag" ||
  11680. + test ! -s conftest.err
  11681. + } && test -s conftest.$ac_objext; then
  11682. ac_cv_type_mode_t=yes
  11683. else
  11684. echo "$as_me: failed program was:" >&5
  11685. sed 's/^/| /' conftest.$ac_ext >&5
  11686. -ac_cv_type_mode_t=no
  11687. + ac_cv_type_mode_t=no
  11688. fi
  11689. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11690. +
  11691. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11692. fi
  11693. -echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  11694. -echo "${ECHO_T}$ac_cv_type_mode_t" >&6
  11695. +{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  11696. +echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
  11697. if test $ac_cv_type_mode_t = yes; then
  11698. :
  11699. else
  11700. @@ -10975,8 +11161,8 @@
  11701. fi
  11702. -echo "$as_me:$LINENO: checking for off_t" >&5
  11703. -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
  11704. +{ echo "$as_me:$LINENO: checking for off_t" >&5
  11705. +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
  11706. if test "${ac_cv_type_off_t+set}" = set; then
  11707. echo $ECHO_N "(cached) $ECHO_C" >&6
  11708. else
  11709. @@ -10987,62 +11173,59 @@
  11710. cat >>conftest.$ac_ext <<_ACEOF
  11711. /* end confdefs.h. */
  11712. $ac_includes_default
  11713. +typedef off_t ac__type_new_;
  11714. int
  11715. main ()
  11716. {
  11717. -if ((off_t *) 0)
  11718. +if ((ac__type_new_ *) 0)
  11719. return 0;
  11720. -if (sizeof (off_t))
  11721. +if (sizeof (ac__type_new_))
  11722. return 0;
  11723. ;
  11724. return 0;
  11725. }
  11726. _ACEOF
  11727. rm -f conftest.$ac_objext
  11728. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11729. - (eval $ac_compile) 2>conftest.er1
  11730. +if { (ac_try="$ac_compile"
  11731. +case "(($ac_try" in
  11732. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11733. + *) ac_try_echo=$ac_try;;
  11734. +esac
  11735. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11736. + (eval "$ac_compile") 2>conftest.er1
  11737. ac_status=$?
  11738. grep -v '^ *+' conftest.er1 >conftest.err
  11739. rm -f conftest.er1
  11740. cat conftest.err >&5
  11741. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11742. - (exit $ac_status); } &&
  11743. - { ac_try='test -z "$ac_c_werror_flag"
  11744. - || test ! -s conftest.err'
  11745. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11746. - (eval $ac_try) 2>&5
  11747. - ac_status=$?
  11748. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11749. - (exit $ac_status); }; } &&
  11750. - { ac_try='test -s conftest.$ac_objext'
  11751. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11752. - (eval $ac_try) 2>&5
  11753. - ac_status=$?
  11754. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11755. - (exit $ac_status); }; }; then
  11756. + (exit $ac_status); } && {
  11757. + test -z "$ac_c_werror_flag" ||
  11758. + test ! -s conftest.err
  11759. + } && test -s conftest.$ac_objext; then
  11760. ac_cv_type_off_t=yes
  11761. else
  11762. echo "$as_me: failed program was:" >&5
  11763. sed 's/^/| /' conftest.$ac_ext >&5
  11764. -ac_cv_type_off_t=no
  11765. + ac_cv_type_off_t=no
  11766. fi
  11767. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11768. +
  11769. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11770. fi
  11771. -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
  11772. -echo "${ECHO_T}$ac_cv_type_off_t" >&6
  11773. +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
  11774. +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
  11775. if test $ac_cv_type_off_t = yes; then
  11776. :
  11777. else
  11778. cat >>confdefs.h <<_ACEOF
  11779. -#define off_t long
  11780. +#define off_t long int
  11781. _ACEOF
  11782. fi
  11783. -echo "$as_me:$LINENO: checking for pid_t" >&5
  11784. -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
  11785. +{ echo "$as_me:$LINENO: checking for pid_t" >&5
  11786. +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
  11787. if test "${ac_cv_type_pid_t+set}" = set; then
  11788. echo $ECHO_N "(cached) $ECHO_C" >&6
  11789. else
  11790. @@ -11053,50 +11236,47 @@
  11791. cat >>conftest.$ac_ext <<_ACEOF
  11792. /* end confdefs.h. */
  11793. $ac_includes_default
  11794. +typedef pid_t ac__type_new_;
  11795. int
  11796. main ()
  11797. {
  11798. -if ((pid_t *) 0)
  11799. +if ((ac__type_new_ *) 0)
  11800. return 0;
  11801. -if (sizeof (pid_t))
  11802. +if (sizeof (ac__type_new_))
  11803. return 0;
  11804. ;
  11805. return 0;
  11806. }
  11807. _ACEOF
  11808. rm -f conftest.$ac_objext
  11809. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11810. - (eval $ac_compile) 2>conftest.er1
  11811. +if { (ac_try="$ac_compile"
  11812. +case "(($ac_try" in
  11813. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11814. + *) ac_try_echo=$ac_try;;
  11815. +esac
  11816. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11817. + (eval "$ac_compile") 2>conftest.er1
  11818. ac_status=$?
  11819. grep -v '^ *+' conftest.er1 >conftest.err
  11820. rm -f conftest.er1
  11821. cat conftest.err >&5
  11822. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11823. - (exit $ac_status); } &&
  11824. - { ac_try='test -z "$ac_c_werror_flag"
  11825. - || test ! -s conftest.err'
  11826. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11827. - (eval $ac_try) 2>&5
  11828. - ac_status=$?
  11829. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11830. - (exit $ac_status); }; } &&
  11831. - { ac_try='test -s conftest.$ac_objext'
  11832. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11833. - (eval $ac_try) 2>&5
  11834. - ac_status=$?
  11835. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11836. - (exit $ac_status); }; }; then
  11837. + (exit $ac_status); } && {
  11838. + test -z "$ac_c_werror_flag" ||
  11839. + test ! -s conftest.err
  11840. + } && test -s conftest.$ac_objext; then
  11841. ac_cv_type_pid_t=yes
  11842. else
  11843. echo "$as_me: failed program was:" >&5
  11844. sed 's/^/| /' conftest.$ac_ext >&5
  11845. -ac_cv_type_pid_t=no
  11846. + ac_cv_type_pid_t=no
  11847. fi
  11848. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11849. +
  11850. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11851. fi
  11852. -echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  11853. -echo "${ECHO_T}$ac_cv_type_pid_t" >&6
  11854. +{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  11855. +echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
  11856. if test $ac_cv_type_pid_t = yes; then
  11857. :
  11858. else
  11859. @@ -11107,8 +11287,8 @@
  11860. fi
  11861. -echo "$as_me:$LINENO: checking for size_t" >&5
  11862. -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
  11863. +{ echo "$as_me:$LINENO: checking for size_t" >&5
  11864. +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
  11865. if test "${ac_cv_type_size_t+set}" = set; then
  11866. echo $ECHO_N "(cached) $ECHO_C" >&6
  11867. else
  11868. @@ -11119,62 +11299,59 @@
  11869. cat >>conftest.$ac_ext <<_ACEOF
  11870. /* end confdefs.h. */
  11871. $ac_includes_default
  11872. +typedef size_t ac__type_new_;
  11873. int
  11874. main ()
  11875. {
  11876. -if ((size_t *) 0)
  11877. +if ((ac__type_new_ *) 0)
  11878. return 0;
  11879. -if (sizeof (size_t))
  11880. +if (sizeof (ac__type_new_))
  11881. return 0;
  11882. ;
  11883. return 0;
  11884. }
  11885. _ACEOF
  11886. rm -f conftest.$ac_objext
  11887. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11888. - (eval $ac_compile) 2>conftest.er1
  11889. +if { (ac_try="$ac_compile"
  11890. +case "(($ac_try" in
  11891. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11892. + *) ac_try_echo=$ac_try;;
  11893. +esac
  11894. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11895. + (eval "$ac_compile") 2>conftest.er1
  11896. ac_status=$?
  11897. grep -v '^ *+' conftest.er1 >conftest.err
  11898. rm -f conftest.er1
  11899. cat conftest.err >&5
  11900. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11901. - (exit $ac_status); } &&
  11902. - { ac_try='test -z "$ac_c_werror_flag"
  11903. - || test ! -s conftest.err'
  11904. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11905. - (eval $ac_try) 2>&5
  11906. - ac_status=$?
  11907. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11908. - (exit $ac_status); }; } &&
  11909. - { ac_try='test -s conftest.$ac_objext'
  11910. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11911. - (eval $ac_try) 2>&5
  11912. - ac_status=$?
  11913. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11914. - (exit $ac_status); }; }; then
  11915. + (exit $ac_status); } && {
  11916. + test -z "$ac_c_werror_flag" ||
  11917. + test ! -s conftest.err
  11918. + } && test -s conftest.$ac_objext; then
  11919. ac_cv_type_size_t=yes
  11920. else
  11921. echo "$as_me: failed program was:" >&5
  11922. sed 's/^/| /' conftest.$ac_ext >&5
  11923. -ac_cv_type_size_t=no
  11924. + ac_cv_type_size_t=no
  11925. fi
  11926. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11927. +
  11928. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11929. fi
  11930. -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  11931. -echo "${ECHO_T}$ac_cv_type_size_t" >&6
  11932. +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  11933. +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
  11934. if test $ac_cv_type_size_t = yes; then
  11935. :
  11936. else
  11937. cat >>confdefs.h <<_ACEOF
  11938. -#define size_t unsigned
  11939. +#define size_t unsigned int
  11940. _ACEOF
  11941. fi
  11942. -echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
  11943. -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
  11944. +{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
  11945. +echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
  11946. if test "${ac_cv_type_uid_t+set}" = set; then
  11947. echo $ECHO_N "(cached) $ECHO_C" >&6
  11948. else
  11949. @@ -11196,8 +11373,8 @@
  11950. rm -f conftest*
  11951. fi
  11952. -echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
  11953. -echo "${ECHO_T}$ac_cv_type_uid_t" >&6
  11954. +{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
  11955. +echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
  11956. if test $ac_cv_type_uid_t = no; then
  11957. cat >>confdefs.h <<\_ACEOF
  11958. @@ -11211,8 +11388,8 @@
  11959. fi
  11960. -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  11961. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
  11962. +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  11963. +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  11964. if test "${ac_cv_header_time+set}" = set; then
  11965. echo $ECHO_N "(cached) $ECHO_C" >&6
  11966. else
  11967. @@ -11236,38 +11413,34 @@
  11968. }
  11969. _ACEOF
  11970. rm -f conftest.$ac_objext
  11971. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11972. - (eval $ac_compile) 2>conftest.er1
  11973. +if { (ac_try="$ac_compile"
  11974. +case "(($ac_try" in
  11975. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11976. + *) ac_try_echo=$ac_try;;
  11977. +esac
  11978. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11979. + (eval "$ac_compile") 2>conftest.er1
  11980. ac_status=$?
  11981. grep -v '^ *+' conftest.er1 >conftest.err
  11982. rm -f conftest.er1
  11983. cat conftest.err >&5
  11984. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11985. - (exit $ac_status); } &&
  11986. - { ac_try='test -z "$ac_c_werror_flag"
  11987. - || test ! -s conftest.err'
  11988. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11989. - (eval $ac_try) 2>&5
  11990. - ac_status=$?
  11991. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11992. - (exit $ac_status); }; } &&
  11993. - { ac_try='test -s conftest.$ac_objext'
  11994. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11995. - (eval $ac_try) 2>&5
  11996. - ac_status=$?
  11997. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11998. - (exit $ac_status); }; }; then
  11999. + (exit $ac_status); } && {
  12000. + test -z "$ac_c_werror_flag" ||
  12001. + test ! -s conftest.err
  12002. + } && test -s conftest.$ac_objext; then
  12003. ac_cv_header_time=yes
  12004. else
  12005. echo "$as_me: failed program was:" >&5
  12006. sed 's/^/| /' conftest.$ac_ext >&5
  12007. -ac_cv_header_time=no
  12008. + ac_cv_header_time=no
  12009. fi
  12010. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  12011. +
  12012. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12013. fi
  12014. -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  12015. -echo "${ECHO_T}$ac_cv_header_time" >&6
  12016. +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  12017. +echo "${ECHO_T}$ac_cv_header_time" >&6; }
  12018. if test $ac_cv_header_time = yes; then
  12019. cat >>confdefs.h <<\_ACEOF
  12020. @@ -11276,8 +11449,8 @@
  12021. fi
  12022. -echo "$as_me:$LINENO: checking for ino_t" >&5
  12023. -echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
  12024. +{ echo "$as_me:$LINENO: checking for ino_t" >&5
  12025. +echo $ECHO_N "checking for ino_t... $ECHO_C" >&6; }
  12026. if test "${ac_cv_type_ino_t+set}" = set; then
  12027. echo $ECHO_N "(cached) $ECHO_C" >&6
  12028. else
  12029. @@ -11288,50 +11461,47 @@
  12030. cat >>conftest.$ac_ext <<_ACEOF
  12031. /* end confdefs.h. */
  12032. $ac_includes_default
  12033. +typedef ino_t ac__type_new_;
  12034. int
  12035. main ()
  12036. {
  12037. -if ((ino_t *) 0)
  12038. +if ((ac__type_new_ *) 0)
  12039. return 0;
  12040. -if (sizeof (ino_t))
  12041. +if (sizeof (ac__type_new_))
  12042. return 0;
  12043. ;
  12044. return 0;
  12045. }
  12046. _ACEOF
  12047. rm -f conftest.$ac_objext
  12048. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  12049. - (eval $ac_compile) 2>conftest.er1
  12050. +if { (ac_try="$ac_compile"
  12051. +case "(($ac_try" in
  12052. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12053. + *) ac_try_echo=$ac_try;;
  12054. +esac
  12055. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12056. + (eval "$ac_compile") 2>conftest.er1
  12057. ac_status=$?
  12058. grep -v '^ *+' conftest.er1 >conftest.err
  12059. rm -f conftest.er1
  12060. cat conftest.err >&5
  12061. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12062. - (exit $ac_status); } &&
  12063. - { ac_try='test -z "$ac_c_werror_flag"
  12064. - || test ! -s conftest.err'
  12065. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12066. - (eval $ac_try) 2>&5
  12067. - ac_status=$?
  12068. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12069. - (exit $ac_status); }; } &&
  12070. - { ac_try='test -s conftest.$ac_objext'
  12071. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12072. - (eval $ac_try) 2>&5
  12073. - ac_status=$?
  12074. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12075. - (exit $ac_status); }; }; then
  12076. + (exit $ac_status); } && {
  12077. + test -z "$ac_c_werror_flag" ||
  12078. + test ! -s conftest.err
  12079. + } && test -s conftest.$ac_objext; then
  12080. ac_cv_type_ino_t=yes
  12081. else
  12082. echo "$as_me: failed program was:" >&5
  12083. sed 's/^/| /' conftest.$ac_ext >&5
  12084. -ac_cv_type_ino_t=no
  12085. + ac_cv_type_ino_t=no
  12086. fi
  12087. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  12088. +
  12089. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12090. fi
  12091. -echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
  12092. -echo "${ECHO_T}$ac_cv_type_ino_t" >&6
  12093. +{ echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
  12094. +echo "${ECHO_T}$ac_cv_type_ino_t" >&6; }
  12095. if test $ac_cv_type_ino_t = yes; then
  12096. :
  12097. else
  12098. @@ -11342,8 +11512,8 @@
  12099. fi
  12100. -echo "$as_me:$LINENO: checking for dev_t" >&5
  12101. -echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
  12102. +{ echo "$as_me:$LINENO: checking for dev_t" >&5
  12103. +echo $ECHO_N "checking for dev_t... $ECHO_C" >&6; }
  12104. if test "${ac_cv_type_dev_t+set}" = set; then
  12105. echo $ECHO_N "(cached) $ECHO_C" >&6
  12106. else
  12107. @@ -11354,50 +11524,47 @@
  12108. cat >>conftest.$ac_ext <<_ACEOF
  12109. /* end confdefs.h. */
  12110. $ac_includes_default
  12111. +typedef dev_t ac__type_new_;
  12112. int
  12113. main ()
  12114. {
  12115. -if ((dev_t *) 0)
  12116. +if ((ac__type_new_ *) 0)
  12117. return 0;
  12118. -if (sizeof (dev_t))
  12119. +if (sizeof (ac__type_new_))
  12120. return 0;
  12121. ;
  12122. return 0;
  12123. }
  12124. _ACEOF
  12125. rm -f conftest.$ac_objext
  12126. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  12127. - (eval $ac_compile) 2>conftest.er1
  12128. +if { (ac_try="$ac_compile"
  12129. +case "(($ac_try" in
  12130. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12131. + *) ac_try_echo=$ac_try;;
  12132. +esac
  12133. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12134. + (eval "$ac_compile") 2>conftest.er1
  12135. ac_status=$?
  12136. grep -v '^ *+' conftest.er1 >conftest.err
  12137. rm -f conftest.er1
  12138. cat conftest.err >&5
  12139. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12140. - (exit $ac_status); } &&
  12141. - { ac_try='test -z "$ac_c_werror_flag"
  12142. - || test ! -s conftest.err'
  12143. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12144. - (eval $ac_try) 2>&5
  12145. - ac_status=$?
  12146. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12147. - (exit $ac_status); }; } &&
  12148. - { ac_try='test -s conftest.$ac_objext'
  12149. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12150. - (eval $ac_try) 2>&5
  12151. - ac_status=$?
  12152. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12153. - (exit $ac_status); }; }; then
  12154. + (exit $ac_status); } && {
  12155. + test -z "$ac_c_werror_flag" ||
  12156. + test ! -s conftest.err
  12157. + } && test -s conftest.$ac_objext; then
  12158. ac_cv_type_dev_t=yes
  12159. else
  12160. echo "$as_me: failed program was:" >&5
  12161. sed 's/^/| /' conftest.$ac_ext >&5
  12162. -ac_cv_type_dev_t=no
  12163. + ac_cv_type_dev_t=no
  12164. fi
  12165. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  12166. +
  12167. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12168. fi
  12169. -echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
  12170. -echo "${ECHO_T}$ac_cv_type_dev_t" >&6
  12171. +{ echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
  12172. +echo "${ECHO_T}$ac_cv_type_dev_t" >&6; }
  12173. if test $ac_cv_type_dev_t = yes; then
  12174. :
  12175. else
  12176. @@ -11409,11 +11576,11 @@
  12177. fi
  12178. -echo "$as_me:$LINENO: checking for rlim_t" >&5
  12179. -echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
  12180. +{ echo "$as_me:$LINENO: checking for rlim_t" >&5
  12181. +echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6; }
  12182. if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then
  12183. - echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
  12184. -echo "${ECHO_T}(cached) $ac_cv_type_rlim_t" >&6
  12185. + { echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
  12186. +echo "${ECHO_T}(cached) $ac_cv_type_rlim_t" >&6; }
  12187. else
  12188. cat >conftest.$ac_ext <<_ACEOF
  12189. /* confdefs.h. */
  12190. @@ -11440,8 +11607,8 @@
  12191. fi
  12192. rm -f conftest*
  12193. - echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
  12194. -echo "${ECHO_T}$ac_cv_type_rlim_t" >&6
  12195. + { echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
  12196. +echo "${ECHO_T}$ac_cv_type_rlim_t" >&6; }
  12197. fi
  12198. if test $ac_cv_type_rlim_t = no; then
  12199. cat >> confdefs.h <<\EOF
  12200. @@ -11449,11 +11616,11 @@
  12201. EOF
  12202. fi
  12203. -echo "$as_me:$LINENO: checking for stack_t" >&5
  12204. -echo $ECHO_N "checking for stack_t... $ECHO_C" >&6
  12205. +{ echo "$as_me:$LINENO: checking for stack_t" >&5
  12206. +echo $ECHO_N "checking for stack_t... $ECHO_C" >&6; }
  12207. if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then
  12208. - echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
  12209. -echo "${ECHO_T}(cached) $ac_cv_type_stack_t" >&6
  12210. + { echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
  12211. +echo "${ECHO_T}(cached) $ac_cv_type_stack_t" >&6; }
  12212. else
  12213. cat >conftest.$ac_ext <<_ACEOF
  12214. /* confdefs.h. */
  12215. @@ -11478,8 +11645,8 @@
  12216. fi
  12217. rm -f conftest*
  12218. - echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
  12219. -echo "${ECHO_T}$ac_cv_type_stack_t" >&6
  12220. + { echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
  12221. +echo "${ECHO_T}$ac_cv_type_stack_t" >&6; }
  12222. fi
  12223. if test $ac_cv_type_stack_t = no; then
  12224. cat >> confdefs.h <<\EOF
  12225. @@ -11487,8 +11654,8 @@
  12226. EOF
  12227. fi
  12228. -echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
  12229. -echo $ECHO_N "checking whether stack_t has an ss_base field... $ECHO_C" >&6
  12230. +{ echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
  12231. +echo $ECHO_N "checking whether stack_t has an ss_base field... $ECHO_C" >&6; }
  12232. cat >conftest.$ac_ext <<_ACEOF
  12233. /* confdefs.h. */
  12234. _ACEOF
  12235. @@ -11513,29 +11680,24 @@
  12236. }
  12237. _ACEOF
  12238. rm -f conftest.$ac_objext
  12239. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  12240. - (eval $ac_compile) 2>conftest.er1
  12241. +if { (ac_try="$ac_compile"
  12242. +case "(($ac_try" in
  12243. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12244. + *) ac_try_echo=$ac_try;;
  12245. +esac
  12246. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12247. + (eval "$ac_compile") 2>conftest.er1
  12248. ac_status=$?
  12249. grep -v '^ *+' conftest.er1 >conftest.err
  12250. rm -f conftest.er1
  12251. cat conftest.err >&5
  12252. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12253. - (exit $ac_status); } &&
  12254. - { ac_try='test -z "$ac_c_werror_flag"
  12255. - || test ! -s conftest.err'
  12256. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12257. - (eval $ac_try) 2>&5
  12258. - ac_status=$?
  12259. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12260. - (exit $ac_status); }; } &&
  12261. - { ac_try='test -s conftest.$ac_objext'
  12262. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12263. - (eval $ac_try) 2>&5
  12264. - ac_status=$?
  12265. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12266. - (exit $ac_status); }; }; then
  12267. - echo "$as_me:$LINENO: result: yes" >&5
  12268. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12269. + (exit $ac_status); } && {
  12270. + test -z "$ac_c_werror_flag" ||
  12271. + test ! -s conftest.err
  12272. + } && test -s conftest.$ac_objext; then
  12273. + { echo "$as_me:$LINENO: result: yes" >&5
  12274. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12275. #define HAVE_SS_BASE 1
  12276. _ACEOF
  12277. @@ -11543,26 +11705,27 @@
  12278. echo "$as_me: failed program was:" >&5
  12279. sed 's/^/| /' conftest.$ac_ext >&5
  12280. -echo "$as_me:$LINENO: result: no" >&5
  12281. -echo "${ECHO_T}no" >&6
  12282. + { echo "$as_me:$LINENO: result: no" >&5
  12283. +echo "${ECHO_T}no" >&6; }
  12284. fi
  12285. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  12286. +
  12287. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12288. olibs="$LIBS"
  12289. -echo "$as_me:$LINENO: checking --with-tlib argument" >&5
  12290. -echo $ECHO_N "checking --with-tlib argument... $ECHO_C" >&6
  12291. +{ echo "$as_me:$LINENO: checking --with-tlib argument" >&5
  12292. +echo $ECHO_N "checking --with-tlib argument... $ECHO_C" >&6; }
  12293. -# Check whether --with-tlib or --without-tlib was given.
  12294. +# Check whether --with-tlib was given.
  12295. if test "${with_tlib+set}" = set; then
  12296. - withval="$with_tlib"
  12297. + withval=$with_tlib;
  12298. +fi
  12299. -fi;
  12300. if test -n "$with_tlib"; then
  12301. - echo "$as_me:$LINENO: result: $with_tlib" >&5
  12302. -echo "${ECHO_T}$with_tlib" >&6
  12303. + { echo "$as_me:$LINENO: result: $with_tlib" >&5
  12304. +echo "${ECHO_T}$with_tlib" >&6; }
  12305. LIBS="$LIBS -l$with_tlib"
  12306. - echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
  12307. -echo $ECHO_N "checking for linking with $with_tlib library... $ECHO_C" >&6
  12308. + { echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
  12309. +echo $ECHO_N "checking for linking with $with_tlib library... $ECHO_C" >&6; }
  12310. cat >conftest.$ac_ext <<_ACEOF
  12311. /* confdefs.h. */
  12312. _ACEOF
  12313. @@ -11579,43 +11742,40 @@
  12314. }
  12315. _ACEOF
  12316. rm -f conftest.$ac_objext conftest$ac_exeext
  12317. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12318. - (eval $ac_link) 2>conftest.er1
  12319. +if { (ac_try="$ac_link"
  12320. +case "(($ac_try" in
  12321. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12322. + *) ac_try_echo=$ac_try;;
  12323. +esac
  12324. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12325. + (eval "$ac_link") 2>conftest.er1
  12326. ac_status=$?
  12327. grep -v '^ *+' conftest.er1 >conftest.err
  12328. rm -f conftest.er1
  12329. cat conftest.err >&5
  12330. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12331. - (exit $ac_status); } &&
  12332. - { ac_try='test -z "$ac_c_werror_flag"
  12333. - || test ! -s conftest.err'
  12334. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12335. - (eval $ac_try) 2>&5
  12336. - ac_status=$?
  12337. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12338. - (exit $ac_status); }; } &&
  12339. - { ac_try='test -s conftest$ac_exeext'
  12340. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12341. - (eval $ac_try) 2>&5
  12342. - ac_status=$?
  12343. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12344. - (exit $ac_status); }; }; then
  12345. - echo "$as_me:$LINENO: result: OK" >&5
  12346. -echo "${ECHO_T}OK" >&6
  12347. + (exit $ac_status); } && {
  12348. + test -z "$ac_c_werror_flag" ||
  12349. + test ! -s conftest.err
  12350. + } && test -s conftest$ac_exeext &&
  12351. + $as_test_x conftest$ac_exeext; then
  12352. + { echo "$as_me:$LINENO: result: OK" >&5
  12353. +echo "${ECHO_T}OK" >&6; }
  12354. else
  12355. echo "$as_me: failed program was:" >&5
  12356. sed 's/^/| /' conftest.$ac_ext >&5
  12357. -{ { echo "$as_me:$LINENO: error: FAILED" >&5
  12358. + { { echo "$as_me:$LINENO: error: FAILED" >&5
  12359. echo "$as_me: error: FAILED" >&2;}
  12360. { (exit 1); exit 1; }; }
  12361. fi
  12362. -rm -f conftest.err conftest.$ac_objext \
  12363. +
  12364. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12365. conftest$ac_exeext conftest.$ac_ext
  12366. olibs="$LIBS"
  12367. else
  12368. - echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
  12369. -echo "${ECHO_T}empty: automatic terminal library selection" >&6
  12370. + { echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
  12371. +echo "${ECHO_T}empty: automatic terminal library selection" >&6; }
  12372. case "`uname -s 2>/dev/null`" in
  12373. OSF1|SCO_SV) tlibs="ncurses curses termlib termcap";;
  12374. *) tlibs="ncurses termlib termcap curses";;
  12375. @@ -11623,9 +11783,9 @@
  12376. for libname in $tlibs; do
  12377. as_ac_Lib=`echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
  12378. -echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
  12379. -echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6
  12380. -if eval "test \"\${$as_ac_Lib+set}\" = set"; then
  12381. +{ echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
  12382. +echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6; }
  12383. +if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
  12384. echo $ECHO_N "(cached) $ECHO_C" >&6
  12385. else
  12386. ac_check_lib_save_LIBS=$LIBS
  12387. @@ -11637,56 +11797,54 @@
  12388. cat >>conftest.$ac_ext <<_ACEOF
  12389. /* end confdefs.h. */
  12390. -/* Override any gcc2 internal prototype to avoid an error. */
  12391. +/* Override any GCC internal prototype to avoid an error.
  12392. + Use char because int might match the return type of a GCC
  12393. + builtin and then its argument prototype would still apply. */
  12394. #ifdef __cplusplus
  12395. extern "C"
  12396. #endif
  12397. -/* We use char because int might match the return type of a gcc2
  12398. - builtin and then its argument prototype would still apply. */
  12399. char tgetent ();
  12400. int
  12401. main ()
  12402. {
  12403. -tgetent ();
  12404. +return tgetent ();
  12405. ;
  12406. return 0;
  12407. }
  12408. _ACEOF
  12409. rm -f conftest.$ac_objext conftest$ac_exeext
  12410. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12411. - (eval $ac_link) 2>conftest.er1
  12412. +if { (ac_try="$ac_link"
  12413. +case "(($ac_try" in
  12414. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12415. + *) ac_try_echo=$ac_try;;
  12416. +esac
  12417. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12418. + (eval "$ac_link") 2>conftest.er1
  12419. ac_status=$?
  12420. grep -v '^ *+' conftest.er1 >conftest.err
  12421. rm -f conftest.er1
  12422. cat conftest.err >&5
  12423. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12424. - (exit $ac_status); } &&
  12425. - { ac_try='test -z "$ac_c_werror_flag"
  12426. - || test ! -s conftest.err'
  12427. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12428. - (eval $ac_try) 2>&5
  12429. - ac_status=$?
  12430. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12431. - (exit $ac_status); }; } &&
  12432. - { ac_try='test -s conftest$ac_exeext'
  12433. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12434. - (eval $ac_try) 2>&5
  12435. - ac_status=$?
  12436. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12437. - (exit $ac_status); }; }; then
  12438. + (exit $ac_status); } && {
  12439. + test -z "$ac_c_werror_flag" ||
  12440. + test ! -s conftest.err
  12441. + } && test -s conftest$ac_exeext &&
  12442. + $as_test_x conftest$ac_exeext; then
  12443. eval "$as_ac_Lib=yes"
  12444. else
  12445. echo "$as_me: failed program was:" >&5
  12446. sed 's/^/| /' conftest.$ac_ext >&5
  12447. -eval "$as_ac_Lib=no"
  12448. + eval "$as_ac_Lib=no"
  12449. fi
  12450. -rm -f conftest.err conftest.$ac_objext \
  12451. +
  12452. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12453. conftest$ac_exeext conftest.$ac_ext
  12454. LIBS=$ac_check_lib_save_LIBS
  12455. fi
  12456. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
  12457. -echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
  12458. +ac_res=`eval echo '${'$as_ac_Lib'}'`
  12459. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  12460. +echo "${ECHO_T}$ac_res" >&6; }
  12461. if test `eval echo '${'$as_ac_Lib'}'` = yes; then
  12462. cat >>confdefs.h <<_ACEOF
  12463. #define `echo "HAVE_LIB${libname}" | $as_tr_cpp` 1
  12464. @@ -11713,13 +11871,22 @@
  12465. main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }
  12466. _ACEOF
  12467. rm -f conftest$ac_exeext
  12468. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12469. - (eval $ac_link) 2>&5
  12470. +if { (ac_try="$ac_link"
  12471. +case "(($ac_try" in
  12472. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12473. + *) ac_try_echo=$ac_try;;
  12474. +esac
  12475. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12476. + (eval "$ac_link") 2>&5
  12477. ac_status=$?
  12478. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12479. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12480. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12481. - (eval $ac_try) 2>&5
  12482. + { (case "(($ac_try" in
  12483. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12484. + *) ac_try_echo=$ac_try;;
  12485. +esac
  12486. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12487. + (eval "$ac_try") 2>&5
  12488. ac_status=$?
  12489. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12490. (exit $ac_status); }; }; then
  12491. @@ -11732,25 +11899,27 @@
  12492. ( exit $ac_status )
  12493. res="FAIL"
  12494. fi
  12495. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12496. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12497. fi
  12498. +
  12499. +
  12500. if test "$res" = "OK"; then
  12501. break
  12502. fi
  12503. - echo "$as_me:$LINENO: result: $libname library is not usable" >&5
  12504. -echo "${ECHO_T}$libname library is not usable" >&6
  12505. + { echo "$as_me:$LINENO: result: $libname library is not usable" >&5
  12506. +echo "${ECHO_T}$libname library is not usable" >&6; }
  12507. LIBS="$olibs"
  12508. fi
  12509. done
  12510. if test "x$olibs" = "x$LIBS"; then
  12511. - echo "$as_me:$LINENO: result: no terminal library found" >&5
  12512. -echo "${ECHO_T}no terminal library found" >&6
  12513. + { echo "$as_me:$LINENO: result: no terminal library found" >&5
  12514. +echo "${ECHO_T}no terminal library found" >&6; }
  12515. fi
  12516. fi
  12517. if test "x$olibs" = "x$LIBS"; then
  12518. - echo "$as_me:$LINENO: checking for tgetent()" >&5
  12519. -echo $ECHO_N "checking for tgetent()... $ECHO_C" >&6
  12520. + { echo "$as_me:$LINENO: checking for tgetent()" >&5
  12521. +echo $ECHO_N "checking for tgetent()... $ECHO_C" >&6; }
  12522. cat >conftest.$ac_ext <<_ACEOF
  12523. /* confdefs.h. */
  12524. _ACEOF
  12525. @@ -11767,34 +11936,30 @@
  12526. }
  12527. _ACEOF
  12528. rm -f conftest.$ac_objext conftest$ac_exeext
  12529. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12530. - (eval $ac_link) 2>conftest.er1
  12531. +if { (ac_try="$ac_link"
  12532. +case "(($ac_try" in
  12533. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12534. + *) ac_try_echo=$ac_try;;
  12535. +esac
  12536. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12537. + (eval "$ac_link") 2>conftest.er1
  12538. ac_status=$?
  12539. grep -v '^ *+' conftest.er1 >conftest.err
  12540. rm -f conftest.er1
  12541. cat conftest.err >&5
  12542. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12543. - (exit $ac_status); } &&
  12544. - { ac_try='test -z "$ac_c_werror_flag"
  12545. - || test ! -s conftest.err'
  12546. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12547. - (eval $ac_try) 2>&5
  12548. - ac_status=$?
  12549. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12550. - (exit $ac_status); }; } &&
  12551. - { ac_try='test -s conftest$ac_exeext'
  12552. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12553. - (eval $ac_try) 2>&5
  12554. - ac_status=$?
  12555. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12556. - (exit $ac_status); }; }; then
  12557. - echo "$as_me:$LINENO: result: yes" >&5
  12558. -echo "${ECHO_T}yes" >&6
  12559. + (exit $ac_status); } && {
  12560. + test -z "$ac_c_werror_flag" ||
  12561. + test ! -s conftest.err
  12562. + } && test -s conftest$ac_exeext &&
  12563. + $as_test_x conftest$ac_exeext; then
  12564. + { echo "$as_me:$LINENO: result: yes" >&5
  12565. +echo "${ECHO_T}yes" >&6; }
  12566. else
  12567. echo "$as_me: failed program was:" >&5
  12568. sed 's/^/| /' conftest.$ac_ext >&5
  12569. -{ { echo "$as_me:$LINENO: error: NOT FOUND!
  12570. + { { echo "$as_me:$LINENO: error: NOT FOUND!
  12571. You need to install a terminal library; for example ncurses.
  12572. Or specify the name of the library with --with-tlib." >&5
  12573. echo "$as_me: error: NOT FOUND!
  12574. @@ -11802,18 +11967,46 @@
  12575. Or specify the name of the library with --with-tlib." >&2;}
  12576. { (exit 1); exit 1; }; }
  12577. fi
  12578. -rm -f conftest.err conftest.$ac_objext \
  12579. +
  12580. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12581. conftest$ac_exeext conftest.$ac_ext
  12582. fi
  12583. -echo "$as_me:$LINENO: checking whether we talk terminfo" >&5
  12584. -echo $ECHO_N "checking whether we talk terminfo... $ECHO_C" >&6
  12585. -if test "$cross_compiling" = yes; then
  12586. - { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
  12587. -echo "$as_me: error: failed to compile test program." >&2;}
  12588. - { (exit 1); exit 1; }; }
  12589. -else
  12590. - cat >conftest.$ac_ext <<_ACEOF
  12591. +#AC_MSG_CHECKING(whether we talk terminfo)
  12592. +#AC_TRY_RUN([
  12593. +##ifdef HAVE_TERMCAP_H
  12594. +## include <termcap.h>
  12595. +##endif
  12596. +#main()
  12597. +#{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }],
  12598. +# AC_MSG_RESULT([no -- we are in termcap land]),
  12599. +# AC_MSG_RESULT([yes -- terminfo spoken here]); AC_DEFINE(TERMINFO),
  12600. +# AC_MSG_ERROR(failed to compile test program.))
  12601. +cat >>confdefs.h <<\_ACEOF
  12602. +#define TERMINFO 1
  12603. +_ACEOF
  12604. +
  12605. +
  12606. +#if test "x$olibs" != "x$LIBS"; then
  12607. +# AC_MSG_CHECKING(what tgetent() returns for an unknown terminal)
  12608. +# AC_TRY_RUN([
  12609. +##ifdef HAVE_TERMCAP_H
  12610. +## include <termcap.h>
  12611. +##endif
  12612. +#main()
  12613. +#{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }],
  12614. +# AC_MSG_RESULT(zero); AC_DEFINE(TGETENT_ZERO_ERR, 0),
  12615. +# AC_MSG_RESULT(non-zero),
  12616. +# AC_MSG_ERROR(failed to compile test program.))
  12617. +#fi
  12618. +cat >>confdefs.h <<\_ACEOF
  12619. +#define TGETENT_ZERO_ERR 1
  12620. +_ACEOF
  12621. +
  12622. +
  12623. +{ echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
  12624. +echo $ECHO_N "checking whether termcap.h contains ospeed... $ECHO_C" >&6; }
  12625. +cat >conftest.$ac_ext <<_ACEOF
  12626. /* confdefs.h. */
  12627. _ACEOF
  12628. cat confdefs.h >>conftest.$ac_ext
  12629. @@ -11823,144 +12016,47 @@
  12630. #ifdef HAVE_TERMCAP_H
  12631. # include <termcap.h>
  12632. #endif
  12633. -main()
  12634. -{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
  12635. +
  12636. +int
  12637. +main ()
  12638. +{
  12639. +ospeed = 20000
  12640. + ;
  12641. + return 0;
  12642. +}
  12643. _ACEOF
  12644. -rm -f conftest$ac_exeext
  12645. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12646. - (eval $ac_link) 2>&5
  12647. - ac_status=$?
  12648. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12649. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12650. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12651. - (eval $ac_try) 2>&5
  12652. +rm -f conftest.$ac_objext conftest$ac_exeext
  12653. +if { (ac_try="$ac_link"
  12654. +case "(($ac_try" in
  12655. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12656. + *) ac_try_echo=$ac_try;;
  12657. +esac
  12658. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12659. + (eval "$ac_link") 2>conftest.er1
  12660. ac_status=$?
  12661. + grep -v '^ *+' conftest.er1 >conftest.err
  12662. + rm -f conftest.er1
  12663. + cat conftest.err >&5
  12664. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12665. - (exit $ac_status); }; }; then
  12666. - echo "$as_me:$LINENO: result: no -- we are in termcap land" >&5
  12667. -echo "${ECHO_T}no -- we are in termcap land" >&6
  12668. -else
  12669. - echo "$as_me: program exited with status $ac_status" >&5
  12670. -echo "$as_me: failed program was:" >&5
  12671. -sed 's/^/| /' conftest.$ac_ext >&5
  12672. -
  12673. -( exit $ac_status )
  12674. -echo "$as_me:$LINENO: result: yes -- terminfo spoken here" >&5
  12675. -echo "${ECHO_T}yes -- terminfo spoken here" >&6; cat >>confdefs.h <<\_ACEOF
  12676. -#define TERMINFO 1
  12677. + (exit $ac_status); } && {
  12678. + test -z "$ac_c_werror_flag" ||
  12679. + test ! -s conftest.err
  12680. + } && test -s conftest$ac_exeext &&
  12681. + $as_test_x conftest$ac_exeext; then
  12682. + { echo "$as_me:$LINENO: result: yes" >&5
  12683. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12684. +#define HAVE_OSPEED 1
  12685. _ACEOF
  12686. -fi
  12687. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12688. -fi
  12689. -
  12690. -if test "x$olibs" != "x$LIBS"; then
  12691. - echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5
  12692. -echo $ECHO_N "checking what tgetent() returns for an unknown terminal... $ECHO_C" >&6
  12693. - if test "$cross_compiling" = yes; then
  12694. - { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
  12695. -echo "$as_me: error: failed to compile test program." >&2;}
  12696. - { (exit 1); exit 1; }; }
  12697. else
  12698. - cat >conftest.$ac_ext <<_ACEOF
  12699. -/* confdefs.h. */
  12700. -_ACEOF
  12701. -cat confdefs.h >>conftest.$ac_ext
  12702. -cat >>conftest.$ac_ext <<_ACEOF
  12703. -/* end confdefs.h. */
  12704. -
  12705. -#ifdef HAVE_TERMCAP_H
  12706. -# include <termcap.h>
  12707. -#endif
  12708. -main()
  12709. -{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
  12710. -_ACEOF
  12711. -rm -f conftest$ac_exeext
  12712. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12713. - (eval $ac_link) 2>&5
  12714. - ac_status=$?
  12715. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12716. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12717. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12718. - (eval $ac_try) 2>&5
  12719. - ac_status=$?
  12720. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12721. - (exit $ac_status); }; }; then
  12722. - echo "$as_me:$LINENO: result: zero" >&5
  12723. -echo "${ECHO_T}zero" >&6; cat >>confdefs.h <<\_ACEOF
  12724. -#define TGETENT_ZERO_ERR 0
  12725. -_ACEOF
  12726. -
  12727. -else
  12728. - echo "$as_me: program exited with status $ac_status" >&5
  12729. -echo "$as_me: failed program was:" >&5
  12730. -sed 's/^/| /' conftest.$ac_ext >&5
  12731. -
  12732. -( exit $ac_status )
  12733. -echo "$as_me:$LINENO: result: non-zero" >&5
  12734. -echo "${ECHO_T}non-zero" >&6
  12735. -fi
  12736. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12737. -fi
  12738. -fi
  12739. -
  12740. -echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
  12741. -echo $ECHO_N "checking whether termcap.h contains ospeed... $ECHO_C" >&6
  12742. -cat >conftest.$ac_ext <<_ACEOF
  12743. -/* confdefs.h. */
  12744. -_ACEOF
  12745. -cat confdefs.h >>conftest.$ac_ext
  12746. -cat >>conftest.$ac_ext <<_ACEOF
  12747. -/* end confdefs.h. */
  12748. -
  12749. -#ifdef HAVE_TERMCAP_H
  12750. -# include <termcap.h>
  12751. -#endif
  12752. -
  12753. -int
  12754. -main ()
  12755. -{
  12756. -ospeed = 20000
  12757. - ;
  12758. - return 0;
  12759. -}
  12760. -_ACEOF
  12761. -rm -f conftest.$ac_objext conftest$ac_exeext
  12762. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12763. - (eval $ac_link) 2>conftest.er1
  12764. - ac_status=$?
  12765. - grep -v '^ *+' conftest.er1 >conftest.err
  12766. - rm -f conftest.er1
  12767. - cat conftest.err >&5
  12768. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12769. - (exit $ac_status); } &&
  12770. - { ac_try='test -z "$ac_c_werror_flag"
  12771. - || test ! -s conftest.err'
  12772. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12773. - (eval $ac_try) 2>&5
  12774. - ac_status=$?
  12775. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12776. - (exit $ac_status); }; } &&
  12777. - { ac_try='test -s conftest$ac_exeext'
  12778. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12779. - (eval $ac_try) 2>&5
  12780. - ac_status=$?
  12781. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12782. - (exit $ac_status); }; }; then
  12783. - echo "$as_me:$LINENO: result: yes" >&5
  12784. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12785. -#define HAVE_OSPEED 1
  12786. -_ACEOF
  12787. -
  12788. -else
  12789. - echo "$as_me: failed program was:" >&5
  12790. -sed 's/^/| /' conftest.$ac_ext >&5
  12791. -
  12792. -echo "$as_me:$LINENO: result: no" >&5
  12793. -echo "${ECHO_T}no" >&6
  12794. - echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
  12795. -echo $ECHO_N "checking whether ospeed can be extern... $ECHO_C" >&6
  12796. - cat >conftest.$ac_ext <<_ACEOF
  12797. + echo "$as_me: failed program was:" >&5
  12798. +sed 's/^/| /' conftest.$ac_ext >&5
  12799. +
  12800. + { echo "$as_me:$LINENO: result: no" >&5
  12801. +echo "${ECHO_T}no" >&6; }
  12802. + { echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
  12803. +echo $ECHO_N "checking whether ospeed can be extern... $ECHO_C" >&6; }
  12804. + cat >conftest.$ac_ext <<_ACEOF
  12805. /* confdefs.h. */
  12806. _ACEOF
  12807. cat confdefs.h >>conftest.$ac_ext
  12808. @@ -11981,29 +12077,25 @@
  12809. }
  12810. _ACEOF
  12811. rm -f conftest.$ac_objext conftest$ac_exeext
  12812. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12813. - (eval $ac_link) 2>conftest.er1
  12814. +if { (ac_try="$ac_link"
  12815. +case "(($ac_try" in
  12816. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12817. + *) ac_try_echo=$ac_try;;
  12818. +esac
  12819. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12820. + (eval "$ac_link") 2>conftest.er1
  12821. ac_status=$?
  12822. grep -v '^ *+' conftest.er1 >conftest.err
  12823. rm -f conftest.er1
  12824. cat conftest.err >&5
  12825. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12826. - (exit $ac_status); } &&
  12827. - { ac_try='test -z "$ac_c_werror_flag"
  12828. - || test ! -s conftest.err'
  12829. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12830. - (eval $ac_try) 2>&5
  12831. - ac_status=$?
  12832. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12833. - (exit $ac_status); }; } &&
  12834. - { ac_try='test -s conftest$ac_exeext'
  12835. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12836. - (eval $ac_try) 2>&5
  12837. - ac_status=$?
  12838. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12839. - (exit $ac_status); }; }; then
  12840. - echo "$as_me:$LINENO: result: yes" >&5
  12841. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12842. + (exit $ac_status); } && {
  12843. + test -z "$ac_c_werror_flag" ||
  12844. + test ! -s conftest.err
  12845. + } && test -s conftest$ac_exeext &&
  12846. + $as_test_x conftest$ac_exeext; then
  12847. + { echo "$as_me:$LINENO: result: yes" >&5
  12848. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12849. #define OSPEED_EXTERN 1
  12850. _ACEOF
  12851. @@ -12011,18 +12103,20 @@
  12852. echo "$as_me: failed program was:" >&5
  12853. sed 's/^/| /' conftest.$ac_ext >&5
  12854. -echo "$as_me:$LINENO: result: no" >&5
  12855. -echo "${ECHO_T}no" >&6
  12856. + { echo "$as_me:$LINENO: result: no" >&5
  12857. +echo "${ECHO_T}no" >&6; }
  12858. fi
  12859. -rm -f conftest.err conftest.$ac_objext \
  12860. +
  12861. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12862. conftest$ac_exeext conftest.$ac_ext
  12863. fi
  12864. -rm -f conftest.err conftest.$ac_objext \
  12865. +
  12866. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12867. conftest$ac_exeext conftest.$ac_ext
  12868. -echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
  12869. -echo $ECHO_N "checking whether termcap.h contains UP, BC and PC... $ECHO_C" >&6
  12870. +{ echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
  12871. +echo $ECHO_N "checking whether termcap.h contains UP, BC and PC... $ECHO_C" >&6; }
  12872. cat >conftest.$ac_ext <<_ACEOF
  12873. /* confdefs.h. */
  12874. _ACEOF
  12875. @@ -12043,29 +12137,25 @@
  12876. }
  12877. _ACEOF
  12878. rm -f conftest.$ac_objext conftest$ac_exeext
  12879. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12880. - (eval $ac_link) 2>conftest.er1
  12881. +if { (ac_try="$ac_link"
  12882. +case "(($ac_try" in
  12883. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12884. + *) ac_try_echo=$ac_try;;
  12885. +esac
  12886. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12887. + (eval "$ac_link") 2>conftest.er1
  12888. ac_status=$?
  12889. grep -v '^ *+' conftest.er1 >conftest.err
  12890. rm -f conftest.er1
  12891. cat conftest.err >&5
  12892. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12893. - (exit $ac_status); } &&
  12894. - { ac_try='test -z "$ac_c_werror_flag"
  12895. - || test ! -s conftest.err'
  12896. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12897. - (eval $ac_try) 2>&5
  12898. - ac_status=$?
  12899. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12900. - (exit $ac_status); }; } &&
  12901. - { ac_try='test -s conftest$ac_exeext'
  12902. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12903. - (eval $ac_try) 2>&5
  12904. - ac_status=$?
  12905. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12906. - (exit $ac_status); }; }; then
  12907. - echo "$as_me:$LINENO: result: yes" >&5
  12908. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12909. + (exit $ac_status); } && {
  12910. + test -z "$ac_c_werror_flag" ||
  12911. + test ! -s conftest.err
  12912. + } && test -s conftest$ac_exeext &&
  12913. + $as_test_x conftest$ac_exeext; then
  12914. + { echo "$as_me:$LINENO: result: yes" >&5
  12915. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12916. #define HAVE_UP_BC_PC 1
  12917. _ACEOF
  12918. @@ -12073,10 +12163,10 @@
  12919. echo "$as_me: failed program was:" >&5
  12920. sed 's/^/| /' conftest.$ac_ext >&5
  12921. -echo "$as_me:$LINENO: result: no" >&5
  12922. -echo "${ECHO_T}no" >&6
  12923. - echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
  12924. -echo $ECHO_N "checking whether UP, BC and PC can be extern... $ECHO_C" >&6
  12925. + { echo "$as_me:$LINENO: result: no" >&5
  12926. +echo "${ECHO_T}no" >&6; }
  12927. + { echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
  12928. +echo $ECHO_N "checking whether UP, BC and PC can be extern... $ECHO_C" >&6; }
  12929. cat >conftest.$ac_ext <<_ACEOF
  12930. /* confdefs.h. */
  12931. _ACEOF
  12932. @@ -12098,29 +12188,25 @@
  12933. }
  12934. _ACEOF
  12935. rm -f conftest.$ac_objext conftest$ac_exeext
  12936. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12937. - (eval $ac_link) 2>conftest.er1
  12938. +if { (ac_try="$ac_link"
  12939. +case "(($ac_try" in
  12940. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12941. + *) ac_try_echo=$ac_try;;
  12942. +esac
  12943. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12944. + (eval "$ac_link") 2>conftest.er1
  12945. ac_status=$?
  12946. grep -v '^ *+' conftest.er1 >conftest.err
  12947. rm -f conftest.er1
  12948. cat conftest.err >&5
  12949. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12950. - (exit $ac_status); } &&
  12951. - { ac_try='test -z "$ac_c_werror_flag"
  12952. - || test ! -s conftest.err'
  12953. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12954. - (eval $ac_try) 2>&5
  12955. - ac_status=$?
  12956. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12957. - (exit $ac_status); }; } &&
  12958. - { ac_try='test -s conftest$ac_exeext'
  12959. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12960. - (eval $ac_try) 2>&5
  12961. - ac_status=$?
  12962. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12963. - (exit $ac_status); }; }; then
  12964. - echo "$as_me:$LINENO: result: yes" >&5
  12965. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12966. + (exit $ac_status); } && {
  12967. + test -z "$ac_c_werror_flag" ||
  12968. + test ! -s conftest.err
  12969. + } && test -s conftest$ac_exeext &&
  12970. + $as_test_x conftest$ac_exeext; then
  12971. + { echo "$as_me:$LINENO: result: yes" >&5
  12972. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12973. #define UP_BC_PC_EXTERN 1
  12974. _ACEOF
  12975. @@ -12128,18 +12214,20 @@
  12976. echo "$as_me: failed program was:" >&5
  12977. sed 's/^/| /' conftest.$ac_ext >&5
  12978. -echo "$as_me:$LINENO: result: no" >&5
  12979. -echo "${ECHO_T}no" >&6
  12980. + { echo "$as_me:$LINENO: result: no" >&5
  12981. +echo "${ECHO_T}no" >&6; }
  12982. fi
  12983. -rm -f conftest.err conftest.$ac_objext \
  12984. +
  12985. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12986. conftest$ac_exeext conftest.$ac_ext
  12987. fi
  12988. -rm -f conftest.err conftest.$ac_objext \
  12989. +
  12990. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12991. conftest$ac_exeext conftest.$ac_ext
  12992. -echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
  12993. -echo $ECHO_N "checking whether tputs() uses outfuntype... $ECHO_C" >&6
  12994. +{ echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
  12995. +echo $ECHO_N "checking whether tputs() uses outfuntype... $ECHO_C" >&6; }
  12996. cat >conftest.$ac_ext <<_ACEOF
  12997. /* confdefs.h. */
  12998. _ACEOF
  12999. @@ -12160,29 +12248,24 @@
  13000. }
  13001. _ACEOF
  13002. rm -f conftest.$ac_objext
  13003. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13004. - (eval $ac_compile) 2>conftest.er1
  13005. +if { (ac_try="$ac_compile"
  13006. +case "(($ac_try" in
  13007. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13008. + *) ac_try_echo=$ac_try;;
  13009. +esac
  13010. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13011. + (eval "$ac_compile") 2>conftest.er1
  13012. ac_status=$?
  13013. grep -v '^ *+' conftest.er1 >conftest.err
  13014. rm -f conftest.er1
  13015. cat conftest.err >&5
  13016. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13017. - (exit $ac_status); } &&
  13018. - { ac_try='test -z "$ac_c_werror_flag"
  13019. - || test ! -s conftest.err'
  13020. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13021. - (eval $ac_try) 2>&5
  13022. - ac_status=$?
  13023. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13024. - (exit $ac_status); }; } &&
  13025. - { ac_try='test -s conftest.$ac_objext'
  13026. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13027. - (eval $ac_try) 2>&5
  13028. - ac_status=$?
  13029. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13030. - (exit $ac_status); }; }; then
  13031. - echo "$as_me:$LINENO: result: yes" >&5
  13032. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13033. + (exit $ac_status); } && {
  13034. + test -z "$ac_c_werror_flag" ||
  13035. + test ! -s conftest.err
  13036. + } && test -s conftest.$ac_objext; then
  13037. + { echo "$as_me:$LINENO: result: yes" >&5
  13038. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13039. #define HAVE_OUTFUNTYPE 1
  13040. _ACEOF
  13041. @@ -12190,13 +12273,14 @@
  13042. echo "$as_me: failed program was:" >&5
  13043. sed 's/^/| /' conftest.$ac_ext >&5
  13044. -echo "$as_me:$LINENO: result: no" >&5
  13045. -echo "${ECHO_T}no" >&6
  13046. + { echo "$as_me:$LINENO: result: no" >&5
  13047. +echo "${ECHO_T}no" >&6; }
  13048. fi
  13049. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13050. -echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
  13051. -echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6
  13052. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13053. +
  13054. +{ echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
  13055. +echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6; }
  13056. cat >conftest.$ac_ext <<_ACEOF
  13057. /* confdefs.h. */
  13058. _ACEOF
  13059. @@ -12216,29 +12300,24 @@
  13060. }
  13061. _ACEOF
  13062. rm -f conftest.$ac_objext
  13063. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13064. - (eval $ac_compile) 2>conftest.er1
  13065. +if { (ac_try="$ac_compile"
  13066. +case "(($ac_try" in
  13067. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13068. + *) ac_try_echo=$ac_try;;
  13069. +esac
  13070. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13071. + (eval "$ac_compile") 2>conftest.er1
  13072. ac_status=$?
  13073. grep -v '^ *+' conftest.er1 >conftest.err
  13074. rm -f conftest.er1
  13075. cat conftest.err >&5
  13076. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13077. - (exit $ac_status); } &&
  13078. - { ac_try='test -z "$ac_c_werror_flag"
  13079. - || test ! -s conftest.err'
  13080. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13081. - (eval $ac_try) 2>&5
  13082. - ac_status=$?
  13083. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13084. - (exit $ac_status); }; } &&
  13085. - { ac_try='test -s conftest.$ac_objext'
  13086. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13087. - (eval $ac_try) 2>&5
  13088. - ac_status=$?
  13089. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13090. - (exit $ac_status); }; }; then
  13091. - echo "$as_me:$LINENO: result: yes" >&5
  13092. -echo "${ECHO_T}yes" >&6
  13093. + (exit $ac_status); } && {
  13094. + test -z "$ac_c_werror_flag" ||
  13095. + test ! -s conftest.err
  13096. + } && test -s conftest.$ac_objext; then
  13097. + { echo "$as_me:$LINENO: result: yes" >&5
  13098. +echo "${ECHO_T}yes" >&6; }
  13099. cat >>confdefs.h <<\_ACEOF
  13100. #define SYS_SELECT_WITH_SYS_TIME 1
  13101. _ACEOF
  13102. @@ -12247,28 +12326,29 @@
  13103. echo "$as_me: failed program was:" >&5
  13104. sed 's/^/| /' conftest.$ac_ext >&5
  13105. -echo "$as_me:$LINENO: result: no" >&5
  13106. -echo "${ECHO_T}no" >&6
  13107. + { echo "$as_me:$LINENO: result: no" >&5
  13108. +echo "${ECHO_T}no" >&6; }
  13109. fi
  13110. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13111. +
  13112. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13113. -echo "$as_me:$LINENO: checking for /dev/ptc" >&5
  13114. -echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
  13115. +{ echo "$as_me:$LINENO: checking for /dev/ptc" >&5
  13116. +echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6; }
  13117. if test -r /dev/ptc; then
  13118. cat >>confdefs.h <<\_ACEOF
  13119. #define HAVE_DEV_PTC 1
  13120. _ACEOF
  13121. - echo "$as_me:$LINENO: result: yes" >&5
  13122. -echo "${ECHO_T}yes" >&6
  13123. + { echo "$as_me:$LINENO: result: yes" >&5
  13124. +echo "${ECHO_T}yes" >&6; }
  13125. else
  13126. - echo "$as_me:$LINENO: result: no" >&5
  13127. -echo "${ECHO_T}no" >&6
  13128. + { echo "$as_me:$LINENO: result: no" >&5
  13129. +echo "${ECHO_T}no" >&6; }
  13130. fi
  13131. -echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
  13132. -echo $ECHO_N "checking for SVR4 ptys... $ECHO_C" >&6
  13133. +{ echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
  13134. +echo $ECHO_N "checking for SVR4 ptys... $ECHO_C" >&6; }
  13135. if test -c /dev/ptmx ; then
  13136. cat >conftest.$ac_ext <<_ACEOF
  13137. /* confdefs.h. */
  13138. @@ -12286,29 +12366,25 @@
  13139. }
  13140. _ACEOF
  13141. rm -f conftest.$ac_objext conftest$ac_exeext
  13142. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13143. - (eval $ac_link) 2>conftest.er1
  13144. +if { (ac_try="$ac_link"
  13145. +case "(($ac_try" in
  13146. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13147. + *) ac_try_echo=$ac_try;;
  13148. +esac
  13149. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13150. + (eval "$ac_link") 2>conftest.er1
  13151. ac_status=$?
  13152. grep -v '^ *+' conftest.er1 >conftest.err
  13153. rm -f conftest.er1
  13154. cat conftest.err >&5
  13155. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13156. - (exit $ac_status); } &&
  13157. - { ac_try='test -z "$ac_c_werror_flag"
  13158. - || test ! -s conftest.err'
  13159. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13160. - (eval $ac_try) 2>&5
  13161. - ac_status=$?
  13162. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13163. - (exit $ac_status); }; } &&
  13164. - { ac_try='test -s conftest$ac_exeext'
  13165. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13166. - (eval $ac_try) 2>&5
  13167. - ac_status=$?
  13168. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13169. - (exit $ac_status); }; }; then
  13170. - echo "$as_me:$LINENO: result: yes" >&5
  13171. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13172. + (exit $ac_status); } && {
  13173. + test -z "$ac_c_werror_flag" ||
  13174. + test ! -s conftest.err
  13175. + } && test -s conftest$ac_exeext &&
  13176. + $as_test_x conftest$ac_exeext; then
  13177. + { echo "$as_me:$LINENO: result: yes" >&5
  13178. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13179. #define HAVE_SVR4_PTYS 1
  13180. _ACEOF
  13181. @@ -12316,18 +12392,19 @@
  13182. echo "$as_me: failed program was:" >&5
  13183. sed 's/^/| /' conftest.$ac_ext >&5
  13184. -echo "$as_me:$LINENO: result: no" >&5
  13185. -echo "${ECHO_T}no" >&6
  13186. + { echo "$as_me:$LINENO: result: no" >&5
  13187. +echo "${ECHO_T}no" >&6; }
  13188. fi
  13189. -rm -f conftest.err conftest.$ac_objext \
  13190. +
  13191. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13192. conftest$ac_exeext conftest.$ac_ext
  13193. else
  13194. - echo "$as_me:$LINENO: result: no" >&5
  13195. -echo "${ECHO_T}no" >&6
  13196. + { echo "$as_me:$LINENO: result: no" >&5
  13197. +echo "${ECHO_T}no" >&6; }
  13198. fi
  13199. -echo "$as_me:$LINENO: checking for ptyranges" >&5
  13200. -echo $ECHO_N "checking for ptyranges... $ECHO_C" >&6
  13201. +{ echo "$as_me:$LINENO: checking for ptyranges" >&5
  13202. +echo $ECHO_N "checking for ptyranges... $ECHO_C" >&6; }
  13203. if test -d /dev/ptym ; then
  13204. pdir='/dev/ptym'
  13205. else
  13206. @@ -12363,102 +12440,72 @@
  13207. #define PTYRANGE1 "$p1"
  13208. _ACEOF
  13209. - echo "$as_me:$LINENO: result: $p0 / $p1" >&5
  13210. -echo "${ECHO_T}$p0 / $p1" >&6
  13211. + { echo "$as_me:$LINENO: result: $p0 / $p1" >&5
  13212. +echo "${ECHO_T}$p0 / $p1" >&6; }
  13213. else
  13214. - echo "$as_me:$LINENO: result: don't know" >&5
  13215. -echo "${ECHO_T}don't know" >&6
  13216. + { echo "$as_me:$LINENO: result: don't know" >&5
  13217. +echo "${ECHO_T}don't know" >&6; }
  13218. fi
  13219. -echo "$as_me:$LINENO: checking default tty permissions/group" >&5
  13220. -echo $ECHO_N "checking default tty permissions/group... $ECHO_C" >&6
  13221. -rm -f conftest_grp
  13222. -if test "$cross_compiling" = yes; then
  13223. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  13224. -echo "$as_me: error: failed to compile test program" >&2;}
  13225. - { (exit 1); exit 1; }; }
  13226. -else
  13227. - cat >conftest.$ac_ext <<_ACEOF
  13228. -/* confdefs.h. */
  13229. -_ACEOF
  13230. -cat confdefs.h >>conftest.$ac_ext
  13231. -cat >>conftest.$ac_ext <<_ACEOF
  13232. -/* end confdefs.h. */
  13233. -
  13234. -#include <sys/types.h>
  13235. -#include <sys/stat.h>
  13236. -#include <stdio.h>
  13237. -main()
  13238. -{
  13239. - struct stat sb;
  13240. - char *x,*ttyname();
  13241. - int om, m;
  13242. - FILE *fp;
  13243. -
  13244. - if (!(x = ttyname(0))) exit(1);
  13245. - if (stat(x, &sb)) exit(1);
  13246. - om = sb.st_mode;
  13247. - if (om & 002) exit(0);
  13248. - m = system("mesg y");
  13249. - if (m == -1 || m == 127) exit(1);
  13250. - if (stat(x, &sb)) exit(1);
  13251. - m = sb.st_mode;
  13252. - if (chmod(x, om)) exit(1);
  13253. - if (m & 002) exit(0);
  13254. - if (sb.st_gid == getgid()) exit(1);
  13255. - if (!(fp=fopen("conftest_grp", "w")))
  13256. - exit(1);
  13257. - fprintf(fp, "%d\n", sb.st_gid);
  13258. - fclose(fp);
  13259. - exit(0);
  13260. -}
  13261. -
  13262. -_ACEOF
  13263. -rm -f conftest$ac_exeext
  13264. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13265. - (eval $ac_link) 2>&5
  13266. - ac_status=$?
  13267. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13268. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13269. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13270. - (eval $ac_try) 2>&5
  13271. - ac_status=$?
  13272. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13273. - (exit $ac_status); }; }; then
  13274. +#dnl **** pty mode/group handling ****
  13275. +#dnl
  13276. +#dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
  13277. +#AC_MSG_CHECKING(default tty permissions/group)
  13278. +#rm -f conftest_grp
  13279. +#AC_TRY_RUN([
  13280. +##include <sys/types.h>
  13281. +##include <sys/stat.h>
  13282. +##include <stdio.h>
  13283. +#main()
  13284. +#{
  13285. +# struct stat sb;
  13286. +# char *x,*ttyname();
  13287. +# int om, m;
  13288. +# FILE *fp;
  13289. +#
  13290. +# if (!(x = ttyname(0))) exit(1);
  13291. +# if (stat(x, &sb)) exit(1);
  13292. +# om = sb.st_mode;
  13293. +# if (om & 002) exit(0);
  13294. +# m = system("mesg y");
  13295. +# if (m == -1 || m == 127) exit(1);
  13296. +# if (stat(x, &sb)) exit(1);
  13297. +# m = sb.st_mode;
  13298. +# if (chmod(x, om)) exit(1);
  13299. +# if (m & 002) exit(0);
  13300. +# if (sb.st_gid == getgid()) exit(1);
  13301. +# if (!(fp=fopen("conftest_grp", "w")))
  13302. +# exit(1);
  13303. +# fprintf(fp, "%d\n", sb.st_gid);
  13304. +# fclose(fp);
  13305. +# exit(0);
  13306. +#}
  13307. +#],[
  13308. +# if test -f conftest_grp; then
  13309. +# ptygrp=`cat conftest_grp`
  13310. +# AC_MSG_RESULT([pty mode: 0620, group: $ptygrp])
  13311. +# AC_DEFINE(PTYMODE, 0620)
  13312. +# AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
  13313. +# else
  13314. +# AC_MSG_RESULT([ptys are world accessable])
  13315. +# fi
  13316. +#],
  13317. +# AC_MSG_RESULT([can't determine - assume ptys are world accessable]),
  13318. +# AC_MSG_ERROR(failed to compile test program))
  13319. +#rm -f conftest_grp
  13320. - if test -f conftest_grp; then
  13321. - ptygrp=`cat conftest_grp`
  13322. - echo "$as_me:$LINENO: result: pty mode: 0620, group: $ptygrp" >&5
  13323. -echo "${ECHO_T}pty mode: 0620, group: $ptygrp" >&6
  13324. - cat >>confdefs.h <<\_ACEOF
  13325. +cat >>confdefs.h <<\_ACEOF
  13326. #define PTYMODE 0620
  13327. _ACEOF
  13328. - cat >>confdefs.h <<_ACEOF
  13329. -#define PTYGROUP $ptygrp
  13330. +cat >>confdefs.h <<\_ACEOF
  13331. +#define PTYGROUP 0
  13332. _ACEOF
  13333. - else
  13334. - echo "$as_me:$LINENO: result: ptys are world accessable" >&5
  13335. -echo "${ECHO_T}ptys are world accessable" >&6
  13336. - fi
  13337. -
  13338. -else
  13339. - echo "$as_me: program exited with status $ac_status" >&5
  13340. -echo "$as_me: failed program was:" >&5
  13341. -sed 's/^/| /' conftest.$ac_ext >&5
  13342. -
  13343. -( exit $ac_status )
  13344. -echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
  13345. -echo "${ECHO_T}can't determine - assume ptys are world accessable" >&6
  13346. -fi
  13347. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13348. -fi
  13349. -rm -f conftest_grp
  13350. -echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  13351. -echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
  13352. +{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  13353. +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
  13354. if test "${ac_cv_type_signal+set}" = set; then
  13355. echo $ECHO_N "(cached) $ECHO_C" >&6
  13356. else
  13357. @@ -12470,56 +12517,44 @@
  13358. /* end confdefs.h. */
  13359. #include <sys/types.h>
  13360. #include <signal.h>
  13361. -#ifdef signal
  13362. -# undef signal
  13363. -#endif
  13364. -#ifdef __cplusplus
  13365. -extern "C" void (*signal (int, void (*)(int)))(int);
  13366. -#else
  13367. -void (*signal ()) ();
  13368. -#endif
  13369. int
  13370. main ()
  13371. {
  13372. -int i;
  13373. +return *(signal (0, 0)) (0) == 1;
  13374. ;
  13375. return 0;
  13376. }
  13377. _ACEOF
  13378. rm -f conftest.$ac_objext
  13379. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13380. - (eval $ac_compile) 2>conftest.er1
  13381. +if { (ac_try="$ac_compile"
  13382. +case "(($ac_try" in
  13383. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13384. + *) ac_try_echo=$ac_try;;
  13385. +esac
  13386. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13387. + (eval "$ac_compile") 2>conftest.er1
  13388. ac_status=$?
  13389. grep -v '^ *+' conftest.er1 >conftest.err
  13390. rm -f conftest.er1
  13391. cat conftest.err >&5
  13392. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13393. - (exit $ac_status); } &&
  13394. - { ac_try='test -z "$ac_c_werror_flag"
  13395. - || test ! -s conftest.err'
  13396. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13397. - (eval $ac_try) 2>&5
  13398. - ac_status=$?
  13399. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13400. - (exit $ac_status); }; } &&
  13401. - { ac_try='test -s conftest.$ac_objext'
  13402. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13403. - (eval $ac_try) 2>&5
  13404. - ac_status=$?
  13405. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13406. - (exit $ac_status); }; }; then
  13407. - ac_cv_type_signal=void
  13408. + (exit $ac_status); } && {
  13409. + test -z "$ac_c_werror_flag" ||
  13410. + test ! -s conftest.err
  13411. + } && test -s conftest.$ac_objext; then
  13412. + ac_cv_type_signal=int
  13413. else
  13414. echo "$as_me: failed program was:" >&5
  13415. sed 's/^/| /' conftest.$ac_ext >&5
  13416. -ac_cv_type_signal=int
  13417. + ac_cv_type_signal=void
  13418. fi
  13419. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13420. +
  13421. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13422. fi
  13423. -echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  13424. -echo "${ECHO_T}$ac_cv_type_signal" >&6
  13425. +{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  13426. +echo "${ECHO_T}$ac_cv_type_signal" >&6; }
  13427. cat >>confdefs.h <<_ACEOF
  13428. #define RETSIGTYPE $ac_cv_type_signal
  13429. @@ -12539,8 +12574,8 @@
  13430. fi
  13431. -echo "$as_me:$LINENO: checking for struct sigcontext" >&5
  13432. -echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6
  13433. +{ echo "$as_me:$LINENO: checking for struct sigcontext" >&5
  13434. +echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6; }
  13435. cat >conftest.$ac_ext <<_ACEOF
  13436. /* confdefs.h. */
  13437. _ACEOF
  13438. @@ -12564,29 +12599,24 @@
  13439. }
  13440. _ACEOF
  13441. rm -f conftest.$ac_objext
  13442. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13443. - (eval $ac_compile) 2>conftest.er1
  13444. +if { (ac_try="$ac_compile"
  13445. +case "(($ac_try" in
  13446. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13447. + *) ac_try_echo=$ac_try;;
  13448. +esac
  13449. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13450. + (eval "$ac_compile") 2>conftest.er1
  13451. ac_status=$?
  13452. grep -v '^ *+' conftest.er1 >conftest.err
  13453. rm -f conftest.er1
  13454. cat conftest.err >&5
  13455. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13456. - (exit $ac_status); } &&
  13457. - { ac_try='test -z "$ac_c_werror_flag"
  13458. - || test ! -s conftest.err'
  13459. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13460. - (eval $ac_try) 2>&5
  13461. - ac_status=$?
  13462. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13463. - (exit $ac_status); }; } &&
  13464. - { ac_try='test -s conftest.$ac_objext'
  13465. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13466. - (eval $ac_try) 2>&5
  13467. - ac_status=$?
  13468. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13469. - (exit $ac_status); }; }; then
  13470. - echo "$as_me:$LINENO: result: yes" >&5
  13471. -echo "${ECHO_T}yes" >&6
  13472. + (exit $ac_status); } && {
  13473. + test -z "$ac_c_werror_flag" ||
  13474. + test ! -s conftest.err
  13475. + } && test -s conftest.$ac_objext; then
  13476. + { echo "$as_me:$LINENO: result: yes" >&5
  13477. +echo "${ECHO_T}yes" >&6; }
  13478. cat >>confdefs.h <<\_ACEOF
  13479. #define HAVE_SIGCONTEXT 1
  13480. _ACEOF
  13481. @@ -12595,62 +12625,28 @@
  13482. echo "$as_me: failed program was:" >&5
  13483. sed 's/^/| /' conftest.$ac_ext >&5
  13484. -echo "$as_me:$LINENO: result: no" >&5
  13485. -echo "${ECHO_T}no" >&6
  13486. + { echo "$as_me:$LINENO: result: no" >&5
  13487. +echo "${ECHO_T}no" >&6; }
  13488. fi
  13489. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13490. -
  13491. -echo "$as_me:$LINENO: checking getcwd implementation" >&5
  13492. -echo $ECHO_N "checking getcwd implementation... $ECHO_C" >&6
  13493. -if test "$cross_compiling" = yes; then
  13494. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  13495. -echo "$as_me: error: failed to compile test program" >&2;}
  13496. - { (exit 1); exit 1; }; }
  13497. -else
  13498. - cat >conftest.$ac_ext <<_ACEOF
  13499. -/* confdefs.h. */
  13500. -_ACEOF
  13501. -cat confdefs.h >>conftest.$ac_ext
  13502. -cat >>conftest.$ac_ext <<_ACEOF
  13503. -/* end confdefs.h. */
  13504. -
  13505. -char *dagger[] = { "IFS=pwd", 0 };
  13506. -main()
  13507. -{
  13508. - char buffer[500];
  13509. - extern char **environ;
  13510. - environ = dagger;
  13511. - return getcwd(buffer, 500) ? 0 : 1;
  13512. -}
  13513. -_ACEOF
  13514. -rm -f conftest$ac_exeext
  13515. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13516. - (eval $ac_link) 2>&5
  13517. - ac_status=$?
  13518. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13519. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13520. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13521. - (eval $ac_try) 2>&5
  13522. - ac_status=$?
  13523. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13524. - (exit $ac_status); }; }; then
  13525. - echo "$as_me:$LINENO: result: it is usable" >&5
  13526. -echo "${ECHO_T}it is usable" >&6
  13527. -else
  13528. - echo "$as_me: program exited with status $ac_status" >&5
  13529. -echo "$as_me: failed program was:" >&5
  13530. -sed 's/^/| /' conftest.$ac_ext >&5
  13531. -( exit $ac_status )
  13532. -echo "$as_me:$LINENO: result: it stinks" >&5
  13533. -echo "${ECHO_T}it stinks" >&6
  13534. - cat >>confdefs.h <<\_ACEOF
  13535. -#define BAD_GETCWD 1
  13536. -_ACEOF
  13537. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13538. -fi
  13539. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13540. -fi
  13541. +#dnl tricky stuff: try to find out if getcwd() is implemented with
  13542. +#dnl system("sh -c pwd")
  13543. +#AC_MSG_CHECKING(getcwd implementation)
  13544. +#AC_TRY_RUN([
  13545. +#char *dagger[] = { "IFS=pwd", 0 };
  13546. +#main()
  13547. +#{
  13548. +# char buffer[500];
  13549. +# extern char **environ;
  13550. +# environ = dagger;
  13551. +# return getcwd(buffer, 500) ? 0 : 1;
  13552. +#}],
  13553. +# AC_MSG_RESULT(it is usable),
  13554. +# AC_MSG_RESULT(it stinks)
  13555. +# AC_DEFINE(BAD_GETCWD),
  13556. +# AC_MSG_ERROR(failed to compile test program))
  13557. @@ -12707,9 +12703,9 @@
  13558. usleep utime utimes
  13559. do
  13560. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13561. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  13562. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  13563. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  13564. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  13565. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  13566. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  13567. echo $ECHO_N "(cached) $ECHO_C" >&6
  13568. else
  13569. cat >conftest.$ac_ext <<_ACEOF
  13570. @@ -12735,68 +12731,60 @@
  13571. #undef $ac_func
  13572. -/* Override any gcc2 internal prototype to avoid an error. */
  13573. +/* Override any GCC internal prototype to avoid an error.
  13574. + Use char because int might match the return type of a GCC
  13575. + builtin and then its argument prototype would still apply. */
  13576. #ifdef __cplusplus
  13577. extern "C"
  13578. -{
  13579. #endif
  13580. -/* We use char because int might match the return type of a gcc2
  13581. - builtin and then its argument prototype would still apply. */
  13582. char $ac_func ();
  13583. /* The GNU C library defines this for functions which it implements
  13584. to always fail with ENOSYS. Some functions are actually named
  13585. something starting with __ and the normal name is an alias. */
  13586. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  13587. +#if defined __stub_$ac_func || defined __stub___$ac_func
  13588. choke me
  13589. -#else
  13590. -char (*f) () = $ac_func;
  13591. -#endif
  13592. -#ifdef __cplusplus
  13593. -}
  13594. #endif
  13595. int
  13596. main ()
  13597. {
  13598. -return f != $ac_func;
  13599. +return $ac_func ();
  13600. ;
  13601. return 0;
  13602. }
  13603. _ACEOF
  13604. rm -f conftest.$ac_objext conftest$ac_exeext
  13605. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13606. - (eval $ac_link) 2>conftest.er1
  13607. +if { (ac_try="$ac_link"
  13608. +case "(($ac_try" in
  13609. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13610. + *) ac_try_echo=$ac_try;;
  13611. +esac
  13612. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13613. + (eval "$ac_link") 2>conftest.er1
  13614. ac_status=$?
  13615. grep -v '^ *+' conftest.er1 >conftest.err
  13616. rm -f conftest.er1
  13617. cat conftest.err >&5
  13618. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13619. - (exit $ac_status); } &&
  13620. - { ac_try='test -z "$ac_c_werror_flag"
  13621. - || test ! -s conftest.err'
  13622. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13623. - (eval $ac_try) 2>&5
  13624. - ac_status=$?
  13625. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13626. - (exit $ac_status); }; } &&
  13627. - { ac_try='test -s conftest$ac_exeext'
  13628. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13629. - (eval $ac_try) 2>&5
  13630. - ac_status=$?
  13631. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13632. - (exit $ac_status); }; }; then
  13633. + (exit $ac_status); } && {
  13634. + test -z "$ac_c_werror_flag" ||
  13635. + test ! -s conftest.err
  13636. + } && test -s conftest$ac_exeext &&
  13637. + $as_test_x conftest$ac_exeext; then
  13638. eval "$as_ac_var=yes"
  13639. else
  13640. echo "$as_me: failed program was:" >&5
  13641. sed 's/^/| /' conftest.$ac_ext >&5
  13642. -eval "$as_ac_var=no"
  13643. + eval "$as_ac_var=no"
  13644. fi
  13645. -rm -f conftest.err conftest.$ac_objext \
  13646. +
  13647. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13648. conftest$ac_exeext conftest.$ac_ext
  13649. fi
  13650. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  13651. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  13652. +ac_res=`eval echo '${'$as_ac_var'}'`
  13653. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  13654. +echo "${ECHO_T}$ac_res" >&6; }
  13655. if test `eval echo '${'$as_ac_var'}'` = yes; then
  13656. cat >>confdefs.h <<_ACEOF
  13657. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13658. @@ -12806,8 +12794,8 @@
  13659. done
  13660. -echo "$as_me:$LINENO: checking for st_blksize" >&5
  13661. -echo $ECHO_N "checking for st_blksize... $ECHO_C" >&6
  13662. +{ echo "$as_me:$LINENO: checking for st_blksize" >&5
  13663. +echo $ECHO_N "checking for st_blksize... $ECHO_C" >&6; }
  13664. cat >conftest.$ac_ext <<_ACEOF
  13665. /* confdefs.h. */
  13666. _ACEOF
  13667. @@ -12829,29 +12817,24 @@
  13668. }
  13669. _ACEOF
  13670. rm -f conftest.$ac_objext
  13671. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13672. - (eval $ac_compile) 2>conftest.er1
  13673. +if { (ac_try="$ac_compile"
  13674. +case "(($ac_try" in
  13675. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13676. + *) ac_try_echo=$ac_try;;
  13677. +esac
  13678. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13679. + (eval "$ac_compile") 2>conftest.er1
  13680. ac_status=$?
  13681. grep -v '^ *+' conftest.er1 >conftest.err
  13682. rm -f conftest.er1
  13683. cat conftest.err >&5
  13684. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13685. - (exit $ac_status); } &&
  13686. - { ac_try='test -z "$ac_c_werror_flag"
  13687. - || test ! -s conftest.err'
  13688. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13689. - (eval $ac_try) 2>&5
  13690. - ac_status=$?
  13691. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13692. - (exit $ac_status); }; } &&
  13693. - { ac_try='test -s conftest.$ac_objext'
  13694. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13695. - (eval $ac_try) 2>&5
  13696. - ac_status=$?
  13697. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13698. - (exit $ac_status); }; }; then
  13699. - echo "$as_me:$LINENO: result: yes" >&5
  13700. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13701. + (exit $ac_status); } && {
  13702. + test -z "$ac_c_werror_flag" ||
  13703. + test ! -s conftest.err
  13704. + } && test -s conftest.$ac_objext; then
  13705. + { echo "$as_me:$LINENO: result: yes" >&5
  13706. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13707. #define HAVE_ST_BLKSIZE 1
  13708. _ACEOF
  13709. @@ -12859,58 +12842,26 @@
  13710. echo "$as_me: failed program was:" >&5
  13711. sed 's/^/| /' conftest.$ac_ext >&5
  13712. -echo "$as_me:$LINENO: result: no" >&5
  13713. -echo "${ECHO_T}no" >&6
  13714. + { echo "$as_me:$LINENO: result: no" >&5
  13715. +echo "${ECHO_T}no" >&6; }
  13716. fi
  13717. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13718. -echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5
  13719. -echo $ECHO_N "checking whether stat() ignores a trailing slash... $ECHO_C" >&6
  13720. -if test "$cross_compiling" = yes; then
  13721. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  13722. -echo "$as_me: error: failed to compile test program" >&2;}
  13723. - { (exit 1); exit 1; }; }
  13724. -else
  13725. - cat >conftest.$ac_ext <<_ACEOF
  13726. -/* confdefs.h. */
  13727. -_ACEOF
  13728. -cat confdefs.h >>conftest.$ac_ext
  13729. -cat >>conftest.$ac_ext <<_ACEOF
  13730. -/* end confdefs.h. */
  13731. -#include <sys/types.h>
  13732. -#include <sys/stat.h>
  13733. -main() {struct stat st; exit(stat("configure/", &st) != 0); }
  13734. -_ACEOF
  13735. -rm -f conftest$ac_exeext
  13736. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13737. - (eval $ac_link) 2>&5
  13738. - ac_status=$?
  13739. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13740. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13741. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13742. - (eval $ac_try) 2>&5
  13743. - ac_status=$?
  13744. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13745. - (exit $ac_status); }; }; then
  13746. - echo "$as_me:$LINENO: result: yes" >&5
  13747. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13748. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13749. +
  13750. +#AC_MSG_CHECKING(whether stat() ignores a trailing slash)
  13751. +#AC_TRY_RUN(
  13752. +#[#include <sys/types.h>
  13753. +##include <sys/stat.h>
  13754. +#main() {struct stat st; exit(stat("configure/", &st) != 0); }],
  13755. +# AC_MSG_RESULT(yes); AC_DEFINE(STAT_IGNORES_SLASH),
  13756. +# AC_MSG_RESULT(no), AC_MSG_ERROR(failed to compile test program))
  13757. +cat >>confdefs.h <<\_ACEOF
  13758. #define STAT_IGNORES_SLASH 1
  13759. _ACEOF
  13760. -else
  13761. - echo "$as_me: program exited with status $ac_status" >&5
  13762. -echo "$as_me: failed program was:" >&5
  13763. -sed 's/^/| /' conftest.$ac_ext >&5
  13764. -
  13765. -( exit $ac_status )
  13766. -echo "$as_me:$LINENO: result: no" >&5
  13767. -echo "${ECHO_T}no" >&6
  13768. -fi
  13769. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13770. -fi
  13771. -echo "$as_me:$LINENO: checking for iconv_open()" >&5
  13772. -echo $ECHO_N "checking for iconv_open()... $ECHO_C" >&6
  13773. +{ echo "$as_me:$LINENO: checking for iconv_open()" >&5
  13774. +echo $ECHO_N "checking for iconv_open()... $ECHO_C" >&6; }
  13775. save_LIBS="$LIBS"
  13776. LIBS="$LIBS -liconv"
  13777. cat >conftest.$ac_ext <<_ACEOF
  13778. @@ -12933,29 +12884,25 @@
  13779. }
  13780. _ACEOF
  13781. rm -f conftest.$ac_objext conftest$ac_exeext
  13782. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13783. - (eval $ac_link) 2>conftest.er1
  13784. +if { (ac_try="$ac_link"
  13785. +case "(($ac_try" in
  13786. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13787. + *) ac_try_echo=$ac_try;;
  13788. +esac
  13789. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13790. + (eval "$ac_link") 2>conftest.er1
  13791. ac_status=$?
  13792. grep -v '^ *+' conftest.er1 >conftest.err
  13793. rm -f conftest.er1
  13794. cat conftest.err >&5
  13795. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13796. - (exit $ac_status); } &&
  13797. - { ac_try='test -z "$ac_c_werror_flag"
  13798. - || test ! -s conftest.err'
  13799. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13800. - (eval $ac_try) 2>&5
  13801. - ac_status=$?
  13802. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13803. - (exit $ac_status); }; } &&
  13804. - { ac_try='test -s conftest$ac_exeext'
  13805. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13806. - (eval $ac_try) 2>&5
  13807. - ac_status=$?
  13808. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13809. - (exit $ac_status); }; }; then
  13810. - echo "$as_me:$LINENO: result: yes; with -liconv" >&5
  13811. -echo "${ECHO_T}yes; with -liconv" >&6; cat >>confdefs.h <<\_ACEOF
  13812. + (exit $ac_status); } && {
  13813. + test -z "$ac_c_werror_flag" ||
  13814. + test ! -s conftest.err
  13815. + } && test -s conftest$ac_exeext &&
  13816. + $as_test_x conftest$ac_exeext; then
  13817. + { echo "$as_me:$LINENO: result: yes; with -liconv" >&5
  13818. +echo "${ECHO_T}yes; with -liconv" >&6; }; cat >>confdefs.h <<\_ACEOF
  13819. #define HAVE_ICONV 1
  13820. _ACEOF
  13821. @@ -12963,7 +12910,7 @@
  13822. echo "$as_me: failed program was:" >&5
  13823. sed 's/^/| /' conftest.$ac_ext >&5
  13824. -LIBS="$save_LIBS"
  13825. + LIBS="$save_LIBS"
  13826. cat >conftest.$ac_ext <<_ACEOF
  13827. /* confdefs.h. */
  13828. _ACEOF
  13829. @@ -12984,29 +12931,25 @@
  13830. }
  13831. _ACEOF
  13832. rm -f conftest.$ac_objext conftest$ac_exeext
  13833. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13834. - (eval $ac_link) 2>conftest.er1
  13835. +if { (ac_try="$ac_link"
  13836. +case "(($ac_try" in
  13837. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13838. + *) ac_try_echo=$ac_try;;
  13839. +esac
  13840. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13841. + (eval "$ac_link") 2>conftest.er1
  13842. ac_status=$?
  13843. grep -v '^ *+' conftest.er1 >conftest.err
  13844. rm -f conftest.er1
  13845. cat conftest.err >&5
  13846. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13847. - (exit $ac_status); } &&
  13848. - { ac_try='test -z "$ac_c_werror_flag"
  13849. - || test ! -s conftest.err'
  13850. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13851. - (eval $ac_try) 2>&5
  13852. - ac_status=$?
  13853. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13854. - (exit $ac_status); }; } &&
  13855. - { ac_try='test -s conftest$ac_exeext'
  13856. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13857. - (eval $ac_try) 2>&5
  13858. - ac_status=$?
  13859. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13860. - (exit $ac_status); }; }; then
  13861. - echo "$as_me:$LINENO: result: yes" >&5
  13862. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13863. + (exit $ac_status); } && {
  13864. + test -z "$ac_c_werror_flag" ||
  13865. + test ! -s conftest.err
  13866. + } && test -s conftest$ac_exeext &&
  13867. + $as_test_x conftest$ac_exeext; then
  13868. + { echo "$as_me:$LINENO: result: yes" >&5
  13869. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13870. #define HAVE_ICONV 1
  13871. _ACEOF
  13872. @@ -13014,18 +12957,20 @@
  13873. echo "$as_me: failed program was:" >&5
  13874. sed 's/^/| /' conftest.$ac_ext >&5
  13875. -echo "$as_me:$LINENO: result: no" >&5
  13876. -echo "${ECHO_T}no" >&6
  13877. + { echo "$as_me:$LINENO: result: no" >&5
  13878. +echo "${ECHO_T}no" >&6; }
  13879. fi
  13880. -rm -f conftest.err conftest.$ac_objext \
  13881. +
  13882. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13883. conftest$ac_exeext conftest.$ac_ext
  13884. fi
  13885. -rm -f conftest.err conftest.$ac_objext \
  13886. +
  13887. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13888. conftest$ac_exeext conftest.$ac_ext
  13889. -echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
  13890. -echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6
  13891. +{ echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
  13892. +echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6; }
  13893. cat >conftest.$ac_ext <<_ACEOF
  13894. /* confdefs.h. */
  13895. _ACEOF
  13896. @@ -13046,29 +12991,25 @@
  13897. }
  13898. _ACEOF
  13899. rm -f conftest.$ac_objext conftest$ac_exeext
  13900. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13901. - (eval $ac_link) 2>conftest.er1
  13902. +if { (ac_try="$ac_link"
  13903. +case "(($ac_try" in
  13904. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13905. + *) ac_try_echo=$ac_try;;
  13906. +esac
  13907. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13908. + (eval "$ac_link") 2>conftest.er1
  13909. ac_status=$?
  13910. grep -v '^ *+' conftest.er1 >conftest.err
  13911. rm -f conftest.er1
  13912. cat conftest.err >&5
  13913. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13914. - (exit $ac_status); } &&
  13915. - { ac_try='test -z "$ac_c_werror_flag"
  13916. - || test ! -s conftest.err'
  13917. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13918. - (eval $ac_try) 2>&5
  13919. - ac_status=$?
  13920. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13921. - (exit $ac_status); }; } &&
  13922. - { ac_try='test -s conftest$ac_exeext'
  13923. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13924. - (eval $ac_try) 2>&5
  13925. - ac_status=$?
  13926. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13927. - (exit $ac_status); }; }; then
  13928. - echo "$as_me:$LINENO: result: yes" >&5
  13929. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13930. + (exit $ac_status); } && {
  13931. + test -z "$ac_c_werror_flag" ||
  13932. + test ! -s conftest.err
  13933. + } && test -s conftest$ac_exeext &&
  13934. + $as_test_x conftest$ac_exeext; then
  13935. + { echo "$as_me:$LINENO: result: yes" >&5
  13936. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13937. #define HAVE_NL_LANGINFO_CODESET 1
  13938. _ACEOF
  13939. @@ -13076,26 +13017,27 @@
  13940. echo "$as_me: failed program was:" >&5
  13941. sed 's/^/| /' conftest.$ac_ext >&5
  13942. -echo "$as_me:$LINENO: result: no" >&5
  13943. -echo "${ECHO_T}no" >&6
  13944. + { echo "$as_me:$LINENO: result: no" >&5
  13945. +echo "${ECHO_T}no" >&6; }
  13946. fi
  13947. -rm -f conftest.err conftest.$ac_objext \
  13948. +
  13949. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13950. conftest$ac_exeext conftest.$ac_ext
  13951. -echo "$as_me:$LINENO: checking --disable-acl argument" >&5
  13952. -echo $ECHO_N "checking --disable-acl argument... $ECHO_C" >&6
  13953. -# Check whether --enable-acl or --disable-acl was given.
  13954. +{ echo "$as_me:$LINENO: checking --disable-acl argument" >&5
  13955. +echo $ECHO_N "checking --disable-acl argument... $ECHO_C" >&6; }
  13956. +# Check whether --enable-acl was given.
  13957. if test "${enable_acl+set}" = set; then
  13958. - enableval="$enable_acl"
  13959. -
  13960. + enableval=$enable_acl;
  13961. else
  13962. enable_acl="yes"
  13963. -fi;
  13964. +fi
  13965. +
  13966. if test "$enable_acl" = "yes"; then
  13967. -echo "$as_me:$LINENO: result: no" >&5
  13968. -echo "${ECHO_T}no" >&6
  13969. -echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
  13970. -echo $ECHO_N "checking for acl_get_file in -lposix1e... $ECHO_C" >&6
  13971. +{ echo "$as_me:$LINENO: result: no" >&5
  13972. +echo "${ECHO_T}no" >&6; }
  13973. +{ echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
  13974. +echo $ECHO_N "checking for acl_get_file in -lposix1e... $ECHO_C" >&6; }
  13975. if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then
  13976. echo $ECHO_N "(cached) $ECHO_C" >&6
  13977. else
  13978. @@ -13108,61 +13050,58 @@
  13979. cat >>conftest.$ac_ext <<_ACEOF
  13980. /* end confdefs.h. */
  13981. -/* Override any gcc2 internal prototype to avoid an error. */
  13982. +/* Override any GCC internal prototype to avoid an error.
  13983. + Use char because int might match the return type of a GCC
  13984. + builtin and then its argument prototype would still apply. */
  13985. #ifdef __cplusplus
  13986. extern "C"
  13987. #endif
  13988. -/* We use char because int might match the return type of a gcc2
  13989. - builtin and then its argument prototype would still apply. */
  13990. char acl_get_file ();
  13991. int
  13992. main ()
  13993. {
  13994. -acl_get_file ();
  13995. +return acl_get_file ();
  13996. ;
  13997. return 0;
  13998. }
  13999. _ACEOF
  14000. rm -f conftest.$ac_objext conftest$ac_exeext
  14001. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14002. - (eval $ac_link) 2>conftest.er1
  14003. +if { (ac_try="$ac_link"
  14004. +case "(($ac_try" in
  14005. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14006. + *) ac_try_echo=$ac_try;;
  14007. +esac
  14008. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14009. + (eval "$ac_link") 2>conftest.er1
  14010. ac_status=$?
  14011. grep -v '^ *+' conftest.er1 >conftest.err
  14012. rm -f conftest.er1
  14013. cat conftest.err >&5
  14014. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14015. - (exit $ac_status); } &&
  14016. - { ac_try='test -z "$ac_c_werror_flag"
  14017. - || test ! -s conftest.err'
  14018. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14019. - (eval $ac_try) 2>&5
  14020. - ac_status=$?
  14021. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14022. - (exit $ac_status); }; } &&
  14023. - { ac_try='test -s conftest$ac_exeext'
  14024. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14025. - (eval $ac_try) 2>&5
  14026. - ac_status=$?
  14027. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14028. - (exit $ac_status); }; }; then
  14029. + (exit $ac_status); } && {
  14030. + test -z "$ac_c_werror_flag" ||
  14031. + test ! -s conftest.err
  14032. + } && test -s conftest$ac_exeext &&
  14033. + $as_test_x conftest$ac_exeext; then
  14034. ac_cv_lib_posix1e_acl_get_file=yes
  14035. else
  14036. echo "$as_me: failed program was:" >&5
  14037. sed 's/^/| /' conftest.$ac_ext >&5
  14038. -ac_cv_lib_posix1e_acl_get_file=no
  14039. + ac_cv_lib_posix1e_acl_get_file=no
  14040. fi
  14041. -rm -f conftest.err conftest.$ac_objext \
  14042. +
  14043. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14044. conftest$ac_exeext conftest.$ac_ext
  14045. LIBS=$ac_check_lib_save_LIBS
  14046. fi
  14047. -echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
  14048. -echo "${ECHO_T}$ac_cv_lib_posix1e_acl_get_file" >&6
  14049. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
  14050. +echo "${ECHO_T}$ac_cv_lib_posix1e_acl_get_file" >&6; }
  14051. if test $ac_cv_lib_posix1e_acl_get_file = yes; then
  14052. LIBS="$LIBS -lposix1e"
  14053. else
  14054. - echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
  14055. -echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
  14056. + { echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
  14057. +echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6; }
  14058. if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
  14059. echo $ECHO_N "(cached) $ECHO_C" >&6
  14060. else
  14061. @@ -13175,60 +13114,57 @@
  14062. cat >>conftest.$ac_ext <<_ACEOF
  14063. /* end confdefs.h. */
  14064. -/* Override any gcc2 internal prototype to avoid an error. */
  14065. +/* Override any GCC internal prototype to avoid an error.
  14066. + Use char because int might match the return type of a GCC
  14067. + builtin and then its argument prototype would still apply. */
  14068. #ifdef __cplusplus
  14069. extern "C"
  14070. #endif
  14071. -/* We use char because int might match the return type of a gcc2
  14072. - builtin and then its argument prototype would still apply. */
  14073. char acl_get_file ();
  14074. int
  14075. main ()
  14076. {
  14077. -acl_get_file ();
  14078. +return acl_get_file ();
  14079. ;
  14080. return 0;
  14081. }
  14082. _ACEOF
  14083. rm -f conftest.$ac_objext conftest$ac_exeext
  14084. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14085. - (eval $ac_link) 2>conftest.er1
  14086. +if { (ac_try="$ac_link"
  14087. +case "(($ac_try" in
  14088. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14089. + *) ac_try_echo=$ac_try;;
  14090. +esac
  14091. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14092. + (eval "$ac_link") 2>conftest.er1
  14093. ac_status=$?
  14094. grep -v '^ *+' conftest.er1 >conftest.err
  14095. rm -f conftest.er1
  14096. cat conftest.err >&5
  14097. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14098. - (exit $ac_status); } &&
  14099. - { ac_try='test -z "$ac_c_werror_flag"
  14100. - || test ! -s conftest.err'
  14101. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14102. - (eval $ac_try) 2>&5
  14103. - ac_status=$?
  14104. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14105. - (exit $ac_status); }; } &&
  14106. - { ac_try='test -s conftest$ac_exeext'
  14107. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14108. - (eval $ac_try) 2>&5
  14109. - ac_status=$?
  14110. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14111. - (exit $ac_status); }; }; then
  14112. + (exit $ac_status); } && {
  14113. + test -z "$ac_c_werror_flag" ||
  14114. + test ! -s conftest.err
  14115. + } && test -s conftest$ac_exeext &&
  14116. + $as_test_x conftest$ac_exeext; then
  14117. ac_cv_lib_acl_acl_get_file=yes
  14118. else
  14119. echo "$as_me: failed program was:" >&5
  14120. sed 's/^/| /' conftest.$ac_ext >&5
  14121. -ac_cv_lib_acl_acl_get_file=no
  14122. + ac_cv_lib_acl_acl_get_file=no
  14123. fi
  14124. -rm -f conftest.err conftest.$ac_objext \
  14125. +
  14126. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14127. conftest$ac_exeext conftest.$ac_ext
  14128. LIBS=$ac_check_lib_save_LIBS
  14129. fi
  14130. -echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
  14131. -echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
  14132. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
  14133. +echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6; }
  14134. if test $ac_cv_lib_acl_acl_get_file = yes; then
  14135. LIBS="$LIBS -lacl"
  14136. - echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
  14137. -echo $ECHO_N "checking for fgetxattr in -lattr... $ECHO_C" >&6
  14138. + { echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
  14139. +echo $ECHO_N "checking for fgetxattr in -lattr... $ECHO_C" >&6; }
  14140. if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then
  14141. echo $ECHO_N "(cached) $ECHO_C" >&6
  14142. else
  14143. @@ -13241,56 +13177,53 @@
  14144. cat >>conftest.$ac_ext <<_ACEOF
  14145. /* end confdefs.h. */
  14146. -/* Override any gcc2 internal prototype to avoid an error. */
  14147. +/* Override any GCC internal prototype to avoid an error.
  14148. + Use char because int might match the return type of a GCC
  14149. + builtin and then its argument prototype would still apply. */
  14150. #ifdef __cplusplus
  14151. extern "C"
  14152. #endif
  14153. -/* We use char because int might match the return type of a gcc2
  14154. - builtin and then its argument prototype would still apply. */
  14155. char fgetxattr ();
  14156. int
  14157. main ()
  14158. {
  14159. -fgetxattr ();
  14160. +return fgetxattr ();
  14161. ;
  14162. return 0;
  14163. }
  14164. _ACEOF
  14165. rm -f conftest.$ac_objext conftest$ac_exeext
  14166. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14167. - (eval $ac_link) 2>conftest.er1
  14168. +if { (ac_try="$ac_link"
  14169. +case "(($ac_try" in
  14170. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14171. + *) ac_try_echo=$ac_try;;
  14172. +esac
  14173. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14174. + (eval "$ac_link") 2>conftest.er1
  14175. ac_status=$?
  14176. grep -v '^ *+' conftest.er1 >conftest.err
  14177. rm -f conftest.er1
  14178. cat conftest.err >&5
  14179. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14180. - (exit $ac_status); } &&
  14181. - { ac_try='test -z "$ac_c_werror_flag"
  14182. - || test ! -s conftest.err'
  14183. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14184. - (eval $ac_try) 2>&5
  14185. - ac_status=$?
  14186. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14187. - (exit $ac_status); }; } &&
  14188. - { ac_try='test -s conftest$ac_exeext'
  14189. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14190. - (eval $ac_try) 2>&5
  14191. - ac_status=$?
  14192. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14193. - (exit $ac_status); }; }; then
  14194. + (exit $ac_status); } && {
  14195. + test -z "$ac_c_werror_flag" ||
  14196. + test ! -s conftest.err
  14197. + } && test -s conftest$ac_exeext &&
  14198. + $as_test_x conftest$ac_exeext; then
  14199. ac_cv_lib_attr_fgetxattr=yes
  14200. else
  14201. echo "$as_me: failed program was:" >&5
  14202. sed 's/^/| /' conftest.$ac_ext >&5
  14203. -ac_cv_lib_attr_fgetxattr=no
  14204. + ac_cv_lib_attr_fgetxattr=no
  14205. fi
  14206. -rm -f conftest.err conftest.$ac_objext \
  14207. +
  14208. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14209. conftest$ac_exeext conftest.$ac_ext
  14210. LIBS=$ac_check_lib_save_LIBS
  14211. fi
  14212. -echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
  14213. -echo "${ECHO_T}$ac_cv_lib_attr_fgetxattr" >&6
  14214. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
  14215. +echo "${ECHO_T}$ac_cv_lib_attr_fgetxattr" >&6; }
  14216. if test $ac_cv_lib_attr_fgetxattr = yes; then
  14217. LIBS="$LIBS -lattr"
  14218. fi
  14219. @@ -13300,8 +13233,8 @@
  14220. fi
  14221. -echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
  14222. -echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6
  14223. +{ echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
  14224. +echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6; }
  14225. cat >conftest.$ac_ext <<_ACEOF
  14226. /* confdefs.h. */
  14227. _ACEOF
  14228. @@ -13325,29 +13258,25 @@
  14229. }
  14230. _ACEOF
  14231. rm -f conftest.$ac_objext conftest$ac_exeext
  14232. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14233. - (eval $ac_link) 2>conftest.er1
  14234. +if { (ac_try="$ac_link"
  14235. +case "(($ac_try" in
  14236. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14237. + *) ac_try_echo=$ac_try;;
  14238. +esac
  14239. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14240. + (eval "$ac_link") 2>conftest.er1
  14241. ac_status=$?
  14242. grep -v '^ *+' conftest.er1 >conftest.err
  14243. rm -f conftest.er1
  14244. cat conftest.err >&5
  14245. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14246. - (exit $ac_status); } &&
  14247. - { ac_try='test -z "$ac_c_werror_flag"
  14248. - || test ! -s conftest.err'
  14249. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14250. - (eval $ac_try) 2>&5
  14251. - ac_status=$?
  14252. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14253. - (exit $ac_status); }; } &&
  14254. - { ac_try='test -s conftest$ac_exeext'
  14255. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14256. - (eval $ac_try) 2>&5
  14257. - ac_status=$?
  14258. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14259. - (exit $ac_status); }; }; then
  14260. - echo "$as_me:$LINENO: result: yes" >&5
  14261. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14262. + (exit $ac_status); } && {
  14263. + test -z "$ac_c_werror_flag" ||
  14264. + test ! -s conftest.err
  14265. + } && test -s conftest$ac_exeext &&
  14266. + $as_test_x conftest$ac_exeext; then
  14267. + { echo "$as_me:$LINENO: result: yes" >&5
  14268. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14269. #define HAVE_POSIX_ACL 1
  14270. _ACEOF
  14271. @@ -13355,14 +13284,15 @@
  14272. echo "$as_me: failed program was:" >&5
  14273. sed 's/^/| /' conftest.$ac_ext >&5
  14274. -echo "$as_me:$LINENO: result: no" >&5
  14275. -echo "${ECHO_T}no" >&6
  14276. + { echo "$as_me:$LINENO: result: no" >&5
  14277. +echo "${ECHO_T}no" >&6; }
  14278. fi
  14279. -rm -f conftest.err conftest.$ac_objext \
  14280. +
  14281. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14282. conftest$ac_exeext conftest.$ac_ext
  14283. -echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
  14284. -echo $ECHO_N "checking for Solaris ACL support... $ECHO_C" >&6
  14285. +{ echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
  14286. +echo $ECHO_N "checking for Solaris ACL support... $ECHO_C" >&6; }
  14287. cat >conftest.$ac_ext <<_ACEOF
  14288. /* confdefs.h. */
  14289. _ACEOF
  14290. @@ -13383,29 +13313,25 @@
  14291. }
  14292. _ACEOF
  14293. rm -f conftest.$ac_objext conftest$ac_exeext
  14294. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14295. - (eval $ac_link) 2>conftest.er1
  14296. +if { (ac_try="$ac_link"
  14297. +case "(($ac_try" in
  14298. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14299. + *) ac_try_echo=$ac_try;;
  14300. +esac
  14301. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14302. + (eval "$ac_link") 2>conftest.er1
  14303. ac_status=$?
  14304. grep -v '^ *+' conftest.er1 >conftest.err
  14305. rm -f conftest.er1
  14306. cat conftest.err >&5
  14307. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14308. - (exit $ac_status); } &&
  14309. - { ac_try='test -z "$ac_c_werror_flag"
  14310. - || test ! -s conftest.err'
  14311. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14312. - (eval $ac_try) 2>&5
  14313. - ac_status=$?
  14314. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14315. - (exit $ac_status); }; } &&
  14316. - { ac_try='test -s conftest$ac_exeext'
  14317. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14318. - (eval $ac_try) 2>&5
  14319. - ac_status=$?
  14320. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14321. - (exit $ac_status); }; }; then
  14322. - echo "$as_me:$LINENO: result: yes" >&5
  14323. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14324. + (exit $ac_status); } && {
  14325. + test -z "$ac_c_werror_flag" ||
  14326. + test ! -s conftest.err
  14327. + } && test -s conftest$ac_exeext &&
  14328. + $as_test_x conftest$ac_exeext; then
  14329. + { echo "$as_me:$LINENO: result: yes" >&5
  14330. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14331. #define HAVE_SOLARIS_ACL 1
  14332. _ACEOF
  14333. @@ -13413,14 +13339,15 @@
  14334. echo "$as_me: failed program was:" >&5
  14335. sed 's/^/| /' conftest.$ac_ext >&5
  14336. -echo "$as_me:$LINENO: result: no" >&5
  14337. -echo "${ECHO_T}no" >&6
  14338. + { echo "$as_me:$LINENO: result: no" >&5
  14339. +echo "${ECHO_T}no" >&6; }
  14340. fi
  14341. -rm -f conftest.err conftest.$ac_objext \
  14342. +
  14343. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14344. conftest$ac_exeext conftest.$ac_ext
  14345. -echo "$as_me:$LINENO: checking for AIX ACL support" >&5
  14346. -echo $ECHO_N "checking for AIX ACL support... $ECHO_C" >&6
  14347. +{ echo "$as_me:$LINENO: checking for AIX ACL support" >&5
  14348. +echo $ECHO_N "checking for AIX ACL support... $ECHO_C" >&6; }
  14349. cat >conftest.$ac_ext <<_ACEOF
  14350. /* confdefs.h. */
  14351. _ACEOF
  14352. @@ -13452,29 +13379,25 @@
  14353. }
  14354. _ACEOF
  14355. rm -f conftest.$ac_objext conftest$ac_exeext
  14356. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14357. - (eval $ac_link) 2>conftest.er1
  14358. +if { (ac_try="$ac_link"
  14359. +case "(($ac_try" in
  14360. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14361. + *) ac_try_echo=$ac_try;;
  14362. +esac
  14363. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14364. + (eval "$ac_link") 2>conftest.er1
  14365. ac_status=$?
  14366. grep -v '^ *+' conftest.er1 >conftest.err
  14367. rm -f conftest.er1
  14368. cat conftest.err >&5
  14369. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14370. - (exit $ac_status); } &&
  14371. - { ac_try='test -z "$ac_c_werror_flag"
  14372. - || test ! -s conftest.err'
  14373. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14374. - (eval $ac_try) 2>&5
  14375. - ac_status=$?
  14376. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14377. - (exit $ac_status); }; } &&
  14378. - { ac_try='test -s conftest$ac_exeext'
  14379. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14380. - (eval $ac_try) 2>&5
  14381. - ac_status=$?
  14382. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14383. - (exit $ac_status); }; }; then
  14384. - echo "$as_me:$LINENO: result: yes" >&5
  14385. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14386. + (exit $ac_status); } && {
  14387. + test -z "$ac_c_werror_flag" ||
  14388. + test ! -s conftest.err
  14389. + } && test -s conftest$ac_exeext &&
  14390. + $as_test_x conftest$ac_exeext; then
  14391. + { echo "$as_me:$LINENO: result: yes" >&5
  14392. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14393. #define HAVE_AIX_ACL 1
  14394. _ACEOF
  14395. @@ -13482,31 +13405,32 @@
  14396. echo "$as_me: failed program was:" >&5
  14397. sed 's/^/| /' conftest.$ac_ext >&5
  14398. -echo "$as_me:$LINENO: result: no" >&5
  14399. -echo "${ECHO_T}no" >&6
  14400. + { echo "$as_me:$LINENO: result: no" >&5
  14401. +echo "${ECHO_T}no" >&6; }
  14402. fi
  14403. -rm -f conftest.err conftest.$ac_objext \
  14404. +
  14405. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14406. conftest$ac_exeext conftest.$ac_ext
  14407. else
  14408. - echo "$as_me:$LINENO: result: yes" >&5
  14409. -echo "${ECHO_T}yes" >&6
  14410. + { echo "$as_me:$LINENO: result: yes" >&5
  14411. +echo "${ECHO_T}yes" >&6; }
  14412. fi
  14413. -echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
  14414. -echo $ECHO_N "checking --disable-gpm argument... $ECHO_C" >&6
  14415. -# Check whether --enable-gpm or --disable-gpm was given.
  14416. +{ echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
  14417. +echo $ECHO_N "checking --disable-gpm argument... $ECHO_C" >&6; }
  14418. +# Check whether --enable-gpm was given.
  14419. if test "${enable_gpm+set}" = set; then
  14420. - enableval="$enable_gpm"
  14421. -
  14422. + enableval=$enable_gpm;
  14423. else
  14424. enable_gpm="yes"
  14425. -fi;
  14426. +fi
  14427. +
  14428. if test "$enable_gpm" = "yes"; then
  14429. - echo "$as_me:$LINENO: result: no" >&5
  14430. -echo "${ECHO_T}no" >&6
  14431. - echo "$as_me:$LINENO: checking for gpm" >&5
  14432. -echo $ECHO_N "checking for gpm... $ECHO_C" >&6
  14433. + { echo "$as_me:$LINENO: result: no" >&5
  14434. +echo "${ECHO_T}no" >&6; }
  14435. + { echo "$as_me:$LINENO: checking for gpm" >&5
  14436. +echo $ECHO_N "checking for gpm... $ECHO_C" >&6; }
  14437. if test "${vi_cv_have_gpm+set}" = set; then
  14438. echo $ECHO_N "(cached) $ECHO_C" >&6
  14439. else
  14440. @@ -13528,41 +13452,38 @@
  14441. }
  14442. _ACEOF
  14443. rm -f conftest.$ac_objext conftest$ac_exeext
  14444. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14445. - (eval $ac_link) 2>conftest.er1
  14446. +if { (ac_try="$ac_link"
  14447. +case "(($ac_try" in
  14448. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14449. + *) ac_try_echo=$ac_try;;
  14450. +esac
  14451. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14452. + (eval "$ac_link") 2>conftest.er1
  14453. ac_status=$?
  14454. grep -v '^ *+' conftest.er1 >conftest.err
  14455. rm -f conftest.er1
  14456. cat conftest.err >&5
  14457. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14458. - (exit $ac_status); } &&
  14459. - { ac_try='test -z "$ac_c_werror_flag"
  14460. - || test ! -s conftest.err'
  14461. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14462. - (eval $ac_try) 2>&5
  14463. - ac_status=$?
  14464. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14465. - (exit $ac_status); }; } &&
  14466. - { ac_try='test -s conftest$ac_exeext'
  14467. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14468. - (eval $ac_try) 2>&5
  14469. - ac_status=$?
  14470. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14471. - (exit $ac_status); }; }; then
  14472. + (exit $ac_status); } && {
  14473. + test -z "$ac_c_werror_flag" ||
  14474. + test ! -s conftest.err
  14475. + } && test -s conftest$ac_exeext &&
  14476. + $as_test_x conftest$ac_exeext; then
  14477. vi_cv_have_gpm=yes
  14478. else
  14479. echo "$as_me: failed program was:" >&5
  14480. sed 's/^/| /' conftest.$ac_ext >&5
  14481. -vi_cv_have_gpm=no
  14482. + vi_cv_have_gpm=no
  14483. fi
  14484. -rm -f conftest.err conftest.$ac_objext \
  14485. +
  14486. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14487. conftest$ac_exeext conftest.$ac_ext
  14488. LIBS="$olibs"
  14489. fi
  14490. -echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
  14491. -echo "${ECHO_T}$vi_cv_have_gpm" >&6
  14492. +{ echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
  14493. +echo "${ECHO_T}$vi_cv_have_gpm" >&6; }
  14494. if test $vi_cv_have_gpm = yes; then
  14495. LIBS="$LIBS -lgpm"
  14496. cat >>confdefs.h <<\_ACEOF
  14497. @@ -13571,12 +13492,12 @@
  14498. fi
  14499. else
  14500. - echo "$as_me:$LINENO: result: yes" >&5
  14501. -echo "${ECHO_T}yes" >&6
  14502. + { echo "$as_me:$LINENO: result: yes" >&5
  14503. +echo "${ECHO_T}yes" >&6; }
  14504. fi
  14505. -echo "$as_me:$LINENO: checking for rename" >&5
  14506. -echo $ECHO_N "checking for rename... $ECHO_C" >&6
  14507. +{ echo "$as_me:$LINENO: checking for rename" >&5
  14508. +echo $ECHO_N "checking for rename... $ECHO_C" >&6; }
  14509. cat >conftest.$ac_ext <<_ACEOF
  14510. /* confdefs.h. */
  14511. _ACEOF
  14512. @@ -13593,29 +13514,25 @@
  14513. }
  14514. _ACEOF
  14515. rm -f conftest.$ac_objext conftest$ac_exeext
  14516. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14517. - (eval $ac_link) 2>conftest.er1
  14518. +if { (ac_try="$ac_link"
  14519. +case "(($ac_try" in
  14520. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14521. + *) ac_try_echo=$ac_try;;
  14522. +esac
  14523. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14524. + (eval "$ac_link") 2>conftest.er1
  14525. ac_status=$?
  14526. grep -v '^ *+' conftest.er1 >conftest.err
  14527. rm -f conftest.er1
  14528. cat conftest.err >&5
  14529. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14530. - (exit $ac_status); } &&
  14531. - { ac_try='test -z "$ac_c_werror_flag"
  14532. - || test ! -s conftest.err'
  14533. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14534. - (eval $ac_try) 2>&5
  14535. - ac_status=$?
  14536. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14537. - (exit $ac_status); }; } &&
  14538. - { ac_try='test -s conftest$ac_exeext'
  14539. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14540. - (eval $ac_try) 2>&5
  14541. - ac_status=$?
  14542. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14543. - (exit $ac_status); }; }; then
  14544. - echo "$as_me:$LINENO: result: yes" >&5
  14545. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14546. + (exit $ac_status); } && {
  14547. + test -z "$ac_c_werror_flag" ||
  14548. + test ! -s conftest.err
  14549. + } && test -s conftest$ac_exeext &&
  14550. + $as_test_x conftest$ac_exeext; then
  14551. + { echo "$as_me:$LINENO: result: yes" >&5
  14552. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14553. #define HAVE_RENAME 1
  14554. _ACEOF
  14555. @@ -13623,14 +13540,15 @@
  14556. echo "$as_me: failed program was:" >&5
  14557. sed 's/^/| /' conftest.$ac_ext >&5
  14558. -echo "$as_me:$LINENO: result: no" >&5
  14559. -echo "${ECHO_T}no" >&6
  14560. + { echo "$as_me:$LINENO: result: no" >&5
  14561. +echo "${ECHO_T}no" >&6; }
  14562. fi
  14563. -rm -f conftest.err conftest.$ac_objext \
  14564. +
  14565. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14566. conftest$ac_exeext conftest.$ac_ext
  14567. -echo "$as_me:$LINENO: checking for sysctl" >&5
  14568. -echo $ECHO_N "checking for sysctl... $ECHO_C" >&6
  14569. +{ echo "$as_me:$LINENO: checking for sysctl" >&5
  14570. +echo $ECHO_N "checking for sysctl... $ECHO_C" >&6; }
  14571. cat >conftest.$ac_ext <<_ACEOF
  14572. /* confdefs.h. */
  14573. _ACEOF
  14574. @@ -13655,29 +13573,24 @@
  14575. }
  14576. _ACEOF
  14577. rm -f conftest.$ac_objext
  14578. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14579. - (eval $ac_compile) 2>conftest.er1
  14580. +if { (ac_try="$ac_compile"
  14581. +case "(($ac_try" in
  14582. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14583. + *) ac_try_echo=$ac_try;;
  14584. +esac
  14585. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14586. + (eval "$ac_compile") 2>conftest.er1
  14587. ac_status=$?
  14588. grep -v '^ *+' conftest.er1 >conftest.err
  14589. rm -f conftest.er1
  14590. cat conftest.err >&5
  14591. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14592. - (exit $ac_status); } &&
  14593. - { ac_try='test -z "$ac_c_werror_flag"
  14594. - || test ! -s conftest.err'
  14595. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14596. - (eval $ac_try) 2>&5
  14597. - ac_status=$?
  14598. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14599. - (exit $ac_status); }; } &&
  14600. - { ac_try='test -s conftest.$ac_objext'
  14601. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14602. - (eval $ac_try) 2>&5
  14603. - ac_status=$?
  14604. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14605. - (exit $ac_status); }; }; then
  14606. - echo "$as_me:$LINENO: result: yes" >&5
  14607. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14608. + (exit $ac_status); } && {
  14609. + test -z "$ac_c_werror_flag" ||
  14610. + test ! -s conftest.err
  14611. + } && test -s conftest.$ac_objext; then
  14612. + { echo "$as_me:$LINENO: result: yes" >&5
  14613. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14614. #define HAVE_SYSCTL 1
  14615. _ACEOF
  14616. @@ -13685,13 +13598,14 @@
  14617. echo "$as_me: failed program was:" >&5
  14618. sed 's/^/| /' conftest.$ac_ext >&5
  14619. -echo "$as_me:$LINENO: result: not usable" >&5
  14620. -echo "${ECHO_T}not usable" >&6
  14621. + { echo "$as_me:$LINENO: result: not usable" >&5
  14622. +echo "${ECHO_T}not usable" >&6; }
  14623. fi
  14624. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14625. -echo "$as_me:$LINENO: checking for sysinfo" >&5
  14626. -echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6
  14627. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14628. +
  14629. +{ echo "$as_me:$LINENO: checking for sysinfo" >&5
  14630. +echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6; }
  14631. cat >conftest.$ac_ext <<_ACEOF
  14632. /* confdefs.h. */
  14633. _ACEOF
  14634. @@ -13714,29 +13628,24 @@
  14635. }
  14636. _ACEOF
  14637. rm -f conftest.$ac_objext
  14638. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14639. - (eval $ac_compile) 2>conftest.er1
  14640. +if { (ac_try="$ac_compile"
  14641. +case "(($ac_try" in
  14642. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14643. + *) ac_try_echo=$ac_try;;
  14644. +esac
  14645. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14646. + (eval "$ac_compile") 2>conftest.er1
  14647. ac_status=$?
  14648. grep -v '^ *+' conftest.er1 >conftest.err
  14649. rm -f conftest.er1
  14650. cat conftest.err >&5
  14651. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14652. - (exit $ac_status); } &&
  14653. - { ac_try='test -z "$ac_c_werror_flag"
  14654. - || test ! -s conftest.err'
  14655. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14656. - (eval $ac_try) 2>&5
  14657. - ac_status=$?
  14658. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14659. - (exit $ac_status); }; } &&
  14660. - { ac_try='test -s conftest.$ac_objext'
  14661. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14662. - (eval $ac_try) 2>&5
  14663. - ac_status=$?
  14664. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14665. - (exit $ac_status); }; }; then
  14666. - echo "$as_me:$LINENO: result: yes" >&5
  14667. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14668. + (exit $ac_status); } && {
  14669. + test -z "$ac_c_werror_flag" ||
  14670. + test ! -s conftest.err
  14671. + } && test -s conftest.$ac_objext; then
  14672. + { echo "$as_me:$LINENO: result: yes" >&5
  14673. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14674. #define HAVE_SYSINFO 1
  14675. _ACEOF
  14676. @@ -13744,13 +13653,14 @@
  14677. echo "$as_me: failed program was:" >&5
  14678. sed 's/^/| /' conftest.$ac_ext >&5
  14679. -echo "$as_me:$LINENO: result: not usable" >&5
  14680. -echo "${ECHO_T}not usable" >&6
  14681. + { echo "$as_me:$LINENO: result: not usable" >&5
  14682. +echo "${ECHO_T}not usable" >&6; }
  14683. fi
  14684. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14685. -echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
  14686. -echo $ECHO_N "checking for sysinfo.mem_unit... $ECHO_C" >&6
  14687. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14688. +
  14689. +{ echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
  14690. +echo $ECHO_N "checking for sysinfo.mem_unit... $ECHO_C" >&6; }
  14691. cat >conftest.$ac_ext <<_ACEOF
  14692. /* confdefs.h. */
  14693. _ACEOF
  14694. @@ -13770,29 +13680,24 @@
  14695. }
  14696. _ACEOF
  14697. rm -f conftest.$ac_objext
  14698. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14699. - (eval $ac_compile) 2>conftest.er1
  14700. +if { (ac_try="$ac_compile"
  14701. +case "(($ac_try" in
  14702. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14703. + *) ac_try_echo=$ac_try;;
  14704. +esac
  14705. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14706. + (eval "$ac_compile") 2>conftest.er1
  14707. ac_status=$?
  14708. grep -v '^ *+' conftest.er1 >conftest.err
  14709. rm -f conftest.er1
  14710. cat conftest.err >&5
  14711. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14712. - (exit $ac_status); } &&
  14713. - { ac_try='test -z "$ac_c_werror_flag"
  14714. - || test ! -s conftest.err'
  14715. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14716. - (eval $ac_try) 2>&5
  14717. - ac_status=$?
  14718. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14719. - (exit $ac_status); }; } &&
  14720. - { ac_try='test -s conftest.$ac_objext'
  14721. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14722. - (eval $ac_try) 2>&5
  14723. - ac_status=$?
  14724. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14725. - (exit $ac_status); }; }; then
  14726. - echo "$as_me:$LINENO: result: yes" >&5
  14727. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14728. + (exit $ac_status); } && {
  14729. + test -z "$ac_c_werror_flag" ||
  14730. + test ! -s conftest.err
  14731. + } && test -s conftest.$ac_objext; then
  14732. + { echo "$as_me:$LINENO: result: yes" >&5
  14733. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14734. #define HAVE_SYSINFO_MEM_UNIT 1
  14735. _ACEOF
  14736. @@ -13800,13 +13705,14 @@
  14737. echo "$as_me: failed program was:" >&5
  14738. sed 's/^/| /' conftest.$ac_ext >&5
  14739. -echo "$as_me:$LINENO: result: no" >&5
  14740. -echo "${ECHO_T}no" >&6
  14741. + { echo "$as_me:$LINENO: result: no" >&5
  14742. +echo "${ECHO_T}no" >&6; }
  14743. fi
  14744. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14745. -echo "$as_me:$LINENO: checking for sysconf" >&5
  14746. -echo $ECHO_N "checking for sysconf... $ECHO_C" >&6
  14747. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14748. +
  14749. +{ echo "$as_me:$LINENO: checking for sysconf" >&5
  14750. +echo $ECHO_N "checking for sysconf... $ECHO_C" >&6; }
  14751. cat >conftest.$ac_ext <<_ACEOF
  14752. /* confdefs.h. */
  14753. _ACEOF
  14754. @@ -13825,29 +13731,24 @@
  14755. }
  14756. _ACEOF
  14757. rm -f conftest.$ac_objext
  14758. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14759. - (eval $ac_compile) 2>conftest.er1
  14760. +if { (ac_try="$ac_compile"
  14761. +case "(($ac_try" in
  14762. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14763. + *) ac_try_echo=$ac_try;;
  14764. +esac
  14765. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14766. + (eval "$ac_compile") 2>conftest.er1
  14767. ac_status=$?
  14768. grep -v '^ *+' conftest.er1 >conftest.err
  14769. rm -f conftest.er1
  14770. cat conftest.err >&5
  14771. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14772. - (exit $ac_status); } &&
  14773. - { ac_try='test -z "$ac_c_werror_flag"
  14774. - || test ! -s conftest.err'
  14775. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14776. - (eval $ac_try) 2>&5
  14777. - ac_status=$?
  14778. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14779. - (exit $ac_status); }; } &&
  14780. - { ac_try='test -s conftest.$ac_objext'
  14781. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14782. - (eval $ac_try) 2>&5
  14783. - ac_status=$?
  14784. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14785. - (exit $ac_status); }; }; then
  14786. - echo "$as_me:$LINENO: result: yes" >&5
  14787. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14788. + (exit $ac_status); } && {
  14789. + test -z "$ac_c_werror_flag" ||
  14790. + test ! -s conftest.err
  14791. + } && test -s conftest.$ac_objext; then
  14792. + { echo "$as_me:$LINENO: result: yes" >&5
  14793. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14794. #define HAVE_SYSCONF 1
  14795. _ACEOF
  14796. @@ -13855,201 +13756,64 @@
  14797. echo "$as_me: failed program was:" >&5
  14798. sed 's/^/| /' conftest.$ac_ext >&5
  14799. -echo "$as_me:$LINENO: result: not usable" >&5
  14800. -echo "${ECHO_T}not usable" >&6
  14801. + { echo "$as_me:$LINENO: result: not usable" >&5
  14802. +echo "${ECHO_T}not usable" >&6; }
  14803. fi
  14804. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14805. -
  14806. -echo "$as_me:$LINENO: checking size of int" >&5
  14807. -echo $ECHO_N "checking size of int... $ECHO_C" >&6
  14808. -if test "${ac_cv_sizeof_int+set}" = set; then
  14809. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14810. -else
  14811. - if test "$cross_compiling" = yes; then
  14812. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14813. -echo "$as_me: error: failed to compile test program" >&2;}
  14814. - { (exit 1); exit 1; }; }
  14815. -else
  14816. - cat >conftest.$ac_ext <<_ACEOF
  14817. -/* confdefs.h. */
  14818. -_ACEOF
  14819. -cat confdefs.h >>conftest.$ac_ext
  14820. -cat >>conftest.$ac_ext <<_ACEOF
  14821. -/* end confdefs.h. */
  14822. -#include <stdio.h>
  14823. - main()
  14824. - {
  14825. - FILE *f=fopen("conftestval", "w");
  14826. - if (!f) exit(1);
  14827. - fprintf(f, "%d\n", (int)sizeof(int));
  14828. - exit(0);
  14829. - }
  14830. -_ACEOF
  14831. -rm -f conftest$ac_exeext
  14832. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14833. - (eval $ac_link) 2>&5
  14834. - ac_status=$?
  14835. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14836. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  14837. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14838. - (eval $ac_try) 2>&5
  14839. - ac_status=$?
  14840. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14841. - (exit $ac_status); }; }; then
  14842. - ac_cv_sizeof_int=`cat conftestval`
  14843. -else
  14844. - echo "$as_me: program exited with status $ac_status" >&5
  14845. -echo "$as_me: failed program was:" >&5
  14846. -sed 's/^/| /' conftest.$ac_ext >&5
  14847. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14848. -( exit $ac_status )
  14849. -ac_cv_sizeof_int=0
  14850. -fi
  14851. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  14852. -fi
  14853. -fi
  14854. -echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  14855. -echo "${ECHO_T}$ac_cv_sizeof_int" >&6
  14856. -cat >>confdefs.h <<_ACEOF
  14857. -#define SIZEOF_INT $ac_cv_sizeof_int
  14858. +#AC_MSG_CHECKING(size of int)
  14859. +#AC_CACHE_VAL(ac_cv_sizeof_int,
  14860. +# [AC_TRY_RUN([#include <stdio.h>
  14861. +# main()
  14862. +# {
  14863. +# FILE *f=fopen("conftestval", "w");
  14864. +# if (!f) exit(1);
  14865. +# fprintf(f, "%d\n", (int)sizeof(int));
  14866. +# exit(0);
  14867. +# }],
  14868. +# ac_cv_sizeof_int=`cat conftestval`,
  14869. +# ac_cv_sizeof_int=0,
  14870. +# AC_MSG_ERROR(failed to compile test program))])
  14871. +#AC_MSG_RESULT($ac_cv_sizeof_int)
  14872. +#AC_DEFINE_UNQUOTED(SIZEOF_INT, $ac_cv_sizeof_int)
  14873. +cat >>confdefs.h <<\_ACEOF
  14874. +#define SIZEOF_INT 4
  14875. _ACEOF
  14876. -echo "$as_me:$LINENO: checking whether memmove/bcopy/memcpy handle overlaps" >&5
  14877. -echo $ECHO_N "checking whether memmove/bcopy/memcpy handle overlaps... $ECHO_C" >&6
  14878. -bcopy_test_prog='
  14879. -main() {
  14880. - char buf[10];
  14881. - strcpy(buf, "abcdefghi");
  14882. - mch_memmove(buf, buf + 2, 3);
  14883. - if (strncmp(buf, "ababcf", 6))
  14884. - exit(1);
  14885. - strcpy(buf, "abcdefghi");
  14886. - mch_memmove(buf + 2, buf, 3);
  14887. - if (strncmp(buf, "cdedef", 6))
  14888. - exit(1);
  14889. - exit(0); /* libc version works properly. */
  14890. -}'
  14891. -
  14892. -
  14893. -if test "$cross_compiling" = yes; then
  14894. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14895. -echo "$as_me: error: failed to compile test program" >&2;}
  14896. - { (exit 1); exit 1; }; }
  14897. -else
  14898. - cat >conftest.$ac_ext <<_ACEOF
  14899. -/* confdefs.h. */
  14900. -_ACEOF
  14901. -cat confdefs.h >>conftest.$ac_ext
  14902. -cat >>conftest.$ac_ext <<_ACEOF
  14903. -/* end confdefs.h. */
  14904. -#define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog
  14905. -_ACEOF
  14906. -rm -f conftest$ac_exeext
  14907. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14908. - (eval $ac_link) 2>&5
  14909. - ac_status=$?
  14910. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14911. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  14912. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14913. - (eval $ac_try) 2>&5
  14914. - ac_status=$?
  14915. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14916. - (exit $ac_status); }; }; then
  14917. - cat >>confdefs.h <<\_ACEOF
  14918. +#AC_MSG_CHECKING(whether memmove/bcopy/memcpy handle overlaps)
  14919. +#[bcopy_test_prog='
  14920. +#main() {
  14921. +# char buf[10];
  14922. +# strcpy(buf, "abcdefghi");
  14923. +# mch_memmove(buf, buf + 2, 3);
  14924. +# if (strncmp(buf, "ababcf", 6))
  14925. +# exit(1);
  14926. +# strcpy(buf, "abcdefghi");
  14927. +# mch_memmove(buf + 2, buf, 3);
  14928. +# if (strncmp(buf, "cdedef", 6))
  14929. +# exit(1);
  14930. +# exit(0); /* libc version works properly. */
  14931. +#}']
  14932. +
  14933. +#dnl Check for memmove() before bcopy(), makes memmove() be used when both are
  14934. +#dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.
  14935. +
  14936. +#AC_TRY_RUN([#define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog],
  14937. +# AC_DEFINE(USEMEMMOVE) AC_MSG_RESULT(memmove does),
  14938. +# AC_TRY_RUN([#define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog],
  14939. +# AC_DEFINE(USEBCOPY) AC_MSG_RESULT(bcopy does),
  14940. +# AC_TRY_RUN([#define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog],
  14941. +# AC_DEFINE(USEMEMCPY) AC_MSG_RESULT(memcpy does), AC_MSG_RESULT(no),
  14942. +# AC_MSG_ERROR(failed to compile test program)),
  14943. +# AC_MSG_ERROR(failed to compile test program)),
  14944. +# AC_MSG_ERROR(failed to compile test program))
  14945. +cat >>confdefs.h <<\_ACEOF
  14946. #define USEMEMMOVE 1
  14947. _ACEOF
  14948. - echo "$as_me:$LINENO: result: memmove does" >&5
  14949. -echo "${ECHO_T}memmove does" >&6
  14950. -else
  14951. - echo "$as_me: program exited with status $ac_status" >&5
  14952. -echo "$as_me: failed program was:" >&5
  14953. -sed 's/^/| /' conftest.$ac_ext >&5
  14954. -
  14955. -( exit $ac_status )
  14956. -if test "$cross_compiling" = yes; then
  14957. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14958. -echo "$as_me: error: failed to compile test program" >&2;}
  14959. - { (exit 1); exit 1; }; }
  14960. -else
  14961. - cat >conftest.$ac_ext <<_ACEOF
  14962. -/* confdefs.h. */
  14963. -_ACEOF
  14964. -cat confdefs.h >>conftest.$ac_ext
  14965. -cat >>conftest.$ac_ext <<_ACEOF
  14966. -/* end confdefs.h. */
  14967. -#define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog
  14968. -_ACEOF
  14969. -rm -f conftest$ac_exeext
  14970. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14971. - (eval $ac_link) 2>&5
  14972. - ac_status=$?
  14973. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14974. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  14975. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14976. - (eval $ac_try) 2>&5
  14977. - ac_status=$?
  14978. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14979. - (exit $ac_status); }; }; then
  14980. - cat >>confdefs.h <<\_ACEOF
  14981. -#define USEBCOPY 1
  14982. -_ACEOF
  14983. - echo "$as_me:$LINENO: result: bcopy does" >&5
  14984. -echo "${ECHO_T}bcopy does" >&6
  14985. -else
  14986. - echo "$as_me: program exited with status $ac_status" >&5
  14987. -echo "$as_me: failed program was:" >&5
  14988. -sed 's/^/| /' conftest.$ac_ext >&5
  14989. -
  14990. -( exit $ac_status )
  14991. -if test "$cross_compiling" = yes; then
  14992. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14993. -echo "$as_me: error: failed to compile test program" >&2;}
  14994. - { (exit 1); exit 1; }; }
  14995. -else
  14996. - cat >conftest.$ac_ext <<_ACEOF
  14997. -/* confdefs.h. */
  14998. -_ACEOF
  14999. -cat confdefs.h >>conftest.$ac_ext
  15000. -cat >>conftest.$ac_ext <<_ACEOF
  15001. -/* end confdefs.h. */
  15002. -#define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog
  15003. -_ACEOF
  15004. -rm -f conftest$ac_exeext
  15005. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15006. - (eval $ac_link) 2>&5
  15007. - ac_status=$?
  15008. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15009. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  15010. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15011. - (eval $ac_try) 2>&5
  15012. - ac_status=$?
  15013. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15014. - (exit $ac_status); }; }; then
  15015. - cat >>confdefs.h <<\_ACEOF
  15016. -#define USEMEMCPY 1
  15017. -_ACEOF
  15018. - echo "$as_me:$LINENO: result: memcpy does" >&5
  15019. -echo "${ECHO_T}memcpy does" >&6
  15020. -else
  15021. - echo "$as_me: program exited with status $ac_status" >&5
  15022. -echo "$as_me: failed program was:" >&5
  15023. -sed 's/^/| /' conftest.$ac_ext >&5
  15024. -( exit $ac_status )
  15025. -echo "$as_me:$LINENO: result: no" >&5
  15026. -echo "${ECHO_T}no" >&6
  15027. -fi
  15028. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15029. -fi
  15030. -fi
  15031. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15032. -fi
  15033. -fi
  15034. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15035. -fi
  15036. if test "$enable_multibyte" = "yes"; then
  15037. @@ -14058,8 +13822,8 @@
  15038. if test -n "$x_includes" ; then
  15039. CFLAGS="$CFLAGS -I$x_includes"
  15040. LDFLAGS="$X_LIBS $LDFLAGS -lX11"
  15041. - echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
  15042. -echo $ECHO_N "checking whether X_LOCALE needed... $ECHO_C" >&6
  15043. + { echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
  15044. +echo $ECHO_N "checking whether X_LOCALE needed... $ECHO_C" >&6; }
  15045. cat >conftest.$ac_ext <<_ACEOF
  15046. /* confdefs.h. */
  15047. _ACEOF
  15048. @@ -14076,27 +13840,22 @@
  15049. }
  15050. _ACEOF
  15051. rm -f conftest.$ac_objext
  15052. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15053. - (eval $ac_compile) 2>conftest.er1
  15054. +if { (ac_try="$ac_compile"
  15055. +case "(($ac_try" in
  15056. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15057. + *) ac_try_echo=$ac_try;;
  15058. +esac
  15059. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15060. + (eval "$ac_compile") 2>conftest.er1
  15061. ac_status=$?
  15062. grep -v '^ *+' conftest.er1 >conftest.err
  15063. rm -f conftest.er1
  15064. cat conftest.err >&5
  15065. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15066. - (exit $ac_status); } &&
  15067. - { ac_try='test -z "$ac_c_werror_flag"
  15068. - || test ! -s conftest.err'
  15069. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15070. - (eval $ac_try) 2>&5
  15071. - ac_status=$?
  15072. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15073. - (exit $ac_status); }; } &&
  15074. - { ac_try='test -s conftest.$ac_objext'
  15075. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15076. - (eval $ac_try) 2>&5
  15077. - ac_status=$?
  15078. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15079. - (exit $ac_status); }; }; then
  15080. + (exit $ac_status); } && {
  15081. + test -z "$ac_c_werror_flag" ||
  15082. + test ! -s conftest.err
  15083. + } && test -s conftest.$ac_objext; then
  15084. cat >conftest.$ac_ext <<_ACEOF
  15085. /* confdefs.h. */
  15086. _ACEOF
  15087. @@ -14104,45 +13863,41 @@
  15088. cat >>conftest.$ac_ext <<_ACEOF
  15089. /* end confdefs.h. */
  15090. -/* Override any gcc2 internal prototype to avoid an error. */
  15091. +/* Override any GCC internal prototype to avoid an error.
  15092. + Use char because int might match the return type of a GCC
  15093. + builtin and then its argument prototype would still apply. */
  15094. #ifdef __cplusplus
  15095. extern "C"
  15096. #endif
  15097. -/* We use char because int might match the return type of a gcc2
  15098. - builtin and then its argument prototype would still apply. */
  15099. char _Xsetlocale ();
  15100. int
  15101. main ()
  15102. {
  15103. -_Xsetlocale ();
  15104. +return _Xsetlocale ();
  15105. ;
  15106. return 0;
  15107. }
  15108. _ACEOF
  15109. rm -f conftest.$ac_objext conftest$ac_exeext
  15110. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15111. - (eval $ac_link) 2>conftest.er1
  15112. +if { (ac_try="$ac_link"
  15113. +case "(($ac_try" in
  15114. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15115. + *) ac_try_echo=$ac_try;;
  15116. +esac
  15117. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15118. + (eval "$ac_link") 2>conftest.er1
  15119. ac_status=$?
  15120. grep -v '^ *+' conftest.er1 >conftest.err
  15121. rm -f conftest.er1
  15122. cat conftest.err >&5
  15123. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15124. - (exit $ac_status); } &&
  15125. - { ac_try='test -z "$ac_c_werror_flag"
  15126. - || test ! -s conftest.err'
  15127. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15128. - (eval $ac_try) 2>&5
  15129. - ac_status=$?
  15130. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15131. - (exit $ac_status); }; } &&
  15132. - { ac_try='test -s conftest$ac_exeext'
  15133. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15134. - (eval $ac_try) 2>&5
  15135. - ac_status=$?
  15136. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15137. - (exit $ac_status); }; }; then
  15138. - echo "$as_me:$LINENO: result: yes" >&5
  15139. -echo "${ECHO_T}yes" >&6
  15140. + (exit $ac_status); } && {
  15141. + test -z "$ac_c_werror_flag" ||
  15142. + test ! -s conftest.err
  15143. + } && test -s conftest$ac_exeext &&
  15144. + $as_test_x conftest$ac_exeext; then
  15145. + { echo "$as_me:$LINENO: result: yes" >&5
  15146. +echo "${ECHO_T}yes" >&6; }
  15147. cat >>confdefs.h <<\_ACEOF
  15148. #define X_LOCALE 1
  15149. _ACEOF
  15150. @@ -14151,26 +13906,28 @@
  15151. echo "$as_me: failed program was:" >&5
  15152. sed 's/^/| /' conftest.$ac_ext >&5
  15153. -echo "$as_me:$LINENO: result: no" >&5
  15154. -echo "${ECHO_T}no" >&6
  15155. + { echo "$as_me:$LINENO: result: no" >&5
  15156. +echo "${ECHO_T}no" >&6; }
  15157. fi
  15158. -rm -f conftest.err conftest.$ac_objext \
  15159. +
  15160. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15161. conftest$ac_exeext conftest.$ac_ext
  15162. else
  15163. echo "$as_me: failed program was:" >&5
  15164. sed 's/^/| /' conftest.$ac_ext >&5
  15165. -echo "$as_me:$LINENO: result: no" >&5
  15166. -echo "${ECHO_T}no" >&6
  15167. + { echo "$as_me:$LINENO: result: no" >&5
  15168. +echo "${ECHO_T}no" >&6; }
  15169. fi
  15170. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  15171. +
  15172. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15173. fi
  15174. CFLAGS=$cflags_save
  15175. LDFLAGS=$ldflags_save
  15176. fi
  15177. -echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
  15178. -echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
  15179. +{ echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
  15180. +echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
  15181. if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
  15182. echo $ECHO_N "(cached) $ECHO_C" >&6
  15183. else
  15184. @@ -14183,63 +13940,60 @@
  15185. cat >>conftest.$ac_ext <<_ACEOF
  15186. /* end confdefs.h. */
  15187. -/* Override any gcc2 internal prototype to avoid an error. */
  15188. +/* Override any GCC internal prototype to avoid an error.
  15189. + Use char because int might match the return type of a GCC
  15190. + builtin and then its argument prototype would still apply. */
  15191. #ifdef __cplusplus
  15192. extern "C"
  15193. #endif
  15194. -/* We use char because int might match the return type of a gcc2
  15195. - builtin and then its argument prototype would still apply. */
  15196. char _xpg4_setrunelocale ();
  15197. int
  15198. main ()
  15199. {
  15200. -_xpg4_setrunelocale ();
  15201. +return _xpg4_setrunelocale ();
  15202. ;
  15203. return 0;
  15204. }
  15205. _ACEOF
  15206. rm -f conftest.$ac_objext conftest$ac_exeext
  15207. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15208. - (eval $ac_link) 2>conftest.er1
  15209. +if { (ac_try="$ac_link"
  15210. +case "(($ac_try" in
  15211. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15212. + *) ac_try_echo=$ac_try;;
  15213. +esac
  15214. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15215. + (eval "$ac_link") 2>conftest.er1
  15216. ac_status=$?
  15217. grep -v '^ *+' conftest.er1 >conftest.err
  15218. rm -f conftest.er1
  15219. cat conftest.err >&5
  15220. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15221. - (exit $ac_status); } &&
  15222. - { ac_try='test -z "$ac_c_werror_flag"
  15223. - || test ! -s conftest.err'
  15224. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15225. - (eval $ac_try) 2>&5
  15226. - ac_status=$?
  15227. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15228. - (exit $ac_status); }; } &&
  15229. - { ac_try='test -s conftest$ac_exeext'
  15230. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15231. - (eval $ac_try) 2>&5
  15232. - ac_status=$?
  15233. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15234. - (exit $ac_status); }; }; then
  15235. + (exit $ac_status); } && {
  15236. + test -z "$ac_c_werror_flag" ||
  15237. + test ! -s conftest.err
  15238. + } && test -s conftest$ac_exeext &&
  15239. + $as_test_x conftest$ac_exeext; then
  15240. ac_cv_lib_xpg4__xpg4_setrunelocale=yes
  15241. else
  15242. echo "$as_me: failed program was:" >&5
  15243. sed 's/^/| /' conftest.$ac_ext >&5
  15244. -ac_cv_lib_xpg4__xpg4_setrunelocale=no
  15245. + ac_cv_lib_xpg4__xpg4_setrunelocale=no
  15246. fi
  15247. -rm -f conftest.err conftest.$ac_objext \
  15248. +
  15249. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15250. conftest$ac_exeext conftest.$ac_ext
  15251. LIBS=$ac_check_lib_save_LIBS
  15252. fi
  15253. -echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
  15254. -echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
  15255. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
  15256. +echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
  15257. if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
  15258. LIBS="$LIBS -lxpg4"
  15259. fi
  15260. -echo "$as_me:$LINENO: checking how to create tags" >&5
  15261. -echo $ECHO_N "checking how to create tags... $ECHO_C" >&6
  15262. +{ echo "$as_me:$LINENO: checking how to create tags" >&5
  15263. +echo $ECHO_N "checking how to create tags... $ECHO_C" >&6; }
  15264. test -f tags && mv tags tags.save
  15265. if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
  15266. TAGPRG="ctags -I INIT+ --fields=+S"
  15267. @@ -14253,15 +14007,15 @@
  15268. (eval ctags -i+m /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -i+m"
  15269. fi
  15270. test -f tags.save && mv tags.save tags
  15271. -echo "$as_me:$LINENO: result: $TAGPRG" >&5
  15272. -echo "${ECHO_T}$TAGPRG" >&6
  15273. +{ echo "$as_me:$LINENO: result: $TAGPRG" >&5
  15274. +echo "${ECHO_T}$TAGPRG" >&6; }
  15275. -echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
  15276. -echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
  15277. +{ echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
  15278. +echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6; }
  15279. MANDEF="man"
  15280. (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
  15281. -echo "$as_me:$LINENO: result: $MANDEF" >&5
  15282. -echo "${ECHO_T}$MANDEF" >&6
  15283. +{ echo "$as_me:$LINENO: result: $MANDEF" >&5
  15284. +echo "${ECHO_T}$MANDEF" >&6; }
  15285. if test "$MANDEF" = "man -s"; then
  15286. cat >>confdefs.h <<\_ACEOF
  15287. #define USEMAN_S 1
  15288. @@ -14269,19 +14023,19 @@
  15289. fi
  15290. -echo "$as_me:$LINENO: checking --disable-nls argument" >&5
  15291. -echo $ECHO_N "checking --disable-nls argument... $ECHO_C" >&6
  15292. -# Check whether --enable-nls or --disable-nls was given.
  15293. +{ echo "$as_me:$LINENO: checking --disable-nls argument" >&5
  15294. +echo $ECHO_N "checking --disable-nls argument... $ECHO_C" >&6; }
  15295. +# Check whether --enable-nls was given.
  15296. if test "${enable_nls+set}" = set; then
  15297. - enableval="$enable_nls"
  15298. -
  15299. + enableval=$enable_nls;
  15300. else
  15301. enable_nls="yes"
  15302. -fi;
  15303. +fi
  15304. +
  15305. if test "$enable_nls" = "yes"; then
  15306. - echo "$as_me:$LINENO: result: no" >&5
  15307. -echo "${ECHO_T}no" >&6
  15308. + { echo "$as_me:$LINENO: result: no" >&5
  15309. +echo "${ECHO_T}no" >&6; }
  15310. INSTALL_LANGS=install-languages
  15311. @@ -14290,8 +14044,8 @@
  15312. # Extract the first word of "msgfmt", so it can be a program name with args.
  15313. set dummy msgfmt; ac_word=$2
  15314. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  15315. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  15316. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  15317. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  15318. if test "${ac_cv_prog_MSGFMT+set}" = set; then
  15319. echo $ECHO_N "(cached) $ECHO_C" >&6
  15320. else
  15321. @@ -14304,27 +14058,29 @@
  15322. IFS=$as_save_IFS
  15323. test -z "$as_dir" && as_dir=.
  15324. for ac_exec_ext in '' $ac_executable_extensions; do
  15325. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15326. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15327. ac_cv_prog_MSGFMT="msgfmt"
  15328. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15329. break 2
  15330. fi
  15331. done
  15332. done
  15333. +IFS=$as_save_IFS
  15334. fi
  15335. fi
  15336. MSGFMT=$ac_cv_prog_MSGFMT
  15337. if test -n "$MSGFMT"; then
  15338. - echo "$as_me:$LINENO: result: $MSGFMT" >&5
  15339. -echo "${ECHO_T}$MSGFMT" >&6
  15340. + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
  15341. +echo "${ECHO_T}$MSGFMT" >&6; }
  15342. else
  15343. - echo "$as_me:$LINENO: result: no" >&5
  15344. -echo "${ECHO_T}no" >&6
  15345. + { echo "$as_me:$LINENO: result: no" >&5
  15346. +echo "${ECHO_T}no" >&6; }
  15347. fi
  15348. - echo "$as_me:$LINENO: checking for NLS" >&5
  15349. -echo $ECHO_N "checking for NLS... $ECHO_C" >&6
  15350. +
  15351. + { echo "$as_me:$LINENO: checking for NLS" >&5
  15352. +echo $ECHO_N "checking for NLS... $ECHO_C" >&6; }
  15353. if test -f po/Makefile; then
  15354. have_gettext="no"
  15355. if test -n "$MSGFMT"; then
  15356. @@ -14344,34 +14100,30 @@
  15357. }
  15358. _ACEOF
  15359. rm -f conftest.$ac_objext conftest$ac_exeext
  15360. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15361. - (eval $ac_link) 2>conftest.er1
  15362. +if { (ac_try="$ac_link"
  15363. +case "(($ac_try" in
  15364. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15365. + *) ac_try_echo=$ac_try;;
  15366. +esac
  15367. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15368. + (eval "$ac_link") 2>conftest.er1
  15369. ac_status=$?
  15370. grep -v '^ *+' conftest.er1 >conftest.err
  15371. rm -f conftest.er1
  15372. cat conftest.err >&5
  15373. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15374. - (exit $ac_status); } &&
  15375. - { ac_try='test -z "$ac_c_werror_flag"
  15376. - || test ! -s conftest.err'
  15377. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15378. - (eval $ac_try) 2>&5
  15379. - ac_status=$?
  15380. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15381. - (exit $ac_status); }; } &&
  15382. - { ac_try='test -s conftest$ac_exeext'
  15383. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15384. - (eval $ac_try) 2>&5
  15385. - ac_status=$?
  15386. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15387. - (exit $ac_status); }; }; then
  15388. - echo "$as_me:$LINENO: result: gettext() works" >&5
  15389. -echo "${ECHO_T}gettext() works" >&6; have_gettext="yes"
  15390. + (exit $ac_status); } && {
  15391. + test -z "$ac_c_werror_flag" ||
  15392. + test ! -s conftest.err
  15393. + } && test -s conftest$ac_exeext &&
  15394. + $as_test_x conftest$ac_exeext; then
  15395. + { echo "$as_me:$LINENO: result: gettext() works" >&5
  15396. +echo "${ECHO_T}gettext() works" >&6; }; have_gettext="yes"
  15397. else
  15398. echo "$as_me: failed program was:" >&5
  15399. sed 's/^/| /' conftest.$ac_ext >&5
  15400. -olibs=$LIBS
  15401. + olibs=$LIBS
  15402. LIBS="$LIBS -lintl"
  15403. cat >conftest.$ac_ext <<_ACEOF
  15404. /* confdefs.h. */
  15405. @@ -14389,45 +14141,43 @@
  15406. }
  15407. _ACEOF
  15408. rm -f conftest.$ac_objext conftest$ac_exeext
  15409. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15410. - (eval $ac_link) 2>conftest.er1
  15411. +if { (ac_try="$ac_link"
  15412. +case "(($ac_try" in
  15413. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15414. + *) ac_try_echo=$ac_try;;
  15415. +esac
  15416. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15417. + (eval "$ac_link") 2>conftest.er1
  15418. ac_status=$?
  15419. grep -v '^ *+' conftest.er1 >conftest.err
  15420. rm -f conftest.er1
  15421. cat conftest.err >&5
  15422. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15423. - (exit $ac_status); } &&
  15424. - { ac_try='test -z "$ac_c_werror_flag"
  15425. - || test ! -s conftest.err'
  15426. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15427. - (eval $ac_try) 2>&5
  15428. - ac_status=$?
  15429. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15430. - (exit $ac_status); }; } &&
  15431. - { ac_try='test -s conftest$ac_exeext'
  15432. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15433. - (eval $ac_try) 2>&5
  15434. - ac_status=$?
  15435. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15436. - (exit $ac_status); }; }; then
  15437. - echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
  15438. -echo "${ECHO_T}gettext() works with -lintl" >&6; have_gettext="yes"
  15439. + (exit $ac_status); } && {
  15440. + test -z "$ac_c_werror_flag" ||
  15441. + test ! -s conftest.err
  15442. + } && test -s conftest$ac_exeext &&
  15443. + $as_test_x conftest$ac_exeext; then
  15444. + { echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
  15445. +echo "${ECHO_T}gettext() works with -lintl" >&6; }; have_gettext="yes"
  15446. else
  15447. echo "$as_me: failed program was:" >&5
  15448. sed 's/^/| /' conftest.$ac_ext >&5
  15449. -echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
  15450. -echo "${ECHO_T}gettext() doesn't work" >&6;
  15451. + { echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
  15452. +echo "${ECHO_T}gettext() doesn't work" >&6; };
  15453. LIBS=$olibs
  15454. fi
  15455. -rm -f conftest.err conftest.$ac_objext \
  15456. +
  15457. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15458. conftest$ac_exeext conftest.$ac_ext
  15459. fi
  15460. -rm -f conftest.err conftest.$ac_objext \
  15461. +
  15462. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15463. conftest$ac_exeext conftest.$ac_ext
  15464. else
  15465. - echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
  15466. -echo "${ECHO_T}msgfmt not found - disabled" >&6;
  15467. + { echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
  15468. +echo "${ECHO_T}msgfmt not found - disabled" >&6; };
  15469. fi
  15470. if test $have_gettext = "yes"; then
  15471. cat >>confdefs.h <<\_ACEOF
  15472. @@ -14440,9 +14190,9 @@
  15473. for ac_func in bind_textdomain_codeset
  15474. do
  15475. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15476. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  15477. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  15478. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  15479. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  15480. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  15481. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15482. echo $ECHO_N "(cached) $ECHO_C" >&6
  15483. else
  15484. cat >conftest.$ac_ext <<_ACEOF
  15485. @@ -14468,68 +14218,60 @@
  15486. #undef $ac_func
  15487. -/* Override any gcc2 internal prototype to avoid an error. */
  15488. +/* Override any GCC internal prototype to avoid an error.
  15489. + Use char because int might match the return type of a GCC
  15490. + builtin and then its argument prototype would still apply. */
  15491. #ifdef __cplusplus
  15492. extern "C"
  15493. -{
  15494. #endif
  15495. -/* We use char because int might match the return type of a gcc2
  15496. - builtin and then its argument prototype would still apply. */
  15497. char $ac_func ();
  15498. /* The GNU C library defines this for functions which it implements
  15499. to always fail with ENOSYS. Some functions are actually named
  15500. something starting with __ and the normal name is an alias. */
  15501. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  15502. +#if defined __stub_$ac_func || defined __stub___$ac_func
  15503. choke me
  15504. -#else
  15505. -char (*f) () = $ac_func;
  15506. -#endif
  15507. -#ifdef __cplusplus
  15508. -}
  15509. #endif
  15510. int
  15511. main ()
  15512. {
  15513. -return f != $ac_func;
  15514. +return $ac_func ();
  15515. ;
  15516. return 0;
  15517. }
  15518. _ACEOF
  15519. rm -f conftest.$ac_objext conftest$ac_exeext
  15520. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15521. - (eval $ac_link) 2>conftest.er1
  15522. +if { (ac_try="$ac_link"
  15523. +case "(($ac_try" in
  15524. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15525. + *) ac_try_echo=$ac_try;;
  15526. +esac
  15527. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15528. + (eval "$ac_link") 2>conftest.er1
  15529. ac_status=$?
  15530. grep -v '^ *+' conftest.er1 >conftest.err
  15531. rm -f conftest.er1
  15532. cat conftest.err >&5
  15533. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15534. - (exit $ac_status); } &&
  15535. - { ac_try='test -z "$ac_c_werror_flag"
  15536. - || test ! -s conftest.err'
  15537. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15538. - (eval $ac_try) 2>&5
  15539. - ac_status=$?
  15540. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15541. - (exit $ac_status); }; } &&
  15542. - { ac_try='test -s conftest$ac_exeext'
  15543. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15544. - (eval $ac_try) 2>&5
  15545. - ac_status=$?
  15546. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15547. - (exit $ac_status); }; }; then
  15548. + (exit $ac_status); } && {
  15549. + test -z "$ac_c_werror_flag" ||
  15550. + test ! -s conftest.err
  15551. + } && test -s conftest$ac_exeext &&
  15552. + $as_test_x conftest$ac_exeext; then
  15553. eval "$as_ac_var=yes"
  15554. else
  15555. echo "$as_me: failed program was:" >&5
  15556. sed 's/^/| /' conftest.$ac_ext >&5
  15557. -eval "$as_ac_var=no"
  15558. + eval "$as_ac_var=no"
  15559. fi
  15560. -rm -f conftest.err conftest.$ac_objext \
  15561. +
  15562. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15563. conftest$ac_exeext conftest.$ac_ext
  15564. fi
  15565. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  15566. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  15567. +ac_res=`eval echo '${'$as_ac_var'}'`
  15568. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  15569. +echo "${ECHO_T}$ac_res" >&6; }
  15570. if test `eval echo '${'$as_ac_var'}'` = yes; then
  15571. cat >>confdefs.h <<_ACEOF
  15572. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15573. @@ -14538,8 +14280,8 @@
  15574. fi
  15575. done
  15576. - echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
  15577. -echo $ECHO_N "checking for _nl_msg_cat_cntr... $ECHO_C" >&6
  15578. + { echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
  15579. +echo $ECHO_N "checking for _nl_msg_cat_cntr... $ECHO_C" >&6; }
  15580. cat >conftest.$ac_ext <<_ACEOF
  15581. /* confdefs.h. */
  15582. _ACEOF
  15583. @@ -14557,29 +14299,25 @@
  15584. }
  15585. _ACEOF
  15586. rm -f conftest.$ac_objext conftest$ac_exeext
  15587. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15588. - (eval $ac_link) 2>conftest.er1
  15589. +if { (ac_try="$ac_link"
  15590. +case "(($ac_try" in
  15591. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15592. + *) ac_try_echo=$ac_try;;
  15593. +esac
  15594. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15595. + (eval "$ac_link") 2>conftest.er1
  15596. ac_status=$?
  15597. grep -v '^ *+' conftest.er1 >conftest.err
  15598. rm -f conftest.er1
  15599. cat conftest.err >&5
  15600. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15601. - (exit $ac_status); } &&
  15602. - { ac_try='test -z "$ac_c_werror_flag"
  15603. - || test ! -s conftest.err'
  15604. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15605. - (eval $ac_try) 2>&5
  15606. - ac_status=$?
  15607. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15608. - (exit $ac_status); }; } &&
  15609. - { ac_try='test -s conftest$ac_exeext'
  15610. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15611. - (eval $ac_try) 2>&5
  15612. - ac_status=$?
  15613. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15614. - (exit $ac_status); }; }; then
  15615. - echo "$as_me:$LINENO: result: yes" >&5
  15616. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  15617. + (exit $ac_status); } && {
  15618. + test -z "$ac_c_werror_flag" ||
  15619. + test ! -s conftest.err
  15620. + } && test -s conftest$ac_exeext &&
  15621. + $as_test_x conftest$ac_exeext; then
  15622. + { echo "$as_me:$LINENO: result: yes" >&5
  15623. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  15624. #define HAVE_NL_MSG_CAT_CNTR 1
  15625. _ACEOF
  15626. @@ -14587,33 +14325,34 @@
  15627. echo "$as_me: failed program was:" >&5
  15628. sed 's/^/| /' conftest.$ac_ext >&5
  15629. -echo "$as_me:$LINENO: result: no" >&5
  15630. -echo "${ECHO_T}no" >&6
  15631. + { echo "$as_me:$LINENO: result: no" >&5
  15632. +echo "${ECHO_T}no" >&6; }
  15633. fi
  15634. -rm -f conftest.err conftest.$ac_objext \
  15635. +
  15636. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15637. conftest$ac_exeext conftest.$ac_ext
  15638. fi
  15639. else
  15640. - echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
  15641. -echo "${ECHO_T}no \"po/Makefile\" - disabled" >&6;
  15642. + { echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
  15643. +echo "${ECHO_T}no \"po/Makefile\" - disabled" >&6; };
  15644. fi
  15645. else
  15646. - echo "$as_me:$LINENO: result: yes" >&5
  15647. -echo "${ECHO_T}yes" >&6
  15648. + { echo "$as_me:$LINENO: result: yes" >&5
  15649. +echo "${ECHO_T}yes" >&6; }
  15650. fi
  15651. if test "${ac_cv_header_dlfcn_h+set}" = set; then
  15652. - echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15653. -echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
  15654. + { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15655. +echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  15656. if test "${ac_cv_header_dlfcn_h+set}" = set; then
  15657. echo $ECHO_N "(cached) $ECHO_C" >&6
  15658. fi
  15659. -echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15660. -echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
  15661. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15662. +echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  15663. else
  15664. # Is the header compilable?
  15665. -echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
  15666. -echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
  15667. +{ echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
  15668. +echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
  15669. cat >conftest.$ac_ext <<_ACEOF
  15670. /* confdefs.h. */
  15671. _ACEOF
  15672. @@ -14624,41 +14363,37 @@
  15673. #include <dlfcn.h>
  15674. _ACEOF
  15675. rm -f conftest.$ac_objext
  15676. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15677. - (eval $ac_compile) 2>conftest.er1
  15678. +if { (ac_try="$ac_compile"
  15679. +case "(($ac_try" in
  15680. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15681. + *) ac_try_echo=$ac_try;;
  15682. +esac
  15683. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15684. + (eval "$ac_compile") 2>conftest.er1
  15685. ac_status=$?
  15686. grep -v '^ *+' conftest.er1 >conftest.err
  15687. rm -f conftest.er1
  15688. cat conftest.err >&5
  15689. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15690. - (exit $ac_status); } &&
  15691. - { ac_try='test -z "$ac_c_werror_flag"
  15692. - || test ! -s conftest.err'
  15693. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15694. - (eval $ac_try) 2>&5
  15695. - ac_status=$?
  15696. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15697. - (exit $ac_status); }; } &&
  15698. - { ac_try='test -s conftest.$ac_objext'
  15699. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15700. - (eval $ac_try) 2>&5
  15701. - ac_status=$?
  15702. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15703. - (exit $ac_status); }; }; then
  15704. + (exit $ac_status); } && {
  15705. + test -z "$ac_c_werror_flag" ||
  15706. + test ! -s conftest.err
  15707. + } && test -s conftest.$ac_objext; then
  15708. ac_header_compiler=yes
  15709. else
  15710. echo "$as_me: failed program was:" >&5
  15711. sed 's/^/| /' conftest.$ac_ext >&5
  15712. -ac_header_compiler=no
  15713. + ac_header_compiler=no
  15714. fi
  15715. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  15716. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15717. -echo "${ECHO_T}$ac_header_compiler" >&6
  15718. +
  15719. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15720. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15721. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  15722. # Is the header present?
  15723. -echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
  15724. -echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
  15725. +{ echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
  15726. +echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
  15727. cat >conftest.$ac_ext <<_ACEOF
  15728. /* confdefs.h. */
  15729. _ACEOF
  15730. @@ -14667,24 +14402,22 @@
  15731. /* end confdefs.h. */
  15732. #include <dlfcn.h>
  15733. _ACEOF
  15734. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  15735. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  15736. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  15737. +case "(($ac_try" in
  15738. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15739. + *) ac_try_echo=$ac_try;;
  15740. +esac
  15741. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15742. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15743. ac_status=$?
  15744. grep -v '^ *+' conftest.er1 >conftest.err
  15745. rm -f conftest.er1
  15746. cat conftest.err >&5
  15747. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15748. - (exit $ac_status); } >/dev/null; then
  15749. - if test -s conftest.err; then
  15750. - ac_cpp_err=$ac_c_preproc_warn_flag
  15751. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  15752. - else
  15753. - ac_cpp_err=
  15754. - fi
  15755. -else
  15756. - ac_cpp_err=yes
  15757. -fi
  15758. -if test -z "$ac_cpp_err"; then
  15759. + (exit $ac_status); } >/dev/null && {
  15760. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15761. + test ! -s conftest.err
  15762. + }; then
  15763. ac_header_preproc=yes
  15764. else
  15765. echo "$as_me: failed program was:" >&5
  15766. @@ -14692,9 +14425,10 @@
  15767. ac_header_preproc=no
  15768. fi
  15769. +
  15770. rm -f conftest.err conftest.$ac_ext
  15771. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15772. -echo "${ECHO_T}$ac_header_preproc" >&6
  15773. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15774. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  15775. # So? What about this header?
  15776. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15777. @@ -14718,42 +14452,35 @@
  15778. echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
  15779. { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
  15780. echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
  15781. - (
  15782. - cat <<\_ASBOX
  15783. -## ------------------------------------------ ##
  15784. -## Report this to the AC_PACKAGE_NAME lists. ##
  15785. -## ------------------------------------------ ##
  15786. -_ASBOX
  15787. - ) |
  15788. - sed "s/^/$as_me: WARNING: /" >&2
  15789. +
  15790. ;;
  15791. esac
  15792. -echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15793. -echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
  15794. +{ echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15795. +echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  15796. if test "${ac_cv_header_dlfcn_h+set}" = set; then
  15797. echo $ECHO_N "(cached) $ECHO_C" >&6
  15798. else
  15799. ac_cv_header_dlfcn_h=$ac_header_preproc
  15800. fi
  15801. -echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15802. -echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
  15803. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15804. +echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  15805. fi
  15806. if test $ac_cv_header_dlfcn_h = yes; then
  15807. DLL=dlfcn.h
  15808. else
  15809. if test "${ac_cv_header_dl_h+set}" = set; then
  15810. - echo "$as_me:$LINENO: checking for dl.h" >&5
  15811. -echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
  15812. + { echo "$as_me:$LINENO: checking for dl.h" >&5
  15813. +echo $ECHO_N "checking for dl.h... $ECHO_C" >&6; }
  15814. if test "${ac_cv_header_dl_h+set}" = set; then
  15815. echo $ECHO_N "(cached) $ECHO_C" >&6
  15816. fi
  15817. -echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  15818. -echo "${ECHO_T}$ac_cv_header_dl_h" >&6
  15819. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  15820. +echo "${ECHO_T}$ac_cv_header_dl_h" >&6; }
  15821. else
  15822. # Is the header compilable?
  15823. -echo "$as_me:$LINENO: checking dl.h usability" >&5
  15824. -echo $ECHO_N "checking dl.h usability... $ECHO_C" >&6
  15825. +{ echo "$as_me:$LINENO: checking dl.h usability" >&5
  15826. +echo $ECHO_N "checking dl.h usability... $ECHO_C" >&6; }
  15827. cat >conftest.$ac_ext <<_ACEOF
  15828. /* confdefs.h. */
  15829. _ACEOF
  15830. @@ -14764,41 +14491,37 @@
  15831. #include <dl.h>
  15832. _ACEOF
  15833. rm -f conftest.$ac_objext
  15834. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15835. - (eval $ac_compile) 2>conftest.er1
  15836. +if { (ac_try="$ac_compile"
  15837. +case "(($ac_try" in
  15838. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15839. + *) ac_try_echo=$ac_try;;
  15840. +esac
  15841. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15842. + (eval "$ac_compile") 2>conftest.er1
  15843. ac_status=$?
  15844. grep -v '^ *+' conftest.er1 >conftest.err
  15845. rm -f conftest.er1
  15846. cat conftest.err >&5
  15847. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15848. - (exit $ac_status); } &&
  15849. - { ac_try='test -z "$ac_c_werror_flag"
  15850. - || test ! -s conftest.err'
  15851. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15852. - (eval $ac_try) 2>&5
  15853. - ac_status=$?
  15854. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15855. - (exit $ac_status); }; } &&
  15856. - { ac_try='test -s conftest.$ac_objext'
  15857. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15858. - (eval $ac_try) 2>&5
  15859. - ac_status=$?
  15860. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15861. - (exit $ac_status); }; }; then
  15862. + (exit $ac_status); } && {
  15863. + test -z "$ac_c_werror_flag" ||
  15864. + test ! -s conftest.err
  15865. + } && test -s conftest.$ac_objext; then
  15866. ac_header_compiler=yes
  15867. else
  15868. echo "$as_me: failed program was:" >&5
  15869. sed 's/^/| /' conftest.$ac_ext >&5
  15870. -ac_header_compiler=no
  15871. + ac_header_compiler=no
  15872. fi
  15873. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  15874. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15875. -echo "${ECHO_T}$ac_header_compiler" >&6
  15876. +
  15877. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15878. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15879. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  15880. # Is the header present?
  15881. -echo "$as_me:$LINENO: checking dl.h presence" >&5
  15882. -echo $ECHO_N "checking dl.h presence... $ECHO_C" >&6
  15883. +{ echo "$as_me:$LINENO: checking dl.h presence" >&5
  15884. +echo $ECHO_N "checking dl.h presence... $ECHO_C" >&6; }
  15885. cat >conftest.$ac_ext <<_ACEOF
  15886. /* confdefs.h. */
  15887. _ACEOF
  15888. @@ -14807,24 +14530,22 @@
  15889. /* end confdefs.h. */
  15890. #include <dl.h>
  15891. _ACEOF
  15892. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  15893. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  15894. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  15895. +case "(($ac_try" in
  15896. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15897. + *) ac_try_echo=$ac_try;;
  15898. +esac
  15899. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15900. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15901. ac_status=$?
  15902. grep -v '^ *+' conftest.er1 >conftest.err
  15903. rm -f conftest.er1
  15904. cat conftest.err >&5
  15905. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15906. - (exit $ac_status); } >/dev/null; then
  15907. - if test -s conftest.err; then
  15908. - ac_cpp_err=$ac_c_preproc_warn_flag
  15909. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  15910. - else
  15911. - ac_cpp_err=
  15912. - fi
  15913. -else
  15914. - ac_cpp_err=yes
  15915. -fi
  15916. -if test -z "$ac_cpp_err"; then
  15917. + (exit $ac_status); } >/dev/null && {
  15918. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15919. + test ! -s conftest.err
  15920. + }; then
  15921. ac_header_preproc=yes
  15922. else
  15923. echo "$as_me: failed program was:" >&5
  15924. @@ -14832,9 +14553,10 @@
  15925. ac_header_preproc=no
  15926. fi
  15927. +
  15928. rm -f conftest.err conftest.$ac_ext
  15929. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15930. -echo "${ECHO_T}$ac_header_preproc" >&6
  15931. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15932. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  15933. # So? What about this header?
  15934. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15935. @@ -14858,25 +14580,18 @@
  15936. echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;}
  15937. { echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5
  15938. echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;}
  15939. - (
  15940. - cat <<\_ASBOX
  15941. -## ------------------------------------------ ##
  15942. -## Report this to the AC_PACKAGE_NAME lists. ##
  15943. -## ------------------------------------------ ##
  15944. -_ASBOX
  15945. - ) |
  15946. - sed "s/^/$as_me: WARNING: /" >&2
  15947. +
  15948. ;;
  15949. esac
  15950. -echo "$as_me:$LINENO: checking for dl.h" >&5
  15951. -echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
  15952. +{ echo "$as_me:$LINENO: checking for dl.h" >&5
  15953. +echo $ECHO_N "checking for dl.h... $ECHO_C" >&6; }
  15954. if test "${ac_cv_header_dl_h+set}" = set; then
  15955. echo $ECHO_N "(cached) $ECHO_C" >&6
  15956. else
  15957. ac_cv_header_dl_h=$ac_header_preproc
  15958. fi
  15959. -echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  15960. -echo "${ECHO_T}$ac_cv_header_dl_h" >&6
  15961. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  15962. +echo "${ECHO_T}$ac_cv_header_dl_h" >&6; }
  15963. fi
  15964. if test $ac_cv_header_dl_h = yes; then
  15965. @@ -14893,8 +14608,8 @@
  15966. #define HAVE_DLFCN_H 1
  15967. _ACEOF
  15968. - echo "$as_me:$LINENO: checking for dlopen()" >&5
  15969. -echo $ECHO_N "checking for dlopen()... $ECHO_C" >&6
  15970. + { echo "$as_me:$LINENO: checking for dlopen()" >&5
  15971. +echo $ECHO_N "checking for dlopen()... $ECHO_C" >&6; }
  15972. cat >conftest.$ac_ext <<_ACEOF
  15973. /* confdefs.h. */
  15974. _ACEOF
  15975. @@ -14914,29 +14629,25 @@
  15976. }
  15977. _ACEOF
  15978. rm -f conftest.$ac_objext conftest$ac_exeext
  15979. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15980. - (eval $ac_link) 2>conftest.er1
  15981. +if { (ac_try="$ac_link"
  15982. +case "(($ac_try" in
  15983. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15984. + *) ac_try_echo=$ac_try;;
  15985. +esac
  15986. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15987. + (eval "$ac_link") 2>conftest.er1
  15988. ac_status=$?
  15989. grep -v '^ *+' conftest.er1 >conftest.err
  15990. rm -f conftest.er1
  15991. cat conftest.err >&5
  15992. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15993. - (exit $ac_status); } &&
  15994. - { ac_try='test -z "$ac_c_werror_flag"
  15995. - || test ! -s conftest.err'
  15996. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15997. - (eval $ac_try) 2>&5
  15998. - ac_status=$?
  15999. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16000. - (exit $ac_status); }; } &&
  16001. - { ac_try='test -s conftest$ac_exeext'
  16002. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16003. - (eval $ac_try) 2>&5
  16004. - ac_status=$?
  16005. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16006. - (exit $ac_status); }; }; then
  16007. - echo "$as_me:$LINENO: result: yes" >&5
  16008. -echo "${ECHO_T}yes" >&6;
  16009. + (exit $ac_status); } && {
  16010. + test -z "$ac_c_werror_flag" ||
  16011. + test ! -s conftest.err
  16012. + } && test -s conftest$ac_exeext &&
  16013. + $as_test_x conftest$ac_exeext; then
  16014. + { echo "$as_me:$LINENO: result: yes" >&5
  16015. +echo "${ECHO_T}yes" >&6; };
  16016. cat >>confdefs.h <<\_ACEOF
  16017. #define HAVE_DLOPEN 1
  16018. @@ -14946,10 +14657,10 @@
  16019. echo "$as_me: failed program was:" >&5
  16020. sed 's/^/| /' conftest.$ac_ext >&5
  16021. -echo "$as_me:$LINENO: result: no" >&5
  16022. -echo "${ECHO_T}no" >&6;
  16023. - echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
  16024. -echo $ECHO_N "checking for dlopen() in -ldl... $ECHO_C" >&6
  16025. + { echo "$as_me:$LINENO: result: no" >&5
  16026. +echo "${ECHO_T}no" >&6; };
  16027. + { echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
  16028. +echo $ECHO_N "checking for dlopen() in -ldl... $ECHO_C" >&6; }
  16029. olibs=$LIBS
  16030. LIBS="$LIBS -ldl"
  16031. cat >conftest.$ac_ext <<_ACEOF
  16032. @@ -14971,29 +14682,25 @@
  16033. }
  16034. _ACEOF
  16035. rm -f conftest.$ac_objext conftest$ac_exeext
  16036. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16037. - (eval $ac_link) 2>conftest.er1
  16038. +if { (ac_try="$ac_link"
  16039. +case "(($ac_try" in
  16040. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16041. + *) ac_try_echo=$ac_try;;
  16042. +esac
  16043. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16044. + (eval "$ac_link") 2>conftest.er1
  16045. ac_status=$?
  16046. grep -v '^ *+' conftest.er1 >conftest.err
  16047. rm -f conftest.er1
  16048. cat conftest.err >&5
  16049. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16050. - (exit $ac_status); } &&
  16051. - { ac_try='test -z "$ac_c_werror_flag"
  16052. - || test ! -s conftest.err'
  16053. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16054. - (eval $ac_try) 2>&5
  16055. - ac_status=$?
  16056. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16057. - (exit $ac_status); }; } &&
  16058. - { ac_try='test -s conftest$ac_exeext'
  16059. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16060. - (eval $ac_try) 2>&5
  16061. - ac_status=$?
  16062. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16063. - (exit $ac_status); }; }; then
  16064. - echo "$as_me:$LINENO: result: yes" >&5
  16065. -echo "${ECHO_T}yes" >&6;
  16066. + (exit $ac_status); } && {
  16067. + test -z "$ac_c_werror_flag" ||
  16068. + test ! -s conftest.err
  16069. + } && test -s conftest$ac_exeext &&
  16070. + $as_test_x conftest$ac_exeext; then
  16071. + { echo "$as_me:$LINENO: result: yes" >&5
  16072. +echo "${ECHO_T}yes" >&6; };
  16073. cat >>confdefs.h <<\_ACEOF
  16074. #define HAVE_DLOPEN 1
  16075. @@ -15003,17 +14710,19 @@
  16076. echo "$as_me: failed program was:" >&5
  16077. sed 's/^/| /' conftest.$ac_ext >&5
  16078. -echo "$as_me:$LINENO: result: no" >&5
  16079. -echo "${ECHO_T}no" >&6;
  16080. + { echo "$as_me:$LINENO: result: no" >&5
  16081. +echo "${ECHO_T}no" >&6; };
  16082. LIBS=$olibs
  16083. fi
  16084. -rm -f conftest.err conftest.$ac_objext \
  16085. +
  16086. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16087. conftest$ac_exeext conftest.$ac_ext
  16088. fi
  16089. -rm -f conftest.err conftest.$ac_objext \
  16090. +
  16091. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16092. conftest$ac_exeext conftest.$ac_ext
  16093. - echo "$as_me:$LINENO: checking for dlsym()" >&5
  16094. -echo $ECHO_N "checking for dlsym()... $ECHO_C" >&6
  16095. + { echo "$as_me:$LINENO: checking for dlsym()" >&5
  16096. +echo $ECHO_N "checking for dlsym()... $ECHO_C" >&6; }
  16097. cat >conftest.$ac_ext <<_ACEOF
  16098. /* confdefs.h. */
  16099. _ACEOF
  16100. @@ -15033,29 +14742,25 @@
  16101. }
  16102. _ACEOF
  16103. rm -f conftest.$ac_objext conftest$ac_exeext
  16104. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16105. - (eval $ac_link) 2>conftest.er1
  16106. +if { (ac_try="$ac_link"
  16107. +case "(($ac_try" in
  16108. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16109. + *) ac_try_echo=$ac_try;;
  16110. +esac
  16111. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16112. + (eval "$ac_link") 2>conftest.er1
  16113. ac_status=$?
  16114. grep -v '^ *+' conftest.er1 >conftest.err
  16115. rm -f conftest.er1
  16116. cat conftest.err >&5
  16117. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16118. - (exit $ac_status); } &&
  16119. - { ac_try='test -z "$ac_c_werror_flag"
  16120. - || test ! -s conftest.err'
  16121. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16122. - (eval $ac_try) 2>&5
  16123. - ac_status=$?
  16124. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16125. - (exit $ac_status); }; } &&
  16126. - { ac_try='test -s conftest$ac_exeext'
  16127. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16128. - (eval $ac_try) 2>&5
  16129. - ac_status=$?
  16130. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16131. - (exit $ac_status); }; }; then
  16132. - echo "$as_me:$LINENO: result: yes" >&5
  16133. -echo "${ECHO_T}yes" >&6;
  16134. + (exit $ac_status); } && {
  16135. + test -z "$ac_c_werror_flag" ||
  16136. + test ! -s conftest.err
  16137. + } && test -s conftest$ac_exeext &&
  16138. + $as_test_x conftest$ac_exeext; then
  16139. + { echo "$as_me:$LINENO: result: yes" >&5
  16140. +echo "${ECHO_T}yes" >&6; };
  16141. cat >>confdefs.h <<\_ACEOF
  16142. #define HAVE_DLSYM 1
  16143. @@ -15065,10 +14770,10 @@
  16144. echo "$as_me: failed program was:" >&5
  16145. sed 's/^/| /' conftest.$ac_ext >&5
  16146. -echo "$as_me:$LINENO: result: no" >&5
  16147. -echo "${ECHO_T}no" >&6;
  16148. - echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
  16149. -echo $ECHO_N "checking for dlsym() in -ldl... $ECHO_C" >&6
  16150. + { echo "$as_me:$LINENO: result: no" >&5
  16151. +echo "${ECHO_T}no" >&6; };
  16152. + { echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
  16153. +echo $ECHO_N "checking for dlsym() in -ldl... $ECHO_C" >&6; }
  16154. olibs=$LIBS
  16155. LIBS="$LIBS -ldl"
  16156. cat >conftest.$ac_ext <<_ACEOF
  16157. @@ -15090,29 +14795,25 @@
  16158. }
  16159. _ACEOF
  16160. rm -f conftest.$ac_objext conftest$ac_exeext
  16161. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16162. - (eval $ac_link) 2>conftest.er1
  16163. +if { (ac_try="$ac_link"
  16164. +case "(($ac_try" in
  16165. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16166. + *) ac_try_echo=$ac_try;;
  16167. +esac
  16168. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16169. + (eval "$ac_link") 2>conftest.er1
  16170. ac_status=$?
  16171. grep -v '^ *+' conftest.er1 >conftest.err
  16172. rm -f conftest.er1
  16173. cat conftest.err >&5
  16174. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16175. - (exit $ac_status); } &&
  16176. - { ac_try='test -z "$ac_c_werror_flag"
  16177. - || test ! -s conftest.err'
  16178. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16179. - (eval $ac_try) 2>&5
  16180. - ac_status=$?
  16181. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16182. - (exit $ac_status); }; } &&
  16183. - { ac_try='test -s conftest$ac_exeext'
  16184. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16185. - (eval $ac_try) 2>&5
  16186. - ac_status=$?
  16187. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16188. - (exit $ac_status); }; }; then
  16189. - echo "$as_me:$LINENO: result: yes" >&5
  16190. -echo "${ECHO_T}yes" >&6;
  16191. + (exit $ac_status); } && {
  16192. + test -z "$ac_c_werror_flag" ||
  16193. + test ! -s conftest.err
  16194. + } && test -s conftest$ac_exeext &&
  16195. + $as_test_x conftest$ac_exeext; then
  16196. + { echo "$as_me:$LINENO: result: yes" >&5
  16197. +echo "${ECHO_T}yes" >&6; };
  16198. cat >>confdefs.h <<\_ACEOF
  16199. #define HAVE_DLSYM 1
  16200. @@ -15122,14 +14823,16 @@
  16201. echo "$as_me: failed program was:" >&5
  16202. sed 's/^/| /' conftest.$ac_ext >&5
  16203. -echo "$as_me:$LINENO: result: no" >&5
  16204. -echo "${ECHO_T}no" >&6;
  16205. + { echo "$as_me:$LINENO: result: no" >&5
  16206. +echo "${ECHO_T}no" >&6; };
  16207. LIBS=$olibs
  16208. fi
  16209. -rm -f conftest.err conftest.$ac_objext \
  16210. +
  16211. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16212. conftest$ac_exeext conftest.$ac_ext
  16213. fi
  16214. -rm -f conftest.err conftest.$ac_objext \
  16215. +
  16216. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16217. conftest$ac_exeext conftest.$ac_ext
  16218. elif test x${DLL} = xdl.h; then
  16219. @@ -15137,8 +14840,8 @@
  16220. #define HAVE_DL_H 1
  16221. _ACEOF
  16222. - echo "$as_me:$LINENO: checking for shl_load()" >&5
  16223. -echo $ECHO_N "checking for shl_load()... $ECHO_C" >&6
  16224. + { echo "$as_me:$LINENO: checking for shl_load()" >&5
  16225. +echo $ECHO_N "checking for shl_load()... $ECHO_C" >&6; }
  16226. cat >conftest.$ac_ext <<_ACEOF
  16227. /* confdefs.h. */
  16228. _ACEOF
  16229. @@ -15158,29 +14861,25 @@
  16230. }
  16231. _ACEOF
  16232. rm -f conftest.$ac_objext conftest$ac_exeext
  16233. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16234. - (eval $ac_link) 2>conftest.er1
  16235. +if { (ac_try="$ac_link"
  16236. +case "(($ac_try" in
  16237. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16238. + *) ac_try_echo=$ac_try;;
  16239. +esac
  16240. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16241. + (eval "$ac_link") 2>conftest.er1
  16242. ac_status=$?
  16243. grep -v '^ *+' conftest.er1 >conftest.err
  16244. rm -f conftest.er1
  16245. cat conftest.err >&5
  16246. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16247. - (exit $ac_status); } &&
  16248. - { ac_try='test -z "$ac_c_werror_flag"
  16249. - || test ! -s conftest.err'
  16250. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16251. - (eval $ac_try) 2>&5
  16252. - ac_status=$?
  16253. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16254. - (exit $ac_status); }; } &&
  16255. - { ac_try='test -s conftest$ac_exeext'
  16256. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16257. - (eval $ac_try) 2>&5
  16258. - ac_status=$?
  16259. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16260. - (exit $ac_status); }; }; then
  16261. - echo "$as_me:$LINENO: result: yes" >&5
  16262. -echo "${ECHO_T}yes" >&6;
  16263. + (exit $ac_status); } && {
  16264. + test -z "$ac_c_werror_flag" ||
  16265. + test ! -s conftest.err
  16266. + } && test -s conftest$ac_exeext &&
  16267. + $as_test_x conftest$ac_exeext; then
  16268. + { echo "$as_me:$LINENO: result: yes" >&5
  16269. +echo "${ECHO_T}yes" >&6; };
  16270. cat >>confdefs.h <<\_ACEOF
  16271. #define HAVE_SHL_LOAD 1
  16272. @@ -15190,10 +14889,10 @@
  16273. echo "$as_me: failed program was:" >&5
  16274. sed 's/^/| /' conftest.$ac_ext >&5
  16275. -echo "$as_me:$LINENO: result: no" >&5
  16276. -echo "${ECHO_T}no" >&6;
  16277. - echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
  16278. -echo $ECHO_N "checking for shl_load() in -ldld... $ECHO_C" >&6
  16279. + { echo "$as_me:$LINENO: result: no" >&5
  16280. +echo "${ECHO_T}no" >&6; };
  16281. + { echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
  16282. +echo $ECHO_N "checking for shl_load() in -ldld... $ECHO_C" >&6; }
  16283. olibs=$LIBS
  16284. LIBS="$LIBS -ldld"
  16285. cat >conftest.$ac_ext <<_ACEOF
  16286. @@ -15215,29 +14914,25 @@
  16287. }
  16288. _ACEOF
  16289. rm -f conftest.$ac_objext conftest$ac_exeext
  16290. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16291. - (eval $ac_link) 2>conftest.er1
  16292. +if { (ac_try="$ac_link"
  16293. +case "(($ac_try" in
  16294. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16295. + *) ac_try_echo=$ac_try;;
  16296. +esac
  16297. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16298. + (eval "$ac_link") 2>conftest.er1
  16299. ac_status=$?
  16300. grep -v '^ *+' conftest.er1 >conftest.err
  16301. rm -f conftest.er1
  16302. cat conftest.err >&5
  16303. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16304. - (exit $ac_status); } &&
  16305. - { ac_try='test -z "$ac_c_werror_flag"
  16306. - || test ! -s conftest.err'
  16307. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16308. - (eval $ac_try) 2>&5
  16309. - ac_status=$?
  16310. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16311. - (exit $ac_status); }; } &&
  16312. - { ac_try='test -s conftest$ac_exeext'
  16313. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16314. - (eval $ac_try) 2>&5
  16315. - ac_status=$?
  16316. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16317. - (exit $ac_status); }; }; then
  16318. - echo "$as_me:$LINENO: result: yes" >&5
  16319. -echo "${ECHO_T}yes" >&6;
  16320. + (exit $ac_status); } && {
  16321. + test -z "$ac_c_werror_flag" ||
  16322. + test ! -s conftest.err
  16323. + } && test -s conftest$ac_exeext &&
  16324. + $as_test_x conftest$ac_exeext; then
  16325. + { echo "$as_me:$LINENO: result: yes" >&5
  16326. +echo "${ECHO_T}yes" >&6; };
  16327. cat >>confdefs.h <<\_ACEOF
  16328. #define HAVE_SHL_LOAD 1
  16329. @@ -15247,32 +14942,35 @@
  16330. echo "$as_me: failed program was:" >&5
  16331. sed 's/^/| /' conftest.$ac_ext >&5
  16332. -echo "$as_me:$LINENO: result: no" >&5
  16333. -echo "${ECHO_T}no" >&6;
  16334. + { echo "$as_me:$LINENO: result: no" >&5
  16335. +echo "${ECHO_T}no" >&6; };
  16336. LIBS=$olibs
  16337. fi
  16338. -rm -f conftest.err conftest.$ac_objext \
  16339. +
  16340. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16341. conftest$ac_exeext conftest.$ac_ext
  16342. fi
  16343. -rm -f conftest.err conftest.$ac_objext \
  16344. +
  16345. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16346. conftest$ac_exeext conftest.$ac_ext
  16347. fi
  16348. for ac_header in setjmp.h
  16349. do
  16350. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16351. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  16352. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  16353. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  16354. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  16355. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  16356. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  16357. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  16358. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  16359. echo $ECHO_N "(cached) $ECHO_C" >&6
  16360. fi
  16361. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  16362. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  16363. +ac_res=`eval echo '${'$as_ac_Header'}'`
  16364. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  16365. +echo "${ECHO_T}$ac_res" >&6; }
  16366. else
  16367. # Is the header compilable?
  16368. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  16369. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  16370. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  16371. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  16372. cat >conftest.$ac_ext <<_ACEOF
  16373. /* confdefs.h. */
  16374. _ACEOF
  16375. @@ -15283,41 +14981,37 @@
  16376. #include <$ac_header>
  16377. _ACEOF
  16378. rm -f conftest.$ac_objext
  16379. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  16380. - (eval $ac_compile) 2>conftest.er1
  16381. +if { (ac_try="$ac_compile"
  16382. +case "(($ac_try" in
  16383. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16384. + *) ac_try_echo=$ac_try;;
  16385. +esac
  16386. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16387. + (eval "$ac_compile") 2>conftest.er1
  16388. ac_status=$?
  16389. grep -v '^ *+' conftest.er1 >conftest.err
  16390. rm -f conftest.er1
  16391. cat conftest.err >&5
  16392. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16393. - (exit $ac_status); } &&
  16394. - { ac_try='test -z "$ac_c_werror_flag"
  16395. - || test ! -s conftest.err'
  16396. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16397. - (eval $ac_try) 2>&5
  16398. - ac_status=$?
  16399. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16400. - (exit $ac_status); }; } &&
  16401. - { ac_try='test -s conftest.$ac_objext'
  16402. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16403. - (eval $ac_try) 2>&5
  16404. - ac_status=$?
  16405. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16406. - (exit $ac_status); }; }; then
  16407. + (exit $ac_status); } && {
  16408. + test -z "$ac_c_werror_flag" ||
  16409. + test ! -s conftest.err
  16410. + } && test -s conftest.$ac_objext; then
  16411. ac_header_compiler=yes
  16412. else
  16413. echo "$as_me: failed program was:" >&5
  16414. sed 's/^/| /' conftest.$ac_ext >&5
  16415. -ac_header_compiler=no
  16416. + ac_header_compiler=no
  16417. fi
  16418. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  16419. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  16420. -echo "${ECHO_T}$ac_header_compiler" >&6
  16421. +
  16422. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16423. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  16424. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  16425. # Is the header present?
  16426. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  16427. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  16428. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  16429. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  16430. cat >conftest.$ac_ext <<_ACEOF
  16431. /* confdefs.h. */
  16432. _ACEOF
  16433. @@ -15326,24 +15020,22 @@
  16434. /* end confdefs.h. */
  16435. #include <$ac_header>
  16436. _ACEOF
  16437. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  16438. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  16439. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  16440. +case "(($ac_try" in
  16441. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16442. + *) ac_try_echo=$ac_try;;
  16443. +esac
  16444. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16445. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  16446. ac_status=$?
  16447. grep -v '^ *+' conftest.er1 >conftest.err
  16448. rm -f conftest.er1
  16449. cat conftest.err >&5
  16450. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16451. - (exit $ac_status); } >/dev/null; then
  16452. - if test -s conftest.err; then
  16453. - ac_cpp_err=$ac_c_preproc_warn_flag
  16454. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  16455. - else
  16456. - ac_cpp_err=
  16457. - fi
  16458. -else
  16459. - ac_cpp_err=yes
  16460. -fi
  16461. -if test -z "$ac_cpp_err"; then
  16462. + (exit $ac_status); } >/dev/null && {
  16463. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  16464. + test ! -s conftest.err
  16465. + }; then
  16466. ac_header_preproc=yes
  16467. else
  16468. echo "$as_me: failed program was:" >&5
  16469. @@ -15351,9 +15043,10 @@
  16470. ac_header_preproc=no
  16471. fi
  16472. +
  16473. rm -f conftest.err conftest.$ac_ext
  16474. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  16475. -echo "${ECHO_T}$ac_header_preproc" >&6
  16476. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  16477. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  16478. # So? What about this header?
  16479. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  16480. @@ -15377,25 +15070,19 @@
  16481. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  16482. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  16483. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  16484. - (
  16485. - cat <<\_ASBOX
  16486. -## ------------------------------------------ ##
  16487. -## Report this to the AC_PACKAGE_NAME lists. ##
  16488. -## ------------------------------------------ ##
  16489. -_ASBOX
  16490. - ) |
  16491. - sed "s/^/$as_me: WARNING: /" >&2
  16492. +
  16493. ;;
  16494. esac
  16495. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  16496. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  16497. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  16498. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  16499. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  16500. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  16501. echo $ECHO_N "(cached) $ECHO_C" >&6
  16502. else
  16503. eval "$as_ac_Header=\$ac_header_preproc"
  16504. fi
  16505. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  16506. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  16507. +ac_res=`eval echo '${'$as_ac_Header'}'`
  16508. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  16509. +echo "${ECHO_T}$ac_res" >&6; }
  16510. fi
  16511. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  16512. @@ -15417,24 +15104,24 @@
  16513. if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \
  16514. && test "x$GUITYPE" != "xCARBONGUI"; then
  16515. - echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
  16516. -echo $ECHO_N "checking whether we need -framework Carbon... $ECHO_C" >&6
  16517. + { echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
  16518. +echo $ECHO_N "checking whether we need -framework Carbon... $ECHO_C" >&6; }
  16519. if test "x$enable_multibyte" = "xyes" || test "x$features" = "xbig" \
  16520. || test "x$features" = "xhuge"; then
  16521. LIBS="$LIBS -framework Carbon"
  16522. - echo "$as_me:$LINENO: result: yes" >&5
  16523. -echo "${ECHO_T}yes" >&6
  16524. + { echo "$as_me:$LINENO: result: yes" >&5
  16525. +echo "${ECHO_T}yes" >&6; }
  16526. else
  16527. - echo "$as_me:$LINENO: result: no" >&5
  16528. -echo "${ECHO_T}no" >&6
  16529. + { echo "$as_me:$LINENO: result: no" >&5
  16530. +echo "${ECHO_T}no" >&6; }
  16531. fi
  16532. fi
  16533. if test "x$MACARCH" = "xboth"; then
  16534. LDFLAGS="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
  16535. fi
  16536. -echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
  16537. -echo $ECHO_N "checking for GCC 3 or later... $ECHO_C" >&6
  16538. +{ echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
  16539. +echo $ECHO_N "checking for GCC 3 or later... $ECHO_C" >&6; }
  16540. DEPEND_CFLAGS_FILTER=
  16541. if test "$GCC" = yes; then
  16542. gccmajor=`echo "$gccversion" | sed -e 's/^\([1-9]\)\..*$/\1/g'`
  16543. @@ -15443,15 +15130,16 @@
  16544. fi
  16545. fi
  16546. if test "$DEPEND_CFLAGS_FILTER" = ""; then
  16547. - echo "$as_me:$LINENO: result: no" >&5
  16548. -echo "${ECHO_T}no" >&6
  16549. + { echo "$as_me:$LINENO: result: no" >&5
  16550. +echo "${ECHO_T}no" >&6; }
  16551. else
  16552. - echo "$as_me:$LINENO: result: yes" >&5
  16553. -echo "${ECHO_T}yes" >&6
  16554. + { echo "$as_me:$LINENO: result: yes" >&5
  16555. +echo "${ECHO_T}yes" >&6; }
  16556. fi
  16557. - ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
  16558. +ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
  16559. +
  16560. cat >confcache <<\_ACEOF
  16561. # This file is a shell script that caches the results of configure
  16562. # tests run on this system so they can be shared between configure
  16563. @@ -15470,39 +15158,58 @@
  16564. # The following way of writing the cache mishandles newlines in values,
  16565. # but we know of no workaround that is simple, portable, and efficient.
  16566. -# So, don't put newlines in cache variables' values.
  16567. +# So, we kill variables containing newlines.
  16568. # Ultrix sh set writes to stderr and can't be redirected directly,
  16569. # and sets the high bit in the cache file unless we assign to the vars.
  16570. -{
  16571. +(
  16572. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  16573. + eval ac_val=\$$ac_var
  16574. + case $ac_val in #(
  16575. + *${as_nl}*)
  16576. + case $ac_var in #(
  16577. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  16578. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  16579. + esac
  16580. + case $ac_var in #(
  16581. + _ | IFS | as_nl) ;; #(
  16582. + *) $as_unset $ac_var ;;
  16583. + esac ;;
  16584. + esac
  16585. + done
  16586. +
  16587. (set) 2>&1 |
  16588. - case `(ac_space=' '; set | grep ac_space) 2>&1` in
  16589. - *ac_space=\ *)
  16590. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  16591. + *${as_nl}ac_space=\ *)
  16592. # `set' does not quote correctly, so add quotes (double-quote
  16593. # substitution turns \\\\ into \\, and sed turns \\ into \).
  16594. sed -n \
  16595. "s/'/'\\\\''/g;
  16596. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  16597. - ;;
  16598. + ;; #(
  16599. *)
  16600. # `set' quotes correctly as required by POSIX, so do not add quotes.
  16601. - sed -n \
  16602. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  16603. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  16604. ;;
  16605. - esac;
  16606. -} |
  16607. + esac |
  16608. + sort
  16609. +) |
  16610. sed '
  16611. + /^ac_cv_env_/b end
  16612. t clear
  16613. - : clear
  16614. + :clear
  16615. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  16616. t end
  16617. - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  16618. - : end' >>confcache
  16619. -if diff $cache_file confcache >/dev/null 2>&1; then :; else
  16620. - if test -w $cache_file; then
  16621. - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  16622. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  16623. + :end' >>confcache
  16624. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  16625. + if test -w "$cache_file"; then
  16626. + test "x$cache_file" != "x/dev/null" &&
  16627. + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  16628. +echo "$as_me: updating cache $cache_file" >&6;}
  16629. cat confcache >$cache_file
  16630. else
  16631. - echo "not updating unwritable cache $cache_file"
  16632. + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  16633. +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  16634. fi
  16635. fi
  16636. rm -f confcache
  16637. @@ -15511,32 +15218,18 @@
  16638. # Let make expand exec_prefix.
  16639. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  16640. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  16641. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  16642. -# trailing colons and then remove the whole line if VPATH becomes empty
  16643. -# (actually we leave an empty line to preserve line numbers).
  16644. -if test "x$srcdir" = x.; then
  16645. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  16646. -s/:*\$(srcdir):*/:/;
  16647. -s/:*\${srcdir}:*/:/;
  16648. -s/:*@srcdir@:*/:/;
  16649. -s/^\([^=]*=[ ]*\):*/\1/;
  16650. -s/:*$//;
  16651. -s/^[^=]*=[ ]*$//;
  16652. -}'
  16653. -fi
  16654. -
  16655. DEFS=-DHAVE_CONFIG_H
  16656. ac_libobjs=
  16657. ac_ltlibobjs=
  16658. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  16659. # 1. Remove the extension, and $U if already installed.
  16660. - ac_i=`echo "$ac_i" |
  16661. - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  16662. - # 2. Add them.
  16663. - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  16664. - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  16665. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  16666. + ac_i=`echo "$ac_i" | sed "$ac_script"`
  16667. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  16668. + # will be set to the directory where LIBOBJS objects are built.
  16669. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  16670. + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  16671. done
  16672. LIBOBJS=$ac_libobjs
  16673. @@ -15567,17 +15260,45 @@
  16674. ## M4sh Initialization. ##
  16675. ## --------------------- ##
  16676. -# Be Bourne compatible
  16677. +# Be more Bourne compatible
  16678. +DUALCASE=1; export DUALCASE # for MKS sh
  16679. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16680. emulate sh
  16681. NULLCMD=:
  16682. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  16683. # is contrary to our usage. Disable this feature.
  16684. alias -g '${1+"$@"}'='"$@"'
  16685. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  16686. - set -o posix
  16687. + setopt NO_GLOB_SUBST
  16688. +else
  16689. + case `(set -o) 2>/dev/null` in
  16690. + *posix*) set -o posix ;;
  16691. +esac
  16692. +
  16693. +fi
  16694. +
  16695. +
  16696. +
  16697. +
  16698. +# PATH needs CR
  16699. +# Avoid depending upon Character Ranges.
  16700. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  16701. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  16702. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  16703. +as_cr_digits='0123456789'
  16704. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  16705. +
  16706. +# The user is always right.
  16707. +if test "${PATH_SEPARATOR+set}" != set; then
  16708. + echo "#! /bin/sh" >conf$$.sh
  16709. + echo "exit 0" >>conf$$.sh
  16710. + chmod +x conf$$.sh
  16711. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  16712. + PATH_SEPARATOR=';'
  16713. + else
  16714. + PATH_SEPARATOR=:
  16715. + fi
  16716. + rm -f conf$$.sh
  16717. fi
  16718. -DUALCASE=1; export DUALCASE # for MKS sh
  16719. # Support unset when possible.
  16720. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  16721. @@ -15587,8 +15308,43 @@
  16722. fi
  16723. +# IFS
  16724. +# We need space, tab and new line, in precisely that order. Quoting is
  16725. +# there to prevent editors from complaining about space-tab.
  16726. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  16727. +# splitting by setting IFS to empty value.)
  16728. +as_nl='
  16729. +'
  16730. +IFS=" "" $as_nl"
  16731. +
  16732. +# Find who we are. Look in the path if we contain no directory separator.
  16733. +case $0 in
  16734. + *[\\/]* ) as_myself=$0 ;;
  16735. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16736. +for as_dir in $PATH
  16737. +do
  16738. + IFS=$as_save_IFS
  16739. + test -z "$as_dir" && as_dir=.
  16740. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  16741. +done
  16742. +IFS=$as_save_IFS
  16743. +
  16744. + ;;
  16745. +esac
  16746. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  16747. +# in which case we are not to be found in the path.
  16748. +if test "x$as_myself" = x; then
  16749. + as_myself=$0
  16750. +fi
  16751. +if test ! -f "$as_myself"; then
  16752. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  16753. + { (exit 1); exit 1; }
  16754. +fi
  16755. +
  16756. # Work around bugs in pre-3.0 UWIN ksh.
  16757. -$as_unset ENV MAIL MAILPATH
  16758. +for as_var in ENV MAIL MAILPATH
  16759. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  16760. +done
  16761. PS1='$ '
  16762. PS2='> '
  16763. PS4='+ '
  16764. @@ -15602,18 +15358,19 @@
  16765. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  16766. eval $as_var=C; export $as_var
  16767. else
  16768. - $as_unset $as_var
  16769. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  16770. fi
  16771. done
  16772. # Required to use basename.
  16773. -if expr a : '\(a\)' >/dev/null 2>&1; then
  16774. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  16775. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  16776. as_expr=expr
  16777. else
  16778. as_expr=false
  16779. fi
  16780. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  16781. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  16782. as_basename=basename
  16783. else
  16784. as_basename=false
  16785. @@ -15621,159 +15378,120 @@
  16786. # Name of the executable.
  16787. -as_me=`$as_basename "$0" ||
  16788. +as_me=`$as_basename -- "$0" ||
  16789. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  16790. X"$0" : 'X\(//\)$' \| \
  16791. - X"$0" : 'X\(/\)$' \| \
  16792. - . : '\(.\)' 2>/dev/null ||
  16793. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  16794. echo X/"$0" |
  16795. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  16796. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  16797. - /^X\/\(\/\).*/{ s//\1/; q; }
  16798. - s/.*/./; q'`
  16799. -
  16800. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  16801. + s//\1/
  16802. + q
  16803. + }
  16804. + /^X\/\(\/\/\)$/{
  16805. + s//\1/
  16806. + q
  16807. + }
  16808. + /^X\/\(\/\).*/{
  16809. + s//\1/
  16810. + q
  16811. + }
  16812. + s/.*/./; q'`
  16813. -# PATH needs CR, and LINENO needs CR and PATH.
  16814. -# Avoid depending upon Character Ranges.
  16815. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  16816. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  16817. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  16818. -as_cr_digits='0123456789'
  16819. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  16820. -
  16821. -# The user is always right.
  16822. -if test "${PATH_SEPARATOR+set}" != set; then
  16823. - echo "#! /bin/sh" >conf$$.sh
  16824. - echo "exit 0" >>conf$$.sh
  16825. - chmod +x conf$$.sh
  16826. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  16827. - PATH_SEPARATOR=';'
  16828. - else
  16829. - PATH_SEPARATOR=:
  16830. - fi
  16831. - rm -f conf$$.sh
  16832. -fi
  16833. +# CDPATH.
  16834. +$as_unset CDPATH
  16835. - as_lineno_1=$LINENO
  16836. - as_lineno_2=$LINENO
  16837. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  16838. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  16839. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  16840. - # Find who we are. Look in the path if we contain no path at all
  16841. - # relative or not.
  16842. - case $0 in
  16843. - *[\\/]* ) as_myself=$0 ;;
  16844. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16845. -for as_dir in $PATH
  16846. -do
  16847. - IFS=$as_save_IFS
  16848. - test -z "$as_dir" && as_dir=.
  16849. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  16850. -done
  16851. - ;;
  16852. - esac
  16853. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  16854. - # in which case we are not to be found in the path.
  16855. - if test "x$as_myself" = x; then
  16856. - as_myself=$0
  16857. - fi
  16858. - if test ! -f "$as_myself"; then
  16859. - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  16860. -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  16861. - { (exit 1); exit 1; }; }
  16862. - fi
  16863. - case $CONFIG_SHELL in
  16864. - '')
  16865. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16866. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  16867. -do
  16868. - IFS=$as_save_IFS
  16869. - test -z "$as_dir" && as_dir=.
  16870. - for as_base in sh bash ksh sh5; do
  16871. - case $as_dir in
  16872. - /*)
  16873. - if ("$as_dir/$as_base" -c '
  16874. as_lineno_1=$LINENO
  16875. as_lineno_2=$LINENO
  16876. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  16877. test "x$as_lineno_1" != "x$as_lineno_2" &&
  16878. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  16879. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  16880. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  16881. - CONFIG_SHELL=$as_dir/$as_base
  16882. - export CONFIG_SHELL
  16883. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  16884. - fi;;
  16885. - esac
  16886. - done
  16887. -done
  16888. -;;
  16889. - esac
  16890. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  16891. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  16892. # uniformly replaced by the line number. The first 'sed' inserts a
  16893. - # line-number line before each line; the second 'sed' does the real
  16894. - # work. The second script uses 'N' to pair each line-number line
  16895. - # with the numbered line, and appends trailing '-' during
  16896. - # substitution so that $LINENO is not a special case at line end.
  16897. + # line-number line after each line using $LINENO; the second 'sed'
  16898. + # does the real work. The second script uses 'N' to pair each
  16899. + # line-number line with the line containing $LINENO, and appends
  16900. + # trailing '-' during substitution so that $LINENO is not a special
  16901. + # case at line end.
  16902. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  16903. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  16904. - sed '=' <$as_myself |
  16905. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  16906. + # E. McMahon (1931-1989) for sed's syntax. :-)
  16907. + sed -n '
  16908. + p
  16909. + /[$]LINENO/=
  16910. + ' <$as_myself |
  16911. sed '
  16912. + s/[$]LINENO.*/&-/
  16913. + t lineno
  16914. + b
  16915. + :lineno
  16916. N
  16917. - s,$,-,
  16918. - : loop
  16919. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  16920. + :loop
  16921. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  16922. t loop
  16923. - s,-$,,
  16924. - s,^['$as_cr_digits']*\n,,
  16925. + s/-\n.*//
  16926. ' >$as_me.lineno &&
  16927. - chmod +x $as_me.lineno ||
  16928. - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  16929. -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  16930. + chmod +x "$as_me.lineno" ||
  16931. + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  16932. { (exit 1); exit 1; }; }
  16933. # Don't try to exec as it changes $[0], causing all sort of problems
  16934. # (the dirname of $[0] is not the place where we might find the
  16935. - # original and so on. Autoconf is especially sensible to this).
  16936. - . ./$as_me.lineno
  16937. + # original and so on. Autoconf is especially sensitive to this).
  16938. + . "./$as_me.lineno"
  16939. # Exit status is that of the last command.
  16940. exit
  16941. }
  16942. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  16943. - *c*,-n*) ECHO_N= ECHO_C='
  16944. -' ECHO_T=' ' ;;
  16945. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  16946. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  16947. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  16948. + as_dirname=dirname
  16949. +else
  16950. + as_dirname=false
  16951. +fi
  16952. +
  16953. +ECHO_C= ECHO_N= ECHO_T=
  16954. +case `echo -n x` in
  16955. +-n*)
  16956. + case `echo 'x\c'` in
  16957. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  16958. + *) ECHO_C='\c';;
  16959. + esac;;
  16960. +*)
  16961. + ECHO_N='-n';;
  16962. esac
  16963. -if expr a : '\(a\)' >/dev/null 2>&1; then
  16964. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  16965. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  16966. as_expr=expr
  16967. else
  16968. as_expr=false
  16969. fi
  16970. rm -f conf$$ conf$$.exe conf$$.file
  16971. +if test -d conf$$.dir; then
  16972. + rm -f conf$$.dir/conf$$.file
  16973. +else
  16974. + rm -f conf$$.dir
  16975. + mkdir conf$$.dir
  16976. +fi
  16977. echo >conf$$.file
  16978. if ln -s conf$$.file conf$$ 2>/dev/null; then
  16979. - # We could just check for DJGPP; but this test a) works b) is more generic
  16980. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  16981. - if test -f conf$$.exe; then
  16982. - # Don't use ln at all; we don't have any links
  16983. + as_ln_s='ln -s'
  16984. + # ... but there are two gotchas:
  16985. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  16986. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  16987. + # In both cases, we have to default to `cp -p'.
  16988. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  16989. as_ln_s='cp -p'
  16990. - else
  16991. - as_ln_s='ln -s'
  16992. - fi
  16993. elif ln conf$$.file conf$$ 2>/dev/null; then
  16994. as_ln_s=ln
  16995. else
  16996. as_ln_s='cp -p'
  16997. fi
  16998. -rm -f conf$$ conf$$.exe conf$$.file
  16999. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  17000. +rmdir conf$$.dir 2>/dev/null
  17001. if mkdir -p . 2>/dev/null; then
  17002. as_mkdir_p=:
  17003. @@ -15782,7 +15500,28 @@
  17004. as_mkdir_p=false
  17005. fi
  17006. -as_executable_p="test -f"
  17007. +if test -x / >/dev/null 2>&1; then
  17008. + as_test_x='test -x'
  17009. +else
  17010. + if ls -dL / >/dev/null 2>&1; then
  17011. + as_ls_L_option=L
  17012. + else
  17013. + as_ls_L_option=
  17014. + fi
  17015. + as_test_x='
  17016. + eval sh -c '\''
  17017. + if test -d "$1"; then
  17018. + test -d "$1/.";
  17019. + else
  17020. + case $1 in
  17021. + -*)set "./$1";;
  17022. + esac;
  17023. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  17024. + ???[sx]*):;;*)false;;esac;fi
  17025. + '\'' sh
  17026. + '
  17027. +fi
  17028. +as_executable_p=$as_test_x
  17029. # Sed expression to map a string onto a valid CPP name.
  17030. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  17031. @@ -15791,31 +15530,14 @@
  17032. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  17033. -# IFS
  17034. -# We need space, tab and new line, in precisely that order.
  17035. -as_nl='
  17036. -'
  17037. -IFS=" $as_nl"
  17038. -
  17039. -# CDPATH.
  17040. -$as_unset CDPATH
  17041. -
  17042. exec 6>&1
  17043. -# Open the log real soon, to keep \$[0] and so on meaningful, and to
  17044. +# Save the log message, to keep $[0] and so on meaningful, and to
  17045. # report actual input values of CONFIG_FILES etc. instead of their
  17046. -# values after options handling. Logging --version etc. is OK.
  17047. -exec 5>>auto/config.log
  17048. -{
  17049. - echo
  17050. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  17051. -## Running $as_me. ##
  17052. -_ASBOX
  17053. -} >&5
  17054. -cat >&5 <<_CSEOF
  17055. -
  17056. +# values after options handling.
  17057. +ac_log="
  17058. This file was extended by $as_me, which was
  17059. -generated by GNU Autoconf 2.59. Invocation command line was
  17060. +generated by GNU Autoconf 2.61. Invocation command line was
  17061. CONFIG_FILES = $CONFIG_FILES
  17062. CONFIG_HEADERS = $CONFIG_HEADERS
  17063. @@ -15823,30 +15545,19 @@
  17064. CONFIG_COMMANDS = $CONFIG_COMMANDS
  17065. $ $0 $@
  17066. -_CSEOF
  17067. -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  17068. -echo >&5
  17069. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  17070. +"
  17071. +
  17072. _ACEOF
  17073. +cat >>$CONFIG_STATUS <<_ACEOF
  17074. # Files that config.status was made for.
  17075. -if test -n "$ac_config_files"; then
  17076. - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  17077. -fi
  17078. -
  17079. -if test -n "$ac_config_headers"; then
  17080. - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  17081. -fi
  17082. -
  17083. -if test -n "$ac_config_links"; then
  17084. - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  17085. -fi
  17086. +config_files="$ac_config_files"
  17087. +config_headers="$ac_config_headers"
  17088. -if test -n "$ac_config_commands"; then
  17089. - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  17090. -fi
  17091. +_ACEOF
  17092. cat >>$CONFIG_STATUS <<\_ACEOF
  17093. -
  17094. ac_cs_usage="\
  17095. \`$as_me' instantiates files from templates according to the
  17096. current configuration.
  17097. @@ -15854,7 +15565,7 @@
  17098. Usage: $0 [OPTIONS] [FILE]...
  17099. -h, --help print this help, then exit
  17100. - -V, --version print version number, then exit
  17101. + -V, --version print version number and configuration settings, then exit
  17102. -q, --quiet do not print progress messages
  17103. -d, --debug don't remove temporary files
  17104. --recheck update $as_me by reconfiguring in the same conditions
  17105. @@ -15870,18 +15581,20 @@
  17106. $config_headers
  17107. Report bugs to <bug-autoconf@gnu.org>."
  17108. -_ACEOF
  17109. +_ACEOF
  17110. cat >>$CONFIG_STATUS <<_ACEOF
  17111. ac_cs_version="\\
  17112. config.status
  17113. -configured by $0, generated by GNU Autoconf 2.59,
  17114. - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  17115. +configured by $0, generated by GNU Autoconf 2.61,
  17116. + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  17117. -Copyright (C) 2003 Free Software Foundation, Inc.
  17118. +Copyright (C) 2006 Free Software Foundation, Inc.
  17119. This config.status script is free software; the Free Software Foundation
  17120. gives unlimited permission to copy, distribute and modify it."
  17121. -srcdir=$srcdir
  17122. +
  17123. +ac_pwd='$ac_pwd'
  17124. +srcdir='$srcdir'
  17125. _ACEOF
  17126. cat >>$CONFIG_STATUS <<\_ACEOF
  17127. @@ -15892,39 +15605,24 @@
  17128. do
  17129. case $1 in
  17130. --*=*)
  17131. - ac_option=`expr "x$1" : 'x\([^=]*\)='`
  17132. - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  17133. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  17134. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  17135. ac_shift=:
  17136. ;;
  17137. - -*)
  17138. + *)
  17139. ac_option=$1
  17140. ac_optarg=$2
  17141. ac_shift=shift
  17142. ;;
  17143. - *) # This is not an option, so the user has probably given explicit
  17144. - # arguments.
  17145. - ac_option=$1
  17146. - ac_need_defaults=false;;
  17147. esac
  17148. case $ac_option in
  17149. # Handling of the options.
  17150. -_ACEOF
  17151. -cat >>$CONFIG_STATUS <<\_ACEOF
  17152. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  17153. ac_cs_recheck=: ;;
  17154. - --version | --vers* | -V )
  17155. - echo "$ac_cs_version"; exit 0 ;;
  17156. - --he | --h)
  17157. - # Conflict between --help and --header
  17158. - { { echo "$as_me:$LINENO: error: ambiguous option: $1
  17159. -Try \`$0 --help' for more information." >&5
  17160. -echo "$as_me: error: ambiguous option: $1
  17161. -Try \`$0 --help' for more information." >&2;}
  17162. - { (exit 1); exit 1; }; };;
  17163. - --help | --hel | -h )
  17164. - echo "$ac_cs_usage"; exit 0 ;;
  17165. - --debug | --d* | -d )
  17166. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  17167. + echo "$ac_cs_version"; exit ;;
  17168. + --debug | --debu | --deb | --de | --d | -d )
  17169. debug=: ;;
  17170. --file | --fil | --fi | --f )
  17171. $ac_shift
  17172. @@ -15934,18 +15632,24 @@
  17173. $ac_shift
  17174. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  17175. ac_need_defaults=false;;
  17176. + --he | --h)
  17177. + # Conflict between --help and --header
  17178. + { echo "$as_me: error: ambiguous option: $1
  17179. +Try \`$0 --help' for more information." >&2
  17180. + { (exit 1); exit 1; }; };;
  17181. + --help | --hel | -h )
  17182. + echo "$ac_cs_usage"; exit ;;
  17183. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  17184. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  17185. ac_cs_silent=: ;;
  17186. # This is an error.
  17187. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  17188. -Try \`$0 --help' for more information." >&5
  17189. -echo "$as_me: error: unrecognized option: $1
  17190. -Try \`$0 --help' for more information." >&2;}
  17191. + -*) { echo "$as_me: error: unrecognized option: $1
  17192. +Try \`$0 --help' for more information." >&2
  17193. { (exit 1); exit 1; }; } ;;
  17194. - *) ac_config_targets="$ac_config_targets $1" ;;
  17195. + *) ac_config_targets="$ac_config_targets $1"
  17196. + ac_need_defaults=false ;;
  17197. esac
  17198. shift
  17199. @@ -15961,29 +15665,43 @@
  17200. _ACEOF
  17201. cat >>$CONFIG_STATUS <<_ACEOF
  17202. if \$ac_cs_recheck; then
  17203. - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  17204. - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  17205. + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  17206. + CONFIG_SHELL=$SHELL
  17207. + export CONFIG_SHELL
  17208. + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  17209. fi
  17210. _ACEOF
  17211. +cat >>$CONFIG_STATUS <<\_ACEOF
  17212. +exec 5>>config.log
  17213. +{
  17214. + echo
  17215. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  17216. +## Running $as_me. ##
  17217. +_ASBOX
  17218. + echo "$ac_log"
  17219. +} >&5
  17220. -
  17221. -
  17222. -
  17223. +_ACEOF
  17224. +cat >>$CONFIG_STATUS <<_ACEOF
  17225. +_ACEOF
  17226. cat >>$CONFIG_STATUS <<\_ACEOF
  17227. +
  17228. +# Handling of arguments.
  17229. for ac_config_target in $ac_config_targets
  17230. do
  17231. - case "$ac_config_target" in
  17232. - # Handling of arguments.
  17233. - "auto/config.mk" ) CONFIG_FILES="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
  17234. - "auto/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
  17235. + case $ac_config_target in
  17236. + "auto/config.h") CONFIG_HEADERS="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
  17237. + "auto/config.mk") CONFIG_FILES="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
  17238. +
  17239. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  17240. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  17241. { (exit 1); exit 1; }; };;
  17242. esac
  17243. done
  17244. +
  17245. # If the user did not use the arguments to specify the items to instantiate,
  17246. # then the envvar interface is used. Set only those that are not.
  17247. # We use the long form for the default assignment because of an extremely
  17248. @@ -15994,373 +15712,483 @@
  17249. fi
  17250. # Have a temporary directory for convenience. Make it in the build tree
  17251. -# simply because there is no reason to put it here, and in addition,
  17252. +# simply because there is no reason against having it here, and in addition,
  17253. # creating and moving files from /tmp can sometimes cause problems.
  17254. -# Create a temporary directory, and hook for its removal unless debugging.
  17255. +# Hook for its removal unless debugging.
  17256. +# Note that there is a small window in which the directory will not be cleaned:
  17257. +# after its creation but before its name has been assigned to `$tmp'.
  17258. $debug ||
  17259. {
  17260. - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  17261. + tmp=
  17262. + trap 'exit_status=$?
  17263. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  17264. +' 0
  17265. trap '{ (exit 1); exit 1; }' 1 2 13 15
  17266. }
  17267. -
  17268. # Create a (secure) tmp directory for tmp files.
  17269. {
  17270. - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  17271. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  17272. test -n "$tmp" && test -d "$tmp"
  17273. } ||
  17274. {
  17275. - tmp=./confstat$$-$RANDOM
  17276. - (umask 077 && mkdir $tmp)
  17277. + tmp=./conf$$-$RANDOM
  17278. + (umask 077 && mkdir "$tmp")
  17279. } ||
  17280. {
  17281. echo "$me: cannot create a temporary directory in ." >&2
  17282. { (exit 1); exit 1; }
  17283. }
  17284. -_ACEOF
  17285. -
  17286. -cat >>$CONFIG_STATUS <<_ACEOF
  17287. -
  17288. #
  17289. -# CONFIG_FILES section.
  17290. +# Set up the sed scripts for CONFIG_FILES section.
  17291. #
  17292. # No need to generate the scripts if there are no CONFIG_FILES.
  17293. # This happens for instance when ./config.status config.h
  17294. -if test -n "\$CONFIG_FILES"; then
  17295. - # Protect against being on the right side of a sed subst in config.status.
  17296. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  17297. - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  17298. -s,@SHELL@,$SHELL,;t t
  17299. -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  17300. -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  17301. -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  17302. -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  17303. -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  17304. -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  17305. -s,@exec_prefix@,$exec_prefix,;t t
  17306. -s,@prefix@,$prefix,;t t
  17307. -s,@program_transform_name@,$program_transform_name,;t t
  17308. -s,@bindir@,$bindir,;t t
  17309. -s,@sbindir@,$sbindir,;t t
  17310. -s,@libexecdir@,$libexecdir,;t t
  17311. -s,@datadir@,$datadir,;t t
  17312. -s,@sysconfdir@,$sysconfdir,;t t
  17313. -s,@sharedstatedir@,$sharedstatedir,;t t
  17314. -s,@localstatedir@,$localstatedir,;t t
  17315. -s,@libdir@,$libdir,;t t
  17316. -s,@includedir@,$includedir,;t t
  17317. -s,@oldincludedir@,$oldincludedir,;t t
  17318. -s,@infodir@,$infodir,;t t
  17319. -s,@mandir@,$mandir,;t t
  17320. -s,@build_alias@,$build_alias,;t t
  17321. -s,@host_alias@,$host_alias,;t t
  17322. -s,@target_alias@,$target_alias,;t t
  17323. -s,@DEFS@,$DEFS,;t t
  17324. -s,@ECHO_C@,$ECHO_C,;t t
  17325. -s,@ECHO_N@,$ECHO_N,;t t
  17326. -s,@ECHO_T@,$ECHO_T,;t t
  17327. -s,@LIBS@,$LIBS,;t t
  17328. -s,@SET_MAKE@,$SET_MAKE,;t t
  17329. -s,@CC@,$CC,;t t
  17330. -s,@CFLAGS@,$CFLAGS,;t t
  17331. -s,@LDFLAGS@,$LDFLAGS,;t t
  17332. -s,@CPPFLAGS@,$CPPFLAGS,;t t
  17333. -s,@ac_ct_CC@,$ac_ct_CC,;t t
  17334. -s,@EXEEXT@,$EXEEXT,;t t
  17335. -s,@OBJEXT@,$OBJEXT,;t t
  17336. -s,@CPP@,$CPP,;t t
  17337. -s,@EGREP@,$EGREP,;t t
  17338. -s,@AWK@,$AWK,;t t
  17339. -s,@STRIP@,$STRIP,;t t
  17340. -s,@CPP_MM@,$CPP_MM,;t t
  17341. -s,@OS_EXTRA_SRC@,$OS_EXTRA_SRC,;t t
  17342. -s,@OS_EXTRA_OBJ@,$OS_EXTRA_OBJ,;t t
  17343. -s,@VIMNAME@,$VIMNAME,;t t
  17344. -s,@EXNAME@,$EXNAME,;t t
  17345. -s,@VIEWNAME@,$VIEWNAME,;t t
  17346. -s,@line_break@,$line_break,;t t
  17347. -s,@dovimdiff@,$dovimdiff,;t t
  17348. -s,@dogvimdiff@,$dogvimdiff,;t t
  17349. -s,@compiledby@,$compiledby,;t t
  17350. -s,@vi_cv_path_mzscheme@,$vi_cv_path_mzscheme,;t t
  17351. -s,@MZSCHEME_SRC@,$MZSCHEME_SRC,;t t
  17352. -s,@MZSCHEME_OBJ@,$MZSCHEME_OBJ,;t t
  17353. -s,@MZSCHEME_PRO@,$MZSCHEME_PRO,;t t
  17354. -s,@MZSCHEME_LIBS@,$MZSCHEME_LIBS,;t t
  17355. -s,@MZSCHEME_CFLAGS@,$MZSCHEME_CFLAGS,;t t
  17356. -s,@vi_cv_path_perl@,$vi_cv_path_perl,;t t
  17357. -s,@vi_cv_perllib@,$vi_cv_perllib,;t t
  17358. -s,@shrpenv@,$shrpenv,;t t
  17359. -s,@PERL_SRC@,$PERL_SRC,;t t
  17360. -s,@PERL_OBJ@,$PERL_OBJ,;t t
  17361. -s,@PERL_PRO@,$PERL_PRO,;t t
  17362. -s,@PERL_CFLAGS@,$PERL_CFLAGS,;t t
  17363. -s,@PERL_LIBS@,$PERL_LIBS,;t t
  17364. -s,@vi_cv_path_python@,$vi_cv_path_python,;t t
  17365. -s,@PYTHON_CONFDIR@,$PYTHON_CONFDIR,;t t
  17366. -s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
  17367. -s,@PYTHON_GETPATH_CFLAGS@,$PYTHON_GETPATH_CFLAGS,;t t
  17368. -s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
  17369. -s,@PYTHON_SRC@,$PYTHON_SRC,;t t
  17370. -s,@PYTHON_OBJ@,$PYTHON_OBJ,;t t
  17371. -s,@vi_cv_path_tcl@,$vi_cv_path_tcl,;t t
  17372. -s,@TCL_SRC@,$TCL_SRC,;t t
  17373. -s,@TCL_OBJ@,$TCL_OBJ,;t t
  17374. -s,@TCL_PRO@,$TCL_PRO,;t t
  17375. -s,@TCL_CFLAGS@,$TCL_CFLAGS,;t t
  17376. -s,@TCL_LIBS@,$TCL_LIBS,;t t
  17377. -s,@vi_cv_path_ruby@,$vi_cv_path_ruby,;t t
  17378. -s,@RUBY_SRC@,$RUBY_SRC,;t t
  17379. -s,@RUBY_OBJ@,$RUBY_OBJ,;t t
  17380. -s,@RUBY_PRO@,$RUBY_PRO,;t t
  17381. -s,@RUBY_CFLAGS@,$RUBY_CFLAGS,;t t
  17382. -s,@RUBY_LIBS@,$RUBY_LIBS,;t t
  17383. -s,@WORKSHOP_SRC@,$WORKSHOP_SRC,;t t
  17384. -s,@WORKSHOP_OBJ@,$WORKSHOP_OBJ,;t t
  17385. -s,@NETBEANS_SRC@,$NETBEANS_SRC,;t t
  17386. -s,@NETBEANS_OBJ@,$NETBEANS_OBJ,;t t
  17387. -s,@SNIFF_SRC@,$SNIFF_SRC,;t t
  17388. -s,@SNIFF_OBJ@,$SNIFF_OBJ,;t t
  17389. -s,@xmkmfpath@,$xmkmfpath,;t t
  17390. -s,@X_CFLAGS@,$X_CFLAGS,;t t
  17391. -s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
  17392. -s,@X_LIBS@,$X_LIBS,;t t
  17393. -s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
  17394. -s,@X_LIB@,$X_LIB,;t t
  17395. -s,@GTK_CONFIG@,$GTK_CONFIG,;t t
  17396. -s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
  17397. -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
  17398. -s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
  17399. -s,@GTK_LIBS@,$GTK_LIBS,;t t
  17400. -s,@GTK_LIBNAME@,$GTK_LIBNAME,;t t
  17401. -s,@GNOME_LIBS@,$GNOME_LIBS,;t t
  17402. -s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t
  17403. -s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t
  17404. -s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
  17405. -s,@MOTIF_LIBNAME@,$MOTIF_LIBNAME,;t t
  17406. -s,@NARROW_PROTO@,$NARROW_PROTO,;t t
  17407. -s,@GUI_INC_LOC@,$GUI_INC_LOC,;t t
  17408. -s,@GUI_LIB_LOC@,$GUI_LIB_LOC,;t t
  17409. -s,@GUITYPE@,$GUITYPE,;t t
  17410. -s,@GUI_X_LIBS@,$GUI_X_LIBS,;t t
  17411. -s,@HANGULIN_SRC@,$HANGULIN_SRC,;t t
  17412. -s,@HANGULIN_OBJ@,$HANGULIN_OBJ,;t t
  17413. -s,@TAGPRG@,$TAGPRG,;t t
  17414. -s,@INSTALL_LANGS@,$INSTALL_LANGS,;t t
  17415. -s,@INSTALL_TOOL_LANGS@,$INSTALL_TOOL_LANGS,;t t
  17416. -s,@MSGFMT@,$MSGFMT,;t t
  17417. -s,@MAKEMO@,$MAKEMO,;t t
  17418. -s,@DEPEND_CFLAGS_FILTER@,$DEPEND_CFLAGS_FILTER,;t t
  17419. -s,@LIBOBJS@,$LIBOBJS,;t t
  17420. -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  17421. -CEOF
  17422. -
  17423. -_ACEOF
  17424. -
  17425. - cat >>$CONFIG_STATUS <<\_ACEOF
  17426. - # Split the substitutions into bite-sized pieces for seds with
  17427. - # small command number limits, like on Digital OSF/1 and HP-UX.
  17428. - ac_max_sed_lines=48
  17429. - ac_sed_frag=1 # Number of current file.
  17430. - ac_beg=1 # First line for current file.
  17431. - ac_end=$ac_max_sed_lines # Line after last line for current file.
  17432. - ac_more_lines=:
  17433. - ac_sed_cmds=
  17434. - while $ac_more_lines; do
  17435. - if test $ac_beg -gt 1; then
  17436. - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  17437. - else
  17438. - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  17439. - fi
  17440. - if test ! -s $tmp/subs.frag; then
  17441. - ac_more_lines=false
  17442. - else
  17443. - # The purpose of the label and of the branching condition is to
  17444. - # speed up the sed processing (if there are no `@' at all, there
  17445. - # is no need to browse any of the substitutions).
  17446. - # These are the two extra sed commands mentioned above.
  17447. - (echo ':t
  17448. - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  17449. - if test -z "$ac_sed_cmds"; then
  17450. - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  17451. - else
  17452. - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  17453. - fi
  17454. - ac_sed_frag=`expr $ac_sed_frag + 1`
  17455. - ac_beg=$ac_end
  17456. - ac_end=`expr $ac_end + $ac_max_sed_lines`
  17457. - fi
  17458. - done
  17459. - if test -z "$ac_sed_cmds"; then
  17460. - ac_sed_cmds=cat
  17461. +if test -n "$CONFIG_FILES"; then
  17462. +
  17463. +_ACEOF
  17464. +
  17465. +
  17466. +
  17467. +ac_delim='%!_!# '
  17468. +for ac_last_try in false false false false false :; do
  17469. + cat >conf$$subs.sed <<_ACEOF
  17470. +SHELL!$SHELL$ac_delim
  17471. +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  17472. +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  17473. +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  17474. +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  17475. +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  17476. +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  17477. +exec_prefix!$exec_prefix$ac_delim
  17478. +prefix!$prefix$ac_delim
  17479. +program_transform_name!$program_transform_name$ac_delim
  17480. +bindir!$bindir$ac_delim
  17481. +sbindir!$sbindir$ac_delim
  17482. +libexecdir!$libexecdir$ac_delim
  17483. +datarootdir!$datarootdir$ac_delim
  17484. +datadir!$datadir$ac_delim
  17485. +sysconfdir!$sysconfdir$ac_delim
  17486. +sharedstatedir!$sharedstatedir$ac_delim
  17487. +localstatedir!$localstatedir$ac_delim
  17488. +includedir!$includedir$ac_delim
  17489. +oldincludedir!$oldincludedir$ac_delim
  17490. +docdir!$docdir$ac_delim
  17491. +infodir!$infodir$ac_delim
  17492. +htmldir!$htmldir$ac_delim
  17493. +dvidir!$dvidir$ac_delim
  17494. +pdfdir!$pdfdir$ac_delim
  17495. +psdir!$psdir$ac_delim
  17496. +libdir!$libdir$ac_delim
  17497. +localedir!$localedir$ac_delim
  17498. +mandir!$mandir$ac_delim
  17499. +DEFS!$DEFS$ac_delim
  17500. +ECHO_C!$ECHO_C$ac_delim
  17501. +ECHO_N!$ECHO_N$ac_delim
  17502. +ECHO_T!$ECHO_T$ac_delim
  17503. +LIBS!$LIBS$ac_delim
  17504. +build_alias!$build_alias$ac_delim
  17505. +host_alias!$host_alias$ac_delim
  17506. +target_alias!$target_alias$ac_delim
  17507. +SET_MAKE!$SET_MAKE$ac_delim
  17508. +CC!$CC$ac_delim
  17509. +CFLAGS!$CFLAGS$ac_delim
  17510. +LDFLAGS!$LDFLAGS$ac_delim
  17511. +CPPFLAGS!$CPPFLAGS$ac_delim
  17512. +ac_ct_CC!$ac_ct_CC$ac_delim
  17513. +EXEEXT!$EXEEXT$ac_delim
  17514. +OBJEXT!$OBJEXT$ac_delim
  17515. +CPP!$CPP$ac_delim
  17516. +GREP!$GREP$ac_delim
  17517. +EGREP!$EGREP$ac_delim
  17518. +AWK!$AWK$ac_delim
  17519. +STRIP!$STRIP$ac_delim
  17520. +CPP_MM!$CPP_MM$ac_delim
  17521. +OS_EXTRA_SRC!$OS_EXTRA_SRC$ac_delim
  17522. +OS_EXTRA_OBJ!$OS_EXTRA_OBJ$ac_delim
  17523. +VIMNAME!$VIMNAME$ac_delim
  17524. +EXNAME!$EXNAME$ac_delim
  17525. +VIEWNAME!$VIEWNAME$ac_delim
  17526. +line_break!$line_break$ac_delim
  17527. +dovimdiff!$dovimdiff$ac_delim
  17528. +dogvimdiff!$dogvimdiff$ac_delim
  17529. +compiledby!$compiledby$ac_delim
  17530. +vi_cv_path_mzscheme!$vi_cv_path_mzscheme$ac_delim
  17531. +MZSCHEME_SRC!$MZSCHEME_SRC$ac_delim
  17532. +MZSCHEME_OBJ!$MZSCHEME_OBJ$ac_delim
  17533. +MZSCHEME_PRO!$MZSCHEME_PRO$ac_delim
  17534. +MZSCHEME_LIBS!$MZSCHEME_LIBS$ac_delim
  17535. +MZSCHEME_CFLAGS!$MZSCHEME_CFLAGS$ac_delim
  17536. +vi_cv_path_perl!$vi_cv_path_perl$ac_delim
  17537. +vi_cv_perllib!$vi_cv_perllib$ac_delim
  17538. +shrpenv!$shrpenv$ac_delim
  17539. +PERL_SRC!$PERL_SRC$ac_delim
  17540. +PERL_OBJ!$PERL_OBJ$ac_delim
  17541. +PERL_PRO!$PERL_PRO$ac_delim
  17542. +PERL_CFLAGS!$PERL_CFLAGS$ac_delim
  17543. +PERL_LIBS!$PERL_LIBS$ac_delim
  17544. +vi_cv_path_python!$vi_cv_path_python$ac_delim
  17545. +PYTHON_CONFDIR!$PYTHON_CONFDIR$ac_delim
  17546. +PYTHON_LIBS!$PYTHON_LIBS$ac_delim
  17547. +PYTHON_GETPATH_CFLAGS!$PYTHON_GETPATH_CFLAGS$ac_delim
  17548. +PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
  17549. +PYTHON_SRC!$PYTHON_SRC$ac_delim
  17550. +PYTHON_OBJ!$PYTHON_OBJ$ac_delim
  17551. +vi_cv_path_tcl!$vi_cv_path_tcl$ac_delim
  17552. +TCL_SRC!$TCL_SRC$ac_delim
  17553. +TCL_OBJ!$TCL_OBJ$ac_delim
  17554. +TCL_PRO!$TCL_PRO$ac_delim
  17555. +TCL_CFLAGS!$TCL_CFLAGS$ac_delim
  17556. +TCL_LIBS!$TCL_LIBS$ac_delim
  17557. +vi_cv_path_ruby!$vi_cv_path_ruby$ac_delim
  17558. +RUBY_SRC!$RUBY_SRC$ac_delim
  17559. +RUBY_OBJ!$RUBY_OBJ$ac_delim
  17560. +RUBY_PRO!$RUBY_PRO$ac_delim
  17561. +RUBY_CFLAGS!$RUBY_CFLAGS$ac_delim
  17562. +RUBY_LIBS!$RUBY_LIBS$ac_delim
  17563. +WORKSHOP_SRC!$WORKSHOP_SRC$ac_delim
  17564. +WORKSHOP_OBJ!$WORKSHOP_OBJ$ac_delim
  17565. +NETBEANS_SRC!$NETBEANS_SRC$ac_delim
  17566. +NETBEANS_OBJ!$NETBEANS_OBJ$ac_delim
  17567. +_ACEOF
  17568. +
  17569. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  17570. + break
  17571. + elif $ac_last_try; then
  17572. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  17573. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  17574. + { (exit 1); exit 1; }; }
  17575. + else
  17576. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  17577. fi
  17578. -fi # test -n "$CONFIG_FILES"
  17579. +done
  17580. +
  17581. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  17582. +if test -n "$ac_eof"; then
  17583. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  17584. + ac_eof=`expr $ac_eof + 1`
  17585. +fi
  17586. +
  17587. +cat >>$CONFIG_STATUS <<_ACEOF
  17588. +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  17589. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  17590. +_ACEOF
  17591. +sed '
  17592. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  17593. +s/^/s,@/; s/!/@,|#_!!_#|/
  17594. +:n
  17595. +t n
  17596. +s/'"$ac_delim"'$/,g/; t
  17597. +s/$/\\/; p
  17598. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  17599. +' >>$CONFIG_STATUS <conf$$subs.sed
  17600. +rm -f conf$$subs.sed
  17601. +cat >>$CONFIG_STATUS <<_ACEOF
  17602. +CEOF$ac_eof
  17603. +_ACEOF
  17604. +
  17605. +
  17606. +ac_delim='%!_!# '
  17607. +for ac_last_try in false false false false false :; do
  17608. + cat >conf$$subs.sed <<_ACEOF
  17609. +SNIFF_SRC!$SNIFF_SRC$ac_delim
  17610. +SNIFF_OBJ!$SNIFF_OBJ$ac_delim
  17611. +xmkmfpath!$xmkmfpath$ac_delim
  17612. +XMKMF!$XMKMF$ac_delim
  17613. +X_CFLAGS!$X_CFLAGS$ac_delim
  17614. +X_PRE_LIBS!$X_PRE_LIBS$ac_delim
  17615. +X_LIBS!$X_LIBS$ac_delim
  17616. +X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
  17617. +X_LIB!$X_LIB$ac_delim
  17618. +GTK_CONFIG!$GTK_CONFIG$ac_delim
  17619. +GTK12_CONFIG!$GTK12_CONFIG$ac_delim
  17620. +PKG_CONFIG!$PKG_CONFIG$ac_delim
  17621. +GTK_CFLAGS!$GTK_CFLAGS$ac_delim
  17622. +GTK_LIBS!$GTK_LIBS$ac_delim
  17623. +GTK_LIBNAME!$GTK_LIBNAME$ac_delim
  17624. +GNOME_LIBS!$GNOME_LIBS$ac_delim
  17625. +GNOME_LIBDIR!$GNOME_LIBDIR$ac_delim
  17626. +GNOME_INCLUDEDIR!$GNOME_INCLUDEDIR$ac_delim
  17627. +GNOME_CONFIG!$GNOME_CONFIG$ac_delim
  17628. +MOTIF_LIBNAME!$MOTIF_LIBNAME$ac_delim
  17629. +NARROW_PROTO!$NARROW_PROTO$ac_delim
  17630. +GUI_INC_LOC!$GUI_INC_LOC$ac_delim
  17631. +GUI_LIB_LOC!$GUI_LIB_LOC$ac_delim
  17632. +GUITYPE!$GUITYPE$ac_delim
  17633. +GUI_X_LIBS!$GUI_X_LIBS$ac_delim
  17634. +HANGULIN_SRC!$HANGULIN_SRC$ac_delim
  17635. +HANGULIN_OBJ!$HANGULIN_OBJ$ac_delim
  17636. +TAGPRG!$TAGPRG$ac_delim
  17637. +INSTALL_LANGS!$INSTALL_LANGS$ac_delim
  17638. +INSTALL_TOOL_LANGS!$INSTALL_TOOL_LANGS$ac_delim
  17639. +MSGFMT!$MSGFMT$ac_delim
  17640. +MAKEMO!$MAKEMO$ac_delim
  17641. +DEPEND_CFLAGS_FILTER!$DEPEND_CFLAGS_FILTER$ac_delim
  17642. +LIBOBJS!$LIBOBJS$ac_delim
  17643. +LTLIBOBJS!$LTLIBOBJS$ac_delim
  17644. +_ACEOF
  17645. +
  17646. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
  17647. + break
  17648. + elif $ac_last_try; then
  17649. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  17650. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  17651. + { (exit 1); exit 1; }; }
  17652. + else
  17653. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  17654. + fi
  17655. +done
  17656. +
  17657. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  17658. +if test -n "$ac_eof"; then
  17659. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  17660. + ac_eof=`expr $ac_eof + 1`
  17661. +fi
  17662. +cat >>$CONFIG_STATUS <<_ACEOF
  17663. +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  17664. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  17665. +_ACEOF
  17666. +sed '
  17667. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  17668. +s/^/s,@/; s/!/@,|#_!!_#|/
  17669. +:n
  17670. +t n
  17671. +s/'"$ac_delim"'$/,g/; t
  17672. +s/$/\\/; p
  17673. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  17674. +' >>$CONFIG_STATUS <conf$$subs.sed
  17675. +rm -f conf$$subs.sed
  17676. +cat >>$CONFIG_STATUS <<_ACEOF
  17677. +:end
  17678. +s/|#_!!_#|//g
  17679. +CEOF$ac_eof
  17680. _ACEOF
  17681. +
  17682. +
  17683. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  17684. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  17685. +# trailing colons and then remove the whole line if VPATH becomes empty
  17686. +# (actually we leave an empty line to preserve line numbers).
  17687. +if test "x$srcdir" = x.; then
  17688. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  17689. +s/:*\$(srcdir):*/:/
  17690. +s/:*\${srcdir}:*/:/
  17691. +s/:*@srcdir@:*/:/
  17692. +s/^\([^=]*=[ ]*\):*/\1/
  17693. +s/:*$//
  17694. +s/^[^=]*=[ ]*$//
  17695. +}'
  17696. +fi
  17697. +
  17698. cat >>$CONFIG_STATUS <<\_ACEOF
  17699. -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  17700. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  17701. - case $ac_file in
  17702. - - | *:- | *:-:* ) # input from stdin
  17703. - cat >$tmp/stdin
  17704. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  17705. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  17706. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  17707. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  17708. - * ) ac_file_in=$ac_file.in ;;
  17709. +fi # test -n "$CONFIG_FILES"
  17710. +
  17711. +
  17712. +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
  17713. +do
  17714. + case $ac_tag in
  17715. + :[FHLC]) ac_mode=$ac_tag; continue;;
  17716. + esac
  17717. + case $ac_mode$ac_tag in
  17718. + :[FHL]*:*);;
  17719. + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  17720. +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  17721. + { (exit 1); exit 1; }; };;
  17722. + :[FH]-) ac_tag=-:-;;
  17723. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  17724. + esac
  17725. + ac_save_IFS=$IFS
  17726. + IFS=:
  17727. + set x $ac_tag
  17728. + IFS=$ac_save_IFS
  17729. + shift
  17730. + ac_file=$1
  17731. + shift
  17732. +
  17733. + case $ac_mode in
  17734. + :L) ac_source=$1;;
  17735. + :[FH])
  17736. + ac_file_inputs=
  17737. + for ac_f
  17738. + do
  17739. + case $ac_f in
  17740. + -) ac_f="$tmp/stdin";;
  17741. + *) # Look for the file first in the build tree, then in the source tree
  17742. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  17743. + # because $ac_f cannot contain `:'.
  17744. + test -f "$ac_f" ||
  17745. + case $ac_f in
  17746. + [\\/$]*) false;;
  17747. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  17748. + esac ||
  17749. + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  17750. +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  17751. + { (exit 1); exit 1; }; };;
  17752. + esac
  17753. + ac_file_inputs="$ac_file_inputs $ac_f"
  17754. + done
  17755. +
  17756. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  17757. + # use $as_me), people would be surprised to read:
  17758. + # /* config.h. Generated by config.status. */
  17759. + configure_input="Generated from "`IFS=:
  17760. + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  17761. + if test x"$ac_file" != x-; then
  17762. + configure_input="$ac_file. $configure_input"
  17763. + { echo "$as_me:$LINENO: creating $ac_file" >&5
  17764. +echo "$as_me: creating $ac_file" >&6;}
  17765. + fi
  17766. +
  17767. + case $ac_tag in
  17768. + *:-:* | *:-) cat >"$tmp/stdin";;
  17769. + esac
  17770. + ;;
  17771. esac
  17772. - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  17773. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  17774. + ac_dir=`$as_dirname -- "$ac_file" ||
  17775. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17776. X"$ac_file" : 'X\(//\)[^/]' \| \
  17777. X"$ac_file" : 'X\(//\)$' \| \
  17778. - X"$ac_file" : 'X\(/\)' \| \
  17779. - . : '\(.\)' 2>/dev/null ||
  17780. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  17781. echo X"$ac_file" |
  17782. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  17783. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  17784. - /^X\(\/\/\)$/{ s//\1/; q; }
  17785. - /^X\(\/\).*/{ s//\1/; q; }
  17786. - s/.*/./; q'`
  17787. - { if $as_mkdir_p; then
  17788. - mkdir -p "$ac_dir"
  17789. - else
  17790. - as_dir="$ac_dir"
  17791. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17792. + s//\1/
  17793. + q
  17794. + }
  17795. + /^X\(\/\/\)[^/].*/{
  17796. + s//\1/
  17797. + q
  17798. + }
  17799. + /^X\(\/\/\)$/{
  17800. + s//\1/
  17801. + q
  17802. + }
  17803. + /^X\(\/\).*/{
  17804. + s//\1/
  17805. + q
  17806. + }
  17807. + s/.*/./; q'`
  17808. + { as_dir="$ac_dir"
  17809. + case $as_dir in #(
  17810. + -*) as_dir=./$as_dir;;
  17811. + esac
  17812. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  17813. as_dirs=
  17814. - while test ! -d "$as_dir"; do
  17815. - as_dirs="$as_dir $as_dirs"
  17816. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  17817. + while :; do
  17818. + case $as_dir in #(
  17819. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  17820. + *) as_qdir=$as_dir;;
  17821. + esac
  17822. + as_dirs="'$as_qdir' $as_dirs"
  17823. + as_dir=`$as_dirname -- "$as_dir" ||
  17824. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17825. X"$as_dir" : 'X\(//\)[^/]' \| \
  17826. X"$as_dir" : 'X\(//\)$' \| \
  17827. - X"$as_dir" : 'X\(/\)' \| \
  17828. - . : '\(.\)' 2>/dev/null ||
  17829. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  17830. echo X"$as_dir" |
  17831. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  17832. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  17833. - /^X\(\/\/\)$/{ s//\1/; q; }
  17834. - /^X\(\/\).*/{ s//\1/; q; }
  17835. - s/.*/./; q'`
  17836. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17837. + s//\1/
  17838. + q
  17839. + }
  17840. + /^X\(\/\/\)[^/].*/{
  17841. + s//\1/
  17842. + q
  17843. + }
  17844. + /^X\(\/\/\)$/{
  17845. + s//\1/
  17846. + q
  17847. + }
  17848. + /^X\(\/\).*/{
  17849. + s//\1/
  17850. + q
  17851. + }
  17852. + s/.*/./; q'`
  17853. + test -d "$as_dir" && break
  17854. done
  17855. - test ! -n "$as_dirs" || mkdir $as_dirs
  17856. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  17857. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  17858. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  17859. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  17860. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  17861. { (exit 1); exit 1; }; }; }
  17862. -
  17863. ac_builddir=.
  17864. -if test "$ac_dir" != .; then
  17865. +case "$ac_dir" in
  17866. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  17867. +*)
  17868. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  17869. - # A "../" for each directory in $ac_dir_suffix.
  17870. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  17871. -else
  17872. - ac_dir_suffix= ac_top_builddir=
  17873. -fi
  17874. + # A ".." for each directory in $ac_dir_suffix.
  17875. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  17876. + case $ac_top_builddir_sub in
  17877. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  17878. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  17879. + esac ;;
  17880. +esac
  17881. +ac_abs_top_builddir=$ac_pwd
  17882. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  17883. +# for backward compatibility:
  17884. +ac_top_builddir=$ac_top_build_prefix
  17885. case $srcdir in
  17886. - .) # No --srcdir option. We are building in place.
  17887. + .) # We are building in place.
  17888. ac_srcdir=.
  17889. - if test -z "$ac_top_builddir"; then
  17890. - ac_top_srcdir=.
  17891. - else
  17892. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  17893. - fi ;;
  17894. - [\\/]* | ?:[\\/]* ) # Absolute path.
  17895. + ac_top_srcdir=$ac_top_builddir_sub
  17896. + ac_abs_top_srcdir=$ac_pwd ;;
  17897. + [\\/]* | ?:[\\/]* ) # Absolute name.
  17898. ac_srcdir=$srcdir$ac_dir_suffix;
  17899. - ac_top_srcdir=$srcdir ;;
  17900. - *) # Relative path.
  17901. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  17902. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  17903. -esac
  17904. -
  17905. -# Do not use `cd foo && pwd` to compute absolute paths, because
  17906. -# the directories may not exist.
  17907. -case `pwd` in
  17908. -.) ac_abs_builddir="$ac_dir";;
  17909. -*)
  17910. - case "$ac_dir" in
  17911. - .) ac_abs_builddir=`pwd`;;
  17912. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  17913. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  17914. - esac;;
  17915. -esac
  17916. -case $ac_abs_builddir in
  17917. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  17918. -*)
  17919. - case ${ac_top_builddir}. in
  17920. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  17921. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  17922. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  17923. - esac;;
  17924. -esac
  17925. -case $ac_abs_builddir in
  17926. -.) ac_abs_srcdir=$ac_srcdir;;
  17927. -*)
  17928. - case $ac_srcdir in
  17929. - .) ac_abs_srcdir=$ac_abs_builddir;;
  17930. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  17931. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  17932. - esac;;
  17933. -esac
  17934. -case $ac_abs_builddir in
  17935. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  17936. -*)
  17937. - case $ac_top_srcdir in
  17938. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  17939. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  17940. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  17941. - esac;;
  17942. -esac
  17943. + ac_top_srcdir=$srcdir
  17944. + ac_abs_top_srcdir=$srcdir ;;
  17945. + *) # Relative name.
  17946. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  17947. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  17948. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  17949. +esac
  17950. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  17951. + case $ac_mode in
  17952. + :F)
  17953. + #
  17954. + # CONFIG_FILE
  17955. + #
  17956. - if test x"$ac_file" != x-; then
  17957. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  17958. -echo "$as_me: creating $ac_file" >&6;}
  17959. - rm -f "$ac_file"
  17960. - fi
  17961. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  17962. - # use $as_me), people would be surprised to read:
  17963. - # /* config.h. Generated by config.status. */
  17964. - if test x"$ac_file" = x-; then
  17965. - configure_input=
  17966. - else
  17967. - configure_input="$ac_file. "
  17968. - fi
  17969. - configure_input=$configure_input"Generated from `echo $ac_file_in |
  17970. - sed 's,.*/,,'` by configure."
  17971. +_ACEOF
  17972. - # First look for the input files in the build tree, otherwise in the
  17973. - # src tree.
  17974. - ac_file_inputs=`IFS=:
  17975. - for f in $ac_file_in; do
  17976. - case $f in
  17977. - -) echo $tmp/stdin ;;
  17978. - [\\/$]*)
  17979. - # Absolute (can't be DOS-style, as IFS=:)
  17980. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  17981. -echo "$as_me: error: cannot find input file: $f" >&2;}
  17982. - { (exit 1); exit 1; }; }
  17983. - echo "$f";;
  17984. - *) # Relative
  17985. - if test -f "$f"; then
  17986. - # Build tree
  17987. - echo "$f"
  17988. - elif test -f "$srcdir/$f"; then
  17989. - # Source tree
  17990. - echo "$srcdir/$f"
  17991. - else
  17992. - # /dev/null tree
  17993. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  17994. -echo "$as_me: error: cannot find input file: $f" >&2;}
  17995. - { (exit 1); exit 1; }; }
  17996. - fi;;
  17997. - esac
  17998. - done` || { (exit 1); exit 1; }
  17999. +cat >>$CONFIG_STATUS <<\_ACEOF
  18000. +# If the template does not know about datarootdir, expand it.
  18001. +# FIXME: This hack should be removed a few years after 2.60.
  18002. +ac_datarootdir_hack=; ac_datarootdir_seen=
  18003. +
  18004. +case `sed -n '/datarootdir/ {
  18005. + p
  18006. + q
  18007. +}
  18008. +/@datadir@/p
  18009. +/@docdir@/p
  18010. +/@infodir@/p
  18011. +/@localedir@/p
  18012. +/@mandir@/p
  18013. +' $ac_file_inputs` in
  18014. +*datarootdir*) ac_datarootdir_seen=yes;;
  18015. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  18016. + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  18017. +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  18018. +_ACEOF
  18019. +cat >>$CONFIG_STATUS <<_ACEOF
  18020. + ac_datarootdir_hack='
  18021. + s&@datadir@&$datadir&g
  18022. + s&@docdir@&$docdir&g
  18023. + s&@infodir@&$infodir&g
  18024. + s&@localedir@&$localedir&g
  18025. + s&@mandir@&$mandir&g
  18026. + s&\\\${datarootdir}&$datarootdir&g' ;;
  18027. +esac
  18028. _ACEOF
  18029. +
  18030. +# Neutralize VPATH when `$srcdir' = `.'.
  18031. +# Shell code in configure.ac might set extrasub.
  18032. +# FIXME: do we really want to maintain this feature?
  18033. cat >>$CONFIG_STATUS <<_ACEOF
  18034. sed "$ac_vpsub
  18035. $extrasub
  18036. @@ -16368,251 +16196,136 @@
  18037. cat >>$CONFIG_STATUS <<\_ACEOF
  18038. :t
  18039. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  18040. -s,@configure_input@,$configure_input,;t t
  18041. -s,@srcdir@,$ac_srcdir,;t t
  18042. -s,@abs_srcdir@,$ac_abs_srcdir,;t t
  18043. -s,@top_srcdir@,$ac_top_srcdir,;t t
  18044. -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  18045. -s,@builddir@,$ac_builddir,;t t
  18046. -s,@abs_builddir@,$ac_abs_builddir,;t t
  18047. -s,@top_builddir@,$ac_top_builddir,;t t
  18048. -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  18049. -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  18050. - rm -f $tmp/stdin
  18051. - if test x"$ac_file" != x-; then
  18052. - mv $tmp/out $ac_file
  18053. - else
  18054. - cat $tmp/out
  18055. - rm -f $tmp/out
  18056. - fi
  18057. -
  18058. -done
  18059. -_ACEOF
  18060. -cat >>$CONFIG_STATUS <<\_ACEOF
  18061. -
  18062. -#
  18063. -# CONFIG_HEADER section.
  18064. -#
  18065. -
  18066. -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  18067. -# NAME is the cpp macro being defined and VALUE is the value it is being given.
  18068. -#
  18069. -# ac_d sets the value in "#define NAME VALUE" lines.
  18070. -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  18071. -ac_dB='[ ].*$,\1#\2'
  18072. -ac_dC=' '
  18073. -ac_dD=',;t'
  18074. -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  18075. -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  18076. -ac_uB='$,\1#\2define\3'
  18077. -ac_uC=' '
  18078. -ac_uD=',;t'
  18079. +s&@configure_input@&$configure_input&;t t
  18080. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  18081. +s&@srcdir@&$ac_srcdir&;t t
  18082. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  18083. +s&@top_srcdir@&$ac_top_srcdir&;t t
  18084. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  18085. +s&@builddir@&$ac_builddir&;t t
  18086. +s&@abs_builddir@&$ac_abs_builddir&;t t
  18087. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  18088. +$ac_datarootdir_hack
  18089. +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  18090. +
  18091. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  18092. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  18093. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  18094. + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  18095. +which seems to be undefined. Please make sure it is defined." >&5
  18096. +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  18097. +which seems to be undefined. Please make sure it is defined." >&2;}
  18098. -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  18099. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  18100. + rm -f "$tmp/stdin"
  18101. case $ac_file in
  18102. - - | *:- | *:-:* ) # input from stdin
  18103. - cat >$tmp/stdin
  18104. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  18105. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  18106. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  18107. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  18108. - * ) ac_file_in=$ac_file.in ;;
  18109. + -) cat "$tmp/out"; rm -f "$tmp/out";;
  18110. + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  18111. esac
  18112. + ;;
  18113. + :H)
  18114. + #
  18115. + # CONFIG_HEADER
  18116. + #
  18117. +_ACEOF
  18118. +
  18119. +# Transform confdefs.h into a sed script `conftest.defines', that
  18120. +# substitutes the proper values into config.h.in to produce config.h.
  18121. +rm -f conftest.defines conftest.tail
  18122. +# First, append a space to every undef/define line, to ease matching.
  18123. +echo 's/$/ /' >conftest.defines
  18124. +# Then, protect against being on the right side of a sed subst, or in
  18125. +# an unquoted here document, in config.status. If some macros were
  18126. +# called several times there might be several #defines for the same
  18127. +# symbol, which is useless. But do not sort them, since the last
  18128. +# AC_DEFINE must be honored.
  18129. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  18130. +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  18131. +# NAME is the cpp macro being defined, VALUE is the value it is being given.
  18132. +# PARAMS is the parameter list in the macro definition--in most cases, it's
  18133. +# just an empty string.
  18134. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  18135. +ac_dB='\\)[ (].*,\\1define\\2'
  18136. +ac_dC=' '
  18137. +ac_dD=' ,'
  18138. - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  18139. -echo "$as_me: creating $ac_file" >&6;}
  18140. -
  18141. - # First look for the input files in the build tree, otherwise in the
  18142. - # src tree.
  18143. - ac_file_inputs=`IFS=:
  18144. - for f in $ac_file_in; do
  18145. - case $f in
  18146. - -) echo $tmp/stdin ;;
  18147. - [\\/$]*)
  18148. - # Absolute (can't be DOS-style, as IFS=:)
  18149. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  18150. -echo "$as_me: error: cannot find input file: $f" >&2;}
  18151. - { (exit 1); exit 1; }; }
  18152. - # Do quote $f, to prevent DOS paths from being IFS'd.
  18153. - echo "$f";;
  18154. - *) # Relative
  18155. - if test -f "$f"; then
  18156. - # Build tree
  18157. - echo "$f"
  18158. - elif test -f "$srcdir/$f"; then
  18159. - # Source tree
  18160. - echo "$srcdir/$f"
  18161. - else
  18162. - # /dev/null tree
  18163. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  18164. -echo "$as_me: error: cannot find input file: $f" >&2;}
  18165. - { (exit 1); exit 1; }; }
  18166. - fi;;
  18167. - esac
  18168. - done` || { (exit 1); exit 1; }
  18169. - # Remove the trailing spaces.
  18170. - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  18171. -
  18172. -_ACEOF
  18173. -
  18174. -# Transform confdefs.h into two sed scripts, `conftest.defines' and
  18175. -# `conftest.undefs', that substitutes the proper values into
  18176. -# config.h.in to produce config.h. The first handles `#define'
  18177. -# templates, and the second `#undef' templates.
  18178. -# And first: Protect against being on the right side of a sed subst in
  18179. -# config.status. Protect against being in an unquoted here document
  18180. -# in config.status.
  18181. -rm -f conftest.defines conftest.undefs
  18182. -# Using a here document instead of a string reduces the quoting nightmare.
  18183. -# Putting comments in sed scripts is not portable.
  18184. -#
  18185. -# `end' is used to avoid that the second main sed command (meant for
  18186. -# 0-ary CPP macros) applies to n-ary macro definitions.
  18187. -# See the Autoconf documentation for `clear'.
  18188. -cat >confdef2sed.sed <<\_ACEOF
  18189. -s/[\\&,]/\\&/g
  18190. -s,[\\$`],\\&,g
  18191. -t clear
  18192. -: clear
  18193. -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  18194. -t end
  18195. -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  18196. -: end
  18197. -_ACEOF
  18198. -# If some macros were called several times there might be several times
  18199. -# the same #defines, which is useless. Nevertheless, we may not want to
  18200. -# sort them, since we want the *last* AC-DEFINE to be honored.
  18201. -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  18202. -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  18203. -rm -f confdef2sed.sed
  18204. +uniq confdefs.h |
  18205. + sed -n '
  18206. + t rset
  18207. + :rset
  18208. + s/^[ ]*#[ ]*define[ ][ ]*//
  18209. + t ok
  18210. + d
  18211. + :ok
  18212. + s/[\\&,]/\\&/g
  18213. + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  18214. + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  18215. + ' >>conftest.defines
  18216. -# This sed command replaces #undef with comments. This is necessary, for
  18217. +# Remove the space that was appended to ease matching.
  18218. +# Then replace #undef with comments. This is necessary, for
  18219. # example, in the case of _POSIX_SOURCE, which is predefined and required
  18220. # on some systems where configure will not decide to define it.
  18221. -cat >>conftest.undefs <<\_ACEOF
  18222. -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  18223. +# (The regexp can be short, since the line contains either #define or #undef.)
  18224. +echo 's/ $//
  18225. +s,^[ #]*u.*,/* & */,' >>conftest.defines
  18226. +
  18227. +# Break up conftest.defines:
  18228. +ac_max_sed_lines=50
  18229. +
  18230. +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  18231. +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  18232. +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  18233. +# et cetera.
  18234. +ac_in='$ac_file_inputs'
  18235. +ac_out='"$tmp/out1"'
  18236. +ac_nxt='"$tmp/out2"'
  18237. +
  18238. +while :
  18239. +do
  18240. + # Write a here document:
  18241. + cat >>$CONFIG_STATUS <<_ACEOF
  18242. + # First, check the format of the line:
  18243. + cat >"\$tmp/defines.sed" <<\\CEOF
  18244. +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  18245. +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  18246. +b
  18247. +:def
  18248. _ACEOF
  18249. -
  18250. -# Break up conftest.defines because some shells have a limit on the size
  18251. -# of here documents, and old seds have small limits too (100 cmds).
  18252. -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  18253. -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  18254. -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  18255. -echo ' :' >>$CONFIG_STATUS
  18256. -rm -f conftest.tail
  18257. -while grep . conftest.defines >/dev/null
  18258. -do
  18259. - # Write a limited-size here document to $tmp/defines.sed.
  18260. - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  18261. - # Speed up: don't consider the non `#define' lines.
  18262. - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  18263. - # Work around the forget-to-reset-the-flag bug.
  18264. - echo 't clr' >>$CONFIG_STATUS
  18265. - echo ': clr' >>$CONFIG_STATUS
  18266. - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  18267. + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  18268. echo 'CEOF
  18269. - sed -f $tmp/defines.sed $tmp/in >$tmp/out
  18270. - rm -f $tmp/in
  18271. - mv $tmp/out $tmp/in
  18272. -' >>$CONFIG_STATUS
  18273. - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  18274. + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  18275. + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  18276. + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  18277. + grep . conftest.tail >/dev/null || break
  18278. rm -f conftest.defines
  18279. mv conftest.tail conftest.defines
  18280. done
  18281. -rm -f conftest.defines
  18282. -echo ' fi # grep' >>$CONFIG_STATUS
  18283. -echo >>$CONFIG_STATUS
  18284. -
  18285. -# Break up conftest.undefs because some shells have a limit on the size
  18286. -# of here documents, and old seds have small limits too (100 cmds).
  18287. -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  18288. -rm -f conftest.tail
  18289. -while grep . conftest.undefs >/dev/null
  18290. -do
  18291. - # Write a limited-size here document to $tmp/undefs.sed.
  18292. - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  18293. - # Speed up: don't consider the non `#undef'
  18294. - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  18295. - # Work around the forget-to-reset-the-flag bug.
  18296. - echo 't clr' >>$CONFIG_STATUS
  18297. - echo ': clr' >>$CONFIG_STATUS
  18298. - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  18299. - echo 'CEOF
  18300. - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  18301. - rm -f $tmp/in
  18302. - mv $tmp/out $tmp/in
  18303. -' >>$CONFIG_STATUS
  18304. - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  18305. - rm -f conftest.undefs
  18306. - mv conftest.tail conftest.undefs
  18307. -done
  18308. -rm -f conftest.undefs
  18309. +rm -f conftest.defines conftest.tail
  18310. +echo "ac_result=$ac_in" >>$CONFIG_STATUS
  18311. cat >>$CONFIG_STATUS <<\_ACEOF
  18312. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  18313. - # use $as_me), people would be surprised to read:
  18314. - # /* config.h. Generated by config.status. */
  18315. - if test x"$ac_file" = x-; then
  18316. - echo "/* Generated by configure. */" >$tmp/config.h
  18317. - else
  18318. - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  18319. - fi
  18320. - cat $tmp/in >>$tmp/config.h
  18321. - rm -f $tmp/in
  18322. if test x"$ac_file" != x-; then
  18323. - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  18324. + echo "/* $configure_input */" >"$tmp/config.h"
  18325. + cat "$ac_result" >>"$tmp/config.h"
  18326. + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  18327. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  18328. echo "$as_me: $ac_file is unchanged" >&6;}
  18329. else
  18330. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  18331. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  18332. - X"$ac_file" : 'X\(//\)[^/]' \| \
  18333. - X"$ac_file" : 'X\(//\)$' \| \
  18334. - X"$ac_file" : 'X\(/\)' \| \
  18335. - . : '\(.\)' 2>/dev/null ||
  18336. -echo X"$ac_file" |
  18337. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  18338. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  18339. - /^X\(\/\/\)$/{ s//\1/; q; }
  18340. - /^X\(\/\).*/{ s//\1/; q; }
  18341. - s/.*/./; q'`
  18342. - { if $as_mkdir_p; then
  18343. - mkdir -p "$ac_dir"
  18344. - else
  18345. - as_dir="$ac_dir"
  18346. - as_dirs=
  18347. - while test ! -d "$as_dir"; do
  18348. - as_dirs="$as_dir $as_dirs"
  18349. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  18350. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  18351. - X"$as_dir" : 'X\(//\)[^/]' \| \
  18352. - X"$as_dir" : 'X\(//\)$' \| \
  18353. - X"$as_dir" : 'X\(/\)' \| \
  18354. - . : '\(.\)' 2>/dev/null ||
  18355. -echo X"$as_dir" |
  18356. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  18357. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  18358. - /^X\(\/\/\)$/{ s//\1/; q; }
  18359. - /^X\(\/\).*/{ s//\1/; q; }
  18360. - s/.*/./; q'`
  18361. - done
  18362. - test ! -n "$as_dirs" || mkdir $as_dirs
  18363. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  18364. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  18365. - { (exit 1); exit 1; }; }; }
  18366. -
  18367. rm -f $ac_file
  18368. - mv $tmp/config.h $ac_file
  18369. + mv "$tmp/config.h" $ac_file
  18370. fi
  18371. else
  18372. - cat $tmp/config.h
  18373. - rm -f $tmp/config.h
  18374. + echo "/* $configure_input */"
  18375. + cat "$ac_result"
  18376. fi
  18377. -done
  18378. -_ACEOF
  18379. + rm -f "$tmp/out12"
  18380. + ;;
  18381. +
  18382. +
  18383. + esac
  18384. +
  18385. +done # for ac_tag
  18386. -cat >>$CONFIG_STATUS <<\_ACEOF
  18387. { (exit 0); exit 0; }
  18388. _ACEOF
  18389. @@ -16635,7 +16348,7 @@
  18390. ac_config_status_args="$ac_config_status_args --quiet"
  18391. exec 5>/dev/null
  18392. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  18393. - exec 5>>auto/config.log
  18394. + exec 5>>config.log
  18395. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  18396. # would make configure fail if this is the last instruction.
  18397. $ac_cs_success || { (exit 1); exit 1; }