2
1

configure.patch 612 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247
  1. --- vim71/src/auto/configure.orig 2009-04-29 14:01:00.000000000 -0600
  2. +++ vim71/src/auto/configure 2009-04-29 14:00:11.000000000 -0600
  3. @@ -1,25 +1,54 @@
  4. #! /bin/sh
  5. # Guess values for system-dependent variables and create Makefiles.
  6. -# Generated by GNU Autoconf 2.59.
  7. +# Generated by GNU Autoconf 2.61.
  8. #
  9. -# Copyright (C) 2003 Free Software Foundation, Inc.
  10. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  11. +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  12. # This configure script is free software; the Free Software Foundation
  13. # gives unlimited permission to copy, distribute and modify it.
  14. ## --------------------- ##
  15. ## M4sh Initialization. ##
  16. ## --------------------- ##
  17. -# Be Bourne compatible
  18. +# Be more Bourne compatible
  19. +DUALCASE=1; export DUALCASE # for MKS sh
  20. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  21. emulate sh
  22. NULLCMD=:
  23. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  24. # is contrary to our usage. Disable this feature.
  25. alias -g '${1+"$@"}'='"$@"'
  26. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  27. - set -o posix
  28. + setopt NO_GLOB_SUBST
  29. +else
  30. + case `(set -o) 2>/dev/null` in
  31. + *posix*) set -o posix ;;
  32. +esac
  33. +
  34. +fi
  35. +
  36. +
  37. +
  38. +
  39. +# PATH needs CR
  40. +# Avoid depending upon Character Ranges.
  41. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  42. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  43. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  44. +as_cr_digits='0123456789'
  45. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  46. +
  47. +# The user is always right.
  48. +if test "${PATH_SEPARATOR+set}" != set; then
  49. + echo "#! /bin/sh" >conf$$.sh
  50. + echo "exit 0" >>conf$$.sh
  51. + chmod +x conf$$.sh
  52. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  53. + PATH_SEPARATOR=';'
  54. + else
  55. + PATH_SEPARATOR=:
  56. + fi
  57. + rm -f conf$$.sh
  58. fi
  59. -DUALCASE=1; export DUALCASE # for MKS sh
  60. # Support unset when possible.
  61. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  62. @@ -29,8 +58,43 @@
  63. fi
  64. +# IFS
  65. +# We need space, tab and new line, in precisely that order. Quoting is
  66. +# there to prevent editors from complaining about space-tab.
  67. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  68. +# splitting by setting IFS to empty value.)
  69. +as_nl='
  70. +'
  71. +IFS=" "" $as_nl"
  72. +
  73. +# Find who we are. Look in the path if we contain no directory separator.
  74. +case $0 in
  75. + *[\\/]* ) as_myself=$0 ;;
  76. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  77. +for as_dir in $PATH
  78. +do
  79. + IFS=$as_save_IFS
  80. + test -z "$as_dir" && as_dir=.
  81. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  82. +done
  83. +IFS=$as_save_IFS
  84. +
  85. + ;;
  86. +esac
  87. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  88. +# in which case we are not to be found in the path.
  89. +if test "x$as_myself" = x; then
  90. + as_myself=$0
  91. +fi
  92. +if test ! -f "$as_myself"; then
  93. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  94. + { (exit 1); exit 1; }
  95. +fi
  96. +
  97. # Work around bugs in pre-3.0 UWIN ksh.
  98. -$as_unset ENV MAIL MAILPATH
  99. +for as_var in ENV MAIL MAILPATH
  100. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  101. +done
  102. PS1='$ '
  103. PS2='> '
  104. PS4='+ '
  105. @@ -44,18 +108,19 @@
  106. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  107. eval $as_var=C; export $as_var
  108. else
  109. - $as_unset $as_var
  110. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  111. fi
  112. done
  113. # Required to use basename.
  114. -if expr a : '\(a\)' >/dev/null 2>&1; then
  115. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  116. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  117. as_expr=expr
  118. else
  119. as_expr=false
  120. fi
  121. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  122. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  123. as_basename=basename
  124. else
  125. as_basename=false
  126. @@ -63,157 +128,388 @@
  127. # Name of the executable.
  128. -as_me=`$as_basename "$0" ||
  129. +as_me=`$as_basename -- "$0" ||
  130. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  131. X"$0" : 'X\(//\)$' \| \
  132. - X"$0" : 'X\(/\)$' \| \
  133. - . : '\(.\)' 2>/dev/null ||
  134. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  135. echo X/"$0" |
  136. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  137. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  138. - /^X\/\(\/\).*/{ s//\1/; q; }
  139. - s/.*/./; q'`
  140. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  141. + s//\1/
  142. + q
  143. + }
  144. + /^X\/\(\/\/\)$/{
  145. + s//\1/
  146. + q
  147. + }
  148. + /^X\/\(\/\).*/{
  149. + s//\1/
  150. + q
  151. + }
  152. + s/.*/./; q'`
  153. +# CDPATH.
  154. +$as_unset CDPATH
  155. -# PATH needs CR, and LINENO needs CR and PATH.
  156. -# Avoid depending upon Character Ranges.
  157. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  158. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  159. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  160. -as_cr_digits='0123456789'
  161. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  162. -# The user is always right.
  163. -if test "${PATH_SEPARATOR+set}" != set; then
  164. - echo "#! /bin/sh" >conf$$.sh
  165. - echo "exit 0" >>conf$$.sh
  166. - chmod +x conf$$.sh
  167. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  168. - PATH_SEPARATOR=';'
  169. - else
  170. - PATH_SEPARATOR=:
  171. - fi
  172. - rm -f conf$$.sh
  173. +if test "x$CONFIG_SHELL" = x; then
  174. + if (eval ":") 2>/dev/null; then
  175. + as_have_required=yes
  176. +else
  177. + as_have_required=no
  178. +fi
  179. +
  180. + if test $as_have_required = yes && (eval ":
  181. +(as_func_return () {
  182. + (exit \$1)
  183. +}
  184. +as_func_success () {
  185. + as_func_return 0
  186. +}
  187. +as_func_failure () {
  188. + as_func_return 1
  189. +}
  190. +as_func_ret_success () {
  191. + return 0
  192. +}
  193. +as_func_ret_failure () {
  194. + return 1
  195. +}
  196. +
  197. +exitcode=0
  198. +if as_func_success; then
  199. + :
  200. +else
  201. + exitcode=1
  202. + echo as_func_success failed.
  203. fi
  204. +if as_func_failure; then
  205. + exitcode=1
  206. + echo as_func_failure succeeded.
  207. +fi
  208. - as_lineno_1=$LINENO
  209. - as_lineno_2=$LINENO
  210. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  211. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  212. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  213. - # Find who we are. Look in the path if we contain no path at all
  214. - # relative or not.
  215. - case $0 in
  216. - *[\\/]* ) as_myself=$0 ;;
  217. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  218. -for as_dir in $PATH
  219. -do
  220. - IFS=$as_save_IFS
  221. - test -z "$as_dir" && as_dir=.
  222. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  223. -done
  224. +if as_func_ret_success; then
  225. + :
  226. +else
  227. + exitcode=1
  228. + echo as_func_ret_success failed.
  229. +fi
  230. - ;;
  231. - esac
  232. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  233. - # in which case we are not to be found in the path.
  234. - if test "x$as_myself" = x; then
  235. - as_myself=$0
  236. - fi
  237. - if test ! -f "$as_myself"; then
  238. - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  239. - { (exit 1); exit 1; }; }
  240. - fi
  241. - case $CONFIG_SHELL in
  242. - '')
  243. +if as_func_ret_failure; then
  244. + exitcode=1
  245. + echo as_func_ret_failure succeeded.
  246. +fi
  247. +
  248. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  249. + :
  250. +else
  251. + exitcode=1
  252. + echo positional parameters were not saved.
  253. +fi
  254. +
  255. +test \$exitcode = 0) || { (exit 1); exit 1; }
  256. +
  257. +(
  258. + as_lineno_1=\$LINENO
  259. + as_lineno_2=\$LINENO
  260. + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  261. + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  262. +") 2> /dev/null; then
  263. + :
  264. +else
  265. + as_candidate_shells=
  266. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  267. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  268. do
  269. IFS=$as_save_IFS
  270. test -z "$as_dir" && as_dir=.
  271. - for as_base in sh bash ksh sh5; do
  272. - case $as_dir in
  273. + case $as_dir in
  274. /*)
  275. - if ("$as_dir/$as_base" -c '
  276. + for as_base in sh bash ksh sh5; do
  277. + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  278. + done;;
  279. + esac
  280. +done
  281. +IFS=$as_save_IFS
  282. +
  283. +
  284. + for as_shell in $as_candidate_shells $SHELL; do
  285. + # Try only shells that exist, to save several forks.
  286. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  287. + { ("$as_shell") 2> /dev/null <<\_ASEOF
  288. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  289. + emulate sh
  290. + NULLCMD=:
  291. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  292. + # is contrary to our usage. Disable this feature.
  293. + alias -g '${1+"$@"}'='"$@"'
  294. + setopt NO_GLOB_SUBST
  295. +else
  296. + case `(set -o) 2>/dev/null` in
  297. + *posix*) set -o posix ;;
  298. +esac
  299. +
  300. +fi
  301. +
  302. +
  303. +:
  304. +_ASEOF
  305. +}; then
  306. + CONFIG_SHELL=$as_shell
  307. + as_have_required=yes
  308. + if { "$as_shell" 2> /dev/null <<\_ASEOF
  309. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  310. + emulate sh
  311. + NULLCMD=:
  312. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  313. + # is contrary to our usage. Disable this feature.
  314. + alias -g '${1+"$@"}'='"$@"'
  315. + setopt NO_GLOB_SUBST
  316. +else
  317. + case `(set -o) 2>/dev/null` in
  318. + *posix*) set -o posix ;;
  319. +esac
  320. +
  321. +fi
  322. +
  323. +
  324. +:
  325. +(as_func_return () {
  326. + (exit $1)
  327. +}
  328. +as_func_success () {
  329. + as_func_return 0
  330. +}
  331. +as_func_failure () {
  332. + as_func_return 1
  333. +}
  334. +as_func_ret_success () {
  335. + return 0
  336. +}
  337. +as_func_ret_failure () {
  338. + return 1
  339. +}
  340. +
  341. +exitcode=0
  342. +if as_func_success; then
  343. + :
  344. +else
  345. + exitcode=1
  346. + echo as_func_success failed.
  347. +fi
  348. +
  349. +if as_func_failure; then
  350. + exitcode=1
  351. + echo as_func_failure succeeded.
  352. +fi
  353. +
  354. +if as_func_ret_success; then
  355. + :
  356. +else
  357. + exitcode=1
  358. + echo as_func_ret_success failed.
  359. +fi
  360. +
  361. +if as_func_ret_failure; then
  362. + exitcode=1
  363. + echo as_func_ret_failure succeeded.
  364. +fi
  365. +
  366. +if ( set x; as_func_ret_success y && test x = "$1" ); then
  367. + :
  368. +else
  369. + exitcode=1
  370. + echo positional parameters were not saved.
  371. +fi
  372. +
  373. +test $exitcode = 0) || { (exit 1); exit 1; }
  374. +
  375. +(
  376. as_lineno_1=$LINENO
  377. as_lineno_2=$LINENO
  378. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  379. test "x$as_lineno_1" != "x$as_lineno_2" &&
  380. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  381. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  382. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  383. - CONFIG_SHELL=$as_dir/$as_base
  384. - export CONFIG_SHELL
  385. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  386. - fi;;
  387. - esac
  388. - done
  389. -done
  390. -;;
  391. - esac
  392. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  393. +
  394. +_ASEOF
  395. +}; then
  396. + break
  397. +fi
  398. +
  399. +fi
  400. +
  401. + done
  402. +
  403. + if test "x$CONFIG_SHELL" != x; then
  404. + for as_var in BASH_ENV ENV
  405. + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  406. + done
  407. + export CONFIG_SHELL
  408. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  409. +fi
  410. +
  411. +
  412. + if test $as_have_required = no; then
  413. + echo This script requires a shell more modern than all the
  414. + echo shells that I found on your system. Please install a
  415. + echo modern shell, or manually run the script under such a
  416. + echo shell if you do have one.
  417. + { (exit 1); exit 1; }
  418. +fi
  419. +
  420. +
  421. +fi
  422. +
  423. +fi
  424. +
  425. +
  426. +
  427. +(eval "as_func_return () {
  428. + (exit \$1)
  429. +}
  430. +as_func_success () {
  431. + as_func_return 0
  432. +}
  433. +as_func_failure () {
  434. + as_func_return 1
  435. +}
  436. +as_func_ret_success () {
  437. + return 0
  438. +}
  439. +as_func_ret_failure () {
  440. + return 1
  441. +}
  442. +
  443. +exitcode=0
  444. +if as_func_success; then
  445. + :
  446. +else
  447. + exitcode=1
  448. + echo as_func_success failed.
  449. +fi
  450. +
  451. +if as_func_failure; then
  452. + exitcode=1
  453. + echo as_func_failure succeeded.
  454. +fi
  455. +
  456. +if as_func_ret_success; then
  457. + :
  458. +else
  459. + exitcode=1
  460. + echo as_func_ret_success failed.
  461. +fi
  462. +
  463. +if as_func_ret_failure; then
  464. + exitcode=1
  465. + echo as_func_ret_failure succeeded.
  466. +fi
  467. +
  468. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  469. + :
  470. +else
  471. + exitcode=1
  472. + echo positional parameters were not saved.
  473. +fi
  474. +
  475. +test \$exitcode = 0") || {
  476. + echo No shell found that supports shell functions.
  477. + echo Please tell autoconf@gnu.org about your system,
  478. + echo including any error possibly output before this
  479. + echo message
  480. +}
  481. +
  482. +
  483. +
  484. + as_lineno_1=$LINENO
  485. + as_lineno_2=$LINENO
  486. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  487. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  488. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  489. # uniformly replaced by the line number. The first 'sed' inserts a
  490. - # line-number line before each line; the second 'sed' does the real
  491. - # work. The second script uses 'N' to pair each line-number line
  492. - # with the numbered line, and appends trailing '-' during
  493. - # substitution so that $LINENO is not a special case at line end.
  494. + # line-number line after each line using $LINENO; the second 'sed'
  495. + # does the real work. The second script uses 'N' to pair each
  496. + # line-number line with the line containing $LINENO, and appends
  497. + # trailing '-' during substitution so that $LINENO is not a special
  498. + # case at line end.
  499. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  500. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  501. - sed '=' <$as_myself |
  502. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  503. + # E. McMahon (1931-1989) for sed's syntax. :-)
  504. + sed -n '
  505. + p
  506. + /[$]LINENO/=
  507. + ' <$as_myself |
  508. sed '
  509. + s/[$]LINENO.*/&-/
  510. + t lineno
  511. + b
  512. + :lineno
  513. N
  514. - s,$,-,
  515. - : loop
  516. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  517. + :loop
  518. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  519. t loop
  520. - s,-$,,
  521. - s,^['$as_cr_digits']*\n,,
  522. + s/-\n.*//
  523. ' >$as_me.lineno &&
  524. - chmod +x $as_me.lineno ||
  525. + chmod +x "$as_me.lineno" ||
  526. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  527. { (exit 1); exit 1; }; }
  528. # Don't try to exec as it changes $[0], causing all sort of problems
  529. # (the dirname of $[0] is not the place where we might find the
  530. - # original and so on. Autoconf is especially sensible to this).
  531. - . ./$as_me.lineno
  532. + # original and so on. Autoconf is especially sensitive to this).
  533. + . "./$as_me.lineno"
  534. # Exit status is that of the last command.
  535. exit
  536. }
  537. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  538. - *c*,-n*) ECHO_N= ECHO_C='
  539. -' ECHO_T=' ' ;;
  540. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  541. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  542. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  543. + as_dirname=dirname
  544. +else
  545. + as_dirname=false
  546. +fi
  547. +
  548. +ECHO_C= ECHO_N= ECHO_T=
  549. +case `echo -n x` in
  550. +-n*)
  551. + case `echo 'x\c'` in
  552. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  553. + *) ECHO_C='\c';;
  554. + esac;;
  555. +*)
  556. + ECHO_N='-n';;
  557. esac
  558. -if expr a : '\(a\)' >/dev/null 2>&1; then
  559. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  560. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  561. as_expr=expr
  562. else
  563. as_expr=false
  564. fi
  565. rm -f conf$$ conf$$.exe conf$$.file
  566. +if test -d conf$$.dir; then
  567. + rm -f conf$$.dir/conf$$.file
  568. +else
  569. + rm -f conf$$.dir
  570. + mkdir conf$$.dir
  571. +fi
  572. echo >conf$$.file
  573. if ln -s conf$$.file conf$$ 2>/dev/null; then
  574. - # We could just check for DJGPP; but this test a) works b) is more generic
  575. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  576. - if test -f conf$$.exe; then
  577. - # Don't use ln at all; we don't have any links
  578. + as_ln_s='ln -s'
  579. + # ... but there are two gotchas:
  580. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  581. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  582. + # In both cases, we have to default to `cp -p'.
  583. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  584. as_ln_s='cp -p'
  585. - else
  586. - as_ln_s='ln -s'
  587. - fi
  588. elif ln conf$$.file conf$$ 2>/dev/null; then
  589. as_ln_s=ln
  590. else
  591. as_ln_s='cp -p'
  592. fi
  593. -rm -f conf$$ conf$$.exe conf$$.file
  594. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  595. +rmdir conf$$.dir 2>/dev/null
  596. if mkdir -p . 2>/dev/null; then
  597. as_mkdir_p=:
  598. @@ -222,7 +518,28 @@
  599. as_mkdir_p=false
  600. fi
  601. -as_executable_p="test -f"
  602. +if test -x / >/dev/null 2>&1; then
  603. + as_test_x='test -x'
  604. +else
  605. + if ls -dL / >/dev/null 2>&1; then
  606. + as_ls_L_option=L
  607. + else
  608. + as_ls_L_option=
  609. + fi
  610. + as_test_x='
  611. + eval sh -c '\''
  612. + if test -d "$1"; then
  613. + test -d "$1/.";
  614. + else
  615. + case $1 in
  616. + -*)set "./$1";;
  617. + esac;
  618. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  619. + ???[sx]*):;;*)false;;esac;fi
  620. + '\'' sh
  621. + '
  622. +fi
  623. +as_executable_p=$as_test_x
  624. # Sed expression to map a string onto a valid CPP name.
  625. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  626. @@ -231,39 +548,27 @@
  627. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  628. -# IFS
  629. -# We need space, tab and new line, in precisely that order.
  630. -as_nl='
  631. -'
  632. -IFS=" $as_nl"
  633. -
  634. -# CDPATH.
  635. -$as_unset CDPATH
  636. +exec 7<&0 </dev/null 6>&1
  637. # Name of the host.
  638. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  639. # so uname gets run too.
  640. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  641. -exec 6>&1
  642. -
  643. #
  644. # Initializations.
  645. #
  646. ac_default_prefix=/usr/local
  647. +ac_clean_files=
  648. ac_config_libobj_dir=.
  649. +LIBOBJS=
  650. cross_compiling=no
  651. subdirs=
  652. MFLAGS=
  653. MAKEFLAGS=
  654. SHELL=${CONFIG_SHELL-/bin/sh}
  655. -# Maximum number of lines to put in a shell here document.
  656. -# This variable seems obsolete. It should probably be removed, and
  657. -# only ac_max_sed_lines should be used.
  658. -: ${ac_max_here_lines=38}
  659. -
  660. # Identity of this package.
  661. PACKAGE_NAME=
  662. PACKAGE_TARNAME=
  663. @@ -275,42 +580,183 @@
  664. # Factoring default headers for most tests.
  665. ac_includes_default="\
  666. #include <stdio.h>
  667. -#if HAVE_SYS_TYPES_H
  668. +#ifdef HAVE_SYS_TYPES_H
  669. # include <sys/types.h>
  670. #endif
  671. -#if HAVE_SYS_STAT_H
  672. +#ifdef HAVE_SYS_STAT_H
  673. # include <sys/stat.h>
  674. #endif
  675. -#if STDC_HEADERS
  676. +#ifdef STDC_HEADERS
  677. # include <stdlib.h>
  678. # include <stddef.h>
  679. #else
  680. -# if HAVE_STDLIB_H
  681. +# ifdef HAVE_STDLIB_H
  682. # include <stdlib.h>
  683. # endif
  684. #endif
  685. -#if HAVE_STRING_H
  686. -# if !STDC_HEADERS && HAVE_MEMORY_H
  687. +#ifdef HAVE_STRING_H
  688. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  689. # include <memory.h>
  690. # endif
  691. # include <string.h>
  692. #endif
  693. -#if HAVE_STRINGS_H
  694. +#ifdef HAVE_STRINGS_H
  695. # include <strings.h>
  696. #endif
  697. -#if HAVE_INTTYPES_H
  698. +#ifdef HAVE_INTTYPES_H
  699. # include <inttypes.h>
  700. -#else
  701. -# if HAVE_STDINT_H
  702. -# include <stdint.h>
  703. -# endif
  704. #endif
  705. -#if HAVE_UNISTD_H
  706. +#ifdef HAVE_STDINT_H
  707. +# include <stdint.h>
  708. +#endif
  709. +#ifdef HAVE_UNISTD_H
  710. # include <unistd.h>
  711. #endif"
  712. -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'
  713. +ac_subst_vars='SHELL
  714. +PATH_SEPARATOR
  715. +PACKAGE_NAME
  716. +PACKAGE_TARNAME
  717. +PACKAGE_VERSION
  718. +PACKAGE_STRING
  719. +PACKAGE_BUGREPORT
  720. +exec_prefix
  721. +prefix
  722. +program_transform_name
  723. +bindir
  724. +sbindir
  725. +libexecdir
  726. +datarootdir
  727. +datadir
  728. +sysconfdir
  729. +sharedstatedir
  730. +localstatedir
  731. +includedir
  732. +oldincludedir
  733. +docdir
  734. +infodir
  735. +htmldir
  736. +dvidir
  737. +pdfdir
  738. +psdir
  739. +libdir
  740. +localedir
  741. +mandir
  742. +DEFS
  743. +ECHO_C
  744. +ECHO_N
  745. +ECHO_T
  746. +LIBS
  747. +build_alias
  748. +host_alias
  749. +target_alias
  750. +SET_MAKE
  751. +CC
  752. +CFLAGS
  753. +LDFLAGS
  754. +CPPFLAGS
  755. +ac_ct_CC
  756. +EXEEXT
  757. +OBJEXT
  758. +CPP
  759. +GREP
  760. +EGREP
  761. +AWK
  762. +STRIP
  763. +CPP_MM
  764. +OS_EXTRA_SRC
  765. +OS_EXTRA_OBJ
  766. +VIMNAME
  767. +EXNAME
  768. +VIEWNAME
  769. +line_break
  770. +dovimdiff
  771. +dogvimdiff
  772. +compiledby
  773. +vi_cv_path_mzscheme
  774. +MZSCHEME_SRC
  775. +MZSCHEME_OBJ
  776. +MZSCHEME_PRO
  777. +MZSCHEME_LIBS
  778. +MZSCHEME_CFLAGS
  779. +vi_cv_path_perl
  780. +vi_cv_perllib
  781. +shrpenv
  782. +PERL_SRC
  783. +PERL_OBJ
  784. +PERL_PRO
  785. +PERL_CFLAGS
  786. +PERL_LIBS
  787. +vi_cv_path_python
  788. +PYTHON_CONFDIR
  789. +PYTHON_LIBS
  790. +PYTHON_GETPATH_CFLAGS
  791. +PYTHON_CFLAGS
  792. +PYTHON_SRC
  793. +PYTHON_OBJ
  794. +vi_cv_path_tcl
  795. +TCL_SRC
  796. +TCL_OBJ
  797. +TCL_PRO
  798. +TCL_CFLAGS
  799. +TCL_LIBS
  800. +vi_cv_path_ruby
  801. +RUBY_SRC
  802. +RUBY_OBJ
  803. +RUBY_PRO
  804. +RUBY_CFLAGS
  805. +RUBY_LIBS
  806. +WORKSHOP_SRC
  807. +WORKSHOP_OBJ
  808. +NETBEANS_SRC
  809. +NETBEANS_OBJ
  810. +SNIFF_SRC
  811. +SNIFF_OBJ
  812. +xmkmfpath
  813. +XMKMF
  814. +X_CFLAGS
  815. +X_PRE_LIBS
  816. +X_LIBS
  817. +X_EXTRA_LIBS
  818. +X_LIB
  819. +GTK_CONFIG
  820. +GTK12_CONFIG
  821. +PKG_CONFIG
  822. +GTK_CFLAGS
  823. +GTK_LIBS
  824. +GTK_LIBNAME
  825. +GNOME_LIBS
  826. +GNOME_LIBDIR
  827. +GNOME_INCLUDEDIR
  828. +GNOME_CONFIG
  829. +MOTIF_LIBNAME
  830. +NARROW_PROTO
  831. +GUI_INC_LOC
  832. +GUI_LIB_LOC
  833. +GUITYPE
  834. +GUI_X_LIBS
  835. +HANGULIN_SRC
  836. +HANGULIN_OBJ
  837. +TAGPRG
  838. +INSTALL_LANGS
  839. +INSTALL_TOOL_LANGS
  840. +MSGFMT
  841. +MAKEMO
  842. +DEPEND_CFLAGS_FILTER
  843. +LIBOBJS
  844. +LTLIBOBJS'
  845. ac_subst_files=''
  846. + ac_precious_vars='build_alias
  847. +host_alias
  848. +target_alias
  849. +CC
  850. +CFLAGS
  851. +LDFLAGS
  852. +LIBS
  853. +CPPFLAGS
  854. +CPP
  855. +XMKMF'
  856. +
  857. # Initialize some variables set by options.
  858. ac_init_help=
  859. @@ -337,34 +783,48 @@
  860. # and all the variables that are supposed to be based on exec_prefix
  861. # by default will actually change.
  862. # Use braces instead of parens because sh, perl, etc. also accept them.
  863. +# (The list follows the same order as the GNU Coding Standards.)
  864. bindir='${exec_prefix}/bin'
  865. sbindir='${exec_prefix}/sbin'
  866. libexecdir='${exec_prefix}/libexec'
  867. -datadir='${prefix}/share'
  868. +datarootdir='${prefix}/share'
  869. +datadir='${datarootdir}'
  870. sysconfdir='${prefix}/etc'
  871. sharedstatedir='${prefix}/com'
  872. localstatedir='${prefix}/var'
  873. -libdir='${exec_prefix}/lib'
  874. includedir='${prefix}/include'
  875. oldincludedir='/usr/include'
  876. -infodir='${prefix}/info'
  877. -mandir='${prefix}/man'
  878. +docdir='${datarootdir}/doc/${PACKAGE}'
  879. +infodir='${datarootdir}/info'
  880. +htmldir='${docdir}'
  881. +dvidir='${docdir}'
  882. +pdfdir='${docdir}'
  883. +psdir='${docdir}'
  884. +libdir='${exec_prefix}/lib'
  885. +localedir='${datarootdir}/locale'
  886. +mandir='${datarootdir}/man'
  887. ac_prev=
  888. +ac_dashdash=
  889. for ac_option
  890. do
  891. # If the previous option needs an argument, assign it.
  892. if test -n "$ac_prev"; then
  893. - eval "$ac_prev=\$ac_option"
  894. + eval $ac_prev=\$ac_option
  895. ac_prev=
  896. continue
  897. fi
  898. - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  899. + case $ac_option in
  900. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  901. + *) ac_optarg=yes ;;
  902. + esac
  903. # Accept the important Cygnus configure options, so we can diagnose typos.
  904. - case $ac_option in
  905. + case $ac_dashdash$ac_option in
  906. + --)
  907. + ac_dashdash=yes ;;
  908. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  909. ac_prev=bindir ;;
  910. @@ -386,33 +846,45 @@
  911. --config-cache | -C)
  912. cache_file=config.cache ;;
  913. - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  914. + -datadir | --datadir | --datadi | --datad)
  915. ac_prev=datadir ;;
  916. - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  917. - | --da=*)
  918. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  919. datadir=$ac_optarg ;;
  920. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  921. + | --dataroo | --dataro | --datar)
  922. + ac_prev=datarootdir ;;
  923. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  924. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  925. + datarootdir=$ac_optarg ;;
  926. +
  927. -disable-* | --disable-*)
  928. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  929. # Reject names that are not valid shell variable names.
  930. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  931. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  932. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  933. { (exit 1); exit 1; }; }
  934. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  935. - eval "enable_$ac_feature=no" ;;
  936. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  937. + eval enable_$ac_feature=no ;;
  938. +
  939. + -docdir | --docdir | --docdi | --doc | --do)
  940. + ac_prev=docdir ;;
  941. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  942. + docdir=$ac_optarg ;;
  943. +
  944. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  945. + ac_prev=dvidir ;;
  946. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  947. + dvidir=$ac_optarg ;;
  948. -enable-* | --enable-*)
  949. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  950. # Reject names that are not valid shell variable names.
  951. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  952. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  953. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  954. { (exit 1); exit 1; }; }
  955. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  956. - case $ac_option in
  957. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  958. - *) ac_optarg=yes ;;
  959. - esac
  960. - eval "enable_$ac_feature='$ac_optarg'" ;;
  961. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  962. + eval enable_$ac_feature=\$ac_optarg ;;
  963. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  964. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  965. @@ -439,6 +911,12 @@
  966. -host=* | --host=* | --hos=* | --ho=*)
  967. host_alias=$ac_optarg ;;
  968. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  969. + ac_prev=htmldir ;;
  970. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  971. + | --ht=*)
  972. + htmldir=$ac_optarg ;;
  973. +
  974. -includedir | --includedir | --includedi | --included | --include \
  975. | --includ | --inclu | --incl | --inc)
  976. ac_prev=includedir ;;
  977. @@ -463,13 +941,16 @@
  978. | --libexe=* | --libex=* | --libe=*)
  979. libexecdir=$ac_optarg ;;
  980. + -localedir | --localedir | --localedi | --localed | --locale)
  981. + ac_prev=localedir ;;
  982. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  983. + localedir=$ac_optarg ;;
  984. +
  985. -localstatedir | --localstatedir | --localstatedi | --localstated \
  986. - | --localstate | --localstat | --localsta | --localst \
  987. - | --locals | --local | --loca | --loc | --lo)
  988. + | --localstate | --localstat | --localsta | --localst | --locals)
  989. ac_prev=localstatedir ;;
  990. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  991. - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  992. - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  993. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  994. localstatedir=$ac_optarg ;;
  995. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  996. @@ -534,6 +1015,16 @@
  997. | --progr-tra=* | --program-tr=* | --program-t=*)
  998. program_transform_name=$ac_optarg ;;
  999. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1000. + ac_prev=pdfdir ;;
  1001. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1002. + pdfdir=$ac_optarg ;;
  1003. +
  1004. + -psdir | --psdir | --psdi | --psd | --ps)
  1005. + ac_prev=psdir ;;
  1006. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1007. + psdir=$ac_optarg ;;
  1008. +
  1009. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1010. | -silent | --silent | --silen | --sile | --sil)
  1011. silent=yes ;;
  1012. @@ -586,24 +1077,20 @@
  1013. -with-* | --with-*)
  1014. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1015. # Reject names that are not valid shell variable names.
  1016. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1017. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1018. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1019. { (exit 1); exit 1; }; }
  1020. - ac_package=`echo $ac_package| sed 's/-/_/g'`
  1021. - case $ac_option in
  1022. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  1023. - *) ac_optarg=yes ;;
  1024. - esac
  1025. - eval "with_$ac_package='$ac_optarg'" ;;
  1026. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1027. + eval with_$ac_package=\$ac_optarg ;;
  1028. -without-* | --without-*)
  1029. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1030. # Reject names that are not valid shell variable names.
  1031. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1032. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1033. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1034. { (exit 1); exit 1; }; }
  1035. - ac_package=`echo $ac_package | sed 's/-/_/g'`
  1036. - eval "with_$ac_package=no" ;;
  1037. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1038. + eval with_$ac_package=no ;;
  1039. --x)
  1040. # Obsolete; use --with-x.
  1041. @@ -634,8 +1121,7 @@
  1042. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1043. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1044. { (exit 1); exit 1; }; }
  1045. - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  1046. - eval "$ac_envvar='$ac_optarg'"
  1047. + eval $ac_envvar=\$ac_optarg
  1048. export $ac_envvar ;;
  1049. *)
  1050. @@ -655,27 +1141,19 @@
  1051. { (exit 1); exit 1; }; }
  1052. fi
  1053. -# Be sure to have absolute paths.
  1054. -for ac_var in exec_prefix prefix
  1055. -do
  1056. - eval ac_val=$`echo $ac_var`
  1057. - case $ac_val in
  1058. - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  1059. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1060. - { (exit 1); exit 1; }; };;
  1061. - esac
  1062. -done
  1063. -
  1064. -# Be sure to have absolute paths.
  1065. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  1066. - localstatedir libdir includedir oldincludedir infodir mandir
  1067. +# Be sure to have absolute directory names.
  1068. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1069. + datadir sysconfdir sharedstatedir localstatedir includedir \
  1070. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1071. + libdir localedir mandir
  1072. do
  1073. - eval ac_val=$`echo $ac_var`
  1074. + eval ac_val=\$$ac_var
  1075. case $ac_val in
  1076. - [\\/$]* | ?:[\\/]* ) ;;
  1077. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1078. - { (exit 1); exit 1; }; };;
  1079. + [\\/$]* | ?:[\\/]* ) continue;;
  1080. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1081. esac
  1082. + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1083. + { (exit 1); exit 1; }; }
  1084. done
  1085. # There might be people who depend on the old broken behavior: `$host'
  1086. @@ -702,74 +1180,76 @@
  1087. test "$silent" = yes && exec 6>/dev/null
  1088. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1089. +ac_ls_di=`ls -di .` &&
  1090. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1091. + { echo "$as_me: error: Working directory cannot be determined" >&2
  1092. + { (exit 1); exit 1; }; }
  1093. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1094. + { echo "$as_me: error: pwd does not report name of working directory" >&2
  1095. + { (exit 1); exit 1; }; }
  1096. +
  1097. +
  1098. # Find the source files, if location was not specified.
  1099. if test -z "$srcdir"; then
  1100. ac_srcdir_defaulted=yes
  1101. - # Try the directory containing this script, then its parent.
  1102. - ac_confdir=`(dirname "$0") 2>/dev/null ||
  1103. + # Try the directory containing this script, then the parent directory.
  1104. + ac_confdir=`$as_dirname -- "$0" ||
  1105. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1106. X"$0" : 'X\(//\)[^/]' \| \
  1107. X"$0" : 'X\(//\)$' \| \
  1108. - X"$0" : 'X\(/\)' \| \
  1109. - . : '\(.\)' 2>/dev/null ||
  1110. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1111. echo X"$0" |
  1112. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1113. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1114. - /^X\(\/\/\)$/{ s//\1/; q; }
  1115. - /^X\(\/\).*/{ s//\1/; q; }
  1116. - s/.*/./; q'`
  1117. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1118. + s//\1/
  1119. + q
  1120. + }
  1121. + /^X\(\/\/\)[^/].*/{
  1122. + s//\1/
  1123. + q
  1124. + }
  1125. + /^X\(\/\/\)$/{
  1126. + s//\1/
  1127. + q
  1128. + }
  1129. + /^X\(\/\).*/{
  1130. + s//\1/
  1131. + q
  1132. + }
  1133. + s/.*/./; q'`
  1134. srcdir=$ac_confdir
  1135. - if test ! -r $srcdir/$ac_unique_file; then
  1136. + if test ! -r "$srcdir/$ac_unique_file"; then
  1137. srcdir=..
  1138. fi
  1139. else
  1140. ac_srcdir_defaulted=no
  1141. fi
  1142. -if test ! -r $srcdir/$ac_unique_file; then
  1143. - if test "$ac_srcdir_defaulted" = yes; then
  1144. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  1145. - { (exit 1); exit 1; }; }
  1146. - else
  1147. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1148. +if test ! -r "$srcdir/$ac_unique_file"; then
  1149. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1150. + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1151. { (exit 1); exit 1; }; }
  1152. - fi
  1153. fi
  1154. -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  1155. - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  1156. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1157. +ac_abs_confdir=`(
  1158. + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1159. { (exit 1); exit 1; }; }
  1160. -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  1161. -ac_env_build_alias_set=${build_alias+set}
  1162. -ac_env_build_alias_value=$build_alias
  1163. -ac_cv_env_build_alias_set=${build_alias+set}
  1164. -ac_cv_env_build_alias_value=$build_alias
  1165. -ac_env_host_alias_set=${host_alias+set}
  1166. -ac_env_host_alias_value=$host_alias
  1167. -ac_cv_env_host_alias_set=${host_alias+set}
  1168. -ac_cv_env_host_alias_value=$host_alias
  1169. -ac_env_target_alias_set=${target_alias+set}
  1170. -ac_env_target_alias_value=$target_alias
  1171. -ac_cv_env_target_alias_set=${target_alias+set}
  1172. -ac_cv_env_target_alias_value=$target_alias
  1173. -ac_env_CC_set=${CC+set}
  1174. -ac_env_CC_value=$CC
  1175. -ac_cv_env_CC_set=${CC+set}
  1176. -ac_cv_env_CC_value=$CC
  1177. -ac_env_CFLAGS_set=${CFLAGS+set}
  1178. -ac_env_CFLAGS_value=$CFLAGS
  1179. -ac_cv_env_CFLAGS_set=${CFLAGS+set}
  1180. -ac_cv_env_CFLAGS_value=$CFLAGS
  1181. -ac_env_LDFLAGS_set=${LDFLAGS+set}
  1182. -ac_env_LDFLAGS_value=$LDFLAGS
  1183. -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  1184. -ac_cv_env_LDFLAGS_value=$LDFLAGS
  1185. -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  1186. -ac_env_CPPFLAGS_value=$CPPFLAGS
  1187. -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  1188. -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  1189. -ac_env_CPP_set=${CPP+set}
  1190. -ac_env_CPP_value=$CPP
  1191. -ac_cv_env_CPP_set=${CPP+set}
  1192. -ac_cv_env_CPP_value=$CPP
  1193. + pwd)`
  1194. +# When building in place, set srcdir=.
  1195. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1196. + srcdir=.
  1197. +fi
  1198. +# Remove unnecessary trailing slashes from srcdir.
  1199. +# Double slashes in file names in object file debugging info
  1200. +# mess up M-x gdb in Emacs.
  1201. +case $srcdir in
  1202. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1203. +esac
  1204. +for ac_var in $ac_precious_vars; do
  1205. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1206. + eval ac_env_${ac_var}_value=\$${ac_var}
  1207. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1208. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1209. +done
  1210. #
  1211. # Report the --help message.
  1212. @@ -798,9 +1278,6 @@
  1213. -n, --no-create do not create output files
  1214. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1215. -_ACEOF
  1216. -
  1217. - cat <<_ACEOF
  1218. Installation directories:
  1219. --prefix=PREFIX install architecture-independent files in PREFIX
  1220. [$ac_default_prefix]
  1221. @@ -818,15 +1295,22 @@
  1222. --bindir=DIR user executables [EPREFIX/bin]
  1223. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1224. --libexecdir=DIR program executables [EPREFIX/libexec]
  1225. - --datadir=DIR read-only architecture-independent data [PREFIX/share]
  1226. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1227. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1228. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1229. --libdir=DIR object code libraries [EPREFIX/lib]
  1230. --includedir=DIR C header files [PREFIX/include]
  1231. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1232. - --infodir=DIR info documentation [PREFIX/info]
  1233. - --mandir=DIR man documentation [PREFIX/man]
  1234. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1235. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1236. + --infodir=DIR info documentation [DATAROOTDIR/info]
  1237. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1238. + --mandir=DIR man documentation [DATAROOTDIR/man]
  1239. + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1240. + --htmldir=DIR html documentation [DOCDIR]
  1241. + --dvidir=DIR dvi documentation [DOCDIR]
  1242. + --pdfdir=DIR pdf documentation [DOCDIR]
  1243. + --psdir=DIR ps documentation [DOCDIR]
  1244. _ACEOF
  1245. cat <<\_ACEOF
  1246. @@ -902,126 +1386,96 @@
  1247. CFLAGS C compiler flags
  1248. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1249. nonstandard directory <lib dir>
  1250. - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1251. - headers in a nonstandard directory <include dir>
  1252. + LIBS libraries to pass to the linker, e.g. -l<library>
  1253. + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1254. + you have headers in a nonstandard directory <include dir>
  1255. CPP C preprocessor
  1256. + XMKMF Path to xmkmf, Makefile generator for X Window System
  1257. Use these variables to override the choices made by `configure' or to help
  1258. it to find libraries and programs with nonstandard names/locations.
  1259. _ACEOF
  1260. +ac_status=$?
  1261. fi
  1262. if test "$ac_init_help" = "recursive"; then
  1263. # If there are subdirs, report their specific --help.
  1264. - ac_popdir=`pwd`
  1265. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1266. - test -d $ac_dir || continue
  1267. + test -d "$ac_dir" || continue
  1268. ac_builddir=.
  1269. -if test "$ac_dir" != .; then
  1270. +case "$ac_dir" in
  1271. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1272. +*)
  1273. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1274. - # A "../" for each directory in $ac_dir_suffix.
  1275. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1276. -else
  1277. - ac_dir_suffix= ac_top_builddir=
  1278. -fi
  1279. + # A ".." for each directory in $ac_dir_suffix.
  1280. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1281. + case $ac_top_builddir_sub in
  1282. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1283. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1284. + esac ;;
  1285. +esac
  1286. +ac_abs_top_builddir=$ac_pwd
  1287. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1288. +# for backward compatibility:
  1289. +ac_top_builddir=$ac_top_build_prefix
  1290. case $srcdir in
  1291. - .) # No --srcdir option. We are building in place.
  1292. + .) # We are building in place.
  1293. ac_srcdir=.
  1294. - if test -z "$ac_top_builddir"; then
  1295. - ac_top_srcdir=.
  1296. - else
  1297. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1298. - fi ;;
  1299. - [\\/]* | ?:[\\/]* ) # Absolute path.
  1300. + ac_top_srcdir=$ac_top_builddir_sub
  1301. + ac_abs_top_srcdir=$ac_pwd ;;
  1302. + [\\/]* | ?:[\\/]* ) # Absolute name.
  1303. ac_srcdir=$srcdir$ac_dir_suffix;
  1304. - ac_top_srcdir=$srcdir ;;
  1305. - *) # Relative path.
  1306. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1307. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1308. -esac
  1309. -
  1310. -# Do not use `cd foo && pwd` to compute absolute paths, because
  1311. -# the directories may not exist.
  1312. -case `pwd` in
  1313. -.) ac_abs_builddir="$ac_dir";;
  1314. -*)
  1315. - case "$ac_dir" in
  1316. - .) ac_abs_builddir=`pwd`;;
  1317. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1318. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1319. - esac;;
  1320. -esac
  1321. -case $ac_abs_builddir in
  1322. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  1323. -*)
  1324. - case ${ac_top_builddir}. in
  1325. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  1326. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1327. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1328. - esac;;
  1329. -esac
  1330. -case $ac_abs_builddir in
  1331. -.) ac_abs_srcdir=$ac_srcdir;;
  1332. -*)
  1333. - case $ac_srcdir in
  1334. - .) ac_abs_srcdir=$ac_abs_builddir;;
  1335. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1336. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1337. - esac;;
  1338. -esac
  1339. -case $ac_abs_builddir in
  1340. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  1341. -*)
  1342. - case $ac_top_srcdir in
  1343. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1344. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1345. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1346. - esac;;
  1347. + ac_top_srcdir=$srcdir
  1348. + ac_abs_top_srcdir=$srcdir ;;
  1349. + *) # Relative name.
  1350. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1351. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  1352. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1353. esac
  1354. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1355. - cd $ac_dir
  1356. - # Check for guested configure; otherwise get Cygnus style configure.
  1357. - if test -f $ac_srcdir/configure.gnu; then
  1358. - echo
  1359. - $SHELL $ac_srcdir/configure.gnu --help=recursive
  1360. - elif test -f $ac_srcdir/configure; then
  1361. - echo
  1362. - $SHELL $ac_srcdir/configure --help=recursive
  1363. - elif test -f $ac_srcdir/configure.ac ||
  1364. - test -f $ac_srcdir/configure.in; then
  1365. - echo
  1366. - $ac_configure --help
  1367. + cd "$ac_dir" || { ac_status=$?; continue; }
  1368. + # Check for guested configure.
  1369. + if test -f "$ac_srcdir/configure.gnu"; then
  1370. + echo &&
  1371. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1372. + elif test -f "$ac_srcdir/configure"; then
  1373. + echo &&
  1374. + $SHELL "$ac_srcdir/configure" --help=recursive
  1375. else
  1376. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1377. - fi
  1378. - cd $ac_popdir
  1379. + fi || ac_status=$?
  1380. + cd "$ac_pwd" || { ac_status=$?; break; }
  1381. done
  1382. fi
  1383. -test -n "$ac_init_help" && exit 0
  1384. +test -n "$ac_init_help" && exit $ac_status
  1385. if $ac_init_version; then
  1386. cat <<\_ACEOF
  1387. +configure
  1388. +generated by GNU Autoconf 2.61
  1389. -Copyright (C) 2003 Free Software Foundation, Inc.
  1390. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1391. +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1392. This configure script is free software; the Free Software Foundation
  1393. gives unlimited permission to copy, distribute and modify it.
  1394. _ACEOF
  1395. - exit 0
  1396. + exit
  1397. fi
  1398. -exec 5>auto/config.log
  1399. -cat >&5 <<_ACEOF
  1400. +cat >config.log <<_ACEOF
  1401. This file contains any messages produced by compilers while
  1402. running configure, to aid debugging if configure makes a mistake.
  1403. It was created by $as_me, which was
  1404. -generated by GNU Autoconf 2.59. Invocation command line was
  1405. +generated by GNU Autoconf 2.61. Invocation command line was
  1406. $ $0 $@
  1407. _ACEOF
  1408. +exec 5>>config.log
  1409. {
  1410. cat <<_ASUNAME
  1411. ## --------- ##
  1412. @@ -1040,7 +1494,7 @@
  1413. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1414. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1415. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1416. -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1417. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1418. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1419. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1420. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1421. @@ -1054,6 +1508,7 @@
  1422. test -z "$as_dir" && as_dir=.
  1423. echo "PATH: $as_dir"
  1424. done
  1425. +IFS=$as_save_IFS
  1426. } >&5
  1427. @@ -1075,7 +1530,6 @@
  1428. ac_configure_args=
  1429. ac_configure_args0=
  1430. ac_configure_args1=
  1431. -ac_sep=
  1432. ac_must_keep_next=false
  1433. for ac_pass in 1 2
  1434. do
  1435. @@ -1086,7 +1540,7 @@
  1436. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1437. | -silent | --silent | --silen | --sile | --sil)
  1438. continue ;;
  1439. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1440. + *\'*)
  1441. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1442. esac
  1443. case $ac_pass in
  1444. @@ -1108,9 +1562,7 @@
  1445. -* ) ac_must_keep_next=true ;;
  1446. esac
  1447. fi
  1448. - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1449. - # Get rid of the leading space.
  1450. - ac_sep=" "
  1451. + ac_configure_args="$ac_configure_args '$ac_arg'"
  1452. ;;
  1453. esac
  1454. done
  1455. @@ -1121,8 +1573,8 @@
  1456. # When interrupted or exit'd, cleanup temporary files, and complete
  1457. # config.log. We remove comments because anyway the quotes in there
  1458. # would cause problems or look ugly.
  1459. -# WARNING: Be sure not to use single quotes in there, as some shells,
  1460. -# such as our DU 5.0 friend, will then `close' the trap.
  1461. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1462. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1463. trap 'exit_status=$?
  1464. # Save into config.log some information that might help in debugging.
  1465. {
  1466. @@ -1135,20 +1587,34 @@
  1467. _ASBOX
  1468. echo
  1469. # The following way of writing the cache mishandles newlines in values,
  1470. -{
  1471. +(
  1472. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1473. + eval ac_val=\$$ac_var
  1474. + case $ac_val in #(
  1475. + *${as_nl}*)
  1476. + case $ac_var in #(
  1477. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1478. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1479. + esac
  1480. + case $ac_var in #(
  1481. + _ | IFS | as_nl) ;; #(
  1482. + *) $as_unset $ac_var ;;
  1483. + esac ;;
  1484. + esac
  1485. + done
  1486. (set) 2>&1 |
  1487. - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1488. - *ac_space=\ *)
  1489. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1490. + *${as_nl}ac_space=\ *)
  1491. sed -n \
  1492. - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1493. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1494. - ;;
  1495. + "s/'\''/'\''\\\\'\'''\''/g;
  1496. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1497. + ;; #(
  1498. *)
  1499. - sed -n \
  1500. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1501. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1502. ;;
  1503. - esac;
  1504. -}
  1505. + esac |
  1506. + sort
  1507. +)
  1508. echo
  1509. cat <<\_ASBOX
  1510. @@ -1159,22 +1625,28 @@
  1511. echo
  1512. for ac_var in $ac_subst_vars
  1513. do
  1514. - eval ac_val=$`echo $ac_var`
  1515. - echo "$ac_var='"'"'$ac_val'"'"'"
  1516. + eval ac_val=\$$ac_var
  1517. + case $ac_val in
  1518. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1519. + esac
  1520. + echo "$ac_var='\''$ac_val'\''"
  1521. done | sort
  1522. echo
  1523. if test -n "$ac_subst_files"; then
  1524. cat <<\_ASBOX
  1525. -## ------------- ##
  1526. -## Output files. ##
  1527. -## ------------- ##
  1528. +## ------------------- ##
  1529. +## File substitutions. ##
  1530. +## ------------------- ##
  1531. _ASBOX
  1532. echo
  1533. for ac_var in $ac_subst_files
  1534. do
  1535. - eval ac_val=$`echo $ac_var`
  1536. - echo "$ac_var='"'"'$ac_val'"'"'"
  1537. + eval ac_val=\$$ac_var
  1538. + case $ac_val in
  1539. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1540. + esac
  1541. + echo "$ac_var='\''$ac_val'\''"
  1542. done | sort
  1543. echo
  1544. fi
  1545. @@ -1186,26 +1658,24 @@
  1546. ## ----------- ##
  1547. _ASBOX
  1548. echo
  1549. - sed "/^$/d" confdefs.h | sort
  1550. + cat confdefs.h
  1551. echo
  1552. fi
  1553. test "$ac_signal" != 0 &&
  1554. echo "$as_me: caught signal $ac_signal"
  1555. echo "$as_me: exit $exit_status"
  1556. } >&5
  1557. - rm -f core *.core &&
  1558. - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1559. + rm -f core *.core core.conftest.* &&
  1560. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1561. exit $exit_status
  1562. - ' 0
  1563. +' 0
  1564. for ac_signal in 1 2 13 15; do
  1565. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1566. done
  1567. ac_signal=0
  1568. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1569. -rm -rf conftest* confdefs.h
  1570. -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1571. -echo >confdefs.h
  1572. +rm -f -r conftest* confdefs.h
  1573. # Predefined preprocessor variables.
  1574. @@ -1236,14 +1706,17 @@
  1575. # Let the site file select an alternate cache file if it wants to.
  1576. # Prefer explicitly selected file to automatically selected ones.
  1577. -if test -z "$CONFIG_SITE"; then
  1578. - if test "x$prefix" != xNONE; then
  1579. - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1580. - else
  1581. - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1582. - fi
  1583. +if test -n "$CONFIG_SITE"; then
  1584. + set x "$CONFIG_SITE"
  1585. +elif test "x$prefix" != xNONE; then
  1586. + set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1587. +else
  1588. + set x "$ac_default_prefix/share/config.site" \
  1589. + "$ac_default_prefix/etc/config.site"
  1590. fi
  1591. -for ac_site_file in $CONFIG_SITE; do
  1592. +shift
  1593. +for ac_site_file
  1594. +do
  1595. if test -r "$ac_site_file"; then
  1596. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1597. echo "$as_me: loading site script $ac_site_file" >&6;}
  1598. @@ -1259,8 +1732,8 @@
  1599. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1600. echo "$as_me: loading cache $cache_file" >&6;}
  1601. case $cache_file in
  1602. - [\\/]* | ?:[\\/]* ) . $cache_file;;
  1603. - *) . ./$cache_file;;
  1604. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1605. + *) . "./$cache_file";;
  1606. esac
  1607. fi
  1608. else
  1609. @@ -1272,12 +1745,11 @@
  1610. # Check that the precious variables saved in the cache have kept the same
  1611. # value.
  1612. ac_cache_corrupted=false
  1613. -for ac_var in `(set) 2>&1 |
  1614. - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1615. +for ac_var in $ac_precious_vars; do
  1616. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1617. eval ac_new_set=\$ac_env_${ac_var}_set
  1618. - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1619. - eval ac_new_val="\$ac_env_${ac_var}_value"
  1620. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1621. + eval ac_new_val=\$ac_env_${ac_var}_value
  1622. case $ac_old_set,$ac_new_set in
  1623. set,)
  1624. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1625. @@ -1302,8 +1774,7 @@
  1626. # Pass precious variables to config.status.
  1627. if test "$ac_new_set" = set; then
  1628. case $ac_new_val in
  1629. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1630. - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1631. + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1632. *) ac_arg=$ac_var=$ac_new_val ;;
  1633. esac
  1634. case " $ac_configure_args " in
  1635. @@ -1320,12 +1791,6 @@
  1636. { (exit 1); exit 1; }; }
  1637. fi
  1638. -ac_ext=c
  1639. -ac_cpp='$CPP $CPPFLAGS'
  1640. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1641. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1642. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1643. -
  1644. @@ -1342,41 +1807,47 @@
  1645. +ac_ext=c
  1646. +ac_cpp='$CPP $CPPFLAGS'
  1647. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1648. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1649. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1650. - ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
  1651. +ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
  1652. cat >>confdefs.h <<\_ACEOF
  1653. #define UNIX 1
  1654. _ACEOF
  1655. -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1656. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  1657. -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1658. -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  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 x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1662. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  1663. echo $ECHO_N "(cached) $ECHO_C" >&6
  1664. else
  1665. cat >conftest.make <<\_ACEOF
  1666. +SHELL = /bin/sh
  1667. all:
  1668. - @echo 'ac_maketemp="$(MAKE)"'
  1669. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  1670. _ACEOF
  1671. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1672. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1673. -if test -n "$ac_maketemp"; then
  1674. - eval ac_cv_prog_make_${ac_make}_set=yes
  1675. -else
  1676. - eval ac_cv_prog_make_${ac_make}_set=no
  1677. -fi
  1678. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1679. + *@@@%%%=?*=@@@%%%*)
  1680. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  1681. + *)
  1682. + eval ac_cv_prog_make_${ac_make}_set=no;;
  1683. +esac
  1684. rm -f conftest.make
  1685. fi
  1686. -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1687. - echo "$as_me:$LINENO: result: yes" >&5
  1688. -echo "${ECHO_T}yes" >&6
  1689. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1690. + { echo "$as_me:$LINENO: result: yes" >&5
  1691. +echo "${ECHO_T}yes" >&6; }
  1692. SET_MAKE=
  1693. else
  1694. - echo "$as_me:$LINENO: result: no" >&5
  1695. -echo "${ECHO_T}no" >&6
  1696. + { echo "$as_me:$LINENO: result: no" >&5
  1697. +echo "${ECHO_T}no" >&6; }
  1698. SET_MAKE="MAKE=${MAKE-make}"
  1699. fi
  1700. @@ -1389,8 +1860,8 @@
  1701. if test -n "$ac_tool_prefix"; then
  1702. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1703. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1704. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1705. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1706. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1707. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1708. if test "${ac_cv_prog_CC+set}" = set; then
  1709. echo $ECHO_N "(cached) $ECHO_C" >&6
  1710. else
  1711. @@ -1403,32 +1874,34 @@
  1712. IFS=$as_save_IFS
  1713. test -z "$as_dir" && as_dir=.
  1714. for ac_exec_ext in '' $ac_executable_extensions; do
  1715. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1716. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1717. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1718. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1719. break 2
  1720. fi
  1721. done
  1722. done
  1723. +IFS=$as_save_IFS
  1724. fi
  1725. fi
  1726. CC=$ac_cv_prog_CC
  1727. if test -n "$CC"; then
  1728. - echo "$as_me:$LINENO: result: $CC" >&5
  1729. -echo "${ECHO_T}$CC" >&6
  1730. + { echo "$as_me:$LINENO: result: $CC" >&5
  1731. +echo "${ECHO_T}$CC" >&6; }
  1732. else
  1733. - echo "$as_me:$LINENO: result: no" >&5
  1734. -echo "${ECHO_T}no" >&6
  1735. + { echo "$as_me:$LINENO: result: no" >&5
  1736. +echo "${ECHO_T}no" >&6; }
  1737. fi
  1738. +
  1739. fi
  1740. if test -z "$ac_cv_prog_CC"; then
  1741. ac_ct_CC=$CC
  1742. # Extract the first word of "gcc", so it can be a program name with args.
  1743. set dummy gcc; ac_word=$2
  1744. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1745. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1746. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1747. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1748. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1749. echo $ECHO_N "(cached) $ECHO_C" >&6
  1750. else
  1751. @@ -1441,36 +1914,51 @@
  1752. IFS=$as_save_IFS
  1753. test -z "$as_dir" && as_dir=.
  1754. for ac_exec_ext in '' $ac_executable_extensions; do
  1755. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1756. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1757. ac_cv_prog_ac_ct_CC="gcc"
  1758. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1759. break 2
  1760. fi
  1761. done
  1762. done
  1763. +IFS=$as_save_IFS
  1764. fi
  1765. fi
  1766. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1767. if test -n "$ac_ct_CC"; then
  1768. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1769. -echo "${ECHO_T}$ac_ct_CC" >&6
  1770. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1771. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1772. else
  1773. - echo "$as_me:$LINENO: result: no" >&5
  1774. -echo "${ECHO_T}no" >&6
  1775. + { echo "$as_me:$LINENO: result: no" >&5
  1776. +echo "${ECHO_T}no" >&6; }
  1777. fi
  1778. - CC=$ac_ct_CC
  1779. + if test "x$ac_ct_CC" = x; then
  1780. + CC=""
  1781. + else
  1782. + case $cross_compiling:$ac_tool_warned in
  1783. +yes:)
  1784. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1785. +whose name does not start with the host triplet. If you think this
  1786. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1787. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1788. +whose name does not start with the host triplet. If you think this
  1789. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1790. +ac_tool_warned=yes ;;
  1791. +esac
  1792. + CC=$ac_ct_CC
  1793. + fi
  1794. else
  1795. CC="$ac_cv_prog_CC"
  1796. fi
  1797. if test -z "$CC"; then
  1798. - if test -n "$ac_tool_prefix"; then
  1799. - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1800. + if test -n "$ac_tool_prefix"; then
  1801. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1802. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1803. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1804. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1805. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1806. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1807. if test "${ac_cv_prog_CC+set}" = set; then
  1808. echo $ECHO_N "(cached) $ECHO_C" >&6
  1809. else
  1810. @@ -1483,74 +1971,34 @@
  1811. IFS=$as_save_IFS
  1812. test -z "$as_dir" && as_dir=.
  1813. for ac_exec_ext in '' $ac_executable_extensions; do
  1814. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1815. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1816. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1817. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1818. break 2
  1819. fi
  1820. done
  1821. done
  1822. +IFS=$as_save_IFS
  1823. fi
  1824. fi
  1825. CC=$ac_cv_prog_CC
  1826. if test -n "$CC"; then
  1827. - echo "$as_me:$LINENO: result: $CC" >&5
  1828. -echo "${ECHO_T}$CC" >&6
  1829. -else
  1830. - echo "$as_me:$LINENO: result: no" >&5
  1831. -echo "${ECHO_T}no" >&6
  1832. -fi
  1833. -
  1834. -fi
  1835. -if test -z "$ac_cv_prog_CC"; then
  1836. - ac_ct_CC=$CC
  1837. - # Extract the first word of "cc", so it can be a program name with args.
  1838. -set dummy cc; ac_word=$2
  1839. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1840. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1841. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1842. - echo $ECHO_N "(cached) $ECHO_C" >&6
  1843. -else
  1844. - if test -n "$ac_ct_CC"; then
  1845. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1846. -else
  1847. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1848. -for as_dir in $PATH
  1849. -do
  1850. - IFS=$as_save_IFS
  1851. - test -z "$as_dir" && as_dir=.
  1852. - for ac_exec_ext in '' $ac_executable_extensions; do
  1853. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1854. - ac_cv_prog_ac_ct_CC="cc"
  1855. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1856. - break 2
  1857. - fi
  1858. -done
  1859. -done
  1860. -
  1861. -fi
  1862. -fi
  1863. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1864. -if test -n "$ac_ct_CC"; then
  1865. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1866. -echo "${ECHO_T}$ac_ct_CC" >&6
  1867. + { echo "$as_me:$LINENO: result: $CC" >&5
  1868. +echo "${ECHO_T}$CC" >&6; }
  1869. else
  1870. - echo "$as_me:$LINENO: result: no" >&5
  1871. -echo "${ECHO_T}no" >&6
  1872. + { echo "$as_me:$LINENO: result: no" >&5
  1873. +echo "${ECHO_T}no" >&6; }
  1874. fi
  1875. - CC=$ac_ct_CC
  1876. -else
  1877. - CC="$ac_cv_prog_CC"
  1878. -fi
  1879. + fi
  1880. fi
  1881. if test -z "$CC"; then
  1882. # Extract the first word of "cc", so it can be a program name with args.
  1883. set dummy cc; ac_word=$2
  1884. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1885. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1886. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1887. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1888. if test "${ac_cv_prog_CC+set}" = set; then
  1889. echo $ECHO_N "(cached) $ECHO_C" >&6
  1890. else
  1891. @@ -1564,7 +2012,7 @@
  1892. IFS=$as_save_IFS
  1893. test -z "$as_dir" && as_dir=.
  1894. for ac_exec_ext in '' $ac_executable_extensions; do
  1895. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1896. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1897. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1898. ac_prog_rejected=yes
  1899. continue
  1900. @@ -1575,6 +2023,7 @@
  1901. fi
  1902. done
  1903. done
  1904. +IFS=$as_save_IFS
  1905. if test $ac_prog_rejected = yes; then
  1906. # We found a bogon in the path, so make sure we never use it.
  1907. @@ -1592,22 +2041,23 @@
  1908. fi
  1909. CC=$ac_cv_prog_CC
  1910. if test -n "$CC"; then
  1911. - echo "$as_me:$LINENO: result: $CC" >&5
  1912. -echo "${ECHO_T}$CC" >&6
  1913. + { echo "$as_me:$LINENO: result: $CC" >&5
  1914. +echo "${ECHO_T}$CC" >&6; }
  1915. else
  1916. - echo "$as_me:$LINENO: result: no" >&5
  1917. -echo "${ECHO_T}no" >&6
  1918. + { echo "$as_me:$LINENO: result: no" >&5
  1919. +echo "${ECHO_T}no" >&6; }
  1920. fi
  1921. +
  1922. fi
  1923. if test -z "$CC"; then
  1924. if test -n "$ac_tool_prefix"; then
  1925. - for ac_prog in cl
  1926. + for ac_prog in cl.exe
  1927. do
  1928. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1929. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1930. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1931. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1932. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1933. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1934. if test "${ac_cv_prog_CC+set}" = set; then
  1935. echo $ECHO_N "(cached) $ECHO_C" >&6
  1936. else
  1937. @@ -1620,36 +2070,38 @@
  1938. IFS=$as_save_IFS
  1939. test -z "$as_dir" && as_dir=.
  1940. for ac_exec_ext in '' $ac_executable_extensions; do
  1941. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1942. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1943. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1944. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1945. break 2
  1946. fi
  1947. done
  1948. done
  1949. +IFS=$as_save_IFS
  1950. fi
  1951. fi
  1952. CC=$ac_cv_prog_CC
  1953. if test -n "$CC"; then
  1954. - echo "$as_me:$LINENO: result: $CC" >&5
  1955. -echo "${ECHO_T}$CC" >&6
  1956. + { echo "$as_me:$LINENO: result: $CC" >&5
  1957. +echo "${ECHO_T}$CC" >&6; }
  1958. else
  1959. - echo "$as_me:$LINENO: result: no" >&5
  1960. -echo "${ECHO_T}no" >&6
  1961. + { echo "$as_me:$LINENO: result: no" >&5
  1962. +echo "${ECHO_T}no" >&6; }
  1963. fi
  1964. +
  1965. test -n "$CC" && break
  1966. done
  1967. fi
  1968. if test -z "$CC"; then
  1969. ac_ct_CC=$CC
  1970. - for ac_prog in cl
  1971. + for ac_prog in cl.exe
  1972. do
  1973. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1974. set dummy $ac_prog; ac_word=$2
  1975. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1976. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1977. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1978. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1979. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1980. echo $ECHO_N "(cached) $ECHO_C" >&6
  1981. else
  1982. @@ -1662,29 +2114,45 @@
  1983. IFS=$as_save_IFS
  1984. test -z "$as_dir" && as_dir=.
  1985. for ac_exec_ext in '' $ac_executable_extensions; do
  1986. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1987. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1988. ac_cv_prog_ac_ct_CC="$ac_prog"
  1989. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1990. break 2
  1991. fi
  1992. done
  1993. done
  1994. +IFS=$as_save_IFS
  1995. fi
  1996. fi
  1997. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1998. if test -n "$ac_ct_CC"; then
  1999. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2000. -echo "${ECHO_T}$ac_ct_CC" >&6
  2001. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2002. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2003. else
  2004. - echo "$as_me:$LINENO: result: no" >&5
  2005. -echo "${ECHO_T}no" >&6
  2006. + { echo "$as_me:$LINENO: result: no" >&5
  2007. +echo "${ECHO_T}no" >&6; }
  2008. fi
  2009. +
  2010. test -n "$ac_ct_CC" && break
  2011. done
  2012. - CC=$ac_ct_CC
  2013. + if test "x$ac_ct_CC" = x; then
  2014. + CC=""
  2015. + else
  2016. + case $cross_compiling:$ac_tool_warned in
  2017. +yes:)
  2018. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2019. +whose name does not start with the host triplet. If you think this
  2020. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2021. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2022. +whose name does not start with the host triplet. If you think this
  2023. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2024. +ac_tool_warned=yes ;;
  2025. +esac
  2026. + CC=$ac_ct_CC
  2027. + fi
  2028. fi
  2029. fi
  2030. @@ -1697,21 +2165,35 @@
  2031. { (exit 1); exit 1; }; }
  2032. # Provide some information about the compiler.
  2033. -echo "$as_me:$LINENO:" \
  2034. - "checking for C compiler version" >&5
  2035. +echo "$as_me:$LINENO: checking for C compiler version" >&5
  2036. ac_compiler=`set X $ac_compile; echo $2`
  2037. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2038. - (eval $ac_compiler --version </dev/null >&5) 2>&5
  2039. +{ (ac_try="$ac_compiler --version >&5"
  2040. +case "(($ac_try" in
  2041. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2042. + *) ac_try_echo=$ac_try;;
  2043. +esac
  2044. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2045. + (eval "$ac_compiler --version >&5") 2>&5
  2046. ac_status=$?
  2047. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2048. (exit $ac_status); }
  2049. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2050. - (eval $ac_compiler -v </dev/null >&5) 2>&5
  2051. +{ (ac_try="$ac_compiler -v >&5"
  2052. +case "(($ac_try" in
  2053. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2054. + *) ac_try_echo=$ac_try;;
  2055. +esac
  2056. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2057. + (eval "$ac_compiler -v >&5") 2>&5
  2058. ac_status=$?
  2059. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2060. (exit $ac_status); }
  2061. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2062. - (eval $ac_compiler -V </dev/null >&5) 2>&5
  2063. +{ (ac_try="$ac_compiler -V >&5"
  2064. +case "(($ac_try" in
  2065. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2066. + *) ac_try_echo=$ac_try;;
  2067. +esac
  2068. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2069. + (eval "$ac_compiler -V >&5") 2>&5
  2070. ac_status=$?
  2071. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2072. (exit $ac_status); }
  2073. @@ -1736,47 +2218,77 @@
  2074. # Try to create an executable without -o first, disregard a.out.
  2075. # It will help us diagnose broken compilers, and finding out an intuition
  2076. # of exeext.
  2077. -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2078. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2079. +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2080. +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2081. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2082. -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2083. - (eval $ac_link_default) 2>&5
  2084. +#
  2085. +# List of possible output files, starting from the most likely.
  2086. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2087. +# only as a last resort. b.out is created by i960 compilers.
  2088. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2089. +#
  2090. +# The IRIX 6 linker writes into existing files which may not be
  2091. +# executable, retaining their permissions. Remove them first so a
  2092. +# subsequent execution test works.
  2093. +ac_rmfiles=
  2094. +for ac_file in $ac_files
  2095. +do
  2096. + case $ac_file in
  2097. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2098. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2099. + esac
  2100. +done
  2101. +rm -f $ac_rmfiles
  2102. +
  2103. +if { (ac_try="$ac_link_default"
  2104. +case "(($ac_try" in
  2105. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2106. + *) ac_try_echo=$ac_try;;
  2107. +esac
  2108. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2109. + (eval "$ac_link_default") 2>&5
  2110. ac_status=$?
  2111. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2112. (exit $ac_status); }; then
  2113. - # Find the output, starting from the most likely. This scheme is
  2114. -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2115. -# resort.
  2116. -
  2117. -# Be careful to initialize this variable, since it used to be cached.
  2118. -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2119. -ac_cv_exeext=
  2120. -# b.out is created by i960 compilers.
  2121. -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2122. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2123. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2124. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  2125. +# so that the user can short-circuit this test for compilers unknown to
  2126. +# Autoconf.
  2127. +for ac_file in $ac_files ''
  2128. do
  2129. test -f "$ac_file" || continue
  2130. case $ac_file in
  2131. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2132. - ;;
  2133. - conftest.$ac_ext )
  2134. - # This is the source file.
  2135. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2136. ;;
  2137. [ab].out )
  2138. # We found the default executable, but exeext='' is most
  2139. # certainly right.
  2140. break;;
  2141. *.* )
  2142. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2143. - # FIXME: I believe we export ac_cv_exeext for Libtool,
  2144. - # but it would be cool to find out if it's true. Does anybody
  2145. - # maintain Libtool? --akim.
  2146. - export ac_cv_exeext
  2147. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2148. + then :; else
  2149. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2150. + fi
  2151. + # We set ac_cv_exeext here because the later test for it is not
  2152. + # safe: cross compilers may not add the suffix if given an `-o'
  2153. + # argument, so we may need to know it at that point already.
  2154. + # Even if this section looks crufty: it has the advantage of
  2155. + # actually working.
  2156. break;;
  2157. * )
  2158. break;;
  2159. esac
  2160. done
  2161. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  2162. +
  2163. else
  2164. + ac_file=''
  2165. +fi
  2166. +
  2167. +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  2168. +echo "${ECHO_T}$ac_file" >&6; }
  2169. +if test -z "$ac_file"; then
  2170. echo "$as_me: failed program was:" >&5
  2171. sed 's/^/| /' conftest.$ac_ext >&5
  2172. @@ -1788,19 +2300,21 @@
  2173. fi
  2174. ac_exeext=$ac_cv_exeext
  2175. -echo "$as_me:$LINENO: result: $ac_file" >&5
  2176. -echo "${ECHO_T}$ac_file" >&6
  2177. -# Check the compiler produces executables we can run. If not, either
  2178. +# Check that the compiler produces executables we can run. If not, either
  2179. # the compiler is broken, or we cross compile.
  2180. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2181. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2182. +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2183. +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2184. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2185. # If not cross compiling, check that we can run a simple program.
  2186. if test "$cross_compiling" != yes; then
  2187. if { ac_try='./$ac_file'
  2188. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2189. - (eval $ac_try) 2>&5
  2190. + { (case "(($ac_try" in
  2191. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2192. + *) ac_try_echo=$ac_try;;
  2193. +esac
  2194. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2195. + (eval "$ac_try") 2>&5
  2196. ac_status=$?
  2197. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2198. (exit $ac_status); }; }; then
  2199. @@ -1819,22 +2333,27 @@
  2200. fi
  2201. fi
  2202. fi
  2203. -echo "$as_me:$LINENO: result: yes" >&5
  2204. -echo "${ECHO_T}yes" >&6
  2205. +{ echo "$as_me:$LINENO: result: yes" >&5
  2206. +echo "${ECHO_T}yes" >&6; }
  2207. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2208. ac_clean_files=$ac_clean_files_save
  2209. -# Check the compiler produces executables we can run. If not, either
  2210. +# Check that the compiler produces executables we can run. If not, either
  2211. # the compiler is broken, or we cross compile.
  2212. -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2213. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2214. -echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2215. -echo "${ECHO_T}$cross_compiling" >&6
  2216. -
  2217. -echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2218. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2219. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2220. - (eval $ac_link) 2>&5
  2221. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2222. +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2223. +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2224. +echo "${ECHO_T}$cross_compiling" >&6; }
  2225. +
  2226. +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2227. +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2228. +if { (ac_try="$ac_link"
  2229. +case "(($ac_try" in
  2230. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2231. + *) ac_try_echo=$ac_try;;
  2232. +esac
  2233. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2234. + (eval "$ac_link") 2>&5
  2235. ac_status=$?
  2236. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2237. (exit $ac_status); }; then
  2238. @@ -1845,9 +2364,8 @@
  2239. for ac_file in conftest.exe conftest conftest.*; do
  2240. test -f "$ac_file" || continue
  2241. case $ac_file in
  2242. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2243. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2244. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2245. - export ac_cv_exeext
  2246. break;;
  2247. * ) break;;
  2248. esac
  2249. @@ -1861,14 +2379,14 @@
  2250. fi
  2251. rm -f conftest$ac_cv_exeext
  2252. -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2253. -echo "${ECHO_T}$ac_cv_exeext" >&6
  2254. +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2255. +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2256. rm -f conftest.$ac_ext
  2257. EXEEXT=$ac_cv_exeext
  2258. ac_exeext=$EXEEXT
  2259. -echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2260. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2261. +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2262. +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2263. if test "${ac_cv_objext+set}" = set; then
  2264. echo $ECHO_N "(cached) $ECHO_C" >&6
  2265. else
  2266. @@ -1888,14 +2406,20 @@
  2267. }
  2268. _ACEOF
  2269. rm -f conftest.o conftest.obj
  2270. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2271. - (eval $ac_compile) 2>&5
  2272. +if { (ac_try="$ac_compile"
  2273. +case "(($ac_try" in
  2274. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2275. + *) ac_try_echo=$ac_try;;
  2276. +esac
  2277. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2278. + (eval "$ac_compile") 2>&5
  2279. ac_status=$?
  2280. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2281. (exit $ac_status); }; then
  2282. - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2283. + for ac_file in conftest.o conftest.obj conftest.*; do
  2284. + test -f "$ac_file" || continue;
  2285. case $ac_file in
  2286. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2287. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2288. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2289. break;;
  2290. esac
  2291. @@ -1913,12 +2437,12 @@
  2292. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2293. fi
  2294. -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2295. -echo "${ECHO_T}$ac_cv_objext" >&6
  2296. +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2297. +echo "${ECHO_T}$ac_cv_objext" >&6; }
  2298. OBJEXT=$ac_cv_objext
  2299. ac_objext=$OBJEXT
  2300. -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2301. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2302. +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2303. +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2304. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2305. echo $ECHO_N "(cached) $ECHO_C" >&6
  2306. else
  2307. @@ -1941,50 +2465,49 @@
  2308. }
  2309. _ACEOF
  2310. rm -f conftest.$ac_objext
  2311. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2312. - (eval $ac_compile) 2>conftest.er1
  2313. +if { (ac_try="$ac_compile"
  2314. +case "(($ac_try" in
  2315. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2316. + *) ac_try_echo=$ac_try;;
  2317. +esac
  2318. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2319. + (eval "$ac_compile") 2>conftest.er1
  2320. ac_status=$?
  2321. grep -v '^ *+' conftest.er1 >conftest.err
  2322. rm -f conftest.er1
  2323. cat conftest.err >&5
  2324. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2325. - (exit $ac_status); } &&
  2326. - { ac_try='test -z "$ac_c_werror_flag"
  2327. - || test ! -s conftest.err'
  2328. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2329. - (eval $ac_try) 2>&5
  2330. - ac_status=$?
  2331. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2332. - (exit $ac_status); }; } &&
  2333. - { ac_try='test -s conftest.$ac_objext'
  2334. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2335. - (eval $ac_try) 2>&5
  2336. - ac_status=$?
  2337. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2338. - (exit $ac_status); }; }; then
  2339. + (exit $ac_status); } && {
  2340. + test -z "$ac_c_werror_flag" ||
  2341. + test ! -s conftest.err
  2342. + } && test -s conftest.$ac_objext; then
  2343. ac_compiler_gnu=yes
  2344. else
  2345. echo "$as_me: failed program was:" >&5
  2346. sed 's/^/| /' conftest.$ac_ext >&5
  2347. -ac_compiler_gnu=no
  2348. + ac_compiler_gnu=no
  2349. fi
  2350. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2351. +
  2352. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2353. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2354. fi
  2355. -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2356. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2357. +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2358. +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2359. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2360. ac_test_CFLAGS=${CFLAGS+set}
  2361. ac_save_CFLAGS=$CFLAGS
  2362. -CFLAGS="-g"
  2363. -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2364. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2365. +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2366. +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2367. if test "${ac_cv_prog_cc_g+set}" = set; then
  2368. echo $ECHO_N "(cached) $ECHO_C" >&6
  2369. else
  2370. - cat >conftest.$ac_ext <<_ACEOF
  2371. + ac_save_c_werror_flag=$ac_c_werror_flag
  2372. + ac_c_werror_flag=yes
  2373. + ac_cv_prog_cc_g=no
  2374. + CFLAGS="-g"
  2375. + cat >conftest.$ac_ext <<_ACEOF
  2376. /* confdefs.h. */
  2377. _ACEOF
  2378. cat confdefs.h >>conftest.$ac_ext
  2379. @@ -2000,38 +2523,118 @@
  2380. }
  2381. _ACEOF
  2382. rm -f conftest.$ac_objext
  2383. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2384. - (eval $ac_compile) 2>conftest.er1
  2385. +if { (ac_try="$ac_compile"
  2386. +case "(($ac_try" in
  2387. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2388. + *) ac_try_echo=$ac_try;;
  2389. +esac
  2390. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2391. + (eval "$ac_compile") 2>conftest.er1
  2392. ac_status=$?
  2393. grep -v '^ *+' conftest.er1 >conftest.err
  2394. rm -f conftest.er1
  2395. cat conftest.err >&5
  2396. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2397. - (exit $ac_status); } &&
  2398. - { ac_try='test -z "$ac_c_werror_flag"
  2399. - || test ! -s conftest.err'
  2400. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2401. - (eval $ac_try) 2>&5
  2402. + (exit $ac_status); } && {
  2403. + test -z "$ac_c_werror_flag" ||
  2404. + test ! -s conftest.err
  2405. + } && test -s conftest.$ac_objext; then
  2406. + ac_cv_prog_cc_g=yes
  2407. +else
  2408. + echo "$as_me: failed program was:" >&5
  2409. +sed 's/^/| /' conftest.$ac_ext >&5
  2410. +
  2411. + CFLAGS=""
  2412. + cat >conftest.$ac_ext <<_ACEOF
  2413. +/* confdefs.h. */
  2414. +_ACEOF
  2415. +cat confdefs.h >>conftest.$ac_ext
  2416. +cat >>conftest.$ac_ext <<_ACEOF
  2417. +/* end confdefs.h. */
  2418. +
  2419. +int
  2420. +main ()
  2421. +{
  2422. +
  2423. + ;
  2424. + return 0;
  2425. +}
  2426. +_ACEOF
  2427. +rm -f conftest.$ac_objext
  2428. +if { (ac_try="$ac_compile"
  2429. +case "(($ac_try" in
  2430. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2431. + *) ac_try_echo=$ac_try;;
  2432. +esac
  2433. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2434. + (eval "$ac_compile") 2>conftest.er1
  2435. ac_status=$?
  2436. + grep -v '^ *+' conftest.er1 >conftest.err
  2437. + rm -f conftest.er1
  2438. + cat conftest.err >&5
  2439. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2440. - (exit $ac_status); }; } &&
  2441. - { ac_try='test -s conftest.$ac_objext'
  2442. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2443. - (eval $ac_try) 2>&5
  2444. + (exit $ac_status); } && {
  2445. + test -z "$ac_c_werror_flag" ||
  2446. + test ! -s conftest.err
  2447. + } && test -s conftest.$ac_objext; then
  2448. + :
  2449. +else
  2450. + echo "$as_me: failed program was:" >&5
  2451. +sed 's/^/| /' conftest.$ac_ext >&5
  2452. +
  2453. + ac_c_werror_flag=$ac_save_c_werror_flag
  2454. + CFLAGS="-g"
  2455. + cat >conftest.$ac_ext <<_ACEOF
  2456. +/* confdefs.h. */
  2457. +_ACEOF
  2458. +cat confdefs.h >>conftest.$ac_ext
  2459. +cat >>conftest.$ac_ext <<_ACEOF
  2460. +/* end confdefs.h. */
  2461. +
  2462. +int
  2463. +main ()
  2464. +{
  2465. +
  2466. + ;
  2467. + return 0;
  2468. +}
  2469. +_ACEOF
  2470. +rm -f conftest.$ac_objext
  2471. +if { (ac_try="$ac_compile"
  2472. +case "(($ac_try" in
  2473. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2474. + *) ac_try_echo=$ac_try;;
  2475. +esac
  2476. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2477. + (eval "$ac_compile") 2>conftest.er1
  2478. ac_status=$?
  2479. + grep -v '^ *+' conftest.er1 >conftest.err
  2480. + rm -f conftest.er1
  2481. + cat conftest.err >&5
  2482. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2483. - (exit $ac_status); }; }; then
  2484. + (exit $ac_status); } && {
  2485. + test -z "$ac_c_werror_flag" ||
  2486. + test ! -s conftest.err
  2487. + } && test -s conftest.$ac_objext; then
  2488. ac_cv_prog_cc_g=yes
  2489. else
  2490. echo "$as_me: failed program was:" >&5
  2491. sed 's/^/| /' conftest.$ac_ext >&5
  2492. -ac_cv_prog_cc_g=no
  2493. +
  2494. +fi
  2495. +
  2496. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2497. +fi
  2498. +
  2499. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2500. fi
  2501. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2502. +
  2503. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2504. + ac_c_werror_flag=$ac_save_c_werror_flag
  2505. fi
  2506. -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2507. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2508. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2509. +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2510. if test "$ac_test_CFLAGS" = set; then
  2511. CFLAGS=$ac_save_CFLAGS
  2512. elif test $ac_cv_prog_cc_g = yes; then
  2513. @@ -2047,12 +2650,12 @@
  2514. CFLAGS=
  2515. fi
  2516. fi
  2517. -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2518. -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2519. -if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2520. +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2521. +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  2522. +if test "${ac_cv_prog_cc_c89+set}" = set; then
  2523. echo $ECHO_N "(cached) $ECHO_C" >&6
  2524. else
  2525. - ac_cv_prog_cc_stdc=no
  2526. + ac_cv_prog_cc_c89=no
  2527. ac_save_CC=$CC
  2528. cat >conftest.$ac_ext <<_ACEOF
  2529. /* confdefs.h. */
  2530. @@ -2086,12 +2689,17 @@
  2531. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2532. function prototypes and stuff, but not '\xHH' hex character constants.
  2533. These don't provoke an error unfortunately, instead are silently treated
  2534. - as 'x'. The following induces an error, until -std1 is added to get
  2535. + as 'x'. The following induces an error, until -std is added to get
  2536. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2537. array size at least. It's necessary to write '\x00'==0 to get something
  2538. - that's true only with -std1. */
  2539. + that's true only with -std. */
  2540. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2541. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2542. + inside strings and character constants. */
  2543. +#define FOO(x) 'x'
  2544. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2545. +
  2546. int test (int i, double x);
  2547. struct s1 {int (*f) (int a);};
  2548. struct s2 {int (*f) (double a);};
  2549. @@ -2106,205 +2714,57 @@
  2550. return 0;
  2551. }
  2552. _ACEOF
  2553. -# Don't try gcc -ansi; that turns off useful extensions and
  2554. -# breaks some systems' header files.
  2555. -# AIX -qlanglvl=ansi
  2556. -# Ultrix and OSF/1 -std1
  2557. -# HP-UX 10.20 and later -Ae
  2558. -# HP-UX older versions -Aa -D_HPUX_SOURCE
  2559. -# SVR4 -Xc -D__EXTENSIONS__
  2560. -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2561. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2562. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2563. do
  2564. CC="$ac_save_CC $ac_arg"
  2565. rm -f conftest.$ac_objext
  2566. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2567. - (eval $ac_compile) 2>conftest.er1
  2568. +if { (ac_try="$ac_compile"
  2569. +case "(($ac_try" in
  2570. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2571. + *) ac_try_echo=$ac_try;;
  2572. +esac
  2573. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2574. + (eval "$ac_compile") 2>conftest.er1
  2575. ac_status=$?
  2576. grep -v '^ *+' conftest.er1 >conftest.err
  2577. rm -f conftest.er1
  2578. cat conftest.err >&5
  2579. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2580. - (exit $ac_status); } &&
  2581. - { ac_try='test -z "$ac_c_werror_flag"
  2582. - || test ! -s conftest.err'
  2583. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2584. - (eval $ac_try) 2>&5
  2585. - ac_status=$?
  2586. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2587. - (exit $ac_status); }; } &&
  2588. - { ac_try='test -s conftest.$ac_objext'
  2589. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2590. - (eval $ac_try) 2>&5
  2591. - ac_status=$?
  2592. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2593. - (exit $ac_status); }; }; then
  2594. - ac_cv_prog_cc_stdc=$ac_arg
  2595. -break
  2596. + (exit $ac_status); } && {
  2597. + test -z "$ac_c_werror_flag" ||
  2598. + test ! -s conftest.err
  2599. + } && test -s conftest.$ac_objext; then
  2600. + ac_cv_prog_cc_c89=$ac_arg
  2601. else
  2602. echo "$as_me: failed program was:" >&5
  2603. sed 's/^/| /' conftest.$ac_ext >&5
  2604. +
  2605. fi
  2606. -rm -f conftest.err conftest.$ac_objext
  2607. +
  2608. +rm -f core conftest.err conftest.$ac_objext
  2609. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  2610. done
  2611. -rm -f conftest.$ac_ext conftest.$ac_objext
  2612. +rm -f conftest.$ac_ext
  2613. CC=$ac_save_CC
  2614. fi
  2615. -
  2616. -case "x$ac_cv_prog_cc_stdc" in
  2617. - x|xno)
  2618. - echo "$as_me:$LINENO: result: none needed" >&5
  2619. -echo "${ECHO_T}none needed" >&6 ;;
  2620. +# AC_CACHE_VAL
  2621. +case "x$ac_cv_prog_cc_c89" in
  2622. + x)
  2623. + { echo "$as_me:$LINENO: result: none needed" >&5
  2624. +echo "${ECHO_T}none needed" >&6; } ;;
  2625. + xno)
  2626. + { echo "$as_me:$LINENO: result: unsupported" >&5
  2627. +echo "${ECHO_T}unsupported" >&6; } ;;
  2628. *)
  2629. - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2630. -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2631. - CC="$CC $ac_cv_prog_cc_stdc" ;;
  2632. + CC="$CC $ac_cv_prog_cc_c89"
  2633. + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  2634. +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  2635. esac
  2636. -# Some people use a C++ compiler to compile C. Since we use `exit',
  2637. -# in C++ we need to declare it. In case someone uses the same compiler
  2638. -# for both compiling C and C++ we need to have the C++ compiler decide
  2639. -# the declaration of exit, since it's the most demanding environment.
  2640. -cat >conftest.$ac_ext <<_ACEOF
  2641. -#ifndef __cplusplus
  2642. - choke me
  2643. -#endif
  2644. -_ACEOF
  2645. -rm -f conftest.$ac_objext
  2646. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2647. - (eval $ac_compile) 2>conftest.er1
  2648. - ac_status=$?
  2649. - grep -v '^ *+' conftest.er1 >conftest.err
  2650. - rm -f conftest.er1
  2651. - cat conftest.err >&5
  2652. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2653. - (exit $ac_status); } &&
  2654. - { ac_try='test -z "$ac_c_werror_flag"
  2655. - || test ! -s conftest.err'
  2656. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2657. - (eval $ac_try) 2>&5
  2658. - ac_status=$?
  2659. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2660. - (exit $ac_status); }; } &&
  2661. - { ac_try='test -s conftest.$ac_objext'
  2662. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2663. - (eval $ac_try) 2>&5
  2664. - ac_status=$?
  2665. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2666. - (exit $ac_status); }; }; then
  2667. - for ac_declaration in \
  2668. - '' \
  2669. - 'extern "C" void std::exit (int) throw (); using std::exit;' \
  2670. - 'extern "C" void std::exit (int); using std::exit;' \
  2671. - 'extern "C" void exit (int) throw ();' \
  2672. - 'extern "C" void exit (int);' \
  2673. - 'void exit (int);'
  2674. -do
  2675. - cat >conftest.$ac_ext <<_ACEOF
  2676. -/* confdefs.h. */
  2677. -_ACEOF
  2678. -cat confdefs.h >>conftest.$ac_ext
  2679. -cat >>conftest.$ac_ext <<_ACEOF
  2680. -/* end confdefs.h. */
  2681. -$ac_declaration
  2682. -#include <stdlib.h>
  2683. -int
  2684. -main ()
  2685. -{
  2686. -exit (42);
  2687. - ;
  2688. - return 0;
  2689. -}
  2690. -_ACEOF
  2691. -rm -f conftest.$ac_objext
  2692. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2693. - (eval $ac_compile) 2>conftest.er1
  2694. - ac_status=$?
  2695. - grep -v '^ *+' conftest.er1 >conftest.err
  2696. - rm -f conftest.er1
  2697. - cat conftest.err >&5
  2698. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2699. - (exit $ac_status); } &&
  2700. - { ac_try='test -z "$ac_c_werror_flag"
  2701. - || test ! -s conftest.err'
  2702. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2703. - (eval $ac_try) 2>&5
  2704. - ac_status=$?
  2705. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2706. - (exit $ac_status); }; } &&
  2707. - { ac_try='test -s conftest.$ac_objext'
  2708. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2709. - (eval $ac_try) 2>&5
  2710. - ac_status=$?
  2711. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2712. - (exit $ac_status); }; }; then
  2713. - :
  2714. -else
  2715. - echo "$as_me: failed program was:" >&5
  2716. -sed 's/^/| /' conftest.$ac_ext >&5
  2717. -
  2718. -continue
  2719. -fi
  2720. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2721. - cat >conftest.$ac_ext <<_ACEOF
  2722. -/* confdefs.h. */
  2723. -_ACEOF
  2724. -cat confdefs.h >>conftest.$ac_ext
  2725. -cat >>conftest.$ac_ext <<_ACEOF
  2726. -/* end confdefs.h. */
  2727. -$ac_declaration
  2728. -int
  2729. -main ()
  2730. -{
  2731. -exit (42);
  2732. - ;
  2733. - return 0;
  2734. -}
  2735. -_ACEOF
  2736. -rm -f conftest.$ac_objext
  2737. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2738. - (eval $ac_compile) 2>conftest.er1
  2739. - ac_status=$?
  2740. - grep -v '^ *+' conftest.er1 >conftest.err
  2741. - rm -f conftest.er1
  2742. - cat conftest.err >&5
  2743. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2744. - (exit $ac_status); } &&
  2745. - { ac_try='test -z "$ac_c_werror_flag"
  2746. - || test ! -s conftest.err'
  2747. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2748. - (eval $ac_try) 2>&5
  2749. - ac_status=$?
  2750. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2751. - (exit $ac_status); }; } &&
  2752. - { ac_try='test -s conftest.$ac_objext'
  2753. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2754. - (eval $ac_try) 2>&5
  2755. - ac_status=$?
  2756. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2757. - (exit $ac_status); }; }; then
  2758. - break
  2759. -else
  2760. - echo "$as_me: failed program was:" >&5
  2761. -sed 's/^/| /' conftest.$ac_ext >&5
  2762. -
  2763. -fi
  2764. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2765. -done
  2766. -rm -f conftest*
  2767. -if test -n "$ac_declaration"; then
  2768. - echo '#ifdef __cplusplus' >>confdefs.h
  2769. - echo $ac_declaration >>confdefs.h
  2770. - echo '#endif' >>confdefs.h
  2771. -fi
  2772. -
  2773. -else
  2774. - echo "$as_me: failed program was:" >&5
  2775. -sed 's/^/| /' conftest.$ac_ext >&5
  2776. -fi
  2777. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2778. ac_ext=c
  2779. ac_cpp='$CPP $CPPFLAGS'
  2780. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2781. @@ -2315,8 +2775,8 @@
  2782. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2783. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2784. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2785. -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2786. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  2787. +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2788. +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  2789. # On Suns, sometimes $CPP names a directory.
  2790. if test -n "$CPP" && test -d "$CPP"; then
  2791. CPP=
  2792. @@ -2350,24 +2810,22 @@
  2793. #endif
  2794. Syntax error
  2795. _ACEOF
  2796. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2797. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2798. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  2799. +case "(($ac_try" in
  2800. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2801. + *) ac_try_echo=$ac_try;;
  2802. +esac
  2803. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2804. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2805. ac_status=$?
  2806. grep -v '^ *+' conftest.er1 >conftest.err
  2807. rm -f conftest.er1
  2808. cat conftest.err >&5
  2809. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2810. - (exit $ac_status); } >/dev/null; then
  2811. - if test -s conftest.err; then
  2812. - ac_cpp_err=$ac_c_preproc_warn_flag
  2813. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2814. - else
  2815. - ac_cpp_err=
  2816. - fi
  2817. -else
  2818. - ac_cpp_err=yes
  2819. -fi
  2820. -if test -z "$ac_cpp_err"; then
  2821. + (exit $ac_status); } >/dev/null && {
  2822. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2823. + test ! -s conftest.err
  2824. + }; then
  2825. :
  2826. else
  2827. echo "$as_me: failed program was:" >&5
  2828. @@ -2376,9 +2834,10 @@
  2829. # Broken: fails on valid input.
  2830. continue
  2831. fi
  2832. +
  2833. rm -f conftest.err conftest.$ac_ext
  2834. - # OK, works on sane cases. Now check whether non-existent headers
  2835. + # OK, works on sane cases. Now check whether nonexistent headers
  2836. # can be detected and how.
  2837. cat >conftest.$ac_ext <<_ACEOF
  2838. /* confdefs.h. */
  2839. @@ -2388,24 +2847,22 @@
  2840. /* end confdefs.h. */
  2841. #include <ac_nonexistent.h>
  2842. _ACEOF
  2843. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2844. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2845. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  2846. +case "(($ac_try" in
  2847. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2848. + *) ac_try_echo=$ac_try;;
  2849. +esac
  2850. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2851. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2852. ac_status=$?
  2853. grep -v '^ *+' conftest.er1 >conftest.err
  2854. rm -f conftest.er1
  2855. cat conftest.err >&5
  2856. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2857. - (exit $ac_status); } >/dev/null; then
  2858. - if test -s conftest.err; then
  2859. - ac_cpp_err=$ac_c_preproc_warn_flag
  2860. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2861. - else
  2862. - ac_cpp_err=
  2863. - fi
  2864. -else
  2865. - ac_cpp_err=yes
  2866. -fi
  2867. -if test -z "$ac_cpp_err"; then
  2868. + (exit $ac_status); } >/dev/null && {
  2869. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2870. + test ! -s conftest.err
  2871. + }; then
  2872. # Broken: success on invalid input.
  2873. continue
  2874. else
  2875. @@ -2416,6 +2873,7 @@
  2876. ac_preproc_ok=:
  2877. break
  2878. fi
  2879. +
  2880. rm -f conftest.err conftest.$ac_ext
  2881. done
  2882. @@ -2433,8 +2891,8 @@
  2883. else
  2884. ac_cv_prog_CPP=$CPP
  2885. fi
  2886. -echo "$as_me:$LINENO: result: $CPP" >&5
  2887. -echo "${ECHO_T}$CPP" >&6
  2888. +{ echo "$as_me:$LINENO: result: $CPP" >&5
  2889. +echo "${ECHO_T}$CPP" >&6; }
  2890. ac_preproc_ok=false
  2891. for ac_c_preproc_warn_flag in '' yes
  2892. do
  2893. @@ -2457,24 +2915,22 @@
  2894. #endif
  2895. Syntax error
  2896. _ACEOF
  2897. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2898. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2899. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  2900. +case "(($ac_try" in
  2901. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2902. + *) ac_try_echo=$ac_try;;
  2903. +esac
  2904. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2905. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2906. ac_status=$?
  2907. grep -v '^ *+' conftest.er1 >conftest.err
  2908. rm -f conftest.er1
  2909. cat conftest.err >&5
  2910. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2911. - (exit $ac_status); } >/dev/null; then
  2912. - if test -s conftest.err; then
  2913. - ac_cpp_err=$ac_c_preproc_warn_flag
  2914. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2915. - else
  2916. - ac_cpp_err=
  2917. - fi
  2918. -else
  2919. - ac_cpp_err=yes
  2920. -fi
  2921. -if test -z "$ac_cpp_err"; then
  2922. + (exit $ac_status); } >/dev/null && {
  2923. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2924. + test ! -s conftest.err
  2925. + }; then
  2926. :
  2927. else
  2928. echo "$as_me: failed program was:" >&5
  2929. @@ -2483,9 +2939,10 @@
  2930. # Broken: fails on valid input.
  2931. continue
  2932. fi
  2933. +
  2934. rm -f conftest.err conftest.$ac_ext
  2935. - # OK, works on sane cases. Now check whether non-existent headers
  2936. + # OK, works on sane cases. Now check whether nonexistent headers
  2937. # can be detected and how.
  2938. cat >conftest.$ac_ext <<_ACEOF
  2939. /* confdefs.h. */
  2940. @@ -2495,24 +2952,22 @@
  2941. /* end confdefs.h. */
  2942. #include <ac_nonexistent.h>
  2943. _ACEOF
  2944. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2945. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2946. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  2947. +case "(($ac_try" in
  2948. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2949. + *) ac_try_echo=$ac_try;;
  2950. +esac
  2951. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2952. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2953. ac_status=$?
  2954. grep -v '^ *+' conftest.er1 >conftest.err
  2955. rm -f conftest.er1
  2956. cat conftest.err >&5
  2957. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2958. - (exit $ac_status); } >/dev/null; then
  2959. - if test -s conftest.err; then
  2960. - ac_cpp_err=$ac_c_preproc_warn_flag
  2961. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2962. - else
  2963. - ac_cpp_err=
  2964. - fi
  2965. -else
  2966. - ac_cpp_err=yes
  2967. -fi
  2968. -if test -z "$ac_cpp_err"; then
  2969. + (exit $ac_status); } >/dev/null && {
  2970. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2971. + test ! -s conftest.err
  2972. + }; then
  2973. # Broken: success on invalid input.
  2974. continue
  2975. else
  2976. @@ -2523,6 +2978,7 @@
  2977. ac_preproc_ok=:
  2978. break
  2979. fi
  2980. +
  2981. rm -f conftest.err conftest.$ac_ext
  2982. done
  2983. @@ -2545,19 +3001,166 @@
  2984. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2985. -echo "$as_me:$LINENO: checking for egrep" >&5
  2986. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  2987. -if test "${ac_cv_prog_egrep+set}" = set; then
  2988. +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  2989. +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  2990. +if test "${ac_cv_path_GREP+set}" = set; then
  2991. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2992. +else
  2993. + # Extract the first word of "grep ggrep" to use in msg output
  2994. +if test -z "$GREP"; then
  2995. +set dummy grep ggrep; ac_prog_name=$2
  2996. +if test "${ac_cv_path_GREP+set}" = set; then
  2997. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2998. +else
  2999. + ac_path_GREP_found=false
  3000. +# Loop through the user's path and test for each of PROGNAME-LIST
  3001. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3002. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3003. +do
  3004. + IFS=$as_save_IFS
  3005. + test -z "$as_dir" && as_dir=.
  3006. + for ac_prog in grep ggrep; do
  3007. + for ac_exec_ext in '' $ac_executable_extensions; do
  3008. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3009. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3010. + # Check for GNU ac_path_GREP and select it if it is found.
  3011. + # Check for GNU $ac_path_GREP
  3012. +case `"$ac_path_GREP" --version 2>&1` in
  3013. +*GNU*)
  3014. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3015. +*)
  3016. + ac_count=0
  3017. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3018. + while :
  3019. + do
  3020. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3021. + mv "conftest.tmp" "conftest.in"
  3022. + cp "conftest.in" "conftest.nl"
  3023. + echo 'GREP' >> "conftest.nl"
  3024. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3025. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3026. + ac_count=`expr $ac_count + 1`
  3027. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3028. + # Best one so far, save it but keep looking for a better one
  3029. + ac_cv_path_GREP="$ac_path_GREP"
  3030. + ac_path_GREP_max=$ac_count
  3031. + fi
  3032. + # 10*(2^10) chars as input seems more than enough
  3033. + test $ac_count -gt 10 && break
  3034. + done
  3035. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3036. +esac
  3037. +
  3038. +
  3039. + $ac_path_GREP_found && break 3
  3040. + done
  3041. +done
  3042. +
  3043. +done
  3044. +IFS=$as_save_IFS
  3045. +
  3046. +
  3047. +fi
  3048. +
  3049. +GREP="$ac_cv_path_GREP"
  3050. +if test -z "$GREP"; then
  3051. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3052. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3053. + { (exit 1); exit 1; }; }
  3054. +fi
  3055. +
  3056. +else
  3057. + ac_cv_path_GREP=$GREP
  3058. +fi
  3059. +
  3060. +
  3061. +fi
  3062. +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3063. +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  3064. + GREP="$ac_cv_path_GREP"
  3065. +
  3066. +
  3067. +{ echo "$as_me:$LINENO: checking for egrep" >&5
  3068. +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  3069. +if test "${ac_cv_path_EGREP+set}" = set; then
  3070. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3071. +else
  3072. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3073. + then ac_cv_path_EGREP="$GREP -E"
  3074. + else
  3075. + # Extract the first word of "egrep" to use in msg output
  3076. +if test -z "$EGREP"; then
  3077. +set dummy egrep; ac_prog_name=$2
  3078. +if test "${ac_cv_path_EGREP+set}" = set; then
  3079. echo $ECHO_N "(cached) $ECHO_C" >&6
  3080. else
  3081. - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3082. - then ac_cv_prog_egrep='grep -E'
  3083. - else ac_cv_prog_egrep='egrep'
  3084. + ac_path_EGREP_found=false
  3085. +# Loop through the user's path and test for each of PROGNAME-LIST
  3086. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3087. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3088. +do
  3089. + IFS=$as_save_IFS
  3090. + test -z "$as_dir" && as_dir=.
  3091. + for ac_prog in egrep; do
  3092. + for ac_exec_ext in '' $ac_executable_extensions; do
  3093. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3094. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3095. + # Check for GNU ac_path_EGREP and select it if it is found.
  3096. + # Check for GNU $ac_path_EGREP
  3097. +case `"$ac_path_EGREP" --version 2>&1` in
  3098. +*GNU*)
  3099. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3100. +*)
  3101. + ac_count=0
  3102. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3103. + while :
  3104. + do
  3105. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3106. + mv "conftest.tmp" "conftest.in"
  3107. + cp "conftest.in" "conftest.nl"
  3108. + echo 'EGREP' >> "conftest.nl"
  3109. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3110. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3111. + ac_count=`expr $ac_count + 1`
  3112. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3113. + # Best one so far, save it but keep looking for a better one
  3114. + ac_cv_path_EGREP="$ac_path_EGREP"
  3115. + ac_path_EGREP_max=$ac_count
  3116. fi
  3117. + # 10*(2^10) chars as input seems more than enough
  3118. + test $ac_count -gt 10 && break
  3119. + done
  3120. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3121. +esac
  3122. +
  3123. +
  3124. + $ac_path_EGREP_found && break 3
  3125. + done
  3126. +done
  3127. +
  3128. +done
  3129. +IFS=$as_save_IFS
  3130. +
  3131. +
  3132. fi
  3133. -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3134. -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3135. - EGREP=$ac_cv_prog_egrep
  3136. +
  3137. +EGREP="$ac_cv_path_EGREP"
  3138. +if test -z "$EGREP"; then
  3139. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3140. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3141. + { (exit 1); exit 1; }; }
  3142. +fi
  3143. +
  3144. +else
  3145. + ac_cv_path_EGREP=$EGREP
  3146. +fi
  3147. +
  3148. +
  3149. + fi
  3150. +fi
  3151. +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3152. +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  3153. + EGREP="$ac_cv_path_EGREP"
  3154. cat >conftest.$ac_ext <<_ACEOF
  3155. @@ -2568,18 +3171,13 @@
  3156. /* end confdefs.h. */
  3157. _ACEOF
  3158. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3159. - $EGREP "" >/dev/null 2>&1; then
  3160. - :
  3161. -fi
  3162. rm -f conftest*
  3163. - echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3164. -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
  3165. + { echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3166. +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
  3167. if test "${ac_cv_search_strerror+set}" = set; then
  3168. echo $ECHO_N "(cached) $ECHO_C" >&6
  3169. else
  3170. ac_func_search_save_LIBS=$LIBS
  3171. -ac_cv_search_strerror=no
  3172. cat >conftest.$ac_ext <<_ACEOF
  3173. /* confdefs.h. */
  3174. _ACEOF
  3175. @@ -2587,123 +3185,81 @@
  3176. cat >>conftest.$ac_ext <<_ACEOF
  3177. /* end confdefs.h. */
  3178. -/* Override any gcc2 internal prototype to avoid an error. */
  3179. +/* Override any GCC internal prototype to avoid an error.
  3180. + Use char because int might match the return type of a GCC
  3181. + builtin and then its argument prototype would still apply. */
  3182. #ifdef __cplusplus
  3183. extern "C"
  3184. #endif
  3185. -/* We use char because int might match the return type of a gcc2
  3186. - builtin and then its argument prototype would still apply. */
  3187. char strerror ();
  3188. int
  3189. main ()
  3190. {
  3191. -strerror ();
  3192. +return strerror ();
  3193. ;
  3194. return 0;
  3195. }
  3196. _ACEOF
  3197. -rm -f conftest.$ac_objext conftest$ac_exeext
  3198. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3199. - (eval $ac_link) 2>conftest.er1
  3200. +for ac_lib in '' cposix; do
  3201. + if test -z "$ac_lib"; then
  3202. + ac_res="none required"
  3203. + else
  3204. + ac_res=-l$ac_lib
  3205. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3206. + fi
  3207. + rm -f conftest.$ac_objext conftest$ac_exeext
  3208. +if { (ac_try="$ac_link"
  3209. +case "(($ac_try" in
  3210. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3211. + *) ac_try_echo=$ac_try;;
  3212. +esac
  3213. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3214. + (eval "$ac_link") 2>conftest.er1
  3215. ac_status=$?
  3216. grep -v '^ *+' conftest.er1 >conftest.err
  3217. rm -f conftest.er1
  3218. cat conftest.err >&5
  3219. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3220. - (exit $ac_status); } &&
  3221. - { ac_try='test -z "$ac_c_werror_flag"
  3222. - || test ! -s conftest.err'
  3223. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3224. - (eval $ac_try) 2>&5
  3225. - ac_status=$?
  3226. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3227. - (exit $ac_status); }; } &&
  3228. - { ac_try='test -s conftest$ac_exeext'
  3229. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3230. - (eval $ac_try) 2>&5
  3231. - ac_status=$?
  3232. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3233. - (exit $ac_status); }; }; then
  3234. - ac_cv_search_strerror="none required"
  3235. + (exit $ac_status); } && {
  3236. + test -z "$ac_c_werror_flag" ||
  3237. + test ! -s conftest.err
  3238. + } && test -s conftest$ac_exeext &&
  3239. + $as_test_x conftest$ac_exeext; then
  3240. + ac_cv_search_strerror=$ac_res
  3241. else
  3242. echo "$as_me: failed program was:" >&5
  3243. sed 's/^/| /' conftest.$ac_ext >&5
  3244. +
  3245. fi
  3246. -rm -f conftest.err conftest.$ac_objext \
  3247. - conftest$ac_exeext conftest.$ac_ext
  3248. -if test "$ac_cv_search_strerror" = no; then
  3249. - for ac_lib in cposix; do
  3250. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3251. - cat >conftest.$ac_ext <<_ACEOF
  3252. -/* confdefs.h. */
  3253. -_ACEOF
  3254. -cat confdefs.h >>conftest.$ac_ext
  3255. -cat >>conftest.$ac_ext <<_ACEOF
  3256. -/* end confdefs.h. */
  3257. -
  3258. -/* Override any gcc2 internal prototype to avoid an error. */
  3259. -#ifdef __cplusplus
  3260. -extern "C"
  3261. -#endif
  3262. -/* We use char because int might match the return type of a gcc2
  3263. - builtin and then its argument prototype would still apply. */
  3264. -char strerror ();
  3265. -int
  3266. -main ()
  3267. -{
  3268. -strerror ();
  3269. - ;
  3270. - return 0;
  3271. -}
  3272. -_ACEOF
  3273. -rm -f conftest.$ac_objext conftest$ac_exeext
  3274. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3275. - (eval $ac_link) 2>conftest.er1
  3276. - ac_status=$?
  3277. - grep -v '^ *+' conftest.er1 >conftest.err
  3278. - rm -f conftest.er1
  3279. - cat conftest.err >&5
  3280. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3281. - (exit $ac_status); } &&
  3282. - { ac_try='test -z "$ac_c_werror_flag"
  3283. - || test ! -s conftest.err'
  3284. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3285. - (eval $ac_try) 2>&5
  3286. - ac_status=$?
  3287. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3288. - (exit $ac_status); }; } &&
  3289. - { ac_try='test -s conftest$ac_exeext'
  3290. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3291. - (eval $ac_try) 2>&5
  3292. - ac_status=$?
  3293. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3294. - (exit $ac_status); }; }; then
  3295. - ac_cv_search_strerror="-l$ac_lib"
  3296. -break
  3297. -else
  3298. - echo "$as_me: failed program was:" >&5
  3299. -sed 's/^/| /' conftest.$ac_ext >&5
  3300. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3301. + conftest$ac_exeext
  3302. + if test "${ac_cv_search_strerror+set}" = set; then
  3303. + break
  3304. fi
  3305. -rm -f conftest.err conftest.$ac_objext \
  3306. - conftest$ac_exeext conftest.$ac_ext
  3307. - done
  3308. +done
  3309. +if test "${ac_cv_search_strerror+set}" = set; then
  3310. + :
  3311. +else
  3312. + ac_cv_search_strerror=no
  3313. fi
  3314. +rm conftest.$ac_ext
  3315. LIBS=$ac_func_search_save_LIBS
  3316. fi
  3317. -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3318. -echo "${ECHO_T}$ac_cv_search_strerror" >&6
  3319. -if test "$ac_cv_search_strerror" != no; then
  3320. - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
  3321. +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3322. +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
  3323. +ac_res=$ac_cv_search_strerror
  3324. +if test "$ac_res" != no; then
  3325. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3326. fi
  3327. for ac_prog in gawk mawk nawk awk
  3328. do
  3329. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3330. set dummy $ac_prog; ac_word=$2
  3331. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  3332. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3333. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  3334. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3335. if test "${ac_cv_prog_AWK+set}" = set; then
  3336. echo $ECHO_N "(cached) $ECHO_C" >&6
  3337. else
  3338. @@ -2716,32 +3272,34 @@
  3339. IFS=$as_save_IFS
  3340. test -z "$as_dir" && as_dir=.
  3341. for ac_exec_ext in '' $ac_executable_extensions; do
  3342. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3343. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3344. ac_cv_prog_AWK="$ac_prog"
  3345. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3346. break 2
  3347. fi
  3348. done
  3349. done
  3350. +IFS=$as_save_IFS
  3351. fi
  3352. fi
  3353. AWK=$ac_cv_prog_AWK
  3354. if test -n "$AWK"; then
  3355. - echo "$as_me:$LINENO: result: $AWK" >&5
  3356. -echo "${ECHO_T}$AWK" >&6
  3357. + { echo "$as_me:$LINENO: result: $AWK" >&5
  3358. +echo "${ECHO_T}$AWK" >&6; }
  3359. else
  3360. - echo "$as_me:$LINENO: result: no" >&5
  3361. -echo "${ECHO_T}no" >&6
  3362. + { echo "$as_me:$LINENO: result: no" >&5
  3363. +echo "${ECHO_T}no" >&6; }
  3364. fi
  3365. +
  3366. test -n "$AWK" && break
  3367. done
  3368. # Extract the first word of "strip", so it can be a program name with args.
  3369. set dummy strip; ac_word=$2
  3370. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  3371. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3372. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  3373. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3374. if test "${ac_cv_prog_STRIP+set}" = set; then
  3375. echo $ECHO_N "(cached) $ECHO_C" >&6
  3376. else
  3377. @@ -2754,29 +3312,31 @@
  3378. IFS=$as_save_IFS
  3379. test -z "$as_dir" && as_dir=.
  3380. for ac_exec_ext in '' $ac_executable_extensions; do
  3381. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3382. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3383. ac_cv_prog_STRIP="strip"
  3384. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3385. break 2
  3386. fi
  3387. done
  3388. done
  3389. +IFS=$as_save_IFS
  3390. test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
  3391. fi
  3392. fi
  3393. STRIP=$ac_cv_prog_STRIP
  3394. if test -n "$STRIP"; then
  3395. - echo "$as_me:$LINENO: result: $STRIP" >&5
  3396. -echo "${ECHO_T}$STRIP" >&6
  3397. + { echo "$as_me:$LINENO: result: $STRIP" >&5
  3398. +echo "${ECHO_T}$STRIP" >&6; }
  3399. else
  3400. - echo "$as_me:$LINENO: result: no" >&5
  3401. -echo "${ECHO_T}no" >&6
  3402. + { echo "$as_me:$LINENO: result: no" >&5
  3403. +echo "${ECHO_T}no" >&6; }
  3404. fi
  3405. +
  3406. if test -z "$CFLAGS"; then
  3407. CFLAGS="-O"
  3408. test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
  3409. @@ -2797,13 +3357,12 @@
  3410. fi
  3411. fi
  3412. -if test "$cross_compiling" = yes; then
  3413. - { { echo "$as_me:$LINENO: error: cannot compile a simple program, check CC and CFLAGS
  3414. - (cross compiling doesn't work)" >&5
  3415. -echo "$as_me: error: cannot compile a simple program, check CC and CFLAGS
  3416. - (cross compiling doesn't work)" >&2;}
  3417. - { (exit 1); exit 1; }; }
  3418. -fi
  3419. +#dnl If configure thinks we are cross compiling, there is probably something
  3420. +#dnl wrong with the CC or CFLAGS settings, give an understandable error message
  3421. +#if test "$cross_compiling" = yes; then
  3422. +# AC_MSG_ERROR([cannot compile a simple program, check CC and CFLAGS
  3423. +# (cross compiling doesn't work)])
  3424. +#fi
  3425. test "$GCC" = yes && CPP_MM=M;
  3426. @@ -2815,76 +3374,76 @@
  3427. OS_EXTRA_SRC=""; OS_EXTRA_OBJ=""
  3428. -echo "$as_me:$LINENO: checking for BeOS" >&5
  3429. -echo $ECHO_N "checking for BeOS... $ECHO_C" >&6
  3430. +{ echo "$as_me:$LINENO: checking for BeOS" >&5
  3431. +echo $ECHO_N "checking for BeOS... $ECHO_C" >&6; }
  3432. case `uname` in
  3433. BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o
  3434. - BEOS=yes; echo "$as_me:$LINENO: result: yes" >&5
  3435. -echo "${ECHO_T}yes" >&6;;
  3436. - *) BEOS=no; echo "$as_me:$LINENO: result: no" >&5
  3437. -echo "${ECHO_T}no" >&6;;
  3438. + BEOS=yes; { echo "$as_me:$LINENO: result: yes" >&5
  3439. +echo "${ECHO_T}yes" >&6; };;
  3440. + *) BEOS=no; { echo "$as_me:$LINENO: result: no" >&5
  3441. +echo "${ECHO_T}no" >&6; };;
  3442. esac
  3443. -echo "$as_me:$LINENO: checking for QNX" >&5
  3444. -echo $ECHO_N "checking for QNX... $ECHO_C" >&6
  3445. +{ echo "$as_me:$LINENO: checking for QNX" >&5
  3446. +echo $ECHO_N "checking for QNX... $ECHO_C" >&6; }
  3447. case `uname` in
  3448. QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o
  3449. test -z "$with_x" && with_x=no
  3450. - QNX=yes; echo "$as_me:$LINENO: result: yes" >&5
  3451. -echo "${ECHO_T}yes" >&6;;
  3452. - *) QNX=no; echo "$as_me:$LINENO: result: no" >&5
  3453. -echo "${ECHO_T}no" >&6;;
  3454. + QNX=yes; { echo "$as_me:$LINENO: result: yes" >&5
  3455. +echo "${ECHO_T}yes" >&6; };;
  3456. + *) QNX=no; { echo "$as_me:$LINENO: result: no" >&5
  3457. +echo "${ECHO_T}no" >&6; };;
  3458. esac
  3459. -echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
  3460. -echo $ECHO_N "checking for Darwin (Mac OS X)... $ECHO_C" >&6
  3461. +{ echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
  3462. +echo $ECHO_N "checking for Darwin (Mac OS X)... $ECHO_C" >&6; }
  3463. if test "`(uname) 2>/dev/null`" = Darwin; then
  3464. - echo "$as_me:$LINENO: result: yes" >&5
  3465. -echo "${ECHO_T}yes" >&6
  3466. + { echo "$as_me:$LINENO: result: yes" >&5
  3467. +echo "${ECHO_T}yes" >&6; }
  3468. - echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
  3469. -echo $ECHO_N "checking --disable-darwin argument... $ECHO_C" >&6
  3470. - # Check whether --enable-darwin or --disable-darwin was given.
  3471. + { echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
  3472. +echo $ECHO_N "checking --disable-darwin argument... $ECHO_C" >&6; }
  3473. + # Check whether --enable-darwin was given.
  3474. if test "${enable_darwin+set}" = set; then
  3475. - enableval="$enable_darwin"
  3476. -
  3477. + enableval=$enable_darwin;
  3478. else
  3479. enable_darwin="yes"
  3480. -fi;
  3481. +fi
  3482. +
  3483. if test "$enable_darwin" = "yes"; then
  3484. - echo "$as_me:$LINENO: result: no" >&5
  3485. -echo "${ECHO_T}no" >&6
  3486. - echo "$as_me:$LINENO: checking if Darwin files are there" >&5
  3487. -echo $ECHO_N "checking if Darwin files are there... $ECHO_C" >&6
  3488. + { echo "$as_me:$LINENO: result: no" >&5
  3489. +echo "${ECHO_T}no" >&6; }
  3490. + { echo "$as_me:$LINENO: checking if Darwin files are there" >&5
  3491. +echo $ECHO_N "checking if Darwin files are there... $ECHO_C" >&6; }
  3492. if test -f os_macosx.c; then
  3493. - echo "$as_me:$LINENO: result: yes" >&5
  3494. -echo "${ECHO_T}yes" >&6
  3495. + { echo "$as_me:$LINENO: result: yes" >&5
  3496. +echo "${ECHO_T}yes" >&6; }
  3497. else
  3498. - echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
  3499. -echo "${ECHO_T}no, Darwin support disabled" >&6
  3500. + { echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
  3501. +echo "${ECHO_T}no, Darwin support disabled" >&6; }
  3502. enable_darwin=no
  3503. fi
  3504. else
  3505. - echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
  3506. -echo "${ECHO_T}yes, Darwin support excluded" >&6
  3507. + { echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
  3508. +echo "${ECHO_T}yes, Darwin support excluded" >&6; }
  3509. fi
  3510. - echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
  3511. -echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6
  3512. + { echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
  3513. +echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6; }
  3514. -# Check whether --with-mac-arch or --without-mac-arch was given.
  3515. +# Check whether --with-mac-arch was given.
  3516. if test "${with_mac_arch+set}" = set; then
  3517. - withval="$with_mac_arch"
  3518. - MACARCH="$withval"; echo "$as_me:$LINENO: result: $MACARCH" >&5
  3519. -echo "${ECHO_T}$MACARCH" >&6
  3520. + withval=$with_mac_arch; MACARCH="$withval"; { echo "$as_me:$LINENO: result: $MACARCH" >&5
  3521. +echo "${ECHO_T}$MACARCH" >&6; }
  3522. else
  3523. - MACARCH="current"; echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
  3524. -echo "${ECHO_T}defaulting to $MACARCH" >&6
  3525. -fi;
  3526. + MACARCH="current"; { echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
  3527. +echo "${ECHO_T}defaulting to $MACARCH" >&6; }
  3528. +fi
  3529. +
  3530. if test "x$MACARCH" = "xboth"; then
  3531. - echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
  3532. -echo $ECHO_N "checking for 10.4 universal SDK... $ECHO_C" >&6
  3533. + { echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
  3534. +echo $ECHO_N "checking for 10.4 universal SDK... $ECHO_C" >&6; }
  3535. save_cppflags="$CPPFLAGS"
  3536. save_cflags="$CFLAGS"
  3537. save_ldflags="$LDFLAGS"
  3538. @@ -2905,38 +3464,34 @@
  3539. }
  3540. _ACEOF
  3541. rm -f conftest.$ac_objext conftest$ac_exeext
  3542. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3543. - (eval $ac_link) 2>conftest.er1
  3544. +if { (ac_try="$ac_link"
  3545. +case "(($ac_try" in
  3546. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3547. + *) ac_try_echo=$ac_try;;
  3548. +esac
  3549. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3550. + (eval "$ac_link") 2>conftest.er1
  3551. ac_status=$?
  3552. grep -v '^ *+' conftest.er1 >conftest.err
  3553. rm -f conftest.er1
  3554. cat conftest.err >&5
  3555. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3556. - (exit $ac_status); } &&
  3557. - { ac_try='test -z "$ac_c_werror_flag"
  3558. - || test ! -s conftest.err'
  3559. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3560. - (eval $ac_try) 2>&5
  3561. - ac_status=$?
  3562. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3563. - (exit $ac_status); }; } &&
  3564. - { ac_try='test -s conftest$ac_exeext'
  3565. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3566. - (eval $ac_try) 2>&5
  3567. - ac_status=$?
  3568. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3569. - (exit $ac_status); }; }; then
  3570. - echo "$as_me:$LINENO: result: found" >&5
  3571. -echo "${ECHO_T}found" >&6
  3572. + (exit $ac_status); } && {
  3573. + test -z "$ac_c_werror_flag" ||
  3574. + test ! -s conftest.err
  3575. + } && test -s conftest$ac_exeext &&
  3576. + $as_test_x conftest$ac_exeext; then
  3577. + { echo "$as_me:$LINENO: result: found" >&5
  3578. +echo "${ECHO_T}found" >&6; }
  3579. else
  3580. echo "$as_me: failed program was:" >&5
  3581. sed 's/^/| /' conftest.$ac_ext >&5
  3582. -echo "$as_me:$LINENO: result: not found" >&5
  3583. -echo "${ECHO_T}not found" >&6
  3584. + { echo "$as_me:$LINENO: result: not found" >&5
  3585. +echo "${ECHO_T}not found" >&6; }
  3586. CFLAGS="$save_cflags"
  3587. - echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
  3588. -echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6
  3589. + { echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
  3590. +echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6; }
  3591. CPPFLAGS="$CPPFLAGS -arch i386"
  3592. LDFLAGS="$save_ldflags -arch i386"
  3593. cat >conftest.$ac_ext <<_ACEOF
  3594. @@ -2955,43 +3510,41 @@
  3595. }
  3596. _ACEOF
  3597. rm -f conftest.$ac_objext conftest$ac_exeext
  3598. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3599. - (eval $ac_link) 2>conftest.er1
  3600. +if { (ac_try="$ac_link"
  3601. +case "(($ac_try" in
  3602. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3603. + *) ac_try_echo=$ac_try;;
  3604. +esac
  3605. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3606. + (eval "$ac_link") 2>conftest.er1
  3607. ac_status=$?
  3608. grep -v '^ *+' conftest.er1 >conftest.err
  3609. rm -f conftest.er1
  3610. cat conftest.err >&5
  3611. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3612. - (exit $ac_status); } &&
  3613. - { ac_try='test -z "$ac_c_werror_flag"
  3614. - || test ! -s conftest.err'
  3615. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3616. - (eval $ac_try) 2>&5
  3617. - ac_status=$?
  3618. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3619. - (exit $ac_status); }; } &&
  3620. - { ac_try='test -s conftest$ac_exeext'
  3621. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3622. - (eval $ac_try) 2>&5
  3623. - ac_status=$?
  3624. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3625. - (exit $ac_status); }; }; then
  3626. - echo "$as_me:$LINENO: result: yes" >&5
  3627. -echo "${ECHO_T}yes" >&6; MACARCH="intel"
  3628. + (exit $ac_status); } && {
  3629. + test -z "$ac_c_werror_flag" ||
  3630. + test ! -s conftest.err
  3631. + } && test -s conftest$ac_exeext &&
  3632. + $as_test_x conftest$ac_exeext; then
  3633. + { echo "$as_me:$LINENO: result: yes" >&5
  3634. +echo "${ECHO_T}yes" >&6; }; MACARCH="intel"
  3635. else
  3636. echo "$as_me: failed program was:" >&5
  3637. sed 's/^/| /' conftest.$ac_ext >&5
  3638. -echo "$as_me:$LINENO: result: no" >&5
  3639. -echo "${ECHO_T}no" >&6
  3640. + { echo "$as_me:$LINENO: result: no" >&5
  3641. +echo "${ECHO_T}no" >&6; }
  3642. MACARCH="ppc"
  3643. CPPFLAGS="$save_cppflags -arch ppc"
  3644. LDFLAGS="$save_ldflags -arch ppc"
  3645. fi
  3646. -rm -f conftest.err conftest.$ac_objext \
  3647. +
  3648. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3649. conftest$ac_exeext conftest.$ac_ext
  3650. fi
  3651. -rm -f conftest.err conftest.$ac_objext \
  3652. +
  3653. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3654. conftest$ac_exeext conftest.$ac_ext
  3655. elif test "x$MACARCH" = "xintel"; then
  3656. CPPFLAGS="$CPPFLAGS -arch intel"
  3657. @@ -3012,8 +3565,8 @@
  3658. CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
  3659. fi
  3660. - echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3661. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3662. + { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3663. +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  3664. if test "${ac_cv_header_stdc+set}" = set; then
  3665. echo $ECHO_N "(cached) $ECHO_C" >&6
  3666. else
  3667. @@ -3037,35 +3590,31 @@
  3668. }
  3669. _ACEOF
  3670. rm -f conftest.$ac_objext
  3671. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3672. - (eval $ac_compile) 2>conftest.er1
  3673. +if { (ac_try="$ac_compile"
  3674. +case "(($ac_try" in
  3675. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3676. + *) ac_try_echo=$ac_try;;
  3677. +esac
  3678. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3679. + (eval "$ac_compile") 2>conftest.er1
  3680. ac_status=$?
  3681. grep -v '^ *+' conftest.er1 >conftest.err
  3682. rm -f conftest.er1
  3683. cat conftest.err >&5
  3684. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3685. - (exit $ac_status); } &&
  3686. - { ac_try='test -z "$ac_c_werror_flag"
  3687. - || test ! -s conftest.err'
  3688. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3689. - (eval $ac_try) 2>&5
  3690. - ac_status=$?
  3691. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3692. - (exit $ac_status); }; } &&
  3693. - { ac_try='test -s conftest.$ac_objext'
  3694. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3695. - (eval $ac_try) 2>&5
  3696. - ac_status=$?
  3697. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3698. - (exit $ac_status); }; }; then
  3699. + (exit $ac_status); } && {
  3700. + test -z "$ac_c_werror_flag" ||
  3701. + test ! -s conftest.err
  3702. + } && test -s conftest.$ac_objext; then
  3703. ac_cv_header_stdc=yes
  3704. else
  3705. echo "$as_me: failed program was:" >&5
  3706. sed 's/^/| /' conftest.$ac_ext >&5
  3707. -ac_cv_header_stdc=no
  3708. + ac_cv_header_stdc=no
  3709. fi
  3710. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3711. +
  3712. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3713. if test $ac_cv_header_stdc = yes; then
  3714. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3715. @@ -3121,6 +3670,7 @@
  3716. cat >>conftest.$ac_ext <<_ACEOF
  3717. /* end confdefs.h. */
  3718. #include <ctype.h>
  3719. +#include <stdlib.h>
  3720. #if ((' ' & 0x0FF) == 0x020)
  3721. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3722. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3723. @@ -3140,18 +3690,27 @@
  3724. for (i = 0; i < 256; i++)
  3725. if (XOR (islower (i), ISLOWER (i))
  3726. || toupper (i) != TOUPPER (i))
  3727. - exit(2);
  3728. - exit (0);
  3729. + return 2;
  3730. + return 0;
  3731. }
  3732. _ACEOF
  3733. rm -f conftest$ac_exeext
  3734. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3735. - (eval $ac_link) 2>&5
  3736. +if { (ac_try="$ac_link"
  3737. +case "(($ac_try" in
  3738. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3739. + *) ac_try_echo=$ac_try;;
  3740. +esac
  3741. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3742. + (eval "$ac_link") 2>&5
  3743. ac_status=$?
  3744. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3745. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3746. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3747. - (eval $ac_try) 2>&5
  3748. + { (case "(($ac_try" in
  3749. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3750. + *) ac_try_echo=$ac_try;;
  3751. +esac
  3752. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3753. + (eval "$ac_try") 2>&5
  3754. ac_status=$?
  3755. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3756. (exit $ac_status); }; }; then
  3757. @@ -3164,12 +3723,14 @@
  3758. ( exit $ac_status )
  3759. ac_cv_header_stdc=no
  3760. fi
  3761. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3762. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3763. fi
  3764. +
  3765. +
  3766. fi
  3767. fi
  3768. -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3769. -echo "${ECHO_T}$ac_cv_header_stdc" >&6
  3770. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3771. +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3772. if test $ac_cv_header_stdc = yes; then
  3773. cat >>confdefs.h <<\_ACEOF
  3774. @@ -3192,9 +3753,9 @@
  3775. inttypes.h stdint.h unistd.h
  3776. do
  3777. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3778. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  3779. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3780. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3781. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  3782. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3783. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3784. echo $ECHO_N "(cached) $ECHO_C" >&6
  3785. else
  3786. cat >conftest.$ac_ext <<_ACEOF
  3787. @@ -3208,38 +3769,35 @@
  3788. #include <$ac_header>
  3789. _ACEOF
  3790. rm -f conftest.$ac_objext
  3791. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3792. - (eval $ac_compile) 2>conftest.er1
  3793. +if { (ac_try="$ac_compile"
  3794. +case "(($ac_try" in
  3795. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3796. + *) ac_try_echo=$ac_try;;
  3797. +esac
  3798. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3799. + (eval "$ac_compile") 2>conftest.er1
  3800. ac_status=$?
  3801. grep -v '^ *+' conftest.er1 >conftest.err
  3802. rm -f conftest.er1
  3803. cat conftest.err >&5
  3804. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3805. - (exit $ac_status); } &&
  3806. - { ac_try='test -z "$ac_c_werror_flag"
  3807. - || test ! -s conftest.err'
  3808. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3809. - (eval $ac_try) 2>&5
  3810. - ac_status=$?
  3811. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3812. - (exit $ac_status); }; } &&
  3813. - { ac_try='test -s conftest.$ac_objext'
  3814. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3815. - (eval $ac_try) 2>&5
  3816. - ac_status=$?
  3817. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3818. - (exit $ac_status); }; }; then
  3819. + (exit $ac_status); } && {
  3820. + test -z "$ac_c_werror_flag" ||
  3821. + test ! -s conftest.err
  3822. + } && test -s conftest.$ac_objext; then
  3823. eval "$as_ac_Header=yes"
  3824. else
  3825. echo "$as_me: failed program was:" >&5
  3826. sed 's/^/| /' conftest.$ac_ext >&5
  3827. -eval "$as_ac_Header=no"
  3828. + eval "$as_ac_Header=no"
  3829. fi
  3830. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3831. +
  3832. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3833. fi
  3834. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3835. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3836. +ac_res=`eval echo '${'$as_ac_Header'}'`
  3837. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  3838. +echo "${ECHO_T}$ac_res" >&6; }
  3839. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3840. cat >>confdefs.h <<_ACEOF
  3841. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3842. @@ -3251,17 +3809,17 @@
  3843. if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  3844. - echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  3845. -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
  3846. + { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  3847. +echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  3848. if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  3849. echo $ECHO_N "(cached) $ECHO_C" >&6
  3850. fi
  3851. -echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  3852. -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
  3853. +{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  3854. +echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  3855. else
  3856. # Is the header compilable?
  3857. -echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
  3858. -echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
  3859. +{ echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
  3860. +echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
  3861. cat >conftest.$ac_ext <<_ACEOF
  3862. /* confdefs.h. */
  3863. _ACEOF
  3864. @@ -3272,41 +3830,37 @@
  3865. #include <Carbon/Carbon.h>
  3866. _ACEOF
  3867. rm -f conftest.$ac_objext
  3868. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3869. - (eval $ac_compile) 2>conftest.er1
  3870. +if { (ac_try="$ac_compile"
  3871. +case "(($ac_try" in
  3872. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3873. + *) ac_try_echo=$ac_try;;
  3874. +esac
  3875. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3876. + (eval "$ac_compile") 2>conftest.er1
  3877. ac_status=$?
  3878. grep -v '^ *+' conftest.er1 >conftest.err
  3879. rm -f conftest.er1
  3880. cat conftest.err >&5
  3881. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3882. - (exit $ac_status); } &&
  3883. - { ac_try='test -z "$ac_c_werror_flag"
  3884. - || test ! -s conftest.err'
  3885. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3886. - (eval $ac_try) 2>&5
  3887. - ac_status=$?
  3888. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3889. - (exit $ac_status); }; } &&
  3890. - { ac_try='test -s conftest.$ac_objext'
  3891. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3892. - (eval $ac_try) 2>&5
  3893. - ac_status=$?
  3894. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3895. - (exit $ac_status); }; }; then
  3896. + (exit $ac_status); } && {
  3897. + test -z "$ac_c_werror_flag" ||
  3898. + test ! -s conftest.err
  3899. + } && test -s conftest.$ac_objext; then
  3900. ac_header_compiler=yes
  3901. else
  3902. echo "$as_me: failed program was:" >&5
  3903. sed 's/^/| /' conftest.$ac_ext >&5
  3904. -ac_header_compiler=no
  3905. + ac_header_compiler=no
  3906. fi
  3907. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3908. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3909. -echo "${ECHO_T}$ac_header_compiler" >&6
  3910. +
  3911. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3912. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3913. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  3914. # Is the header present?
  3915. -echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
  3916. -echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
  3917. +{ echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
  3918. +echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
  3919. cat >conftest.$ac_ext <<_ACEOF
  3920. /* confdefs.h. */
  3921. _ACEOF
  3922. @@ -3315,24 +3869,22 @@
  3923. /* end confdefs.h. */
  3924. #include <Carbon/Carbon.h>
  3925. _ACEOF
  3926. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3927. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3928. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  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_cpp conftest.$ac_ext") 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); } >/dev/null; then
  3941. - if test -s conftest.err; then
  3942. - ac_cpp_err=$ac_c_preproc_warn_flag
  3943. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3944. - else
  3945. - ac_cpp_err=
  3946. - fi
  3947. -else
  3948. - ac_cpp_err=yes
  3949. -fi
  3950. -if test -z "$ac_cpp_err"; then
  3951. + (exit $ac_status); } >/dev/null && {
  3952. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3953. + test ! -s conftest.err
  3954. + }; then
  3955. ac_header_preproc=yes
  3956. else
  3957. echo "$as_me: failed program was:" >&5
  3958. @@ -3340,9 +3892,10 @@
  3959. ac_header_preproc=no
  3960. fi
  3961. +
  3962. rm -f conftest.err conftest.$ac_ext
  3963. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3964. -echo "${ECHO_T}$ac_header_preproc" >&6
  3965. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3966. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  3967. # So? What about this header?
  3968. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  3969. @@ -3366,25 +3919,18 @@
  3970. echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
  3971. { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
  3972. echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
  3973. - (
  3974. - cat <<\_ASBOX
  3975. -## ------------------------------------------ ##
  3976. -## Report this to the AC_PACKAGE_NAME lists. ##
  3977. -## ------------------------------------------ ##
  3978. -_ASBOX
  3979. - ) |
  3980. - sed "s/^/$as_me: WARNING: /" >&2
  3981. +
  3982. ;;
  3983. esac
  3984. -echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  3985. -echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
  3986. +{ echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  3987. +echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  3988. if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  3989. echo $ECHO_N "(cached) $ECHO_C" >&6
  3990. else
  3991. ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
  3992. fi
  3993. -echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  3994. -echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
  3995. +{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  3996. +echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  3997. fi
  3998. if test $ac_cv_header_Carbon_Carbon_h = yes; then
  3999. @@ -3404,8 +3950,8 @@
  4000. fi
  4001. else
  4002. - echo "$as_me:$LINENO: result: no" >&5
  4003. -echo "${ECHO_T}no" >&6
  4004. + { echo "$as_me:$LINENO: result: no" >&5
  4005. +echo "${ECHO_T}no" >&6; }
  4006. fi
  4007. @@ -3432,80 +3978,80 @@
  4008. fi
  4009. fi
  4010. -echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
  4011. -echo $ECHO_N "checking --with-vim-name argument... $ECHO_C" >&6
  4012. +{ echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
  4013. +echo $ECHO_N "checking --with-vim-name argument... $ECHO_C" >&6; }
  4014. -# Check whether --with-vim-name or --without-vim-name was given.
  4015. +# Check whether --with-vim-name was given.
  4016. if test "${with_vim_name+set}" = set; then
  4017. - withval="$with_vim_name"
  4018. - VIMNAME="$withval"; echo "$as_me:$LINENO: result: $VIMNAME" >&5
  4019. -echo "${ECHO_T}$VIMNAME" >&6
  4020. + withval=$with_vim_name; VIMNAME="$withval"; { echo "$as_me:$LINENO: result: $VIMNAME" >&5
  4021. +echo "${ECHO_T}$VIMNAME" >&6; }
  4022. else
  4023. - VIMNAME="vim"; echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
  4024. -echo "${ECHO_T}Defaulting to $VIMNAME" >&6
  4025. -fi;
  4026. + VIMNAME="vim"; { echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
  4027. +echo "${ECHO_T}Defaulting to $VIMNAME" >&6; }
  4028. +fi
  4029. +
  4030. -echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
  4031. -echo $ECHO_N "checking --with-ex-name argument... $ECHO_C" >&6
  4032. +{ echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
  4033. +echo $ECHO_N "checking --with-ex-name argument... $ECHO_C" >&6; }
  4034. -# Check whether --with-ex-name or --without-ex-name was given.
  4035. +# Check whether --with-ex-name was given.
  4036. if test "${with_ex_name+set}" = set; then
  4037. - withval="$with_ex_name"
  4038. - EXNAME="$withval"; echo "$as_me:$LINENO: result: $EXNAME" >&5
  4039. -echo "${ECHO_T}$EXNAME" >&6
  4040. + withval=$with_ex_name; EXNAME="$withval"; { echo "$as_me:$LINENO: result: $EXNAME" >&5
  4041. +echo "${ECHO_T}$EXNAME" >&6; }
  4042. else
  4043. - EXNAME="ex"; echo "$as_me:$LINENO: result: Defaulting to ex" >&5
  4044. -echo "${ECHO_T}Defaulting to ex" >&6
  4045. -fi;
  4046. + EXNAME="ex"; { echo "$as_me:$LINENO: result: Defaulting to ex" >&5
  4047. +echo "${ECHO_T}Defaulting to ex" >&6; }
  4048. +fi
  4049. -echo "$as_me:$LINENO: checking --with-view-name argument" >&5
  4050. -echo $ECHO_N "checking --with-view-name argument... $ECHO_C" >&6
  4051. -# Check whether --with-view-name or --without-view-name was given.
  4052. +{ echo "$as_me:$LINENO: checking --with-view-name argument" >&5
  4053. +echo $ECHO_N "checking --with-view-name argument... $ECHO_C" >&6; }
  4054. +
  4055. +# Check whether --with-view-name was given.
  4056. if test "${with_view_name+set}" = set; then
  4057. - withval="$with_view_name"
  4058. - VIEWNAME="$withval"; echo "$as_me:$LINENO: result: $VIEWNAME" >&5
  4059. -echo "${ECHO_T}$VIEWNAME" >&6
  4060. + withval=$with_view_name; VIEWNAME="$withval"; { echo "$as_me:$LINENO: result: $VIEWNAME" >&5
  4061. +echo "${ECHO_T}$VIEWNAME" >&6; }
  4062. else
  4063. - VIEWNAME="view"; echo "$as_me:$LINENO: result: Defaulting to view" >&5
  4064. -echo "${ECHO_T}Defaulting to view" >&6
  4065. -fi;
  4066. + VIEWNAME="view"; { echo "$as_me:$LINENO: result: Defaulting to view" >&5
  4067. +echo "${ECHO_T}Defaulting to view" >&6; }
  4068. +fi
  4069. +
  4070. -echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
  4071. -echo $ECHO_N "checking --with-global-runtime argument... $ECHO_C" >&6
  4072. +{ echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
  4073. +echo $ECHO_N "checking --with-global-runtime argument... $ECHO_C" >&6; }
  4074. -# Check whether --with-global-runtime or --without-global-runtime was given.
  4075. +# Check whether --with-global-runtime was given.
  4076. if test "${with_global_runtime+set}" = set; then
  4077. - withval="$with_global_runtime"
  4078. - echo "$as_me:$LINENO: result: $withval" >&5
  4079. -echo "${ECHO_T}$withval" >&6; cat >>confdefs.h <<_ACEOF
  4080. + withval=$with_global_runtime; { echo "$as_me:$LINENO: result: $withval" >&5
  4081. +echo "${ECHO_T}$withval" >&6; }; cat >>confdefs.h <<_ACEOF
  4082. #define RUNTIME_GLOBAL "$withval"
  4083. _ACEOF
  4084. else
  4085. - echo "$as_me:$LINENO: result: no" >&5
  4086. -echo "${ECHO_T}no" >&6
  4087. -fi;
  4088. + { echo "$as_me:$LINENO: result: no" >&5
  4089. +echo "${ECHO_T}no" >&6; }
  4090. +fi
  4091. -echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
  4092. -echo $ECHO_N "checking --with-modified-by argument... $ECHO_C" >&6
  4093. -# Check whether --with-modified-by or --without-modified-by was given.
  4094. +{ echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
  4095. +echo $ECHO_N "checking --with-modified-by argument... $ECHO_C" >&6; }
  4096. +
  4097. +# Check whether --with-modified-by was given.
  4098. if test "${with_modified_by+set}" = set; then
  4099. - withval="$with_modified_by"
  4100. - echo "$as_me:$LINENO: result: $withval" >&5
  4101. -echo "${ECHO_T}$withval" >&6; cat >>confdefs.h <<_ACEOF
  4102. + withval=$with_modified_by; { echo "$as_me:$LINENO: result: $withval" >&5
  4103. +echo "${ECHO_T}$withval" >&6; }; cat >>confdefs.h <<_ACEOF
  4104. #define MODIFIED_BY "$withval"
  4105. _ACEOF
  4106. else
  4107. - echo "$as_me:$LINENO: result: no" >&5
  4108. -echo "${ECHO_T}no" >&6
  4109. -fi;
  4110. + { echo "$as_me:$LINENO: result: no" >&5
  4111. +echo "${ECHO_T}no" >&6; }
  4112. +fi
  4113. +
  4114. -echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
  4115. -echo $ECHO_N "checking if character set is EBCDIC... $ECHO_C" >&6
  4116. +{ echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
  4117. +echo $ECHO_N "checking if character set is EBCDIC... $ECHO_C" >&6; }
  4118. cat >conftest.$ac_ext <<_ACEOF
  4119. /* confdefs.h. */
  4120. _ACEOF
  4121. @@ -3528,41 +4074,37 @@
  4122. }
  4123. _ACEOF
  4124. rm -f conftest.$ac_objext
  4125. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4126. - (eval $ac_compile) 2>conftest.er1
  4127. +if { (ac_try="$ac_compile"
  4128. +case "(($ac_try" in
  4129. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4130. + *) ac_try_echo=$ac_try;;
  4131. +esac
  4132. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4133. + (eval "$ac_compile") 2>conftest.er1
  4134. ac_status=$?
  4135. grep -v '^ *+' conftest.er1 >conftest.err
  4136. rm -f conftest.er1
  4137. cat conftest.err >&5
  4138. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4139. - (exit $ac_status); } &&
  4140. - { ac_try='test -z "$ac_c_werror_flag"
  4141. - || test ! -s conftest.err'
  4142. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4143. - (eval $ac_try) 2>&5
  4144. - ac_status=$?
  4145. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4146. - (exit $ac_status); }; } &&
  4147. - { ac_try='test -s conftest.$ac_objext'
  4148. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4149. - (eval $ac_try) 2>&5
  4150. - ac_status=$?
  4151. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4152. - (exit $ac_status); }; }; then
  4153. + (exit $ac_status); } && {
  4154. + test -z "$ac_c_werror_flag" ||
  4155. + test ! -s conftest.err
  4156. + } && test -s conftest.$ac_objext; then
  4157. # TryCompile action if true
  4158. cf_cv_ebcdic=yes
  4159. else
  4160. echo "$as_me: failed program was:" >&5
  4161. sed 's/^/| /' conftest.$ac_ext >&5
  4162. - # TryCompile action if false
  4163. + # TryCompile action if false
  4164. cf_cv_ebcdic=no
  4165. fi
  4166. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4167. +
  4168. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4169. # end of TryCompile ])
  4170. # end of CacheVal CvEbcdic
  4171. -echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
  4172. -echo "${ECHO_T}$cf_cv_ebcdic" >&6
  4173. +{ echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
  4174. +echo "${ECHO_T}$cf_cv_ebcdic" >&6; }
  4175. case "$cf_cv_ebcdic" in #(vi
  4176. yes) cat >>confdefs.h <<\_ACEOF
  4177. #define EBCDIC 1
  4178. @@ -3575,8 +4117,8 @@
  4179. if test "$cf_cv_ebcdic" = "yes"; then
  4180. -echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
  4181. -echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
  4182. +{ echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
  4183. +echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6; }
  4184. case `uname` in
  4185. OS/390) OS390Unix="yes";
  4186. if test "$CC" = "cc"; then
  4187. @@ -3741,109 +4283,109 @@
  4188. _ACEOF
  4189. dovimdiff="installvimdiff";
  4190. dogvimdiff="installgvimdiff" ;;
  4191. - *) echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
  4192. -echo "${ECHO_T}Sorry, $features is not supported" >&6 ;;
  4193. + *) { echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
  4194. +echo "${ECHO_T}Sorry, $features is not supported" >&6; } ;;
  4195. esac
  4196. -echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
  4197. -echo $ECHO_N "checking --with-compiledby argument... $ECHO_C" >&6
  4198. +{ echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
  4199. +echo $ECHO_N "checking --with-compiledby argument... $ECHO_C" >&6; }
  4200. -# Check whether --with-compiledby or --without-compiledby was given.
  4201. +# Check whether --with-compiledby was given.
  4202. if test "${with_compiledby+set}" = set; then
  4203. - withval="$with_compiledby"
  4204. - compiledby="$withval"; echo "$as_me:$LINENO: result: $withval" >&5
  4205. -echo "${ECHO_T}$withval" >&6
  4206. + withval=$with_compiledby; compiledby="$withval"; { echo "$as_me:$LINENO: result: $withval" >&5
  4207. +echo "${ECHO_T}$withval" >&6; }
  4208. else
  4209. - compiledby=""; echo "$as_me:$LINENO: result: no" >&5
  4210. -echo "${ECHO_T}no" >&6
  4211. -fi;
  4212. + compiledby=""; { echo "$as_me:$LINENO: result: no" >&5
  4213. +echo "${ECHO_T}no" >&6; }
  4214. +fi
  4215. -echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
  4216. -echo $ECHO_N "checking --disable-xsmp argument... $ECHO_C" >&6
  4217. -# Check whether --enable-xsmp or --disable-xsmp was given.
  4218. -if test "${enable_xsmp+set}" = set; then
  4219. - enableval="$enable_xsmp"
  4220. +{ echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
  4221. +echo $ECHO_N "checking --disable-xsmp argument... $ECHO_C" >&6; }
  4222. +# Check whether --enable-xsmp was given.
  4223. +if test "${enable_xsmp+set}" = set; then
  4224. + enableval=$enable_xsmp;
  4225. else
  4226. enable_xsmp="yes"
  4227. -fi;
  4228. +fi
  4229. +
  4230. if test "$enable_xsmp" = "yes"; then
  4231. - echo "$as_me:$LINENO: result: no" >&5
  4232. -echo "${ECHO_T}no" >&6
  4233. - echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
  4234. -echo $ECHO_N "checking --disable-xsmp-interact argument... $ECHO_C" >&6
  4235. - # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given.
  4236. + { echo "$as_me:$LINENO: result: no" >&5
  4237. +echo "${ECHO_T}no" >&6; }
  4238. + { echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
  4239. +echo $ECHO_N "checking --disable-xsmp-interact argument... $ECHO_C" >&6; }
  4240. + # Check whether --enable-xsmp-interact was given.
  4241. if test "${enable_xsmp_interact+set}" = set; then
  4242. - enableval="$enable_xsmp_interact"
  4243. -
  4244. + enableval=$enable_xsmp_interact;
  4245. else
  4246. enable_xsmp_interact="yes"
  4247. -fi;
  4248. +fi
  4249. +
  4250. if test "$enable_xsmp_interact" = "yes"; then
  4251. - echo "$as_me:$LINENO: result: no" >&5
  4252. -echo "${ECHO_T}no" >&6
  4253. + { echo "$as_me:$LINENO: result: no" >&5
  4254. +echo "${ECHO_T}no" >&6; }
  4255. cat >>confdefs.h <<\_ACEOF
  4256. #define USE_XSMP_INTERACT 1
  4257. _ACEOF
  4258. else
  4259. - echo "$as_me:$LINENO: result: yes" >&5
  4260. -echo "${ECHO_T}yes" >&6
  4261. + { echo "$as_me:$LINENO: result: yes" >&5
  4262. +echo "${ECHO_T}yes" >&6; }
  4263. fi
  4264. else
  4265. - echo "$as_me:$LINENO: result: yes" >&5
  4266. -echo "${ECHO_T}yes" >&6
  4267. + { echo "$as_me:$LINENO: result: yes" >&5
  4268. +echo "${ECHO_T}yes" >&6; }
  4269. fi
  4270. -echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
  4271. -echo $ECHO_N "checking --enable-mzschemeinterp argument... $ECHO_C" >&6
  4272. -# Check whether --enable-mzschemeinterp or --disable-mzschemeinterp was given.
  4273. +{ echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
  4274. +echo $ECHO_N "checking --enable-mzschemeinterp argument... $ECHO_C" >&6; }
  4275. +# Check whether --enable-mzschemeinterp was given.
  4276. if test "${enable_mzschemeinterp+set}" = set; then
  4277. - enableval="$enable_mzschemeinterp"
  4278. -
  4279. + enableval=$enable_mzschemeinterp;
  4280. else
  4281. enable_mzschemeinterp="no"
  4282. -fi;
  4283. -echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
  4284. -echo "${ECHO_T}$enable_mzschemeinterp" >&6
  4285. +fi
  4286. +
  4287. +{ echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
  4288. +echo "${ECHO_T}$enable_mzschemeinterp" >&6; }
  4289. if test "$enable_mzschemeinterp" = "yes"; then
  4290. - echo "$as_me:$LINENO: checking --with-plthome argument" >&5
  4291. -echo $ECHO_N "checking --with-plthome argument... $ECHO_C" >&6
  4292. + { echo "$as_me:$LINENO: checking --with-plthome argument" >&5
  4293. +echo $ECHO_N "checking --with-plthome argument... $ECHO_C" >&6; }
  4294. -# Check whether --with-plthome or --without-plthome was given.
  4295. +# Check whether --with-plthome was given.
  4296. if test "${with_plthome+set}" = set; then
  4297. - withval="$with_plthome"
  4298. - with_plthome="$withval"; echo "$as_me:$LINENO: result: $with_plthome" >&5
  4299. -echo "${ECHO_T}$with_plthome" >&6
  4300. + withval=$with_plthome; with_plthome="$withval"; { echo "$as_me:$LINENO: result: $with_plthome" >&5
  4301. +echo "${ECHO_T}$with_plthome" >&6; }
  4302. else
  4303. - with_plthome="";echo "$as_me:$LINENO: result: \"no\"" >&5
  4304. -echo "${ECHO_T}\"no\"" >&6
  4305. -fi;
  4306. + with_plthome="";{ echo "$as_me:$LINENO: result: \"no\"" >&5
  4307. +echo "${ECHO_T}\"no\"" >&6; }
  4308. +fi
  4309. +
  4310. if test "X$with_plthome" != "X"; then
  4311. vi_cv_path_mzscheme_pfx="$with_plthome"
  4312. else
  4313. - echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
  4314. -echo $ECHO_N "checking PLTHOME environment var... $ECHO_C" >&6
  4315. + { echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
  4316. +echo $ECHO_N "checking PLTHOME environment var... $ECHO_C" >&6; }
  4317. if test "X$PLTHOME" != "X"; then
  4318. - echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
  4319. -echo "${ECHO_T}\"$PLTHOME\"" >&6
  4320. + { echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
  4321. +echo "${ECHO_T}\"$PLTHOME\"" >&6; }
  4322. vi_cv_path_mzscheme_pfx="$PLTHOME"
  4323. else
  4324. - echo "$as_me:$LINENO: result: \"not set\"" >&5
  4325. -echo "${ECHO_T}\"not set\"" >&6
  4326. + { echo "$as_me:$LINENO: result: \"not set\"" >&5
  4327. +echo "${ECHO_T}\"not set\"" >&6; }
  4328. # Extract the first word of "mzscheme", so it can be a program name with args.
  4329. set dummy mzscheme; ac_word=$2
  4330. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4331. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4332. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4333. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4334. if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then
  4335. echo $ECHO_N "(cached) $ECHO_C" >&6
  4336. else
  4337. @@ -3858,28 +4400,29 @@
  4338. IFS=$as_save_IFS
  4339. test -z "$as_dir" && as_dir=.
  4340. for ac_exec_ext in '' $ac_executable_extensions; do
  4341. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4342. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4343. ac_cv_path_vi_cv_path_mzscheme="$as_dir/$ac_word$ac_exec_ext"
  4344. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4345. break 2
  4346. fi
  4347. done
  4348. done
  4349. +IFS=$as_save_IFS
  4350. ;;
  4351. esac
  4352. fi
  4353. vi_cv_path_mzscheme=$ac_cv_path_vi_cv_path_mzscheme
  4354. -
  4355. if test -n "$vi_cv_path_mzscheme"; then
  4356. - echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
  4357. -echo "${ECHO_T}$vi_cv_path_mzscheme" >&6
  4358. + { echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
  4359. +echo "${ECHO_T}$vi_cv_path_mzscheme" >&6; }
  4360. else
  4361. - echo "$as_me:$LINENO: result: no" >&5
  4362. -echo "${ECHO_T}no" >&6
  4363. + { echo "$as_me:$LINENO: result: no" >&5
  4364. +echo "${ECHO_T}no" >&6; }
  4365. fi
  4366. +
  4367. if test "X$vi_cv_path_mzscheme" != "X"; then
  4368. lsout=`ls -l $vi_cv_path_mzscheme`
  4369. if echo "$lsout" | grep -e '->' >/dev/null 2>/dev/null; then
  4370. @@ -3888,8 +4431,8 @@
  4371. fi
  4372. if test "X$vi_cv_path_mzscheme" != "X"; then
  4373. - echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
  4374. -echo $ECHO_N "checking MzScheme install prefix... $ECHO_C" >&6
  4375. + { echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
  4376. +echo $ECHO_N "checking MzScheme install prefix... $ECHO_C" >&6; }
  4377. if test "${vi_cv_path_mzscheme_pfx+set}" = set; then
  4378. echo $ECHO_N "(cached) $ECHO_C" >&6
  4379. else
  4380. @@ -3900,8 +4443,8 @@
  4381. (lambda () (split-path (find-system-path (quote exec-file)))) \
  4382. (lambda (base name must-be-dir?) base)) (quote up))))"`
  4383. fi
  4384. -echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
  4385. -echo "${ECHO_T}$vi_cv_path_mzscheme_pfx" >&6
  4386. +{ echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
  4387. +echo "${ECHO_T}$vi_cv_path_mzscheme_pfx" >&6; }
  4388. vi_cv_path_mzscheme_pfx=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'`
  4389. fi
  4390. fi
  4391. @@ -3909,23 +4452,23 @@
  4392. SCHEME_INC=
  4393. if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
  4394. - echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
  4395. -echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... $ECHO_C" >&6
  4396. + { echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
  4397. +echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... $ECHO_C" >&6; }
  4398. if test -f $vi_cv_path_mzscheme_pfx/include/scheme.h; then
  4399. - echo "$as_me:$LINENO: result: \"yes\"" >&5
  4400. -echo "${ECHO_T}\"yes\"" >&6
  4401. + { echo "$as_me:$LINENO: result: \"yes\"" >&5
  4402. +echo "${ECHO_T}\"yes\"" >&6; }
  4403. else
  4404. - echo "$as_me:$LINENO: result: \"no\"" >&5
  4405. -echo "${ECHO_T}\"no\"" >&6
  4406. - echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
  4407. -echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... $ECHO_C" >&6
  4408. + { echo "$as_me:$LINENO: result: \"no\"" >&5
  4409. +echo "${ECHO_T}\"no\"" >&6; }
  4410. + { echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
  4411. +echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... $ECHO_C" >&6; }
  4412. if test -f $vi_cv_path_mzscheme_pfx/include/plt/scheme.h; then
  4413. - echo "$as_me:$LINENO: result: \"yes\"" >&5
  4414. -echo "${ECHO_T}\"yes\"" >&6
  4415. + { echo "$as_me:$LINENO: result: \"yes\"" >&5
  4416. +echo "${ECHO_T}\"yes\"" >&6; }
  4417. SCHEME_INC=/plt
  4418. else
  4419. - echo "$as_me:$LINENO: result: \"no\"" >&5
  4420. -echo "${ECHO_T}\"no\"" >&6
  4421. + { echo "$as_me:$LINENO: result: \"no\"" >&5
  4422. +echo "${ECHO_T}\"no\"" >&6; }
  4423. vi_cv_path_mzscheme_pfx=
  4424. fi
  4425. fi
  4426. @@ -3966,23 +4509,23 @@
  4427. fi
  4428. -echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
  4429. -echo $ECHO_N "checking --enable-perlinterp argument... $ECHO_C" >&6
  4430. -# Check whether --enable-perlinterp or --disable-perlinterp was given.
  4431. +{ echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
  4432. +echo $ECHO_N "checking --enable-perlinterp argument... $ECHO_C" >&6; }
  4433. +# Check whether --enable-perlinterp was given.
  4434. if test "${enable_perlinterp+set}" = set; then
  4435. - enableval="$enable_perlinterp"
  4436. -
  4437. + enableval=$enable_perlinterp;
  4438. else
  4439. enable_perlinterp="no"
  4440. -fi;
  4441. -echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
  4442. -echo "${ECHO_T}$enable_perlinterp" >&6
  4443. +fi
  4444. +
  4445. +{ echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
  4446. +echo "${ECHO_T}$enable_perlinterp" >&6; }
  4447. if test "$enable_perlinterp" = "yes"; then
  4448. # Extract the first word of "perl", so it can be a program name with args.
  4449. set dummy perl; ac_word=$2
  4450. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4451. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4452. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4453. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4454. if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then
  4455. echo $ECHO_N "(cached) $ECHO_C" >&6
  4456. else
  4457. @@ -3997,30 +4540,31 @@
  4458. IFS=$as_save_IFS
  4459. test -z "$as_dir" && as_dir=.
  4460. for ac_exec_ext in '' $ac_executable_extensions; do
  4461. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4462. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4463. ac_cv_path_vi_cv_path_perl="$as_dir/$ac_word$ac_exec_ext"
  4464. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4465. break 2
  4466. fi
  4467. done
  4468. done
  4469. +IFS=$as_save_IFS
  4470. ;;
  4471. esac
  4472. fi
  4473. vi_cv_path_perl=$ac_cv_path_vi_cv_path_perl
  4474. -
  4475. if test -n "$vi_cv_path_perl"; then
  4476. - echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
  4477. -echo "${ECHO_T}$vi_cv_path_perl" >&6
  4478. + { echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
  4479. +echo "${ECHO_T}$vi_cv_path_perl" >&6; }
  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. fi
  4486. +
  4487. if test "X$vi_cv_path_perl" != "X"; then
  4488. - echo "$as_me:$LINENO: checking Perl version" >&5
  4489. -echo $ECHO_N "checking Perl version... $ECHO_C" >&6
  4490. + { echo "$as_me:$LINENO: checking Perl version" >&5
  4491. +echo $ECHO_N "checking Perl version... $ECHO_C" >&6; }
  4492. if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then
  4493. eval `$vi_cv_path_perl -V:usethreads`
  4494. if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
  4495. @@ -4032,18 +4576,18 @@
  4496. badthreads=no
  4497. else
  4498. badthreads=yes
  4499. - echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
  4500. -echo "${ECHO_T}>>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6
  4501. + { echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
  4502. +echo "${ECHO_T}>>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6; }
  4503. fi
  4504. else
  4505. badthreads=yes
  4506. - echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
  4507. -echo "${ECHO_T}>>> Perl 5.5 with threads cannot be used <<<" >&6
  4508. + { echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
  4509. +echo "${ECHO_T}>>> Perl 5.5 with threads cannot be used <<<" >&6; }
  4510. fi
  4511. fi
  4512. if test $badthreads = no; then
  4513. - echo "$as_me:$LINENO: result: OK" >&5
  4514. -echo "${ECHO_T}OK" >&6
  4515. + { echo "$as_me:$LINENO: result: OK" >&5
  4516. +echo "${ECHO_T}OK" >&6; }
  4517. eval `$vi_cv_path_perl -V:shrpenv`
  4518. if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
  4519. shrpenv=""
  4520. @@ -4058,8 +4602,8 @@
  4521. perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
  4522. -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
  4523. - echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
  4524. -echo $ECHO_N "checking if compile and link flags for Perl are sane... $ECHO_C" >&6
  4525. + { echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
  4526. +echo $ECHO_N "checking if compile and link flags for Perl are sane... $ECHO_C" >&6; }
  4527. cflags_save=$CFLAGS
  4528. libs_save=$LIBS
  4529. ldflags_save=$LDFLAGS
  4530. @@ -4082,37 +4626,34 @@
  4531. }
  4532. _ACEOF
  4533. rm -f conftest.$ac_objext conftest$ac_exeext
  4534. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4535. - (eval $ac_link) 2>conftest.er1
  4536. +if { (ac_try="$ac_link"
  4537. +case "(($ac_try" in
  4538. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4539. + *) ac_try_echo=$ac_try;;
  4540. +esac
  4541. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4542. + (eval "$ac_link") 2>conftest.er1
  4543. ac_status=$?
  4544. grep -v '^ *+' conftest.er1 >conftest.err
  4545. rm -f conftest.er1
  4546. cat conftest.err >&5
  4547. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4548. - (exit $ac_status); } &&
  4549. - { ac_try='test -z "$ac_c_werror_flag"
  4550. - || test ! -s conftest.err'
  4551. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4552. - (eval $ac_try) 2>&5
  4553. - ac_status=$?
  4554. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4555. - (exit $ac_status); }; } &&
  4556. - { ac_try='test -s conftest$ac_exeext'
  4557. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4558. - (eval $ac_try) 2>&5
  4559. - ac_status=$?
  4560. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4561. - (exit $ac_status); }; }; then
  4562. - echo "$as_me:$LINENO: result: yes" >&5
  4563. -echo "${ECHO_T}yes" >&6; perl_ok=yes
  4564. + (exit $ac_status); } && {
  4565. + test -z "$ac_c_werror_flag" ||
  4566. + test ! -s conftest.err
  4567. + } && test -s conftest$ac_exeext &&
  4568. + $as_test_x conftest$ac_exeext; then
  4569. + { echo "$as_me:$LINENO: result: yes" >&5
  4570. +echo "${ECHO_T}yes" >&6; }; perl_ok=yes
  4571. else
  4572. echo "$as_me: failed program was:" >&5
  4573. sed 's/^/| /' conftest.$ac_ext >&5
  4574. -echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
  4575. -echo "${ECHO_T}no: PERL DISABLED" >&6; perl_ok=no
  4576. + { echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
  4577. +echo "${ECHO_T}no: PERL DISABLED" >&6; }; perl_ok=no
  4578. fi
  4579. -rm -f conftest.err conftest.$ac_objext \
  4580. +
  4581. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4582. conftest$ac_exeext conftest.$ac_ext
  4583. CFLAGS=$cflags_save
  4584. LIBS=$libs_save
  4585. @@ -4135,8 +4676,8 @@
  4586. fi
  4587. fi
  4588. else
  4589. - echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
  4590. -echo "${ECHO_T}>>> too old; need Perl version 5.003_01 or later <<<" >&6
  4591. + { echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
  4592. +echo "${ECHO_T}>>> too old; need Perl version 5.003_01 or later <<<" >&6; }
  4593. fi
  4594. fi
  4595. @@ -4167,22 +4708,22 @@
  4596. -echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
  4597. -echo $ECHO_N "checking --enable-pythoninterp argument... $ECHO_C" >&6
  4598. -# Check whether --enable-pythoninterp or --disable-pythoninterp was given.
  4599. +{ echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
  4600. +echo $ECHO_N "checking --enable-pythoninterp argument... $ECHO_C" >&6; }
  4601. +# Check whether --enable-pythoninterp was given.
  4602. if test "${enable_pythoninterp+set}" = set; then
  4603. - enableval="$enable_pythoninterp"
  4604. -
  4605. + enableval=$enable_pythoninterp;
  4606. else
  4607. enable_pythoninterp="no"
  4608. -fi;
  4609. -echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
  4610. -echo "${ECHO_T}$enable_pythoninterp" >&6
  4611. +fi
  4612. +
  4613. +{ echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
  4614. +echo "${ECHO_T}$enable_pythoninterp" >&6; }
  4615. if test "$enable_pythoninterp" = "yes"; then
  4616. # Extract the first word of "python", so it can be a program name with args.
  4617. set dummy python; ac_word=$2
  4618. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4619. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4620. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4621. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4622. if test "${ac_cv_path_vi_cv_path_python+set}" = set; then
  4623. echo $ECHO_N "(cached) $ECHO_C" >&6
  4624. else
  4625. @@ -4197,31 +4738,32 @@
  4626. IFS=$as_save_IFS
  4627. test -z "$as_dir" && as_dir=.
  4628. for ac_exec_ext in '' $ac_executable_extensions; do
  4629. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4630. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4631. ac_cv_path_vi_cv_path_python="$as_dir/$ac_word$ac_exec_ext"
  4632. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4633. break 2
  4634. fi
  4635. done
  4636. done
  4637. +IFS=$as_save_IFS
  4638. ;;
  4639. esac
  4640. fi
  4641. vi_cv_path_python=$ac_cv_path_vi_cv_path_python
  4642. -
  4643. if test -n "$vi_cv_path_python"; then
  4644. - echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
  4645. -echo "${ECHO_T}$vi_cv_path_python" >&6
  4646. + { echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
  4647. +echo "${ECHO_T}$vi_cv_path_python" >&6; }
  4648. else
  4649. - echo "$as_me:$LINENO: result: no" >&5
  4650. -echo "${ECHO_T}no" >&6
  4651. + { echo "$as_me:$LINENO: result: no" >&5
  4652. +echo "${ECHO_T}no" >&6; }
  4653. fi
  4654. +
  4655. if test "X$vi_cv_path_python" != "X"; then
  4656. - echo "$as_me:$LINENO: checking Python version" >&5
  4657. -echo $ECHO_N "checking Python version... $ECHO_C" >&6
  4658. + { echo "$as_me:$LINENO: checking Python version" >&5
  4659. +echo $ECHO_N "checking Python version... $ECHO_C" >&6; }
  4660. if test "${vi_cv_var_python_version+set}" = set; then
  4661. echo $ECHO_N "(cached) $ECHO_C" >&6
  4662. else
  4663. @@ -4229,19 +4771,19 @@
  4664. ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'`
  4665. fi
  4666. -echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
  4667. -echo "${ECHO_T}$vi_cv_var_python_version" >&6
  4668. +{ echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
  4669. +echo "${ECHO_T}$vi_cv_var_python_version" >&6; }
  4670. - echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
  4671. -echo $ECHO_N "checking Python is 1.4 or better... $ECHO_C" >&6
  4672. + { echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
  4673. +echo $ECHO_N "checking Python is 1.4 or better... $ECHO_C" >&6; }
  4674. if ${vi_cv_path_python} -c \
  4675. "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
  4676. then
  4677. - echo "$as_me:$LINENO: result: yep" >&5
  4678. -echo "${ECHO_T}yep" >&6
  4679. + { echo "$as_me:$LINENO: result: yep" >&5
  4680. +echo "${ECHO_T}yep" >&6; }
  4681. - echo "$as_me:$LINENO: checking Python's install prefix" >&5
  4682. -echo $ECHO_N "checking Python's install prefix... $ECHO_C" >&6
  4683. + { echo "$as_me:$LINENO: checking Python's install prefix" >&5
  4684. +echo $ECHO_N "checking Python's install prefix... $ECHO_C" >&6; }
  4685. if test "${vi_cv_path_python_pfx+set}" = set; then
  4686. echo $ECHO_N "(cached) $ECHO_C" >&6
  4687. else
  4688. @@ -4249,11 +4791,11 @@
  4689. ${vi_cv_path_python} -c \
  4690. "import sys; print sys.prefix"`
  4691. fi
  4692. -echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
  4693. -echo "${ECHO_T}$vi_cv_path_python_pfx" >&6
  4694. +{ echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
  4695. +echo "${ECHO_T}$vi_cv_path_python_pfx" >&6; }
  4696. - echo "$as_me:$LINENO: checking Python's execution prefix" >&5
  4697. -echo $ECHO_N "checking Python's execution prefix... $ECHO_C" >&6
  4698. + { echo "$as_me:$LINENO: checking Python's execution prefix" >&5
  4699. +echo $ECHO_N "checking Python's execution prefix... $ECHO_C" >&6; }
  4700. if test "${vi_cv_path_python_epfx+set}" = set; then
  4701. echo $ECHO_N "(cached) $ECHO_C" >&6
  4702. else
  4703. @@ -4261,8 +4803,8 @@
  4704. ${vi_cv_path_python} -c \
  4705. "import sys; print sys.exec_prefix"`
  4706. fi
  4707. -echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
  4708. -echo "${ECHO_T}$vi_cv_path_python_epfx" >&6
  4709. +{ echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
  4710. +echo "${ECHO_T}$vi_cv_path_python_epfx" >&6; }
  4711. if test "${vi_cv_path_pythonpath+set}" = set; then
  4712. @@ -4277,14 +4819,14 @@
  4713. -# Check whether --with-python-config-dir or --without-python-config-dir was given.
  4714. +# Check whether --with-python-config-dir was given.
  4715. if test "${with_python_config_dir+set}" = set; then
  4716. - withval="$with_python_config_dir"
  4717. - vi_cv_path_python_conf="${withval}"
  4718. -fi;
  4719. + withval=$with_python_config_dir; vi_cv_path_python_conf="${withval}"
  4720. +fi
  4721. - echo "$as_me:$LINENO: checking Python's configuration directory" >&5
  4722. -echo $ECHO_N "checking Python's configuration directory... $ECHO_C" >&6
  4723. +
  4724. + { echo "$as_me:$LINENO: checking Python's configuration directory" >&5
  4725. +echo $ECHO_N "checking Python's configuration directory... $ECHO_C" >&6; }
  4726. if test "${vi_cv_path_python_conf+set}" = set; then
  4727. echo $ECHO_N "(cached) $ECHO_C" >&6
  4728. else
  4729. @@ -4300,14 +4842,14 @@
  4730. done
  4731. fi
  4732. -echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
  4733. -echo "${ECHO_T}$vi_cv_path_python_conf" >&6
  4734. +{ echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
  4735. +echo "${ECHO_T}$vi_cv_path_python_conf" >&6; }
  4736. PYTHON_CONFDIR="${vi_cv_path_python_conf}"
  4737. if test "X$PYTHON_CONFDIR" = "X"; then
  4738. - echo "$as_me:$LINENO: result: can't find it!" >&5
  4739. -echo "${ECHO_T}can't find it!" >&6
  4740. + { echo "$as_me:$LINENO: result: can't find it!" >&5
  4741. +echo "${ECHO_T}can't find it!" >&6; }
  4742. else
  4743. if test "${vi_cv_path_python_plibs+set}" = set; then
  4744. @@ -4357,8 +4899,8 @@
  4745. fi
  4746. PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'"
  4747. - echo "$as_me:$LINENO: checking if -pthread should be used" >&5
  4748. -echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6
  4749. + { echo "$as_me:$LINENO: checking if -pthread should be used" >&5
  4750. +echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6; }
  4751. threadsafe_flag=
  4752. thread_lib=
  4753. if test "`(uname) 2>/dev/null`" != Darwin; then
  4754. @@ -4389,47 +4931,44 @@
  4755. }
  4756. _ACEOF
  4757. rm -f conftest.$ac_objext conftest$ac_exeext
  4758. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4759. - (eval $ac_link) 2>conftest.er1
  4760. +if { (ac_try="$ac_link"
  4761. +case "(($ac_try" in
  4762. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4763. + *) ac_try_echo=$ac_try;;
  4764. +esac
  4765. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4766. + (eval "$ac_link") 2>conftest.er1
  4767. ac_status=$?
  4768. grep -v '^ *+' conftest.er1 >conftest.err
  4769. rm -f conftest.er1
  4770. cat conftest.err >&5
  4771. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4772. - (exit $ac_status); } &&
  4773. - { ac_try='test -z "$ac_c_werror_flag"
  4774. - || test ! -s conftest.err'
  4775. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4776. - (eval $ac_try) 2>&5
  4777. - ac_status=$?
  4778. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4779. - (exit $ac_status); }; } &&
  4780. - { ac_try='test -s conftest$ac_exeext'
  4781. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4782. - (eval $ac_try) 2>&5
  4783. - ac_status=$?
  4784. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4785. - (exit $ac_status); }; }; then
  4786. - echo "$as_me:$LINENO: result: yes" >&5
  4787. -echo "${ECHO_T}yes" >&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag"
  4788. + (exit $ac_status); } && {
  4789. + test -z "$ac_c_werror_flag" ||
  4790. + test ! -s conftest.err
  4791. + } && test -s conftest$ac_exeext &&
  4792. + $as_test_x conftest$ac_exeext; then
  4793. + { echo "$as_me:$LINENO: result: yes" >&5
  4794. +echo "${ECHO_T}yes" >&6; }; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag"
  4795. else
  4796. echo "$as_me: failed program was:" >&5
  4797. sed 's/^/| /' conftest.$ac_ext >&5
  4798. -echo "$as_me:$LINENO: result: no" >&5
  4799. -echo "${ECHO_T}no" >&6; LIBS=$libs_save_old
  4800. + { echo "$as_me:$LINENO: result: no" >&5
  4801. +echo "${ECHO_T}no" >&6; }; LIBS=$libs_save_old
  4802. fi
  4803. -rm -f conftest.err conftest.$ac_objext \
  4804. +
  4805. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4806. conftest$ac_exeext conftest.$ac_ext
  4807. CFLAGS=$cflags_save
  4808. else
  4809. - echo "$as_me:$LINENO: result: no" >&5
  4810. -echo "${ECHO_T}no" >&6
  4811. + { echo "$as_me:$LINENO: result: no" >&5
  4812. +echo "${ECHO_T}no" >&6; }
  4813. fi
  4814. - echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
  4815. -echo $ECHO_N "checking if compile and link flags for Python are sane... $ECHO_C" >&6
  4816. + { echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
  4817. +echo $ECHO_N "checking if compile and link flags for Python are sane... $ECHO_C" >&6; }
  4818. cflags_save=$CFLAGS
  4819. libs_save=$LIBS
  4820. CFLAGS="$CFLAGS $PYTHON_CFLAGS"
  4821. @@ -4450,37 +4989,34 @@
  4822. }
  4823. _ACEOF
  4824. rm -f conftest.$ac_objext conftest$ac_exeext
  4825. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4826. - (eval $ac_link) 2>conftest.er1
  4827. +if { (ac_try="$ac_link"
  4828. +case "(($ac_try" in
  4829. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4830. + *) ac_try_echo=$ac_try;;
  4831. +esac
  4832. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4833. + (eval "$ac_link") 2>conftest.er1
  4834. ac_status=$?
  4835. grep -v '^ *+' conftest.er1 >conftest.err
  4836. rm -f conftest.er1
  4837. cat conftest.err >&5
  4838. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4839. - (exit $ac_status); } &&
  4840. - { ac_try='test -z "$ac_c_werror_flag"
  4841. - || test ! -s conftest.err'
  4842. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4843. - (eval $ac_try) 2>&5
  4844. - ac_status=$?
  4845. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4846. - (exit $ac_status); }; } &&
  4847. - { ac_try='test -s conftest$ac_exeext'
  4848. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4849. - (eval $ac_try) 2>&5
  4850. - ac_status=$?
  4851. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4852. - (exit $ac_status); }; }; then
  4853. - echo "$as_me:$LINENO: result: yes" >&5
  4854. -echo "${ECHO_T}yes" >&6; python_ok=yes
  4855. + (exit $ac_status); } && {
  4856. + test -z "$ac_c_werror_flag" ||
  4857. + test ! -s conftest.err
  4858. + } && test -s conftest$ac_exeext &&
  4859. + $as_test_x conftest$ac_exeext; then
  4860. + { echo "$as_me:$LINENO: result: yes" >&5
  4861. +echo "${ECHO_T}yes" >&6; }; python_ok=yes
  4862. else
  4863. echo "$as_me: failed program was:" >&5
  4864. sed 's/^/| /' conftest.$ac_ext >&5
  4865. -echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
  4866. -echo "${ECHO_T}no: PYTHON DISABLED" >&6; python_ok=no
  4867. + { echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
  4868. +echo "${ECHO_T}no: PYTHON DISABLED" >&6; }; python_ok=no
  4869. fi
  4870. -rm -f conftest.err conftest.$ac_objext \
  4871. +
  4872. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4873. conftest$ac_exeext conftest.$ac_ext
  4874. CFLAGS=$cflags_save
  4875. LIBS=$libs_save
  4876. @@ -4499,8 +5035,8 @@
  4877. fi
  4878. else
  4879. - echo "$as_me:$LINENO: result: too old" >&5
  4880. -echo "${ECHO_T}too old" >&6
  4881. + { echo "$as_me:$LINENO: result: too old" >&5
  4882. +echo "${ECHO_T}too old" >&6; }
  4883. fi
  4884. fi
  4885. fi
  4886. @@ -4511,36 +5047,36 @@
  4887. -echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
  4888. -echo $ECHO_N "checking --enable-tclinterp argument... $ECHO_C" >&6
  4889. -# Check whether --enable-tclinterp or --disable-tclinterp was given.
  4890. +{ echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
  4891. +echo $ECHO_N "checking --enable-tclinterp argument... $ECHO_C" >&6; }
  4892. +# Check whether --enable-tclinterp was given.
  4893. if test "${enable_tclinterp+set}" = set; then
  4894. - enableval="$enable_tclinterp"
  4895. -
  4896. + enableval=$enable_tclinterp;
  4897. else
  4898. enable_tclinterp="no"
  4899. -fi;
  4900. -echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
  4901. -echo "${ECHO_T}$enable_tclinterp" >&6
  4902. +fi
  4903. +
  4904. +{ echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
  4905. +echo "${ECHO_T}$enable_tclinterp" >&6; }
  4906. if test "$enable_tclinterp" = "yes"; then
  4907. - echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
  4908. -echo $ECHO_N "checking --with-tclsh argument... $ECHO_C" >&6
  4909. + { echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
  4910. +echo $ECHO_N "checking --with-tclsh argument... $ECHO_C" >&6; }
  4911. -# Check whether --with-tclsh or --without-tclsh was given.
  4912. +# Check whether --with-tclsh was given.
  4913. if test "${with_tclsh+set}" = set; then
  4914. - withval="$with_tclsh"
  4915. - tclsh_name="$withval"; echo "$as_me:$LINENO: result: $tclsh_name" >&5
  4916. -echo "${ECHO_T}$tclsh_name" >&6
  4917. + withval=$with_tclsh; tclsh_name="$withval"; { echo "$as_me:$LINENO: result: $tclsh_name" >&5
  4918. +echo "${ECHO_T}$tclsh_name" >&6; }
  4919. else
  4920. - tclsh_name="tclsh8.5"; echo "$as_me:$LINENO: result: no" >&5
  4921. -echo "${ECHO_T}no" >&6
  4922. -fi;
  4923. + tclsh_name="tclsh8.5"; { echo "$as_me:$LINENO: result: no" >&5
  4924. +echo "${ECHO_T}no" >&6; }
  4925. +fi
  4926. +
  4927. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  4928. set dummy $tclsh_name; ac_word=$2
  4929. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4930. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4931. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4932. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4933. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  4934. echo $ECHO_N "(cached) $ECHO_C" >&6
  4935. else
  4936. @@ -4555,35 +5091,36 @@
  4937. IFS=$as_save_IFS
  4938. test -z "$as_dir" && as_dir=.
  4939. for ac_exec_ext in '' $ac_executable_extensions; do
  4940. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4941. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4942. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  4943. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4944. break 2
  4945. fi
  4946. done
  4947. done
  4948. +IFS=$as_save_IFS
  4949. ;;
  4950. esac
  4951. fi
  4952. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  4953. -
  4954. if test -n "$vi_cv_path_tcl"; then
  4955. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  4956. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  4957. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  4958. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  4959. else
  4960. - echo "$as_me:$LINENO: result: no" >&5
  4961. -echo "${ECHO_T}no" >&6
  4962. + { echo "$as_me:$LINENO: result: no" >&5
  4963. +echo "${ECHO_T}no" >&6; }
  4964. fi
  4965. +
  4966. if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.5"; then
  4967. tclsh_name="tclsh8.4"
  4968. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  4969. set dummy $tclsh_name; ac_word=$2
  4970. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4971. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4972. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4973. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4974. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  4975. echo $ECHO_N "(cached) $ECHO_C" >&6
  4976. else
  4977. @@ -4598,34 +5135,35 @@
  4978. IFS=$as_save_IFS
  4979. test -z "$as_dir" && as_dir=.
  4980. for ac_exec_ext in '' $ac_executable_extensions; do
  4981. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4982. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4983. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  4984. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4985. break 2
  4986. fi
  4987. done
  4988. done
  4989. +IFS=$as_save_IFS
  4990. ;;
  4991. esac
  4992. fi
  4993. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  4994. -
  4995. if test -n "$vi_cv_path_tcl"; then
  4996. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  4997. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  4998. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  4999. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5000. else
  5001. - echo "$as_me:$LINENO: result: no" >&5
  5002. -echo "${ECHO_T}no" >&6
  5003. + { echo "$as_me:$LINENO: result: no" >&5
  5004. +echo "${ECHO_T}no" >&6; }
  5005. fi
  5006. +
  5007. fi
  5008. if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
  5009. tclsh_name="tclsh8.2"
  5010. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  5011. set dummy $tclsh_name; ac_word=$2
  5012. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5013. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5014. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5015. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5016. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  5017. echo $ECHO_N "(cached) $ECHO_C" >&6
  5018. else
  5019. @@ -4640,34 +5178,35 @@
  5020. IFS=$as_save_IFS
  5021. test -z "$as_dir" && as_dir=.
  5022. for ac_exec_ext in '' $ac_executable_extensions; do
  5023. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5024. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5025. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5026. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5027. break 2
  5028. fi
  5029. done
  5030. done
  5031. +IFS=$as_save_IFS
  5032. ;;
  5033. esac
  5034. fi
  5035. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5036. -
  5037. if test -n "$vi_cv_path_tcl"; then
  5038. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5039. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5040. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5041. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5042. else
  5043. - echo "$as_me:$LINENO: result: no" >&5
  5044. -echo "${ECHO_T}no" >&6
  5045. + { echo "$as_me:$LINENO: result: no" >&5
  5046. +echo "${ECHO_T}no" >&6; }
  5047. fi
  5048. +
  5049. fi
  5050. if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then
  5051. tclsh_name="tclsh8.0"
  5052. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  5053. set dummy $tclsh_name; ac_word=$2
  5054. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5055. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5056. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5057. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5058. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  5059. echo $ECHO_N "(cached) $ECHO_C" >&6
  5060. else
  5061. @@ -4682,34 +5221,35 @@
  5062. IFS=$as_save_IFS
  5063. test -z "$as_dir" && as_dir=.
  5064. for ac_exec_ext in '' $ac_executable_extensions; do
  5065. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5066. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5067. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5068. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5069. break 2
  5070. fi
  5071. done
  5072. done
  5073. +IFS=$as_save_IFS
  5074. ;;
  5075. esac
  5076. fi
  5077. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5078. -
  5079. if test -n "$vi_cv_path_tcl"; then
  5080. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5081. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5082. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5083. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5084. else
  5085. - echo "$as_me:$LINENO: result: no" >&5
  5086. -echo "${ECHO_T}no" >&6
  5087. + { echo "$as_me:$LINENO: result: no" >&5
  5088. +echo "${ECHO_T}no" >&6; }
  5089. fi
  5090. +
  5091. fi
  5092. if test "X$vi_cv_path_tcl" = "X"; then
  5093. tclsh_name="tclsh"
  5094. # Extract the first word of "$tclsh_name", so it can be a program name with args.
  5095. set dummy $tclsh_name; ac_word=$2
  5096. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5097. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5098. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5099. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5100. if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
  5101. echo $ECHO_N "(cached) $ECHO_C" >&6
  5102. else
  5103. @@ -4724,39 +5264,40 @@
  5104. IFS=$as_save_IFS
  5105. test -z "$as_dir" && as_dir=.
  5106. for ac_exec_ext in '' $ac_executable_extensions; do
  5107. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5108. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5109. ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
  5110. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5111. break 2
  5112. fi
  5113. done
  5114. done
  5115. +IFS=$as_save_IFS
  5116. ;;
  5117. esac
  5118. fi
  5119. vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
  5120. -
  5121. if test -n "$vi_cv_path_tcl"; then
  5122. - echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5123. -echo "${ECHO_T}$vi_cv_path_tcl" >&6
  5124. + { echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
  5125. +echo "${ECHO_T}$vi_cv_path_tcl" >&6; }
  5126. else
  5127. - echo "$as_me:$LINENO: result: no" >&5
  5128. -echo "${ECHO_T}no" >&6
  5129. + { echo "$as_me:$LINENO: result: no" >&5
  5130. +echo "${ECHO_T}no" >&6; }
  5131. fi
  5132. +
  5133. fi
  5134. if test "X$vi_cv_path_tcl" != "X"; then
  5135. - echo "$as_me:$LINENO: checking Tcl version" >&5
  5136. -echo $ECHO_N "checking Tcl version... $ECHO_C" >&6
  5137. + { echo "$as_me:$LINENO: checking Tcl version" >&5
  5138. +echo $ECHO_N "checking Tcl version... $ECHO_C" >&6; }
  5139. if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then
  5140. tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -`
  5141. - echo "$as_me:$LINENO: result: $tclver - OK" >&5
  5142. -echo "${ECHO_T}$tclver - OK" >&6;
  5143. + { echo "$as_me:$LINENO: result: $tclver - OK" >&5
  5144. +echo "${ECHO_T}$tclver - OK" >&6; };
  5145. 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 -`
  5146. - echo "$as_me:$LINENO: checking for location of Tcl include" >&5
  5147. -echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6
  5148. + { echo "$as_me:$LINENO: checking for location of Tcl include" >&5
  5149. +echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6; }
  5150. if test "x$MACOSX" != "xyes"; then
  5151. tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include /usr/include/tcl$tclver"
  5152. else
  5153. @@ -4765,20 +5306,20 @@
  5154. TCL_INC=
  5155. for try in $tclinc; do
  5156. if test -f "$try/tcl.h"; then
  5157. - echo "$as_me:$LINENO: result: $try/tcl.h" >&5
  5158. -echo "${ECHO_T}$try/tcl.h" >&6
  5159. + { echo "$as_me:$LINENO: result: $try/tcl.h" >&5
  5160. +echo "${ECHO_T}$try/tcl.h" >&6; }
  5161. TCL_INC=$try
  5162. break
  5163. fi
  5164. done
  5165. if test -z "$TCL_INC"; then
  5166. - echo "$as_me:$LINENO: result: <not found>" >&5
  5167. -echo "${ECHO_T}<not found>" >&6
  5168. + { echo "$as_me:$LINENO: result: <not found>" >&5
  5169. +echo "${ECHO_T}<not found>" >&6; }
  5170. SKIP_TCL=YES
  5171. fi
  5172. if test -z "$SKIP_TCL"; then
  5173. - echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
  5174. -echo $ECHO_N "checking for location of tclConfig.sh script... $ECHO_C" >&6
  5175. + { echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
  5176. +echo $ECHO_N "checking for location of tclConfig.sh script... $ECHO_C" >&6; }
  5177. if test "x$MACOSX" != "xyes"; then
  5178. tclcnf=`echo $tclinc | sed s/include/lib/g`
  5179. tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
  5180. @@ -4787,8 +5328,8 @@
  5181. fi
  5182. for try in $tclcnf; do
  5183. if test -f $try/tclConfig.sh; then
  5184. - echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
  5185. -echo "${ECHO_T}$try/tclConfig.sh" >&6
  5186. + { echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
  5187. +echo "${ECHO_T}$try/tclConfig.sh" >&6; }
  5188. . $try/tclConfig.sh
  5189. TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
  5190. 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'`
  5191. @@ -4796,10 +5337,10 @@
  5192. fi
  5193. done
  5194. if test -z "$TCL_LIBS"; then
  5195. - echo "$as_me:$LINENO: result: <not found>" >&5
  5196. -echo "${ECHO_T}<not found>" >&6
  5197. - echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
  5198. -echo $ECHO_N "checking for Tcl library by myself... $ECHO_C" >&6
  5199. + { echo "$as_me:$LINENO: result: <not found>" >&5
  5200. +echo "${ECHO_T}<not found>" >&6; }
  5201. + { echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
  5202. +echo $ECHO_N "checking for Tcl library by myself... $ECHO_C" >&6; }
  5203. tcllib=`echo $tclinc | sed s/include/lib/g`
  5204. tcllib="$tcllib `echo $tclinc | sed s/include/lib64/g`"
  5205. for ext in .so .a ; do
  5206. @@ -4807,8 +5348,8 @@
  5207. for try in $tcllib ; do
  5208. trylib=tcl$ver$ext
  5209. if test -f $try/lib$trylib ; then
  5210. - echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
  5211. -echo "${ECHO_T}$try/lib$trylib" >&6
  5212. + { echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
  5213. +echo "${ECHO_T}$try/lib$trylib" >&6; }
  5214. TCL_LIBS="-L$try -ltcl$ver -ldl -lm"
  5215. if test "`(uname) 2>/dev/null`" = SunOS &&
  5216. uname -r | grep '^5' >/dev/null; then
  5217. @@ -4820,8 +5361,8 @@
  5218. done
  5219. done
  5220. if test -z "$TCL_LIBS"; then
  5221. - echo "$as_me:$LINENO: result: <not found>" >&5
  5222. -echo "${ECHO_T}<not found>" >&6
  5223. + { echo "$as_me:$LINENO: result: <not found>" >&5
  5224. +echo "${ECHO_T}<not found>" >&6; }
  5225. SKIP_TCL=YES
  5226. fi
  5227. fi
  5228. @@ -4837,8 +5378,8 @@
  5229. fi
  5230. fi
  5231. else
  5232. - echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
  5233. -echo "${ECHO_T}too old; need Tcl version 8.0 or later" >&6
  5234. + { echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
  5235. +echo "${ECHO_T}too old; need Tcl version 8.0 or later" >&6; }
  5236. fi
  5237. fi
  5238. fi
  5239. @@ -4848,23 +5389,23 @@
  5240. -echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
  5241. -echo $ECHO_N "checking --enable-rubyinterp argument... $ECHO_C" >&6
  5242. -# Check whether --enable-rubyinterp or --disable-rubyinterp was given.
  5243. +{ echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
  5244. +echo $ECHO_N "checking --enable-rubyinterp argument... $ECHO_C" >&6; }
  5245. +# Check whether --enable-rubyinterp was given.
  5246. if test "${enable_rubyinterp+set}" = set; then
  5247. - enableval="$enable_rubyinterp"
  5248. -
  5249. + enableval=$enable_rubyinterp;
  5250. else
  5251. enable_rubyinterp="no"
  5252. -fi;
  5253. -echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
  5254. -echo "${ECHO_T}$enable_rubyinterp" >&6
  5255. +fi
  5256. +
  5257. +{ echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
  5258. +echo "${ECHO_T}$enable_rubyinterp" >&6; }
  5259. if test "$enable_rubyinterp" = "yes"; then
  5260. # Extract the first word of "ruby", so it can be a program name with args.
  5261. set dummy ruby; ac_word=$2
  5262. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5263. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5264. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5265. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5266. if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
  5267. echo $ECHO_N "(cached) $ECHO_C" >&6
  5268. else
  5269. @@ -4879,39 +5420,40 @@
  5270. IFS=$as_save_IFS
  5271. test -z "$as_dir" && as_dir=.
  5272. for ac_exec_ext in '' $ac_executable_extensions; do
  5273. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5274. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5275. ac_cv_path_vi_cv_path_ruby="$as_dir/$ac_word$ac_exec_ext"
  5276. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5277. break 2
  5278. fi
  5279. done
  5280. done
  5281. +IFS=$as_save_IFS
  5282. ;;
  5283. esac
  5284. fi
  5285. vi_cv_path_ruby=$ac_cv_path_vi_cv_path_ruby
  5286. -
  5287. if test -n "$vi_cv_path_ruby"; then
  5288. - echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
  5289. -echo "${ECHO_T}$vi_cv_path_ruby" >&6
  5290. + { echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
  5291. +echo "${ECHO_T}$vi_cv_path_ruby" >&6; }
  5292. else
  5293. - echo "$as_me:$LINENO: result: no" >&5
  5294. -echo "${ECHO_T}no" >&6
  5295. + { echo "$as_me:$LINENO: result: no" >&5
  5296. +echo "${ECHO_T}no" >&6; }
  5297. fi
  5298. +
  5299. if test "X$vi_cv_path_ruby" != "X"; then
  5300. - echo "$as_me:$LINENO: checking Ruby version" >&5
  5301. -echo $ECHO_N "checking Ruby version... $ECHO_C" >&6
  5302. + { echo "$as_me:$LINENO: checking Ruby version" >&5
  5303. +echo $ECHO_N "checking Ruby version... $ECHO_C" >&6; }
  5304. if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
  5305. - echo "$as_me:$LINENO: result: OK" >&5
  5306. -echo "${ECHO_T}OK" >&6
  5307. - echo "$as_me:$LINENO: checking Ruby header files" >&5
  5308. -echo $ECHO_N "checking Ruby header files... $ECHO_C" >&6
  5309. + { echo "$as_me:$LINENO: result: OK" >&5
  5310. +echo "${ECHO_T}OK" >&6; }
  5311. + { echo "$as_me:$LINENO: checking Ruby header files" >&5
  5312. +echo $ECHO_N "checking Ruby header files... $ECHO_C" >&6; }
  5313. rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null`
  5314. if test "X$rubyhdrdir" != "X"; then
  5315. - echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
  5316. -echo "${ECHO_T}$rubyhdrdir" >&6
  5317. + { echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
  5318. +echo "${ECHO_T}$rubyhdrdir" >&6; }
  5319. RUBY_CFLAGS="-I$rubyhdrdir"
  5320. rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'`
  5321. if test "X$rubylibs" != "X"; then
  5322. @@ -4946,12 +5488,12 @@
  5323. _ACEOF
  5324. else
  5325. - echo "$as_me:$LINENO: result: not found" >&5
  5326. -echo "${ECHO_T}not found" >&6
  5327. + { echo "$as_me:$LINENO: result: not found" >&5
  5328. +echo "${ECHO_T}not found" >&6; }
  5329. fi
  5330. else
  5331. - echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
  5332. -echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6
  5333. + { echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
  5334. +echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6; }
  5335. fi
  5336. fi
  5337. fi
  5338. @@ -4961,17 +5503,17 @@
  5339. -echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
  5340. -echo $ECHO_N "checking --enable-cscope argument... $ECHO_C" >&6
  5341. -# Check whether --enable-cscope or --disable-cscope was given.
  5342. +{ echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
  5343. +echo $ECHO_N "checking --enable-cscope argument... $ECHO_C" >&6; }
  5344. +# Check whether --enable-cscope was given.
  5345. if test "${enable_cscope+set}" = set; then
  5346. - enableval="$enable_cscope"
  5347. -
  5348. + enableval=$enable_cscope;
  5349. else
  5350. enable_cscope="no"
  5351. -fi;
  5352. -echo "$as_me:$LINENO: result: $enable_cscope" >&5
  5353. -echo "${ECHO_T}$enable_cscope" >&6
  5354. +fi
  5355. +
  5356. +{ echo "$as_me:$LINENO: result: $enable_cscope" >&5
  5357. +echo "${ECHO_T}$enable_cscope" >&6; }
  5358. if test "$enable_cscope" = "yes"; then
  5359. cat >>confdefs.h <<\_ACEOF
  5360. #define FEAT_CSCOPE 1
  5361. @@ -4979,17 +5521,17 @@
  5362. fi
  5363. -echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
  5364. -echo $ECHO_N "checking --enable-workshop argument... $ECHO_C" >&6
  5365. -# Check whether --enable-workshop or --disable-workshop was given.
  5366. +{ echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
  5367. +echo $ECHO_N "checking --enable-workshop argument... $ECHO_C" >&6; }
  5368. +# Check whether --enable-workshop was given.
  5369. if test "${enable_workshop+set}" = set; then
  5370. - enableval="$enable_workshop"
  5371. -
  5372. + enableval=$enable_workshop;
  5373. else
  5374. enable_workshop="no"
  5375. -fi;
  5376. -echo "$as_me:$LINENO: result: $enable_workshop" >&5
  5377. -echo "${ECHO_T}$enable_workshop" >&6
  5378. +fi
  5379. +
  5380. +{ echo "$as_me:$LINENO: result: $enable_workshop" >&5
  5381. +echo "${ECHO_T}$enable_workshop" >&6; }
  5382. if test "$enable_workshop" = "yes"; then
  5383. cat >>confdefs.h <<\_ACEOF
  5384. #define FEAT_SUN_WORKSHOP 1
  5385. @@ -5004,21 +5546,21 @@
  5386. fi
  5387. fi
  5388. -echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
  5389. -echo $ECHO_N "checking --disable-netbeans argument... $ECHO_C" >&6
  5390. -# Check whether --enable-netbeans or --disable-netbeans was given.
  5391. +{ echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
  5392. +echo $ECHO_N "checking --disable-netbeans argument... $ECHO_C" >&6; }
  5393. +# Check whether --enable-netbeans was given.
  5394. if test "${enable_netbeans+set}" = set; then
  5395. - enableval="$enable_netbeans"
  5396. -
  5397. + enableval=$enable_netbeans;
  5398. else
  5399. enable_netbeans="yes"
  5400. -fi;
  5401. +fi
  5402. +
  5403. if test "$enable_netbeans" = "yes"; then
  5404. - echo "$as_me:$LINENO: result: no" >&5
  5405. -echo "${ECHO_T}no" >&6
  5406. + { echo "$as_me:$LINENO: result: no" >&5
  5407. +echo "${ECHO_T}no" >&6; }
  5408. -echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
  5409. -echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
  5410. +{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
  5411. +echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
  5412. if test "${ac_cv_lib_socket_socket+set}" = set; then
  5413. echo $ECHO_N "(cached) $ECHO_C" >&6
  5414. else
  5415. @@ -5031,56 +5573,53 @@
  5416. cat >>conftest.$ac_ext <<_ACEOF
  5417. /* end confdefs.h. */
  5418. -/* Override any gcc2 internal prototype to avoid an error. */
  5419. +/* Override any GCC internal prototype to avoid an error.
  5420. + Use char because int might match the return type of a GCC
  5421. + builtin and then its argument prototype would still apply. */
  5422. #ifdef __cplusplus
  5423. extern "C"
  5424. #endif
  5425. -/* We use char because int might match the return type of a gcc2
  5426. - builtin and then its argument prototype would still apply. */
  5427. char socket ();
  5428. int
  5429. main ()
  5430. {
  5431. -socket ();
  5432. +return socket ();
  5433. ;
  5434. return 0;
  5435. }
  5436. _ACEOF
  5437. rm -f conftest.$ac_objext conftest$ac_exeext
  5438. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5439. - (eval $ac_link) 2>conftest.er1
  5440. +if { (ac_try="$ac_link"
  5441. +case "(($ac_try" in
  5442. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5443. + *) ac_try_echo=$ac_try;;
  5444. +esac
  5445. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5446. + (eval "$ac_link") 2>conftest.er1
  5447. ac_status=$?
  5448. grep -v '^ *+' conftest.er1 >conftest.err
  5449. rm -f conftest.er1
  5450. cat conftest.err >&5
  5451. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5452. - (exit $ac_status); } &&
  5453. - { ac_try='test -z "$ac_c_werror_flag"
  5454. - || test ! -s conftest.err'
  5455. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5456. - (eval $ac_try) 2>&5
  5457. - ac_status=$?
  5458. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5459. - (exit $ac_status); }; } &&
  5460. - { ac_try='test -s conftest$ac_exeext'
  5461. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5462. - (eval $ac_try) 2>&5
  5463. - ac_status=$?
  5464. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5465. - (exit $ac_status); }; }; then
  5466. + (exit $ac_status); } && {
  5467. + test -z "$ac_c_werror_flag" ||
  5468. + test ! -s conftest.err
  5469. + } && test -s conftest$ac_exeext &&
  5470. + $as_test_x conftest$ac_exeext; then
  5471. ac_cv_lib_socket_socket=yes
  5472. else
  5473. echo "$as_me: failed program was:" >&5
  5474. sed 's/^/| /' conftest.$ac_ext >&5
  5475. -ac_cv_lib_socket_socket=no
  5476. + ac_cv_lib_socket_socket=no
  5477. fi
  5478. -rm -f conftest.err conftest.$ac_objext \
  5479. +
  5480. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5481. conftest$ac_exeext conftest.$ac_ext
  5482. LIBS=$ac_check_lib_save_LIBS
  5483. fi
  5484. -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
  5485. -echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
  5486. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
  5487. +echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
  5488. if test $ac_cv_lib_socket_socket = yes; then
  5489. cat >>confdefs.h <<_ACEOF
  5490. #define HAVE_LIBSOCKET 1
  5491. @@ -5091,8 +5630,8 @@
  5492. fi
  5493. -echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  5494. -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
  5495. +{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  5496. +echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
  5497. if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  5498. echo $ECHO_N "(cached) $ECHO_C" >&6
  5499. else
  5500. @@ -5105,56 +5644,53 @@
  5501. cat >>conftest.$ac_ext <<_ACEOF
  5502. /* end confdefs.h. */
  5503. -/* Override any gcc2 internal prototype to avoid an error. */
  5504. +/* Override any GCC internal prototype to avoid an error.
  5505. + Use char because int might match the return type of a GCC
  5506. + builtin and then its argument prototype would still apply. */
  5507. #ifdef __cplusplus
  5508. extern "C"
  5509. #endif
  5510. -/* We use char because int might match the return type of a gcc2
  5511. - builtin and then its argument prototype would still apply. */
  5512. char gethostbyname ();
  5513. int
  5514. main ()
  5515. {
  5516. -gethostbyname ();
  5517. +return gethostbyname ();
  5518. ;
  5519. return 0;
  5520. }
  5521. _ACEOF
  5522. rm -f conftest.$ac_objext conftest$ac_exeext
  5523. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5524. - (eval $ac_link) 2>conftest.er1
  5525. +if { (ac_try="$ac_link"
  5526. +case "(($ac_try" in
  5527. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5528. + *) ac_try_echo=$ac_try;;
  5529. +esac
  5530. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5531. + (eval "$ac_link") 2>conftest.er1
  5532. ac_status=$?
  5533. grep -v '^ *+' conftest.er1 >conftest.err
  5534. rm -f conftest.er1
  5535. cat conftest.err >&5
  5536. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5537. - (exit $ac_status); } &&
  5538. - { ac_try='test -z "$ac_c_werror_flag"
  5539. - || test ! -s conftest.err'
  5540. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5541. - (eval $ac_try) 2>&5
  5542. - ac_status=$?
  5543. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5544. - (exit $ac_status); }; } &&
  5545. - { ac_try='test -s conftest$ac_exeext'
  5546. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5547. - (eval $ac_try) 2>&5
  5548. - ac_status=$?
  5549. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5550. - (exit $ac_status); }; }; then
  5551. + (exit $ac_status); } && {
  5552. + test -z "$ac_c_werror_flag" ||
  5553. + test ! -s conftest.err
  5554. + } && test -s conftest$ac_exeext &&
  5555. + $as_test_x conftest$ac_exeext; then
  5556. ac_cv_lib_nsl_gethostbyname=yes
  5557. else
  5558. echo "$as_me: failed program was:" >&5
  5559. sed 's/^/| /' conftest.$ac_ext >&5
  5560. -ac_cv_lib_nsl_gethostbyname=no
  5561. + ac_cv_lib_nsl_gethostbyname=no
  5562. fi
  5563. -rm -f conftest.err conftest.$ac_objext \
  5564. +
  5565. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5566. conftest$ac_exeext conftest.$ac_ext
  5567. LIBS=$ac_check_lib_save_LIBS
  5568. fi
  5569. -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  5570. -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
  5571. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  5572. +echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
  5573. if test $ac_cv_lib_nsl_gethostbyname = yes; then
  5574. cat >>confdefs.h <<_ACEOF
  5575. #define HAVE_LIBNSL 1
  5576. @@ -5164,8 +5700,8 @@
  5577. fi
  5578. - echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
  5579. -echo $ECHO_N "checking whether compiling netbeans integration is possible... $ECHO_C" >&6
  5580. + { echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
  5581. +echo $ECHO_N "checking whether compiling netbeans integration is possible... $ECHO_C" >&6; }
  5582. cat >conftest.$ac_ext <<_ACEOF
  5583. /* confdefs.h. */
  5584. _ACEOF
  5585. @@ -5205,41 +5741,38 @@
  5586. }
  5587. _ACEOF
  5588. rm -f conftest.$ac_objext conftest$ac_exeext
  5589. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5590. - (eval $ac_link) 2>conftest.er1
  5591. +if { (ac_try="$ac_link"
  5592. +case "(($ac_try" in
  5593. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5594. + *) ac_try_echo=$ac_try;;
  5595. +esac
  5596. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5597. + (eval "$ac_link") 2>conftest.er1
  5598. ac_status=$?
  5599. grep -v '^ *+' conftest.er1 >conftest.err
  5600. rm -f conftest.er1
  5601. cat conftest.err >&5
  5602. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5603. - (exit $ac_status); } &&
  5604. - { ac_try='test -z "$ac_c_werror_flag"
  5605. - || test ! -s conftest.err'
  5606. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5607. - (eval $ac_try) 2>&5
  5608. - ac_status=$?
  5609. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5610. - (exit $ac_status); }; } &&
  5611. - { ac_try='test -s conftest$ac_exeext'
  5612. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5613. - (eval $ac_try) 2>&5
  5614. - ac_status=$?
  5615. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5616. - (exit $ac_status); }; }; then
  5617. - echo "$as_me:$LINENO: result: yes" >&5
  5618. -echo "${ECHO_T}yes" >&6
  5619. + (exit $ac_status); } && {
  5620. + test -z "$ac_c_werror_flag" ||
  5621. + test ! -s conftest.err
  5622. + } && test -s conftest$ac_exeext &&
  5623. + $as_test_x conftest$ac_exeext; then
  5624. + { echo "$as_me:$LINENO: result: yes" >&5
  5625. +echo "${ECHO_T}yes" >&6; }
  5626. else
  5627. echo "$as_me: failed program was:" >&5
  5628. sed 's/^/| /' conftest.$ac_ext >&5
  5629. -echo "$as_me:$LINENO: result: no" >&5
  5630. -echo "${ECHO_T}no" >&6; enable_netbeans="no"
  5631. + { echo "$as_me:$LINENO: result: no" >&5
  5632. +echo "${ECHO_T}no" >&6; }; enable_netbeans="no"
  5633. fi
  5634. -rm -f conftest.err conftest.$ac_objext \
  5635. +
  5636. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5637. conftest$ac_exeext conftest.$ac_ext
  5638. else
  5639. - echo "$as_me:$LINENO: result: yes" >&5
  5640. -echo "${ECHO_T}yes" >&6
  5641. + { echo "$as_me:$LINENO: result: yes" >&5
  5642. +echo "${ECHO_T}yes" >&6; }
  5643. fi
  5644. if test "$enable_netbeans" = "yes"; then
  5645. cat >>confdefs.h <<\_ACEOF
  5646. @@ -5252,17 +5785,17 @@
  5647. fi
  5648. -echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
  5649. -echo $ECHO_N "checking --enable-sniff argument... $ECHO_C" >&6
  5650. -# Check whether --enable-sniff or --disable-sniff was given.
  5651. +{ echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
  5652. +echo $ECHO_N "checking --enable-sniff argument... $ECHO_C" >&6; }
  5653. +# Check whether --enable-sniff was given.
  5654. if test "${enable_sniff+set}" = set; then
  5655. - enableval="$enable_sniff"
  5656. -
  5657. + enableval=$enable_sniff;
  5658. else
  5659. enable_sniff="no"
  5660. -fi;
  5661. -echo "$as_me:$LINENO: result: $enable_sniff" >&5
  5662. -echo "${ECHO_T}$enable_sniff" >&6
  5663. +fi
  5664. +
  5665. +{ echo "$as_me:$LINENO: result: $enable_sniff" >&5
  5666. +echo "${ECHO_T}$enable_sniff" >&6; }
  5667. if test "$enable_sniff" = "yes"; then
  5668. cat >>confdefs.h <<\_ACEOF
  5669. #define FEAT_SNIFF 1
  5670. @@ -5274,17 +5807,17 @@
  5671. fi
  5672. -echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
  5673. -echo $ECHO_N "checking --enable-multibyte argument... $ECHO_C" >&6
  5674. -# Check whether --enable-multibyte or --disable-multibyte was given.
  5675. +{ echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
  5676. +echo $ECHO_N "checking --enable-multibyte argument... $ECHO_C" >&6; }
  5677. +# Check whether --enable-multibyte was given.
  5678. if test "${enable_multibyte+set}" = set; then
  5679. - enableval="$enable_multibyte"
  5680. -
  5681. + enableval=$enable_multibyte;
  5682. else
  5683. enable_multibyte="no"
  5684. -fi;
  5685. -echo "$as_me:$LINENO: result: $enable_multibyte" >&5
  5686. -echo "${ECHO_T}$enable_multibyte" >&6
  5687. +fi
  5688. +
  5689. +{ echo "$as_me:$LINENO: result: $enable_multibyte" >&5
  5690. +echo "${ECHO_T}$enable_multibyte" >&6; }
  5691. if test "$enable_multibyte" = "yes"; then
  5692. cat >>confdefs.h <<\_ACEOF
  5693. #define FEAT_MBYTE 1
  5694. @@ -5292,53 +5825,53 @@
  5695. fi
  5696. -echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
  5697. -echo $ECHO_N "checking --enable-hangulinput argument... $ECHO_C" >&6
  5698. -# Check whether --enable-hangulinput or --disable-hangulinput was given.
  5699. +{ echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
  5700. +echo $ECHO_N "checking --enable-hangulinput argument... $ECHO_C" >&6; }
  5701. +# Check whether --enable-hangulinput was given.
  5702. if test "${enable_hangulinput+set}" = set; then
  5703. - enableval="$enable_hangulinput"
  5704. -
  5705. + enableval=$enable_hangulinput;
  5706. else
  5707. enable_hangulinput="no"
  5708. -fi;
  5709. -echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
  5710. -echo "${ECHO_T}$enable_hangulinput" >&6
  5711. +fi
  5712. -echo "$as_me:$LINENO: checking --enable-xim argument" >&5
  5713. -echo $ECHO_N "checking --enable-xim argument... $ECHO_C" >&6
  5714. -# Check whether --enable-xim or --disable-xim was given.
  5715. +{ echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
  5716. +echo "${ECHO_T}$enable_hangulinput" >&6; }
  5717. +
  5718. +{ echo "$as_me:$LINENO: checking --enable-xim argument" >&5
  5719. +echo $ECHO_N "checking --enable-xim argument... $ECHO_C" >&6; }
  5720. +# Check whether --enable-xim was given.
  5721. if test "${enable_xim+set}" = set; then
  5722. - enableval="$enable_xim"
  5723. - echo "$as_me:$LINENO: result: $enable_xim" >&5
  5724. -echo "${ECHO_T}$enable_xim" >&6
  5725. + enableval=$enable_xim; { echo "$as_me:$LINENO: result: $enable_xim" >&5
  5726. +echo "${ECHO_T}$enable_xim" >&6; }
  5727. else
  5728. - enable_xim="auto"; echo "$as_me:$LINENO: result: defaulting to auto" >&5
  5729. -echo "${ECHO_T}defaulting to auto" >&6
  5730. -fi;
  5731. + enable_xim="auto"; { echo "$as_me:$LINENO: result: defaulting to auto" >&5
  5732. +echo "${ECHO_T}defaulting to auto" >&6; }
  5733. +fi
  5734. -echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
  5735. -echo $ECHO_N "checking --enable-fontset argument... $ECHO_C" >&6
  5736. -# Check whether --enable-fontset or --disable-fontset was given.
  5737. -if test "${enable_fontset+set}" = set; then
  5738. - enableval="$enable_fontset"
  5739. +{ echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
  5740. +echo $ECHO_N "checking --enable-fontset argument... $ECHO_C" >&6; }
  5741. +# Check whether --enable-fontset was given.
  5742. +if test "${enable_fontset+set}" = set; then
  5743. + enableval=$enable_fontset;
  5744. else
  5745. enable_fontset="no"
  5746. -fi;
  5747. -echo "$as_me:$LINENO: result: $enable_fontset" >&5
  5748. -echo "${ECHO_T}$enable_fontset" >&6
  5749. +fi
  5750. +
  5751. +{ echo "$as_me:$LINENO: result: $enable_fontset" >&5
  5752. +echo "${ECHO_T}$enable_fontset" >&6; }
  5753. test -z "$with_x" && with_x=yes
  5754. test "${enable_gui-yes}" != no -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x=yes
  5755. if test "$with_x" = no; then
  5756. - echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
  5757. -echo "${ECHO_T}defaulting to: don't HAVE_X11" >&6
  5758. + { echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
  5759. +echo "${ECHO_T}defaulting to: don't HAVE_X11" >&6; }
  5760. else
  5761. # Extract the first word of "xmkmf", so it can be a program name with args.
  5762. set dummy xmkmf; ac_word=$2
  5763. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5764. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5765. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5766. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5767. if test "${ac_cv_path_xmkmfpath+set}" = set; then
  5768. echo $ECHO_N "(cached) $ECHO_C" >&6
  5769. else
  5770. @@ -5353,66 +5886,72 @@
  5771. IFS=$as_save_IFS
  5772. test -z "$as_dir" && as_dir=.
  5773. for ac_exec_ext in '' $ac_executable_extensions; do
  5774. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5775. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5776. ac_cv_path_xmkmfpath="$as_dir/$ac_word$ac_exec_ext"
  5777. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5778. break 2
  5779. fi
  5780. done
  5781. done
  5782. +IFS=$as_save_IFS
  5783. ;;
  5784. esac
  5785. fi
  5786. xmkmfpath=$ac_cv_path_xmkmfpath
  5787. -
  5788. if test -n "$xmkmfpath"; then
  5789. - echo "$as_me:$LINENO: result: $xmkmfpath" >&5
  5790. -echo "${ECHO_T}$xmkmfpath" >&6
  5791. + { echo "$as_me:$LINENO: result: $xmkmfpath" >&5
  5792. +echo "${ECHO_T}$xmkmfpath" >&6; }
  5793. else
  5794. - echo "$as_me:$LINENO: result: no" >&5
  5795. -echo "${ECHO_T}no" >&6
  5796. + { echo "$as_me:$LINENO: result: no" >&5
  5797. +echo "${ECHO_T}no" >&6; }
  5798. fi
  5799. - echo "$as_me:$LINENO: checking for X" >&5
  5800. -echo $ECHO_N "checking for X... $ECHO_C" >&6
  5801. +
  5802. + { echo "$as_me:$LINENO: checking for X" >&5
  5803. +echo $ECHO_N "checking for X... $ECHO_C" >&6; }
  5804. -# Check whether --with-x or --without-x was given.
  5805. +# Check whether --with-x was given.
  5806. if test "${with_x+set}" = set; then
  5807. - withval="$with_x"
  5808. + withval=$with_x;
  5809. +fi
  5810. -fi;
  5811. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  5812. if test "x$with_x" = xno; then
  5813. # The user explicitly disabled X.
  5814. have_x=disabled
  5815. else
  5816. - if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
  5817. - # Both variables are already set.
  5818. - have_x=yes
  5819. - else
  5820. - if test "${ac_cv_have_x+set}" = set; then
  5821. + case $x_includes,$x_libraries in #(
  5822. + *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
  5823. +echo "$as_me: error: Cannot use X directory names containing '" >&2;}
  5824. + { (exit 1); exit 1; }; };; #(
  5825. + *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
  5826. echo $ECHO_N "(cached) $ECHO_C" >&6
  5827. else
  5828. # One or both of the vars are not set, and there is no cached value.
  5829. ac_x_includes=no ac_x_libraries=no
  5830. -rm -fr conftest.dir
  5831. +rm -f -r conftest.dir
  5832. if mkdir conftest.dir; then
  5833. cd conftest.dir
  5834. - # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  5835. cat >Imakefile <<'_ACEOF'
  5836. -acfindx:
  5837. - @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  5838. +incroot:
  5839. + @echo incroot='${INCROOT}'
  5840. +usrlibdir:
  5841. + @echo usrlibdir='${USRLIBDIR}'
  5842. +libdir:
  5843. + @echo libdir='${LIBDIR}'
  5844. _ACEOF
  5845. - if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  5846. + if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  5847. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  5848. - eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
  5849. + for ac_var in incroot usrlibdir libdir; do
  5850. + eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  5851. + done
  5852. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  5853. for ac_extension in a so sl; do
  5854. - if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
  5855. - test -f $ac_im_libdir/libX11.$ac_extension; then
  5856. + if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  5857. + test -f "$ac_im_libdir/libX11.$ac_extension"; then
  5858. ac_im_usrlibdir=$ac_im_libdir; break
  5859. fi
  5860. done
  5861. @@ -5420,7 +5959,7 @@
  5862. # bogus both because they are the default anyway, and because
  5863. # using them would break gcc on systems where it needs fixed includes.
  5864. case $ac_im_incroot in
  5865. - /usr/include) ;;
  5866. + /usr/include) ac_x_includes= ;;
  5867. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  5868. esac
  5869. case $ac_im_usrlibdir in
  5870. @@ -5429,7 +5968,7 @@
  5871. esac
  5872. fi
  5873. cd ..
  5874. - rm -fr conftest.dir
  5875. + rm -f -r conftest.dir
  5876. fi
  5877. # Standard set of common directories for X headers.
  5878. @@ -5470,7 +6009,7 @@
  5879. /usr/openwin/share/include'
  5880. if test "$ac_x_includes" = no; then
  5881. - # Guess where to find include files, by looking for Intrinsic.h.
  5882. + # Guess where to find include files, by looking for Xlib.h.
  5883. # First, try using that file with no special directory specified.
  5884. cat >conftest.$ac_ext <<_ACEOF
  5885. /* confdefs.h. */
  5886. @@ -5478,26 +6017,24 @@
  5887. cat confdefs.h >>conftest.$ac_ext
  5888. cat >>conftest.$ac_ext <<_ACEOF
  5889. /* end confdefs.h. */
  5890. -#include <X11/Intrinsic.h>
  5891. +#include <X11/Xlib.h>
  5892. _ACEOF
  5893. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5894. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5895. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  5896. +case "(($ac_try" in
  5897. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5898. + *) ac_try_echo=$ac_try;;
  5899. +esac
  5900. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5901. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5902. ac_status=$?
  5903. grep -v '^ *+' conftest.er1 >conftest.err
  5904. rm -f conftest.er1
  5905. cat conftest.err >&5
  5906. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5907. - (exit $ac_status); } >/dev/null; then
  5908. - if test -s conftest.err; then
  5909. - ac_cpp_err=$ac_c_preproc_warn_flag
  5910. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5911. - else
  5912. - ac_cpp_err=
  5913. - fi
  5914. -else
  5915. - ac_cpp_err=yes
  5916. -fi
  5917. -if test -z "$ac_cpp_err"; then
  5918. + (exit $ac_status); } >/dev/null && {
  5919. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5920. + test ! -s conftest.err
  5921. + }; then
  5922. # We can compile using X headers with no special include directory.
  5923. ac_x_includes=
  5924. else
  5925. @@ -5505,12 +6042,13 @@
  5926. sed 's/^/| /' conftest.$ac_ext >&5
  5927. for ac_dir in $ac_x_header_dirs; do
  5928. - if test -r "$ac_dir/X11/Intrinsic.h"; then
  5929. + if test -r "$ac_dir/X11/Xlib.h"; then
  5930. ac_x_includes=$ac_dir
  5931. break
  5932. fi
  5933. done
  5934. fi
  5935. +
  5936. rm -f conftest.err conftest.$ac_ext
  5937. fi # $ac_x_includes = no
  5938. @@ -5519,44 +6057,40 @@
  5939. # See if we find them without any special options.
  5940. # Don't add to $LIBS permanently.
  5941. ac_save_LIBS=$LIBS
  5942. - LIBS="-lXt $LIBS"
  5943. + LIBS="-lX11 $LIBS"
  5944. cat >conftest.$ac_ext <<_ACEOF
  5945. /* confdefs.h. */
  5946. _ACEOF
  5947. cat confdefs.h >>conftest.$ac_ext
  5948. cat >>conftest.$ac_ext <<_ACEOF
  5949. /* end confdefs.h. */
  5950. -#include <X11/Intrinsic.h>
  5951. +#include <X11/Xlib.h>
  5952. int
  5953. main ()
  5954. {
  5955. -XtMalloc (0)
  5956. +XrmInitialize ()
  5957. ;
  5958. return 0;
  5959. }
  5960. _ACEOF
  5961. rm -f conftest.$ac_objext conftest$ac_exeext
  5962. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5963. - (eval $ac_link) 2>conftest.er1
  5964. +if { (ac_try="$ac_link"
  5965. +case "(($ac_try" in
  5966. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5967. + *) ac_try_echo=$ac_try;;
  5968. +esac
  5969. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5970. + (eval "$ac_link") 2>conftest.er1
  5971. ac_status=$?
  5972. grep -v '^ *+' conftest.er1 >conftest.err
  5973. rm -f conftest.er1
  5974. cat conftest.err >&5
  5975. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5976. - (exit $ac_status); } &&
  5977. - { ac_try='test -z "$ac_c_werror_flag"
  5978. - || test ! -s conftest.err'
  5979. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5980. - (eval $ac_try) 2>&5
  5981. - ac_status=$?
  5982. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5983. - (exit $ac_status); }; } &&
  5984. - { ac_try='test -s conftest$ac_exeext'
  5985. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5986. - (eval $ac_try) 2>&5
  5987. - ac_status=$?
  5988. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5989. - (exit $ac_status); }; }; then
  5990. + (exit $ac_status); } && {
  5991. + test -z "$ac_c_werror_flag" ||
  5992. + test ! -s conftest.err
  5993. + } && test -s conftest$ac_exeext &&
  5994. + $as_test_x conftest$ac_exeext; then
  5995. LIBS=$ac_save_LIBS
  5996. # We can link X programs with no special library path.
  5997. ac_x_libraries=
  5998. @@ -5564,49 +6098,54 @@
  5999. echo "$as_me: failed program was:" >&5
  6000. sed 's/^/| /' conftest.$ac_ext >&5
  6001. -LIBS=$ac_save_LIBS
  6002. + LIBS=$ac_save_LIBS
  6003. for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  6004. do
  6005. # Don't even attempt the hair of trying to link an X program!
  6006. for ac_extension in a so sl; do
  6007. - if test -r $ac_dir/libXt.$ac_extension; then
  6008. + if test -r "$ac_dir/libX11.$ac_extension"; then
  6009. ac_x_libraries=$ac_dir
  6010. break 2
  6011. fi
  6012. done
  6013. done
  6014. fi
  6015. -rm -f conftest.err conftest.$ac_objext \
  6016. +
  6017. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6018. conftest$ac_exeext conftest.$ac_ext
  6019. fi # $ac_x_libraries = no
  6020. -if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  6021. - # Didn't find X anywhere. Cache the known absence of X.
  6022. - ac_cv_have_x="have_x=no"
  6023. -else
  6024. - # Record where we found X for the cache.
  6025. - ac_cv_have_x="have_x=yes \
  6026. - ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
  6027. -fi
  6028. +case $ac_x_includes,$ac_x_libraries in #(
  6029. + no,* | *,no | *\'*)
  6030. + # Didn't find X, or a directory has "'" in its name.
  6031. + ac_cv_have_x="have_x=no";; #(
  6032. + *)
  6033. + # Record where we found X for the cache.
  6034. + ac_cv_have_x="have_x=yes\
  6035. + ac_x_includes='$ac_x_includes'\
  6036. + ac_x_libraries='$ac_x_libraries'"
  6037. +esac
  6038. fi
  6039. -
  6040. - fi
  6041. +;; #(
  6042. + *) have_x=yes;;
  6043. + esac
  6044. eval "$ac_cv_have_x"
  6045. fi # $with_x != no
  6046. if test "$have_x" != yes; then
  6047. - echo "$as_me:$LINENO: result: $have_x" >&5
  6048. -echo "${ECHO_T}$have_x" >&6
  6049. + { echo "$as_me:$LINENO: result: $have_x" >&5
  6050. +echo "${ECHO_T}$have_x" >&6; }
  6051. no_x=yes
  6052. else
  6053. # If each of the values was on the command line, it overrides each guess.
  6054. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  6055. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  6056. # Update the cache value to reflect the command line values.
  6057. - ac_cv_have_x="have_x=yes \
  6058. - ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  6059. - echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  6060. -echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
  6061. + ac_cv_have_x="have_x=yes\
  6062. + ac_x_includes='$x_includes'\
  6063. + ac_x_libraries='$x_libraries'"
  6064. + { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  6065. +echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
  6066. fi
  6067. if test "$no_x" = yes; then
  6068. @@ -5627,12 +6166,12 @@
  6069. X_LIBS="$X_LIBS -L$x_libraries"
  6070. # For Solaris; some versions of Sun CC require a space after -R and
  6071. # others require no space. Words are not sufficient . . . .
  6072. - case `(uname -sr) 2>/dev/null` in
  6073. - "SunOS 5"*)
  6074. - echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
  6075. -echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
  6076. - ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  6077. - cat >conftest.$ac_ext <<_ACEOF
  6078. + { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
  6079. +echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
  6080. + ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  6081. + ac_xsave_c_werror_flag=$ac_c_werror_flag
  6082. + ac_c_werror_flag=yes
  6083. + cat >conftest.$ac_ext <<_ACEOF
  6084. /* confdefs.h. */
  6085. _ACEOF
  6086. cat confdefs.h >>conftest.$ac_ext
  6087. @@ -5648,43 +6187,32 @@
  6088. }
  6089. _ACEOF
  6090. rm -f conftest.$ac_objext conftest$ac_exeext
  6091. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6092. - (eval $ac_link) 2>conftest.er1
  6093. +if { (ac_try="$ac_link"
  6094. +case "(($ac_try" in
  6095. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6096. + *) ac_try_echo=$ac_try;;
  6097. +esac
  6098. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6099. + (eval "$ac_link") 2>conftest.er1
  6100. ac_status=$?
  6101. grep -v '^ *+' conftest.er1 >conftest.err
  6102. rm -f conftest.er1
  6103. cat conftest.err >&5
  6104. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6105. - (exit $ac_status); } &&
  6106. - { ac_try='test -z "$ac_c_werror_flag"
  6107. - || test ! -s conftest.err'
  6108. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6109. - (eval $ac_try) 2>&5
  6110. - ac_status=$?
  6111. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6112. - (exit $ac_status); }; } &&
  6113. - { ac_try='test -s conftest$ac_exeext'
  6114. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6115. - (eval $ac_try) 2>&5
  6116. - ac_status=$?
  6117. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6118. - (exit $ac_status); }; }; then
  6119. - ac_R_nospace=yes
  6120. + (exit $ac_status); } && {
  6121. + test -z "$ac_c_werror_flag" ||
  6122. + test ! -s conftest.err
  6123. + } && test -s conftest$ac_exeext &&
  6124. + $as_test_x conftest$ac_exeext; then
  6125. + { echo "$as_me:$LINENO: result: no" >&5
  6126. +echo "${ECHO_T}no" >&6; }
  6127. + X_LIBS="$X_LIBS -R$x_libraries"
  6128. else
  6129. echo "$as_me: failed program was:" >&5
  6130. sed 's/^/| /' conftest.$ac_ext >&5
  6131. -ac_R_nospace=no
  6132. -fi
  6133. -rm -f conftest.err conftest.$ac_objext \
  6134. - conftest$ac_exeext conftest.$ac_ext
  6135. - if test $ac_R_nospace = yes; then
  6136. - echo "$as_me:$LINENO: result: no" >&5
  6137. -echo "${ECHO_T}no" >&6
  6138. - X_LIBS="$X_LIBS -R$x_libraries"
  6139. - else
  6140. LIBS="$ac_xsave_LIBS -R $x_libraries"
  6141. - cat >conftest.$ac_ext <<_ACEOF
  6142. + cat >conftest.$ac_ext <<_ACEOF
  6143. /* confdefs.h. */
  6144. _ACEOF
  6145. cat confdefs.h >>conftest.$ac_ext
  6146. @@ -5700,47 +6228,42 @@
  6147. }
  6148. _ACEOF
  6149. rm -f conftest.$ac_objext conftest$ac_exeext
  6150. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6151. - (eval $ac_link) 2>conftest.er1
  6152. +if { (ac_try="$ac_link"
  6153. +case "(($ac_try" in
  6154. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6155. + *) ac_try_echo=$ac_try;;
  6156. +esac
  6157. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6158. + (eval "$ac_link") 2>conftest.er1
  6159. ac_status=$?
  6160. grep -v '^ *+' conftest.er1 >conftest.err
  6161. rm -f conftest.er1
  6162. cat conftest.err >&5
  6163. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6164. - (exit $ac_status); } &&
  6165. - { ac_try='test -z "$ac_c_werror_flag"
  6166. - || test ! -s conftest.err'
  6167. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6168. - (eval $ac_try) 2>&5
  6169. - ac_status=$?
  6170. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6171. - (exit $ac_status); }; } &&
  6172. - { ac_try='test -s conftest$ac_exeext'
  6173. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6174. - (eval $ac_try) 2>&5
  6175. - ac_status=$?
  6176. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6177. - (exit $ac_status); }; }; then
  6178. - ac_R_space=yes
  6179. + (exit $ac_status); } && {
  6180. + test -z "$ac_c_werror_flag" ||
  6181. + test ! -s conftest.err
  6182. + } && test -s conftest$ac_exeext &&
  6183. + $as_test_x conftest$ac_exeext; then
  6184. + { echo "$as_me:$LINENO: result: yes" >&5
  6185. +echo "${ECHO_T}yes" >&6; }
  6186. + X_LIBS="$X_LIBS -R $x_libraries"
  6187. else
  6188. echo "$as_me: failed program was:" >&5
  6189. sed 's/^/| /' conftest.$ac_ext >&5
  6190. -ac_R_space=no
  6191. + { echo "$as_me:$LINENO: result: neither works" >&5
  6192. +echo "${ECHO_T}neither works" >&6; }
  6193. fi
  6194. -rm -f conftest.err conftest.$ac_objext \
  6195. +
  6196. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6197. conftest$ac_exeext conftest.$ac_ext
  6198. - if test $ac_R_space = yes; then
  6199. - echo "$as_me:$LINENO: result: yes" >&5
  6200. -echo "${ECHO_T}yes" >&6
  6201. - X_LIBS="$X_LIBS -R $x_libraries"
  6202. - else
  6203. - echo "$as_me:$LINENO: result: neither works" >&5
  6204. -echo "${ECHO_T}neither works" >&6
  6205. - fi
  6206. - fi
  6207. - LIBS=$ac_xsave_LIBS
  6208. - esac
  6209. +fi
  6210. +
  6211. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6212. + conftest$ac_exeext conftest.$ac_ext
  6213. + ac_c_werror_flag=$ac_xsave_c_werror_flag
  6214. + LIBS=$ac_xsave_LIBS
  6215. fi
  6216. # Check for system-dependent libraries X programs must link with.
  6217. @@ -5761,50 +6284,46 @@
  6218. cat >>conftest.$ac_ext <<_ACEOF
  6219. /* end confdefs.h. */
  6220. -/* Override any gcc2 internal prototype to avoid an error. */
  6221. +/* Override any GCC internal prototype to avoid an error.
  6222. + Use char because int might match the return type of a GCC
  6223. + builtin and then its argument prototype would still apply. */
  6224. #ifdef __cplusplus
  6225. extern "C"
  6226. #endif
  6227. -/* We use char because int might match the return type of a gcc2
  6228. - builtin and then its argument prototype would still apply. */
  6229. char XOpenDisplay ();
  6230. int
  6231. main ()
  6232. {
  6233. -XOpenDisplay ();
  6234. +return XOpenDisplay ();
  6235. ;
  6236. return 0;
  6237. }
  6238. _ACEOF
  6239. rm -f conftest.$ac_objext conftest$ac_exeext
  6240. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6241. - (eval $ac_link) 2>conftest.er1
  6242. +if { (ac_try="$ac_link"
  6243. +case "(($ac_try" in
  6244. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6245. + *) ac_try_echo=$ac_try;;
  6246. +esac
  6247. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6248. + (eval "$ac_link") 2>conftest.er1
  6249. ac_status=$?
  6250. grep -v '^ *+' conftest.er1 >conftest.err
  6251. rm -f conftest.er1
  6252. cat conftest.err >&5
  6253. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6254. - (exit $ac_status); } &&
  6255. - { ac_try='test -z "$ac_c_werror_flag"
  6256. - || test ! -s conftest.err'
  6257. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6258. - (eval $ac_try) 2>&5
  6259. - ac_status=$?
  6260. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6261. - (exit $ac_status); }; } &&
  6262. - { ac_try='test -s conftest$ac_exeext'
  6263. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6264. - (eval $ac_try) 2>&5
  6265. - ac_status=$?
  6266. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6267. - (exit $ac_status); }; }; then
  6268. + (exit $ac_status); } && {
  6269. + test -z "$ac_c_werror_flag" ||
  6270. + test ! -s conftest.err
  6271. + } && test -s conftest$ac_exeext &&
  6272. + $as_test_x conftest$ac_exeext; then
  6273. :
  6274. else
  6275. echo "$as_me: failed program was:" >&5
  6276. sed 's/^/| /' conftest.$ac_ext >&5
  6277. -echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
  6278. -echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
  6279. + { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
  6280. +echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
  6281. if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
  6282. echo $ECHO_N "(cached) $ECHO_C" >&6
  6283. else
  6284. @@ -5817,63 +6336,60 @@
  6285. cat >>conftest.$ac_ext <<_ACEOF
  6286. /* end confdefs.h. */
  6287. -/* Override any gcc2 internal prototype to avoid an error. */
  6288. +/* Override any GCC internal prototype to avoid an error.
  6289. + Use char because int might match the return type of a GCC
  6290. + builtin and then its argument prototype would still apply. */
  6291. #ifdef __cplusplus
  6292. extern "C"
  6293. #endif
  6294. -/* We use char because int might match the return type of a gcc2
  6295. - builtin and then its argument prototype would still apply. */
  6296. char dnet_ntoa ();
  6297. int
  6298. main ()
  6299. {
  6300. -dnet_ntoa ();
  6301. +return dnet_ntoa ();
  6302. ;
  6303. return 0;
  6304. }
  6305. _ACEOF
  6306. rm -f conftest.$ac_objext conftest$ac_exeext
  6307. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6308. - (eval $ac_link) 2>conftest.er1
  6309. +if { (ac_try="$ac_link"
  6310. +case "(($ac_try" in
  6311. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6312. + *) ac_try_echo=$ac_try;;
  6313. +esac
  6314. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6315. + (eval "$ac_link") 2>conftest.er1
  6316. ac_status=$?
  6317. grep -v '^ *+' conftest.er1 >conftest.err
  6318. rm -f conftest.er1
  6319. cat conftest.err >&5
  6320. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6321. - (exit $ac_status); } &&
  6322. - { ac_try='test -z "$ac_c_werror_flag"
  6323. - || test ! -s conftest.err'
  6324. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6325. - (eval $ac_try) 2>&5
  6326. - ac_status=$?
  6327. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6328. - (exit $ac_status); }; } &&
  6329. - { ac_try='test -s conftest$ac_exeext'
  6330. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6331. - (eval $ac_try) 2>&5
  6332. - ac_status=$?
  6333. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6334. - (exit $ac_status); }; }; then
  6335. + (exit $ac_status); } && {
  6336. + test -z "$ac_c_werror_flag" ||
  6337. + test ! -s conftest.err
  6338. + } && test -s conftest$ac_exeext &&
  6339. + $as_test_x conftest$ac_exeext; then
  6340. ac_cv_lib_dnet_dnet_ntoa=yes
  6341. else
  6342. echo "$as_me: failed program was:" >&5
  6343. sed 's/^/| /' conftest.$ac_ext >&5
  6344. -ac_cv_lib_dnet_dnet_ntoa=no
  6345. + ac_cv_lib_dnet_dnet_ntoa=no
  6346. fi
  6347. -rm -f conftest.err conftest.$ac_objext \
  6348. +
  6349. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6350. conftest$ac_exeext conftest.$ac_ext
  6351. LIBS=$ac_check_lib_save_LIBS
  6352. fi
  6353. -echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  6354. -echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
  6355. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  6356. +echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  6357. if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
  6358. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  6359. fi
  6360. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  6361. - echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
  6362. -echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
  6363. + { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
  6364. +echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
  6365. if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
  6366. echo $ECHO_N "(cached) $ECHO_C" >&6
  6367. else
  6368. @@ -5886,63 +6402,61 @@
  6369. cat >>conftest.$ac_ext <<_ACEOF
  6370. /* end confdefs.h. */
  6371. -/* Override any gcc2 internal prototype to avoid an error. */
  6372. +/* Override any GCC internal prototype to avoid an error.
  6373. + Use char because int might match the return type of a GCC
  6374. + builtin and then its argument prototype would still apply. */
  6375. #ifdef __cplusplus
  6376. extern "C"
  6377. #endif
  6378. -/* We use char because int might match the return type of a gcc2
  6379. - builtin and then its argument prototype would still apply. */
  6380. char dnet_ntoa ();
  6381. int
  6382. main ()
  6383. {
  6384. -dnet_ntoa ();
  6385. +return dnet_ntoa ();
  6386. ;
  6387. return 0;
  6388. }
  6389. _ACEOF
  6390. rm -f conftest.$ac_objext conftest$ac_exeext
  6391. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6392. - (eval $ac_link) 2>conftest.er1
  6393. +if { (ac_try="$ac_link"
  6394. +case "(($ac_try" in
  6395. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6396. + *) ac_try_echo=$ac_try;;
  6397. +esac
  6398. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6399. + (eval "$ac_link") 2>conftest.er1
  6400. ac_status=$?
  6401. grep -v '^ *+' conftest.er1 >conftest.err
  6402. rm -f conftest.er1
  6403. cat conftest.err >&5
  6404. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6405. - (exit $ac_status); } &&
  6406. - { ac_try='test -z "$ac_c_werror_flag"
  6407. - || test ! -s conftest.err'
  6408. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6409. - (eval $ac_try) 2>&5
  6410. - ac_status=$?
  6411. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6412. - (exit $ac_status); }; } &&
  6413. - { ac_try='test -s conftest$ac_exeext'
  6414. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6415. - (eval $ac_try) 2>&5
  6416. - ac_status=$?
  6417. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6418. - (exit $ac_status); }; }; then
  6419. + (exit $ac_status); } && {
  6420. + test -z "$ac_c_werror_flag" ||
  6421. + test ! -s conftest.err
  6422. + } && test -s conftest$ac_exeext &&
  6423. + $as_test_x conftest$ac_exeext; then
  6424. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  6425. else
  6426. echo "$as_me: failed program was:" >&5
  6427. sed 's/^/| /' conftest.$ac_ext >&5
  6428. -ac_cv_lib_dnet_stub_dnet_ntoa=no
  6429. + ac_cv_lib_dnet_stub_dnet_ntoa=no
  6430. fi
  6431. -rm -f conftest.err conftest.$ac_objext \
  6432. +
  6433. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6434. conftest$ac_exeext conftest.$ac_ext
  6435. LIBS=$ac_check_lib_save_LIBS
  6436. fi
  6437. -echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  6438. -echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
  6439. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  6440. +echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  6441. if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
  6442. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  6443. fi
  6444. fi
  6445. fi
  6446. -rm -f conftest.err conftest.$ac_objext \
  6447. +
  6448. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6449. conftest$ac_exeext conftest.$ac_ext
  6450. LIBS="$ac_xsave_LIBS"
  6451. @@ -5954,8 +6468,8 @@
  6452. # on Irix 5.2, according to T.E. Dickey.
  6453. # The functions gethostbyname, getservbyname, and inet_addr are
  6454. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  6455. - echo "$as_me:$LINENO: checking for gethostbyname" >&5
  6456. -echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
  6457. + { echo "$as_me:$LINENO: checking for gethostbyname" >&5
  6458. +echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
  6459. if test "${ac_cv_func_gethostbyname+set}" = set; then
  6460. echo $ECHO_N "(cached) $ECHO_C" >&6
  6461. else
  6462. @@ -5982,72 +6496,63 @@
  6463. #undef gethostbyname
  6464. -/* Override any gcc2 internal prototype to avoid an error. */
  6465. +/* Override any GCC internal prototype to avoid an error.
  6466. + Use char because int might match the return type of a GCC
  6467. + builtin and then its argument prototype would still apply. */
  6468. #ifdef __cplusplus
  6469. extern "C"
  6470. -{
  6471. #endif
  6472. -/* We use char because int might match the return type of a gcc2
  6473. - builtin and then its argument prototype would still apply. */
  6474. char gethostbyname ();
  6475. /* The GNU C library defines this for functions which it implements
  6476. to always fail with ENOSYS. Some functions are actually named
  6477. something starting with __ and the normal name is an alias. */
  6478. -#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
  6479. +#if defined __stub_gethostbyname || defined __stub___gethostbyname
  6480. choke me
  6481. -#else
  6482. -char (*f) () = gethostbyname;
  6483. -#endif
  6484. -#ifdef __cplusplus
  6485. -}
  6486. #endif
  6487. int
  6488. main ()
  6489. {
  6490. -return f != gethostbyname;
  6491. +return gethostbyname ();
  6492. ;
  6493. return 0;
  6494. }
  6495. _ACEOF
  6496. rm -f conftest.$ac_objext conftest$ac_exeext
  6497. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6498. - (eval $ac_link) 2>conftest.er1
  6499. +if { (ac_try="$ac_link"
  6500. +case "(($ac_try" in
  6501. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6502. + *) ac_try_echo=$ac_try;;
  6503. +esac
  6504. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6505. + (eval "$ac_link") 2>conftest.er1
  6506. ac_status=$?
  6507. grep -v '^ *+' conftest.er1 >conftest.err
  6508. rm -f conftest.er1
  6509. cat conftest.err >&5
  6510. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6511. - (exit $ac_status); } &&
  6512. - { ac_try='test -z "$ac_c_werror_flag"
  6513. - || test ! -s conftest.err'
  6514. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6515. - (eval $ac_try) 2>&5
  6516. - ac_status=$?
  6517. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6518. - (exit $ac_status); }; } &&
  6519. - { ac_try='test -s conftest$ac_exeext'
  6520. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6521. - (eval $ac_try) 2>&5
  6522. - ac_status=$?
  6523. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6524. - (exit $ac_status); }; }; then
  6525. + (exit $ac_status); } && {
  6526. + test -z "$ac_c_werror_flag" ||
  6527. + test ! -s conftest.err
  6528. + } && test -s conftest$ac_exeext &&
  6529. + $as_test_x conftest$ac_exeext; then
  6530. ac_cv_func_gethostbyname=yes
  6531. else
  6532. echo "$as_me: failed program was:" >&5
  6533. sed 's/^/| /' conftest.$ac_ext >&5
  6534. -ac_cv_func_gethostbyname=no
  6535. + ac_cv_func_gethostbyname=no
  6536. fi
  6537. -rm -f conftest.err conftest.$ac_objext \
  6538. +
  6539. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6540. conftest$ac_exeext conftest.$ac_ext
  6541. fi
  6542. -echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
  6543. -echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
  6544. +{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
  6545. +echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
  6546. if test $ac_cv_func_gethostbyname = no; then
  6547. - echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  6548. -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
  6549. + { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  6550. +echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
  6551. if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  6552. echo $ECHO_N "(cached) $ECHO_C" >&6
  6553. else
  6554. @@ -6060,63 +6565,60 @@
  6555. cat >>conftest.$ac_ext <<_ACEOF
  6556. /* end confdefs.h. */
  6557. -/* Override any gcc2 internal prototype to avoid an error. */
  6558. +/* Override any GCC internal prototype to avoid an error.
  6559. + Use char because int might match the return type of a GCC
  6560. + builtin and then its argument prototype would still apply. */
  6561. #ifdef __cplusplus
  6562. extern "C"
  6563. #endif
  6564. -/* We use char because int might match the return type of a gcc2
  6565. - builtin and then its argument prototype would still apply. */
  6566. char gethostbyname ();
  6567. int
  6568. main ()
  6569. {
  6570. -gethostbyname ();
  6571. +return gethostbyname ();
  6572. ;
  6573. return 0;
  6574. }
  6575. _ACEOF
  6576. rm -f conftest.$ac_objext conftest$ac_exeext
  6577. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6578. - (eval $ac_link) 2>conftest.er1
  6579. +if { (ac_try="$ac_link"
  6580. +case "(($ac_try" in
  6581. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6582. + *) ac_try_echo=$ac_try;;
  6583. +esac
  6584. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6585. + (eval "$ac_link") 2>conftest.er1
  6586. ac_status=$?
  6587. grep -v '^ *+' conftest.er1 >conftest.err
  6588. rm -f conftest.er1
  6589. cat conftest.err >&5
  6590. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6591. - (exit $ac_status); } &&
  6592. - { ac_try='test -z "$ac_c_werror_flag"
  6593. - || test ! -s conftest.err'
  6594. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6595. - (eval $ac_try) 2>&5
  6596. - ac_status=$?
  6597. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6598. - (exit $ac_status); }; } &&
  6599. - { ac_try='test -s conftest$ac_exeext'
  6600. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6601. - (eval $ac_try) 2>&5
  6602. - ac_status=$?
  6603. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6604. - (exit $ac_status); }; }; then
  6605. + (exit $ac_status); } && {
  6606. + test -z "$ac_c_werror_flag" ||
  6607. + test ! -s conftest.err
  6608. + } && test -s conftest$ac_exeext &&
  6609. + $as_test_x conftest$ac_exeext; then
  6610. ac_cv_lib_nsl_gethostbyname=yes
  6611. else
  6612. echo "$as_me: failed program was:" >&5
  6613. sed 's/^/| /' conftest.$ac_ext >&5
  6614. -ac_cv_lib_nsl_gethostbyname=no
  6615. + ac_cv_lib_nsl_gethostbyname=no
  6616. fi
  6617. -rm -f conftest.err conftest.$ac_objext \
  6618. +
  6619. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6620. conftest$ac_exeext conftest.$ac_ext
  6621. LIBS=$ac_check_lib_save_LIBS
  6622. fi
  6623. -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  6624. -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
  6625. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  6626. +echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
  6627. if test $ac_cv_lib_nsl_gethostbyname = yes; then
  6628. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  6629. fi
  6630. if test $ac_cv_lib_nsl_gethostbyname = no; then
  6631. - echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
  6632. -echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
  6633. + { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
  6634. +echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
  6635. if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
  6636. echo $ECHO_N "(cached) $ECHO_C" >&6
  6637. else
  6638. @@ -6129,56 +6631,53 @@
  6639. cat >>conftest.$ac_ext <<_ACEOF
  6640. /* end confdefs.h. */
  6641. -/* Override any gcc2 internal prototype to avoid an error. */
  6642. +/* Override any GCC internal prototype to avoid an error.
  6643. + Use char because int might match the return type of a GCC
  6644. + builtin and then its argument prototype would still apply. */
  6645. #ifdef __cplusplus
  6646. extern "C"
  6647. #endif
  6648. -/* We use char because int might match the return type of a gcc2
  6649. - builtin and then its argument prototype would still apply. */
  6650. char gethostbyname ();
  6651. int
  6652. main ()
  6653. {
  6654. -gethostbyname ();
  6655. +return gethostbyname ();
  6656. ;
  6657. return 0;
  6658. }
  6659. _ACEOF
  6660. rm -f conftest.$ac_objext conftest$ac_exeext
  6661. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6662. - (eval $ac_link) 2>conftest.er1
  6663. +if { (ac_try="$ac_link"
  6664. +case "(($ac_try" in
  6665. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6666. + *) ac_try_echo=$ac_try;;
  6667. +esac
  6668. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6669. + (eval "$ac_link") 2>conftest.er1
  6670. ac_status=$?
  6671. grep -v '^ *+' conftest.er1 >conftest.err
  6672. rm -f conftest.er1
  6673. cat conftest.err >&5
  6674. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6675. - (exit $ac_status); } &&
  6676. - { ac_try='test -z "$ac_c_werror_flag"
  6677. - || test ! -s conftest.err'
  6678. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6679. - (eval $ac_try) 2>&5
  6680. - ac_status=$?
  6681. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6682. - (exit $ac_status); }; } &&
  6683. - { ac_try='test -s conftest$ac_exeext'
  6684. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6685. - (eval $ac_try) 2>&5
  6686. - ac_status=$?
  6687. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6688. - (exit $ac_status); }; }; then
  6689. + (exit $ac_status); } && {
  6690. + test -z "$ac_c_werror_flag" ||
  6691. + test ! -s conftest.err
  6692. + } && test -s conftest$ac_exeext &&
  6693. + $as_test_x conftest$ac_exeext; then
  6694. ac_cv_lib_bsd_gethostbyname=yes
  6695. else
  6696. echo "$as_me: failed program was:" >&5
  6697. sed 's/^/| /' conftest.$ac_ext >&5
  6698. -ac_cv_lib_bsd_gethostbyname=no
  6699. + ac_cv_lib_bsd_gethostbyname=no
  6700. fi
  6701. -rm -f conftest.err conftest.$ac_objext \
  6702. +
  6703. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6704. conftest$ac_exeext conftest.$ac_ext
  6705. LIBS=$ac_check_lib_save_LIBS
  6706. fi
  6707. -echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
  6708. -echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
  6709. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
  6710. +echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
  6711. if test $ac_cv_lib_bsd_gethostbyname = yes; then
  6712. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  6713. fi
  6714. @@ -6193,8 +6692,8 @@
  6715. # variants that don't use the name server (or something). -lsocket
  6716. # must be given before -lnsl if both are needed. We assume that
  6717. # if connect needs -lnsl, so does gethostbyname.
  6718. - echo "$as_me:$LINENO: checking for connect" >&5
  6719. -echo $ECHO_N "checking for connect... $ECHO_C" >&6
  6720. + { echo "$as_me:$LINENO: checking for connect" >&5
  6721. +echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
  6722. if test "${ac_cv_func_connect+set}" = set; then
  6723. echo $ECHO_N "(cached) $ECHO_C" >&6
  6724. else
  6725. @@ -6221,72 +6720,63 @@
  6726. #undef connect
  6727. -/* Override any gcc2 internal prototype to avoid an error. */
  6728. +/* Override any GCC internal prototype to avoid an error.
  6729. + Use char because int might match the return type of a GCC
  6730. + builtin and then its argument prototype would still apply. */
  6731. #ifdef __cplusplus
  6732. extern "C"
  6733. -{
  6734. #endif
  6735. -/* We use char because int might match the return type of a gcc2
  6736. - builtin and then its argument prototype would still apply. */
  6737. char connect ();
  6738. /* The GNU C library defines this for functions which it implements
  6739. to always fail with ENOSYS. Some functions are actually named
  6740. something starting with __ and the normal name is an alias. */
  6741. -#if defined (__stub_connect) || defined (__stub___connect)
  6742. +#if defined __stub_connect || defined __stub___connect
  6743. choke me
  6744. -#else
  6745. -char (*f) () = connect;
  6746. -#endif
  6747. -#ifdef __cplusplus
  6748. -}
  6749. #endif
  6750. int
  6751. main ()
  6752. {
  6753. -return f != connect;
  6754. +return connect ();
  6755. ;
  6756. return 0;
  6757. }
  6758. _ACEOF
  6759. rm -f conftest.$ac_objext conftest$ac_exeext
  6760. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6761. - (eval $ac_link) 2>conftest.er1
  6762. +if { (ac_try="$ac_link"
  6763. +case "(($ac_try" in
  6764. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6765. + *) ac_try_echo=$ac_try;;
  6766. +esac
  6767. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6768. + (eval "$ac_link") 2>conftest.er1
  6769. ac_status=$?
  6770. grep -v '^ *+' conftest.er1 >conftest.err
  6771. rm -f conftest.er1
  6772. cat conftest.err >&5
  6773. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6774. - (exit $ac_status); } &&
  6775. - { ac_try='test -z "$ac_c_werror_flag"
  6776. - || test ! -s conftest.err'
  6777. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6778. - (eval $ac_try) 2>&5
  6779. - ac_status=$?
  6780. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6781. - (exit $ac_status); }; } &&
  6782. - { ac_try='test -s conftest$ac_exeext'
  6783. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6784. - (eval $ac_try) 2>&5
  6785. - ac_status=$?
  6786. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6787. - (exit $ac_status); }; }; then
  6788. + (exit $ac_status); } && {
  6789. + test -z "$ac_c_werror_flag" ||
  6790. + test ! -s conftest.err
  6791. + } && test -s conftest$ac_exeext &&
  6792. + $as_test_x conftest$ac_exeext; then
  6793. ac_cv_func_connect=yes
  6794. else
  6795. echo "$as_me: failed program was:" >&5
  6796. sed 's/^/| /' conftest.$ac_ext >&5
  6797. -ac_cv_func_connect=no
  6798. + ac_cv_func_connect=no
  6799. fi
  6800. -rm -f conftest.err conftest.$ac_objext \
  6801. +
  6802. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6803. conftest$ac_exeext conftest.$ac_ext
  6804. fi
  6805. -echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
  6806. -echo "${ECHO_T}$ac_cv_func_connect" >&6
  6807. +{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
  6808. +echo "${ECHO_T}$ac_cv_func_connect" >&6; }
  6809. if test $ac_cv_func_connect = no; then
  6810. - echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
  6811. -echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
  6812. + { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
  6813. +echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
  6814. if test "${ac_cv_lib_socket_connect+set}" = set; then
  6815. echo $ECHO_N "(cached) $ECHO_C" >&6
  6816. else
  6817. @@ -6299,56 +6789,53 @@
  6818. cat >>conftest.$ac_ext <<_ACEOF
  6819. /* end confdefs.h. */
  6820. -/* Override any gcc2 internal prototype to avoid an error. */
  6821. +/* Override any GCC internal prototype to avoid an error.
  6822. + Use char because int might match the return type of a GCC
  6823. + builtin and then its argument prototype would still apply. */
  6824. #ifdef __cplusplus
  6825. extern "C"
  6826. #endif
  6827. -/* We use char because int might match the return type of a gcc2
  6828. - builtin and then its argument prototype would still apply. */
  6829. char connect ();
  6830. int
  6831. main ()
  6832. {
  6833. -connect ();
  6834. +return connect ();
  6835. ;
  6836. return 0;
  6837. }
  6838. _ACEOF
  6839. rm -f conftest.$ac_objext conftest$ac_exeext
  6840. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6841. - (eval $ac_link) 2>conftest.er1
  6842. +if { (ac_try="$ac_link"
  6843. +case "(($ac_try" in
  6844. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6845. + *) ac_try_echo=$ac_try;;
  6846. +esac
  6847. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6848. + (eval "$ac_link") 2>conftest.er1
  6849. ac_status=$?
  6850. grep -v '^ *+' conftest.er1 >conftest.err
  6851. rm -f conftest.er1
  6852. cat conftest.err >&5
  6853. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6854. - (exit $ac_status); } &&
  6855. - { ac_try='test -z "$ac_c_werror_flag"
  6856. - || test ! -s conftest.err'
  6857. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6858. - (eval $ac_try) 2>&5
  6859. - ac_status=$?
  6860. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6861. - (exit $ac_status); }; } &&
  6862. - { ac_try='test -s conftest$ac_exeext'
  6863. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6864. - (eval $ac_try) 2>&5
  6865. - ac_status=$?
  6866. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6867. - (exit $ac_status); }; }; then
  6868. + (exit $ac_status); } && {
  6869. + test -z "$ac_c_werror_flag" ||
  6870. + test ! -s conftest.err
  6871. + } && test -s conftest$ac_exeext &&
  6872. + $as_test_x conftest$ac_exeext; then
  6873. ac_cv_lib_socket_connect=yes
  6874. else
  6875. echo "$as_me: failed program was:" >&5
  6876. sed 's/^/| /' conftest.$ac_ext >&5
  6877. -ac_cv_lib_socket_connect=no
  6878. + ac_cv_lib_socket_connect=no
  6879. fi
  6880. -rm -f conftest.err conftest.$ac_objext \
  6881. +
  6882. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6883. conftest$ac_exeext conftest.$ac_ext
  6884. LIBS=$ac_check_lib_save_LIBS
  6885. fi
  6886. -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
  6887. -echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
  6888. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
  6889. +echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
  6890. if test $ac_cv_lib_socket_connect = yes; then
  6891. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  6892. fi
  6893. @@ -6356,8 +6843,8 @@
  6894. fi
  6895. # Guillermo Gomez says -lposix is necessary on A/UX.
  6896. - echo "$as_me:$LINENO: checking for remove" >&5
  6897. -echo $ECHO_N "checking for remove... $ECHO_C" >&6
  6898. + { echo "$as_me:$LINENO: checking for remove" >&5
  6899. +echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
  6900. if test "${ac_cv_func_remove+set}" = set; then
  6901. echo $ECHO_N "(cached) $ECHO_C" >&6
  6902. else
  6903. @@ -6384,72 +6871,63 @@
  6904. #undef remove
  6905. -/* Override any gcc2 internal prototype to avoid an error. */
  6906. +/* Override any GCC internal prototype to avoid an error.
  6907. + Use char because int might match the return type of a GCC
  6908. + builtin and then its argument prototype would still apply. */
  6909. #ifdef __cplusplus
  6910. extern "C"
  6911. -{
  6912. #endif
  6913. -/* We use char because int might match the return type of a gcc2
  6914. - builtin and then its argument prototype would still apply. */
  6915. char remove ();
  6916. /* The GNU C library defines this for functions which it implements
  6917. to always fail with ENOSYS. Some functions are actually named
  6918. something starting with __ and the normal name is an alias. */
  6919. -#if defined (__stub_remove) || defined (__stub___remove)
  6920. +#if defined __stub_remove || defined __stub___remove
  6921. choke me
  6922. -#else
  6923. -char (*f) () = remove;
  6924. -#endif
  6925. -#ifdef __cplusplus
  6926. -}
  6927. #endif
  6928. int
  6929. main ()
  6930. {
  6931. -return f != remove;
  6932. +return remove ();
  6933. ;
  6934. return 0;
  6935. }
  6936. _ACEOF
  6937. rm -f conftest.$ac_objext conftest$ac_exeext
  6938. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6939. - (eval $ac_link) 2>conftest.er1
  6940. +if { (ac_try="$ac_link"
  6941. +case "(($ac_try" in
  6942. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6943. + *) ac_try_echo=$ac_try;;
  6944. +esac
  6945. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6946. + (eval "$ac_link") 2>conftest.er1
  6947. ac_status=$?
  6948. grep -v '^ *+' conftest.er1 >conftest.err
  6949. rm -f conftest.er1
  6950. cat conftest.err >&5
  6951. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6952. - (exit $ac_status); } &&
  6953. - { ac_try='test -z "$ac_c_werror_flag"
  6954. - || test ! -s conftest.err'
  6955. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6956. - (eval $ac_try) 2>&5
  6957. - ac_status=$?
  6958. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6959. - (exit $ac_status); }; } &&
  6960. - { ac_try='test -s conftest$ac_exeext'
  6961. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6962. - (eval $ac_try) 2>&5
  6963. - ac_status=$?
  6964. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6965. - (exit $ac_status); }; }; then
  6966. + (exit $ac_status); } && {
  6967. + test -z "$ac_c_werror_flag" ||
  6968. + test ! -s conftest.err
  6969. + } && test -s conftest$ac_exeext &&
  6970. + $as_test_x conftest$ac_exeext; then
  6971. ac_cv_func_remove=yes
  6972. else
  6973. echo "$as_me: failed program was:" >&5
  6974. sed 's/^/| /' conftest.$ac_ext >&5
  6975. -ac_cv_func_remove=no
  6976. + ac_cv_func_remove=no
  6977. fi
  6978. -rm -f conftest.err conftest.$ac_objext \
  6979. +
  6980. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6981. conftest$ac_exeext conftest.$ac_ext
  6982. fi
  6983. -echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
  6984. -echo "${ECHO_T}$ac_cv_func_remove" >&6
  6985. +{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
  6986. +echo "${ECHO_T}$ac_cv_func_remove" >&6; }
  6987. if test $ac_cv_func_remove = no; then
  6988. - echo "$as_me:$LINENO: checking for remove in -lposix" >&5
  6989. -echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
  6990. + { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
  6991. +echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
  6992. if test "${ac_cv_lib_posix_remove+set}" = set; then
  6993. echo $ECHO_N "(cached) $ECHO_C" >&6
  6994. else
  6995. @@ -6462,56 +6940,53 @@
  6996. cat >>conftest.$ac_ext <<_ACEOF
  6997. /* end confdefs.h. */
  6998. -/* Override any gcc2 internal prototype to avoid an error. */
  6999. +/* Override any GCC internal prototype to avoid an error.
  7000. + Use char because int might match the return type of a GCC
  7001. + builtin and then its argument prototype would still apply. */
  7002. #ifdef __cplusplus
  7003. extern "C"
  7004. #endif
  7005. -/* We use char because int might match the return type of a gcc2
  7006. - builtin and then its argument prototype would still apply. */
  7007. char remove ();
  7008. int
  7009. main ()
  7010. {
  7011. -remove ();
  7012. +return remove ();
  7013. ;
  7014. return 0;
  7015. }
  7016. _ACEOF
  7017. rm -f conftest.$ac_objext conftest$ac_exeext
  7018. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7019. - (eval $ac_link) 2>conftest.er1
  7020. +if { (ac_try="$ac_link"
  7021. +case "(($ac_try" in
  7022. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7023. + *) ac_try_echo=$ac_try;;
  7024. +esac
  7025. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7026. + (eval "$ac_link") 2>conftest.er1
  7027. ac_status=$?
  7028. grep -v '^ *+' conftest.er1 >conftest.err
  7029. rm -f conftest.er1
  7030. cat conftest.err >&5
  7031. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7032. - (exit $ac_status); } &&
  7033. - { ac_try='test -z "$ac_c_werror_flag"
  7034. - || test ! -s conftest.err'
  7035. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7036. - (eval $ac_try) 2>&5
  7037. - ac_status=$?
  7038. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7039. - (exit $ac_status); }; } &&
  7040. - { ac_try='test -s conftest$ac_exeext'
  7041. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7042. - (eval $ac_try) 2>&5
  7043. - ac_status=$?
  7044. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7045. - (exit $ac_status); }; }; then
  7046. + (exit $ac_status); } && {
  7047. + test -z "$ac_c_werror_flag" ||
  7048. + test ! -s conftest.err
  7049. + } && test -s conftest$ac_exeext &&
  7050. + $as_test_x conftest$ac_exeext; then
  7051. ac_cv_lib_posix_remove=yes
  7052. else
  7053. echo "$as_me: failed program was:" >&5
  7054. sed 's/^/| /' conftest.$ac_ext >&5
  7055. -ac_cv_lib_posix_remove=no
  7056. + ac_cv_lib_posix_remove=no
  7057. fi
  7058. -rm -f conftest.err conftest.$ac_objext \
  7059. +
  7060. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7061. conftest$ac_exeext conftest.$ac_ext
  7062. LIBS=$ac_check_lib_save_LIBS
  7063. fi
  7064. -echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
  7065. -echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
  7066. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
  7067. +echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
  7068. if test $ac_cv_lib_posix_remove = yes; then
  7069. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  7070. fi
  7071. @@ -6519,8 +6994,8 @@
  7072. fi
  7073. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  7074. - echo "$as_me:$LINENO: checking for shmat" >&5
  7075. -echo $ECHO_N "checking for shmat... $ECHO_C" >&6
  7076. + { echo "$as_me:$LINENO: checking for shmat" >&5
  7077. +echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
  7078. if test "${ac_cv_func_shmat+set}" = set; then
  7079. echo $ECHO_N "(cached) $ECHO_C" >&6
  7080. else
  7081. @@ -6547,72 +7022,63 @@
  7082. #undef shmat
  7083. -/* Override any gcc2 internal prototype to avoid an error. */
  7084. +/* Override any GCC internal prototype to avoid an error.
  7085. + Use char because int might match the return type of a GCC
  7086. + builtin and then its argument prototype would still apply. */
  7087. #ifdef __cplusplus
  7088. extern "C"
  7089. -{
  7090. #endif
  7091. -/* We use char because int might match the return type of a gcc2
  7092. - builtin and then its argument prototype would still apply. */
  7093. char shmat ();
  7094. /* The GNU C library defines this for functions which it implements
  7095. to always fail with ENOSYS. Some functions are actually named
  7096. something starting with __ and the normal name is an alias. */
  7097. -#if defined (__stub_shmat) || defined (__stub___shmat)
  7098. +#if defined __stub_shmat || defined __stub___shmat
  7099. choke me
  7100. -#else
  7101. -char (*f) () = shmat;
  7102. -#endif
  7103. -#ifdef __cplusplus
  7104. -}
  7105. #endif
  7106. int
  7107. main ()
  7108. {
  7109. -return f != shmat;
  7110. +return shmat ();
  7111. ;
  7112. return 0;
  7113. }
  7114. _ACEOF
  7115. rm -f conftest.$ac_objext conftest$ac_exeext
  7116. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7117. - (eval $ac_link) 2>conftest.er1
  7118. +if { (ac_try="$ac_link"
  7119. +case "(($ac_try" in
  7120. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7121. + *) ac_try_echo=$ac_try;;
  7122. +esac
  7123. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7124. + (eval "$ac_link") 2>conftest.er1
  7125. ac_status=$?
  7126. grep -v '^ *+' conftest.er1 >conftest.err
  7127. rm -f conftest.er1
  7128. cat conftest.err >&5
  7129. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7130. - (exit $ac_status); } &&
  7131. - { ac_try='test -z "$ac_c_werror_flag"
  7132. - || test ! -s conftest.err'
  7133. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7134. - (eval $ac_try) 2>&5
  7135. - ac_status=$?
  7136. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7137. - (exit $ac_status); }; } &&
  7138. - { ac_try='test -s conftest$ac_exeext'
  7139. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7140. - (eval $ac_try) 2>&5
  7141. - ac_status=$?
  7142. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7143. - (exit $ac_status); }; }; then
  7144. + (exit $ac_status); } && {
  7145. + test -z "$ac_c_werror_flag" ||
  7146. + test ! -s conftest.err
  7147. + } && test -s conftest$ac_exeext &&
  7148. + $as_test_x conftest$ac_exeext; then
  7149. ac_cv_func_shmat=yes
  7150. else
  7151. echo "$as_me: failed program was:" >&5
  7152. sed 's/^/| /' conftest.$ac_ext >&5
  7153. -ac_cv_func_shmat=no
  7154. + ac_cv_func_shmat=no
  7155. fi
  7156. -rm -f conftest.err conftest.$ac_objext \
  7157. +
  7158. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7159. conftest$ac_exeext conftest.$ac_ext
  7160. fi
  7161. -echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
  7162. -echo "${ECHO_T}$ac_cv_func_shmat" >&6
  7163. +{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
  7164. +echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
  7165. if test $ac_cv_func_shmat = no; then
  7166. - echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
  7167. -echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
  7168. + { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
  7169. +echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
  7170. if test "${ac_cv_lib_ipc_shmat+set}" = set; then
  7171. echo $ECHO_N "(cached) $ECHO_C" >&6
  7172. else
  7173. @@ -6625,56 +7091,53 @@
  7174. cat >>conftest.$ac_ext <<_ACEOF
  7175. /* end confdefs.h. */
  7176. -/* Override any gcc2 internal prototype to avoid an error. */
  7177. +/* Override any GCC internal prototype to avoid an error.
  7178. + Use char because int might match the return type of a GCC
  7179. + builtin and then its argument prototype would still apply. */
  7180. #ifdef __cplusplus
  7181. extern "C"
  7182. #endif
  7183. -/* We use char because int might match the return type of a gcc2
  7184. - builtin and then its argument prototype would still apply. */
  7185. char shmat ();
  7186. int
  7187. main ()
  7188. {
  7189. -shmat ();
  7190. +return shmat ();
  7191. ;
  7192. return 0;
  7193. }
  7194. _ACEOF
  7195. rm -f conftest.$ac_objext conftest$ac_exeext
  7196. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7197. - (eval $ac_link) 2>conftest.er1
  7198. +if { (ac_try="$ac_link"
  7199. +case "(($ac_try" in
  7200. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7201. + *) ac_try_echo=$ac_try;;
  7202. +esac
  7203. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7204. + (eval "$ac_link") 2>conftest.er1
  7205. ac_status=$?
  7206. grep -v '^ *+' conftest.er1 >conftest.err
  7207. rm -f conftest.er1
  7208. cat conftest.err >&5
  7209. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7210. - (exit $ac_status); } &&
  7211. - { ac_try='test -z "$ac_c_werror_flag"
  7212. - || test ! -s conftest.err'
  7213. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7214. - (eval $ac_try) 2>&5
  7215. - ac_status=$?
  7216. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7217. - (exit $ac_status); }; } &&
  7218. - { ac_try='test -s conftest$ac_exeext'
  7219. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7220. - (eval $ac_try) 2>&5
  7221. - ac_status=$?
  7222. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7223. - (exit $ac_status); }; }; then
  7224. + (exit $ac_status); } && {
  7225. + test -z "$ac_c_werror_flag" ||
  7226. + test ! -s conftest.err
  7227. + } && test -s conftest$ac_exeext &&
  7228. + $as_test_x conftest$ac_exeext; then
  7229. ac_cv_lib_ipc_shmat=yes
  7230. else
  7231. echo "$as_me: failed program was:" >&5
  7232. sed 's/^/| /' conftest.$ac_ext >&5
  7233. -ac_cv_lib_ipc_shmat=no
  7234. + ac_cv_lib_ipc_shmat=no
  7235. fi
  7236. -rm -f conftest.err conftest.$ac_objext \
  7237. +
  7238. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7239. conftest$ac_exeext conftest.$ac_ext
  7240. LIBS=$ac_check_lib_save_LIBS
  7241. fi
  7242. -echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
  7243. -echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
  7244. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
  7245. +echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
  7246. if test $ac_cv_lib_ipc_shmat = yes; then
  7247. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  7248. fi
  7249. @@ -6691,8 +7154,8 @@
  7250. # These have to be linked with before -lX11, unlike the other
  7251. # libraries we check for below, so use a different variable.
  7252. # John Interrante, Karl Berry
  7253. - echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
  7254. -echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
  7255. + { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
  7256. +echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
  7257. if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
  7258. echo $ECHO_N "(cached) $ECHO_C" >&6
  7259. else
  7260. @@ -6705,56 +7168,53 @@
  7261. cat >>conftest.$ac_ext <<_ACEOF
  7262. /* end confdefs.h. */
  7263. -/* Override any gcc2 internal prototype to avoid an error. */
  7264. +/* Override any GCC internal prototype to avoid an error.
  7265. + Use char because int might match the return type of a GCC
  7266. + builtin and then its argument prototype would still apply. */
  7267. #ifdef __cplusplus
  7268. extern "C"
  7269. #endif
  7270. -/* We use char because int might match the return type of a gcc2
  7271. - builtin and then its argument prototype would still apply. */
  7272. char IceConnectionNumber ();
  7273. int
  7274. main ()
  7275. {
  7276. -IceConnectionNumber ();
  7277. +return IceConnectionNumber ();
  7278. ;
  7279. return 0;
  7280. }
  7281. _ACEOF
  7282. rm -f conftest.$ac_objext conftest$ac_exeext
  7283. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7284. - (eval $ac_link) 2>conftest.er1
  7285. +if { (ac_try="$ac_link"
  7286. +case "(($ac_try" in
  7287. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7288. + *) ac_try_echo=$ac_try;;
  7289. +esac
  7290. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7291. + (eval "$ac_link") 2>conftest.er1
  7292. ac_status=$?
  7293. grep -v '^ *+' conftest.er1 >conftest.err
  7294. rm -f conftest.er1
  7295. cat conftest.err >&5
  7296. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7297. - (exit $ac_status); } &&
  7298. - { ac_try='test -z "$ac_c_werror_flag"
  7299. - || test ! -s conftest.err'
  7300. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7301. - (eval $ac_try) 2>&5
  7302. - ac_status=$?
  7303. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7304. - (exit $ac_status); }; } &&
  7305. - { ac_try='test -s conftest$ac_exeext'
  7306. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7307. - (eval $ac_try) 2>&5
  7308. - ac_status=$?
  7309. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7310. - (exit $ac_status); }; }; then
  7311. + (exit $ac_status); } && {
  7312. + test -z "$ac_c_werror_flag" ||
  7313. + test ! -s conftest.err
  7314. + } && test -s conftest$ac_exeext &&
  7315. + $as_test_x conftest$ac_exeext; then
  7316. ac_cv_lib_ICE_IceConnectionNumber=yes
  7317. else
  7318. echo "$as_me: failed program was:" >&5
  7319. sed 's/^/| /' conftest.$ac_ext >&5
  7320. -ac_cv_lib_ICE_IceConnectionNumber=no
  7321. + ac_cv_lib_ICE_IceConnectionNumber=no
  7322. fi
  7323. -rm -f conftest.err conftest.$ac_objext \
  7324. +
  7325. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7326. conftest$ac_exeext conftest.$ac_ext
  7327. LIBS=$ac_check_lib_save_LIBS
  7328. fi
  7329. -echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  7330. -echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
  7331. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  7332. +echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  7333. if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
  7334. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  7335. fi
  7336. @@ -6773,8 +7233,8 @@
  7337. if test -d "$x_includes" && test ! -d "$x_libraries"; then
  7338. x_libraries=`echo "$x_includes" | sed s/include/lib/`
  7339. - echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
  7340. -echo "${ECHO_T}Corrected X libraries to $x_libraries" >&6
  7341. + { echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
  7342. +echo "${ECHO_T}Corrected X libraries to $x_libraries" >&6; }
  7343. X_LIBS="$X_LIBS -L$x_libraries"
  7344. if test "`(uname) 2>/dev/null`" = SunOS &&
  7345. uname -r | grep '^5' >/dev/null; then
  7346. @@ -6784,8 +7244,8 @@
  7347. if test -d "$x_libraries" && test ! -d "$x_includes"; then
  7348. x_includes=`echo "$x_libraries" | sed s/lib/include/`
  7349. - echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
  7350. -echo "${ECHO_T}Corrected X includes to $x_includes" >&6
  7351. + { echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
  7352. +echo "${ECHO_T}Corrected X includes to $x_includes" >&6; }
  7353. X_CFLAGS="$X_CFLAGS -I$x_includes"
  7354. fi
  7355. @@ -6794,8 +7254,8 @@
  7356. X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`"
  7357. - echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
  7358. -echo $ECHO_N "checking if X11 header files can be found... $ECHO_C" >&6
  7359. + { echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
  7360. +echo $ECHO_N "checking if X11 header files can be found... $ECHO_C" >&6; }
  7361. cflags_save=$CFLAGS
  7362. CFLAGS="$CFLAGS $X_CFLAGS"
  7363. cat >conftest.$ac_ext <<_ACEOF
  7364. @@ -6814,37 +7274,33 @@
  7365. }
  7366. _ACEOF
  7367. rm -f conftest.$ac_objext
  7368. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7369. - (eval $ac_compile) 2>conftest.er1
  7370. +if { (ac_try="$ac_compile"
  7371. +case "(($ac_try" in
  7372. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7373. + *) ac_try_echo=$ac_try;;
  7374. +esac
  7375. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7376. + (eval "$ac_compile") 2>conftest.er1
  7377. ac_status=$?
  7378. grep -v '^ *+' conftest.er1 >conftest.err
  7379. rm -f conftest.er1
  7380. cat conftest.err >&5
  7381. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7382. - (exit $ac_status); } &&
  7383. - { ac_try='test -z "$ac_c_werror_flag"
  7384. - || test ! -s conftest.err'
  7385. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7386. - (eval $ac_try) 2>&5
  7387. - ac_status=$?
  7388. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7389. - (exit $ac_status); }; } &&
  7390. - { ac_try='test -s conftest.$ac_objext'
  7391. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7392. - (eval $ac_try) 2>&5
  7393. - ac_status=$?
  7394. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7395. - (exit $ac_status); }; }; then
  7396. - echo "$as_me:$LINENO: result: yes" >&5
  7397. -echo "${ECHO_T}yes" >&6
  7398. + (exit $ac_status); } && {
  7399. + test -z "$ac_c_werror_flag" ||
  7400. + test ! -s conftest.err
  7401. + } && test -s conftest.$ac_objext; then
  7402. + { echo "$as_me:$LINENO: result: yes" >&5
  7403. +echo "${ECHO_T}yes" >&6; }
  7404. else
  7405. echo "$as_me: failed program was:" >&5
  7406. sed 's/^/| /' conftest.$ac_ext >&5
  7407. -echo "$as_me:$LINENO: result: no" >&5
  7408. -echo "${ECHO_T}no" >&6; no_x=yes
  7409. + { echo "$as_me:$LINENO: result: no" >&5
  7410. +echo "${ECHO_T}no" >&6; }; no_x=yes
  7411. fi
  7412. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7413. +
  7414. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7415. CFLAGS=$cflags_save
  7416. if test "${no_x-no}" = yes; then
  7417. @@ -6860,8 +7316,8 @@
  7418. ac_save_LDFLAGS="$LDFLAGS"
  7419. LDFLAGS="-L$x_libraries $LDFLAGS"
  7420. - echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
  7421. -echo $ECHO_N "checking for _XdmcpAuthDoIt in -lXdmcp... $ECHO_C" >&6
  7422. + { echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
  7423. +echo $ECHO_N "checking for _XdmcpAuthDoIt in -lXdmcp... $ECHO_C" >&6; }
  7424. if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then
  7425. echo $ECHO_N "(cached) $ECHO_C" >&6
  7426. else
  7427. @@ -6874,63 +7330,60 @@
  7428. cat >>conftest.$ac_ext <<_ACEOF
  7429. /* end confdefs.h. */
  7430. -/* Override any gcc2 internal prototype to avoid an error. */
  7431. +/* Override any GCC internal prototype to avoid an error.
  7432. + Use char because int might match the return type of a GCC
  7433. + builtin and then its argument prototype would still apply. */
  7434. #ifdef __cplusplus
  7435. extern "C"
  7436. #endif
  7437. -/* We use char because int might match the return type of a gcc2
  7438. - builtin and then its argument prototype would still apply. */
  7439. char _XdmcpAuthDoIt ();
  7440. int
  7441. main ()
  7442. {
  7443. -_XdmcpAuthDoIt ();
  7444. +return _XdmcpAuthDoIt ();
  7445. ;
  7446. return 0;
  7447. }
  7448. _ACEOF
  7449. rm -f conftest.$ac_objext conftest$ac_exeext
  7450. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7451. - (eval $ac_link) 2>conftest.er1
  7452. +if { (ac_try="$ac_link"
  7453. +case "(($ac_try" in
  7454. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7455. + *) ac_try_echo=$ac_try;;
  7456. +esac
  7457. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7458. + (eval "$ac_link") 2>conftest.er1
  7459. ac_status=$?
  7460. grep -v '^ *+' conftest.er1 >conftest.err
  7461. rm -f conftest.er1
  7462. cat conftest.err >&5
  7463. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7464. - (exit $ac_status); } &&
  7465. - { ac_try='test -z "$ac_c_werror_flag"
  7466. - || test ! -s conftest.err'
  7467. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7468. - (eval $ac_try) 2>&5
  7469. - ac_status=$?
  7470. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7471. - (exit $ac_status); }; } &&
  7472. - { ac_try='test -s conftest$ac_exeext'
  7473. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7474. - (eval $ac_try) 2>&5
  7475. - ac_status=$?
  7476. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7477. - (exit $ac_status); }; }; then
  7478. + (exit $ac_status); } && {
  7479. + test -z "$ac_c_werror_flag" ||
  7480. + test ! -s conftest.err
  7481. + } && test -s conftest$ac_exeext &&
  7482. + $as_test_x conftest$ac_exeext; then
  7483. ac_cv_lib_Xdmcp__XdmcpAuthDoIt=yes
  7484. else
  7485. echo "$as_me: failed program was:" >&5
  7486. sed 's/^/| /' conftest.$ac_ext >&5
  7487. -ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no
  7488. + ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no
  7489. fi
  7490. -rm -f conftest.err conftest.$ac_objext \
  7491. +
  7492. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7493. conftest$ac_exeext conftest.$ac_ext
  7494. LIBS=$ac_check_lib_save_LIBS
  7495. fi
  7496. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
  7497. -echo "${ECHO_T}$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6
  7498. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
  7499. +echo "${ECHO_T}$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6; }
  7500. if test $ac_cv_lib_Xdmcp__XdmcpAuthDoIt = yes; then
  7501. X_EXTRA_LIBS="$X_EXTRA_LIBS -lXdmcp"
  7502. fi
  7503. - echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
  7504. -echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6
  7505. + { echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
  7506. +echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6; }
  7507. if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
  7508. echo $ECHO_N "(cached) $ECHO_C" >&6
  7509. else
  7510. @@ -6943,64 +7396,61 @@
  7511. cat >>conftest.$ac_ext <<_ACEOF
  7512. /* end confdefs.h. */
  7513. -/* Override any gcc2 internal prototype to avoid an error. */
  7514. +/* Override any GCC internal prototype to avoid an error.
  7515. + Use char because int might match the return type of a GCC
  7516. + builtin and then its argument prototype would still apply. */
  7517. #ifdef __cplusplus
  7518. extern "C"
  7519. #endif
  7520. -/* We use char because int might match the return type of a gcc2
  7521. - builtin and then its argument prototype would still apply. */
  7522. char IceOpenConnection ();
  7523. int
  7524. main ()
  7525. {
  7526. -IceOpenConnection ();
  7527. +return IceOpenConnection ();
  7528. ;
  7529. return 0;
  7530. }
  7531. _ACEOF
  7532. rm -f conftest.$ac_objext conftest$ac_exeext
  7533. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7534. - (eval $ac_link) 2>conftest.er1
  7535. +if { (ac_try="$ac_link"
  7536. +case "(($ac_try" in
  7537. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7538. + *) ac_try_echo=$ac_try;;
  7539. +esac
  7540. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7541. + (eval "$ac_link") 2>conftest.er1
  7542. ac_status=$?
  7543. grep -v '^ *+' conftest.er1 >conftest.err
  7544. rm -f conftest.er1
  7545. cat conftest.err >&5
  7546. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7547. - (exit $ac_status); } &&
  7548. - { ac_try='test -z "$ac_c_werror_flag"
  7549. - || test ! -s conftest.err'
  7550. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7551. - (eval $ac_try) 2>&5
  7552. - ac_status=$?
  7553. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7554. - (exit $ac_status); }; } &&
  7555. - { ac_try='test -s conftest$ac_exeext'
  7556. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7557. - (eval $ac_try) 2>&5
  7558. - ac_status=$?
  7559. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7560. - (exit $ac_status); }; }; then
  7561. + (exit $ac_status); } && {
  7562. + test -z "$ac_c_werror_flag" ||
  7563. + test ! -s conftest.err
  7564. + } && test -s conftest$ac_exeext &&
  7565. + $as_test_x conftest$ac_exeext; then
  7566. ac_cv_lib_ICE_IceOpenConnection=yes
  7567. else
  7568. echo "$as_me: failed program was:" >&5
  7569. sed 's/^/| /' conftest.$ac_ext >&5
  7570. -ac_cv_lib_ICE_IceOpenConnection=no
  7571. + ac_cv_lib_ICE_IceOpenConnection=no
  7572. fi
  7573. -rm -f conftest.err conftest.$ac_objext \
  7574. +
  7575. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7576. conftest$ac_exeext conftest.$ac_ext
  7577. LIBS=$ac_check_lib_save_LIBS
  7578. fi
  7579. -echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
  7580. -echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6
  7581. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
  7582. +echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6; }
  7583. if test $ac_cv_lib_ICE_IceOpenConnection = yes; then
  7584. X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE"
  7585. fi
  7586. LDFLAGS="$X_LIBS $ac_save_LDFLAGS"
  7587. - echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
  7588. -echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6
  7589. + { echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
  7590. +echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6; }
  7591. if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
  7592. echo $ECHO_N "(cached) $ECHO_C" >&6
  7593. else
  7594. @@ -7013,63 +7463,60 @@
  7595. cat >>conftest.$ac_ext <<_ACEOF
  7596. /* end confdefs.h. */
  7597. -/* Override any gcc2 internal prototype to avoid an error. */
  7598. +/* Override any GCC internal prototype to avoid an error.
  7599. + Use char because int might match the return type of a GCC
  7600. + builtin and then its argument prototype would still apply. */
  7601. #ifdef __cplusplus
  7602. extern "C"
  7603. #endif
  7604. -/* We use char because int might match the return type of a gcc2
  7605. - builtin and then its argument prototype would still apply. */
  7606. char XpmCreatePixmapFromData ();
  7607. int
  7608. main ()
  7609. {
  7610. -XpmCreatePixmapFromData ();
  7611. +return XpmCreatePixmapFromData ();
  7612. ;
  7613. return 0;
  7614. }
  7615. _ACEOF
  7616. rm -f conftest.$ac_objext conftest$ac_exeext
  7617. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7618. - (eval $ac_link) 2>conftest.er1
  7619. +if { (ac_try="$ac_link"
  7620. +case "(($ac_try" in
  7621. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7622. + *) ac_try_echo=$ac_try;;
  7623. +esac
  7624. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7625. + (eval "$ac_link") 2>conftest.er1
  7626. ac_status=$?
  7627. grep -v '^ *+' conftest.er1 >conftest.err
  7628. rm -f conftest.er1
  7629. cat conftest.err >&5
  7630. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7631. - (exit $ac_status); } &&
  7632. - { ac_try='test -z "$ac_c_werror_flag"
  7633. - || test ! -s conftest.err'
  7634. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7635. - (eval $ac_try) 2>&5
  7636. - ac_status=$?
  7637. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7638. - (exit $ac_status); }; } &&
  7639. - { ac_try='test -s conftest$ac_exeext'
  7640. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7641. - (eval $ac_try) 2>&5
  7642. - ac_status=$?
  7643. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7644. - (exit $ac_status); }; }; then
  7645. + (exit $ac_status); } && {
  7646. + test -z "$ac_c_werror_flag" ||
  7647. + test ! -s conftest.err
  7648. + } && test -s conftest$ac_exeext &&
  7649. + $as_test_x conftest$ac_exeext; then
  7650. ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes
  7651. else
  7652. echo "$as_me: failed program was:" >&5
  7653. sed 's/^/| /' conftest.$ac_ext >&5
  7654. -ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
  7655. + ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
  7656. fi
  7657. -rm -f conftest.err conftest.$ac_objext \
  7658. +
  7659. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7660. conftest$ac_exeext conftest.$ac_ext
  7661. LIBS=$ac_check_lib_save_LIBS
  7662. fi
  7663. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
  7664. -echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6
  7665. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
  7666. +echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6; }
  7667. if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
  7668. X_PRE_LIBS="$X_PRE_LIBS -lXpm"
  7669. fi
  7670. - echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
  7671. -echo $ECHO_N "checking if X11 header files implicitly declare return values... $ECHO_C" >&6
  7672. + { echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
  7673. +echo $ECHO_N "checking if X11 header files implicitly declare return values... $ECHO_C" >&6; }
  7674. cflags_save=$CFLAGS
  7675. CFLAGS="$CFLAGS $X_CFLAGS -Werror"
  7676. cat >conftest.$ac_ext <<_ACEOF
  7677. @@ -7088,34 +7535,29 @@
  7678. }
  7679. _ACEOF
  7680. rm -f conftest.$ac_objext
  7681. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7682. - (eval $ac_compile) 2>conftest.er1
  7683. +if { (ac_try="$ac_compile"
  7684. +case "(($ac_try" in
  7685. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7686. + *) ac_try_echo=$ac_try;;
  7687. +esac
  7688. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7689. + (eval "$ac_compile") 2>conftest.er1
  7690. ac_status=$?
  7691. grep -v '^ *+' conftest.er1 >conftest.err
  7692. rm -f conftest.er1
  7693. cat conftest.err >&5
  7694. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7695. - (exit $ac_status); } &&
  7696. - { ac_try='test -z "$ac_c_werror_flag"
  7697. - || test ! -s conftest.err'
  7698. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7699. - (eval $ac_try) 2>&5
  7700. - ac_status=$?
  7701. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7702. - (exit $ac_status); }; } &&
  7703. - { ac_try='test -s conftest.$ac_objext'
  7704. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7705. - (eval $ac_try) 2>&5
  7706. - ac_status=$?
  7707. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7708. - (exit $ac_status); }; }; then
  7709. - echo "$as_me:$LINENO: result: no" >&5
  7710. -echo "${ECHO_T}no" >&6
  7711. + (exit $ac_status); } && {
  7712. + test -z "$ac_c_werror_flag" ||
  7713. + test ! -s conftest.err
  7714. + } && test -s conftest.$ac_objext; then
  7715. + { echo "$as_me:$LINENO: result: no" >&5
  7716. +echo "${ECHO_T}no" >&6; }
  7717. else
  7718. echo "$as_me: failed program was:" >&5
  7719. sed 's/^/| /' conftest.$ac_ext >&5
  7720. -CFLAGS="$CFLAGS -Wno-implicit-int"
  7721. + CFLAGS="$CFLAGS -Wno-implicit-int"
  7722. cat >conftest.$ac_ext <<_ACEOF
  7723. /* confdefs.h. */
  7724. _ACEOF
  7725. @@ -7132,41 +7574,38 @@
  7726. }
  7727. _ACEOF
  7728. rm -f conftest.$ac_objext
  7729. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7730. - (eval $ac_compile) 2>conftest.er1
  7731. +if { (ac_try="$ac_compile"
  7732. +case "(($ac_try" in
  7733. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7734. + *) ac_try_echo=$ac_try;;
  7735. +esac
  7736. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7737. + (eval "$ac_compile") 2>conftest.er1
  7738. ac_status=$?
  7739. grep -v '^ *+' conftest.er1 >conftest.err
  7740. rm -f conftest.er1
  7741. cat conftest.err >&5
  7742. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7743. - (exit $ac_status); } &&
  7744. - { ac_try='test -z "$ac_c_werror_flag"
  7745. - || test ! -s conftest.err'
  7746. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7747. - (eval $ac_try) 2>&5
  7748. - ac_status=$?
  7749. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7750. - (exit $ac_status); }; } &&
  7751. - { ac_try='test -s conftest.$ac_objext'
  7752. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7753. - (eval $ac_try) 2>&5
  7754. - ac_status=$?
  7755. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7756. - (exit $ac_status); }; }; then
  7757. - echo "$as_me:$LINENO: result: yes" >&5
  7758. -echo "${ECHO_T}yes" >&6; cflags_save="$cflags_save -Wno-implicit-int"
  7759. + (exit $ac_status); } && {
  7760. + test -z "$ac_c_werror_flag" ||
  7761. + test ! -s conftest.err
  7762. + } && test -s conftest.$ac_objext; then
  7763. + { echo "$as_me:$LINENO: result: yes" >&5
  7764. +echo "${ECHO_T}yes" >&6; }; cflags_save="$cflags_save -Wno-implicit-int"
  7765. else
  7766. echo "$as_me: failed program was:" >&5
  7767. sed 's/^/| /' conftest.$ac_ext >&5
  7768. -echo "$as_me:$LINENO: result: test failed" >&5
  7769. -echo "${ECHO_T}test failed" >&6
  7770. + { echo "$as_me:$LINENO: result: test failed" >&5
  7771. +echo "${ECHO_T}test failed" >&6; }
  7772. fi
  7773. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7774. +
  7775. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7776. fi
  7777. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7778. +
  7779. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7780. CFLAGS=$cflags_save
  7781. LDFLAGS="$ac_save_LDFLAGS"
  7782. @@ -7176,15 +7615,15 @@
  7783. test "x$with_x" = xno -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no
  7784. -echo "$as_me:$LINENO: checking --enable-gui argument" >&5
  7785. -echo $ECHO_N "checking --enable-gui argument... $ECHO_C" >&6
  7786. -# Check whether --enable-gui or --disable-gui was given.
  7787. +{ echo "$as_me:$LINENO: checking --enable-gui argument" >&5
  7788. +echo $ECHO_N "checking --enable-gui argument... $ECHO_C" >&6; }
  7789. +# Check whether --enable-gui was given.
  7790. if test "${enable_gui+set}" = set; then
  7791. - enableval="$enable_gui"
  7792. -
  7793. + enableval=$enable_gui;
  7794. else
  7795. enable_gui="auto"
  7796. -fi;
  7797. +fi
  7798. +
  7799. enable_gui_canon=`echo "_$enable_gui" | \
  7800. sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
  7801. @@ -7202,44 +7641,44 @@
  7802. if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then
  7803. SKIP_PHOTON=
  7804. case "$enable_gui_canon" in
  7805. - no) echo "$as_me:$LINENO: result: no GUI support" >&5
  7806. -echo "${ECHO_T}no GUI support" >&6
  7807. + no) { echo "$as_me:$LINENO: result: no GUI support" >&5
  7808. +echo "${ECHO_T}no GUI support" >&6; }
  7809. SKIP_PHOTON=YES ;;
  7810. - yes|"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7811. -echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
  7812. - auto) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7813. -echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
  7814. - photon) echo "$as_me:$LINENO: result: Photon GUI support" >&5
  7815. -echo "${ECHO_T}Photon GUI support" >&6 ;;
  7816. - *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7817. -echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
  7818. + yes|"") { echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7819. +echo "${ECHO_T}yes - automatic GUI support" >&6; } ;;
  7820. + auto) { echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7821. +echo "${ECHO_T}auto - automatic GUI support" >&6; } ;;
  7822. + photon) { echo "$as_me:$LINENO: result: Photon GUI support" >&5
  7823. +echo "${ECHO_T}Photon GUI support" >&6; } ;;
  7824. + *) { echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7825. +echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6; }
  7826. SKIP_PHOTON=YES ;;
  7827. esac
  7828. elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then
  7829. SKIP_CARBON=
  7830. case "$enable_gui_canon" in
  7831. - no) echo "$as_me:$LINENO: result: no GUI support" >&5
  7832. -echo "${ECHO_T}no GUI support" >&6
  7833. + no) { echo "$as_me:$LINENO: result: no GUI support" >&5
  7834. +echo "${ECHO_T}no GUI support" >&6; }
  7835. SKIP_CARBON=YES ;;
  7836. - yes|"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7837. -echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
  7838. - auto) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7839. -echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
  7840. - carbon) echo "$as_me:$LINENO: result: Carbon GUI support" >&5
  7841. -echo "${ECHO_T}Carbon GUI support" >&6 ;;
  7842. - *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7843. -echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
  7844. + yes|"") { echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
  7845. +echo "${ECHO_T}yes - automatic GUI support" >&6; } ;;
  7846. + auto) { echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
  7847. +echo "${ECHO_T}auto - automatic GUI support" >&6; } ;;
  7848. + carbon) { echo "$as_me:$LINENO: result: Carbon GUI support" >&5
  7849. +echo "${ECHO_T}Carbon GUI support" >&6; } ;;
  7850. + *) { echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7851. +echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6; }
  7852. SKIP_CARBON=YES ;;
  7853. esac
  7854. else
  7855. case "$enable_gui_canon" in
  7856. - no|none) echo "$as_me:$LINENO: result: no GUI support" >&5
  7857. -echo "${ECHO_T}no GUI support" >&6 ;;
  7858. - yes|""|auto) echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
  7859. -echo "${ECHO_T}yes/auto - automatic GUI support" >&6
  7860. + no|none) { echo "$as_me:$LINENO: result: no GUI support" >&5
  7861. +echo "${ECHO_T}no GUI support" >&6; } ;;
  7862. + yes|""|auto) { echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
  7863. +echo "${ECHO_T}yes/auto - automatic GUI support" >&6; }
  7864. SKIP_GTK=
  7865. SKIP_GTK2=
  7866. SKIP_GNOME=
  7867. @@ -7247,49 +7686,49 @@
  7868. SKIP_ATHENA=
  7869. SKIP_NEXTAW=
  7870. SKIP_CARBON=;;
  7871. - gtk) echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
  7872. -echo "${ECHO_T}GTK+ 1.x GUI support" >&6
  7873. + gtk) { echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
  7874. +echo "${ECHO_T}GTK+ 1.x GUI support" >&6; }
  7875. SKIP_GTK=;;
  7876. - gtk2) echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
  7877. -echo "${ECHO_T}GTK+ 2.x GUI support" >&6
  7878. + gtk2) { echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
  7879. +echo "${ECHO_T}GTK+ 2.x GUI support" >&6; }
  7880. SKIP_GTK=
  7881. SKIP_GTK2=;;
  7882. - gnome) echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
  7883. -echo "${ECHO_T}GNOME 1.x GUI support" >&6
  7884. + gnome) { echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
  7885. +echo "${ECHO_T}GNOME 1.x GUI support" >&6; }
  7886. SKIP_GNOME=
  7887. SKIP_GTK=;;
  7888. - gnome2) echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
  7889. -echo "${ECHO_T}GNOME 2.x GUI support" >&6
  7890. + gnome2) { echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
  7891. +echo "${ECHO_T}GNOME 2.x GUI support" >&6; }
  7892. SKIP_GNOME=
  7893. SKIP_GTK=
  7894. SKIP_GTK2=;;
  7895. - motif) echo "$as_me:$LINENO: result: Motif GUI support" >&5
  7896. -echo "${ECHO_T}Motif GUI support" >&6
  7897. + motif) { echo "$as_me:$LINENO: result: Motif GUI support" >&5
  7898. +echo "${ECHO_T}Motif GUI support" >&6; }
  7899. SKIP_MOTIF=;;
  7900. - athena) echo "$as_me:$LINENO: result: Athena GUI support" >&5
  7901. -echo "${ECHO_T}Athena GUI support" >&6
  7902. + athena) { echo "$as_me:$LINENO: result: Athena GUI support" >&5
  7903. +echo "${ECHO_T}Athena GUI support" >&6; }
  7904. SKIP_ATHENA=;;
  7905. - nextaw) echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
  7906. -echo "${ECHO_T}neXtaw GUI support" >&6
  7907. + nextaw) { echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
  7908. +echo "${ECHO_T}neXtaw GUI support" >&6; }
  7909. SKIP_NEXTAW=;;
  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. + *) { echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
  7913. +echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6; } ;;
  7914. esac
  7915. fi
  7916. if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then
  7917. - echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
  7918. -echo $ECHO_N "checking whether or not to look for GTK... $ECHO_C" >&6
  7919. - # Check whether --enable-gtk-check or --disable-gtk-check was given.
  7920. + { echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
  7921. +echo $ECHO_N "checking whether or not to look for GTK... $ECHO_C" >&6; }
  7922. + # Check whether --enable-gtk-check was given.
  7923. if test "${enable_gtk_check+set}" = set; then
  7924. - enableval="$enable_gtk_check"
  7925. -
  7926. + enableval=$enable_gtk_check;
  7927. else
  7928. enable_gtk_check="yes"
  7929. -fi;
  7930. - echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
  7931. -echo "${ECHO_T}$enable_gtk_check" >&6
  7932. +fi
  7933. +
  7934. + { echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
  7935. +echo "${ECHO_T}$enable_gtk_check" >&6; }
  7936. if test "x$enable_gtk_check" = "xno"; then
  7937. SKIP_GTK=YES
  7938. SKIP_GNOME=YES
  7939. @@ -7298,17 +7737,17 @@
  7940. if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \
  7941. -a "$enable_gui_canon" != "gnome2"; then
  7942. - echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
  7943. -echo $ECHO_N "checking whether or not to look for GTK+ 2... $ECHO_C" >&6
  7944. - # Check whether --enable-gtk2-check or --disable-gtk2-check was given.
  7945. + { echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
  7946. +echo $ECHO_N "checking whether or not to look for GTK+ 2... $ECHO_C" >&6; }
  7947. + # Check whether --enable-gtk2-check was given.
  7948. if test "${enable_gtk2_check+set}" = set; then
  7949. - enableval="$enable_gtk2_check"
  7950. -
  7951. + enableval=$enable_gtk2_check;
  7952. else
  7953. enable_gtk2_check="yes"
  7954. -fi;
  7955. - echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
  7956. -echo "${ECHO_T}$enable_gtk2_check" >&6
  7957. +fi
  7958. +
  7959. + { echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
  7960. +echo "${ECHO_T}$enable_gtk2_check" >&6; }
  7961. if test "x$enable_gtk2_check" = "xno"; then
  7962. SKIP_GTK2=YES
  7963. fi
  7964. @@ -7316,85 +7755,85 @@
  7965. if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \
  7966. -a "$enable_gui_canon" != "gnome2"; then
  7967. - echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
  7968. -echo $ECHO_N "checking whether or not to look for GNOME... $ECHO_C" >&6
  7969. - # Check whether --enable-gnome-check or --disable-gnome-check was given.
  7970. + { echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
  7971. +echo $ECHO_N "checking whether or not to look for GNOME... $ECHO_C" >&6; }
  7972. + # Check whether --enable-gnome-check was given.
  7973. if test "${enable_gnome_check+set}" = set; then
  7974. - enableval="$enable_gnome_check"
  7975. -
  7976. + enableval=$enable_gnome_check;
  7977. else
  7978. enable_gnome_check="no"
  7979. -fi;
  7980. - echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
  7981. -echo "${ECHO_T}$enable_gnome_check" >&6
  7982. +fi
  7983. +
  7984. + { echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
  7985. +echo "${ECHO_T}$enable_gnome_check" >&6; }
  7986. if test "x$enable_gnome_check" = "xno"; then
  7987. SKIP_GNOME=YES
  7988. fi
  7989. fi
  7990. if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then
  7991. - echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
  7992. -echo $ECHO_N "checking whether or not to look for Motif... $ECHO_C" >&6
  7993. - # Check whether --enable-motif-check or --disable-motif-check was given.
  7994. + { echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
  7995. +echo $ECHO_N "checking whether or not to look for Motif... $ECHO_C" >&6; }
  7996. + # Check whether --enable-motif-check was given.
  7997. if test "${enable_motif_check+set}" = set; then
  7998. - enableval="$enable_motif_check"
  7999. -
  8000. + enableval=$enable_motif_check;
  8001. else
  8002. enable_motif_check="yes"
  8003. -fi;
  8004. - echo "$as_me:$LINENO: result: $enable_motif_check" >&5
  8005. -echo "${ECHO_T}$enable_motif_check" >&6
  8006. +fi
  8007. +
  8008. + { echo "$as_me:$LINENO: result: $enable_motif_check" >&5
  8009. +echo "${ECHO_T}$enable_motif_check" >&6; }
  8010. if test "x$enable_motif_check" = "xno"; then
  8011. SKIP_MOTIF=YES
  8012. fi
  8013. fi
  8014. if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then
  8015. - echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
  8016. -echo $ECHO_N "checking whether or not to look for Athena... $ECHO_C" >&6
  8017. - # Check whether --enable-athena-check or --disable-athena-check was given.
  8018. + { echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
  8019. +echo $ECHO_N "checking whether or not to look for Athena... $ECHO_C" >&6; }
  8020. + # Check whether --enable-athena-check was given.
  8021. if test "${enable_athena_check+set}" = set; then
  8022. - enableval="$enable_athena_check"
  8023. -
  8024. + enableval=$enable_athena_check;
  8025. else
  8026. enable_athena_check="yes"
  8027. -fi;
  8028. - echo "$as_me:$LINENO: result: $enable_athena_check" >&5
  8029. -echo "${ECHO_T}$enable_athena_check" >&6
  8030. +fi
  8031. +
  8032. + { echo "$as_me:$LINENO: result: $enable_athena_check" >&5
  8033. +echo "${ECHO_T}$enable_athena_check" >&6; }
  8034. if test "x$enable_athena_check" = "xno"; then
  8035. SKIP_ATHENA=YES
  8036. fi
  8037. fi
  8038. if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then
  8039. - echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
  8040. -echo $ECHO_N "checking whether or not to look for neXtaw... $ECHO_C" >&6
  8041. - # Check whether --enable-nextaw-check or --disable-nextaw-check was given.
  8042. + { echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
  8043. +echo $ECHO_N "checking whether or not to look for neXtaw... $ECHO_C" >&6; }
  8044. + # Check whether --enable-nextaw-check was given.
  8045. if test "${enable_nextaw_check+set}" = set; then
  8046. - enableval="$enable_nextaw_check"
  8047. -
  8048. + enableval=$enable_nextaw_check;
  8049. else
  8050. enable_nextaw_check="yes"
  8051. -fi;
  8052. - echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
  8053. -echo "${ECHO_T}$enable_nextaw_check" >&6;
  8054. +fi
  8055. +
  8056. + { echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
  8057. +echo "${ECHO_T}$enable_nextaw_check" >&6; };
  8058. if test "x$enable_nextaw_check" = "xno"; then
  8059. SKIP_NEXTAW=YES
  8060. fi
  8061. fi
  8062. if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then
  8063. - echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
  8064. -echo $ECHO_N "checking whether or not to look for Carbon... $ECHO_C" >&6
  8065. - # Check whether --enable-carbon-check or --disable-carbon-check was given.
  8066. + { echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
  8067. +echo $ECHO_N "checking whether or not to look for Carbon... $ECHO_C" >&6; }
  8068. + # Check whether --enable-carbon-check was given.
  8069. if test "${enable_carbon_check+set}" = set; then
  8070. - enableval="$enable_carbon_check"
  8071. -
  8072. + enableval=$enable_carbon_check;
  8073. else
  8074. enable_carbon_check="yes"
  8075. -fi;
  8076. - echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
  8077. -echo "${ECHO_T}$enable_carbon_check" >&6;
  8078. +fi
  8079. +
  8080. + { echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
  8081. +echo "${ECHO_T}$enable_carbon_check" >&6; };
  8082. if test "x$enable_carbon_check" = "xno"; then
  8083. SKIP_CARBON=YES
  8084. fi
  8085. @@ -7402,10 +7841,10 @@
  8086. if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then
  8087. - echo "$as_me:$LINENO: checking for Carbon GUI" >&5
  8088. -echo $ECHO_N "checking for Carbon GUI... $ECHO_C" >&6
  8089. - echo "$as_me:$LINENO: result: yes" >&5
  8090. -echo "${ECHO_T}yes" >&6;
  8091. + { echo "$as_me:$LINENO: checking for Carbon GUI" >&5
  8092. +echo $ECHO_N "checking for Carbon GUI... $ECHO_C" >&6; }
  8093. + { echo "$as_me:$LINENO: result: yes" >&5
  8094. +echo "${ECHO_T}yes" >&6; };
  8095. GUITYPE=CARBONGUI
  8096. if test "$VIMNAME" = "vim"; then
  8097. VIMNAME=Vim
  8098. @@ -7437,47 +7876,47 @@
  8099. if test -z "$SKIP_GTK"; then
  8100. - echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
  8101. -echo $ECHO_N "checking --with-gtk-prefix argument... $ECHO_C" >&6
  8102. + { echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
  8103. +echo $ECHO_N "checking --with-gtk-prefix argument... $ECHO_C" >&6; }
  8104. -# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
  8105. +# Check whether --with-gtk-prefix was given.
  8106. if test "${with_gtk_prefix+set}" = set; then
  8107. - withval="$with_gtk_prefix"
  8108. - gtk_config_prefix="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8109. -echo "${ECHO_T}$gtk_config_prefix" >&6
  8110. + withval=$with_gtk_prefix; gtk_config_prefix="$withval"; { echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8111. +echo "${ECHO_T}$gtk_config_prefix" >&6; }
  8112. else
  8113. - gtk_config_prefix=""; echo "$as_me:$LINENO: result: no" >&5
  8114. -echo "${ECHO_T}no" >&6
  8115. -fi;
  8116. + gtk_config_prefix=""; { echo "$as_me:$LINENO: result: no" >&5
  8117. +echo "${ECHO_T}no" >&6; }
  8118. +fi
  8119. +
  8120. - echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
  8121. -echo $ECHO_N "checking --with-gtk-exec-prefix argument... $ECHO_C" >&6
  8122. + { echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
  8123. +echo $ECHO_N "checking --with-gtk-exec-prefix argument... $ECHO_C" >&6; }
  8124. -# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
  8125. +# Check whether --with-gtk-exec-prefix was given.
  8126. if test "${with_gtk_exec_prefix+set}" = set; then
  8127. - withval="$with_gtk_exec_prefix"
  8128. - gtk_config_exec_prefix="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8129. -echo "${ECHO_T}$gtk_config_prefix" >&6
  8130. + withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"; { echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
  8131. +echo "${ECHO_T}$gtk_config_prefix" >&6; }
  8132. else
  8133. - gtk_config_exec_prefix=""; echo "$as_me:$LINENO: result: no" >&5
  8134. -echo "${ECHO_T}no" >&6
  8135. -fi;
  8136. + gtk_config_exec_prefix=""; { echo "$as_me:$LINENO: result: no" >&5
  8137. +echo "${ECHO_T}no" >&6; }
  8138. +fi
  8139. - echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
  8140. -echo $ECHO_N "checking --disable-gtktest argument... $ECHO_C" >&6
  8141. - # Check whether --enable-gtktest or --disable-gtktest was given.
  8142. -if test "${enable_gtktest+set}" = set; then
  8143. - enableval="$enable_gtktest"
  8144. + { echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
  8145. +echo $ECHO_N "checking --disable-gtktest argument... $ECHO_C" >&6; }
  8146. + # Check whether --enable-gtktest was given.
  8147. +if test "${enable_gtktest+set}" = set; then
  8148. + enableval=$enable_gtktest;
  8149. else
  8150. enable_gtktest=yes
  8151. -fi;
  8152. +fi
  8153. +
  8154. if test "x$enable_gtktest" = "xyes" ; then
  8155. - echo "$as_me:$LINENO: result: gtk test enabled" >&5
  8156. -echo "${ECHO_T}gtk test enabled" >&6
  8157. + { echo "$as_me:$LINENO: result: gtk test enabled" >&5
  8158. +echo "${ECHO_T}gtk test enabled" >&6; }
  8159. else
  8160. - echo "$as_me:$LINENO: result: gtk test disabled" >&5
  8161. -echo "${ECHO_T}gtk test disabled" >&6
  8162. + { echo "$as_me:$LINENO: result: gtk test disabled" >&5
  8163. +echo "${ECHO_T}gtk test disabled" >&6; }
  8164. fi
  8165. if test "x$gtk_config_prefix" != "x" ; then
  8166. @@ -7491,8 +7930,8 @@
  8167. if test "X$GTK_CONFIG" = "X"; then
  8168. # Extract the first word of "gtk-config", so it can be a program name with args.
  8169. set dummy gtk-config; ac_word=$2
  8170. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8171. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8172. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8173. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8174. if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
  8175. echo $ECHO_N "(cached) $ECHO_C" >&6
  8176. else
  8177. @@ -7507,33 +7946,34 @@
  8178. IFS=$as_save_IFS
  8179. test -z "$as_dir" && as_dir=.
  8180. for ac_exec_ext in '' $ac_executable_extensions; do
  8181. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8182. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8183. ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8184. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8185. break 2
  8186. fi
  8187. done
  8188. done
  8189. +IFS=$as_save_IFS
  8190. test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
  8191. ;;
  8192. esac
  8193. fi
  8194. GTK_CONFIG=$ac_cv_path_GTK_CONFIG
  8195. -
  8196. if test -n "$GTK_CONFIG"; then
  8197. - echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
  8198. -echo "${ECHO_T}$GTK_CONFIG" >&6
  8199. + { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
  8200. +echo "${ECHO_T}$GTK_CONFIG" >&6; }
  8201. else
  8202. - echo "$as_me:$LINENO: result: no" >&5
  8203. -echo "${ECHO_T}no" >&6
  8204. + { echo "$as_me:$LINENO: result: no" >&5
  8205. +echo "${ECHO_T}no" >&6; }
  8206. fi
  8207. +
  8208. if test "X$GTK_CONFIG" = "Xno"; then
  8209. # Extract the first word of "gtk12-config", so it can be a program name with args.
  8210. set dummy gtk12-config; ac_word=$2
  8211. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8212. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8213. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8214. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8215. if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
  8216. echo $ECHO_N "(cached) $ECHO_C" >&6
  8217. else
  8218. @@ -7548,39 +7988,40 @@
  8219. IFS=$as_save_IFS
  8220. test -z "$as_dir" && as_dir=.
  8221. for ac_exec_ext in '' $ac_executable_extensions; do
  8222. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8223. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8224. ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8225. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8226. break 2
  8227. fi
  8228. done
  8229. done
  8230. +IFS=$as_save_IFS
  8231. test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
  8232. ;;
  8233. esac
  8234. fi
  8235. GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
  8236. -
  8237. if test -n "$GTK12_CONFIG"; then
  8238. - echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
  8239. -echo "${ECHO_T}$GTK12_CONFIG" >&6
  8240. + { echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
  8241. +echo "${ECHO_T}$GTK12_CONFIG" >&6; }
  8242. else
  8243. - echo "$as_me:$LINENO: result: no" >&5
  8244. -echo "${ECHO_T}no" >&6
  8245. + { echo "$as_me:$LINENO: result: no" >&5
  8246. +echo "${ECHO_T}no" >&6; }
  8247. fi
  8248. +
  8249. GTK_CONFIG="$GTK12_CONFIG"
  8250. fi
  8251. else
  8252. - echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
  8253. -echo "${ECHO_T}Using GTK configuration program $GTK_CONFIG" >&6
  8254. + { echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
  8255. +echo "${ECHO_T}Using GTK configuration program $GTK_CONFIG" >&6; }
  8256. fi
  8257. if test "X$PKG_CONFIG" = "X"; then
  8258. # Extract the first word of "pkg-config", so it can be a program name with args.
  8259. set dummy pkg-config; ac_word=$2
  8260. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8261. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8262. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8263. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8264. if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  8265. echo $ECHO_N "(cached) $ECHO_C" >&6
  8266. else
  8267. @@ -7595,28 +8036,29 @@
  8268. IFS=$as_save_IFS
  8269. test -z "$as_dir" && as_dir=.
  8270. for ac_exec_ext in '' $ac_executable_extensions; do
  8271. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8272. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8273. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8274. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8275. break 2
  8276. fi
  8277. done
  8278. done
  8279. +IFS=$as_save_IFS
  8280. test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  8281. ;;
  8282. esac
  8283. fi
  8284. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  8285. -
  8286. if test -n "$PKG_CONFIG"; then
  8287. - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  8288. -echo "${ECHO_T}$PKG_CONFIG" >&6
  8289. + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  8290. +echo "${ECHO_T}$PKG_CONFIG" >&6; }
  8291. else
  8292. - echo "$as_me:$LINENO: result: no" >&5
  8293. -echo "${ECHO_T}no" >&6
  8294. + { echo "$as_me:$LINENO: result: no" >&5
  8295. +echo "${ECHO_T}no" >&6; }
  8296. fi
  8297. +
  8298. fi
  8299. if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then
  8300. @@ -7625,8 +8067,8 @@
  8301. if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
  8302. {
  8303. min_gtk_version=2.2.0
  8304. - echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
  8305. -echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
  8306. + { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
  8307. +echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
  8308. no_gtk=""
  8309. if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
  8310. && $PKG_CONFIG --exists gtk+-2.0; then
  8311. @@ -7705,13 +8147,22 @@
  8312. _ACEOF
  8313. rm -f conftest$ac_exeext
  8314. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8315. - (eval $ac_link) 2>&5
  8316. +if { (ac_try="$ac_link"
  8317. +case "(($ac_try" in
  8318. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8319. + *) ac_try_echo=$ac_try;;
  8320. +esac
  8321. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8322. + (eval "$ac_link") 2>&5
  8323. ac_status=$?
  8324. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8325. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8326. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8327. - (eval $ac_try) 2>&5
  8328. + { (case "(($ac_try" in
  8329. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8330. + *) ac_try_echo=$ac_try;;
  8331. +esac
  8332. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8333. + (eval "$ac_try") 2>&5
  8334. ac_status=$?
  8335. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8336. (exit $ac_status); }; }; then
  8337. @@ -7724,27 +8175,29 @@
  8338. ( exit $ac_status )
  8339. no_gtk=yes
  8340. fi
  8341. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8342. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8343. fi
  8344. +
  8345. +
  8346. CFLAGS="$ac_save_CFLAGS"
  8347. LIBS="$ac_save_LIBS"
  8348. }
  8349. fi
  8350. if test "x$no_gtk" = x ; then
  8351. if test "x$enable_gtktest" = "xyes"; then
  8352. - echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8353. -echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
  8354. + { echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8355. +echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8356. else
  8357. - echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8358. -echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
  8359. + { echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8360. +echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8361. fi
  8362. GUI_LIB_LOC="$GTK_LIBDIR"
  8363. GTK_LIBNAME="$GTK_LIBS"
  8364. GUI_INC_LOC="$GTK_CFLAGS"
  8365. else
  8366. {
  8367. - echo "$as_me:$LINENO: result: no" >&5
  8368. -echo "${ECHO_T}no" >&6
  8369. + { echo "$as_me:$LINENO: result: no" >&5
  8370. +echo "${ECHO_T}no" >&6; }
  8371. GTK_CFLAGS=""
  8372. GTK_LIBS=""
  8373. :
  8374. @@ -7775,8 +8228,8 @@
  8375. if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
  8376. {
  8377. min_gtk_version=1.1.16
  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. + { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
  8381. +echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
  8382. no_gtk=""
  8383. if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
  8384. && $PKG_CONFIG --exists gtk+-2.0; then
  8385. @@ -7855,13 +8308,22 @@
  8386. _ACEOF
  8387. rm -f conftest$ac_exeext
  8388. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8389. - (eval $ac_link) 2>&5
  8390. +if { (ac_try="$ac_link"
  8391. +case "(($ac_try" in
  8392. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8393. + *) ac_try_echo=$ac_try;;
  8394. +esac
  8395. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8396. + (eval "$ac_link") 2>&5
  8397. ac_status=$?
  8398. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8399. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8400. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8401. - (eval $ac_try) 2>&5
  8402. + { (case "(($ac_try" in
  8403. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8404. + *) ac_try_echo=$ac_try;;
  8405. +esac
  8406. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8407. + (eval "$ac_try") 2>&5
  8408. ac_status=$?
  8409. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8410. (exit $ac_status); }; }; then
  8411. @@ -7874,26 +8336,28 @@
  8412. ( exit $ac_status )
  8413. no_gtk=yes
  8414. fi
  8415. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8416. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8417. fi
  8418. +
  8419. +
  8420. CFLAGS="$ac_save_CFLAGS"
  8421. LIBS="$ac_save_LIBS"
  8422. }
  8423. fi
  8424. if test "x$no_gtk" = x ; then
  8425. if test "x$enable_gtktest" = "xyes"; then
  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. + { echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8429. +echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8430. else
  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. + { echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
  8434. +echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
  8435. fi
  8436. GTK_LIBNAME="$GTK_LIBS"
  8437. GUI_INC_LOC="$GTK_CFLAGS"
  8438. else
  8439. {
  8440. - echo "$as_me:$LINENO: result: no" >&5
  8441. -echo "${ECHO_T}no" >&6
  8442. + { echo "$as_me:$LINENO: result: no" >&5
  8443. +echo "${ECHO_T}no" >&6; }
  8444. GTK_CFLAGS=""
  8445. GTK_LIBS=""
  8446. :
  8447. @@ -7921,8 +8385,8 @@
  8448. if test "x$GUITYPE" = "xGTK"; then
  8449. if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \
  8450. -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then
  8451. - echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
  8452. -echo "${ECHO_T}this GTK version is old; version 1.2.3 or later is recommended" >&6
  8453. + { echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
  8454. +echo "${ECHO_T}this GTK version is old; version 1.2.3 or later is recommended" >&6; }
  8455. else
  8456. {
  8457. if test "0$gtk_major_version" -ge 2; then
  8458. @@ -7947,26 +8411,25 @@
  8459. -# Check whether --with-gnome-includes or --without-gnome-includes was given.
  8460. +# Check whether --with-gnome-includes was given.
  8461. if test "${with_gnome_includes+set}" = set; then
  8462. - withval="$with_gnome_includes"
  8463. - CFLAGS="$CFLAGS -I$withval"
  8464. + withval=$with_gnome_includes; CFLAGS="$CFLAGS -I$withval"
  8465. -fi;
  8466. +fi
  8467. -# Check whether --with-gnome-libs or --without-gnome-libs was given.
  8468. +
  8469. +# Check whether --with-gnome-libs was given.
  8470. if test "${with_gnome_libs+set}" = set; then
  8471. - withval="$with_gnome_libs"
  8472. - LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval
  8473. + withval=$with_gnome_libs; LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval
  8474. +
  8475. +fi
  8476. -fi;
  8477. -# Check whether --with-gnome or --without-gnome was given.
  8478. +# Check whether --with-gnome was given.
  8479. if test "${with_gnome+set}" = set; then
  8480. - withval="$with_gnome"
  8481. - if test x$withval = xyes; then
  8482. + withval=$with_gnome; if test x$withval = xyes; then
  8483. want_gnome=yes
  8484. have_gnome=yes
  8485. else
  8486. @@ -7981,34 +8444,35 @@
  8487. fi
  8488. else
  8489. want_gnome=yes
  8490. -fi;
  8491. +fi
  8492. +
  8493. if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then
  8494. {
  8495. - echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
  8496. -echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6
  8497. + { echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
  8498. +echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6; }
  8499. if $PKG_CONFIG --exists libgnomeui-2.0; then
  8500. - echo "$as_me:$LINENO: result: yes" >&5
  8501. -echo "${ECHO_T}yes" >&6
  8502. + { echo "$as_me:$LINENO: result: yes" >&5
  8503. +echo "${ECHO_T}yes" >&6; }
  8504. GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0`
  8505. GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0`
  8506. GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0`
  8507. - echo "$as_me:$LINENO: checking for FreeBSD" >&5
  8508. -echo $ECHO_N "checking for FreeBSD... $ECHO_C" >&6
  8509. + { echo "$as_me:$LINENO: checking for FreeBSD" >&5
  8510. +echo $ECHO_N "checking for FreeBSD... $ECHO_C" >&6; }
  8511. if test "`(uname) 2>/dev/null`" = FreeBSD; then
  8512. - echo "$as_me:$LINENO: result: yes" >&5
  8513. -echo "${ECHO_T}yes" >&6
  8514. + { echo "$as_me:$LINENO: result: yes" >&5
  8515. +echo "${ECHO_T}yes" >&6; }
  8516. GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
  8517. GNOME_LIBS="$GNOME_LIBS -pthread"
  8518. else
  8519. - echo "$as_me:$LINENO: result: no" >&5
  8520. -echo "${ECHO_T}no" >&6
  8521. + { echo "$as_me:$LINENO: result: no" >&5
  8522. +echo "${ECHO_T}no" >&6; }
  8523. fi
  8524. have_gnome=yes
  8525. else
  8526. - echo "$as_me:$LINENO: result: not found" >&5
  8527. -echo "${ECHO_T}not found" >&6
  8528. + { echo "$as_me:$LINENO: result: not found" >&5
  8529. +echo "${ECHO_T}not found" >&6; }
  8530. if test "x" = xfail; then
  8531. { { echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5
  8532. echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;}
  8533. @@ -8020,8 +8484,8 @@
  8534. {
  8535. # Extract the first word of "gnome-config", so it can be a program name with args.
  8536. set dummy gnome-config; ac_word=$2
  8537. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8538. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8539. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8540. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8541. if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
  8542. echo $ECHO_N "(cached) $ECHO_C" >&6
  8543. else
  8544. @@ -8036,43 +8500,44 @@
  8545. IFS=$as_save_IFS
  8546. test -z "$as_dir" && as_dir=.
  8547. for ac_exec_ext in '' $ac_executable_extensions; do
  8548. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8549. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8550. ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8551. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8552. break 2
  8553. fi
  8554. done
  8555. done
  8556. +IFS=$as_save_IFS
  8557. test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
  8558. ;;
  8559. esac
  8560. fi
  8561. GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
  8562. -
  8563. if test -n "$GNOME_CONFIG"; then
  8564. - echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
  8565. -echo "${ECHO_T}$GNOME_CONFIG" >&6
  8566. + { echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
  8567. +echo "${ECHO_T}$GNOME_CONFIG" >&6; }
  8568. else
  8569. - echo "$as_me:$LINENO: result: no" >&5
  8570. -echo "${ECHO_T}no" >&6
  8571. + { echo "$as_me:$LINENO: result: no" >&5
  8572. +echo "${ECHO_T}no" >&6; }
  8573. fi
  8574. +
  8575. if test "$GNOME_CONFIG" = "no"; then
  8576. no_gnome_config="yes"
  8577. else
  8578. - echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
  8579. -echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6
  8580. + { echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
  8581. +echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6; }
  8582. if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
  8583. - echo "$as_me:$LINENO: result: yes" >&5
  8584. -echo "${ECHO_T}yes" >&6
  8585. + { echo "$as_me:$LINENO: result: yes" >&5
  8586. +echo "${ECHO_T}yes" >&6; }
  8587. GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`"
  8588. GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
  8589. GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
  8590. have_gnome=yes
  8591. else
  8592. - echo "$as_me:$LINENO: result: no" >&5
  8593. -echo "${ECHO_T}no" >&6
  8594. + { echo "$as_me:$LINENO: result: no" >&5
  8595. +echo "${ECHO_T}no" >&6; }
  8596. no_gnome_config="yes"
  8597. fi
  8598. fi
  8599. @@ -8088,18 +8553,18 @@
  8600. fi
  8601. if test "$no_gnome_config" = "yes"; then
  8602. - echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
  8603. -echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6
  8604. + { echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
  8605. +echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6; }
  8606. if test -f $gnome_prefix/gnomeConf.sh; then
  8607. - echo "$as_me:$LINENO: result: found" >&5
  8608. -echo "${ECHO_T}found" >&6
  8609. + { echo "$as_me:$LINENO: result: found" >&5
  8610. +echo "${ECHO_T}found" >&6; }
  8611. echo "loading gnome configuration from" \
  8612. "$gnome_prefix/gnomeConf.sh"
  8613. . $gnome_prefix/gnomeConf.sh
  8614. have_gnome=yes
  8615. else
  8616. - echo "$as_me:$LINENO: result: not found" >&5
  8617. -echo "${ECHO_T}not found" >&6
  8618. + { echo "$as_me:$LINENO: result: not found" >&5
  8619. +echo "${ECHO_T}not found" >&6; }
  8620. if test x = xfail; then
  8621. { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
  8622. echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
  8623. @@ -8130,8 +8595,8 @@
  8624. 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"
  8625. GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`"
  8626. - echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
  8627. -echo $ECHO_N "checking for location of Motif GUI includes... $ECHO_C" >&6
  8628. + { echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
  8629. +echo $ECHO_N "checking for location of Motif GUI includes... $ECHO_C" >&6; }
  8630. gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC"
  8631. GUI_INC_LOC=
  8632. for try in $gui_includes; do
  8633. @@ -8142,42 +8607,42 @@
  8634. if test -n "$GUI_INC_LOC"; then
  8635. if test "$GUI_INC_LOC" = /usr/include; then
  8636. GUI_INC_LOC=
  8637. - echo "$as_me:$LINENO: result: in default path" >&5
  8638. -echo "${ECHO_T}in default path" >&6
  8639. + { echo "$as_me:$LINENO: result: in default path" >&5
  8640. +echo "${ECHO_T}in default path" >&6; }
  8641. else
  8642. - echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
  8643. -echo "${ECHO_T}$GUI_INC_LOC" >&6
  8644. + { echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
  8645. +echo "${ECHO_T}$GUI_INC_LOC" >&6; }
  8646. fi
  8647. else
  8648. - echo "$as_me:$LINENO: result: <not found>" >&5
  8649. -echo "${ECHO_T}<not found>" >&6
  8650. + { echo "$as_me:$LINENO: result: <not found>" >&5
  8651. +echo "${ECHO_T}<not found>" >&6; }
  8652. SKIP_MOTIF=YES
  8653. fi
  8654. fi
  8655. if test -z "$SKIP_MOTIF"; then
  8656. - echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
  8657. -echo $ECHO_N "checking --with-motif-lib argument... $ECHO_C" >&6
  8658. + { echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
  8659. +echo $ECHO_N "checking --with-motif-lib argument... $ECHO_C" >&6; }
  8660. -# Check whether --with-motif-lib or --without-motif-lib was given.
  8661. +# Check whether --with-motif-lib was given.
  8662. if test "${with_motif_lib+set}" = set; then
  8663. - withval="$with_motif_lib"
  8664. - MOTIF_LIBNAME="${withval}"
  8665. -fi;
  8666. + withval=$with_motif_lib; MOTIF_LIBNAME="${withval}"
  8667. +fi
  8668. +
  8669. if test -n "$MOTIF_LIBNAME"; then
  8670. - echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
  8671. -echo "${ECHO_T}$MOTIF_LIBNAME" >&6
  8672. + { echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
  8673. +echo "${ECHO_T}$MOTIF_LIBNAME" >&6; }
  8674. GUI_LIB_LOC=
  8675. else
  8676. - echo "$as_me:$LINENO: result: no" >&5
  8677. -echo "${ECHO_T}no" >&6
  8678. + { echo "$as_me:$LINENO: result: no" >&5
  8679. +echo "${ECHO_T}no" >&6; }
  8680. GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
  8681. - echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
  8682. -echo $ECHO_N "checking for location of Motif GUI libs... $ECHO_C" >&6
  8683. + { echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
  8684. +echo $ECHO_N "checking for location of Motif GUI libs... $ECHO_C" >&6; }
  8685. 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"
  8686. GUI_LIB_LOC=
  8687. for try in $gui_libs; do
  8688. @@ -8190,12 +8655,12 @@
  8689. if test -n "$GUI_LIB_LOC"; then
  8690. if test "$GUI_LIB_LOC" = /usr/lib; then
  8691. GUI_LIB_LOC=
  8692. - echo "$as_me:$LINENO: result: in default path" >&5
  8693. -echo "${ECHO_T}in default path" >&6
  8694. + { echo "$as_me:$LINENO: result: in default path" >&5
  8695. +echo "${ECHO_T}in default path" >&6; }
  8696. else
  8697. if test -n "$GUI_LIB_LOC"; then
  8698. - echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
  8699. -echo "${ECHO_T}$GUI_LIB_LOC" >&6
  8700. + { echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
  8701. +echo "${ECHO_T}$GUI_LIB_LOC" >&6; }
  8702. if test "`(uname) 2>/dev/null`" = SunOS &&
  8703. uname -r | grep '^5' >/dev/null; then
  8704. GUI_LIB_LOC="$GUI_LIB_LOC -R $GUI_LIB_LOC"
  8705. @@ -8204,8 +8669,8 @@
  8706. fi
  8707. MOTIF_LIBNAME=-lXm
  8708. else
  8709. - echo "$as_me:$LINENO: result: <not found>" >&5
  8710. -echo "${ECHO_T}<not found>" >&6
  8711. + { echo "$as_me:$LINENO: result: <not found>" >&5
  8712. +echo "${ECHO_T}<not found>" >&6; }
  8713. SKIP_MOTIF=YES
  8714. fi
  8715. fi
  8716. @@ -8222,8 +8687,8 @@
  8717. GUI_X_LIBS=
  8718. if test -z "$SKIP_ATHENA"; then
  8719. - echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
  8720. -echo $ECHO_N "checking if Athena header files can be found... $ECHO_C" >&6
  8721. + { echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
  8722. +echo $ECHO_N "checking if Athena header files can be found... $ECHO_C" >&6; }
  8723. cflags_save=$CFLAGS
  8724. CFLAGS="$CFLAGS $X_CFLAGS"
  8725. cat >conftest.$ac_ext <<_ACEOF
  8726. @@ -8244,37 +8709,33 @@
  8727. }
  8728. _ACEOF
  8729. rm -f conftest.$ac_objext
  8730. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8731. - (eval $ac_compile) 2>conftest.er1
  8732. +if { (ac_try="$ac_compile"
  8733. +case "(($ac_try" in
  8734. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8735. + *) ac_try_echo=$ac_try;;
  8736. +esac
  8737. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8738. + (eval "$ac_compile") 2>conftest.er1
  8739. ac_status=$?
  8740. grep -v '^ *+' conftest.er1 >conftest.err
  8741. rm -f conftest.er1
  8742. cat conftest.err >&5
  8743. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8744. - (exit $ac_status); } &&
  8745. - { ac_try='test -z "$ac_c_werror_flag"
  8746. - || test ! -s conftest.err'
  8747. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8748. - (eval $ac_try) 2>&5
  8749. - ac_status=$?
  8750. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8751. - (exit $ac_status); }; } &&
  8752. - { ac_try='test -s conftest.$ac_objext'
  8753. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8754. - (eval $ac_try) 2>&5
  8755. - ac_status=$?
  8756. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8757. - (exit $ac_status); }; }; then
  8758. - echo "$as_me:$LINENO: result: yes" >&5
  8759. -echo "${ECHO_T}yes" >&6
  8760. + (exit $ac_status); } && {
  8761. + test -z "$ac_c_werror_flag" ||
  8762. + test ! -s conftest.err
  8763. + } && test -s conftest.$ac_objext; then
  8764. + { echo "$as_me:$LINENO: result: yes" >&5
  8765. +echo "${ECHO_T}yes" >&6; }
  8766. else
  8767. echo "$as_me: failed program was:" >&5
  8768. sed 's/^/| /' conftest.$ac_ext >&5
  8769. -echo "$as_me:$LINENO: result: no" >&5
  8770. -echo "${ECHO_T}no" >&6; SKIP_ATHENA=YES
  8771. + { echo "$as_me:$LINENO: result: no" >&5
  8772. +echo "${ECHO_T}no" >&6; }; SKIP_ATHENA=YES
  8773. fi
  8774. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8775. +
  8776. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8777. CFLAGS=$cflags_save
  8778. fi
  8779. @@ -8283,8 +8744,8 @@
  8780. fi
  8781. if test -z "$SKIP_NEXTAW"; then
  8782. - echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
  8783. -echo $ECHO_N "checking if neXtaw header files can be found... $ECHO_C" >&6
  8784. + { echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
  8785. +echo $ECHO_N "checking if neXtaw header files can be found... $ECHO_C" >&6; }
  8786. cflags_save=$CFLAGS
  8787. CFLAGS="$CFLAGS $X_CFLAGS"
  8788. cat >conftest.$ac_ext <<_ACEOF
  8789. @@ -8305,37 +8766,33 @@
  8790. }
  8791. _ACEOF
  8792. rm -f conftest.$ac_objext
  8793. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8794. - (eval $ac_compile) 2>conftest.er1
  8795. +if { (ac_try="$ac_compile"
  8796. +case "(($ac_try" in
  8797. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8798. + *) ac_try_echo=$ac_try;;
  8799. +esac
  8800. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8801. + (eval "$ac_compile") 2>conftest.er1
  8802. ac_status=$?
  8803. grep -v '^ *+' conftest.er1 >conftest.err
  8804. rm -f conftest.er1
  8805. cat conftest.err >&5
  8806. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8807. - (exit $ac_status); } &&
  8808. - { ac_try='test -z "$ac_c_werror_flag"
  8809. - || test ! -s conftest.err'
  8810. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8811. - (eval $ac_try) 2>&5
  8812. - ac_status=$?
  8813. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8814. - (exit $ac_status); }; } &&
  8815. - { ac_try='test -s conftest.$ac_objext'
  8816. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8817. - (eval $ac_try) 2>&5
  8818. - ac_status=$?
  8819. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8820. - (exit $ac_status); }; }; then
  8821. - echo "$as_me:$LINENO: result: yes" >&5
  8822. -echo "${ECHO_T}yes" >&6
  8823. + (exit $ac_status); } && {
  8824. + test -z "$ac_c_werror_flag" ||
  8825. + test ! -s conftest.err
  8826. + } && test -s conftest.$ac_objext; then
  8827. + { echo "$as_me:$LINENO: result: yes" >&5
  8828. +echo "${ECHO_T}yes" >&6; }
  8829. else
  8830. echo "$as_me: failed program was:" >&5
  8831. sed 's/^/| /' conftest.$ac_ext >&5
  8832. -echo "$as_me:$LINENO: result: no" >&5
  8833. -echo "${ECHO_T}no" >&6; SKIP_NEXTAW=YES
  8834. + { echo "$as_me:$LINENO: result: no" >&5
  8835. +echo "${ECHO_T}no" >&6; }; SKIP_NEXTAW=YES
  8836. fi
  8837. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8838. +
  8839. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8840. CFLAGS=$cflags_save
  8841. fi
  8842. @@ -8353,8 +8810,8 @@
  8843. ldflags_save=$LDFLAGS
  8844. LDFLAGS="$X_LIBS $LDFLAGS"
  8845. - echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
  8846. -echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
  8847. + { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
  8848. +echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
  8849. if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
  8850. echo $ECHO_N "(cached) $ECHO_C" >&6
  8851. else
  8852. @@ -8367,62 +8824,59 @@
  8853. cat >>conftest.$ac_ext <<_ACEOF
  8854. /* end confdefs.h. */
  8855. -/* Override any gcc2 internal prototype to avoid an error. */
  8856. +/* Override any GCC internal prototype to avoid an error.
  8857. + Use char because int might match the return type of a GCC
  8858. + builtin and then its argument prototype would still apply. */
  8859. #ifdef __cplusplus
  8860. extern "C"
  8861. #endif
  8862. -/* We use char because int might match the return type of a gcc2
  8863. - builtin and then its argument prototype would still apply. */
  8864. char XShapeQueryExtension ();
  8865. int
  8866. main ()
  8867. {
  8868. -XShapeQueryExtension ();
  8869. +return XShapeQueryExtension ();
  8870. ;
  8871. return 0;
  8872. }
  8873. _ACEOF
  8874. rm -f conftest.$ac_objext conftest$ac_exeext
  8875. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8876. - (eval $ac_link) 2>conftest.er1
  8877. +if { (ac_try="$ac_link"
  8878. +case "(($ac_try" in
  8879. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8880. + *) ac_try_echo=$ac_try;;
  8881. +esac
  8882. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8883. + (eval "$ac_link") 2>conftest.er1
  8884. ac_status=$?
  8885. grep -v '^ *+' conftest.er1 >conftest.err
  8886. rm -f conftest.er1
  8887. cat conftest.err >&5
  8888. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8889. - (exit $ac_status); } &&
  8890. - { ac_try='test -z "$ac_c_werror_flag"
  8891. - || test ! -s conftest.err'
  8892. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8893. - (eval $ac_try) 2>&5
  8894. - ac_status=$?
  8895. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8896. - (exit $ac_status); }; } &&
  8897. - { ac_try='test -s conftest$ac_exeext'
  8898. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8899. - (eval $ac_try) 2>&5
  8900. - ac_status=$?
  8901. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8902. - (exit $ac_status); }; }; then
  8903. + (exit $ac_status); } && {
  8904. + test -z "$ac_c_werror_flag" ||
  8905. + test ! -s conftest.err
  8906. + } && test -s conftest$ac_exeext &&
  8907. + $as_test_x conftest$ac_exeext; then
  8908. ac_cv_lib_Xext_XShapeQueryExtension=yes
  8909. else
  8910. echo "$as_me: failed program was:" >&5
  8911. sed 's/^/| /' conftest.$ac_ext >&5
  8912. -ac_cv_lib_Xext_XShapeQueryExtension=no
  8913. + ac_cv_lib_Xext_XShapeQueryExtension=no
  8914. fi
  8915. -rm -f conftest.err conftest.$ac_objext \
  8916. +
  8917. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8918. conftest$ac_exeext conftest.$ac_ext
  8919. LIBS=$ac_check_lib_save_LIBS
  8920. fi
  8921. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  8922. -echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
  8923. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  8924. +echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  8925. if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
  8926. GUI_X_LIBS="-lXext"
  8927. fi
  8928. - echo "$as_me:$LINENO: checking for wslen in -lw" >&5
  8929. -echo $ECHO_N "checking for wslen in -lw... $ECHO_C" >&6
  8930. + { echo "$as_me:$LINENO: checking for wslen in -lw" >&5
  8931. +echo $ECHO_N "checking for wslen in -lw... $ECHO_C" >&6; }
  8932. if test "${ac_cv_lib_w_wslen+set}" = set; then
  8933. echo $ECHO_N "(cached) $ECHO_C" >&6
  8934. else
  8935. @@ -8435,62 +8889,59 @@
  8936. cat >>conftest.$ac_ext <<_ACEOF
  8937. /* end confdefs.h. */
  8938. -/* Override any gcc2 internal prototype to avoid an error. */
  8939. +/* Override any GCC internal prototype to avoid an error.
  8940. + Use char because int might match the return type of a GCC
  8941. + builtin and then its argument prototype would still apply. */
  8942. #ifdef __cplusplus
  8943. extern "C"
  8944. #endif
  8945. -/* We use char because int might match the return type of a gcc2
  8946. - builtin and then its argument prototype would still apply. */
  8947. char wslen ();
  8948. int
  8949. main ()
  8950. {
  8951. -wslen ();
  8952. +return wslen ();
  8953. ;
  8954. return 0;
  8955. }
  8956. _ACEOF
  8957. rm -f conftest.$ac_objext conftest$ac_exeext
  8958. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8959. - (eval $ac_link) 2>conftest.er1
  8960. +if { (ac_try="$ac_link"
  8961. +case "(($ac_try" in
  8962. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8963. + *) ac_try_echo=$ac_try;;
  8964. +esac
  8965. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8966. + (eval "$ac_link") 2>conftest.er1
  8967. ac_status=$?
  8968. grep -v '^ *+' conftest.er1 >conftest.err
  8969. rm -f conftest.er1
  8970. cat conftest.err >&5
  8971. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8972. - (exit $ac_status); } &&
  8973. - { ac_try='test -z "$ac_c_werror_flag"
  8974. - || test ! -s conftest.err'
  8975. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8976. - (eval $ac_try) 2>&5
  8977. - ac_status=$?
  8978. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8979. - (exit $ac_status); }; } &&
  8980. - { ac_try='test -s conftest$ac_exeext'
  8981. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8982. - (eval $ac_try) 2>&5
  8983. - ac_status=$?
  8984. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8985. - (exit $ac_status); }; }; then
  8986. + (exit $ac_status); } && {
  8987. + test -z "$ac_c_werror_flag" ||
  8988. + test ! -s conftest.err
  8989. + } && test -s conftest$ac_exeext &&
  8990. + $as_test_x conftest$ac_exeext; then
  8991. ac_cv_lib_w_wslen=yes
  8992. else
  8993. echo "$as_me: failed program was:" >&5
  8994. sed 's/^/| /' conftest.$ac_ext >&5
  8995. -ac_cv_lib_w_wslen=no
  8996. + ac_cv_lib_w_wslen=no
  8997. fi
  8998. -rm -f conftest.err conftest.$ac_objext \
  8999. +
  9000. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9001. conftest$ac_exeext conftest.$ac_ext
  9002. LIBS=$ac_check_lib_save_LIBS
  9003. fi
  9004. -echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
  9005. -echo "${ECHO_T}$ac_cv_lib_w_wslen" >&6
  9006. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
  9007. +echo "${ECHO_T}$ac_cv_lib_w_wslen" >&6; }
  9008. if test $ac_cv_lib_w_wslen = yes; then
  9009. X_EXTRA_LIBS="$X_EXTRA_LIBS -lw"
  9010. fi
  9011. - echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
  9012. -echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
  9013. + { echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
  9014. +echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; }
  9015. if test "${ac_cv_lib_dl_dlsym+set}" = set; then
  9016. echo $ECHO_N "(cached) $ECHO_C" >&6
  9017. else
  9018. @@ -8503,62 +8954,59 @@
  9019. cat >>conftest.$ac_ext <<_ACEOF
  9020. /* end confdefs.h. */
  9021. -/* Override any gcc2 internal prototype to avoid an error. */
  9022. +/* Override any GCC internal prototype to avoid an error.
  9023. + Use char because int might match the return type of a GCC
  9024. + builtin and then its argument prototype would still apply. */
  9025. #ifdef __cplusplus
  9026. extern "C"
  9027. #endif
  9028. -/* We use char because int might match the return type of a gcc2
  9029. - builtin and then its argument prototype would still apply. */
  9030. char dlsym ();
  9031. int
  9032. main ()
  9033. {
  9034. -dlsym ();
  9035. +return dlsym ();
  9036. ;
  9037. return 0;
  9038. }
  9039. _ACEOF
  9040. rm -f conftest.$ac_objext conftest$ac_exeext
  9041. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9042. - (eval $ac_link) 2>conftest.er1
  9043. +if { (ac_try="$ac_link"
  9044. +case "(($ac_try" in
  9045. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9046. + *) ac_try_echo=$ac_try;;
  9047. +esac
  9048. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9049. + (eval "$ac_link") 2>conftest.er1
  9050. ac_status=$?
  9051. grep -v '^ *+' conftest.er1 >conftest.err
  9052. rm -f conftest.er1
  9053. cat conftest.err >&5
  9054. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9055. - (exit $ac_status); } &&
  9056. - { ac_try='test -z "$ac_c_werror_flag"
  9057. - || test ! -s conftest.err'
  9058. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9059. - (eval $ac_try) 2>&5
  9060. - ac_status=$?
  9061. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9062. - (exit $ac_status); }; } &&
  9063. - { ac_try='test -s conftest$ac_exeext'
  9064. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9065. - (eval $ac_try) 2>&5
  9066. - ac_status=$?
  9067. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9068. - (exit $ac_status); }; }; then
  9069. + (exit $ac_status); } && {
  9070. + test -z "$ac_c_werror_flag" ||
  9071. + test ! -s conftest.err
  9072. + } && test -s conftest$ac_exeext &&
  9073. + $as_test_x conftest$ac_exeext; then
  9074. ac_cv_lib_dl_dlsym=yes
  9075. else
  9076. echo "$as_me: failed program was:" >&5
  9077. sed 's/^/| /' conftest.$ac_ext >&5
  9078. -ac_cv_lib_dl_dlsym=no
  9079. + ac_cv_lib_dl_dlsym=no
  9080. fi
  9081. -rm -f conftest.err conftest.$ac_objext \
  9082. +
  9083. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9084. conftest$ac_exeext conftest.$ac_ext
  9085. LIBS=$ac_check_lib_save_LIBS
  9086. fi
  9087. -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
  9088. -echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
  9089. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
  9090. +echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; }
  9091. if test $ac_cv_lib_dl_dlsym = yes; then
  9092. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldl"
  9093. fi
  9094. - echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
  9095. -echo $ECHO_N "checking for XmuCreateStippledPixmap in -lXmu... $ECHO_C" >&6
  9096. + { echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
  9097. +echo $ECHO_N "checking for XmuCreateStippledPixmap in -lXmu... $ECHO_C" >&6; }
  9098. if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then
  9099. echo $ECHO_N "(cached) $ECHO_C" >&6
  9100. else
  9101. @@ -8571,63 +9019,60 @@
  9102. cat >>conftest.$ac_ext <<_ACEOF
  9103. /* end confdefs.h. */
  9104. -/* Override any gcc2 internal prototype to avoid an error. */
  9105. +/* Override any GCC internal prototype to avoid an error.
  9106. + Use char because int might match the return type of a GCC
  9107. + builtin and then its argument prototype would still apply. */
  9108. #ifdef __cplusplus
  9109. extern "C"
  9110. #endif
  9111. -/* We use char because int might match the return type of a gcc2
  9112. - builtin and then its argument prototype would still apply. */
  9113. char XmuCreateStippledPixmap ();
  9114. int
  9115. main ()
  9116. {
  9117. -XmuCreateStippledPixmap ();
  9118. +return XmuCreateStippledPixmap ();
  9119. ;
  9120. return 0;
  9121. }
  9122. _ACEOF
  9123. rm -f conftest.$ac_objext conftest$ac_exeext
  9124. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9125. - (eval $ac_link) 2>conftest.er1
  9126. +if { (ac_try="$ac_link"
  9127. +case "(($ac_try" in
  9128. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9129. + *) ac_try_echo=$ac_try;;
  9130. +esac
  9131. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9132. + (eval "$ac_link") 2>conftest.er1
  9133. ac_status=$?
  9134. grep -v '^ *+' conftest.er1 >conftest.err
  9135. rm -f conftest.er1
  9136. cat conftest.err >&5
  9137. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9138. - (exit $ac_status); } &&
  9139. - { ac_try='test -z "$ac_c_werror_flag"
  9140. - || test ! -s conftest.err'
  9141. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9142. - (eval $ac_try) 2>&5
  9143. - ac_status=$?
  9144. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9145. - (exit $ac_status); }; } &&
  9146. - { ac_try='test -s conftest$ac_exeext'
  9147. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9148. - (eval $ac_try) 2>&5
  9149. - ac_status=$?
  9150. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9151. - (exit $ac_status); }; }; then
  9152. + (exit $ac_status); } && {
  9153. + test -z "$ac_c_werror_flag" ||
  9154. + test ! -s conftest.err
  9155. + } && test -s conftest$ac_exeext &&
  9156. + $as_test_x conftest$ac_exeext; then
  9157. ac_cv_lib_Xmu_XmuCreateStippledPixmap=yes
  9158. else
  9159. echo "$as_me: failed program was:" >&5
  9160. sed 's/^/| /' conftest.$ac_ext >&5
  9161. -ac_cv_lib_Xmu_XmuCreateStippledPixmap=no
  9162. + ac_cv_lib_Xmu_XmuCreateStippledPixmap=no
  9163. fi
  9164. -rm -f conftest.err conftest.$ac_objext \
  9165. +
  9166. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9167. conftest$ac_exeext conftest.$ac_ext
  9168. LIBS=$ac_check_lib_save_LIBS
  9169. fi
  9170. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
  9171. -echo "${ECHO_T}$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6
  9172. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
  9173. +echo "${ECHO_T}$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6; }
  9174. if test $ac_cv_lib_Xmu_XmuCreateStippledPixmap = yes; then
  9175. GUI_X_LIBS="-lXmu $GUI_X_LIBS"
  9176. fi
  9177. if test -z "$SKIP_MOTIF"; then
  9178. - echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
  9179. -echo $ECHO_N "checking for XpEndJob in -lXp... $ECHO_C" >&6
  9180. + { echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
  9181. +echo $ECHO_N "checking for XpEndJob in -lXp... $ECHO_C" >&6; }
  9182. if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then
  9183. echo $ECHO_N "(cached) $ECHO_C" >&6
  9184. else
  9185. @@ -8640,56 +9085,53 @@
  9186. cat >>conftest.$ac_ext <<_ACEOF
  9187. /* end confdefs.h. */
  9188. -/* Override any gcc2 internal prototype to avoid an error. */
  9189. +/* Override any GCC internal prototype to avoid an error.
  9190. + Use char because int might match the return type of a GCC
  9191. + builtin and then its argument prototype would still apply. */
  9192. #ifdef __cplusplus
  9193. extern "C"
  9194. #endif
  9195. -/* We use char because int might match the return type of a gcc2
  9196. - builtin and then its argument prototype would still apply. */
  9197. char XpEndJob ();
  9198. int
  9199. main ()
  9200. {
  9201. -XpEndJob ();
  9202. +return XpEndJob ();
  9203. ;
  9204. return 0;
  9205. }
  9206. _ACEOF
  9207. rm -f conftest.$ac_objext conftest$ac_exeext
  9208. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9209. - (eval $ac_link) 2>conftest.er1
  9210. +if { (ac_try="$ac_link"
  9211. +case "(($ac_try" in
  9212. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9213. + *) ac_try_echo=$ac_try;;
  9214. +esac
  9215. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9216. + (eval "$ac_link") 2>conftest.er1
  9217. ac_status=$?
  9218. grep -v '^ *+' conftest.er1 >conftest.err
  9219. rm -f conftest.er1
  9220. cat conftest.err >&5
  9221. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9222. - (exit $ac_status); } &&
  9223. - { ac_try='test -z "$ac_c_werror_flag"
  9224. - || test ! -s conftest.err'
  9225. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9226. - (eval $ac_try) 2>&5
  9227. - ac_status=$?
  9228. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9229. - (exit $ac_status); }; } &&
  9230. - { ac_try='test -s conftest$ac_exeext'
  9231. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9232. - (eval $ac_try) 2>&5
  9233. - ac_status=$?
  9234. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9235. - (exit $ac_status); }; }; then
  9236. + (exit $ac_status); } && {
  9237. + test -z "$ac_c_werror_flag" ||
  9238. + test ! -s conftest.err
  9239. + } && test -s conftest$ac_exeext &&
  9240. + $as_test_x conftest$ac_exeext; then
  9241. ac_cv_lib_Xp_XpEndJob=yes
  9242. else
  9243. echo "$as_me: failed program was:" >&5
  9244. sed 's/^/| /' conftest.$ac_ext >&5
  9245. -ac_cv_lib_Xp_XpEndJob=no
  9246. + ac_cv_lib_Xp_XpEndJob=no
  9247. fi
  9248. -rm -f conftest.err conftest.$ac_objext \
  9249. +
  9250. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9251. conftest$ac_exeext conftest.$ac_ext
  9252. LIBS=$ac_check_lib_save_LIBS
  9253. fi
  9254. -echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
  9255. -echo "${ECHO_T}$ac_cv_lib_Xp_XpEndJob" >&6
  9256. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
  9257. +echo "${ECHO_T}$ac_cv_lib_Xp_XpEndJob" >&6; }
  9258. if test $ac_cv_lib_Xp_XpEndJob = yes; then
  9259. GUI_X_LIBS="-lXp $GUI_X_LIBS"
  9260. fi
  9261. @@ -8697,8 +9139,8 @@
  9262. fi
  9263. LDFLAGS=$ldflags_save
  9264. - echo "$as_me:$LINENO: checking for extra X11 defines" >&5
  9265. -echo $ECHO_N "checking for extra X11 defines... $ECHO_C" >&6
  9266. + { echo "$as_me:$LINENO: checking for extra X11 defines" >&5
  9267. +echo $ECHO_N "checking for extra X11 defines... $ECHO_C" >&6; }
  9268. NARROW_PROTO=
  9269. rm -fr conftestdir
  9270. if mkdir conftestdir; then
  9271. @@ -8714,11 +9156,11 @@
  9272. rm -fr conftestdir
  9273. fi
  9274. if test -z "$NARROW_PROTO"; then
  9275. - echo "$as_me:$LINENO: result: no" >&5
  9276. -echo "${ECHO_T}no" >&6
  9277. + { echo "$as_me:$LINENO: result: no" >&5
  9278. +echo "${ECHO_T}no" >&6; }
  9279. else
  9280. - echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
  9281. -echo "${ECHO_T}$NARROW_PROTO" >&6
  9282. + { echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
  9283. +echo "${ECHO_T}$NARROW_PROTO" >&6; }
  9284. fi
  9285. fi
  9286. @@ -8730,18 +9172,19 @@
  9287. for ac_header in X11/SM/SMlib.h
  9288. do
  9289. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9290. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9291. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  9292. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9293. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9294. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9295. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  9296. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9297. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9298. echo $ECHO_N "(cached) $ECHO_C" >&6
  9299. fi
  9300. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9301. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9302. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9303. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9304. +echo "${ECHO_T}$ac_res" >&6; }
  9305. else
  9306. # Is the header compilable?
  9307. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9308. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  9309. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9310. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  9311. cat >conftest.$ac_ext <<_ACEOF
  9312. /* confdefs.h. */
  9313. _ACEOF
  9314. @@ -8752,41 +9195,37 @@
  9315. #include <$ac_header>
  9316. _ACEOF
  9317. rm -f conftest.$ac_objext
  9318. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9319. - (eval $ac_compile) 2>conftest.er1
  9320. +if { (ac_try="$ac_compile"
  9321. +case "(($ac_try" in
  9322. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9323. + *) ac_try_echo=$ac_try;;
  9324. +esac
  9325. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9326. + (eval "$ac_compile") 2>conftest.er1
  9327. ac_status=$?
  9328. grep -v '^ *+' conftest.er1 >conftest.err
  9329. rm -f conftest.er1
  9330. cat conftest.err >&5
  9331. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9332. - (exit $ac_status); } &&
  9333. - { ac_try='test -z "$ac_c_werror_flag"
  9334. - || test ! -s conftest.err'
  9335. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9336. - (eval $ac_try) 2>&5
  9337. - ac_status=$?
  9338. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9339. - (exit $ac_status); }; } &&
  9340. - { ac_try='test -s conftest.$ac_objext'
  9341. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9342. - (eval $ac_try) 2>&5
  9343. - ac_status=$?
  9344. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9345. - (exit $ac_status); }; }; then
  9346. + (exit $ac_status); } && {
  9347. + test -z "$ac_c_werror_flag" ||
  9348. + test ! -s conftest.err
  9349. + } && test -s conftest.$ac_objext; then
  9350. ac_header_compiler=yes
  9351. else
  9352. echo "$as_me: failed program was:" >&5
  9353. sed 's/^/| /' conftest.$ac_ext >&5
  9354. -ac_header_compiler=no
  9355. + ac_header_compiler=no
  9356. fi
  9357. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9358. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9359. -echo "${ECHO_T}$ac_header_compiler" >&6
  9360. +
  9361. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9362. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9363. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  9364. # Is the header present?
  9365. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9366. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  9367. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9368. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  9369. cat >conftest.$ac_ext <<_ACEOF
  9370. /* confdefs.h. */
  9371. _ACEOF
  9372. @@ -8795,24 +9234,22 @@
  9373. /* end confdefs.h. */
  9374. #include <$ac_header>
  9375. _ACEOF
  9376. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  9377. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  9378. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  9379. +case "(($ac_try" in
  9380. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9381. + *) ac_try_echo=$ac_try;;
  9382. +esac
  9383. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9384. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9385. ac_status=$?
  9386. grep -v '^ *+' conftest.er1 >conftest.err
  9387. rm -f conftest.er1
  9388. cat conftest.err >&5
  9389. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9390. - (exit $ac_status); } >/dev/null; then
  9391. - if test -s conftest.err; then
  9392. - ac_cpp_err=$ac_c_preproc_warn_flag
  9393. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9394. - else
  9395. - ac_cpp_err=
  9396. - fi
  9397. -else
  9398. - ac_cpp_err=yes
  9399. -fi
  9400. -if test -z "$ac_cpp_err"; then
  9401. + (exit $ac_status); } >/dev/null && {
  9402. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9403. + test ! -s conftest.err
  9404. + }; then
  9405. ac_header_preproc=yes
  9406. else
  9407. echo "$as_me: failed program was:" >&5
  9408. @@ -8820,9 +9257,10 @@
  9409. ac_header_preproc=no
  9410. fi
  9411. +
  9412. rm -f conftest.err conftest.$ac_ext
  9413. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9414. -echo "${ECHO_T}$ac_header_preproc" >&6
  9415. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9416. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  9417. # So? What about this header?
  9418. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9419. @@ -8846,25 +9284,19 @@
  9420. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9421. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9422. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9423. - (
  9424. - cat <<\_ASBOX
  9425. -## ------------------------------------------ ##
  9426. -## Report this to the AC_PACKAGE_NAME lists. ##
  9427. -## ------------------------------------------ ##
  9428. -_ASBOX
  9429. - ) |
  9430. - sed "s/^/$as_me: WARNING: /" >&2
  9431. +
  9432. ;;
  9433. esac
  9434. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  9435. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9436. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9437. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  9438. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9439. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9440. echo $ECHO_N "(cached) $ECHO_C" >&6
  9441. else
  9442. eval "$as_ac_Header=\$ac_header_preproc"
  9443. fi
  9444. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9445. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9446. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9447. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9448. +echo "${ECHO_T}$ac_res" >&6; }
  9449. fi
  9450. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  9451. @@ -8888,18 +9320,19 @@
  9452. for ac_header in X11/xpm.h X11/Sunkeysym.h
  9453. do
  9454. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9455. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9456. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  9457. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9458. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9459. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9460. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  9461. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9462. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9463. echo $ECHO_N "(cached) $ECHO_C" >&6
  9464. fi
  9465. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9466. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9467. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9468. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9469. +echo "${ECHO_T}$ac_res" >&6; }
  9470. else
  9471. # Is the header compilable?
  9472. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9473. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  9474. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9475. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  9476. cat >conftest.$ac_ext <<_ACEOF
  9477. /* confdefs.h. */
  9478. _ACEOF
  9479. @@ -8910,41 +9343,37 @@
  9480. #include <$ac_header>
  9481. _ACEOF
  9482. rm -f conftest.$ac_objext
  9483. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9484. - (eval $ac_compile) 2>conftest.er1
  9485. +if { (ac_try="$ac_compile"
  9486. +case "(($ac_try" in
  9487. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9488. + *) ac_try_echo=$ac_try;;
  9489. +esac
  9490. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9491. + (eval "$ac_compile") 2>conftest.er1
  9492. ac_status=$?
  9493. grep -v '^ *+' conftest.er1 >conftest.err
  9494. rm -f conftest.er1
  9495. cat conftest.err >&5
  9496. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9497. - (exit $ac_status); } &&
  9498. - { ac_try='test -z "$ac_c_werror_flag"
  9499. - || test ! -s conftest.err'
  9500. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9501. - (eval $ac_try) 2>&5
  9502. - ac_status=$?
  9503. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9504. - (exit $ac_status); }; } &&
  9505. - { ac_try='test -s conftest.$ac_objext'
  9506. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9507. - (eval $ac_try) 2>&5
  9508. - ac_status=$?
  9509. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9510. - (exit $ac_status); }; }; then
  9511. + (exit $ac_status); } && {
  9512. + test -z "$ac_c_werror_flag" ||
  9513. + test ! -s conftest.err
  9514. + } && test -s conftest.$ac_objext; then
  9515. ac_header_compiler=yes
  9516. else
  9517. echo "$as_me: failed program was:" >&5
  9518. sed 's/^/| /' conftest.$ac_ext >&5
  9519. -ac_header_compiler=no
  9520. + ac_header_compiler=no
  9521. fi
  9522. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9523. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9524. -echo "${ECHO_T}$ac_header_compiler" >&6
  9525. +
  9526. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9527. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9528. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  9529. # Is the header present?
  9530. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9531. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  9532. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9533. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  9534. cat >conftest.$ac_ext <<_ACEOF
  9535. /* confdefs.h. */
  9536. _ACEOF
  9537. @@ -8953,24 +9382,22 @@
  9538. /* end confdefs.h. */
  9539. #include <$ac_header>
  9540. _ACEOF
  9541. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  9542. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  9543. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  9544. +case "(($ac_try" in
  9545. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9546. + *) ac_try_echo=$ac_try;;
  9547. +esac
  9548. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9549. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9550. ac_status=$?
  9551. grep -v '^ *+' conftest.er1 >conftest.err
  9552. rm -f conftest.er1
  9553. cat conftest.err >&5
  9554. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9555. - (exit $ac_status); } >/dev/null; then
  9556. - if test -s conftest.err; then
  9557. - ac_cpp_err=$ac_c_preproc_warn_flag
  9558. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9559. - else
  9560. - ac_cpp_err=
  9561. - fi
  9562. -else
  9563. - ac_cpp_err=yes
  9564. -fi
  9565. -if test -z "$ac_cpp_err"; then
  9566. + (exit $ac_status); } >/dev/null && {
  9567. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9568. + test ! -s conftest.err
  9569. + }; then
  9570. ac_header_preproc=yes
  9571. else
  9572. echo "$as_me: failed program was:" >&5
  9573. @@ -8978,9 +9405,10 @@
  9574. ac_header_preproc=no
  9575. fi
  9576. +
  9577. rm -f conftest.err conftest.$ac_ext
  9578. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9579. -echo "${ECHO_T}$ac_header_preproc" >&6
  9580. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9581. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  9582. # So? What about this header?
  9583. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9584. @@ -9004,25 +9432,19 @@
  9585. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9586. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9587. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9588. - (
  9589. - cat <<\_ASBOX
  9590. -## ------------------------------------------ ##
  9591. -## Report this to the AC_PACKAGE_NAME lists. ##
  9592. -## ------------------------------------------ ##
  9593. -_ASBOX
  9594. - ) |
  9595. - sed "s/^/$as_me: WARNING: /" >&2
  9596. +
  9597. ;;
  9598. esac
  9599. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  9600. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9601. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9602. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  9603. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9604. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9605. echo $ECHO_N "(cached) $ECHO_C" >&6
  9606. else
  9607. eval "$as_ac_Header=\$ac_header_preproc"
  9608. fi
  9609. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9610. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9611. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9612. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9613. +echo "${ECHO_T}$ac_res" >&6; }
  9614. fi
  9615. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  9616. @@ -9036,8 +9458,8 @@
  9617. if test ! "$enable_xim" = "no"; then
  9618. - echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
  9619. -echo $ECHO_N "checking for XIMText in X11/Xlib.h... $ECHO_C" >&6
  9620. + { echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
  9621. +echo $ECHO_N "checking for XIMText in X11/Xlib.h... $ECHO_C" >&6; }
  9622. cat >conftest.$ac_ext <<_ACEOF
  9623. /* confdefs.h. */
  9624. _ACEOF
  9625. @@ -9048,11 +9470,11 @@
  9626. _ACEOF
  9627. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9628. $EGREP "XIMText" >/dev/null 2>&1; then
  9629. - echo "$as_me:$LINENO: result: yes" >&5
  9630. -echo "${ECHO_T}yes" >&6
  9631. + { echo "$as_me:$LINENO: result: yes" >&5
  9632. +echo "${ECHO_T}yes" >&6; }
  9633. else
  9634. - echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
  9635. -echo "${ECHO_T}no; xim has been disabled" >&6; enable_xim = "no"
  9636. + { echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
  9637. +echo "${ECHO_T}no; xim has been disabled" >&6; }; enable_xim = "no"
  9638. fi
  9639. rm -f conftest*
  9640. @@ -9061,8 +9483,8 @@
  9641. if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \
  9642. -a "x$GUITYPE" != "xNONE" ; then
  9643. - echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
  9644. -echo "${ECHO_T}X GUI selected; xim has been enabled" >&6
  9645. + { echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
  9646. +echo "${ECHO_T}X GUI selected; xim has been enabled" >&6; }
  9647. enable_xim="yes"
  9648. fi
  9649. fi
  9650. @@ -9070,8 +9492,8 @@
  9651. if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
  9652. cppflags_save=$CPPFLAGS
  9653. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  9654. - echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
  9655. -echo $ECHO_N "checking for X11/Xmu/Editres.h... $ECHO_C" >&6
  9656. + { echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
  9657. +echo $ECHO_N "checking for X11/Xmu/Editres.h... $ECHO_C" >&6; }
  9658. cat >conftest.$ac_ext <<_ACEOF
  9659. /* confdefs.h. */
  9660. _ACEOF
  9661. @@ -9090,29 +9512,24 @@
  9662. }
  9663. _ACEOF
  9664. rm -f conftest.$ac_objext
  9665. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9666. - (eval $ac_compile) 2>conftest.er1
  9667. +if { (ac_try="$ac_compile"
  9668. +case "(($ac_try" in
  9669. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9670. + *) ac_try_echo=$ac_try;;
  9671. +esac
  9672. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9673. + (eval "$ac_compile") 2>conftest.er1
  9674. ac_status=$?
  9675. grep -v '^ *+' conftest.er1 >conftest.err
  9676. rm -f conftest.er1
  9677. cat conftest.err >&5
  9678. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9679. - (exit $ac_status); } &&
  9680. - { ac_try='test -z "$ac_c_werror_flag"
  9681. - || test ! -s conftest.err'
  9682. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9683. - (eval $ac_try) 2>&5
  9684. - ac_status=$?
  9685. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9686. - (exit $ac_status); }; } &&
  9687. - { ac_try='test -s conftest.$ac_objext'
  9688. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9689. - (eval $ac_try) 2>&5
  9690. - ac_status=$?
  9691. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9692. - (exit $ac_status); }; }; then
  9693. - echo "$as_me:$LINENO: result: yes" >&5
  9694. -echo "${ECHO_T}yes" >&6
  9695. + (exit $ac_status); } && {
  9696. + test -z "$ac_c_werror_flag" ||
  9697. + test ! -s conftest.err
  9698. + } && test -s conftest.$ac_objext; then
  9699. + { echo "$as_me:$LINENO: result: yes" >&5
  9700. +echo "${ECHO_T}yes" >&6; }
  9701. cat >>confdefs.h <<\_ACEOF
  9702. #define HAVE_X11_XMU_EDITRES_H 1
  9703. _ACEOF
  9704. @@ -9121,10 +9538,11 @@
  9705. echo "$as_me: failed program was:" >&5
  9706. sed 's/^/| /' conftest.$ac_ext >&5
  9707. -echo "$as_me:$LINENO: result: no" >&5
  9708. -echo "${ECHO_T}no" >&6
  9709. + { echo "$as_me:$LINENO: result: no" >&5
  9710. +echo "${ECHO_T}no" >&6; }
  9711. fi
  9712. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9713. +
  9714. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9715. CPPFLAGS=$cppflags_save
  9716. fi
  9717. @@ -9142,18 +9560,19 @@
  9718. Xm/UnhighlightT.h Xm/Notebook.h
  9719. do
  9720. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9721. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9722. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  9723. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9724. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9725. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9726. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  9727. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9728. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9729. echo $ECHO_N "(cached) $ECHO_C" >&6
  9730. fi
  9731. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9732. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9733. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9734. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9735. +echo "${ECHO_T}$ac_res" >&6; }
  9736. else
  9737. # Is the header compilable?
  9738. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9739. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  9740. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9741. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  9742. cat >conftest.$ac_ext <<_ACEOF
  9743. /* confdefs.h. */
  9744. _ACEOF
  9745. @@ -9164,41 +9583,37 @@
  9746. #include <$ac_header>
  9747. _ACEOF
  9748. rm -f conftest.$ac_objext
  9749. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9750. - (eval $ac_compile) 2>conftest.er1
  9751. +if { (ac_try="$ac_compile"
  9752. +case "(($ac_try" in
  9753. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9754. + *) ac_try_echo=$ac_try;;
  9755. +esac
  9756. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9757. + (eval "$ac_compile") 2>conftest.er1
  9758. ac_status=$?
  9759. grep -v '^ *+' conftest.er1 >conftest.err
  9760. rm -f conftest.er1
  9761. cat conftest.err >&5
  9762. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9763. - (exit $ac_status); } &&
  9764. - { ac_try='test -z "$ac_c_werror_flag"
  9765. - || test ! -s conftest.err'
  9766. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9767. - (eval $ac_try) 2>&5
  9768. - ac_status=$?
  9769. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9770. - (exit $ac_status); }; } &&
  9771. - { ac_try='test -s conftest.$ac_objext'
  9772. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9773. - (eval $ac_try) 2>&5
  9774. - ac_status=$?
  9775. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9776. - (exit $ac_status); }; }; then
  9777. + (exit $ac_status); } && {
  9778. + test -z "$ac_c_werror_flag" ||
  9779. + test ! -s conftest.err
  9780. + } && test -s conftest.$ac_objext; then
  9781. ac_header_compiler=yes
  9782. else
  9783. echo "$as_me: failed program was:" >&5
  9784. sed 's/^/| /' conftest.$ac_ext >&5
  9785. -ac_header_compiler=no
  9786. + ac_header_compiler=no
  9787. fi
  9788. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9789. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9790. -echo "${ECHO_T}$ac_header_compiler" >&6
  9791. +
  9792. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9793. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9794. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  9795. # Is the header present?
  9796. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9797. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  9798. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9799. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  9800. cat >conftest.$ac_ext <<_ACEOF
  9801. /* confdefs.h. */
  9802. _ACEOF
  9803. @@ -9207,24 +9622,22 @@
  9804. /* end confdefs.h. */
  9805. #include <$ac_header>
  9806. _ACEOF
  9807. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  9808. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  9809. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  9810. +case "(($ac_try" in
  9811. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9812. + *) ac_try_echo=$ac_try;;
  9813. +esac
  9814. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9815. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9816. ac_status=$?
  9817. grep -v '^ *+' conftest.er1 >conftest.err
  9818. rm -f conftest.er1
  9819. cat conftest.err >&5
  9820. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9821. - (exit $ac_status); } >/dev/null; then
  9822. - if test -s conftest.err; then
  9823. - ac_cpp_err=$ac_c_preproc_warn_flag
  9824. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  9825. - else
  9826. - ac_cpp_err=
  9827. - fi
  9828. -else
  9829. - ac_cpp_err=yes
  9830. -fi
  9831. -if test -z "$ac_cpp_err"; then
  9832. + (exit $ac_status); } >/dev/null && {
  9833. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9834. + test ! -s conftest.err
  9835. + }; then
  9836. ac_header_preproc=yes
  9837. else
  9838. echo "$as_me: failed program was:" >&5
  9839. @@ -9232,9 +9645,10 @@
  9840. ac_header_preproc=no
  9841. fi
  9842. +
  9843. rm -f conftest.err conftest.$ac_ext
  9844. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9845. -echo "${ECHO_T}$ac_header_preproc" >&6
  9846. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9847. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  9848. # So? What about this header?
  9849. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9850. @@ -9258,25 +9672,19 @@
  9851. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9852. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9853. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9854. - (
  9855. - cat <<\_ASBOX
  9856. -## ------------------------------------------ ##
  9857. -## Report this to the AC_PACKAGE_NAME lists. ##
  9858. -## ------------------------------------------ ##
  9859. -_ASBOX
  9860. - ) |
  9861. - sed "s/^/$as_me: WARNING: /" >&2
  9862. +
  9863. ;;
  9864. esac
  9865. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  9866. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  9867. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  9868. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  9869. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  9870. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9871. echo $ECHO_N "(cached) $ECHO_C" >&6
  9872. else
  9873. eval "$as_ac_Header=\$ac_header_preproc"
  9874. fi
  9875. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  9876. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  9877. +ac_res=`eval echo '${'$as_ac_Header'}'`
  9878. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  9879. +echo "${ECHO_T}$ac_res" >&6; }
  9880. fi
  9881. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  9882. @@ -9290,8 +9698,8 @@
  9883. if test $ac_cv_header_Xm_XpmP_h = yes; then
  9884. - echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
  9885. -echo $ECHO_N "checking for XpmAttributes_21 in Xm/XpmP.h... $ECHO_C" >&6
  9886. + { echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
  9887. +echo $ECHO_N "checking for XpmAttributes_21 in Xm/XpmP.h... $ECHO_C" >&6; }
  9888. cat >conftest.$ac_ext <<_ACEOF
  9889. /* confdefs.h. */
  9890. _ACEOF
  9891. @@ -9308,29 +9716,24 @@
  9892. }
  9893. _ACEOF
  9894. rm -f conftest.$ac_objext
  9895. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9896. - (eval $ac_compile) 2>conftest.er1
  9897. +if { (ac_try="$ac_compile"
  9898. +case "(($ac_try" in
  9899. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9900. + *) ac_try_echo=$ac_try;;
  9901. +esac
  9902. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9903. + (eval "$ac_compile") 2>conftest.er1
  9904. ac_status=$?
  9905. grep -v '^ *+' conftest.er1 >conftest.err
  9906. rm -f conftest.er1
  9907. cat conftest.err >&5
  9908. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9909. - (exit $ac_status); } &&
  9910. - { ac_try='test -z "$ac_c_werror_flag"
  9911. - || test ! -s conftest.err'
  9912. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9913. - (eval $ac_try) 2>&5
  9914. - ac_status=$?
  9915. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9916. - (exit $ac_status); }; } &&
  9917. - { ac_try='test -s conftest.$ac_objext'
  9918. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9919. - (eval $ac_try) 2>&5
  9920. - ac_status=$?
  9921. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9922. - (exit $ac_status); }; }; then
  9923. - echo "$as_me:$LINENO: result: yes" >&5
  9924. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  9925. + (exit $ac_status); } && {
  9926. + test -z "$ac_c_werror_flag" ||
  9927. + test ! -s conftest.err
  9928. + } && test -s conftest.$ac_objext; then
  9929. + { echo "$as_me:$LINENO: result: yes" >&5
  9930. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  9931. #define XPMATTRIBUTES_TYPE XpmAttributes_21
  9932. _ACEOF
  9933. @@ -9338,14 +9741,15 @@
  9934. echo "$as_me: failed program was:" >&5
  9935. sed 's/^/| /' conftest.$ac_ext >&5
  9936. -echo "$as_me:$LINENO: result: no" >&5
  9937. -echo "${ECHO_T}no" >&6; cat >>confdefs.h <<\_ACEOF
  9938. + { echo "$as_me:$LINENO: result: no" >&5
  9939. +echo "${ECHO_T}no" >&6; }; cat >>confdefs.h <<\_ACEOF
  9940. #define XPMATTRIBUTES_TYPE XpmAttributes
  9941. _ACEOF
  9942. fi
  9943. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  9944. +
  9945. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9946. else
  9947. cat >>confdefs.h <<\_ACEOF
  9948. #define XPMATTRIBUTES_TYPE XpmAttributes
  9949. @@ -9356,18 +9760,18 @@
  9950. fi
  9951. if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then
  9952. - echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
  9953. -echo "${ECHO_T}no GUI selected; xim has been disabled" >&6
  9954. + { echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
  9955. +echo "${ECHO_T}no GUI selected; xim has been disabled" >&6; }
  9956. enable_xim="no"
  9957. fi
  9958. if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then
  9959. - echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
  9960. -echo "${ECHO_T}no GUI selected; fontset has been disabled" >&6
  9961. + { echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
  9962. +echo "${ECHO_T}no GUI selected; fontset has been disabled" >&6; }
  9963. enable_fontset="no"
  9964. fi
  9965. if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then
  9966. - echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
  9967. -echo "${ECHO_T}GTK+ 2 GUI selected; fontset has been disabled" >&6
  9968. + { echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
  9969. +echo "${ECHO_T}GTK+ 2 GUI selected; fontset has been disabled" >&6; }
  9970. enable_fontset="no"
  9971. fi
  9972. @@ -9404,8 +9808,8 @@
  9973. if test "$enable_hangulinput" = "yes"; then
  9974. if test "x$GUITYPE" = "xNONE"; then
  9975. - echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
  9976. -echo "${ECHO_T}no GUI selected; hangul input has been disabled" >&6
  9977. + { echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
  9978. +echo "${ECHO_T}no GUI selected; hangul input has been disabled" >&6; }
  9979. enable_hangulinput=no
  9980. else
  9981. cat >>confdefs.h <<\_ACEOF
  9982. @@ -9420,115 +9824,33 @@
  9983. fi
  9984. -echo "$as_me:$LINENO: checking quality of toupper" >&5
  9985. -echo $ECHO_N "checking quality of toupper... $ECHO_C" >&6
  9986. -if test "$cross_compiling" = yes; then
  9987. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  9988. -echo "$as_me: error: failed to compile test program" >&2;}
  9989. - { (exit 1); exit 1; }; }
  9990. -else
  9991. - cat >conftest.$ac_ext <<_ACEOF
  9992. -/* confdefs.h. */
  9993. -_ACEOF
  9994. -cat confdefs.h >>conftest.$ac_ext
  9995. -cat >>conftest.$ac_ext <<_ACEOF
  9996. -/* end confdefs.h. */
  9997. -#include <ctype.h>
  9998. -main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
  9999. -_ACEOF
  10000. -rm -f conftest$ac_exeext
  10001. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10002. - (eval $ac_link) 2>&5
  10003. - ac_status=$?
  10004. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10005. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  10006. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10007. - (eval $ac_try) 2>&5
  10008. - ac_status=$?
  10009. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10010. - (exit $ac_status); }; }; then
  10011. - cat >>confdefs.h <<\_ACEOF
  10012. -#define BROKEN_TOUPPER 1
  10013. -_ACEOF
  10014. - echo "$as_me:$LINENO: result: bad" >&5
  10015. -echo "${ECHO_T}bad" >&6
  10016. -else
  10017. - echo "$as_me: program exited with status $ac_status" >&5
  10018. -echo "$as_me: failed program was:" >&5
  10019. -sed 's/^/| /' conftest.$ac_ext >&5
  10020. -
  10021. -( exit $ac_status )
  10022. -echo "$as_me:$LINENO: result: good" >&5
  10023. -echo "${ECHO_T}good" >&6
  10024. -fi
  10025. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  10026. -fi
  10027. -
  10028. -echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
  10029. -echo $ECHO_N "checking whether __DATE__ and __TIME__ work... $ECHO_C" >&6
  10030. -cat >conftest.$ac_ext <<_ACEOF
  10031. -/* confdefs.h. */
  10032. -_ACEOF
  10033. -cat confdefs.h >>conftest.$ac_ext
  10034. -cat >>conftest.$ac_ext <<_ACEOF
  10035. -/* end confdefs.h. */
  10036. -
  10037. -int
  10038. -main ()
  10039. -{
  10040. -printf("(" __DATE__ " " __TIME__ ")");
  10041. - ;
  10042. - return 0;
  10043. -}
  10044. -_ACEOF
  10045. -rm -f conftest.$ac_objext
  10046. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10047. - (eval $ac_compile) 2>conftest.er1
  10048. - ac_status=$?
  10049. - grep -v '^ *+' conftest.er1 >conftest.err
  10050. - rm -f conftest.er1
  10051. - cat conftest.err >&5
  10052. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10053. - (exit $ac_status); } &&
  10054. - { ac_try='test -z "$ac_c_werror_flag"
  10055. - || test ! -s conftest.err'
  10056. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10057. - (eval $ac_try) 2>&5
  10058. - ac_status=$?
  10059. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10060. - (exit $ac_status); }; } &&
  10061. - { ac_try='test -s conftest.$ac_objext'
  10062. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10063. - (eval $ac_try) 2>&5
  10064. - ac_status=$?
  10065. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10066. - (exit $ac_status); }; }; then
  10067. - echo "$as_me:$LINENO: result: yes" >&5
  10068. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  10069. +#AC_MSG_CHECKING(quality of toupper)
  10070. +#AC_TRY_RUN([#include <ctype.h>
  10071. +#main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }],
  10072. +# AC_DEFINE(BROKEN_TOUPPER) AC_MSG_RESULT(bad),
  10073. +# AC_MSG_RESULT(good), AC_MSG_ERROR(failed to compile test program))
  10074. +
  10075. +#AC_MSG_CHECKING(whether __DATE__ and __TIME__ work)
  10076. +#AC_TRY_COMPILE(, [printf("(" __DATE__ " " __TIME__ ")");],
  10077. +# AC_MSG_RESULT(yes); AC_DEFINE(HAVE_DATE_TIME),
  10078. +# AC_MSG_RESULT(no))
  10079. +cat >>confdefs.h <<\_ACEOF
  10080. #define HAVE_DATE_TIME 1
  10081. _ACEOF
  10082. -else
  10083. - echo "$as_me: failed program was:" >&5
  10084. -sed 's/^/| /' conftest.$ac_ext >&5
  10085. -
  10086. -echo "$as_me:$LINENO: result: no" >&5
  10087. -echo "${ECHO_T}no" >&6
  10088. -fi
  10089. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10090. if test "${ac_cv_header_elf_h+set}" = set; then
  10091. - echo "$as_me:$LINENO: checking for elf.h" >&5
  10092. -echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
  10093. + { echo "$as_me:$LINENO: checking for elf.h" >&5
  10094. +echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
  10095. if test "${ac_cv_header_elf_h+set}" = set; then
  10096. echo $ECHO_N "(cached) $ECHO_C" >&6
  10097. fi
  10098. -echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10099. -echo "${ECHO_T}$ac_cv_header_elf_h" >&6
  10100. +{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10101. +echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
  10102. else
  10103. # Is the header compilable?
  10104. -echo "$as_me:$LINENO: checking elf.h usability" >&5
  10105. -echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6
  10106. +{ echo "$as_me:$LINENO: checking elf.h usability" >&5
  10107. +echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6; }
  10108. cat >conftest.$ac_ext <<_ACEOF
  10109. /* confdefs.h. */
  10110. _ACEOF
  10111. @@ -9539,41 +9861,37 @@
  10112. #include <elf.h>
  10113. _ACEOF
  10114. rm -f conftest.$ac_objext
  10115. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10116. - (eval $ac_compile) 2>conftest.er1
  10117. +if { (ac_try="$ac_compile"
  10118. +case "(($ac_try" in
  10119. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10120. + *) ac_try_echo=$ac_try;;
  10121. +esac
  10122. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10123. + (eval "$ac_compile") 2>conftest.er1
  10124. ac_status=$?
  10125. grep -v '^ *+' conftest.er1 >conftest.err
  10126. rm -f conftest.er1
  10127. cat conftest.err >&5
  10128. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10129. - (exit $ac_status); } &&
  10130. - { ac_try='test -z "$ac_c_werror_flag"
  10131. - || test ! -s conftest.err'
  10132. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10133. - (eval $ac_try) 2>&5
  10134. - ac_status=$?
  10135. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10136. - (exit $ac_status); }; } &&
  10137. - { ac_try='test -s conftest.$ac_objext'
  10138. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10139. - (eval $ac_try) 2>&5
  10140. - ac_status=$?
  10141. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10142. - (exit $ac_status); }; }; then
  10143. + (exit $ac_status); } && {
  10144. + test -z "$ac_c_werror_flag" ||
  10145. + test ! -s conftest.err
  10146. + } && test -s conftest.$ac_objext; then
  10147. ac_header_compiler=yes
  10148. else
  10149. echo "$as_me: failed program was:" >&5
  10150. sed 's/^/| /' conftest.$ac_ext >&5
  10151. -ac_header_compiler=no
  10152. + ac_header_compiler=no
  10153. fi
  10154. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10155. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  10156. -echo "${ECHO_T}$ac_header_compiler" >&6
  10157. +
  10158. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10159. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  10160. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  10161. # Is the header present?
  10162. -echo "$as_me:$LINENO: checking elf.h presence" >&5
  10163. -echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6
  10164. +{ echo "$as_me:$LINENO: checking elf.h presence" >&5
  10165. +echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6; }
  10166. cat >conftest.$ac_ext <<_ACEOF
  10167. /* confdefs.h. */
  10168. _ACEOF
  10169. @@ -9582,24 +9900,22 @@
  10170. /* end confdefs.h. */
  10171. #include <elf.h>
  10172. _ACEOF
  10173. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  10174. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  10175. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  10176. +case "(($ac_try" in
  10177. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10178. + *) ac_try_echo=$ac_try;;
  10179. +esac
  10180. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10181. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  10182. ac_status=$?
  10183. grep -v '^ *+' conftest.er1 >conftest.err
  10184. rm -f conftest.er1
  10185. cat conftest.err >&5
  10186. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10187. - (exit $ac_status); } >/dev/null; then
  10188. - if test -s conftest.err; then
  10189. - ac_cpp_err=$ac_c_preproc_warn_flag
  10190. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  10191. - else
  10192. - ac_cpp_err=
  10193. - fi
  10194. -else
  10195. - ac_cpp_err=yes
  10196. -fi
  10197. -if test -z "$ac_cpp_err"; then
  10198. + (exit $ac_status); } >/dev/null && {
  10199. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  10200. + test ! -s conftest.err
  10201. + }; then
  10202. ac_header_preproc=yes
  10203. else
  10204. echo "$as_me: failed program was:" >&5
  10205. @@ -9607,9 +9923,10 @@
  10206. ac_header_preproc=no
  10207. fi
  10208. +
  10209. rm -f conftest.err conftest.$ac_ext
  10210. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  10211. -echo "${ECHO_T}$ac_header_preproc" >&6
  10212. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  10213. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  10214. # So? What about this header?
  10215. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  10216. @@ -9633,25 +9950,18 @@
  10217. echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
  10218. { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
  10219. echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
  10220. - (
  10221. - cat <<\_ASBOX
  10222. -## ------------------------------------------ ##
  10223. -## Report this to the AC_PACKAGE_NAME lists. ##
  10224. -## ------------------------------------------ ##
  10225. -_ASBOX
  10226. - ) |
  10227. - sed "s/^/$as_me: WARNING: /" >&2
  10228. +
  10229. ;;
  10230. esac
  10231. -echo "$as_me:$LINENO: checking for elf.h" >&5
  10232. -echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
  10233. +{ echo "$as_me:$LINENO: checking for elf.h" >&5
  10234. +echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
  10235. if test "${ac_cv_header_elf_h+set}" = set; then
  10236. echo $ECHO_N "(cached) $ECHO_C" >&6
  10237. else
  10238. ac_cv_header_elf_h=$ac_header_preproc
  10239. fi
  10240. -echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10241. -echo "${ECHO_T}$ac_cv_header_elf_h" >&6
  10242. +{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
  10243. +echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
  10244. fi
  10245. if test $ac_cv_header_elf_h = yes; then
  10246. @@ -9661,8 +9971,8 @@
  10247. if test "$HAS_ELF" = 1; then
  10248. -echo "$as_me:$LINENO: checking for main in -lelf" >&5
  10249. -echo $ECHO_N "checking for main in -lelf... $ECHO_C" >&6
  10250. +{ echo "$as_me:$LINENO: checking for main in -lelf" >&5
  10251. +echo $ECHO_N "checking for main in -lelf... $ECHO_C" >&6; }
  10252. if test "${ac_cv_lib_elf_main+set}" = set; then
  10253. echo $ECHO_N "(cached) $ECHO_C" >&6
  10254. else
  10255. @@ -9679,46 +9989,43 @@
  10256. int
  10257. main ()
  10258. {
  10259. -main ();
  10260. +return main ();
  10261. ;
  10262. return 0;
  10263. }
  10264. _ACEOF
  10265. rm -f conftest.$ac_objext conftest$ac_exeext
  10266. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10267. - (eval $ac_link) 2>conftest.er1
  10268. +if { (ac_try="$ac_link"
  10269. +case "(($ac_try" in
  10270. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10271. + *) ac_try_echo=$ac_try;;
  10272. +esac
  10273. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10274. + (eval "$ac_link") 2>conftest.er1
  10275. ac_status=$?
  10276. grep -v '^ *+' conftest.er1 >conftest.err
  10277. rm -f conftest.er1
  10278. cat conftest.err >&5
  10279. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10280. - (exit $ac_status); } &&
  10281. - { ac_try='test -z "$ac_c_werror_flag"
  10282. - || test ! -s conftest.err'
  10283. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10284. - (eval $ac_try) 2>&5
  10285. - ac_status=$?
  10286. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10287. - (exit $ac_status); }; } &&
  10288. - { ac_try='test -s conftest$ac_exeext'
  10289. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10290. - (eval $ac_try) 2>&5
  10291. - ac_status=$?
  10292. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10293. - (exit $ac_status); }; }; then
  10294. + (exit $ac_status); } && {
  10295. + test -z "$ac_c_werror_flag" ||
  10296. + test ! -s conftest.err
  10297. + } && test -s conftest$ac_exeext &&
  10298. + $as_test_x conftest$ac_exeext; then
  10299. ac_cv_lib_elf_main=yes
  10300. else
  10301. echo "$as_me: failed program was:" >&5
  10302. sed 's/^/| /' conftest.$ac_ext >&5
  10303. -ac_cv_lib_elf_main=no
  10304. + ac_cv_lib_elf_main=no
  10305. fi
  10306. -rm -f conftest.err conftest.$ac_objext \
  10307. +
  10308. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10309. conftest$ac_exeext conftest.$ac_ext
  10310. LIBS=$ac_check_lib_save_LIBS
  10311. fi
  10312. -echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
  10313. -echo "${ECHO_T}$ac_cv_lib_elf_main" >&6
  10314. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
  10315. +echo "${ECHO_T}$ac_cv_lib_elf_main" >&6; }
  10316. if test $ac_cv_lib_elf_main = yes; then
  10317. cat >>confdefs.h <<_ACEOF
  10318. #define HAVE_LIBELF 1
  10319. @@ -9738,9 +10045,9 @@
  10320. ac_header_dirent=no
  10321. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  10322. as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  10323. -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  10324. -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
  10325. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  10326. +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  10327. +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
  10328. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10329. echo $ECHO_N "(cached) $ECHO_C" >&6
  10330. else
  10331. cat >conftest.$ac_ext <<_ACEOF
  10332. @@ -9762,38 +10069,35 @@
  10333. }
  10334. _ACEOF
  10335. rm -f conftest.$ac_objext
  10336. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10337. - (eval $ac_compile) 2>conftest.er1
  10338. +if { (ac_try="$ac_compile"
  10339. +case "(($ac_try" in
  10340. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10341. + *) ac_try_echo=$ac_try;;
  10342. +esac
  10343. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10344. + (eval "$ac_compile") 2>conftest.er1
  10345. ac_status=$?
  10346. grep -v '^ *+' conftest.er1 >conftest.err
  10347. rm -f conftest.er1
  10348. cat conftest.err >&5
  10349. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10350. - (exit $ac_status); } &&
  10351. - { ac_try='test -z "$ac_c_werror_flag"
  10352. - || test ! -s conftest.err'
  10353. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10354. - (eval $ac_try) 2>&5
  10355. - ac_status=$?
  10356. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10357. - (exit $ac_status); }; } &&
  10358. - { ac_try='test -s conftest.$ac_objext'
  10359. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10360. - (eval $ac_try) 2>&5
  10361. - ac_status=$?
  10362. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10363. - (exit $ac_status); }; }; then
  10364. + (exit $ac_status); } && {
  10365. + test -z "$ac_c_werror_flag" ||
  10366. + test ! -s conftest.err
  10367. + } && test -s conftest.$ac_objext; then
  10368. eval "$as_ac_Header=yes"
  10369. else
  10370. echo "$as_me: failed program was:" >&5
  10371. sed 's/^/| /' conftest.$ac_ext >&5
  10372. -eval "$as_ac_Header=no"
  10373. + eval "$as_ac_Header=no"
  10374. fi
  10375. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10376. +
  10377. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10378. fi
  10379. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  10380. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  10381. +ac_res=`eval echo '${'$as_ac_Header'}'`
  10382. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  10383. +echo "${ECHO_T}$ac_res" >&6; }
  10384. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  10385. cat >>confdefs.h <<_ACEOF
  10386. #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  10387. @@ -9805,13 +10109,12 @@
  10388. done
  10389. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  10390. if test $ac_header_dirent = dirent.h; then
  10391. - echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10392. -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
  10393. + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10394. +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  10395. if test "${ac_cv_search_opendir+set}" = set; then
  10396. echo $ECHO_N "(cached) $ECHO_C" >&6
  10397. else
  10398. ac_func_search_save_LIBS=$LIBS
  10399. -ac_cv_search_opendir=no
  10400. cat >conftest.$ac_ext <<_ACEOF
  10401. /* confdefs.h. */
  10402. _ACEOF
  10403. @@ -9819,302 +10122,213 @@
  10404. cat >>conftest.$ac_ext <<_ACEOF
  10405. /* end confdefs.h. */
  10406. -/* Override any gcc2 internal prototype to avoid an error. */
  10407. +/* Override any GCC internal prototype to avoid an error.
  10408. + Use char because int might match the return type of a GCC
  10409. + builtin and then its argument prototype would still apply. */
  10410. #ifdef __cplusplus
  10411. extern "C"
  10412. #endif
  10413. -/* We use char because int might match the return type of a gcc2
  10414. - builtin and then its argument prototype would still apply. */
  10415. char opendir ();
  10416. int
  10417. main ()
  10418. {
  10419. -opendir ();
  10420. +return opendir ();
  10421. ;
  10422. return 0;
  10423. }
  10424. _ACEOF
  10425. -rm -f conftest.$ac_objext conftest$ac_exeext
  10426. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10427. - (eval $ac_link) 2>conftest.er1
  10428. +for ac_lib in '' dir; do
  10429. + if test -z "$ac_lib"; then
  10430. + ac_res="none required"
  10431. + else
  10432. + ac_res=-l$ac_lib
  10433. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10434. + fi
  10435. + rm -f conftest.$ac_objext conftest$ac_exeext
  10436. +if { (ac_try="$ac_link"
  10437. +case "(($ac_try" in
  10438. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10439. + *) ac_try_echo=$ac_try;;
  10440. +esac
  10441. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10442. + (eval "$ac_link") 2>conftest.er1
  10443. ac_status=$?
  10444. grep -v '^ *+' conftest.er1 >conftest.err
  10445. rm -f conftest.er1
  10446. cat conftest.err >&5
  10447. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10448. - (exit $ac_status); } &&
  10449. - { ac_try='test -z "$ac_c_werror_flag"
  10450. - || test ! -s conftest.err'
  10451. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10452. - (eval $ac_try) 2>&5
  10453. - ac_status=$?
  10454. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10455. - (exit $ac_status); }; } &&
  10456. - { ac_try='test -s conftest$ac_exeext'
  10457. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10458. - (eval $ac_try) 2>&5
  10459. - ac_status=$?
  10460. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10461. - (exit $ac_status); }; }; then
  10462. - ac_cv_search_opendir="none required"
  10463. + (exit $ac_status); } && {
  10464. + test -z "$ac_c_werror_flag" ||
  10465. + test ! -s conftest.err
  10466. + } && test -s conftest$ac_exeext &&
  10467. + $as_test_x conftest$ac_exeext; then
  10468. + ac_cv_search_opendir=$ac_res
  10469. else
  10470. echo "$as_me: failed program was:" >&5
  10471. sed 's/^/| /' conftest.$ac_ext >&5
  10472. +
  10473. fi
  10474. -rm -f conftest.err conftest.$ac_objext \
  10475. - conftest$ac_exeext conftest.$ac_ext
  10476. -if test "$ac_cv_search_opendir" = no; then
  10477. - for ac_lib in dir; do
  10478. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10479. - cat >conftest.$ac_ext <<_ACEOF
  10480. +
  10481. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10482. + conftest$ac_exeext
  10483. + if test "${ac_cv_search_opendir+set}" = set; then
  10484. + break
  10485. +fi
  10486. +done
  10487. +if test "${ac_cv_search_opendir+set}" = set; then
  10488. + :
  10489. +else
  10490. + ac_cv_search_opendir=no
  10491. +fi
  10492. +rm conftest.$ac_ext
  10493. +LIBS=$ac_func_search_save_LIBS
  10494. +fi
  10495. +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10496. +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  10497. +ac_res=$ac_cv_search_opendir
  10498. +if test "$ac_res" != no; then
  10499. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  10500. +
  10501. +fi
  10502. +
  10503. +else
  10504. + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10505. +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  10506. +if test "${ac_cv_search_opendir+set}" = set; then
  10507. + echo $ECHO_N "(cached) $ECHO_C" >&6
  10508. +else
  10509. + ac_func_search_save_LIBS=$LIBS
  10510. +cat >conftest.$ac_ext <<_ACEOF
  10511. /* confdefs.h. */
  10512. _ACEOF
  10513. cat confdefs.h >>conftest.$ac_ext
  10514. cat >>conftest.$ac_ext <<_ACEOF
  10515. /* end confdefs.h. */
  10516. -/* Override any gcc2 internal prototype to avoid an error. */
  10517. +/* Override any GCC internal prototype to avoid an error.
  10518. + Use char because int might match the return type of a GCC
  10519. + builtin and then its argument prototype would still apply. */
  10520. #ifdef __cplusplus
  10521. extern "C"
  10522. #endif
  10523. -/* We use char because int might match the return type of a gcc2
  10524. - builtin and then its argument prototype would still apply. */
  10525. char opendir ();
  10526. int
  10527. main ()
  10528. {
  10529. -opendir ();
  10530. +return opendir ();
  10531. ;
  10532. return 0;
  10533. }
  10534. _ACEOF
  10535. -rm -f conftest.$ac_objext conftest$ac_exeext
  10536. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10537. - (eval $ac_link) 2>conftest.er1
  10538. +for ac_lib in '' x; do
  10539. + if test -z "$ac_lib"; then
  10540. + ac_res="none required"
  10541. + else
  10542. + ac_res=-l$ac_lib
  10543. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10544. + fi
  10545. + rm -f conftest.$ac_objext conftest$ac_exeext
  10546. +if { (ac_try="$ac_link"
  10547. +case "(($ac_try" in
  10548. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10549. + *) ac_try_echo=$ac_try;;
  10550. +esac
  10551. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10552. + (eval "$ac_link") 2>conftest.er1
  10553. ac_status=$?
  10554. grep -v '^ *+' conftest.er1 >conftest.err
  10555. rm -f conftest.er1
  10556. cat conftest.err >&5
  10557. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10558. - (exit $ac_status); } &&
  10559. - { ac_try='test -z "$ac_c_werror_flag"
  10560. - || test ! -s conftest.err'
  10561. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10562. - (eval $ac_try) 2>&5
  10563. - ac_status=$?
  10564. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10565. - (exit $ac_status); }; } &&
  10566. - { ac_try='test -s conftest$ac_exeext'
  10567. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10568. - (eval $ac_try) 2>&5
  10569. - ac_status=$?
  10570. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10571. - (exit $ac_status); }; }; then
  10572. - ac_cv_search_opendir="-l$ac_lib"
  10573. -break
  10574. + (exit $ac_status); } && {
  10575. + test -z "$ac_c_werror_flag" ||
  10576. + test ! -s conftest.err
  10577. + } && test -s conftest$ac_exeext &&
  10578. + $as_test_x conftest$ac_exeext; then
  10579. + ac_cv_search_opendir=$ac_res
  10580. else
  10581. echo "$as_me: failed program was:" >&5
  10582. sed 's/^/| /' conftest.$ac_ext >&5
  10583. +
  10584. fi
  10585. -rm -f conftest.err conftest.$ac_objext \
  10586. - conftest$ac_exeext conftest.$ac_ext
  10587. - done
  10588. +
  10589. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10590. + conftest$ac_exeext
  10591. + if test "${ac_cv_search_opendir+set}" = set; then
  10592. + break
  10593. +fi
  10594. +done
  10595. +if test "${ac_cv_search_opendir+set}" = set; then
  10596. + :
  10597. +else
  10598. + ac_cv_search_opendir=no
  10599. fi
  10600. +rm conftest.$ac_ext
  10601. LIBS=$ac_func_search_save_LIBS
  10602. fi
  10603. -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10604. -echo "${ECHO_T}$ac_cv_search_opendir" >&6
  10605. -if test "$ac_cv_search_opendir" != no; then
  10606. - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
  10607. +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10608. +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  10609. +ac_res=$ac_cv_search_opendir
  10610. +if test "$ac_res" != no; then
  10611. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  10612. fi
  10613. -else
  10614. - echo "$as_me:$LINENO: checking for library containing opendir" >&5
  10615. -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
  10616. -if test "${ac_cv_search_opendir+set}" = set; then
  10617. +fi
  10618. +
  10619. +
  10620. +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  10621. +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  10622. +if test "${ac_cv_header_stdc+set}" = set; then
  10623. echo $ECHO_N "(cached) $ECHO_C" >&6
  10624. else
  10625. - ac_func_search_save_LIBS=$LIBS
  10626. -ac_cv_search_opendir=no
  10627. -cat >conftest.$ac_ext <<_ACEOF
  10628. + cat >conftest.$ac_ext <<_ACEOF
  10629. /* confdefs.h. */
  10630. _ACEOF
  10631. cat confdefs.h >>conftest.$ac_ext
  10632. cat >>conftest.$ac_ext <<_ACEOF
  10633. /* end confdefs.h. */
  10634. +#include <stdlib.h>
  10635. +#include <stdarg.h>
  10636. +#include <string.h>
  10637. +#include <float.h>
  10638. -/* Override any gcc2 internal prototype to avoid an error. */
  10639. -#ifdef __cplusplus
  10640. -extern "C"
  10641. -#endif
  10642. -/* We use char because int might match the return type of a gcc2
  10643. - builtin and then its argument prototype would still apply. */
  10644. -char opendir ();
  10645. int
  10646. main ()
  10647. {
  10648. -opendir ();
  10649. +
  10650. ;
  10651. return 0;
  10652. }
  10653. _ACEOF
  10654. -rm -f conftest.$ac_objext conftest$ac_exeext
  10655. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10656. - (eval $ac_link) 2>conftest.er1
  10657. +rm -f conftest.$ac_objext
  10658. +if { (ac_try="$ac_compile"
  10659. +case "(($ac_try" in
  10660. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10661. + *) ac_try_echo=$ac_try;;
  10662. +esac
  10663. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10664. + (eval "$ac_compile") 2>conftest.er1
  10665. ac_status=$?
  10666. grep -v '^ *+' conftest.er1 >conftest.err
  10667. rm -f conftest.er1
  10668. cat conftest.err >&5
  10669. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10670. - (exit $ac_status); } &&
  10671. - { ac_try='test -z "$ac_c_werror_flag"
  10672. - || test ! -s conftest.err'
  10673. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10674. - (eval $ac_try) 2>&5
  10675. - ac_status=$?
  10676. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10677. - (exit $ac_status); }; } &&
  10678. - { ac_try='test -s conftest$ac_exeext'
  10679. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10680. - (eval $ac_try) 2>&5
  10681. - ac_status=$?
  10682. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10683. - (exit $ac_status); }; }; then
  10684. - ac_cv_search_opendir="none required"
  10685. -else
  10686. - echo "$as_me: failed program was:" >&5
  10687. -sed 's/^/| /' conftest.$ac_ext >&5
  10688. -
  10689. -fi
  10690. -rm -f conftest.err conftest.$ac_objext \
  10691. - conftest$ac_exeext conftest.$ac_ext
  10692. -if test "$ac_cv_search_opendir" = no; then
  10693. - for ac_lib in x; do
  10694. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10695. - cat >conftest.$ac_ext <<_ACEOF
  10696. -/* confdefs.h. */
  10697. -_ACEOF
  10698. -cat confdefs.h >>conftest.$ac_ext
  10699. -cat >>conftest.$ac_ext <<_ACEOF
  10700. -/* end confdefs.h. */
  10701. -
  10702. -/* Override any gcc2 internal prototype to avoid an error. */
  10703. -#ifdef __cplusplus
  10704. -extern "C"
  10705. -#endif
  10706. -/* We use char because int might match the return type of a gcc2
  10707. - builtin and then its argument prototype would still apply. */
  10708. -char opendir ();
  10709. -int
  10710. -main ()
  10711. -{
  10712. -opendir ();
  10713. - ;
  10714. - return 0;
  10715. -}
  10716. -_ACEOF
  10717. -rm -f conftest.$ac_objext conftest$ac_exeext
  10718. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10719. - (eval $ac_link) 2>conftest.er1
  10720. - ac_status=$?
  10721. - grep -v '^ *+' conftest.er1 >conftest.err
  10722. - rm -f conftest.er1
  10723. - cat conftest.err >&5
  10724. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10725. - (exit $ac_status); } &&
  10726. - { ac_try='test -z "$ac_c_werror_flag"
  10727. - || test ! -s conftest.err'
  10728. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10729. - (eval $ac_try) 2>&5
  10730. - ac_status=$?
  10731. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10732. - (exit $ac_status); }; } &&
  10733. - { ac_try='test -s conftest$ac_exeext'
  10734. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10735. - (eval $ac_try) 2>&5
  10736. - ac_status=$?
  10737. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10738. - (exit $ac_status); }; }; then
  10739. - ac_cv_search_opendir="-l$ac_lib"
  10740. -break
  10741. -else
  10742. - echo "$as_me: failed program was:" >&5
  10743. -sed 's/^/| /' conftest.$ac_ext >&5
  10744. -
  10745. -fi
  10746. -rm -f conftest.err conftest.$ac_objext \
  10747. - conftest$ac_exeext conftest.$ac_ext
  10748. - done
  10749. -fi
  10750. -LIBS=$ac_func_search_save_LIBS
  10751. -fi
  10752. -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  10753. -echo "${ECHO_T}$ac_cv_search_opendir" >&6
  10754. -if test "$ac_cv_search_opendir" != no; then
  10755. - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
  10756. -
  10757. -fi
  10758. -
  10759. -fi
  10760. -
  10761. -
  10762. -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  10763. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  10764. -if test "${ac_cv_header_stdc+set}" = set; then
  10765. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10766. -else
  10767. - cat >conftest.$ac_ext <<_ACEOF
  10768. -/* confdefs.h. */
  10769. -_ACEOF
  10770. -cat confdefs.h >>conftest.$ac_ext
  10771. -cat >>conftest.$ac_ext <<_ACEOF
  10772. -/* end confdefs.h. */
  10773. -#include <stdlib.h>
  10774. -#include <stdarg.h>
  10775. -#include <string.h>
  10776. -#include <float.h>
  10777. -
  10778. -int
  10779. -main ()
  10780. -{
  10781. -
  10782. - ;
  10783. - return 0;
  10784. -}
  10785. -_ACEOF
  10786. -rm -f conftest.$ac_objext
  10787. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10788. - (eval $ac_compile) 2>conftest.er1
  10789. - ac_status=$?
  10790. - grep -v '^ *+' conftest.er1 >conftest.err
  10791. - rm -f conftest.er1
  10792. - cat conftest.err >&5
  10793. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10794. - (exit $ac_status); } &&
  10795. - { ac_try='test -z "$ac_c_werror_flag"
  10796. - || test ! -s conftest.err'
  10797. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10798. - (eval $ac_try) 2>&5
  10799. - ac_status=$?
  10800. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10801. - (exit $ac_status); }; } &&
  10802. - { ac_try='test -s conftest.$ac_objext'
  10803. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10804. - (eval $ac_try) 2>&5
  10805. - ac_status=$?
  10806. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10807. - (exit $ac_status); }; }; then
  10808. + (exit $ac_status); } && {
  10809. + test -z "$ac_c_werror_flag" ||
  10810. + test ! -s conftest.err
  10811. + } && test -s conftest.$ac_objext; then
  10812. ac_cv_header_stdc=yes
  10813. else
  10814. echo "$as_me: failed program was:" >&5
  10815. sed 's/^/| /' conftest.$ac_ext >&5
  10816. -ac_cv_header_stdc=no
  10817. + ac_cv_header_stdc=no
  10818. fi
  10819. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10820. +
  10821. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10822. if test $ac_cv_header_stdc = yes; then
  10823. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  10824. @@ -10170,6 +10384,7 @@
  10825. cat >>conftest.$ac_ext <<_ACEOF
  10826. /* end confdefs.h. */
  10827. #include <ctype.h>
  10828. +#include <stdlib.h>
  10829. #if ((' ' & 0x0FF) == 0x020)
  10830. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  10831. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  10832. @@ -10189,18 +10404,27 @@
  10833. for (i = 0; i < 256; i++)
  10834. if (XOR (islower (i), ISLOWER (i))
  10835. || toupper (i) != TOUPPER (i))
  10836. - exit(2);
  10837. - exit (0);
  10838. + return 2;
  10839. + return 0;
  10840. }
  10841. _ACEOF
  10842. rm -f conftest$ac_exeext
  10843. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10844. - (eval $ac_link) 2>&5
  10845. +if { (ac_try="$ac_link"
  10846. +case "(($ac_try" in
  10847. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10848. + *) ac_try_echo=$ac_try;;
  10849. +esac
  10850. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10851. + (eval "$ac_link") 2>&5
  10852. ac_status=$?
  10853. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10854. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  10855. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10856. - (eval $ac_try) 2>&5
  10857. + { (case "(($ac_try" in
  10858. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10859. + *) ac_try_echo=$ac_try;;
  10860. +esac
  10861. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10862. + (eval "$ac_try") 2>&5
  10863. ac_status=$?
  10864. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10865. (exit $ac_status); }; }; then
  10866. @@ -10213,12 +10437,14 @@
  10867. ( exit $ac_status )
  10868. ac_cv_header_stdc=no
  10869. fi
  10870. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  10871. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  10872. fi
  10873. +
  10874. +
  10875. fi
  10876. fi
  10877. -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  10878. -echo "${ECHO_T}$ac_cv_header_stdc" >&6
  10879. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  10880. +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  10881. if test $ac_cv_header_stdc = yes; then
  10882. cat >>confdefs.h <<\_ACEOF
  10883. @@ -10227,8 +10453,8 @@
  10884. fi
  10885. -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  10886. -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
  10887. +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  10888. +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
  10889. if test "${ac_cv_header_sys_wait_h+set}" = set; then
  10890. echo $ECHO_N "(cached) $ECHO_C" >&6
  10891. else
  10892. @@ -10241,7 +10467,7 @@
  10893. #include <sys/types.h>
  10894. #include <sys/wait.h>
  10895. #ifndef WEXITSTATUS
  10896. -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
  10897. +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
  10898. #endif
  10899. #ifndef WIFEXITED
  10900. # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  10901. @@ -10258,38 +10484,34 @@
  10902. }
  10903. _ACEOF
  10904. rm -f conftest.$ac_objext
  10905. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10906. - (eval $ac_compile) 2>conftest.er1
  10907. +if { (ac_try="$ac_compile"
  10908. +case "(($ac_try" in
  10909. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10910. + *) ac_try_echo=$ac_try;;
  10911. +esac
  10912. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10913. + (eval "$ac_compile") 2>conftest.er1
  10914. ac_status=$?
  10915. grep -v '^ *+' conftest.er1 >conftest.err
  10916. rm -f conftest.er1
  10917. cat conftest.err >&5
  10918. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10919. - (exit $ac_status); } &&
  10920. - { ac_try='test -z "$ac_c_werror_flag"
  10921. - || test ! -s conftest.err'
  10922. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10923. - (eval $ac_try) 2>&5
  10924. - ac_status=$?
  10925. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10926. - (exit $ac_status); }; } &&
  10927. - { ac_try='test -s conftest.$ac_objext'
  10928. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10929. - (eval $ac_try) 2>&5
  10930. - ac_status=$?
  10931. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10932. - (exit $ac_status); }; }; then
  10933. + (exit $ac_status); } && {
  10934. + test -z "$ac_c_werror_flag" ||
  10935. + test ! -s conftest.err
  10936. + } && test -s conftest.$ac_objext; then
  10937. ac_cv_header_sys_wait_h=yes
  10938. else
  10939. echo "$as_me: failed program was:" >&5
  10940. sed 's/^/| /' conftest.$ac_ext >&5
  10941. -ac_cv_header_sys_wait_h=no
  10942. + ac_cv_header_sys_wait_h=no
  10943. fi
  10944. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  10945. +
  10946. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10947. fi
  10948. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  10949. -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
  10950. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  10951. +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
  10952. if test $ac_cv_header_sys_wait_h = yes; then
  10953. cat >>confdefs.h <<\_ACEOF
  10954. @@ -10300,8 +10522,8 @@
  10955. if test $ac_cv_header_sys_wait_h = no; then
  10956. - echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
  10957. -echo $ECHO_N "checking for sys/wait.h that defines union wait... $ECHO_C" >&6
  10958. + { echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
  10959. +echo $ECHO_N "checking for sys/wait.h that defines union wait... $ECHO_C" >&6; }
  10960. cat >conftest.$ac_ext <<_ACEOF
  10961. /* confdefs.h. */
  10962. _ACEOF
  10963. @@ -10318,29 +10540,24 @@
  10964. }
  10965. _ACEOF
  10966. rm -f conftest.$ac_objext
  10967. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10968. - (eval $ac_compile) 2>conftest.er1
  10969. +if { (ac_try="$ac_compile"
  10970. +case "(($ac_try" in
  10971. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10972. + *) ac_try_echo=$ac_try;;
  10973. +esac
  10974. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10975. + (eval "$ac_compile") 2>conftest.er1
  10976. ac_status=$?
  10977. grep -v '^ *+' conftest.er1 >conftest.err
  10978. rm -f conftest.er1
  10979. cat conftest.err >&5
  10980. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10981. - (exit $ac_status); } &&
  10982. - { ac_try='test -z "$ac_c_werror_flag"
  10983. - || test ! -s conftest.err'
  10984. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10985. - (eval $ac_try) 2>&5
  10986. - ac_status=$?
  10987. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10988. - (exit $ac_status); }; } &&
  10989. - { ac_try='test -s conftest.$ac_objext'
  10990. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  10991. - (eval $ac_try) 2>&5
  10992. - ac_status=$?
  10993. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10994. - (exit $ac_status); }; }; then
  10995. - echo "$as_me:$LINENO: result: yes" >&5
  10996. -echo "${ECHO_T}yes" >&6
  10997. + (exit $ac_status); } && {
  10998. + test -z "$ac_c_werror_flag" ||
  10999. + test ! -s conftest.err
  11000. + } && test -s conftest.$ac_objext; then
  11001. + { echo "$as_me:$LINENO: result: yes" >&5
  11002. +echo "${ECHO_T}yes" >&6; }
  11003. cat >>confdefs.h <<\_ACEOF
  11004. #define HAVE_SYS_WAIT_H 1
  11005. _ACEOF
  11006. @@ -10353,10 +10570,11 @@
  11007. echo "$as_me: failed program was:" >&5
  11008. sed 's/^/| /' conftest.$ac_ext >&5
  11009. -echo "$as_me:$LINENO: result: no" >&5
  11010. -echo "${ECHO_T}no" >&6
  11011. + { echo "$as_me:$LINENO: result: no" >&5
  11012. +echo "${ECHO_T}no" >&6; }
  11013. fi
  11014. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11015. +
  11016. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11017. fi
  11018. @@ -10410,18 +10628,19 @@
  11019. sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h
  11020. do
  11021. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11022. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11023. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  11024. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11025. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11026. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11027. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  11028. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11029. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11030. echo $ECHO_N "(cached) $ECHO_C" >&6
  11031. fi
  11032. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11033. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11034. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11035. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11036. +echo "${ECHO_T}$ac_res" >&6; }
  11037. else
  11038. # Is the header compilable?
  11039. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11040. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  11041. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11042. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  11043. cat >conftest.$ac_ext <<_ACEOF
  11044. /* confdefs.h. */
  11045. _ACEOF
  11046. @@ -10432,41 +10651,37 @@
  11047. #include <$ac_header>
  11048. _ACEOF
  11049. rm -f conftest.$ac_objext
  11050. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11051. - (eval $ac_compile) 2>conftest.er1
  11052. +if { (ac_try="$ac_compile"
  11053. +case "(($ac_try" in
  11054. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11055. + *) ac_try_echo=$ac_try;;
  11056. +esac
  11057. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11058. + (eval "$ac_compile") 2>conftest.er1
  11059. ac_status=$?
  11060. grep -v '^ *+' conftest.er1 >conftest.err
  11061. rm -f conftest.er1
  11062. cat conftest.err >&5
  11063. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11064. - (exit $ac_status); } &&
  11065. - { ac_try='test -z "$ac_c_werror_flag"
  11066. - || test ! -s conftest.err'
  11067. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11068. - (eval $ac_try) 2>&5
  11069. - ac_status=$?
  11070. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11071. - (exit $ac_status); }; } &&
  11072. - { ac_try='test -s conftest.$ac_objext'
  11073. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11074. - (eval $ac_try) 2>&5
  11075. - ac_status=$?
  11076. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11077. - (exit $ac_status); }; }; then
  11078. + (exit $ac_status); } && {
  11079. + test -z "$ac_c_werror_flag" ||
  11080. + test ! -s conftest.err
  11081. + } && test -s conftest.$ac_objext; then
  11082. ac_header_compiler=yes
  11083. else
  11084. echo "$as_me: failed program was:" >&5
  11085. sed 's/^/| /' conftest.$ac_ext >&5
  11086. -ac_header_compiler=no
  11087. + ac_header_compiler=no
  11088. fi
  11089. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11090. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11091. -echo "${ECHO_T}$ac_header_compiler" >&6
  11092. +
  11093. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11094. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11095. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  11096. # Is the header present?
  11097. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11098. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  11099. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11100. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  11101. cat >conftest.$ac_ext <<_ACEOF
  11102. /* confdefs.h. */
  11103. _ACEOF
  11104. @@ -10475,24 +10690,22 @@
  11105. /* end confdefs.h. */
  11106. #include <$ac_header>
  11107. _ACEOF
  11108. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  11109. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  11110. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  11111. +case "(($ac_try" in
  11112. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11113. + *) ac_try_echo=$ac_try;;
  11114. +esac
  11115. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11116. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11117. ac_status=$?
  11118. grep -v '^ *+' conftest.er1 >conftest.err
  11119. rm -f conftest.er1
  11120. cat conftest.err >&5
  11121. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11122. - (exit $ac_status); } >/dev/null; then
  11123. - if test -s conftest.err; then
  11124. - ac_cpp_err=$ac_c_preproc_warn_flag
  11125. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  11126. - else
  11127. - ac_cpp_err=
  11128. - fi
  11129. -else
  11130. - ac_cpp_err=yes
  11131. -fi
  11132. -if test -z "$ac_cpp_err"; then
  11133. + (exit $ac_status); } >/dev/null && {
  11134. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11135. + test ! -s conftest.err
  11136. + }; then
  11137. ac_header_preproc=yes
  11138. else
  11139. echo "$as_me: failed program was:" >&5
  11140. @@ -10500,9 +10713,10 @@
  11141. ac_header_preproc=no
  11142. fi
  11143. +
  11144. rm -f conftest.err conftest.$ac_ext
  11145. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11146. -echo "${ECHO_T}$ac_header_preproc" >&6
  11147. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11148. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  11149. # So? What about this header?
  11150. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11151. @@ -10526,25 +10740,19 @@
  11152. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11153. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11154. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11155. - (
  11156. - cat <<\_ASBOX
  11157. -## ------------------------------------------ ##
  11158. -## Report this to the AC_PACKAGE_NAME lists. ##
  11159. -## ------------------------------------------ ##
  11160. -_ASBOX
  11161. - ) |
  11162. - sed "s/^/$as_me: WARNING: /" >&2
  11163. +
  11164. ;;
  11165. esac
  11166. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  11167. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11168. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11169. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  11170. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11171. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11172. echo $ECHO_N "(cached) $ECHO_C" >&6
  11173. else
  11174. eval "$as_ac_Header=\$ac_header_preproc"
  11175. fi
  11176. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11177. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11178. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11179. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11180. +echo "${ECHO_T}$ac_res" >&6; }
  11181. fi
  11182. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  11183. @@ -10557,8 +10765,8 @@
  11184. done
  11185. -echo "$as_me:$LINENO: checking for pthread_np.h" >&5
  11186. -echo $ECHO_N "checking for pthread_np.h... $ECHO_C" >&6
  11187. +{ echo "$as_me:$LINENO: checking for pthread_np.h" >&5
  11188. +echo $ECHO_N "checking for pthread_np.h... $ECHO_C" >&6; }
  11189. cat >conftest.$ac_ext <<_ACEOF
  11190. /* confdefs.h. */
  11191. _ACEOF
  11192. @@ -10577,29 +10785,24 @@
  11193. }
  11194. _ACEOF
  11195. rm -f conftest.$ac_objext
  11196. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11197. - (eval $ac_compile) 2>conftest.er1
  11198. +if { (ac_try="$ac_compile"
  11199. +case "(($ac_try" in
  11200. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11201. + *) ac_try_echo=$ac_try;;
  11202. +esac
  11203. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11204. + (eval "$ac_compile") 2>conftest.er1
  11205. ac_status=$?
  11206. grep -v '^ *+' conftest.er1 >conftest.err
  11207. rm -f conftest.er1
  11208. cat conftest.err >&5
  11209. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11210. - (exit $ac_status); } &&
  11211. - { ac_try='test -z "$ac_c_werror_flag"
  11212. - || test ! -s conftest.err'
  11213. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11214. - (eval $ac_try) 2>&5
  11215. - ac_status=$?
  11216. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11217. - (exit $ac_status); }; } &&
  11218. - { ac_try='test -s conftest.$ac_objext'
  11219. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11220. - (eval $ac_try) 2>&5
  11221. - ac_status=$?
  11222. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11223. - (exit $ac_status); }; }; then
  11224. - echo "$as_me:$LINENO: result: yes" >&5
  11225. -echo "${ECHO_T}yes" >&6
  11226. + (exit $ac_status); } && {
  11227. + test -z "$ac_c_werror_flag" ||
  11228. + test ! -s conftest.err
  11229. + } && test -s conftest.$ac_objext; then
  11230. + { echo "$as_me:$LINENO: result: yes" >&5
  11231. +echo "${ECHO_T}yes" >&6; }
  11232. cat >>confdefs.h <<\_ACEOF
  11233. #define HAVE_PTHREAD_NP_H 1
  11234. _ACEOF
  11235. @@ -10608,27 +10811,29 @@
  11236. echo "$as_me: failed program was:" >&5
  11237. sed 's/^/| /' conftest.$ac_ext >&5
  11238. -echo "$as_me:$LINENO: result: no" >&5
  11239. -echo "${ECHO_T}no" >&6
  11240. + { echo "$as_me:$LINENO: result: no" >&5
  11241. +echo "${ECHO_T}no" >&6; }
  11242. fi
  11243. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11244. +
  11245. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11246. for ac_header in strings.h
  11247. do
  11248. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11249. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11250. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  11251. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11252. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11253. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11254. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  11255. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11256. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11257. echo $ECHO_N "(cached) $ECHO_C" >&6
  11258. fi
  11259. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11260. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11261. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11262. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11263. +echo "${ECHO_T}$ac_res" >&6; }
  11264. else
  11265. # Is the header compilable?
  11266. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11267. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  11268. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11269. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  11270. cat >conftest.$ac_ext <<_ACEOF
  11271. /* confdefs.h. */
  11272. _ACEOF
  11273. @@ -10639,41 +10844,37 @@
  11274. #include <$ac_header>
  11275. _ACEOF
  11276. rm -f conftest.$ac_objext
  11277. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11278. - (eval $ac_compile) 2>conftest.er1
  11279. +if { (ac_try="$ac_compile"
  11280. +case "(($ac_try" in
  11281. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11282. + *) ac_try_echo=$ac_try;;
  11283. +esac
  11284. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11285. + (eval "$ac_compile") 2>conftest.er1
  11286. ac_status=$?
  11287. grep -v '^ *+' conftest.er1 >conftest.err
  11288. rm -f conftest.er1
  11289. cat conftest.err >&5
  11290. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11291. - (exit $ac_status); } &&
  11292. - { ac_try='test -z "$ac_c_werror_flag"
  11293. - || test ! -s conftest.err'
  11294. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11295. - (eval $ac_try) 2>&5
  11296. - ac_status=$?
  11297. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11298. - (exit $ac_status); }; } &&
  11299. - { ac_try='test -s conftest.$ac_objext'
  11300. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11301. - (eval $ac_try) 2>&5
  11302. - ac_status=$?
  11303. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11304. - (exit $ac_status); }; }; then
  11305. + (exit $ac_status); } && {
  11306. + test -z "$ac_c_werror_flag" ||
  11307. + test ! -s conftest.err
  11308. + } && test -s conftest.$ac_objext; then
  11309. ac_header_compiler=yes
  11310. else
  11311. echo "$as_me: failed program was:" >&5
  11312. sed 's/^/| /' conftest.$ac_ext >&5
  11313. -ac_header_compiler=no
  11314. + ac_header_compiler=no
  11315. fi
  11316. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11317. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11318. -echo "${ECHO_T}$ac_header_compiler" >&6
  11319. +
  11320. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11321. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11322. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  11323. # Is the header present?
  11324. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11325. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  11326. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11327. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  11328. cat >conftest.$ac_ext <<_ACEOF
  11329. /* confdefs.h. */
  11330. _ACEOF
  11331. @@ -10682,24 +10883,22 @@
  11332. /* end confdefs.h. */
  11333. #include <$ac_header>
  11334. _ACEOF
  11335. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  11336. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  11337. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  11338. +case "(($ac_try" in
  11339. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11340. + *) ac_try_echo=$ac_try;;
  11341. +esac
  11342. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11343. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11344. ac_status=$?
  11345. grep -v '^ *+' conftest.er1 >conftest.err
  11346. rm -f conftest.er1
  11347. cat conftest.err >&5
  11348. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11349. - (exit $ac_status); } >/dev/null; then
  11350. - if test -s conftest.err; then
  11351. - ac_cpp_err=$ac_c_preproc_warn_flag
  11352. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  11353. - else
  11354. - ac_cpp_err=
  11355. - fi
  11356. -else
  11357. - ac_cpp_err=yes
  11358. -fi
  11359. -if test -z "$ac_cpp_err"; then
  11360. + (exit $ac_status); } >/dev/null && {
  11361. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11362. + test ! -s conftest.err
  11363. + }; then
  11364. ac_header_preproc=yes
  11365. else
  11366. echo "$as_me: failed program was:" >&5
  11367. @@ -10707,9 +10906,10 @@
  11368. ac_header_preproc=no
  11369. fi
  11370. +
  11371. rm -f conftest.err conftest.$ac_ext
  11372. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11373. -echo "${ECHO_T}$ac_header_preproc" >&6
  11374. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11375. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  11376. # So? What about this header?
  11377. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11378. @@ -10733,25 +10933,19 @@
  11379. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11380. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11381. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11382. - (
  11383. - cat <<\_ASBOX
  11384. -## ------------------------------------------ ##
  11385. -## Report this to the AC_PACKAGE_NAME lists. ##
  11386. -## ------------------------------------------ ##
  11387. -_ASBOX
  11388. - ) |
  11389. - sed "s/^/$as_me: WARNING: /" >&2
  11390. +
  11391. ;;
  11392. esac
  11393. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  11394. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  11395. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  11396. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  11397. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  11398. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11399. echo $ECHO_N "(cached) $ECHO_C" >&6
  11400. else
  11401. eval "$as_ac_Header=\$ac_header_preproc"
  11402. fi
  11403. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  11404. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  11405. +ac_res=`eval echo '${'$as_ac_Header'}'`
  11406. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  11407. +echo "${ECHO_T}$ac_res" >&6; }
  11408. fi
  11409. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  11410. @@ -10770,8 +10964,8 @@
  11411. else
  11412. -echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
  11413. -echo $ECHO_N "checking if strings.h can be included after string.h... $ECHO_C" >&6
  11414. +{ echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
  11415. +echo $ECHO_N "checking if strings.h can be included after string.h... $ECHO_C" >&6; }
  11416. cppflags_save=$CPPFLAGS
  11417. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  11418. cat >conftest.$ac_ext <<_ACEOF
  11419. @@ -10804,47 +10998,43 @@
  11420. }
  11421. _ACEOF
  11422. rm -f conftest.$ac_objext
  11423. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11424. - (eval $ac_compile) 2>conftest.er1
  11425. +if { (ac_try="$ac_compile"
  11426. +case "(($ac_try" in
  11427. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11428. + *) ac_try_echo=$ac_try;;
  11429. +esac
  11430. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11431. + (eval "$ac_compile") 2>conftest.er1
  11432. ac_status=$?
  11433. grep -v '^ *+' conftest.er1 >conftest.err
  11434. rm -f conftest.er1
  11435. cat conftest.err >&5
  11436. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11437. - (exit $ac_status); } &&
  11438. - { ac_try='test -z "$ac_c_werror_flag"
  11439. - || test ! -s conftest.err'
  11440. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11441. - (eval $ac_try) 2>&5
  11442. - ac_status=$?
  11443. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11444. - (exit $ac_status); }; } &&
  11445. - { ac_try='test -s conftest.$ac_objext'
  11446. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11447. - (eval $ac_try) 2>&5
  11448. - ac_status=$?
  11449. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11450. - (exit $ac_status); }; }; then
  11451. - echo "$as_me:$LINENO: result: yes" >&5
  11452. -echo "${ECHO_T}yes" >&6
  11453. + (exit $ac_status); } && {
  11454. + test -z "$ac_c_werror_flag" ||
  11455. + test ! -s conftest.err
  11456. + } && test -s conftest.$ac_objext; then
  11457. + { echo "$as_me:$LINENO: result: yes" >&5
  11458. +echo "${ECHO_T}yes" >&6; }
  11459. else
  11460. echo "$as_me: failed program was:" >&5
  11461. sed 's/^/| /' conftest.$ac_ext >&5
  11462. -cat >>confdefs.h <<\_ACEOF
  11463. + cat >>confdefs.h <<\_ACEOF
  11464. #define NO_STRINGS_WITH_STRING_H 1
  11465. _ACEOF
  11466. - echo "$as_me:$LINENO: result: no" >&5
  11467. -echo "${ECHO_T}no" >&6
  11468. + { echo "$as_me:$LINENO: result: no" >&5
  11469. +echo "${ECHO_T}no" >&6; }
  11470. fi
  11471. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11472. +
  11473. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11474. CPPFLAGS=$cppflags_save
  11475. fi
  11476. if test $ac_cv_c_compiler_gnu = yes; then
  11477. - echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  11478. -echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
  11479. + { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  11480. +echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
  11481. if test "${ac_cv_prog_gcc_traditional+set}" = set; then
  11482. echo $ECHO_N "(cached) $ECHO_C" >&6
  11483. else
  11484. @@ -10885,15 +11075,15 @@
  11485. fi
  11486. fi
  11487. -echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  11488. -echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
  11489. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  11490. +echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
  11491. if test $ac_cv_prog_gcc_traditional = yes; then
  11492. CC="$CC -traditional"
  11493. fi
  11494. fi
  11495. -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  11496. -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
  11497. +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  11498. +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  11499. if test "${ac_cv_c_const+set}" = set; then
  11500. echo $ECHO_N "(cached) $ECHO_C" >&6
  11501. else
  11502. @@ -10911,10 +11101,10 @@
  11503. #ifndef __cplusplus
  11504. /* Ultrix mips cc rejects this. */
  11505. typedef int charset[2];
  11506. - const charset x;
  11507. + const charset cs;
  11508. /* SunOS 4.1.1 cc rejects this. */
  11509. - char const *const *ccp;
  11510. - char **p;
  11511. + char const *const *pcpcc;
  11512. + char **ppc;
  11513. /* NEC SVR4.0.2 mips cc rejects this. */
  11514. struct point {int x, y;};
  11515. static struct point const zero = {0,0};
  11516. @@ -10923,16 +11113,17 @@
  11517. an arm of an if-expression whose if-part is not a constant
  11518. expression */
  11519. const char *g = "string";
  11520. - ccp = &g + (g ? g-g : 0);
  11521. + pcpcc = &g + (g ? g-g : 0);
  11522. /* HPUX 7.0 cc rejects these. */
  11523. - ++ccp;
  11524. - p = (char**) ccp;
  11525. - ccp = (char const *const *) p;
  11526. + ++pcpcc;
  11527. + ppc = (char**) pcpcc;
  11528. + pcpcc = (char const *const *) ppc;
  11529. { /* SCO 3.2v4 cc rejects this. */
  11530. char *t;
  11531. char const *s = 0 ? (char *) 0 : (char const *) 0;
  11532. *t++ = 0;
  11533. + if (s) return 0;
  11534. }
  11535. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  11536. int x[] = {25, 17};
  11537. @@ -10951,7 +11142,9 @@
  11538. }
  11539. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  11540. const int foo = 10;
  11541. + if (!foo) return 0;
  11542. }
  11543. + return !cs[0] && !zero.x;
  11544. #endif
  11545. ;
  11546. @@ -10959,38 +11152,34 @@
  11547. }
  11548. _ACEOF
  11549. rm -f conftest.$ac_objext
  11550. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11551. - (eval $ac_compile) 2>conftest.er1
  11552. +if { (ac_try="$ac_compile"
  11553. +case "(($ac_try" in
  11554. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11555. + *) ac_try_echo=$ac_try;;
  11556. +esac
  11557. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11558. + (eval "$ac_compile") 2>conftest.er1
  11559. ac_status=$?
  11560. grep -v '^ *+' conftest.er1 >conftest.err
  11561. rm -f conftest.er1
  11562. cat conftest.err >&5
  11563. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11564. - (exit $ac_status); } &&
  11565. - { ac_try='test -z "$ac_c_werror_flag"
  11566. - || test ! -s conftest.err'
  11567. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11568. - (eval $ac_try) 2>&5
  11569. - ac_status=$?
  11570. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11571. - (exit $ac_status); }; } &&
  11572. - { ac_try='test -s conftest.$ac_objext'
  11573. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11574. - (eval $ac_try) 2>&5
  11575. - ac_status=$?
  11576. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11577. - (exit $ac_status); }; }; then
  11578. + (exit $ac_status); } && {
  11579. + test -z "$ac_c_werror_flag" ||
  11580. + test ! -s conftest.err
  11581. + } && test -s conftest.$ac_objext; then
  11582. ac_cv_c_const=yes
  11583. else
  11584. echo "$as_me: failed program was:" >&5
  11585. sed 's/^/| /' conftest.$ac_ext >&5
  11586. -ac_cv_c_const=no
  11587. + ac_cv_c_const=no
  11588. fi
  11589. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11590. +
  11591. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11592. fi
  11593. -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  11594. -echo "${ECHO_T}$ac_cv_c_const" >&6
  11595. +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  11596. +echo "${ECHO_T}$ac_cv_c_const" >&6; }
  11597. if test $ac_cv_c_const = no; then
  11598. cat >>confdefs.h <<\_ACEOF
  11599. @@ -10999,8 +11188,8 @@
  11600. fi
  11601. -echo "$as_me:$LINENO: checking for mode_t" >&5
  11602. -echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
  11603. +{ echo "$as_me:$LINENO: checking for mode_t" >&5
  11604. +echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
  11605. if test "${ac_cv_type_mode_t+set}" = set; then
  11606. echo $ECHO_N "(cached) $ECHO_C" >&6
  11607. else
  11608. @@ -11011,50 +11200,47 @@
  11609. cat >>conftest.$ac_ext <<_ACEOF
  11610. /* end confdefs.h. */
  11611. $ac_includes_default
  11612. +typedef mode_t ac__type_new_;
  11613. int
  11614. main ()
  11615. {
  11616. -if ((mode_t *) 0)
  11617. +if ((ac__type_new_ *) 0)
  11618. return 0;
  11619. -if (sizeof (mode_t))
  11620. +if (sizeof (ac__type_new_))
  11621. return 0;
  11622. ;
  11623. return 0;
  11624. }
  11625. _ACEOF
  11626. rm -f conftest.$ac_objext
  11627. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11628. - (eval $ac_compile) 2>conftest.er1
  11629. +if { (ac_try="$ac_compile"
  11630. +case "(($ac_try" in
  11631. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11632. + *) ac_try_echo=$ac_try;;
  11633. +esac
  11634. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11635. + (eval "$ac_compile") 2>conftest.er1
  11636. ac_status=$?
  11637. grep -v '^ *+' conftest.er1 >conftest.err
  11638. rm -f conftest.er1
  11639. cat conftest.err >&5
  11640. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11641. - (exit $ac_status); } &&
  11642. - { ac_try='test -z "$ac_c_werror_flag"
  11643. - || test ! -s conftest.err'
  11644. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11645. - (eval $ac_try) 2>&5
  11646. - ac_status=$?
  11647. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11648. - (exit $ac_status); }; } &&
  11649. - { ac_try='test -s conftest.$ac_objext'
  11650. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11651. - (eval $ac_try) 2>&5
  11652. - ac_status=$?
  11653. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11654. - (exit $ac_status); }; }; then
  11655. + (exit $ac_status); } && {
  11656. + test -z "$ac_c_werror_flag" ||
  11657. + test ! -s conftest.err
  11658. + } && test -s conftest.$ac_objext; then
  11659. ac_cv_type_mode_t=yes
  11660. else
  11661. echo "$as_me: failed program was:" >&5
  11662. sed 's/^/| /' conftest.$ac_ext >&5
  11663. -ac_cv_type_mode_t=no
  11664. + ac_cv_type_mode_t=no
  11665. fi
  11666. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11667. +
  11668. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11669. fi
  11670. -echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  11671. -echo "${ECHO_T}$ac_cv_type_mode_t" >&6
  11672. +{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  11673. +echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
  11674. if test $ac_cv_type_mode_t = yes; then
  11675. :
  11676. else
  11677. @@ -11065,8 +11251,8 @@
  11678. fi
  11679. -echo "$as_me:$LINENO: checking for off_t" >&5
  11680. -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
  11681. +{ echo "$as_me:$LINENO: checking for off_t" >&5
  11682. +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
  11683. if test "${ac_cv_type_off_t+set}" = set; then
  11684. echo $ECHO_N "(cached) $ECHO_C" >&6
  11685. else
  11686. @@ -11077,62 +11263,59 @@
  11687. cat >>conftest.$ac_ext <<_ACEOF
  11688. /* end confdefs.h. */
  11689. $ac_includes_default
  11690. +typedef off_t ac__type_new_;
  11691. int
  11692. main ()
  11693. {
  11694. -if ((off_t *) 0)
  11695. +if ((ac__type_new_ *) 0)
  11696. return 0;
  11697. -if (sizeof (off_t))
  11698. +if (sizeof (ac__type_new_))
  11699. return 0;
  11700. ;
  11701. return 0;
  11702. }
  11703. _ACEOF
  11704. rm -f conftest.$ac_objext
  11705. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11706. - (eval $ac_compile) 2>conftest.er1
  11707. +if { (ac_try="$ac_compile"
  11708. +case "(($ac_try" in
  11709. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11710. + *) ac_try_echo=$ac_try;;
  11711. +esac
  11712. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11713. + (eval "$ac_compile") 2>conftest.er1
  11714. ac_status=$?
  11715. grep -v '^ *+' conftest.er1 >conftest.err
  11716. rm -f conftest.er1
  11717. cat conftest.err >&5
  11718. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11719. - (exit $ac_status); } &&
  11720. - { ac_try='test -z "$ac_c_werror_flag"
  11721. - || test ! -s conftest.err'
  11722. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11723. - (eval $ac_try) 2>&5
  11724. - ac_status=$?
  11725. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11726. - (exit $ac_status); }; } &&
  11727. - { ac_try='test -s conftest.$ac_objext'
  11728. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11729. - (eval $ac_try) 2>&5
  11730. - ac_status=$?
  11731. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11732. - (exit $ac_status); }; }; then
  11733. + (exit $ac_status); } && {
  11734. + test -z "$ac_c_werror_flag" ||
  11735. + test ! -s conftest.err
  11736. + } && test -s conftest.$ac_objext; then
  11737. ac_cv_type_off_t=yes
  11738. else
  11739. echo "$as_me: failed program was:" >&5
  11740. sed 's/^/| /' conftest.$ac_ext >&5
  11741. -ac_cv_type_off_t=no
  11742. + ac_cv_type_off_t=no
  11743. fi
  11744. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11745. +
  11746. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11747. fi
  11748. -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
  11749. -echo "${ECHO_T}$ac_cv_type_off_t" >&6
  11750. +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
  11751. +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
  11752. if test $ac_cv_type_off_t = yes; then
  11753. :
  11754. else
  11755. cat >>confdefs.h <<_ACEOF
  11756. -#define off_t long
  11757. +#define off_t long int
  11758. _ACEOF
  11759. fi
  11760. -echo "$as_me:$LINENO: checking for pid_t" >&5
  11761. -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
  11762. +{ echo "$as_me:$LINENO: checking for pid_t" >&5
  11763. +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
  11764. if test "${ac_cv_type_pid_t+set}" = set; then
  11765. echo $ECHO_N "(cached) $ECHO_C" >&6
  11766. else
  11767. @@ -11143,50 +11326,47 @@
  11768. cat >>conftest.$ac_ext <<_ACEOF
  11769. /* end confdefs.h. */
  11770. $ac_includes_default
  11771. +typedef pid_t ac__type_new_;
  11772. int
  11773. main ()
  11774. {
  11775. -if ((pid_t *) 0)
  11776. +if ((ac__type_new_ *) 0)
  11777. return 0;
  11778. -if (sizeof (pid_t))
  11779. +if (sizeof (ac__type_new_))
  11780. return 0;
  11781. ;
  11782. return 0;
  11783. }
  11784. _ACEOF
  11785. rm -f conftest.$ac_objext
  11786. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11787. - (eval $ac_compile) 2>conftest.er1
  11788. +if { (ac_try="$ac_compile"
  11789. +case "(($ac_try" in
  11790. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11791. + *) ac_try_echo=$ac_try;;
  11792. +esac
  11793. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11794. + (eval "$ac_compile") 2>conftest.er1
  11795. ac_status=$?
  11796. grep -v '^ *+' conftest.er1 >conftest.err
  11797. rm -f conftest.er1
  11798. cat conftest.err >&5
  11799. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11800. - (exit $ac_status); } &&
  11801. - { ac_try='test -z "$ac_c_werror_flag"
  11802. - || test ! -s conftest.err'
  11803. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11804. - (eval $ac_try) 2>&5
  11805. - ac_status=$?
  11806. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11807. - (exit $ac_status); }; } &&
  11808. - { ac_try='test -s conftest.$ac_objext'
  11809. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11810. - (eval $ac_try) 2>&5
  11811. - ac_status=$?
  11812. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11813. - (exit $ac_status); }; }; then
  11814. + (exit $ac_status); } && {
  11815. + test -z "$ac_c_werror_flag" ||
  11816. + test ! -s conftest.err
  11817. + } && test -s conftest.$ac_objext; then
  11818. ac_cv_type_pid_t=yes
  11819. else
  11820. echo "$as_me: failed program was:" >&5
  11821. sed 's/^/| /' conftest.$ac_ext >&5
  11822. -ac_cv_type_pid_t=no
  11823. + ac_cv_type_pid_t=no
  11824. fi
  11825. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11826. +
  11827. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11828. fi
  11829. -echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  11830. -echo "${ECHO_T}$ac_cv_type_pid_t" >&6
  11831. +{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  11832. +echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
  11833. if test $ac_cv_type_pid_t = yes; then
  11834. :
  11835. else
  11836. @@ -11197,8 +11377,8 @@
  11837. fi
  11838. -echo "$as_me:$LINENO: checking for size_t" >&5
  11839. -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
  11840. +{ echo "$as_me:$LINENO: checking for size_t" >&5
  11841. +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
  11842. if test "${ac_cv_type_size_t+set}" = set; then
  11843. echo $ECHO_N "(cached) $ECHO_C" >&6
  11844. else
  11845. @@ -11209,62 +11389,59 @@
  11846. cat >>conftest.$ac_ext <<_ACEOF
  11847. /* end confdefs.h. */
  11848. $ac_includes_default
  11849. +typedef size_t ac__type_new_;
  11850. int
  11851. main ()
  11852. {
  11853. -if ((size_t *) 0)
  11854. +if ((ac__type_new_ *) 0)
  11855. return 0;
  11856. -if (sizeof (size_t))
  11857. +if (sizeof (ac__type_new_))
  11858. return 0;
  11859. ;
  11860. return 0;
  11861. }
  11862. _ACEOF
  11863. rm -f conftest.$ac_objext
  11864. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11865. - (eval $ac_compile) 2>conftest.er1
  11866. +if { (ac_try="$ac_compile"
  11867. +case "(($ac_try" in
  11868. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11869. + *) ac_try_echo=$ac_try;;
  11870. +esac
  11871. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11872. + (eval "$ac_compile") 2>conftest.er1
  11873. ac_status=$?
  11874. grep -v '^ *+' conftest.er1 >conftest.err
  11875. rm -f conftest.er1
  11876. cat conftest.err >&5
  11877. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11878. - (exit $ac_status); } &&
  11879. - { ac_try='test -z "$ac_c_werror_flag"
  11880. - || test ! -s conftest.err'
  11881. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11882. - (eval $ac_try) 2>&5
  11883. - ac_status=$?
  11884. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11885. - (exit $ac_status); }; } &&
  11886. - { ac_try='test -s conftest.$ac_objext'
  11887. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11888. - (eval $ac_try) 2>&5
  11889. - ac_status=$?
  11890. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11891. - (exit $ac_status); }; }; then
  11892. + (exit $ac_status); } && {
  11893. + test -z "$ac_c_werror_flag" ||
  11894. + test ! -s conftest.err
  11895. + } && test -s conftest.$ac_objext; then
  11896. ac_cv_type_size_t=yes
  11897. else
  11898. echo "$as_me: failed program was:" >&5
  11899. sed 's/^/| /' conftest.$ac_ext >&5
  11900. -ac_cv_type_size_t=no
  11901. + ac_cv_type_size_t=no
  11902. fi
  11903. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11904. +
  11905. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11906. fi
  11907. -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  11908. -echo "${ECHO_T}$ac_cv_type_size_t" >&6
  11909. +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  11910. +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
  11911. if test $ac_cv_type_size_t = yes; then
  11912. :
  11913. else
  11914. cat >>confdefs.h <<_ACEOF
  11915. -#define size_t unsigned
  11916. +#define size_t unsigned int
  11917. _ACEOF
  11918. fi
  11919. -echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
  11920. -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
  11921. +{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
  11922. +echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
  11923. if test "${ac_cv_type_uid_t+set}" = set; then
  11924. echo $ECHO_N "(cached) $ECHO_C" >&6
  11925. else
  11926. @@ -11286,8 +11463,8 @@
  11927. rm -f conftest*
  11928. fi
  11929. -echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
  11930. -echo "${ECHO_T}$ac_cv_type_uid_t" >&6
  11931. +{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
  11932. +echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
  11933. if test $ac_cv_type_uid_t = no; then
  11934. cat >>confdefs.h <<\_ACEOF
  11935. @@ -11301,8 +11478,8 @@
  11936. fi
  11937. -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  11938. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
  11939. +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  11940. +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  11941. if test "${ac_cv_header_time+set}" = set; then
  11942. echo $ECHO_N "(cached) $ECHO_C" >&6
  11943. else
  11944. @@ -11326,38 +11503,34 @@
  11945. }
  11946. _ACEOF
  11947. rm -f conftest.$ac_objext
  11948. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  11949. - (eval $ac_compile) 2>conftest.er1
  11950. +if { (ac_try="$ac_compile"
  11951. +case "(($ac_try" in
  11952. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11953. + *) ac_try_echo=$ac_try;;
  11954. +esac
  11955. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11956. + (eval "$ac_compile") 2>conftest.er1
  11957. ac_status=$?
  11958. grep -v '^ *+' conftest.er1 >conftest.err
  11959. rm -f conftest.er1
  11960. cat conftest.err >&5
  11961. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11962. - (exit $ac_status); } &&
  11963. - { ac_try='test -z "$ac_c_werror_flag"
  11964. - || test ! -s conftest.err'
  11965. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11966. - (eval $ac_try) 2>&5
  11967. - ac_status=$?
  11968. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11969. - (exit $ac_status); }; } &&
  11970. - { ac_try='test -s conftest.$ac_objext'
  11971. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  11972. - (eval $ac_try) 2>&5
  11973. - ac_status=$?
  11974. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11975. - (exit $ac_status); }; }; then
  11976. + (exit $ac_status); } && {
  11977. + test -z "$ac_c_werror_flag" ||
  11978. + test ! -s conftest.err
  11979. + } && test -s conftest.$ac_objext; then
  11980. ac_cv_header_time=yes
  11981. else
  11982. echo "$as_me: failed program was:" >&5
  11983. sed 's/^/| /' conftest.$ac_ext >&5
  11984. -ac_cv_header_time=no
  11985. + ac_cv_header_time=no
  11986. fi
  11987. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  11988. +
  11989. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11990. fi
  11991. -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  11992. -echo "${ECHO_T}$ac_cv_header_time" >&6
  11993. +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  11994. +echo "${ECHO_T}$ac_cv_header_time" >&6; }
  11995. if test $ac_cv_header_time = yes; then
  11996. cat >>confdefs.h <<\_ACEOF
  11997. @@ -11366,8 +11539,8 @@
  11998. fi
  11999. -echo "$as_me:$LINENO: checking for ino_t" >&5
  12000. -echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
  12001. +{ echo "$as_me:$LINENO: checking for ino_t" >&5
  12002. +echo $ECHO_N "checking for ino_t... $ECHO_C" >&6; }
  12003. if test "${ac_cv_type_ino_t+set}" = set; then
  12004. echo $ECHO_N "(cached) $ECHO_C" >&6
  12005. else
  12006. @@ -11378,50 +11551,47 @@
  12007. cat >>conftest.$ac_ext <<_ACEOF
  12008. /* end confdefs.h. */
  12009. $ac_includes_default
  12010. +typedef ino_t ac__type_new_;
  12011. int
  12012. main ()
  12013. {
  12014. -if ((ino_t *) 0)
  12015. +if ((ac__type_new_ *) 0)
  12016. return 0;
  12017. -if (sizeof (ino_t))
  12018. +if (sizeof (ac__type_new_))
  12019. return 0;
  12020. ;
  12021. return 0;
  12022. }
  12023. _ACEOF
  12024. rm -f conftest.$ac_objext
  12025. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  12026. - (eval $ac_compile) 2>conftest.er1
  12027. +if { (ac_try="$ac_compile"
  12028. +case "(($ac_try" in
  12029. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12030. + *) ac_try_echo=$ac_try;;
  12031. +esac
  12032. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12033. + (eval "$ac_compile") 2>conftest.er1
  12034. ac_status=$?
  12035. grep -v '^ *+' conftest.er1 >conftest.err
  12036. rm -f conftest.er1
  12037. cat conftest.err >&5
  12038. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12039. - (exit $ac_status); } &&
  12040. - { ac_try='test -z "$ac_c_werror_flag"
  12041. - || test ! -s conftest.err'
  12042. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12043. - (eval $ac_try) 2>&5
  12044. - ac_status=$?
  12045. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12046. - (exit $ac_status); }; } &&
  12047. - { ac_try='test -s conftest.$ac_objext'
  12048. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12049. - (eval $ac_try) 2>&5
  12050. - ac_status=$?
  12051. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12052. - (exit $ac_status); }; }; then
  12053. + (exit $ac_status); } && {
  12054. + test -z "$ac_c_werror_flag" ||
  12055. + test ! -s conftest.err
  12056. + } && test -s conftest.$ac_objext; then
  12057. ac_cv_type_ino_t=yes
  12058. else
  12059. echo "$as_me: failed program was:" >&5
  12060. sed 's/^/| /' conftest.$ac_ext >&5
  12061. -ac_cv_type_ino_t=no
  12062. + ac_cv_type_ino_t=no
  12063. fi
  12064. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  12065. +
  12066. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12067. fi
  12068. -echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
  12069. -echo "${ECHO_T}$ac_cv_type_ino_t" >&6
  12070. +{ echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
  12071. +echo "${ECHO_T}$ac_cv_type_ino_t" >&6; }
  12072. if test $ac_cv_type_ino_t = yes; then
  12073. :
  12074. else
  12075. @@ -11432,8 +11602,8 @@
  12076. fi
  12077. -echo "$as_me:$LINENO: checking for dev_t" >&5
  12078. -echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
  12079. +{ echo "$as_me:$LINENO: checking for dev_t" >&5
  12080. +echo $ECHO_N "checking for dev_t... $ECHO_C" >&6; }
  12081. if test "${ac_cv_type_dev_t+set}" = set; then
  12082. echo $ECHO_N "(cached) $ECHO_C" >&6
  12083. else
  12084. @@ -11444,50 +11614,47 @@
  12085. cat >>conftest.$ac_ext <<_ACEOF
  12086. /* end confdefs.h. */
  12087. $ac_includes_default
  12088. +typedef dev_t ac__type_new_;
  12089. int
  12090. main ()
  12091. {
  12092. -if ((dev_t *) 0)
  12093. +if ((ac__type_new_ *) 0)
  12094. return 0;
  12095. -if (sizeof (dev_t))
  12096. +if (sizeof (ac__type_new_))
  12097. return 0;
  12098. ;
  12099. return 0;
  12100. }
  12101. _ACEOF
  12102. rm -f conftest.$ac_objext
  12103. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  12104. - (eval $ac_compile) 2>conftest.er1
  12105. +if { (ac_try="$ac_compile"
  12106. +case "(($ac_try" in
  12107. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12108. + *) ac_try_echo=$ac_try;;
  12109. +esac
  12110. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12111. + (eval "$ac_compile") 2>conftest.er1
  12112. ac_status=$?
  12113. grep -v '^ *+' conftest.er1 >conftest.err
  12114. rm -f conftest.er1
  12115. cat conftest.err >&5
  12116. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12117. - (exit $ac_status); } &&
  12118. - { ac_try='test -z "$ac_c_werror_flag"
  12119. - || test ! -s conftest.err'
  12120. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12121. - (eval $ac_try) 2>&5
  12122. - ac_status=$?
  12123. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12124. - (exit $ac_status); }; } &&
  12125. - { ac_try='test -s conftest.$ac_objext'
  12126. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12127. - (eval $ac_try) 2>&5
  12128. - ac_status=$?
  12129. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12130. - (exit $ac_status); }; }; then
  12131. + (exit $ac_status); } && {
  12132. + test -z "$ac_c_werror_flag" ||
  12133. + test ! -s conftest.err
  12134. + } && test -s conftest.$ac_objext; then
  12135. ac_cv_type_dev_t=yes
  12136. else
  12137. echo "$as_me: failed program was:" >&5
  12138. sed 's/^/| /' conftest.$ac_ext >&5
  12139. -ac_cv_type_dev_t=no
  12140. + ac_cv_type_dev_t=no
  12141. fi
  12142. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  12143. +
  12144. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12145. fi
  12146. -echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
  12147. -echo "${ECHO_T}$ac_cv_type_dev_t" >&6
  12148. +{ echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
  12149. +echo "${ECHO_T}$ac_cv_type_dev_t" >&6; }
  12150. if test $ac_cv_type_dev_t = yes; then
  12151. :
  12152. else
  12153. @@ -11499,11 +11666,11 @@
  12154. fi
  12155. -echo "$as_me:$LINENO: checking for rlim_t" >&5
  12156. -echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
  12157. +{ echo "$as_me:$LINENO: checking for rlim_t" >&5
  12158. +echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6; }
  12159. if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then
  12160. - echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
  12161. -echo "${ECHO_T}(cached) $ac_cv_type_rlim_t" >&6
  12162. + { echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
  12163. +echo "${ECHO_T}(cached) $ac_cv_type_rlim_t" >&6; }
  12164. else
  12165. cat >conftest.$ac_ext <<_ACEOF
  12166. /* confdefs.h. */
  12167. @@ -11530,8 +11697,8 @@
  12168. fi
  12169. rm -f conftest*
  12170. - echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
  12171. -echo "${ECHO_T}$ac_cv_type_rlim_t" >&6
  12172. + { echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
  12173. +echo "${ECHO_T}$ac_cv_type_rlim_t" >&6; }
  12174. fi
  12175. if test $ac_cv_type_rlim_t = no; then
  12176. cat >> confdefs.h <<\EOF
  12177. @@ -11539,11 +11706,11 @@
  12178. EOF
  12179. fi
  12180. -echo "$as_me:$LINENO: checking for stack_t" >&5
  12181. -echo $ECHO_N "checking for stack_t... $ECHO_C" >&6
  12182. +{ echo "$as_me:$LINENO: checking for stack_t" >&5
  12183. +echo $ECHO_N "checking for stack_t... $ECHO_C" >&6; }
  12184. if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then
  12185. - echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
  12186. -echo "${ECHO_T}(cached) $ac_cv_type_stack_t" >&6
  12187. + { echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
  12188. +echo "${ECHO_T}(cached) $ac_cv_type_stack_t" >&6; }
  12189. else
  12190. cat >conftest.$ac_ext <<_ACEOF
  12191. /* confdefs.h. */
  12192. @@ -11568,8 +11735,8 @@
  12193. fi
  12194. rm -f conftest*
  12195. - echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
  12196. -echo "${ECHO_T}$ac_cv_type_stack_t" >&6
  12197. + { echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
  12198. +echo "${ECHO_T}$ac_cv_type_stack_t" >&6; }
  12199. fi
  12200. if test $ac_cv_type_stack_t = no; then
  12201. cat >> confdefs.h <<\EOF
  12202. @@ -11577,8 +11744,8 @@
  12203. EOF
  12204. fi
  12205. -echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
  12206. -echo $ECHO_N "checking whether stack_t has an ss_base field... $ECHO_C" >&6
  12207. +{ echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
  12208. +echo $ECHO_N "checking whether stack_t has an ss_base field... $ECHO_C" >&6; }
  12209. cat >conftest.$ac_ext <<_ACEOF
  12210. /* confdefs.h. */
  12211. _ACEOF
  12212. @@ -11603,29 +11770,24 @@
  12213. }
  12214. _ACEOF
  12215. rm -f conftest.$ac_objext
  12216. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  12217. - (eval $ac_compile) 2>conftest.er1
  12218. +if { (ac_try="$ac_compile"
  12219. +case "(($ac_try" in
  12220. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12221. + *) ac_try_echo=$ac_try;;
  12222. +esac
  12223. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12224. + (eval "$ac_compile") 2>conftest.er1
  12225. ac_status=$?
  12226. grep -v '^ *+' conftest.er1 >conftest.err
  12227. rm -f conftest.er1
  12228. cat conftest.err >&5
  12229. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12230. - (exit $ac_status); } &&
  12231. - { ac_try='test -z "$ac_c_werror_flag"
  12232. - || test ! -s conftest.err'
  12233. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12234. - (eval $ac_try) 2>&5
  12235. - ac_status=$?
  12236. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12237. - (exit $ac_status); }; } &&
  12238. - { ac_try='test -s conftest.$ac_objext'
  12239. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12240. - (eval $ac_try) 2>&5
  12241. - ac_status=$?
  12242. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12243. - (exit $ac_status); }; }; then
  12244. - echo "$as_me:$LINENO: result: yes" >&5
  12245. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12246. + (exit $ac_status); } && {
  12247. + test -z "$ac_c_werror_flag" ||
  12248. + test ! -s conftest.err
  12249. + } && test -s conftest.$ac_objext; then
  12250. + { echo "$as_me:$LINENO: result: yes" >&5
  12251. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12252. #define HAVE_SS_BASE 1
  12253. _ACEOF
  12254. @@ -11633,26 +11795,27 @@
  12255. echo "$as_me: failed program was:" >&5
  12256. sed 's/^/| /' conftest.$ac_ext >&5
  12257. -echo "$as_me:$LINENO: result: no" >&5
  12258. -echo "${ECHO_T}no" >&6
  12259. + { echo "$as_me:$LINENO: result: no" >&5
  12260. +echo "${ECHO_T}no" >&6; }
  12261. fi
  12262. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  12263. +
  12264. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12265. olibs="$LIBS"
  12266. -echo "$as_me:$LINENO: checking --with-tlib argument" >&5
  12267. -echo $ECHO_N "checking --with-tlib argument... $ECHO_C" >&6
  12268. +{ echo "$as_me:$LINENO: checking --with-tlib argument" >&5
  12269. +echo $ECHO_N "checking --with-tlib argument... $ECHO_C" >&6; }
  12270. -# Check whether --with-tlib or --without-tlib was given.
  12271. +# Check whether --with-tlib was given.
  12272. if test "${with_tlib+set}" = set; then
  12273. - withval="$with_tlib"
  12274. + withval=$with_tlib;
  12275. +fi
  12276. -fi;
  12277. if test -n "$with_tlib"; then
  12278. - echo "$as_me:$LINENO: result: $with_tlib" >&5
  12279. -echo "${ECHO_T}$with_tlib" >&6
  12280. + { echo "$as_me:$LINENO: result: $with_tlib" >&5
  12281. +echo "${ECHO_T}$with_tlib" >&6; }
  12282. LIBS="$LIBS -l$with_tlib"
  12283. - echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
  12284. -echo $ECHO_N "checking for linking with $with_tlib library... $ECHO_C" >&6
  12285. + { echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
  12286. +echo $ECHO_N "checking for linking with $with_tlib library... $ECHO_C" >&6; }
  12287. cat >conftest.$ac_ext <<_ACEOF
  12288. /* confdefs.h. */
  12289. _ACEOF
  12290. @@ -11669,43 +11832,40 @@
  12291. }
  12292. _ACEOF
  12293. rm -f conftest.$ac_objext conftest$ac_exeext
  12294. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12295. - (eval $ac_link) 2>conftest.er1
  12296. +if { (ac_try="$ac_link"
  12297. +case "(($ac_try" in
  12298. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12299. + *) ac_try_echo=$ac_try;;
  12300. +esac
  12301. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12302. + (eval "$ac_link") 2>conftest.er1
  12303. ac_status=$?
  12304. grep -v '^ *+' conftest.er1 >conftest.err
  12305. rm -f conftest.er1
  12306. cat conftest.err >&5
  12307. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12308. - (exit $ac_status); } &&
  12309. - { ac_try='test -z "$ac_c_werror_flag"
  12310. - || test ! -s conftest.err'
  12311. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12312. - (eval $ac_try) 2>&5
  12313. - ac_status=$?
  12314. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12315. - (exit $ac_status); }; } &&
  12316. - { ac_try='test -s conftest$ac_exeext'
  12317. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12318. - (eval $ac_try) 2>&5
  12319. - ac_status=$?
  12320. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12321. - (exit $ac_status); }; }; then
  12322. - echo "$as_me:$LINENO: result: OK" >&5
  12323. -echo "${ECHO_T}OK" >&6
  12324. + (exit $ac_status); } && {
  12325. + test -z "$ac_c_werror_flag" ||
  12326. + test ! -s conftest.err
  12327. + } && test -s conftest$ac_exeext &&
  12328. + $as_test_x conftest$ac_exeext; then
  12329. + { echo "$as_me:$LINENO: result: OK" >&5
  12330. +echo "${ECHO_T}OK" >&6; }
  12331. else
  12332. echo "$as_me: failed program was:" >&5
  12333. sed 's/^/| /' conftest.$ac_ext >&5
  12334. -{ { echo "$as_me:$LINENO: error: FAILED" >&5
  12335. + { { echo "$as_me:$LINENO: error: FAILED" >&5
  12336. echo "$as_me: error: FAILED" >&2;}
  12337. { (exit 1); exit 1; }; }
  12338. fi
  12339. -rm -f conftest.err conftest.$ac_objext \
  12340. +
  12341. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12342. conftest$ac_exeext conftest.$ac_ext
  12343. olibs="$LIBS"
  12344. else
  12345. - echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
  12346. -echo "${ECHO_T}empty: automatic terminal library selection" >&6
  12347. + { echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
  12348. +echo "${ECHO_T}empty: automatic terminal library selection" >&6; }
  12349. case "`uname -s 2>/dev/null`" in
  12350. OSF1|SCO_SV) tlibs="ncurses curses termlib termcap";;
  12351. *) tlibs="ncurses termlib termcap curses";;
  12352. @@ -11713,9 +11873,9 @@
  12353. for libname in $tlibs; do
  12354. as_ac_Lib=`echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
  12355. -echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
  12356. -echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6
  12357. -if eval "test \"\${$as_ac_Lib+set}\" = set"; then
  12358. +{ echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
  12359. +echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6; }
  12360. +if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
  12361. echo $ECHO_N "(cached) $ECHO_C" >&6
  12362. else
  12363. ac_check_lib_save_LIBS=$LIBS
  12364. @@ -11727,56 +11887,54 @@
  12365. cat >>conftest.$ac_ext <<_ACEOF
  12366. /* end confdefs.h. */
  12367. -/* Override any gcc2 internal prototype to avoid an error. */
  12368. +/* Override any GCC internal prototype to avoid an error.
  12369. + Use char because int might match the return type of a GCC
  12370. + builtin and then its argument prototype would still apply. */
  12371. #ifdef __cplusplus
  12372. extern "C"
  12373. #endif
  12374. -/* We use char because int might match the return type of a gcc2
  12375. - builtin and then its argument prototype would still apply. */
  12376. char tgetent ();
  12377. int
  12378. main ()
  12379. {
  12380. -tgetent ();
  12381. +return tgetent ();
  12382. ;
  12383. return 0;
  12384. }
  12385. _ACEOF
  12386. rm -f conftest.$ac_objext conftest$ac_exeext
  12387. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12388. - (eval $ac_link) 2>conftest.er1
  12389. +if { (ac_try="$ac_link"
  12390. +case "(($ac_try" in
  12391. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12392. + *) ac_try_echo=$ac_try;;
  12393. +esac
  12394. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12395. + (eval "$ac_link") 2>conftest.er1
  12396. ac_status=$?
  12397. grep -v '^ *+' conftest.er1 >conftest.err
  12398. rm -f conftest.er1
  12399. cat conftest.err >&5
  12400. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12401. - (exit $ac_status); } &&
  12402. - { ac_try='test -z "$ac_c_werror_flag"
  12403. - || test ! -s conftest.err'
  12404. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12405. - (eval $ac_try) 2>&5
  12406. - ac_status=$?
  12407. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12408. - (exit $ac_status); }; } &&
  12409. - { ac_try='test -s conftest$ac_exeext'
  12410. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12411. - (eval $ac_try) 2>&5
  12412. - ac_status=$?
  12413. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12414. - (exit $ac_status); }; }; then
  12415. + (exit $ac_status); } && {
  12416. + test -z "$ac_c_werror_flag" ||
  12417. + test ! -s conftest.err
  12418. + } && test -s conftest$ac_exeext &&
  12419. + $as_test_x conftest$ac_exeext; then
  12420. eval "$as_ac_Lib=yes"
  12421. else
  12422. echo "$as_me: failed program was:" >&5
  12423. sed 's/^/| /' conftest.$ac_ext >&5
  12424. -eval "$as_ac_Lib=no"
  12425. + eval "$as_ac_Lib=no"
  12426. fi
  12427. -rm -f conftest.err conftest.$ac_objext \
  12428. +
  12429. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12430. conftest$ac_exeext conftest.$ac_ext
  12431. LIBS=$ac_check_lib_save_LIBS
  12432. fi
  12433. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
  12434. -echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
  12435. +ac_res=`eval echo '${'$as_ac_Lib'}'`
  12436. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  12437. +echo "${ECHO_T}$ac_res" >&6; }
  12438. if test `eval echo '${'$as_ac_Lib'}'` = yes; then
  12439. cat >>confdefs.h <<_ACEOF
  12440. #define `echo "HAVE_LIB${libname}" | $as_tr_cpp` 1
  12441. @@ -11803,13 +11961,22 @@
  12442. main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }
  12443. _ACEOF
  12444. rm -f conftest$ac_exeext
  12445. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12446. - (eval $ac_link) 2>&5
  12447. +if { (ac_try="$ac_link"
  12448. +case "(($ac_try" in
  12449. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12450. + *) ac_try_echo=$ac_try;;
  12451. +esac
  12452. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12453. + (eval "$ac_link") 2>&5
  12454. ac_status=$?
  12455. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12456. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12457. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12458. - (eval $ac_try) 2>&5
  12459. + { (case "(($ac_try" in
  12460. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12461. + *) ac_try_echo=$ac_try;;
  12462. +esac
  12463. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12464. + (eval "$ac_try") 2>&5
  12465. ac_status=$?
  12466. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12467. (exit $ac_status); }; }; then
  12468. @@ -11822,25 +11989,27 @@
  12469. ( exit $ac_status )
  12470. res="FAIL"
  12471. fi
  12472. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12473. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12474. fi
  12475. +
  12476. +
  12477. if test "$res" = "OK"; then
  12478. break
  12479. fi
  12480. - echo "$as_me:$LINENO: result: $libname library is not usable" >&5
  12481. -echo "${ECHO_T}$libname library is not usable" >&6
  12482. + { echo "$as_me:$LINENO: result: $libname library is not usable" >&5
  12483. +echo "${ECHO_T}$libname library is not usable" >&6; }
  12484. LIBS="$olibs"
  12485. fi
  12486. done
  12487. if test "x$olibs" = "x$LIBS"; then
  12488. - echo "$as_me:$LINENO: result: no terminal library found" >&5
  12489. -echo "${ECHO_T}no terminal library found" >&6
  12490. + { echo "$as_me:$LINENO: result: no terminal library found" >&5
  12491. +echo "${ECHO_T}no terminal library found" >&6; }
  12492. fi
  12493. fi
  12494. if test "x$olibs" = "x$LIBS"; then
  12495. - echo "$as_me:$LINENO: checking for tgetent()" >&5
  12496. -echo $ECHO_N "checking for tgetent()... $ECHO_C" >&6
  12497. + { echo "$as_me:$LINENO: checking for tgetent()" >&5
  12498. +echo $ECHO_N "checking for tgetent()... $ECHO_C" >&6; }
  12499. cat >conftest.$ac_ext <<_ACEOF
  12500. /* confdefs.h. */
  12501. _ACEOF
  12502. @@ -11857,34 +12026,30 @@
  12503. }
  12504. _ACEOF
  12505. rm -f conftest.$ac_objext conftest$ac_exeext
  12506. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12507. - (eval $ac_link) 2>conftest.er1
  12508. +if { (ac_try="$ac_link"
  12509. +case "(($ac_try" in
  12510. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12511. + *) ac_try_echo=$ac_try;;
  12512. +esac
  12513. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12514. + (eval "$ac_link") 2>conftest.er1
  12515. ac_status=$?
  12516. grep -v '^ *+' conftest.er1 >conftest.err
  12517. rm -f conftest.er1
  12518. cat conftest.err >&5
  12519. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12520. - (exit $ac_status); } &&
  12521. - { ac_try='test -z "$ac_c_werror_flag"
  12522. - || test ! -s conftest.err'
  12523. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12524. - (eval $ac_try) 2>&5
  12525. - ac_status=$?
  12526. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12527. - (exit $ac_status); }; } &&
  12528. - { ac_try='test -s conftest$ac_exeext'
  12529. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12530. - (eval $ac_try) 2>&5
  12531. - ac_status=$?
  12532. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12533. - (exit $ac_status); }; }; then
  12534. - echo "$as_me:$LINENO: result: yes" >&5
  12535. -echo "${ECHO_T}yes" >&6
  12536. + (exit $ac_status); } && {
  12537. + test -z "$ac_c_werror_flag" ||
  12538. + test ! -s conftest.err
  12539. + } && test -s conftest$ac_exeext &&
  12540. + $as_test_x conftest$ac_exeext; then
  12541. + { echo "$as_me:$LINENO: result: yes" >&5
  12542. +echo "${ECHO_T}yes" >&6; }
  12543. else
  12544. echo "$as_me: failed program was:" >&5
  12545. sed 's/^/| /' conftest.$ac_ext >&5
  12546. -{ { echo "$as_me:$LINENO: error: NOT FOUND!
  12547. + { { echo "$as_me:$LINENO: error: NOT FOUND!
  12548. You need to install a terminal library; for example ncurses.
  12549. Or specify the name of the library with --with-tlib." >&5
  12550. echo "$as_me: error: NOT FOUND!
  12551. @@ -11892,18 +12057,46 @@
  12552. Or specify the name of the library with --with-tlib." >&2;}
  12553. { (exit 1); exit 1; }; }
  12554. fi
  12555. -rm -f conftest.err conftest.$ac_objext \
  12556. +
  12557. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12558. conftest$ac_exeext conftest.$ac_ext
  12559. fi
  12560. -echo "$as_me:$LINENO: checking whether we talk terminfo" >&5
  12561. -echo $ECHO_N "checking whether we talk terminfo... $ECHO_C" >&6
  12562. -if test "$cross_compiling" = yes; then
  12563. - { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
  12564. -echo "$as_me: error: failed to compile test program." >&2;}
  12565. - { (exit 1); exit 1; }; }
  12566. -else
  12567. - cat >conftest.$ac_ext <<_ACEOF
  12568. +#AC_MSG_CHECKING(whether we talk terminfo)
  12569. +#AC_TRY_RUN([
  12570. +##ifdef HAVE_TERMCAP_H
  12571. +## include <termcap.h>
  12572. +##endif
  12573. +#main()
  12574. +#{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }],
  12575. +# AC_MSG_RESULT([no -- we are in termcap land]),
  12576. +# AC_MSG_RESULT([yes -- terminfo spoken here]); AC_DEFINE(TERMINFO),
  12577. +# AC_MSG_ERROR(failed to compile test program.))
  12578. +cat >>confdefs.h <<\_ACEOF
  12579. +#define TERMINFO 1
  12580. +_ACEOF
  12581. +
  12582. +
  12583. +#if test "x$olibs" != "x$LIBS"; then
  12584. +# AC_MSG_CHECKING(what tgetent() returns for an unknown terminal)
  12585. +# AC_TRY_RUN([
  12586. +##ifdef HAVE_TERMCAP_H
  12587. +## include <termcap.h>
  12588. +##endif
  12589. +#main()
  12590. +#{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }],
  12591. +# AC_MSG_RESULT(zero); AC_DEFINE(TGETENT_ZERO_ERR, 0),
  12592. +# AC_MSG_RESULT(non-zero),
  12593. +# AC_MSG_ERROR(failed to compile test program.))
  12594. +#fi
  12595. +cat >>confdefs.h <<\_ACEOF
  12596. +#define TGETENT_ZERO_ERR 1
  12597. +_ACEOF
  12598. +
  12599. +
  12600. +{ echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
  12601. +echo $ECHO_N "checking whether termcap.h contains ospeed... $ECHO_C" >&6; }
  12602. +cat >conftest.$ac_ext <<_ACEOF
  12603. /* confdefs.h. */
  12604. _ACEOF
  12605. cat confdefs.h >>conftest.$ac_ext
  12606. @@ -11913,144 +12106,47 @@
  12607. #ifdef HAVE_TERMCAP_H
  12608. # include <termcap.h>
  12609. #endif
  12610. -main()
  12611. -{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
  12612. +
  12613. +int
  12614. +main ()
  12615. +{
  12616. +ospeed = 20000
  12617. + ;
  12618. + return 0;
  12619. +}
  12620. _ACEOF
  12621. -rm -f conftest$ac_exeext
  12622. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12623. - (eval $ac_link) 2>&5
  12624. - ac_status=$?
  12625. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12626. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12627. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12628. - (eval $ac_try) 2>&5
  12629. +rm -f conftest.$ac_objext conftest$ac_exeext
  12630. +if { (ac_try="$ac_link"
  12631. +case "(($ac_try" in
  12632. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12633. + *) ac_try_echo=$ac_try;;
  12634. +esac
  12635. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12636. + (eval "$ac_link") 2>conftest.er1
  12637. ac_status=$?
  12638. + grep -v '^ *+' conftest.er1 >conftest.err
  12639. + rm -f conftest.er1
  12640. + cat conftest.err >&5
  12641. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12642. - (exit $ac_status); }; }; then
  12643. - echo "$as_me:$LINENO: result: no -- we are in termcap land" >&5
  12644. -echo "${ECHO_T}no -- we are in termcap land" >&6
  12645. -else
  12646. - echo "$as_me: program exited with status $ac_status" >&5
  12647. -echo "$as_me: failed program was:" >&5
  12648. -sed 's/^/| /' conftest.$ac_ext >&5
  12649. -
  12650. -( exit $ac_status )
  12651. -echo "$as_me:$LINENO: result: yes -- terminfo spoken here" >&5
  12652. -echo "${ECHO_T}yes -- terminfo spoken here" >&6; cat >>confdefs.h <<\_ACEOF
  12653. -#define TERMINFO 1
  12654. + (exit $ac_status); } && {
  12655. + test -z "$ac_c_werror_flag" ||
  12656. + test ! -s conftest.err
  12657. + } && test -s conftest$ac_exeext &&
  12658. + $as_test_x conftest$ac_exeext; then
  12659. + { echo "$as_me:$LINENO: result: yes" >&5
  12660. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12661. +#define HAVE_OSPEED 1
  12662. _ACEOF
  12663. -fi
  12664. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12665. -fi
  12666. -
  12667. -if test "x$olibs" != "x$LIBS"; then
  12668. - echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5
  12669. -echo $ECHO_N "checking what tgetent() returns for an unknown terminal... $ECHO_C" >&6
  12670. - if test "$cross_compiling" = yes; then
  12671. - { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
  12672. -echo "$as_me: error: failed to compile test program." >&2;}
  12673. - { (exit 1); exit 1; }; }
  12674. else
  12675. - cat >conftest.$ac_ext <<_ACEOF
  12676. -/* confdefs.h. */
  12677. -_ACEOF
  12678. -cat confdefs.h >>conftest.$ac_ext
  12679. -cat >>conftest.$ac_ext <<_ACEOF
  12680. -/* end confdefs.h. */
  12681. -
  12682. -#ifdef HAVE_TERMCAP_H
  12683. -# include <termcap.h>
  12684. -#endif
  12685. -main()
  12686. -{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
  12687. -_ACEOF
  12688. -rm -f conftest$ac_exeext
  12689. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12690. - (eval $ac_link) 2>&5
  12691. - ac_status=$?
  12692. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12693. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12694. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12695. - (eval $ac_try) 2>&5
  12696. - ac_status=$?
  12697. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12698. - (exit $ac_status); }; }; then
  12699. - echo "$as_me:$LINENO: result: zero" >&5
  12700. -echo "${ECHO_T}zero" >&6; cat >>confdefs.h <<\_ACEOF
  12701. -#define TGETENT_ZERO_ERR 0
  12702. -_ACEOF
  12703. -
  12704. -else
  12705. - echo "$as_me: program exited with status $ac_status" >&5
  12706. -echo "$as_me: failed program was:" >&5
  12707. -sed 's/^/| /' conftest.$ac_ext >&5
  12708. -
  12709. -( exit $ac_status )
  12710. -echo "$as_me:$LINENO: result: non-zero" >&5
  12711. -echo "${ECHO_T}non-zero" >&6
  12712. -fi
  12713. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12714. -fi
  12715. -fi
  12716. -
  12717. -echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
  12718. -echo $ECHO_N "checking whether termcap.h contains ospeed... $ECHO_C" >&6
  12719. -cat >conftest.$ac_ext <<_ACEOF
  12720. -/* confdefs.h. */
  12721. -_ACEOF
  12722. -cat confdefs.h >>conftest.$ac_ext
  12723. -cat >>conftest.$ac_ext <<_ACEOF
  12724. -/* end confdefs.h. */
  12725. -
  12726. -#ifdef HAVE_TERMCAP_H
  12727. -# include <termcap.h>
  12728. -#endif
  12729. -
  12730. -int
  12731. -main ()
  12732. -{
  12733. -ospeed = 20000
  12734. - ;
  12735. - return 0;
  12736. -}
  12737. -_ACEOF
  12738. -rm -f conftest.$ac_objext conftest$ac_exeext
  12739. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12740. - (eval $ac_link) 2>conftest.er1
  12741. - ac_status=$?
  12742. - grep -v '^ *+' conftest.er1 >conftest.err
  12743. - rm -f conftest.er1
  12744. - cat conftest.err >&5
  12745. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12746. - (exit $ac_status); } &&
  12747. - { ac_try='test -z "$ac_c_werror_flag"
  12748. - || test ! -s conftest.err'
  12749. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12750. - (eval $ac_try) 2>&5
  12751. - ac_status=$?
  12752. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12753. - (exit $ac_status); }; } &&
  12754. - { ac_try='test -s conftest$ac_exeext'
  12755. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12756. - (eval $ac_try) 2>&5
  12757. - ac_status=$?
  12758. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12759. - (exit $ac_status); }; }; then
  12760. - echo "$as_me:$LINENO: result: yes" >&5
  12761. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12762. -#define HAVE_OSPEED 1
  12763. -_ACEOF
  12764. -
  12765. -else
  12766. - echo "$as_me: failed program was:" >&5
  12767. -sed 's/^/| /' conftest.$ac_ext >&5
  12768. -
  12769. -echo "$as_me:$LINENO: result: no" >&5
  12770. -echo "${ECHO_T}no" >&6
  12771. - echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
  12772. -echo $ECHO_N "checking whether ospeed can be extern... $ECHO_C" >&6
  12773. - cat >conftest.$ac_ext <<_ACEOF
  12774. + echo "$as_me: failed program was:" >&5
  12775. +sed 's/^/| /' conftest.$ac_ext >&5
  12776. +
  12777. + { echo "$as_me:$LINENO: result: no" >&5
  12778. +echo "${ECHO_T}no" >&6; }
  12779. + { echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
  12780. +echo $ECHO_N "checking whether ospeed can be extern... $ECHO_C" >&6; }
  12781. + cat >conftest.$ac_ext <<_ACEOF
  12782. /* confdefs.h. */
  12783. _ACEOF
  12784. cat confdefs.h >>conftest.$ac_ext
  12785. @@ -12071,29 +12167,25 @@
  12786. }
  12787. _ACEOF
  12788. rm -f conftest.$ac_objext conftest$ac_exeext
  12789. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12790. - (eval $ac_link) 2>conftest.er1
  12791. +if { (ac_try="$ac_link"
  12792. +case "(($ac_try" in
  12793. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12794. + *) ac_try_echo=$ac_try;;
  12795. +esac
  12796. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12797. + (eval "$ac_link") 2>conftest.er1
  12798. ac_status=$?
  12799. grep -v '^ *+' conftest.er1 >conftest.err
  12800. rm -f conftest.er1
  12801. cat conftest.err >&5
  12802. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12803. - (exit $ac_status); } &&
  12804. - { ac_try='test -z "$ac_c_werror_flag"
  12805. - || test ! -s conftest.err'
  12806. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12807. - (eval $ac_try) 2>&5
  12808. - ac_status=$?
  12809. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12810. - (exit $ac_status); }; } &&
  12811. - { ac_try='test -s conftest$ac_exeext'
  12812. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12813. - (eval $ac_try) 2>&5
  12814. - ac_status=$?
  12815. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12816. - (exit $ac_status); }; }; then
  12817. - echo "$as_me:$LINENO: result: yes" >&5
  12818. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12819. + (exit $ac_status); } && {
  12820. + test -z "$ac_c_werror_flag" ||
  12821. + test ! -s conftest.err
  12822. + } && test -s conftest$ac_exeext &&
  12823. + $as_test_x conftest$ac_exeext; then
  12824. + { echo "$as_me:$LINENO: result: yes" >&5
  12825. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12826. #define OSPEED_EXTERN 1
  12827. _ACEOF
  12828. @@ -12101,18 +12193,20 @@
  12829. echo "$as_me: failed program was:" >&5
  12830. sed 's/^/| /' conftest.$ac_ext >&5
  12831. -echo "$as_me:$LINENO: result: no" >&5
  12832. -echo "${ECHO_T}no" >&6
  12833. + { echo "$as_me:$LINENO: result: no" >&5
  12834. +echo "${ECHO_T}no" >&6; }
  12835. fi
  12836. -rm -f conftest.err conftest.$ac_objext \
  12837. +
  12838. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12839. conftest$ac_exeext conftest.$ac_ext
  12840. fi
  12841. -rm -f conftest.err conftest.$ac_objext \
  12842. +
  12843. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12844. conftest$ac_exeext conftest.$ac_ext
  12845. -echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
  12846. -echo $ECHO_N "checking whether termcap.h contains UP, BC and PC... $ECHO_C" >&6
  12847. +{ echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
  12848. +echo $ECHO_N "checking whether termcap.h contains UP, BC and PC... $ECHO_C" >&6; }
  12849. cat >conftest.$ac_ext <<_ACEOF
  12850. /* confdefs.h. */
  12851. _ACEOF
  12852. @@ -12133,29 +12227,25 @@
  12853. }
  12854. _ACEOF
  12855. rm -f conftest.$ac_objext conftest$ac_exeext
  12856. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12857. - (eval $ac_link) 2>conftest.er1
  12858. +if { (ac_try="$ac_link"
  12859. +case "(($ac_try" in
  12860. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12861. + *) ac_try_echo=$ac_try;;
  12862. +esac
  12863. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12864. + (eval "$ac_link") 2>conftest.er1
  12865. ac_status=$?
  12866. grep -v '^ *+' conftest.er1 >conftest.err
  12867. rm -f conftest.er1
  12868. cat conftest.err >&5
  12869. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12870. - (exit $ac_status); } &&
  12871. - { ac_try='test -z "$ac_c_werror_flag"
  12872. - || test ! -s conftest.err'
  12873. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12874. - (eval $ac_try) 2>&5
  12875. - ac_status=$?
  12876. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12877. - (exit $ac_status); }; } &&
  12878. - { ac_try='test -s conftest$ac_exeext'
  12879. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12880. - (eval $ac_try) 2>&5
  12881. - ac_status=$?
  12882. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12883. - (exit $ac_status); }; }; then
  12884. - echo "$as_me:$LINENO: result: yes" >&5
  12885. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12886. + (exit $ac_status); } && {
  12887. + test -z "$ac_c_werror_flag" ||
  12888. + test ! -s conftest.err
  12889. + } && test -s conftest$ac_exeext &&
  12890. + $as_test_x conftest$ac_exeext; then
  12891. + { echo "$as_me:$LINENO: result: yes" >&5
  12892. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12893. #define HAVE_UP_BC_PC 1
  12894. _ACEOF
  12895. @@ -12163,10 +12253,10 @@
  12896. echo "$as_me: failed program was:" >&5
  12897. sed 's/^/| /' conftest.$ac_ext >&5
  12898. -echo "$as_me:$LINENO: result: no" >&5
  12899. -echo "${ECHO_T}no" >&6
  12900. - echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
  12901. -echo $ECHO_N "checking whether UP, BC and PC can be extern... $ECHO_C" >&6
  12902. + { echo "$as_me:$LINENO: result: no" >&5
  12903. +echo "${ECHO_T}no" >&6; }
  12904. + { echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
  12905. +echo $ECHO_N "checking whether UP, BC and PC can be extern... $ECHO_C" >&6; }
  12906. cat >conftest.$ac_ext <<_ACEOF
  12907. /* confdefs.h. */
  12908. _ACEOF
  12909. @@ -12188,29 +12278,25 @@
  12910. }
  12911. _ACEOF
  12912. rm -f conftest.$ac_objext conftest$ac_exeext
  12913. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  12914. - (eval $ac_link) 2>conftest.er1
  12915. +if { (ac_try="$ac_link"
  12916. +case "(($ac_try" in
  12917. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12918. + *) ac_try_echo=$ac_try;;
  12919. +esac
  12920. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12921. + (eval "$ac_link") 2>conftest.er1
  12922. ac_status=$?
  12923. grep -v '^ *+' conftest.er1 >conftest.err
  12924. rm -f conftest.er1
  12925. cat conftest.err >&5
  12926. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12927. - (exit $ac_status); } &&
  12928. - { ac_try='test -z "$ac_c_werror_flag"
  12929. - || test ! -s conftest.err'
  12930. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12931. - (eval $ac_try) 2>&5
  12932. - ac_status=$?
  12933. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12934. - (exit $ac_status); }; } &&
  12935. - { ac_try='test -s conftest$ac_exeext'
  12936. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12937. - (eval $ac_try) 2>&5
  12938. - ac_status=$?
  12939. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12940. - (exit $ac_status); }; }; then
  12941. - echo "$as_me:$LINENO: result: yes" >&5
  12942. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  12943. + (exit $ac_status); } && {
  12944. + test -z "$ac_c_werror_flag" ||
  12945. + test ! -s conftest.err
  12946. + } && test -s conftest$ac_exeext &&
  12947. + $as_test_x conftest$ac_exeext; then
  12948. + { echo "$as_me:$LINENO: result: yes" >&5
  12949. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  12950. #define UP_BC_PC_EXTERN 1
  12951. _ACEOF
  12952. @@ -12218,18 +12304,20 @@
  12953. echo "$as_me: failed program was:" >&5
  12954. sed 's/^/| /' conftest.$ac_ext >&5
  12955. -echo "$as_me:$LINENO: result: no" >&5
  12956. -echo "${ECHO_T}no" >&6
  12957. + { echo "$as_me:$LINENO: result: no" >&5
  12958. +echo "${ECHO_T}no" >&6; }
  12959. fi
  12960. -rm -f conftest.err conftest.$ac_objext \
  12961. +
  12962. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12963. conftest$ac_exeext conftest.$ac_ext
  12964. fi
  12965. -rm -f conftest.err conftest.$ac_objext \
  12966. +
  12967. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12968. conftest$ac_exeext conftest.$ac_ext
  12969. -echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
  12970. -echo $ECHO_N "checking whether tputs() uses outfuntype... $ECHO_C" >&6
  12971. +{ echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
  12972. +echo $ECHO_N "checking whether tputs() uses outfuntype... $ECHO_C" >&6; }
  12973. cat >conftest.$ac_ext <<_ACEOF
  12974. /* confdefs.h. */
  12975. _ACEOF
  12976. @@ -12250,29 +12338,24 @@
  12977. }
  12978. _ACEOF
  12979. rm -f conftest.$ac_objext
  12980. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  12981. - (eval $ac_compile) 2>conftest.er1
  12982. +if { (ac_try="$ac_compile"
  12983. +case "(($ac_try" in
  12984. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12985. + *) ac_try_echo=$ac_try;;
  12986. +esac
  12987. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12988. + (eval "$ac_compile") 2>conftest.er1
  12989. ac_status=$?
  12990. grep -v '^ *+' conftest.er1 >conftest.err
  12991. rm -f conftest.er1
  12992. cat conftest.err >&5
  12993. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12994. - (exit $ac_status); } &&
  12995. - { ac_try='test -z "$ac_c_werror_flag"
  12996. - || test ! -s conftest.err'
  12997. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  12998. - (eval $ac_try) 2>&5
  12999. - ac_status=$?
  13000. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13001. - (exit $ac_status); }; } &&
  13002. - { ac_try='test -s conftest.$ac_objext'
  13003. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13004. - (eval $ac_try) 2>&5
  13005. - ac_status=$?
  13006. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13007. - (exit $ac_status); }; }; then
  13008. - echo "$as_me:$LINENO: result: yes" >&5
  13009. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13010. + (exit $ac_status); } && {
  13011. + test -z "$ac_c_werror_flag" ||
  13012. + test ! -s conftest.err
  13013. + } && test -s conftest.$ac_objext; then
  13014. + { echo "$as_me:$LINENO: result: yes" >&5
  13015. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13016. #define HAVE_OUTFUNTYPE 1
  13017. _ACEOF
  13018. @@ -12280,13 +12363,14 @@
  13019. echo "$as_me: failed program was:" >&5
  13020. sed 's/^/| /' conftest.$ac_ext >&5
  13021. -echo "$as_me:$LINENO: result: no" >&5
  13022. -echo "${ECHO_T}no" >&6
  13023. + { echo "$as_me:$LINENO: result: no" >&5
  13024. +echo "${ECHO_T}no" >&6; }
  13025. fi
  13026. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13027. -echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
  13028. -echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6
  13029. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13030. +
  13031. +{ echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
  13032. +echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6; }
  13033. cat >conftest.$ac_ext <<_ACEOF
  13034. /* confdefs.h. */
  13035. _ACEOF
  13036. @@ -12306,29 +12390,24 @@
  13037. }
  13038. _ACEOF
  13039. rm -f conftest.$ac_objext
  13040. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13041. - (eval $ac_compile) 2>conftest.er1
  13042. +if { (ac_try="$ac_compile"
  13043. +case "(($ac_try" in
  13044. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13045. + *) ac_try_echo=$ac_try;;
  13046. +esac
  13047. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13048. + (eval "$ac_compile") 2>conftest.er1
  13049. ac_status=$?
  13050. grep -v '^ *+' conftest.er1 >conftest.err
  13051. rm -f conftest.er1
  13052. cat conftest.err >&5
  13053. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13054. - (exit $ac_status); } &&
  13055. - { ac_try='test -z "$ac_c_werror_flag"
  13056. - || test ! -s conftest.err'
  13057. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13058. - (eval $ac_try) 2>&5
  13059. - ac_status=$?
  13060. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13061. - (exit $ac_status); }; } &&
  13062. - { ac_try='test -s conftest.$ac_objext'
  13063. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13064. - (eval $ac_try) 2>&5
  13065. - ac_status=$?
  13066. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13067. - (exit $ac_status); }; }; then
  13068. - echo "$as_me:$LINENO: result: yes" >&5
  13069. -echo "${ECHO_T}yes" >&6
  13070. + (exit $ac_status); } && {
  13071. + test -z "$ac_c_werror_flag" ||
  13072. + test ! -s conftest.err
  13073. + } && test -s conftest.$ac_objext; then
  13074. + { echo "$as_me:$LINENO: result: yes" >&5
  13075. +echo "${ECHO_T}yes" >&6; }
  13076. cat >>confdefs.h <<\_ACEOF
  13077. #define SYS_SELECT_WITH_SYS_TIME 1
  13078. _ACEOF
  13079. @@ -12337,28 +12416,29 @@
  13080. echo "$as_me: failed program was:" >&5
  13081. sed 's/^/| /' conftest.$ac_ext >&5
  13082. -echo "$as_me:$LINENO: result: no" >&5
  13083. -echo "${ECHO_T}no" >&6
  13084. + { echo "$as_me:$LINENO: result: no" >&5
  13085. +echo "${ECHO_T}no" >&6; }
  13086. fi
  13087. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13088. +
  13089. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13090. -echo "$as_me:$LINENO: checking for /dev/ptc" >&5
  13091. -echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
  13092. +{ echo "$as_me:$LINENO: checking for /dev/ptc" >&5
  13093. +echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6; }
  13094. if test -r /dev/ptc; then
  13095. cat >>confdefs.h <<\_ACEOF
  13096. #define HAVE_DEV_PTC 1
  13097. _ACEOF
  13098. - echo "$as_me:$LINENO: result: yes" >&5
  13099. -echo "${ECHO_T}yes" >&6
  13100. + { echo "$as_me:$LINENO: result: yes" >&5
  13101. +echo "${ECHO_T}yes" >&6; }
  13102. else
  13103. - echo "$as_me:$LINENO: result: no" >&5
  13104. -echo "${ECHO_T}no" >&6
  13105. + { echo "$as_me:$LINENO: result: no" >&5
  13106. +echo "${ECHO_T}no" >&6; }
  13107. fi
  13108. -echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
  13109. -echo $ECHO_N "checking for SVR4 ptys... $ECHO_C" >&6
  13110. +{ echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
  13111. +echo $ECHO_N "checking for SVR4 ptys... $ECHO_C" >&6; }
  13112. if test -c /dev/ptmx ; then
  13113. cat >conftest.$ac_ext <<_ACEOF
  13114. /* confdefs.h. */
  13115. @@ -12376,29 +12456,25 @@
  13116. }
  13117. _ACEOF
  13118. rm -f conftest.$ac_objext conftest$ac_exeext
  13119. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13120. - (eval $ac_link) 2>conftest.er1
  13121. +if { (ac_try="$ac_link"
  13122. +case "(($ac_try" in
  13123. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13124. + *) ac_try_echo=$ac_try;;
  13125. +esac
  13126. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13127. + (eval "$ac_link") 2>conftest.er1
  13128. ac_status=$?
  13129. grep -v '^ *+' conftest.er1 >conftest.err
  13130. rm -f conftest.er1
  13131. cat conftest.err >&5
  13132. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13133. - (exit $ac_status); } &&
  13134. - { ac_try='test -z "$ac_c_werror_flag"
  13135. - || test ! -s conftest.err'
  13136. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13137. - (eval $ac_try) 2>&5
  13138. - ac_status=$?
  13139. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13140. - (exit $ac_status); }; } &&
  13141. - { ac_try='test -s conftest$ac_exeext'
  13142. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13143. - (eval $ac_try) 2>&5
  13144. - ac_status=$?
  13145. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13146. - (exit $ac_status); }; }; then
  13147. - echo "$as_me:$LINENO: result: yes" >&5
  13148. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13149. + (exit $ac_status); } && {
  13150. + test -z "$ac_c_werror_flag" ||
  13151. + test ! -s conftest.err
  13152. + } && test -s conftest$ac_exeext &&
  13153. + $as_test_x conftest$ac_exeext; then
  13154. + { echo "$as_me:$LINENO: result: yes" >&5
  13155. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13156. #define HAVE_SVR4_PTYS 1
  13157. _ACEOF
  13158. @@ -12406,18 +12482,19 @@
  13159. echo "$as_me: failed program was:" >&5
  13160. sed 's/^/| /' conftest.$ac_ext >&5
  13161. -echo "$as_me:$LINENO: result: no" >&5
  13162. -echo "${ECHO_T}no" >&6
  13163. + { echo "$as_me:$LINENO: result: no" >&5
  13164. +echo "${ECHO_T}no" >&6; }
  13165. fi
  13166. -rm -f conftest.err conftest.$ac_objext \
  13167. +
  13168. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13169. conftest$ac_exeext conftest.$ac_ext
  13170. else
  13171. - echo "$as_me:$LINENO: result: no" >&5
  13172. -echo "${ECHO_T}no" >&6
  13173. + { echo "$as_me:$LINENO: result: no" >&5
  13174. +echo "${ECHO_T}no" >&6; }
  13175. fi
  13176. -echo "$as_me:$LINENO: checking for ptyranges" >&5
  13177. -echo $ECHO_N "checking for ptyranges... $ECHO_C" >&6
  13178. +{ echo "$as_me:$LINENO: checking for ptyranges" >&5
  13179. +echo $ECHO_N "checking for ptyranges... $ECHO_C" >&6; }
  13180. if test -d /dev/ptym ; then
  13181. pdir='/dev/ptym'
  13182. else
  13183. @@ -12453,102 +12530,72 @@
  13184. #define PTYRANGE1 "$p1"
  13185. _ACEOF
  13186. - echo "$as_me:$LINENO: result: $p0 / $p1" >&5
  13187. -echo "${ECHO_T}$p0 / $p1" >&6
  13188. + { echo "$as_me:$LINENO: result: $p0 / $p1" >&5
  13189. +echo "${ECHO_T}$p0 / $p1" >&6; }
  13190. else
  13191. - echo "$as_me:$LINENO: result: don't know" >&5
  13192. -echo "${ECHO_T}don't know" >&6
  13193. + { echo "$as_me:$LINENO: result: don't know" >&5
  13194. +echo "${ECHO_T}don't know" >&6; }
  13195. fi
  13196. -echo "$as_me:$LINENO: checking default tty permissions/group" >&5
  13197. -echo $ECHO_N "checking default tty permissions/group... $ECHO_C" >&6
  13198. -rm -f conftest_grp
  13199. -if test "$cross_compiling" = yes; then
  13200. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  13201. -echo "$as_me: error: failed to compile test program" >&2;}
  13202. - { (exit 1); exit 1; }; }
  13203. -else
  13204. - cat >conftest.$ac_ext <<_ACEOF
  13205. -/* confdefs.h. */
  13206. -_ACEOF
  13207. -cat confdefs.h >>conftest.$ac_ext
  13208. -cat >>conftest.$ac_ext <<_ACEOF
  13209. -/* end confdefs.h. */
  13210. -
  13211. -#include <sys/types.h>
  13212. -#include <sys/stat.h>
  13213. -#include <stdio.h>
  13214. -main()
  13215. -{
  13216. - struct stat sb;
  13217. - char *x,*ttyname();
  13218. - int om, m;
  13219. - FILE *fp;
  13220. -
  13221. - if (!(x = ttyname(0))) exit(1);
  13222. - if (stat(x, &sb)) exit(1);
  13223. - om = sb.st_mode;
  13224. - if (om & 002) exit(0);
  13225. - m = system("mesg y");
  13226. - if (m == -1 || m == 127) exit(1);
  13227. - if (stat(x, &sb)) exit(1);
  13228. - m = sb.st_mode;
  13229. - if (chmod(x, om)) exit(1);
  13230. - if (m & 002) exit(0);
  13231. - if (sb.st_gid == getgid()) exit(1);
  13232. - if (!(fp=fopen("conftest_grp", "w")))
  13233. - exit(1);
  13234. - fprintf(fp, "%d\n", sb.st_gid);
  13235. - fclose(fp);
  13236. - exit(0);
  13237. -}
  13238. -
  13239. -_ACEOF
  13240. -rm -f conftest$ac_exeext
  13241. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13242. - (eval $ac_link) 2>&5
  13243. - ac_status=$?
  13244. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13245. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13246. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13247. - (eval $ac_try) 2>&5
  13248. - ac_status=$?
  13249. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13250. - (exit $ac_status); }; }; then
  13251. +#dnl **** pty mode/group handling ****
  13252. +#dnl
  13253. +#dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
  13254. +#AC_MSG_CHECKING(default tty permissions/group)
  13255. +#rm -f conftest_grp
  13256. +#AC_TRY_RUN([
  13257. +##include <sys/types.h>
  13258. +##include <sys/stat.h>
  13259. +##include <stdio.h>
  13260. +#main()
  13261. +#{
  13262. +# struct stat sb;
  13263. +# char *x,*ttyname();
  13264. +# int om, m;
  13265. +# FILE *fp;
  13266. +#
  13267. +# if (!(x = ttyname(0))) exit(1);
  13268. +# if (stat(x, &sb)) exit(1);
  13269. +# om = sb.st_mode;
  13270. +# if (om & 002) exit(0);
  13271. +# m = system("mesg y");
  13272. +# if (m == -1 || m == 127) exit(1);
  13273. +# if (stat(x, &sb)) exit(1);
  13274. +# m = sb.st_mode;
  13275. +# if (chmod(x, om)) exit(1);
  13276. +# if (m & 002) exit(0);
  13277. +# if (sb.st_gid == getgid()) exit(1);
  13278. +# if (!(fp=fopen("conftest_grp", "w")))
  13279. +# exit(1);
  13280. +# fprintf(fp, "%d\n", sb.st_gid);
  13281. +# fclose(fp);
  13282. +# exit(0);
  13283. +#}
  13284. +#],[
  13285. +# if test -f conftest_grp; then
  13286. +# ptygrp=`cat conftest_grp`
  13287. +# AC_MSG_RESULT([pty mode: 0620, group: $ptygrp])
  13288. +# AC_DEFINE(PTYMODE, 0620)
  13289. +# AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
  13290. +# else
  13291. +# AC_MSG_RESULT([ptys are world accessable])
  13292. +# fi
  13293. +#],
  13294. +# AC_MSG_RESULT([can't determine - assume ptys are world accessable]),
  13295. +# AC_MSG_ERROR(failed to compile test program))
  13296. +#rm -f conftest_grp
  13297. - if test -f conftest_grp; then
  13298. - ptygrp=`cat conftest_grp`
  13299. - echo "$as_me:$LINENO: result: pty mode: 0620, group: $ptygrp" >&5
  13300. -echo "${ECHO_T}pty mode: 0620, group: $ptygrp" >&6
  13301. - cat >>confdefs.h <<\_ACEOF
  13302. +cat >>confdefs.h <<\_ACEOF
  13303. #define PTYMODE 0620
  13304. _ACEOF
  13305. - cat >>confdefs.h <<_ACEOF
  13306. -#define PTYGROUP $ptygrp
  13307. +cat >>confdefs.h <<\_ACEOF
  13308. +#define PTYGROUP 0
  13309. _ACEOF
  13310. - else
  13311. - echo "$as_me:$LINENO: result: ptys are world accessable" >&5
  13312. -echo "${ECHO_T}ptys are world accessable" >&6
  13313. - fi
  13314. -
  13315. -else
  13316. - echo "$as_me: program exited with status $ac_status" >&5
  13317. -echo "$as_me: failed program was:" >&5
  13318. -sed 's/^/| /' conftest.$ac_ext >&5
  13319. -
  13320. -( exit $ac_status )
  13321. -echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
  13322. -echo "${ECHO_T}can't determine - assume ptys are world accessable" >&6
  13323. -fi
  13324. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13325. -fi
  13326. -rm -f conftest_grp
  13327. -echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  13328. -echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
  13329. +{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  13330. +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
  13331. if test "${ac_cv_type_signal+set}" = set; then
  13332. echo $ECHO_N "(cached) $ECHO_C" >&6
  13333. else
  13334. @@ -12560,56 +12607,44 @@
  13335. /* end confdefs.h. */
  13336. #include <sys/types.h>
  13337. #include <signal.h>
  13338. -#ifdef signal
  13339. -# undef signal
  13340. -#endif
  13341. -#ifdef __cplusplus
  13342. -extern "C" void (*signal (int, void (*)(int)))(int);
  13343. -#else
  13344. -void (*signal ()) ();
  13345. -#endif
  13346. int
  13347. main ()
  13348. {
  13349. -int i;
  13350. +return *(signal (0, 0)) (0) == 1;
  13351. ;
  13352. return 0;
  13353. }
  13354. _ACEOF
  13355. rm -f conftest.$ac_objext
  13356. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13357. - (eval $ac_compile) 2>conftest.er1
  13358. +if { (ac_try="$ac_compile"
  13359. +case "(($ac_try" in
  13360. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13361. + *) ac_try_echo=$ac_try;;
  13362. +esac
  13363. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13364. + (eval "$ac_compile") 2>conftest.er1
  13365. ac_status=$?
  13366. grep -v '^ *+' conftest.er1 >conftest.err
  13367. rm -f conftest.er1
  13368. cat conftest.err >&5
  13369. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13370. - (exit $ac_status); } &&
  13371. - { ac_try='test -z "$ac_c_werror_flag"
  13372. - || test ! -s conftest.err'
  13373. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13374. - (eval $ac_try) 2>&5
  13375. - ac_status=$?
  13376. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13377. - (exit $ac_status); }; } &&
  13378. - { ac_try='test -s conftest.$ac_objext'
  13379. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13380. - (eval $ac_try) 2>&5
  13381. - ac_status=$?
  13382. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13383. - (exit $ac_status); }; }; then
  13384. - ac_cv_type_signal=void
  13385. + (exit $ac_status); } && {
  13386. + test -z "$ac_c_werror_flag" ||
  13387. + test ! -s conftest.err
  13388. + } && test -s conftest.$ac_objext; then
  13389. + ac_cv_type_signal=int
  13390. else
  13391. echo "$as_me: failed program was:" >&5
  13392. sed 's/^/| /' conftest.$ac_ext >&5
  13393. -ac_cv_type_signal=int
  13394. + ac_cv_type_signal=void
  13395. fi
  13396. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13397. +
  13398. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13399. fi
  13400. -echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  13401. -echo "${ECHO_T}$ac_cv_type_signal" >&6
  13402. +{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  13403. +echo "${ECHO_T}$ac_cv_type_signal" >&6; }
  13404. cat >>confdefs.h <<_ACEOF
  13405. #define RETSIGTYPE $ac_cv_type_signal
  13406. @@ -12629,8 +12664,8 @@
  13407. fi
  13408. -echo "$as_me:$LINENO: checking for struct sigcontext" >&5
  13409. -echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6
  13410. +{ echo "$as_me:$LINENO: checking for struct sigcontext" >&5
  13411. +echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6; }
  13412. cat >conftest.$ac_ext <<_ACEOF
  13413. /* confdefs.h. */
  13414. _ACEOF
  13415. @@ -12654,29 +12689,24 @@
  13416. }
  13417. _ACEOF
  13418. rm -f conftest.$ac_objext
  13419. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13420. - (eval $ac_compile) 2>conftest.er1
  13421. +if { (ac_try="$ac_compile"
  13422. +case "(($ac_try" in
  13423. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13424. + *) ac_try_echo=$ac_try;;
  13425. +esac
  13426. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13427. + (eval "$ac_compile") 2>conftest.er1
  13428. ac_status=$?
  13429. grep -v '^ *+' conftest.er1 >conftest.err
  13430. rm -f conftest.er1
  13431. cat conftest.err >&5
  13432. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13433. - (exit $ac_status); } &&
  13434. - { ac_try='test -z "$ac_c_werror_flag"
  13435. - || test ! -s conftest.err'
  13436. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13437. - (eval $ac_try) 2>&5
  13438. - ac_status=$?
  13439. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13440. - (exit $ac_status); }; } &&
  13441. - { ac_try='test -s conftest.$ac_objext'
  13442. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13443. - (eval $ac_try) 2>&5
  13444. - ac_status=$?
  13445. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13446. - (exit $ac_status); }; }; then
  13447. - echo "$as_me:$LINENO: result: yes" >&5
  13448. -echo "${ECHO_T}yes" >&6
  13449. + (exit $ac_status); } && {
  13450. + test -z "$ac_c_werror_flag" ||
  13451. + test ! -s conftest.err
  13452. + } && test -s conftest.$ac_objext; then
  13453. + { echo "$as_me:$LINENO: result: yes" >&5
  13454. +echo "${ECHO_T}yes" >&6; }
  13455. cat >>confdefs.h <<\_ACEOF
  13456. #define HAVE_SIGCONTEXT 1
  13457. _ACEOF
  13458. @@ -12685,62 +12715,28 @@
  13459. echo "$as_me: failed program was:" >&5
  13460. sed 's/^/| /' conftest.$ac_ext >&5
  13461. -echo "$as_me:$LINENO: result: no" >&5
  13462. -echo "${ECHO_T}no" >&6
  13463. + { echo "$as_me:$LINENO: result: no" >&5
  13464. +echo "${ECHO_T}no" >&6; }
  13465. fi
  13466. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13467. -
  13468. -echo "$as_me:$LINENO: checking getcwd implementation" >&5
  13469. -echo $ECHO_N "checking getcwd implementation... $ECHO_C" >&6
  13470. -if test "$cross_compiling" = yes; then
  13471. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  13472. -echo "$as_me: error: failed to compile test program" >&2;}
  13473. - { (exit 1); exit 1; }; }
  13474. -else
  13475. - cat >conftest.$ac_ext <<_ACEOF
  13476. -/* confdefs.h. */
  13477. -_ACEOF
  13478. -cat confdefs.h >>conftest.$ac_ext
  13479. -cat >>conftest.$ac_ext <<_ACEOF
  13480. -/* end confdefs.h. */
  13481. -
  13482. -char *dagger[] = { "IFS=pwd", 0 };
  13483. -main()
  13484. -{
  13485. - char buffer[500];
  13486. - extern char **environ;
  13487. - environ = dagger;
  13488. - return getcwd(buffer, 500) ? 0 : 1;
  13489. -}
  13490. -_ACEOF
  13491. -rm -f conftest$ac_exeext
  13492. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13493. - (eval $ac_link) 2>&5
  13494. - ac_status=$?
  13495. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13496. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13497. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13498. - (eval $ac_try) 2>&5
  13499. - ac_status=$?
  13500. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13501. - (exit $ac_status); }; }; then
  13502. - echo "$as_me:$LINENO: result: it is usable" >&5
  13503. -echo "${ECHO_T}it is usable" >&6
  13504. -else
  13505. - echo "$as_me: program exited with status $ac_status" >&5
  13506. -echo "$as_me: failed program was:" >&5
  13507. -sed 's/^/| /' conftest.$ac_ext >&5
  13508. -( exit $ac_status )
  13509. -echo "$as_me:$LINENO: result: it stinks" >&5
  13510. -echo "${ECHO_T}it stinks" >&6
  13511. - cat >>confdefs.h <<\_ACEOF
  13512. -#define BAD_GETCWD 1
  13513. -_ACEOF
  13514. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13515. -fi
  13516. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13517. -fi
  13518. +#dnl tricky stuff: try to find out if getcwd() is implemented with
  13519. +#dnl system("sh -c pwd")
  13520. +#AC_MSG_CHECKING(getcwd implementation)
  13521. +#AC_TRY_RUN([
  13522. +#char *dagger[] = { "IFS=pwd", 0 };
  13523. +#main()
  13524. +#{
  13525. +# char buffer[500];
  13526. +# extern char **environ;
  13527. +# environ = dagger;
  13528. +# return getcwd(buffer, 500) ? 0 : 1;
  13529. +#}],
  13530. +# AC_MSG_RESULT(it is usable),
  13531. +# AC_MSG_RESULT(it stinks)
  13532. +# AC_DEFINE(BAD_GETCWD),
  13533. +# AC_MSG_ERROR(failed to compile test program))
  13534. @@ -12797,9 +12793,9 @@
  13535. usleep utime utimes
  13536. do
  13537. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13538. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  13539. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  13540. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  13541. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  13542. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  13543. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  13544. echo $ECHO_N "(cached) $ECHO_C" >&6
  13545. else
  13546. cat >conftest.$ac_ext <<_ACEOF
  13547. @@ -12825,68 +12821,60 @@
  13548. #undef $ac_func
  13549. -/* Override any gcc2 internal prototype to avoid an error. */
  13550. +/* Override any GCC internal prototype to avoid an error.
  13551. + Use char because int might match the return type of a GCC
  13552. + builtin and then its argument prototype would still apply. */
  13553. #ifdef __cplusplus
  13554. extern "C"
  13555. -{
  13556. #endif
  13557. -/* We use char because int might match the return type of a gcc2
  13558. - builtin and then its argument prototype would still apply. */
  13559. char $ac_func ();
  13560. /* The GNU C library defines this for functions which it implements
  13561. to always fail with ENOSYS. Some functions are actually named
  13562. something starting with __ and the normal name is an alias. */
  13563. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  13564. +#if defined __stub_$ac_func || defined __stub___$ac_func
  13565. choke me
  13566. -#else
  13567. -char (*f) () = $ac_func;
  13568. -#endif
  13569. -#ifdef __cplusplus
  13570. -}
  13571. #endif
  13572. int
  13573. main ()
  13574. {
  13575. -return f != $ac_func;
  13576. +return $ac_func ();
  13577. ;
  13578. return 0;
  13579. }
  13580. _ACEOF
  13581. rm -f conftest.$ac_objext conftest$ac_exeext
  13582. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13583. - (eval $ac_link) 2>conftest.er1
  13584. +if { (ac_try="$ac_link"
  13585. +case "(($ac_try" in
  13586. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13587. + *) ac_try_echo=$ac_try;;
  13588. +esac
  13589. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13590. + (eval "$ac_link") 2>conftest.er1
  13591. ac_status=$?
  13592. grep -v '^ *+' conftest.er1 >conftest.err
  13593. rm -f conftest.er1
  13594. cat conftest.err >&5
  13595. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13596. - (exit $ac_status); } &&
  13597. - { ac_try='test -z "$ac_c_werror_flag"
  13598. - || test ! -s conftest.err'
  13599. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13600. - (eval $ac_try) 2>&5
  13601. - ac_status=$?
  13602. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13603. - (exit $ac_status); }; } &&
  13604. - { ac_try='test -s conftest$ac_exeext'
  13605. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13606. - (eval $ac_try) 2>&5
  13607. - ac_status=$?
  13608. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13609. - (exit $ac_status); }; }; then
  13610. + (exit $ac_status); } && {
  13611. + test -z "$ac_c_werror_flag" ||
  13612. + test ! -s conftest.err
  13613. + } && test -s conftest$ac_exeext &&
  13614. + $as_test_x conftest$ac_exeext; then
  13615. eval "$as_ac_var=yes"
  13616. else
  13617. echo "$as_me: failed program was:" >&5
  13618. sed 's/^/| /' conftest.$ac_ext >&5
  13619. -eval "$as_ac_var=no"
  13620. + eval "$as_ac_var=no"
  13621. fi
  13622. -rm -f conftest.err conftest.$ac_objext \
  13623. +
  13624. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13625. conftest$ac_exeext conftest.$ac_ext
  13626. fi
  13627. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  13628. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  13629. +ac_res=`eval echo '${'$as_ac_var'}'`
  13630. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  13631. +echo "${ECHO_T}$ac_res" >&6; }
  13632. if test `eval echo '${'$as_ac_var'}'` = yes; then
  13633. cat >>confdefs.h <<_ACEOF
  13634. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13635. @@ -12896,8 +12884,8 @@
  13636. done
  13637. -echo "$as_me:$LINENO: checking for st_blksize" >&5
  13638. -echo $ECHO_N "checking for st_blksize... $ECHO_C" >&6
  13639. +{ echo "$as_me:$LINENO: checking for st_blksize" >&5
  13640. +echo $ECHO_N "checking for st_blksize... $ECHO_C" >&6; }
  13641. cat >conftest.$ac_ext <<_ACEOF
  13642. /* confdefs.h. */
  13643. _ACEOF
  13644. @@ -12919,29 +12907,24 @@
  13645. }
  13646. _ACEOF
  13647. rm -f conftest.$ac_objext
  13648. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  13649. - (eval $ac_compile) 2>conftest.er1
  13650. +if { (ac_try="$ac_compile"
  13651. +case "(($ac_try" in
  13652. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13653. + *) ac_try_echo=$ac_try;;
  13654. +esac
  13655. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13656. + (eval "$ac_compile") 2>conftest.er1
  13657. ac_status=$?
  13658. grep -v '^ *+' conftest.er1 >conftest.err
  13659. rm -f conftest.er1
  13660. cat conftest.err >&5
  13661. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13662. - (exit $ac_status); } &&
  13663. - { ac_try='test -z "$ac_c_werror_flag"
  13664. - || test ! -s conftest.err'
  13665. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13666. - (eval $ac_try) 2>&5
  13667. - ac_status=$?
  13668. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13669. - (exit $ac_status); }; } &&
  13670. - { ac_try='test -s conftest.$ac_objext'
  13671. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13672. - (eval $ac_try) 2>&5
  13673. - ac_status=$?
  13674. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13675. - (exit $ac_status); }; }; then
  13676. - echo "$as_me:$LINENO: result: yes" >&5
  13677. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13678. + (exit $ac_status); } && {
  13679. + test -z "$ac_c_werror_flag" ||
  13680. + test ! -s conftest.err
  13681. + } && test -s conftest.$ac_objext; then
  13682. + { echo "$as_me:$LINENO: result: yes" >&5
  13683. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13684. #define HAVE_ST_BLKSIZE 1
  13685. _ACEOF
  13686. @@ -12949,58 +12932,26 @@
  13687. echo "$as_me: failed program was:" >&5
  13688. sed 's/^/| /' conftest.$ac_ext >&5
  13689. -echo "$as_me:$LINENO: result: no" >&5
  13690. -echo "${ECHO_T}no" >&6
  13691. + { echo "$as_me:$LINENO: result: no" >&5
  13692. +echo "${ECHO_T}no" >&6; }
  13693. fi
  13694. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  13695. -echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5
  13696. -echo $ECHO_N "checking whether stat() ignores a trailing slash... $ECHO_C" >&6
  13697. -if test "$cross_compiling" = yes; then
  13698. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  13699. -echo "$as_me: error: failed to compile test program" >&2;}
  13700. - { (exit 1); exit 1; }; }
  13701. -else
  13702. - cat >conftest.$ac_ext <<_ACEOF
  13703. -/* confdefs.h. */
  13704. -_ACEOF
  13705. -cat confdefs.h >>conftest.$ac_ext
  13706. -cat >>conftest.$ac_ext <<_ACEOF
  13707. -/* end confdefs.h. */
  13708. -#include <sys/types.h>
  13709. -#include <sys/stat.h>
  13710. -main() {struct stat st; exit(stat("configure/", &st) != 0); }
  13711. -_ACEOF
  13712. -rm -f conftest$ac_exeext
  13713. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13714. - (eval $ac_link) 2>&5
  13715. - ac_status=$?
  13716. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13717. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13718. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13719. - (eval $ac_try) 2>&5
  13720. - ac_status=$?
  13721. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13722. - (exit $ac_status); }; }; then
  13723. - echo "$as_me:$LINENO: result: yes" >&5
  13724. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13725. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13726. +
  13727. +#AC_MSG_CHECKING(whether stat() ignores a trailing slash)
  13728. +#AC_TRY_RUN(
  13729. +#[#include <sys/types.h>
  13730. +##include <sys/stat.h>
  13731. +#main() {struct stat st; exit(stat("configure/", &st) != 0); }],
  13732. +# AC_MSG_RESULT(yes); AC_DEFINE(STAT_IGNORES_SLASH),
  13733. +# AC_MSG_RESULT(no), AC_MSG_ERROR(failed to compile test program))
  13734. +cat >>confdefs.h <<\_ACEOF
  13735. #define STAT_IGNORES_SLASH 1
  13736. _ACEOF
  13737. -else
  13738. - echo "$as_me: program exited with status $ac_status" >&5
  13739. -echo "$as_me: failed program was:" >&5
  13740. -sed 's/^/| /' conftest.$ac_ext >&5
  13741. -
  13742. -( exit $ac_status )
  13743. -echo "$as_me:$LINENO: result: no" >&5
  13744. -echo "${ECHO_T}no" >&6
  13745. -fi
  13746. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13747. -fi
  13748. -echo "$as_me:$LINENO: checking for iconv_open()" >&5
  13749. -echo $ECHO_N "checking for iconv_open()... $ECHO_C" >&6
  13750. +{ echo "$as_me:$LINENO: checking for iconv_open()" >&5
  13751. +echo $ECHO_N "checking for iconv_open()... $ECHO_C" >&6; }
  13752. save_LIBS="$LIBS"
  13753. LIBS="$LIBS -liconv"
  13754. cat >conftest.$ac_ext <<_ACEOF
  13755. @@ -13023,29 +12974,25 @@
  13756. }
  13757. _ACEOF
  13758. rm -f conftest.$ac_objext conftest$ac_exeext
  13759. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13760. - (eval $ac_link) 2>conftest.er1
  13761. +if { (ac_try="$ac_link"
  13762. +case "(($ac_try" in
  13763. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13764. + *) ac_try_echo=$ac_try;;
  13765. +esac
  13766. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13767. + (eval "$ac_link") 2>conftest.er1
  13768. ac_status=$?
  13769. grep -v '^ *+' conftest.er1 >conftest.err
  13770. rm -f conftest.er1
  13771. cat conftest.err >&5
  13772. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13773. - (exit $ac_status); } &&
  13774. - { ac_try='test -z "$ac_c_werror_flag"
  13775. - || test ! -s conftest.err'
  13776. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13777. - (eval $ac_try) 2>&5
  13778. - ac_status=$?
  13779. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13780. - (exit $ac_status); }; } &&
  13781. - { ac_try='test -s conftest$ac_exeext'
  13782. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13783. - (eval $ac_try) 2>&5
  13784. - ac_status=$?
  13785. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13786. - (exit $ac_status); }; }; then
  13787. - echo "$as_me:$LINENO: result: yes; with -liconv" >&5
  13788. -echo "${ECHO_T}yes; with -liconv" >&6; cat >>confdefs.h <<\_ACEOF
  13789. + (exit $ac_status); } && {
  13790. + test -z "$ac_c_werror_flag" ||
  13791. + test ! -s conftest.err
  13792. + } && test -s conftest$ac_exeext &&
  13793. + $as_test_x conftest$ac_exeext; then
  13794. + { echo "$as_me:$LINENO: result: yes; with -liconv" >&5
  13795. +echo "${ECHO_T}yes; with -liconv" >&6; }; cat >>confdefs.h <<\_ACEOF
  13796. #define HAVE_ICONV 1
  13797. _ACEOF
  13798. @@ -13053,7 +13000,7 @@
  13799. echo "$as_me: failed program was:" >&5
  13800. sed 's/^/| /' conftest.$ac_ext >&5
  13801. -LIBS="$save_LIBS"
  13802. + LIBS="$save_LIBS"
  13803. cat >conftest.$ac_ext <<_ACEOF
  13804. /* confdefs.h. */
  13805. _ACEOF
  13806. @@ -13074,29 +13021,25 @@
  13807. }
  13808. _ACEOF
  13809. rm -f conftest.$ac_objext conftest$ac_exeext
  13810. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13811. - (eval $ac_link) 2>conftest.er1
  13812. +if { (ac_try="$ac_link"
  13813. +case "(($ac_try" in
  13814. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13815. + *) ac_try_echo=$ac_try;;
  13816. +esac
  13817. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13818. + (eval "$ac_link") 2>conftest.er1
  13819. ac_status=$?
  13820. grep -v '^ *+' conftest.er1 >conftest.err
  13821. rm -f conftest.er1
  13822. cat conftest.err >&5
  13823. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13824. - (exit $ac_status); } &&
  13825. - { ac_try='test -z "$ac_c_werror_flag"
  13826. - || test ! -s conftest.err'
  13827. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13828. - (eval $ac_try) 2>&5
  13829. - ac_status=$?
  13830. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13831. - (exit $ac_status); }; } &&
  13832. - { ac_try='test -s conftest$ac_exeext'
  13833. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13834. - (eval $ac_try) 2>&5
  13835. - ac_status=$?
  13836. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13837. - (exit $ac_status); }; }; then
  13838. - echo "$as_me:$LINENO: result: yes" >&5
  13839. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13840. + (exit $ac_status); } && {
  13841. + test -z "$ac_c_werror_flag" ||
  13842. + test ! -s conftest.err
  13843. + } && test -s conftest$ac_exeext &&
  13844. + $as_test_x conftest$ac_exeext; then
  13845. + { echo "$as_me:$LINENO: result: yes" >&5
  13846. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13847. #define HAVE_ICONV 1
  13848. _ACEOF
  13849. @@ -13104,18 +13047,20 @@
  13850. echo "$as_me: failed program was:" >&5
  13851. sed 's/^/| /' conftest.$ac_ext >&5
  13852. -echo "$as_me:$LINENO: result: no" >&5
  13853. -echo "${ECHO_T}no" >&6
  13854. + { echo "$as_me:$LINENO: result: no" >&5
  13855. +echo "${ECHO_T}no" >&6; }
  13856. fi
  13857. -rm -f conftest.err conftest.$ac_objext \
  13858. +
  13859. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13860. conftest$ac_exeext conftest.$ac_ext
  13861. fi
  13862. -rm -f conftest.err conftest.$ac_objext \
  13863. +
  13864. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13865. conftest$ac_exeext conftest.$ac_ext
  13866. -echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
  13867. -echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6
  13868. +{ echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
  13869. +echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6; }
  13870. cat >conftest.$ac_ext <<_ACEOF
  13871. /* confdefs.h. */
  13872. _ACEOF
  13873. @@ -13136,29 +13081,25 @@
  13874. }
  13875. _ACEOF
  13876. rm -f conftest.$ac_objext conftest$ac_exeext
  13877. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13878. - (eval $ac_link) 2>conftest.er1
  13879. +if { (ac_try="$ac_link"
  13880. +case "(($ac_try" in
  13881. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13882. + *) ac_try_echo=$ac_try;;
  13883. +esac
  13884. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13885. + (eval "$ac_link") 2>conftest.er1
  13886. ac_status=$?
  13887. grep -v '^ *+' conftest.er1 >conftest.err
  13888. rm -f conftest.er1
  13889. cat conftest.err >&5
  13890. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13891. - (exit $ac_status); } &&
  13892. - { ac_try='test -z "$ac_c_werror_flag"
  13893. - || test ! -s conftest.err'
  13894. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13895. - (eval $ac_try) 2>&5
  13896. - ac_status=$?
  13897. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13898. - (exit $ac_status); }; } &&
  13899. - { ac_try='test -s conftest$ac_exeext'
  13900. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13901. - (eval $ac_try) 2>&5
  13902. - ac_status=$?
  13903. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13904. - (exit $ac_status); }; }; then
  13905. - echo "$as_me:$LINENO: result: yes" >&5
  13906. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  13907. + (exit $ac_status); } && {
  13908. + test -z "$ac_c_werror_flag" ||
  13909. + test ! -s conftest.err
  13910. + } && test -s conftest$ac_exeext &&
  13911. + $as_test_x conftest$ac_exeext; then
  13912. + { echo "$as_me:$LINENO: result: yes" >&5
  13913. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  13914. #define HAVE_NL_LANGINFO_CODESET 1
  13915. _ACEOF
  13916. @@ -13166,26 +13107,27 @@
  13917. echo "$as_me: failed program was:" >&5
  13918. sed 's/^/| /' conftest.$ac_ext >&5
  13919. -echo "$as_me:$LINENO: result: no" >&5
  13920. -echo "${ECHO_T}no" >&6
  13921. + { echo "$as_me:$LINENO: result: no" >&5
  13922. +echo "${ECHO_T}no" >&6; }
  13923. fi
  13924. -rm -f conftest.err conftest.$ac_objext \
  13925. +
  13926. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13927. conftest$ac_exeext conftest.$ac_ext
  13928. -echo "$as_me:$LINENO: checking --disable-acl argument" >&5
  13929. -echo $ECHO_N "checking --disable-acl argument... $ECHO_C" >&6
  13930. -# Check whether --enable-acl or --disable-acl was given.
  13931. +{ echo "$as_me:$LINENO: checking --disable-acl argument" >&5
  13932. +echo $ECHO_N "checking --disable-acl argument... $ECHO_C" >&6; }
  13933. +# Check whether --enable-acl was given.
  13934. if test "${enable_acl+set}" = set; then
  13935. - enableval="$enable_acl"
  13936. -
  13937. + enableval=$enable_acl;
  13938. else
  13939. enable_acl="yes"
  13940. -fi;
  13941. +fi
  13942. +
  13943. if test "$enable_acl" = "yes"; then
  13944. -echo "$as_me:$LINENO: result: no" >&5
  13945. -echo "${ECHO_T}no" >&6
  13946. -echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
  13947. -echo $ECHO_N "checking for acl_get_file in -lposix1e... $ECHO_C" >&6
  13948. +{ echo "$as_me:$LINENO: result: no" >&5
  13949. +echo "${ECHO_T}no" >&6; }
  13950. +{ echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
  13951. +echo $ECHO_N "checking for acl_get_file in -lposix1e... $ECHO_C" >&6; }
  13952. if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then
  13953. echo $ECHO_N "(cached) $ECHO_C" >&6
  13954. else
  13955. @@ -13198,61 +13140,58 @@
  13956. cat >>conftest.$ac_ext <<_ACEOF
  13957. /* end confdefs.h. */
  13958. -/* Override any gcc2 internal prototype to avoid an error. */
  13959. +/* Override any GCC internal prototype to avoid an error.
  13960. + Use char because int might match the return type of a GCC
  13961. + builtin and then its argument prototype would still apply. */
  13962. #ifdef __cplusplus
  13963. extern "C"
  13964. #endif
  13965. -/* We use char because int might match the return type of a gcc2
  13966. - builtin and then its argument prototype would still apply. */
  13967. char acl_get_file ();
  13968. int
  13969. main ()
  13970. {
  13971. -acl_get_file ();
  13972. +return acl_get_file ();
  13973. ;
  13974. return 0;
  13975. }
  13976. _ACEOF
  13977. rm -f conftest.$ac_objext conftest$ac_exeext
  13978. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  13979. - (eval $ac_link) 2>conftest.er1
  13980. +if { (ac_try="$ac_link"
  13981. +case "(($ac_try" in
  13982. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13983. + *) ac_try_echo=$ac_try;;
  13984. +esac
  13985. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13986. + (eval "$ac_link") 2>conftest.er1
  13987. ac_status=$?
  13988. grep -v '^ *+' conftest.er1 >conftest.err
  13989. rm -f conftest.er1
  13990. cat conftest.err >&5
  13991. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13992. - (exit $ac_status); } &&
  13993. - { ac_try='test -z "$ac_c_werror_flag"
  13994. - || test ! -s conftest.err'
  13995. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  13996. - (eval $ac_try) 2>&5
  13997. - ac_status=$?
  13998. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13999. - (exit $ac_status); }; } &&
  14000. - { ac_try='test -s conftest$ac_exeext'
  14001. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14002. - (eval $ac_try) 2>&5
  14003. - ac_status=$?
  14004. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14005. - (exit $ac_status); }; }; then
  14006. + (exit $ac_status); } && {
  14007. + test -z "$ac_c_werror_flag" ||
  14008. + test ! -s conftest.err
  14009. + } && test -s conftest$ac_exeext &&
  14010. + $as_test_x conftest$ac_exeext; then
  14011. ac_cv_lib_posix1e_acl_get_file=yes
  14012. else
  14013. echo "$as_me: failed program was:" >&5
  14014. sed 's/^/| /' conftest.$ac_ext >&5
  14015. -ac_cv_lib_posix1e_acl_get_file=no
  14016. + ac_cv_lib_posix1e_acl_get_file=no
  14017. fi
  14018. -rm -f conftest.err conftest.$ac_objext \
  14019. +
  14020. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14021. conftest$ac_exeext conftest.$ac_ext
  14022. LIBS=$ac_check_lib_save_LIBS
  14023. fi
  14024. -echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
  14025. -echo "${ECHO_T}$ac_cv_lib_posix1e_acl_get_file" >&6
  14026. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
  14027. +echo "${ECHO_T}$ac_cv_lib_posix1e_acl_get_file" >&6; }
  14028. if test $ac_cv_lib_posix1e_acl_get_file = yes; then
  14029. LIBS="$LIBS -lposix1e"
  14030. else
  14031. - echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
  14032. -echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
  14033. + { echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
  14034. +echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6; }
  14035. if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
  14036. echo $ECHO_N "(cached) $ECHO_C" >&6
  14037. else
  14038. @@ -13265,60 +13204,57 @@
  14039. cat >>conftest.$ac_ext <<_ACEOF
  14040. /* end confdefs.h. */
  14041. -/* Override any gcc2 internal prototype to avoid an error. */
  14042. +/* Override any GCC internal prototype to avoid an error.
  14043. + Use char because int might match the return type of a GCC
  14044. + builtin and then its argument prototype would still apply. */
  14045. #ifdef __cplusplus
  14046. extern "C"
  14047. #endif
  14048. -/* We use char because int might match the return type of a gcc2
  14049. - builtin and then its argument prototype would still apply. */
  14050. char acl_get_file ();
  14051. int
  14052. main ()
  14053. {
  14054. -acl_get_file ();
  14055. +return acl_get_file ();
  14056. ;
  14057. return 0;
  14058. }
  14059. _ACEOF
  14060. rm -f conftest.$ac_objext conftest$ac_exeext
  14061. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14062. - (eval $ac_link) 2>conftest.er1
  14063. +if { (ac_try="$ac_link"
  14064. +case "(($ac_try" in
  14065. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14066. + *) ac_try_echo=$ac_try;;
  14067. +esac
  14068. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14069. + (eval "$ac_link") 2>conftest.er1
  14070. ac_status=$?
  14071. grep -v '^ *+' conftest.er1 >conftest.err
  14072. rm -f conftest.er1
  14073. cat conftest.err >&5
  14074. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14075. - (exit $ac_status); } &&
  14076. - { ac_try='test -z "$ac_c_werror_flag"
  14077. - || test ! -s conftest.err'
  14078. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14079. - (eval $ac_try) 2>&5
  14080. - ac_status=$?
  14081. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14082. - (exit $ac_status); }; } &&
  14083. - { ac_try='test -s conftest$ac_exeext'
  14084. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14085. - (eval $ac_try) 2>&5
  14086. - ac_status=$?
  14087. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14088. - (exit $ac_status); }; }; then
  14089. + (exit $ac_status); } && {
  14090. + test -z "$ac_c_werror_flag" ||
  14091. + test ! -s conftest.err
  14092. + } && test -s conftest$ac_exeext &&
  14093. + $as_test_x conftest$ac_exeext; then
  14094. ac_cv_lib_acl_acl_get_file=yes
  14095. else
  14096. echo "$as_me: failed program was:" >&5
  14097. sed 's/^/| /' conftest.$ac_ext >&5
  14098. -ac_cv_lib_acl_acl_get_file=no
  14099. + ac_cv_lib_acl_acl_get_file=no
  14100. fi
  14101. -rm -f conftest.err conftest.$ac_objext \
  14102. +
  14103. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14104. conftest$ac_exeext conftest.$ac_ext
  14105. LIBS=$ac_check_lib_save_LIBS
  14106. fi
  14107. -echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
  14108. -echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
  14109. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
  14110. +echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6; }
  14111. if test $ac_cv_lib_acl_acl_get_file = yes; then
  14112. LIBS="$LIBS -lacl"
  14113. - echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
  14114. -echo $ECHO_N "checking for fgetxattr in -lattr... $ECHO_C" >&6
  14115. + { echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
  14116. +echo $ECHO_N "checking for fgetxattr in -lattr... $ECHO_C" >&6; }
  14117. if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then
  14118. echo $ECHO_N "(cached) $ECHO_C" >&6
  14119. else
  14120. @@ -13331,56 +13267,53 @@
  14121. cat >>conftest.$ac_ext <<_ACEOF
  14122. /* end confdefs.h. */
  14123. -/* Override any gcc2 internal prototype to avoid an error. */
  14124. +/* Override any GCC internal prototype to avoid an error.
  14125. + Use char because int might match the return type of a GCC
  14126. + builtin and then its argument prototype would still apply. */
  14127. #ifdef __cplusplus
  14128. extern "C"
  14129. #endif
  14130. -/* We use char because int might match the return type of a gcc2
  14131. - builtin and then its argument prototype would still apply. */
  14132. char fgetxattr ();
  14133. int
  14134. main ()
  14135. {
  14136. -fgetxattr ();
  14137. +return fgetxattr ();
  14138. ;
  14139. return 0;
  14140. }
  14141. _ACEOF
  14142. rm -f conftest.$ac_objext conftest$ac_exeext
  14143. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14144. - (eval $ac_link) 2>conftest.er1
  14145. +if { (ac_try="$ac_link"
  14146. +case "(($ac_try" in
  14147. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14148. + *) ac_try_echo=$ac_try;;
  14149. +esac
  14150. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14151. + (eval "$ac_link") 2>conftest.er1
  14152. ac_status=$?
  14153. grep -v '^ *+' conftest.er1 >conftest.err
  14154. rm -f conftest.er1
  14155. cat conftest.err >&5
  14156. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14157. - (exit $ac_status); } &&
  14158. - { ac_try='test -z "$ac_c_werror_flag"
  14159. - || test ! -s conftest.err'
  14160. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14161. - (eval $ac_try) 2>&5
  14162. - ac_status=$?
  14163. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14164. - (exit $ac_status); }; } &&
  14165. - { ac_try='test -s conftest$ac_exeext'
  14166. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14167. - (eval $ac_try) 2>&5
  14168. - ac_status=$?
  14169. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14170. - (exit $ac_status); }; }; then
  14171. + (exit $ac_status); } && {
  14172. + test -z "$ac_c_werror_flag" ||
  14173. + test ! -s conftest.err
  14174. + } && test -s conftest$ac_exeext &&
  14175. + $as_test_x conftest$ac_exeext; then
  14176. ac_cv_lib_attr_fgetxattr=yes
  14177. else
  14178. echo "$as_me: failed program was:" >&5
  14179. sed 's/^/| /' conftest.$ac_ext >&5
  14180. -ac_cv_lib_attr_fgetxattr=no
  14181. + ac_cv_lib_attr_fgetxattr=no
  14182. fi
  14183. -rm -f conftest.err conftest.$ac_objext \
  14184. +
  14185. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14186. conftest$ac_exeext conftest.$ac_ext
  14187. LIBS=$ac_check_lib_save_LIBS
  14188. fi
  14189. -echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
  14190. -echo "${ECHO_T}$ac_cv_lib_attr_fgetxattr" >&6
  14191. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
  14192. +echo "${ECHO_T}$ac_cv_lib_attr_fgetxattr" >&6; }
  14193. if test $ac_cv_lib_attr_fgetxattr = yes; then
  14194. LIBS="$LIBS -lattr"
  14195. fi
  14196. @@ -13390,8 +13323,8 @@
  14197. fi
  14198. -echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
  14199. -echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6
  14200. +{ echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
  14201. +echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6; }
  14202. cat >conftest.$ac_ext <<_ACEOF
  14203. /* confdefs.h. */
  14204. _ACEOF
  14205. @@ -13415,29 +13348,25 @@
  14206. }
  14207. _ACEOF
  14208. rm -f conftest.$ac_objext conftest$ac_exeext
  14209. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14210. - (eval $ac_link) 2>conftest.er1
  14211. +if { (ac_try="$ac_link"
  14212. +case "(($ac_try" in
  14213. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14214. + *) ac_try_echo=$ac_try;;
  14215. +esac
  14216. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14217. + (eval "$ac_link") 2>conftest.er1
  14218. ac_status=$?
  14219. grep -v '^ *+' conftest.er1 >conftest.err
  14220. rm -f conftest.er1
  14221. cat conftest.err >&5
  14222. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14223. - (exit $ac_status); } &&
  14224. - { ac_try='test -z "$ac_c_werror_flag"
  14225. - || test ! -s conftest.err'
  14226. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14227. - (eval $ac_try) 2>&5
  14228. - ac_status=$?
  14229. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14230. - (exit $ac_status); }; } &&
  14231. - { ac_try='test -s conftest$ac_exeext'
  14232. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14233. - (eval $ac_try) 2>&5
  14234. - ac_status=$?
  14235. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14236. - (exit $ac_status); }; }; then
  14237. - echo "$as_me:$LINENO: result: yes" >&5
  14238. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14239. + (exit $ac_status); } && {
  14240. + test -z "$ac_c_werror_flag" ||
  14241. + test ! -s conftest.err
  14242. + } && test -s conftest$ac_exeext &&
  14243. + $as_test_x conftest$ac_exeext; then
  14244. + { echo "$as_me:$LINENO: result: yes" >&5
  14245. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14246. #define HAVE_POSIX_ACL 1
  14247. _ACEOF
  14248. @@ -13445,14 +13374,15 @@
  14249. echo "$as_me: failed program was:" >&5
  14250. sed 's/^/| /' conftest.$ac_ext >&5
  14251. -echo "$as_me:$LINENO: result: no" >&5
  14252. -echo "${ECHO_T}no" >&6
  14253. + { echo "$as_me:$LINENO: result: no" >&5
  14254. +echo "${ECHO_T}no" >&6; }
  14255. fi
  14256. -rm -f conftest.err conftest.$ac_objext \
  14257. +
  14258. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14259. conftest$ac_exeext conftest.$ac_ext
  14260. -echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
  14261. -echo $ECHO_N "checking for Solaris ACL support... $ECHO_C" >&6
  14262. +{ echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
  14263. +echo $ECHO_N "checking for Solaris ACL support... $ECHO_C" >&6; }
  14264. cat >conftest.$ac_ext <<_ACEOF
  14265. /* confdefs.h. */
  14266. _ACEOF
  14267. @@ -13473,29 +13403,25 @@
  14268. }
  14269. _ACEOF
  14270. rm -f conftest.$ac_objext conftest$ac_exeext
  14271. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14272. - (eval $ac_link) 2>conftest.er1
  14273. +if { (ac_try="$ac_link"
  14274. +case "(($ac_try" in
  14275. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14276. + *) ac_try_echo=$ac_try;;
  14277. +esac
  14278. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14279. + (eval "$ac_link") 2>conftest.er1
  14280. ac_status=$?
  14281. grep -v '^ *+' conftest.er1 >conftest.err
  14282. rm -f conftest.er1
  14283. cat conftest.err >&5
  14284. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14285. - (exit $ac_status); } &&
  14286. - { ac_try='test -z "$ac_c_werror_flag"
  14287. - || test ! -s conftest.err'
  14288. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14289. - (eval $ac_try) 2>&5
  14290. - ac_status=$?
  14291. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14292. - (exit $ac_status); }; } &&
  14293. - { ac_try='test -s conftest$ac_exeext'
  14294. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14295. - (eval $ac_try) 2>&5
  14296. - ac_status=$?
  14297. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14298. - (exit $ac_status); }; }; then
  14299. - echo "$as_me:$LINENO: result: yes" >&5
  14300. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14301. + (exit $ac_status); } && {
  14302. + test -z "$ac_c_werror_flag" ||
  14303. + test ! -s conftest.err
  14304. + } && test -s conftest$ac_exeext &&
  14305. + $as_test_x conftest$ac_exeext; then
  14306. + { echo "$as_me:$LINENO: result: yes" >&5
  14307. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14308. #define HAVE_SOLARIS_ACL 1
  14309. _ACEOF
  14310. @@ -13503,14 +13429,15 @@
  14311. echo "$as_me: failed program was:" >&5
  14312. sed 's/^/| /' conftest.$ac_ext >&5
  14313. -echo "$as_me:$LINENO: result: no" >&5
  14314. -echo "${ECHO_T}no" >&6
  14315. + { echo "$as_me:$LINENO: result: no" >&5
  14316. +echo "${ECHO_T}no" >&6; }
  14317. fi
  14318. -rm -f conftest.err conftest.$ac_objext \
  14319. +
  14320. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14321. conftest$ac_exeext conftest.$ac_ext
  14322. -echo "$as_me:$LINENO: checking for AIX ACL support" >&5
  14323. -echo $ECHO_N "checking for AIX ACL support... $ECHO_C" >&6
  14324. +{ echo "$as_me:$LINENO: checking for AIX ACL support" >&5
  14325. +echo $ECHO_N "checking for AIX ACL support... $ECHO_C" >&6; }
  14326. cat >conftest.$ac_ext <<_ACEOF
  14327. /* confdefs.h. */
  14328. _ACEOF
  14329. @@ -13542,29 +13469,25 @@
  14330. }
  14331. _ACEOF
  14332. rm -f conftest.$ac_objext conftest$ac_exeext
  14333. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14334. - (eval $ac_link) 2>conftest.er1
  14335. +if { (ac_try="$ac_link"
  14336. +case "(($ac_try" in
  14337. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14338. + *) ac_try_echo=$ac_try;;
  14339. +esac
  14340. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14341. + (eval "$ac_link") 2>conftest.er1
  14342. ac_status=$?
  14343. grep -v '^ *+' conftest.er1 >conftest.err
  14344. rm -f conftest.er1
  14345. cat conftest.err >&5
  14346. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14347. - (exit $ac_status); } &&
  14348. - { ac_try='test -z "$ac_c_werror_flag"
  14349. - || test ! -s conftest.err'
  14350. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14351. - (eval $ac_try) 2>&5
  14352. - ac_status=$?
  14353. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14354. - (exit $ac_status); }; } &&
  14355. - { ac_try='test -s conftest$ac_exeext'
  14356. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14357. - (eval $ac_try) 2>&5
  14358. - ac_status=$?
  14359. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14360. - (exit $ac_status); }; }; then
  14361. - echo "$as_me:$LINENO: result: yes" >&5
  14362. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14363. + (exit $ac_status); } && {
  14364. + test -z "$ac_c_werror_flag" ||
  14365. + test ! -s conftest.err
  14366. + } && test -s conftest$ac_exeext &&
  14367. + $as_test_x conftest$ac_exeext; then
  14368. + { echo "$as_me:$LINENO: result: yes" >&5
  14369. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14370. #define HAVE_AIX_ACL 1
  14371. _ACEOF
  14372. @@ -13572,31 +13495,32 @@
  14373. echo "$as_me: failed program was:" >&5
  14374. sed 's/^/| /' conftest.$ac_ext >&5
  14375. -echo "$as_me:$LINENO: result: no" >&5
  14376. -echo "${ECHO_T}no" >&6
  14377. + { echo "$as_me:$LINENO: result: no" >&5
  14378. +echo "${ECHO_T}no" >&6; }
  14379. fi
  14380. -rm -f conftest.err conftest.$ac_objext \
  14381. +
  14382. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14383. conftest$ac_exeext conftest.$ac_ext
  14384. else
  14385. - echo "$as_me:$LINENO: result: yes" >&5
  14386. -echo "${ECHO_T}yes" >&6
  14387. + { echo "$as_me:$LINENO: result: yes" >&5
  14388. +echo "${ECHO_T}yes" >&6; }
  14389. fi
  14390. -echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
  14391. -echo $ECHO_N "checking --disable-gpm argument... $ECHO_C" >&6
  14392. -# Check whether --enable-gpm or --disable-gpm was given.
  14393. +{ echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
  14394. +echo $ECHO_N "checking --disable-gpm argument... $ECHO_C" >&6; }
  14395. +# Check whether --enable-gpm was given.
  14396. if test "${enable_gpm+set}" = set; then
  14397. - enableval="$enable_gpm"
  14398. -
  14399. + enableval=$enable_gpm;
  14400. else
  14401. enable_gpm="yes"
  14402. -fi;
  14403. +fi
  14404. +
  14405. if test "$enable_gpm" = "yes"; then
  14406. - echo "$as_me:$LINENO: result: no" >&5
  14407. -echo "${ECHO_T}no" >&6
  14408. - echo "$as_me:$LINENO: checking for gpm" >&5
  14409. -echo $ECHO_N "checking for gpm... $ECHO_C" >&6
  14410. + { echo "$as_me:$LINENO: result: no" >&5
  14411. +echo "${ECHO_T}no" >&6; }
  14412. + { echo "$as_me:$LINENO: checking for gpm" >&5
  14413. +echo $ECHO_N "checking for gpm... $ECHO_C" >&6; }
  14414. if test "${vi_cv_have_gpm+set}" = set; then
  14415. echo $ECHO_N "(cached) $ECHO_C" >&6
  14416. else
  14417. @@ -13618,41 +13542,38 @@
  14418. }
  14419. _ACEOF
  14420. rm -f conftest.$ac_objext conftest$ac_exeext
  14421. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14422. - (eval $ac_link) 2>conftest.er1
  14423. +if { (ac_try="$ac_link"
  14424. +case "(($ac_try" in
  14425. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14426. + *) ac_try_echo=$ac_try;;
  14427. +esac
  14428. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14429. + (eval "$ac_link") 2>conftest.er1
  14430. ac_status=$?
  14431. grep -v '^ *+' conftest.er1 >conftest.err
  14432. rm -f conftest.er1
  14433. cat conftest.err >&5
  14434. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14435. - (exit $ac_status); } &&
  14436. - { ac_try='test -z "$ac_c_werror_flag"
  14437. - || test ! -s conftest.err'
  14438. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14439. - (eval $ac_try) 2>&5
  14440. - ac_status=$?
  14441. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14442. - (exit $ac_status); }; } &&
  14443. - { ac_try='test -s conftest$ac_exeext'
  14444. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14445. - (eval $ac_try) 2>&5
  14446. - ac_status=$?
  14447. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14448. - (exit $ac_status); }; }; then
  14449. + (exit $ac_status); } && {
  14450. + test -z "$ac_c_werror_flag" ||
  14451. + test ! -s conftest.err
  14452. + } && test -s conftest$ac_exeext &&
  14453. + $as_test_x conftest$ac_exeext; then
  14454. vi_cv_have_gpm=yes
  14455. else
  14456. echo "$as_me: failed program was:" >&5
  14457. sed 's/^/| /' conftest.$ac_ext >&5
  14458. -vi_cv_have_gpm=no
  14459. + vi_cv_have_gpm=no
  14460. fi
  14461. -rm -f conftest.err conftest.$ac_objext \
  14462. +
  14463. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14464. conftest$ac_exeext conftest.$ac_ext
  14465. LIBS="$olibs"
  14466. fi
  14467. -echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
  14468. -echo "${ECHO_T}$vi_cv_have_gpm" >&6
  14469. +{ echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
  14470. +echo "${ECHO_T}$vi_cv_have_gpm" >&6; }
  14471. if test $vi_cv_have_gpm = yes; then
  14472. LIBS="$LIBS -lgpm"
  14473. cat >>confdefs.h <<\_ACEOF
  14474. @@ -13661,12 +13582,12 @@
  14475. fi
  14476. else
  14477. - echo "$as_me:$LINENO: result: yes" >&5
  14478. -echo "${ECHO_T}yes" >&6
  14479. + { echo "$as_me:$LINENO: result: yes" >&5
  14480. +echo "${ECHO_T}yes" >&6; }
  14481. fi
  14482. -echo "$as_me:$LINENO: checking for rename" >&5
  14483. -echo $ECHO_N "checking for rename... $ECHO_C" >&6
  14484. +{ echo "$as_me:$LINENO: checking for rename" >&5
  14485. +echo $ECHO_N "checking for rename... $ECHO_C" >&6; }
  14486. cat >conftest.$ac_ext <<_ACEOF
  14487. /* confdefs.h. */
  14488. _ACEOF
  14489. @@ -13683,29 +13604,25 @@
  14490. }
  14491. _ACEOF
  14492. rm -f conftest.$ac_objext conftest$ac_exeext
  14493. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14494. - (eval $ac_link) 2>conftest.er1
  14495. +if { (ac_try="$ac_link"
  14496. +case "(($ac_try" in
  14497. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14498. + *) ac_try_echo=$ac_try;;
  14499. +esac
  14500. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14501. + (eval "$ac_link") 2>conftest.er1
  14502. ac_status=$?
  14503. grep -v '^ *+' conftest.er1 >conftest.err
  14504. rm -f conftest.er1
  14505. cat conftest.err >&5
  14506. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14507. - (exit $ac_status); } &&
  14508. - { ac_try='test -z "$ac_c_werror_flag"
  14509. - || test ! -s conftest.err'
  14510. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14511. - (eval $ac_try) 2>&5
  14512. - ac_status=$?
  14513. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14514. - (exit $ac_status); }; } &&
  14515. - { ac_try='test -s conftest$ac_exeext'
  14516. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14517. - (eval $ac_try) 2>&5
  14518. - ac_status=$?
  14519. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14520. - (exit $ac_status); }; }; then
  14521. - echo "$as_me:$LINENO: result: yes" >&5
  14522. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14523. + (exit $ac_status); } && {
  14524. + test -z "$ac_c_werror_flag" ||
  14525. + test ! -s conftest.err
  14526. + } && test -s conftest$ac_exeext &&
  14527. + $as_test_x conftest$ac_exeext; then
  14528. + { echo "$as_me:$LINENO: result: yes" >&5
  14529. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14530. #define HAVE_RENAME 1
  14531. _ACEOF
  14532. @@ -13713,14 +13630,15 @@
  14533. echo "$as_me: failed program was:" >&5
  14534. sed 's/^/| /' conftest.$ac_ext >&5
  14535. -echo "$as_me:$LINENO: result: no" >&5
  14536. -echo "${ECHO_T}no" >&6
  14537. + { echo "$as_me:$LINENO: result: no" >&5
  14538. +echo "${ECHO_T}no" >&6; }
  14539. fi
  14540. -rm -f conftest.err conftest.$ac_objext \
  14541. +
  14542. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14543. conftest$ac_exeext conftest.$ac_ext
  14544. -echo "$as_me:$LINENO: checking for sysctl" >&5
  14545. -echo $ECHO_N "checking for sysctl... $ECHO_C" >&6
  14546. +{ echo "$as_me:$LINENO: checking for sysctl" >&5
  14547. +echo $ECHO_N "checking for sysctl... $ECHO_C" >&6; }
  14548. cat >conftest.$ac_ext <<_ACEOF
  14549. /* confdefs.h. */
  14550. _ACEOF
  14551. @@ -13745,29 +13663,24 @@
  14552. }
  14553. _ACEOF
  14554. rm -f conftest.$ac_objext
  14555. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14556. - (eval $ac_compile) 2>conftest.er1
  14557. +if { (ac_try="$ac_compile"
  14558. +case "(($ac_try" in
  14559. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14560. + *) ac_try_echo=$ac_try;;
  14561. +esac
  14562. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14563. + (eval "$ac_compile") 2>conftest.er1
  14564. ac_status=$?
  14565. grep -v '^ *+' conftest.er1 >conftest.err
  14566. rm -f conftest.er1
  14567. cat conftest.err >&5
  14568. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14569. - (exit $ac_status); } &&
  14570. - { ac_try='test -z "$ac_c_werror_flag"
  14571. - || test ! -s conftest.err'
  14572. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14573. - (eval $ac_try) 2>&5
  14574. - ac_status=$?
  14575. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14576. - (exit $ac_status); }; } &&
  14577. - { ac_try='test -s conftest.$ac_objext'
  14578. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14579. - (eval $ac_try) 2>&5
  14580. - ac_status=$?
  14581. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14582. - (exit $ac_status); }; }; then
  14583. - echo "$as_me:$LINENO: result: yes" >&5
  14584. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14585. + (exit $ac_status); } && {
  14586. + test -z "$ac_c_werror_flag" ||
  14587. + test ! -s conftest.err
  14588. + } && test -s conftest.$ac_objext; then
  14589. + { echo "$as_me:$LINENO: result: yes" >&5
  14590. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14591. #define HAVE_SYSCTL 1
  14592. _ACEOF
  14593. @@ -13775,13 +13688,14 @@
  14594. echo "$as_me: failed program was:" >&5
  14595. sed 's/^/| /' conftest.$ac_ext >&5
  14596. -echo "$as_me:$LINENO: result: not usable" >&5
  14597. -echo "${ECHO_T}not usable" >&6
  14598. + { echo "$as_me:$LINENO: result: not usable" >&5
  14599. +echo "${ECHO_T}not usable" >&6; }
  14600. fi
  14601. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14602. -echo "$as_me:$LINENO: checking for sysinfo" >&5
  14603. -echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6
  14604. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14605. +
  14606. +{ echo "$as_me:$LINENO: checking for sysinfo" >&5
  14607. +echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6; }
  14608. cat >conftest.$ac_ext <<_ACEOF
  14609. /* confdefs.h. */
  14610. _ACEOF
  14611. @@ -13804,29 +13718,24 @@
  14612. }
  14613. _ACEOF
  14614. rm -f conftest.$ac_objext
  14615. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14616. - (eval $ac_compile) 2>conftest.er1
  14617. +if { (ac_try="$ac_compile"
  14618. +case "(($ac_try" in
  14619. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14620. + *) ac_try_echo=$ac_try;;
  14621. +esac
  14622. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14623. + (eval "$ac_compile") 2>conftest.er1
  14624. ac_status=$?
  14625. grep -v '^ *+' conftest.er1 >conftest.err
  14626. rm -f conftest.er1
  14627. cat conftest.err >&5
  14628. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14629. - (exit $ac_status); } &&
  14630. - { ac_try='test -z "$ac_c_werror_flag"
  14631. - || test ! -s conftest.err'
  14632. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14633. - (eval $ac_try) 2>&5
  14634. - ac_status=$?
  14635. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14636. - (exit $ac_status); }; } &&
  14637. - { ac_try='test -s conftest.$ac_objext'
  14638. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14639. - (eval $ac_try) 2>&5
  14640. - ac_status=$?
  14641. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14642. - (exit $ac_status); }; }; then
  14643. - echo "$as_me:$LINENO: result: yes" >&5
  14644. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14645. + (exit $ac_status); } && {
  14646. + test -z "$ac_c_werror_flag" ||
  14647. + test ! -s conftest.err
  14648. + } && test -s conftest.$ac_objext; then
  14649. + { echo "$as_me:$LINENO: result: yes" >&5
  14650. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14651. #define HAVE_SYSINFO 1
  14652. _ACEOF
  14653. @@ -13834,13 +13743,14 @@
  14654. echo "$as_me: failed program was:" >&5
  14655. sed 's/^/| /' conftest.$ac_ext >&5
  14656. -echo "$as_me:$LINENO: result: not usable" >&5
  14657. -echo "${ECHO_T}not usable" >&6
  14658. + { echo "$as_me:$LINENO: result: not usable" >&5
  14659. +echo "${ECHO_T}not usable" >&6; }
  14660. fi
  14661. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14662. -echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
  14663. -echo $ECHO_N "checking for sysinfo.mem_unit... $ECHO_C" >&6
  14664. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14665. +
  14666. +{ echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
  14667. +echo $ECHO_N "checking for sysinfo.mem_unit... $ECHO_C" >&6; }
  14668. cat >conftest.$ac_ext <<_ACEOF
  14669. /* confdefs.h. */
  14670. _ACEOF
  14671. @@ -13860,29 +13770,24 @@
  14672. }
  14673. _ACEOF
  14674. rm -f conftest.$ac_objext
  14675. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14676. - (eval $ac_compile) 2>conftest.er1
  14677. +if { (ac_try="$ac_compile"
  14678. +case "(($ac_try" in
  14679. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14680. + *) ac_try_echo=$ac_try;;
  14681. +esac
  14682. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14683. + (eval "$ac_compile") 2>conftest.er1
  14684. ac_status=$?
  14685. grep -v '^ *+' conftest.er1 >conftest.err
  14686. rm -f conftest.er1
  14687. cat conftest.err >&5
  14688. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14689. - (exit $ac_status); } &&
  14690. - { ac_try='test -z "$ac_c_werror_flag"
  14691. - || test ! -s conftest.err'
  14692. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14693. - (eval $ac_try) 2>&5
  14694. - ac_status=$?
  14695. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14696. - (exit $ac_status); }; } &&
  14697. - { ac_try='test -s conftest.$ac_objext'
  14698. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14699. - (eval $ac_try) 2>&5
  14700. - ac_status=$?
  14701. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14702. - (exit $ac_status); }; }; then
  14703. - echo "$as_me:$LINENO: result: yes" >&5
  14704. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14705. + (exit $ac_status); } && {
  14706. + test -z "$ac_c_werror_flag" ||
  14707. + test ! -s conftest.err
  14708. + } && test -s conftest.$ac_objext; then
  14709. + { echo "$as_me:$LINENO: result: yes" >&5
  14710. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14711. #define HAVE_SYSINFO_MEM_UNIT 1
  14712. _ACEOF
  14713. @@ -13890,257 +13795,116 @@
  14714. echo "$as_me: failed program was:" >&5
  14715. sed 's/^/| /' conftest.$ac_ext >&5
  14716. -echo "$as_me:$LINENO: result: no" >&5
  14717. -echo "${ECHO_T}no" >&6
  14718. -fi
  14719. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14720. -
  14721. -echo "$as_me:$LINENO: checking for sysconf" >&5
  14722. -echo $ECHO_N "checking for sysconf... $ECHO_C" >&6
  14723. -cat >conftest.$ac_ext <<_ACEOF
  14724. -/* confdefs.h. */
  14725. -_ACEOF
  14726. -cat confdefs.h >>conftest.$ac_ext
  14727. -cat >>conftest.$ac_ext <<_ACEOF
  14728. -/* end confdefs.h. */
  14729. -#include <unistd.h>
  14730. -int
  14731. -main ()
  14732. -{
  14733. - (void)sysconf(_SC_PAGESIZE);
  14734. - (void)sysconf(_SC_PHYS_PAGES);
  14735. -
  14736. - ;
  14737. - return 0;
  14738. -}
  14739. -_ACEOF
  14740. -rm -f conftest.$ac_objext
  14741. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14742. - (eval $ac_compile) 2>conftest.er1
  14743. - ac_status=$?
  14744. - grep -v '^ *+' conftest.er1 >conftest.err
  14745. - rm -f conftest.er1
  14746. - cat conftest.err >&5
  14747. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14748. - (exit $ac_status); } &&
  14749. - { ac_try='test -z "$ac_c_werror_flag"
  14750. - || test ! -s conftest.err'
  14751. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14752. - (eval $ac_try) 2>&5
  14753. - ac_status=$?
  14754. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14755. - (exit $ac_status); }; } &&
  14756. - { ac_try='test -s conftest.$ac_objext'
  14757. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14758. - (eval $ac_try) 2>&5
  14759. - ac_status=$?
  14760. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14761. - (exit $ac_status); }; }; then
  14762. - echo "$as_me:$LINENO: result: yes" >&5
  14763. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  14764. -#define HAVE_SYSCONF 1
  14765. -_ACEOF
  14766. -
  14767. -else
  14768. - echo "$as_me: failed program was:" >&5
  14769. -sed 's/^/| /' conftest.$ac_ext >&5
  14770. -
  14771. -echo "$as_me:$LINENO: result: not usable" >&5
  14772. -echo "${ECHO_T}not usable" >&6
  14773. -fi
  14774. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  14775. -
  14776. -
  14777. -echo "$as_me:$LINENO: checking size of int" >&5
  14778. -echo $ECHO_N "checking size of int... $ECHO_C" >&6
  14779. -if test "${ac_cv_sizeof_int+set}" = set; then
  14780. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14781. -else
  14782. - if test "$cross_compiling" = yes; then
  14783. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14784. -echo "$as_me: error: failed to compile test program" >&2;}
  14785. - { (exit 1); exit 1; }; }
  14786. -else
  14787. - cat >conftest.$ac_ext <<_ACEOF
  14788. -/* confdefs.h. */
  14789. -_ACEOF
  14790. -cat confdefs.h >>conftest.$ac_ext
  14791. -cat >>conftest.$ac_ext <<_ACEOF
  14792. -/* end confdefs.h. */
  14793. -#include <stdio.h>
  14794. - main()
  14795. - {
  14796. - FILE *f=fopen("conftestval", "w");
  14797. - if (!f) exit(1);
  14798. - fprintf(f, "%d\n", (int)sizeof(int));
  14799. - exit(0);
  14800. - }
  14801. -_ACEOF
  14802. -rm -f conftest$ac_exeext
  14803. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14804. - (eval $ac_link) 2>&5
  14805. - ac_status=$?
  14806. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14807. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  14808. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14809. - (eval $ac_try) 2>&5
  14810. - ac_status=$?
  14811. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14812. - (exit $ac_status); }; }; then
  14813. - ac_cv_sizeof_int=`cat conftestval`
  14814. -else
  14815. - echo "$as_me: program exited with status $ac_status" >&5
  14816. -echo "$as_me: failed program was:" >&5
  14817. -sed 's/^/| /' conftest.$ac_ext >&5
  14818. -
  14819. -( exit $ac_status )
  14820. -ac_cv_sizeof_int=0
  14821. -fi
  14822. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  14823. -fi
  14824. -fi
  14825. -
  14826. -echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  14827. -echo "${ECHO_T}$ac_cv_sizeof_int" >&6
  14828. -cat >>confdefs.h <<_ACEOF
  14829. -#define SIZEOF_INT $ac_cv_sizeof_int
  14830. -_ACEOF
  14831. -
  14832. -
  14833. -echo "$as_me:$LINENO: checking whether memmove/bcopy/memcpy handle overlaps" >&5
  14834. -echo $ECHO_N "checking whether memmove/bcopy/memcpy handle overlaps... $ECHO_C" >&6
  14835. -bcopy_test_prog='
  14836. -main() {
  14837. - char buf[10];
  14838. - strcpy(buf, "abcdefghi");
  14839. - mch_memmove(buf, buf + 2, 3);
  14840. - if (strncmp(buf, "ababcf", 6))
  14841. - exit(1);
  14842. - strcpy(buf, "abcdefghi");
  14843. - mch_memmove(buf + 2, buf, 3);
  14844. - if (strncmp(buf, "cdedef", 6))
  14845. - exit(1);
  14846. - exit(0); /* libc version works properly. */
  14847. -}'
  14848. -
  14849. -
  14850. -if test "$cross_compiling" = yes; then
  14851. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14852. -echo "$as_me: error: failed to compile test program" >&2;}
  14853. - { (exit 1); exit 1; }; }
  14854. -else
  14855. - cat >conftest.$ac_ext <<_ACEOF
  14856. -/* confdefs.h. */
  14857. -_ACEOF
  14858. -cat confdefs.h >>conftest.$ac_ext
  14859. -cat >>conftest.$ac_ext <<_ACEOF
  14860. -/* end confdefs.h. */
  14861. -#define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog
  14862. -_ACEOF
  14863. -rm -f conftest$ac_exeext
  14864. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14865. - (eval $ac_link) 2>&5
  14866. - ac_status=$?
  14867. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14868. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  14869. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14870. - (eval $ac_try) 2>&5
  14871. - ac_status=$?
  14872. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14873. - (exit $ac_status); }; }; then
  14874. - cat >>confdefs.h <<\_ACEOF
  14875. -#define USEMEMMOVE 1
  14876. -_ACEOF
  14877. - echo "$as_me:$LINENO: result: memmove does" >&5
  14878. -echo "${ECHO_T}memmove does" >&6
  14879. -else
  14880. - echo "$as_me: program exited with status $ac_status" >&5
  14881. -echo "$as_me: failed program was:" >&5
  14882. -sed 's/^/| /' conftest.$ac_ext >&5
  14883. -
  14884. -( exit $ac_status )
  14885. -if test "$cross_compiling" = yes; then
  14886. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14887. -echo "$as_me: error: failed to compile test program" >&2;}
  14888. - { (exit 1); exit 1; }; }
  14889. -else
  14890. - cat >conftest.$ac_ext <<_ACEOF
  14891. -/* confdefs.h. */
  14892. -_ACEOF
  14893. -cat confdefs.h >>conftest.$ac_ext
  14894. -cat >>conftest.$ac_ext <<_ACEOF
  14895. -/* end confdefs.h. */
  14896. -#define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog
  14897. -_ACEOF
  14898. -rm -f conftest$ac_exeext
  14899. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14900. - (eval $ac_link) 2>&5
  14901. - ac_status=$?
  14902. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14903. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  14904. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14905. - (eval $ac_try) 2>&5
  14906. - ac_status=$?
  14907. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14908. - (exit $ac_status); }; }; then
  14909. - cat >>confdefs.h <<\_ACEOF
  14910. -#define USEBCOPY 1
  14911. -_ACEOF
  14912. - echo "$as_me:$LINENO: result: bcopy does" >&5
  14913. -echo "${ECHO_T}bcopy does" >&6
  14914. -else
  14915. - echo "$as_me: program exited with status $ac_status" >&5
  14916. -echo "$as_me: failed program was:" >&5
  14917. -sed 's/^/| /' conftest.$ac_ext >&5
  14918. -
  14919. -( exit $ac_status )
  14920. -if test "$cross_compiling" = yes; then
  14921. - { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
  14922. -echo "$as_me: error: failed to compile test program" >&2;}
  14923. - { (exit 1); exit 1; }; }
  14924. -else
  14925. - cat >conftest.$ac_ext <<_ACEOF
  14926. + { echo "$as_me:$LINENO: result: no" >&5
  14927. +echo "${ECHO_T}no" >&6; }
  14928. +fi
  14929. +
  14930. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14931. +
  14932. +{ echo "$as_me:$LINENO: checking for sysconf" >&5
  14933. +echo $ECHO_N "checking for sysconf... $ECHO_C" >&6; }
  14934. +cat >conftest.$ac_ext <<_ACEOF
  14935. /* confdefs.h. */
  14936. _ACEOF
  14937. cat confdefs.h >>conftest.$ac_ext
  14938. cat >>conftest.$ac_ext <<_ACEOF
  14939. /* end confdefs.h. */
  14940. -#define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog
  14941. +#include <unistd.h>
  14942. +int
  14943. +main ()
  14944. +{
  14945. + (void)sysconf(_SC_PAGESIZE);
  14946. + (void)sysconf(_SC_PHYS_PAGES);
  14947. +
  14948. + ;
  14949. + return 0;
  14950. +}
  14951. _ACEOF
  14952. -rm -f conftest$ac_exeext
  14953. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14954. - (eval $ac_link) 2>&5
  14955. - ac_status=$?
  14956. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14957. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  14958. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  14959. - (eval $ac_try) 2>&5
  14960. +rm -f conftest.$ac_objext
  14961. +if { (ac_try="$ac_compile"
  14962. +case "(($ac_try" in
  14963. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14964. + *) ac_try_echo=$ac_try;;
  14965. +esac
  14966. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14967. + (eval "$ac_compile") 2>conftest.er1
  14968. ac_status=$?
  14969. + grep -v '^ *+' conftest.er1 >conftest.err
  14970. + rm -f conftest.er1
  14971. + cat conftest.err >&5
  14972. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14973. - (exit $ac_status); }; }; then
  14974. - cat >>confdefs.h <<\_ACEOF
  14975. -#define USEMEMCPY 1
  14976. + (exit $ac_status); } && {
  14977. + test -z "$ac_c_werror_flag" ||
  14978. + test ! -s conftest.err
  14979. + } && test -s conftest.$ac_objext; then
  14980. + { echo "$as_me:$LINENO: result: yes" >&5
  14981. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  14982. +#define HAVE_SYSCONF 1
  14983. _ACEOF
  14984. - echo "$as_me:$LINENO: result: memcpy does" >&5
  14985. -echo "${ECHO_T}memcpy does" >&6
  14986. +
  14987. else
  14988. - echo "$as_me: program exited with status $ac_status" >&5
  14989. -echo "$as_me: failed program was:" >&5
  14990. + echo "$as_me: failed program was:" >&5
  14991. sed 's/^/| /' conftest.$ac_ext >&5
  14992. -( exit $ac_status )
  14993. -echo "$as_me:$LINENO: result: no" >&5
  14994. -echo "${ECHO_T}no" >&6
  14995. -fi
  14996. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  14997. -fi
  14998. -fi
  14999. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15000. -fi
  15001. -fi
  15002. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15003. + { echo "$as_me:$LINENO: result: not usable" >&5
  15004. +echo "${ECHO_T}not usable" >&6; }
  15005. fi
  15006. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15007. +
  15008. +
  15009. +#AC_MSG_CHECKING(size of int)
  15010. +#AC_CACHE_VAL(ac_cv_sizeof_int,
  15011. +# [AC_TRY_RUN([#include <stdio.h>
  15012. +# main()
  15013. +# {
  15014. +# FILE *f=fopen("conftestval", "w");
  15015. +# if (!f) exit(1);
  15016. +# fprintf(f, "%d\n", (int)sizeof(int));
  15017. +# exit(0);
  15018. +# }],
  15019. +# ac_cv_sizeof_int=`cat conftestval`,
  15020. +# ac_cv_sizeof_int=0,
  15021. +# AC_MSG_ERROR(failed to compile test program))])
  15022. +#AC_MSG_RESULT($ac_cv_sizeof_int)
  15023. +#AC_DEFINE_UNQUOTED(SIZEOF_INT, $ac_cv_sizeof_int)
  15024. +cat >>confdefs.h <<\_ACEOF
  15025. +#define SIZEOF_INT 4
  15026. +_ACEOF
  15027. +
  15028. +
  15029. +#AC_MSG_CHECKING(whether memmove/bcopy/memcpy handle overlaps)
  15030. +#[bcopy_test_prog='
  15031. +#main() {
  15032. +# char buf[10];
  15033. +# strcpy(buf, "abcdefghi");
  15034. +# mch_memmove(buf, buf + 2, 3);
  15035. +# if (strncmp(buf, "ababcf", 6))
  15036. +# exit(1);
  15037. +# strcpy(buf, "abcdefghi");
  15038. +# mch_memmove(buf + 2, buf, 3);
  15039. +# if (strncmp(buf, "cdedef", 6))
  15040. +# exit(1);
  15041. +# exit(0); /* libc version works properly. */
  15042. +#}']
  15043. +
  15044. +#dnl Check for memmove() before bcopy(), makes memmove() be used when both are
  15045. +#dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.
  15046. +
  15047. +#AC_TRY_RUN([#define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog],
  15048. +# AC_DEFINE(USEMEMMOVE) AC_MSG_RESULT(memmove does),
  15049. +# AC_TRY_RUN([#define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog],
  15050. +# AC_DEFINE(USEBCOPY) AC_MSG_RESULT(bcopy does),
  15051. +# AC_TRY_RUN([#define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog],
  15052. +# AC_DEFINE(USEMEMCPY) AC_MSG_RESULT(memcpy does), AC_MSG_RESULT(no),
  15053. +# AC_MSG_ERROR(failed to compile test program)),
  15054. +# AC_MSG_ERROR(failed to compile test program)),
  15055. +# AC_MSG_ERROR(failed to compile test program))
  15056. +cat >>confdefs.h <<\_ACEOF
  15057. +#define USEMEMMOVE 1
  15058. +_ACEOF
  15059. +
  15060. +
  15061. if test "$enable_multibyte" = "yes"; then
  15062. cflags_save=$CFLAGS
  15063. @@ -14148,8 +13912,8 @@
  15064. if test -n "$x_includes" ; then
  15065. CFLAGS="$CFLAGS -I$x_includes"
  15066. LDFLAGS="$X_LIBS $LDFLAGS -lX11"
  15067. - echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
  15068. -echo $ECHO_N "checking whether X_LOCALE needed... $ECHO_C" >&6
  15069. + { echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
  15070. +echo $ECHO_N "checking whether X_LOCALE needed... $ECHO_C" >&6; }
  15071. cat >conftest.$ac_ext <<_ACEOF
  15072. /* confdefs.h. */
  15073. _ACEOF
  15074. @@ -14166,27 +13930,22 @@
  15075. }
  15076. _ACEOF
  15077. rm -f conftest.$ac_objext
  15078. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15079. - (eval $ac_compile) 2>conftest.er1
  15080. +if { (ac_try="$ac_compile"
  15081. +case "(($ac_try" in
  15082. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15083. + *) ac_try_echo=$ac_try;;
  15084. +esac
  15085. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15086. + (eval "$ac_compile") 2>conftest.er1
  15087. ac_status=$?
  15088. grep -v '^ *+' conftest.er1 >conftest.err
  15089. rm -f conftest.er1
  15090. cat conftest.err >&5
  15091. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15092. - (exit $ac_status); } &&
  15093. - { ac_try='test -z "$ac_c_werror_flag"
  15094. - || test ! -s conftest.err'
  15095. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15096. - (eval $ac_try) 2>&5
  15097. - ac_status=$?
  15098. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15099. - (exit $ac_status); }; } &&
  15100. - { ac_try='test -s conftest.$ac_objext'
  15101. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15102. - (eval $ac_try) 2>&5
  15103. - ac_status=$?
  15104. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15105. - (exit $ac_status); }; }; then
  15106. + (exit $ac_status); } && {
  15107. + test -z "$ac_c_werror_flag" ||
  15108. + test ! -s conftest.err
  15109. + } && test -s conftest.$ac_objext; then
  15110. cat >conftest.$ac_ext <<_ACEOF
  15111. /* confdefs.h. */
  15112. _ACEOF
  15113. @@ -14194,45 +13953,41 @@
  15114. cat >>conftest.$ac_ext <<_ACEOF
  15115. /* end confdefs.h. */
  15116. -/* Override any gcc2 internal prototype to avoid an error. */
  15117. +/* Override any GCC internal prototype to avoid an error.
  15118. + Use char because int might match the return type of a GCC
  15119. + builtin and then its argument prototype would still apply. */
  15120. #ifdef __cplusplus
  15121. extern "C"
  15122. #endif
  15123. -/* We use char because int might match the return type of a gcc2
  15124. - builtin and then its argument prototype would still apply. */
  15125. char _Xsetlocale ();
  15126. int
  15127. main ()
  15128. {
  15129. -_Xsetlocale ();
  15130. +return _Xsetlocale ();
  15131. ;
  15132. return 0;
  15133. }
  15134. _ACEOF
  15135. rm -f conftest.$ac_objext conftest$ac_exeext
  15136. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15137. - (eval $ac_link) 2>conftest.er1
  15138. +if { (ac_try="$ac_link"
  15139. +case "(($ac_try" in
  15140. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15141. + *) ac_try_echo=$ac_try;;
  15142. +esac
  15143. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15144. + (eval "$ac_link") 2>conftest.er1
  15145. ac_status=$?
  15146. grep -v '^ *+' conftest.er1 >conftest.err
  15147. rm -f conftest.er1
  15148. cat conftest.err >&5
  15149. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15150. - (exit $ac_status); } &&
  15151. - { ac_try='test -z "$ac_c_werror_flag"
  15152. - || test ! -s conftest.err'
  15153. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15154. - (eval $ac_try) 2>&5
  15155. - ac_status=$?
  15156. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15157. - (exit $ac_status); }; } &&
  15158. - { ac_try='test -s conftest$ac_exeext'
  15159. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15160. - (eval $ac_try) 2>&5
  15161. - ac_status=$?
  15162. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15163. - (exit $ac_status); }; }; then
  15164. - echo "$as_me:$LINENO: result: yes" >&5
  15165. -echo "${ECHO_T}yes" >&6
  15166. + (exit $ac_status); } && {
  15167. + test -z "$ac_c_werror_flag" ||
  15168. + test ! -s conftest.err
  15169. + } && test -s conftest$ac_exeext &&
  15170. + $as_test_x conftest$ac_exeext; then
  15171. + { echo "$as_me:$LINENO: result: yes" >&5
  15172. +echo "${ECHO_T}yes" >&6; }
  15173. cat >>confdefs.h <<\_ACEOF
  15174. #define X_LOCALE 1
  15175. _ACEOF
  15176. @@ -14241,26 +13996,28 @@
  15177. echo "$as_me: failed program was:" >&5
  15178. sed 's/^/| /' conftest.$ac_ext >&5
  15179. -echo "$as_me:$LINENO: result: no" >&5
  15180. -echo "${ECHO_T}no" >&6
  15181. + { echo "$as_me:$LINENO: result: no" >&5
  15182. +echo "${ECHO_T}no" >&6; }
  15183. fi
  15184. -rm -f conftest.err conftest.$ac_objext \
  15185. +
  15186. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15187. conftest$ac_exeext conftest.$ac_ext
  15188. else
  15189. echo "$as_me: failed program was:" >&5
  15190. sed 's/^/| /' conftest.$ac_ext >&5
  15191. -echo "$as_me:$LINENO: result: no" >&5
  15192. -echo "${ECHO_T}no" >&6
  15193. + { echo "$as_me:$LINENO: result: no" >&5
  15194. +echo "${ECHO_T}no" >&6; }
  15195. fi
  15196. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  15197. +
  15198. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15199. fi
  15200. CFLAGS=$cflags_save
  15201. LDFLAGS=$ldflags_save
  15202. fi
  15203. -echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
  15204. -echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
  15205. +{ echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
  15206. +echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
  15207. if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
  15208. echo $ECHO_N "(cached) $ECHO_C" >&6
  15209. else
  15210. @@ -14273,63 +14030,60 @@
  15211. cat >>conftest.$ac_ext <<_ACEOF
  15212. /* end confdefs.h. */
  15213. -/* Override any gcc2 internal prototype to avoid an error. */
  15214. +/* Override any GCC internal prototype to avoid an error.
  15215. + Use char because int might match the return type of a GCC
  15216. + builtin and then its argument prototype would still apply. */
  15217. #ifdef __cplusplus
  15218. extern "C"
  15219. #endif
  15220. -/* We use char because int might match the return type of a gcc2
  15221. - builtin and then its argument prototype would still apply. */
  15222. char _xpg4_setrunelocale ();
  15223. int
  15224. main ()
  15225. {
  15226. -_xpg4_setrunelocale ();
  15227. +return _xpg4_setrunelocale ();
  15228. ;
  15229. return 0;
  15230. }
  15231. _ACEOF
  15232. rm -f conftest.$ac_objext conftest$ac_exeext
  15233. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15234. - (eval $ac_link) 2>conftest.er1
  15235. +if { (ac_try="$ac_link"
  15236. +case "(($ac_try" in
  15237. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15238. + *) ac_try_echo=$ac_try;;
  15239. +esac
  15240. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15241. + (eval "$ac_link") 2>conftest.er1
  15242. ac_status=$?
  15243. grep -v '^ *+' conftest.er1 >conftest.err
  15244. rm -f conftest.er1
  15245. cat conftest.err >&5
  15246. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15247. - (exit $ac_status); } &&
  15248. - { ac_try='test -z "$ac_c_werror_flag"
  15249. - || test ! -s conftest.err'
  15250. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15251. - (eval $ac_try) 2>&5
  15252. - ac_status=$?
  15253. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15254. - (exit $ac_status); }; } &&
  15255. - { ac_try='test -s conftest$ac_exeext'
  15256. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15257. - (eval $ac_try) 2>&5
  15258. - ac_status=$?
  15259. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15260. - (exit $ac_status); }; }; then
  15261. + (exit $ac_status); } && {
  15262. + test -z "$ac_c_werror_flag" ||
  15263. + test ! -s conftest.err
  15264. + } && test -s conftest$ac_exeext &&
  15265. + $as_test_x conftest$ac_exeext; then
  15266. ac_cv_lib_xpg4__xpg4_setrunelocale=yes
  15267. else
  15268. echo "$as_me: failed program was:" >&5
  15269. sed 's/^/| /' conftest.$ac_ext >&5
  15270. -ac_cv_lib_xpg4__xpg4_setrunelocale=no
  15271. + ac_cv_lib_xpg4__xpg4_setrunelocale=no
  15272. fi
  15273. -rm -f conftest.err conftest.$ac_objext \
  15274. +
  15275. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15276. conftest$ac_exeext conftest.$ac_ext
  15277. LIBS=$ac_check_lib_save_LIBS
  15278. fi
  15279. -echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
  15280. -echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
  15281. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
  15282. +echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
  15283. if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
  15284. LIBS="$LIBS -lxpg4"
  15285. fi
  15286. -echo "$as_me:$LINENO: checking how to create tags" >&5
  15287. -echo $ECHO_N "checking how to create tags... $ECHO_C" >&6
  15288. +{ echo "$as_me:$LINENO: checking how to create tags" >&5
  15289. +echo $ECHO_N "checking how to create tags... $ECHO_C" >&6; }
  15290. test -f tags && mv tags tags.save
  15291. if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
  15292. TAGPRG="ctags -I INIT+ --fields=+S"
  15293. @@ -14343,15 +14097,15 @@
  15294. (eval ctags -i+m /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -i+m"
  15295. fi
  15296. test -f tags.save && mv tags.save tags
  15297. -echo "$as_me:$LINENO: result: $TAGPRG" >&5
  15298. -echo "${ECHO_T}$TAGPRG" >&6
  15299. +{ echo "$as_me:$LINENO: result: $TAGPRG" >&5
  15300. +echo "${ECHO_T}$TAGPRG" >&6; }
  15301. -echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
  15302. -echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
  15303. +{ echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
  15304. +echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6; }
  15305. MANDEF="man"
  15306. (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
  15307. -echo "$as_me:$LINENO: result: $MANDEF" >&5
  15308. -echo "${ECHO_T}$MANDEF" >&6
  15309. +{ echo "$as_me:$LINENO: result: $MANDEF" >&5
  15310. +echo "${ECHO_T}$MANDEF" >&6; }
  15311. if test "$MANDEF" = "man -s"; then
  15312. cat >>confdefs.h <<\_ACEOF
  15313. #define USEMAN_S 1
  15314. @@ -14359,19 +14113,19 @@
  15315. fi
  15316. -echo "$as_me:$LINENO: checking --disable-nls argument" >&5
  15317. -echo $ECHO_N "checking --disable-nls argument... $ECHO_C" >&6
  15318. -# Check whether --enable-nls or --disable-nls was given.
  15319. +{ echo "$as_me:$LINENO: checking --disable-nls argument" >&5
  15320. +echo $ECHO_N "checking --disable-nls argument... $ECHO_C" >&6; }
  15321. +# Check whether --enable-nls was given.
  15322. if test "${enable_nls+set}" = set; then
  15323. - enableval="$enable_nls"
  15324. -
  15325. + enableval=$enable_nls;
  15326. else
  15327. enable_nls="yes"
  15328. -fi;
  15329. +fi
  15330. +
  15331. if test "$enable_nls" = "yes"; then
  15332. - echo "$as_me:$LINENO: result: no" >&5
  15333. -echo "${ECHO_T}no" >&6
  15334. + { echo "$as_me:$LINENO: result: no" >&5
  15335. +echo "${ECHO_T}no" >&6; }
  15336. INSTALL_LANGS=install-languages
  15337. @@ -14380,8 +14134,8 @@
  15338. # Extract the first word of "msgfmt", so it can be a program name with args.
  15339. set dummy msgfmt; ac_word=$2
  15340. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  15341. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  15342. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  15343. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  15344. if test "${ac_cv_prog_MSGFMT+set}" = set; then
  15345. echo $ECHO_N "(cached) $ECHO_C" >&6
  15346. else
  15347. @@ -14394,27 +14148,29 @@
  15348. IFS=$as_save_IFS
  15349. test -z "$as_dir" && as_dir=.
  15350. for ac_exec_ext in '' $ac_executable_extensions; do
  15351. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15352. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15353. ac_cv_prog_MSGFMT="msgfmt"
  15354. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15355. break 2
  15356. fi
  15357. done
  15358. done
  15359. +IFS=$as_save_IFS
  15360. fi
  15361. fi
  15362. MSGFMT=$ac_cv_prog_MSGFMT
  15363. if test -n "$MSGFMT"; then
  15364. - echo "$as_me:$LINENO: result: $MSGFMT" >&5
  15365. -echo "${ECHO_T}$MSGFMT" >&6
  15366. + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
  15367. +echo "${ECHO_T}$MSGFMT" >&6; }
  15368. else
  15369. - echo "$as_me:$LINENO: result: no" >&5
  15370. -echo "${ECHO_T}no" >&6
  15371. + { echo "$as_me:$LINENO: result: no" >&5
  15372. +echo "${ECHO_T}no" >&6; }
  15373. fi
  15374. - echo "$as_me:$LINENO: checking for NLS" >&5
  15375. -echo $ECHO_N "checking for NLS... $ECHO_C" >&6
  15376. +
  15377. + { echo "$as_me:$LINENO: checking for NLS" >&5
  15378. +echo $ECHO_N "checking for NLS... $ECHO_C" >&6; }
  15379. if test -f po/Makefile; then
  15380. have_gettext="no"
  15381. if test -n "$MSGFMT"; then
  15382. @@ -14434,34 +14190,30 @@
  15383. }
  15384. _ACEOF
  15385. rm -f conftest.$ac_objext conftest$ac_exeext
  15386. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15387. - (eval $ac_link) 2>conftest.er1
  15388. +if { (ac_try="$ac_link"
  15389. +case "(($ac_try" in
  15390. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15391. + *) ac_try_echo=$ac_try;;
  15392. +esac
  15393. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15394. + (eval "$ac_link") 2>conftest.er1
  15395. ac_status=$?
  15396. grep -v '^ *+' conftest.er1 >conftest.err
  15397. rm -f conftest.er1
  15398. cat conftest.err >&5
  15399. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15400. - (exit $ac_status); } &&
  15401. - { ac_try='test -z "$ac_c_werror_flag"
  15402. - || test ! -s conftest.err'
  15403. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15404. - (eval $ac_try) 2>&5
  15405. - ac_status=$?
  15406. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15407. - (exit $ac_status); }; } &&
  15408. - { ac_try='test -s conftest$ac_exeext'
  15409. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15410. - (eval $ac_try) 2>&5
  15411. - ac_status=$?
  15412. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15413. - (exit $ac_status); }; }; then
  15414. - echo "$as_me:$LINENO: result: gettext() works" >&5
  15415. -echo "${ECHO_T}gettext() works" >&6; have_gettext="yes"
  15416. + (exit $ac_status); } && {
  15417. + test -z "$ac_c_werror_flag" ||
  15418. + test ! -s conftest.err
  15419. + } && test -s conftest$ac_exeext &&
  15420. + $as_test_x conftest$ac_exeext; then
  15421. + { echo "$as_me:$LINENO: result: gettext() works" >&5
  15422. +echo "${ECHO_T}gettext() works" >&6; }; have_gettext="yes"
  15423. else
  15424. echo "$as_me: failed program was:" >&5
  15425. sed 's/^/| /' conftest.$ac_ext >&5
  15426. -olibs=$LIBS
  15427. + olibs=$LIBS
  15428. LIBS="$LIBS -lintl"
  15429. cat >conftest.$ac_ext <<_ACEOF
  15430. /* confdefs.h. */
  15431. @@ -14479,45 +14231,43 @@
  15432. }
  15433. _ACEOF
  15434. rm -f conftest.$ac_objext conftest$ac_exeext
  15435. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15436. - (eval $ac_link) 2>conftest.er1
  15437. +if { (ac_try="$ac_link"
  15438. +case "(($ac_try" in
  15439. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15440. + *) ac_try_echo=$ac_try;;
  15441. +esac
  15442. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15443. + (eval "$ac_link") 2>conftest.er1
  15444. ac_status=$?
  15445. grep -v '^ *+' conftest.er1 >conftest.err
  15446. rm -f conftest.er1
  15447. cat conftest.err >&5
  15448. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15449. - (exit $ac_status); } &&
  15450. - { ac_try='test -z "$ac_c_werror_flag"
  15451. - || test ! -s conftest.err'
  15452. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15453. - (eval $ac_try) 2>&5
  15454. - ac_status=$?
  15455. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15456. - (exit $ac_status); }; } &&
  15457. - { ac_try='test -s conftest$ac_exeext'
  15458. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15459. - (eval $ac_try) 2>&5
  15460. - ac_status=$?
  15461. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15462. - (exit $ac_status); }; }; then
  15463. - echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
  15464. -echo "${ECHO_T}gettext() works with -lintl" >&6; have_gettext="yes"
  15465. + (exit $ac_status); } && {
  15466. + test -z "$ac_c_werror_flag" ||
  15467. + test ! -s conftest.err
  15468. + } && test -s conftest$ac_exeext &&
  15469. + $as_test_x conftest$ac_exeext; then
  15470. + { echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
  15471. +echo "${ECHO_T}gettext() works with -lintl" >&6; }; have_gettext="yes"
  15472. else
  15473. echo "$as_me: failed program was:" >&5
  15474. sed 's/^/| /' conftest.$ac_ext >&5
  15475. -echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
  15476. -echo "${ECHO_T}gettext() doesn't work" >&6;
  15477. + { echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
  15478. +echo "${ECHO_T}gettext() doesn't work" >&6; };
  15479. LIBS=$olibs
  15480. fi
  15481. -rm -f conftest.err conftest.$ac_objext \
  15482. +
  15483. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15484. conftest$ac_exeext conftest.$ac_ext
  15485. fi
  15486. -rm -f conftest.err conftest.$ac_objext \
  15487. +
  15488. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15489. conftest$ac_exeext conftest.$ac_ext
  15490. else
  15491. - echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
  15492. -echo "${ECHO_T}msgfmt not found - disabled" >&6;
  15493. + { echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
  15494. +echo "${ECHO_T}msgfmt not found - disabled" >&6; };
  15495. fi
  15496. if test $have_gettext = "yes"; then
  15497. cat >>confdefs.h <<\_ACEOF
  15498. @@ -14530,9 +14280,9 @@
  15499. for ac_func in bind_textdomain_codeset
  15500. do
  15501. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15502. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  15503. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  15504. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  15505. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  15506. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  15507. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15508. echo $ECHO_N "(cached) $ECHO_C" >&6
  15509. else
  15510. cat >conftest.$ac_ext <<_ACEOF
  15511. @@ -14558,68 +14308,60 @@
  15512. #undef $ac_func
  15513. -/* Override any gcc2 internal prototype to avoid an error. */
  15514. +/* Override any GCC internal prototype to avoid an error.
  15515. + Use char because int might match the return type of a GCC
  15516. + builtin and then its argument prototype would still apply. */
  15517. #ifdef __cplusplus
  15518. extern "C"
  15519. -{
  15520. #endif
  15521. -/* We use char because int might match the return type of a gcc2
  15522. - builtin and then its argument prototype would still apply. */
  15523. char $ac_func ();
  15524. /* The GNU C library defines this for functions which it implements
  15525. to always fail with ENOSYS. Some functions are actually named
  15526. something starting with __ and the normal name is an alias. */
  15527. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  15528. +#if defined __stub_$ac_func || defined __stub___$ac_func
  15529. choke me
  15530. -#else
  15531. -char (*f) () = $ac_func;
  15532. -#endif
  15533. -#ifdef __cplusplus
  15534. -}
  15535. #endif
  15536. int
  15537. main ()
  15538. {
  15539. -return f != $ac_func;
  15540. +return $ac_func ();
  15541. ;
  15542. return 0;
  15543. }
  15544. _ACEOF
  15545. rm -f conftest.$ac_objext conftest$ac_exeext
  15546. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15547. - (eval $ac_link) 2>conftest.er1
  15548. +if { (ac_try="$ac_link"
  15549. +case "(($ac_try" in
  15550. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15551. + *) ac_try_echo=$ac_try;;
  15552. +esac
  15553. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15554. + (eval "$ac_link") 2>conftest.er1
  15555. ac_status=$?
  15556. grep -v '^ *+' conftest.er1 >conftest.err
  15557. rm -f conftest.er1
  15558. cat conftest.err >&5
  15559. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15560. - (exit $ac_status); } &&
  15561. - { ac_try='test -z "$ac_c_werror_flag"
  15562. - || test ! -s conftest.err'
  15563. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15564. - (eval $ac_try) 2>&5
  15565. - ac_status=$?
  15566. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15567. - (exit $ac_status); }; } &&
  15568. - { ac_try='test -s conftest$ac_exeext'
  15569. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15570. - (eval $ac_try) 2>&5
  15571. - ac_status=$?
  15572. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15573. - (exit $ac_status); }; }; then
  15574. + (exit $ac_status); } && {
  15575. + test -z "$ac_c_werror_flag" ||
  15576. + test ! -s conftest.err
  15577. + } && test -s conftest$ac_exeext &&
  15578. + $as_test_x conftest$ac_exeext; then
  15579. eval "$as_ac_var=yes"
  15580. else
  15581. echo "$as_me: failed program was:" >&5
  15582. sed 's/^/| /' conftest.$ac_ext >&5
  15583. -eval "$as_ac_var=no"
  15584. + eval "$as_ac_var=no"
  15585. fi
  15586. -rm -f conftest.err conftest.$ac_objext \
  15587. +
  15588. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15589. conftest$ac_exeext conftest.$ac_ext
  15590. fi
  15591. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  15592. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  15593. +ac_res=`eval echo '${'$as_ac_var'}'`
  15594. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  15595. +echo "${ECHO_T}$ac_res" >&6; }
  15596. if test `eval echo '${'$as_ac_var'}'` = yes; then
  15597. cat >>confdefs.h <<_ACEOF
  15598. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15599. @@ -14628,8 +14370,8 @@
  15600. fi
  15601. done
  15602. - echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
  15603. -echo $ECHO_N "checking for _nl_msg_cat_cntr... $ECHO_C" >&6
  15604. + { echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
  15605. +echo $ECHO_N "checking for _nl_msg_cat_cntr... $ECHO_C" >&6; }
  15606. cat >conftest.$ac_ext <<_ACEOF
  15607. /* confdefs.h. */
  15608. _ACEOF
  15609. @@ -14647,29 +14389,25 @@
  15610. }
  15611. _ACEOF
  15612. rm -f conftest.$ac_objext conftest$ac_exeext
  15613. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  15614. - (eval $ac_link) 2>conftest.er1
  15615. +if { (ac_try="$ac_link"
  15616. +case "(($ac_try" in
  15617. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15618. + *) ac_try_echo=$ac_try;;
  15619. +esac
  15620. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15621. + (eval "$ac_link") 2>conftest.er1
  15622. ac_status=$?
  15623. grep -v '^ *+' conftest.er1 >conftest.err
  15624. rm -f conftest.er1
  15625. cat conftest.err >&5
  15626. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15627. - (exit $ac_status); } &&
  15628. - { ac_try='test -z "$ac_c_werror_flag"
  15629. - || test ! -s conftest.err'
  15630. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15631. - (eval $ac_try) 2>&5
  15632. - ac_status=$?
  15633. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15634. - (exit $ac_status); }; } &&
  15635. - { ac_try='test -s conftest$ac_exeext'
  15636. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15637. - (eval $ac_try) 2>&5
  15638. - ac_status=$?
  15639. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15640. - (exit $ac_status); }; }; then
  15641. - echo "$as_me:$LINENO: result: yes" >&5
  15642. -echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
  15643. + (exit $ac_status); } && {
  15644. + test -z "$ac_c_werror_flag" ||
  15645. + test ! -s conftest.err
  15646. + } && test -s conftest$ac_exeext &&
  15647. + $as_test_x conftest$ac_exeext; then
  15648. + { echo "$as_me:$LINENO: result: yes" >&5
  15649. +echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
  15650. #define HAVE_NL_MSG_CAT_CNTR 1
  15651. _ACEOF
  15652. @@ -14677,33 +14415,34 @@
  15653. echo "$as_me: failed program was:" >&5
  15654. sed 's/^/| /' conftest.$ac_ext >&5
  15655. -echo "$as_me:$LINENO: result: no" >&5
  15656. -echo "${ECHO_T}no" >&6
  15657. + { echo "$as_me:$LINENO: result: no" >&5
  15658. +echo "${ECHO_T}no" >&6; }
  15659. fi
  15660. -rm -f conftest.err conftest.$ac_objext \
  15661. +
  15662. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15663. conftest$ac_exeext conftest.$ac_ext
  15664. fi
  15665. else
  15666. - echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
  15667. -echo "${ECHO_T}no \"po/Makefile\" - disabled" >&6;
  15668. + { echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
  15669. +echo "${ECHO_T}no \"po/Makefile\" - disabled" >&6; };
  15670. fi
  15671. else
  15672. - echo "$as_me:$LINENO: result: yes" >&5
  15673. -echo "${ECHO_T}yes" >&6
  15674. + { echo "$as_me:$LINENO: result: yes" >&5
  15675. +echo "${ECHO_T}yes" >&6; }
  15676. fi
  15677. if test "${ac_cv_header_dlfcn_h+set}" = set; then
  15678. - echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15679. -echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
  15680. + { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15681. +echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  15682. if test "${ac_cv_header_dlfcn_h+set}" = set; then
  15683. echo $ECHO_N "(cached) $ECHO_C" >&6
  15684. fi
  15685. -echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15686. -echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
  15687. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15688. +echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  15689. else
  15690. # Is the header compilable?
  15691. -echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
  15692. -echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
  15693. +{ echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
  15694. +echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
  15695. cat >conftest.$ac_ext <<_ACEOF
  15696. /* confdefs.h. */
  15697. _ACEOF
  15698. @@ -14714,41 +14453,37 @@
  15699. #include <dlfcn.h>
  15700. _ACEOF
  15701. rm -f conftest.$ac_objext
  15702. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15703. - (eval $ac_compile) 2>conftest.er1
  15704. +if { (ac_try="$ac_compile"
  15705. +case "(($ac_try" in
  15706. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15707. + *) ac_try_echo=$ac_try;;
  15708. +esac
  15709. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15710. + (eval "$ac_compile") 2>conftest.er1
  15711. ac_status=$?
  15712. grep -v '^ *+' conftest.er1 >conftest.err
  15713. rm -f conftest.er1
  15714. cat conftest.err >&5
  15715. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15716. - (exit $ac_status); } &&
  15717. - { ac_try='test -z "$ac_c_werror_flag"
  15718. - || test ! -s conftest.err'
  15719. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15720. - (eval $ac_try) 2>&5
  15721. - ac_status=$?
  15722. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15723. - (exit $ac_status); }; } &&
  15724. - { ac_try='test -s conftest.$ac_objext'
  15725. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15726. - (eval $ac_try) 2>&5
  15727. - ac_status=$?
  15728. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15729. - (exit $ac_status); }; }; then
  15730. + (exit $ac_status); } && {
  15731. + test -z "$ac_c_werror_flag" ||
  15732. + test ! -s conftest.err
  15733. + } && test -s conftest.$ac_objext; then
  15734. ac_header_compiler=yes
  15735. else
  15736. echo "$as_me: failed program was:" >&5
  15737. sed 's/^/| /' conftest.$ac_ext >&5
  15738. -ac_header_compiler=no
  15739. + ac_header_compiler=no
  15740. fi
  15741. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  15742. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15743. -echo "${ECHO_T}$ac_header_compiler" >&6
  15744. +
  15745. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15746. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15747. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  15748. # Is the header present?
  15749. -echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
  15750. -echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
  15751. +{ echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
  15752. +echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
  15753. cat >conftest.$ac_ext <<_ACEOF
  15754. /* confdefs.h. */
  15755. _ACEOF
  15756. @@ -14757,24 +14492,22 @@
  15757. /* end confdefs.h. */
  15758. #include <dlfcn.h>
  15759. _ACEOF
  15760. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  15761. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  15762. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  15763. +case "(($ac_try" in
  15764. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15765. + *) ac_try_echo=$ac_try;;
  15766. +esac
  15767. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15768. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15769. ac_status=$?
  15770. grep -v '^ *+' conftest.er1 >conftest.err
  15771. rm -f conftest.er1
  15772. cat conftest.err >&5
  15773. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15774. - (exit $ac_status); } >/dev/null; then
  15775. - if test -s conftest.err; then
  15776. - ac_cpp_err=$ac_c_preproc_warn_flag
  15777. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  15778. - else
  15779. - ac_cpp_err=
  15780. - fi
  15781. -else
  15782. - ac_cpp_err=yes
  15783. -fi
  15784. -if test -z "$ac_cpp_err"; then
  15785. + (exit $ac_status); } >/dev/null && {
  15786. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15787. + test ! -s conftest.err
  15788. + }; then
  15789. ac_header_preproc=yes
  15790. else
  15791. echo "$as_me: failed program was:" >&5
  15792. @@ -14782,9 +14515,10 @@
  15793. ac_header_preproc=no
  15794. fi
  15795. +
  15796. rm -f conftest.err conftest.$ac_ext
  15797. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15798. -echo "${ECHO_T}$ac_header_preproc" >&6
  15799. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15800. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  15801. # So? What about this header?
  15802. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15803. @@ -14808,87 +14542,76 @@
  15804. echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
  15805. { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
  15806. echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
  15807. - (
  15808. - cat <<\_ASBOX
  15809. -## ------------------------------------------ ##
  15810. -## Report this to the AC_PACKAGE_NAME lists. ##
  15811. -## ------------------------------------------ ##
  15812. -_ASBOX
  15813. - ) |
  15814. - sed "s/^/$as_me: WARNING: /" >&2
  15815. +
  15816. ;;
  15817. esac
  15818. -echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15819. -echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
  15820. +{ echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  15821. +echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  15822. if test "${ac_cv_header_dlfcn_h+set}" = set; then
  15823. echo $ECHO_N "(cached) $ECHO_C" >&6
  15824. else
  15825. ac_cv_header_dlfcn_h=$ac_header_preproc
  15826. fi
  15827. -echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15828. -echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
  15829. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  15830. +echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  15831. fi
  15832. if test $ac_cv_header_dlfcn_h = yes; then
  15833. DLL=dlfcn.h
  15834. else
  15835. if test "${ac_cv_header_dl_h+set}" = set; then
  15836. - echo "$as_me:$LINENO: checking for dl.h" >&5
  15837. -echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
  15838. + { echo "$as_me:$LINENO: checking for dl.h" >&5
  15839. +echo $ECHO_N "checking for dl.h... $ECHO_C" >&6; }
  15840. if test "${ac_cv_header_dl_h+set}" = set; then
  15841. echo $ECHO_N "(cached) $ECHO_C" >&6
  15842. fi
  15843. -echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  15844. -echo "${ECHO_T}$ac_cv_header_dl_h" >&6
  15845. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  15846. +echo "${ECHO_T}$ac_cv_header_dl_h" >&6; }
  15847. else
  15848. # Is the header compilable?
  15849. -echo "$as_me:$LINENO: checking dl.h usability" >&5
  15850. -echo $ECHO_N "checking dl.h usability... $ECHO_C" >&6
  15851. +{ echo "$as_me:$LINENO: checking dl.h usability" >&5
  15852. +echo $ECHO_N "checking dl.h usability... $ECHO_C" >&6; }
  15853. cat >conftest.$ac_ext <<_ACEOF
  15854. /* confdefs.h. */
  15855. _ACEOF
  15856. cat confdefs.h >>conftest.$ac_ext
  15857. -cat >>conftest.$ac_ext <<_ACEOF
  15858. -/* end confdefs.h. */
  15859. -$ac_includes_default
  15860. -#include <dl.h>
  15861. -_ACEOF
  15862. -rm -f conftest.$ac_objext
  15863. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15864. - (eval $ac_compile) 2>conftest.er1
  15865. - ac_status=$?
  15866. - grep -v '^ *+' conftest.er1 >conftest.err
  15867. - rm -f conftest.er1
  15868. - cat conftest.err >&5
  15869. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15870. - (exit $ac_status); } &&
  15871. - { ac_try='test -z "$ac_c_werror_flag"
  15872. - || test ! -s conftest.err'
  15873. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15874. - (eval $ac_try) 2>&5
  15875. - ac_status=$?
  15876. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15877. - (exit $ac_status); }; } &&
  15878. - { ac_try='test -s conftest.$ac_objext'
  15879. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  15880. - (eval $ac_try) 2>&5
  15881. +cat >>conftest.$ac_ext <<_ACEOF
  15882. +/* end confdefs.h. */
  15883. +$ac_includes_default
  15884. +#include <dl.h>
  15885. +_ACEOF
  15886. +rm -f conftest.$ac_objext
  15887. +if { (ac_try="$ac_compile"
  15888. +case "(($ac_try" in
  15889. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15890. + *) ac_try_echo=$ac_try;;
  15891. +esac
  15892. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15893. + (eval "$ac_compile") 2>conftest.er1
  15894. ac_status=$?
  15895. + grep -v '^ *+' conftest.er1 >conftest.err
  15896. + rm -f conftest.er1
  15897. + cat conftest.err >&5
  15898. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15899. - (exit $ac_status); }; }; then
  15900. + (exit $ac_status); } && {
  15901. + test -z "$ac_c_werror_flag" ||
  15902. + test ! -s conftest.err
  15903. + } && test -s conftest.$ac_objext; then
  15904. ac_header_compiler=yes
  15905. else
  15906. echo "$as_me: failed program was:" >&5
  15907. sed 's/^/| /' conftest.$ac_ext >&5
  15908. -ac_header_compiler=no
  15909. + ac_header_compiler=no
  15910. fi
  15911. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  15912. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15913. -echo "${ECHO_T}$ac_header_compiler" >&6
  15914. +
  15915. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15916. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15917. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  15918. # Is the header present?
  15919. -echo "$as_me:$LINENO: checking dl.h presence" >&5
  15920. -echo $ECHO_N "checking dl.h presence... $ECHO_C" >&6
  15921. +{ echo "$as_me:$LINENO: checking dl.h presence" >&5
  15922. +echo $ECHO_N "checking dl.h presence... $ECHO_C" >&6; }
  15923. cat >conftest.$ac_ext <<_ACEOF
  15924. /* confdefs.h. */
  15925. _ACEOF
  15926. @@ -14897,24 +14620,22 @@
  15927. /* end confdefs.h. */
  15928. #include <dl.h>
  15929. _ACEOF
  15930. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  15931. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  15932. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  15933. +case "(($ac_try" in
  15934. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15935. + *) ac_try_echo=$ac_try;;
  15936. +esac
  15937. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15938. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15939. ac_status=$?
  15940. grep -v '^ *+' conftest.er1 >conftest.err
  15941. rm -f conftest.er1
  15942. cat conftest.err >&5
  15943. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15944. - (exit $ac_status); } >/dev/null; then
  15945. - if test -s conftest.err; then
  15946. - ac_cpp_err=$ac_c_preproc_warn_flag
  15947. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  15948. - else
  15949. - ac_cpp_err=
  15950. - fi
  15951. -else
  15952. - ac_cpp_err=yes
  15953. -fi
  15954. -if test -z "$ac_cpp_err"; then
  15955. + (exit $ac_status); } >/dev/null && {
  15956. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15957. + test ! -s conftest.err
  15958. + }; then
  15959. ac_header_preproc=yes
  15960. else
  15961. echo "$as_me: failed program was:" >&5
  15962. @@ -14922,9 +14643,10 @@
  15963. ac_header_preproc=no
  15964. fi
  15965. +
  15966. rm -f conftest.err conftest.$ac_ext
  15967. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15968. -echo "${ECHO_T}$ac_header_preproc" >&6
  15969. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15970. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  15971. # So? What about this header?
  15972. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15973. @@ -14948,25 +14670,18 @@
  15974. echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;}
  15975. { echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5
  15976. echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;}
  15977. - (
  15978. - cat <<\_ASBOX
  15979. -## ------------------------------------------ ##
  15980. -## Report this to the AC_PACKAGE_NAME lists. ##
  15981. -## ------------------------------------------ ##
  15982. -_ASBOX
  15983. - ) |
  15984. - sed "s/^/$as_me: WARNING: /" >&2
  15985. +
  15986. ;;
  15987. esac
  15988. -echo "$as_me:$LINENO: checking for dl.h" >&5
  15989. -echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
  15990. +{ echo "$as_me:$LINENO: checking for dl.h" >&5
  15991. +echo $ECHO_N "checking for dl.h... $ECHO_C" >&6; }
  15992. if test "${ac_cv_header_dl_h+set}" = set; then
  15993. echo $ECHO_N "(cached) $ECHO_C" >&6
  15994. else
  15995. ac_cv_header_dl_h=$ac_header_preproc
  15996. fi
  15997. -echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  15998. -echo "${ECHO_T}$ac_cv_header_dl_h" >&6
  15999. +{ echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
  16000. +echo "${ECHO_T}$ac_cv_header_dl_h" >&6; }
  16001. fi
  16002. if test $ac_cv_header_dl_h = yes; then
  16003. @@ -14983,8 +14698,8 @@
  16004. #define HAVE_DLFCN_H 1
  16005. _ACEOF
  16006. - echo "$as_me:$LINENO: checking for dlopen()" >&5
  16007. -echo $ECHO_N "checking for dlopen()... $ECHO_C" >&6
  16008. + { echo "$as_me:$LINENO: checking for dlopen()" >&5
  16009. +echo $ECHO_N "checking for dlopen()... $ECHO_C" >&6; }
  16010. cat >conftest.$ac_ext <<_ACEOF
  16011. /* confdefs.h. */
  16012. _ACEOF
  16013. @@ -15004,29 +14719,25 @@
  16014. }
  16015. _ACEOF
  16016. rm -f conftest.$ac_objext conftest$ac_exeext
  16017. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16018. - (eval $ac_link) 2>conftest.er1
  16019. +if { (ac_try="$ac_link"
  16020. +case "(($ac_try" in
  16021. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16022. + *) ac_try_echo=$ac_try;;
  16023. +esac
  16024. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16025. + (eval "$ac_link") 2>conftest.er1
  16026. ac_status=$?
  16027. grep -v '^ *+' conftest.er1 >conftest.err
  16028. rm -f conftest.er1
  16029. cat conftest.err >&5
  16030. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16031. - (exit $ac_status); } &&
  16032. - { ac_try='test -z "$ac_c_werror_flag"
  16033. - || test ! -s conftest.err'
  16034. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16035. - (eval $ac_try) 2>&5
  16036. - ac_status=$?
  16037. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16038. - (exit $ac_status); }; } &&
  16039. - { ac_try='test -s conftest$ac_exeext'
  16040. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16041. - (eval $ac_try) 2>&5
  16042. - ac_status=$?
  16043. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16044. - (exit $ac_status); }; }; then
  16045. - echo "$as_me:$LINENO: result: yes" >&5
  16046. -echo "${ECHO_T}yes" >&6;
  16047. + (exit $ac_status); } && {
  16048. + test -z "$ac_c_werror_flag" ||
  16049. + test ! -s conftest.err
  16050. + } && test -s conftest$ac_exeext &&
  16051. + $as_test_x conftest$ac_exeext; then
  16052. + { echo "$as_me:$LINENO: result: yes" >&5
  16053. +echo "${ECHO_T}yes" >&6; };
  16054. cat >>confdefs.h <<\_ACEOF
  16055. #define HAVE_DLOPEN 1
  16056. @@ -15036,10 +14747,10 @@
  16057. echo "$as_me: failed program was:" >&5
  16058. sed 's/^/| /' conftest.$ac_ext >&5
  16059. -echo "$as_me:$LINENO: result: no" >&5
  16060. -echo "${ECHO_T}no" >&6;
  16061. - echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
  16062. -echo $ECHO_N "checking for dlopen() in -ldl... $ECHO_C" >&6
  16063. + { echo "$as_me:$LINENO: result: no" >&5
  16064. +echo "${ECHO_T}no" >&6; };
  16065. + { echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
  16066. +echo $ECHO_N "checking for dlopen() in -ldl... $ECHO_C" >&6; }
  16067. olibs=$LIBS
  16068. LIBS="$LIBS -ldl"
  16069. cat >conftest.$ac_ext <<_ACEOF
  16070. @@ -15061,29 +14772,25 @@
  16071. }
  16072. _ACEOF
  16073. rm -f conftest.$ac_objext conftest$ac_exeext
  16074. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16075. - (eval $ac_link) 2>conftest.er1
  16076. +if { (ac_try="$ac_link"
  16077. +case "(($ac_try" in
  16078. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16079. + *) ac_try_echo=$ac_try;;
  16080. +esac
  16081. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16082. + (eval "$ac_link") 2>conftest.er1
  16083. ac_status=$?
  16084. grep -v '^ *+' conftest.er1 >conftest.err
  16085. rm -f conftest.er1
  16086. cat conftest.err >&5
  16087. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16088. - (exit $ac_status); } &&
  16089. - { ac_try='test -z "$ac_c_werror_flag"
  16090. - || test ! -s conftest.err'
  16091. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16092. - (eval $ac_try) 2>&5
  16093. - ac_status=$?
  16094. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16095. - (exit $ac_status); }; } &&
  16096. - { ac_try='test -s conftest$ac_exeext'
  16097. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16098. - (eval $ac_try) 2>&5
  16099. - ac_status=$?
  16100. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16101. - (exit $ac_status); }; }; then
  16102. - echo "$as_me:$LINENO: result: yes" >&5
  16103. -echo "${ECHO_T}yes" >&6;
  16104. + (exit $ac_status); } && {
  16105. + test -z "$ac_c_werror_flag" ||
  16106. + test ! -s conftest.err
  16107. + } && test -s conftest$ac_exeext &&
  16108. + $as_test_x conftest$ac_exeext; then
  16109. + { echo "$as_me:$LINENO: result: yes" >&5
  16110. +echo "${ECHO_T}yes" >&6; };
  16111. cat >>confdefs.h <<\_ACEOF
  16112. #define HAVE_DLOPEN 1
  16113. @@ -15093,17 +14800,19 @@
  16114. echo "$as_me: failed program was:" >&5
  16115. sed 's/^/| /' conftest.$ac_ext >&5
  16116. -echo "$as_me:$LINENO: result: no" >&5
  16117. -echo "${ECHO_T}no" >&6;
  16118. + { echo "$as_me:$LINENO: result: no" >&5
  16119. +echo "${ECHO_T}no" >&6; };
  16120. LIBS=$olibs
  16121. fi
  16122. -rm -f conftest.err conftest.$ac_objext \
  16123. +
  16124. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16125. conftest$ac_exeext conftest.$ac_ext
  16126. fi
  16127. -rm -f conftest.err conftest.$ac_objext \
  16128. +
  16129. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16130. conftest$ac_exeext conftest.$ac_ext
  16131. - echo "$as_me:$LINENO: checking for dlsym()" >&5
  16132. -echo $ECHO_N "checking for dlsym()... $ECHO_C" >&6
  16133. + { echo "$as_me:$LINENO: checking for dlsym()" >&5
  16134. +echo $ECHO_N "checking for dlsym()... $ECHO_C" >&6; }
  16135. cat >conftest.$ac_ext <<_ACEOF
  16136. /* confdefs.h. */
  16137. _ACEOF
  16138. @@ -15123,29 +14832,25 @@
  16139. }
  16140. _ACEOF
  16141. rm -f conftest.$ac_objext conftest$ac_exeext
  16142. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16143. - (eval $ac_link) 2>conftest.er1
  16144. +if { (ac_try="$ac_link"
  16145. +case "(($ac_try" in
  16146. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16147. + *) ac_try_echo=$ac_try;;
  16148. +esac
  16149. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16150. + (eval "$ac_link") 2>conftest.er1
  16151. ac_status=$?
  16152. grep -v '^ *+' conftest.er1 >conftest.err
  16153. rm -f conftest.er1
  16154. cat conftest.err >&5
  16155. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16156. - (exit $ac_status); } &&
  16157. - { ac_try='test -z "$ac_c_werror_flag"
  16158. - || test ! -s conftest.err'
  16159. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16160. - (eval $ac_try) 2>&5
  16161. - ac_status=$?
  16162. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16163. - (exit $ac_status); }; } &&
  16164. - { ac_try='test -s conftest$ac_exeext'
  16165. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16166. - (eval $ac_try) 2>&5
  16167. - ac_status=$?
  16168. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16169. - (exit $ac_status); }; }; then
  16170. - echo "$as_me:$LINENO: result: yes" >&5
  16171. -echo "${ECHO_T}yes" >&6;
  16172. + (exit $ac_status); } && {
  16173. + test -z "$ac_c_werror_flag" ||
  16174. + test ! -s conftest.err
  16175. + } && test -s conftest$ac_exeext &&
  16176. + $as_test_x conftest$ac_exeext; then
  16177. + { echo "$as_me:$LINENO: result: yes" >&5
  16178. +echo "${ECHO_T}yes" >&6; };
  16179. cat >>confdefs.h <<\_ACEOF
  16180. #define HAVE_DLSYM 1
  16181. @@ -15155,10 +14860,10 @@
  16182. echo "$as_me: failed program was:" >&5
  16183. sed 's/^/| /' conftest.$ac_ext >&5
  16184. -echo "$as_me:$LINENO: result: no" >&5
  16185. -echo "${ECHO_T}no" >&6;
  16186. - echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
  16187. -echo $ECHO_N "checking for dlsym() in -ldl... $ECHO_C" >&6
  16188. + { echo "$as_me:$LINENO: result: no" >&5
  16189. +echo "${ECHO_T}no" >&6; };
  16190. + { echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
  16191. +echo $ECHO_N "checking for dlsym() in -ldl... $ECHO_C" >&6; }
  16192. olibs=$LIBS
  16193. LIBS="$LIBS -ldl"
  16194. cat >conftest.$ac_ext <<_ACEOF
  16195. @@ -15180,29 +14885,25 @@
  16196. }
  16197. _ACEOF
  16198. rm -f conftest.$ac_objext conftest$ac_exeext
  16199. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16200. - (eval $ac_link) 2>conftest.er1
  16201. +if { (ac_try="$ac_link"
  16202. +case "(($ac_try" in
  16203. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16204. + *) ac_try_echo=$ac_try;;
  16205. +esac
  16206. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16207. + (eval "$ac_link") 2>conftest.er1
  16208. ac_status=$?
  16209. grep -v '^ *+' conftest.er1 >conftest.err
  16210. rm -f conftest.er1
  16211. cat conftest.err >&5
  16212. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16213. - (exit $ac_status); } &&
  16214. - { ac_try='test -z "$ac_c_werror_flag"
  16215. - || test ! -s conftest.err'
  16216. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16217. - (eval $ac_try) 2>&5
  16218. - ac_status=$?
  16219. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16220. - (exit $ac_status); }; } &&
  16221. - { ac_try='test -s conftest$ac_exeext'
  16222. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16223. - (eval $ac_try) 2>&5
  16224. - ac_status=$?
  16225. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16226. - (exit $ac_status); }; }; then
  16227. - echo "$as_me:$LINENO: result: yes" >&5
  16228. -echo "${ECHO_T}yes" >&6;
  16229. + (exit $ac_status); } && {
  16230. + test -z "$ac_c_werror_flag" ||
  16231. + test ! -s conftest.err
  16232. + } && test -s conftest$ac_exeext &&
  16233. + $as_test_x conftest$ac_exeext; then
  16234. + { echo "$as_me:$LINENO: result: yes" >&5
  16235. +echo "${ECHO_T}yes" >&6; };
  16236. cat >>confdefs.h <<\_ACEOF
  16237. #define HAVE_DLSYM 1
  16238. @@ -15212,14 +14913,16 @@
  16239. echo "$as_me: failed program was:" >&5
  16240. sed 's/^/| /' conftest.$ac_ext >&5
  16241. -echo "$as_me:$LINENO: result: no" >&5
  16242. -echo "${ECHO_T}no" >&6;
  16243. + { echo "$as_me:$LINENO: result: no" >&5
  16244. +echo "${ECHO_T}no" >&6; };
  16245. LIBS=$olibs
  16246. fi
  16247. -rm -f conftest.err conftest.$ac_objext \
  16248. +
  16249. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16250. conftest$ac_exeext conftest.$ac_ext
  16251. fi
  16252. -rm -f conftest.err conftest.$ac_objext \
  16253. +
  16254. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16255. conftest$ac_exeext conftest.$ac_ext
  16256. elif test x${DLL} = xdl.h; then
  16257. @@ -15227,8 +14930,8 @@
  16258. #define HAVE_DL_H 1
  16259. _ACEOF
  16260. - echo "$as_me:$LINENO: checking for shl_load()" >&5
  16261. -echo $ECHO_N "checking for shl_load()... $ECHO_C" >&6
  16262. + { echo "$as_me:$LINENO: checking for shl_load()" >&5
  16263. +echo $ECHO_N "checking for shl_load()... $ECHO_C" >&6; }
  16264. cat >conftest.$ac_ext <<_ACEOF
  16265. /* confdefs.h. */
  16266. _ACEOF
  16267. @@ -15248,29 +14951,25 @@
  16268. }
  16269. _ACEOF
  16270. rm -f conftest.$ac_objext conftest$ac_exeext
  16271. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16272. - (eval $ac_link) 2>conftest.er1
  16273. +if { (ac_try="$ac_link"
  16274. +case "(($ac_try" in
  16275. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16276. + *) ac_try_echo=$ac_try;;
  16277. +esac
  16278. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16279. + (eval "$ac_link") 2>conftest.er1
  16280. ac_status=$?
  16281. grep -v '^ *+' conftest.er1 >conftest.err
  16282. rm -f conftest.er1
  16283. cat conftest.err >&5
  16284. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16285. - (exit $ac_status); } &&
  16286. - { ac_try='test -z "$ac_c_werror_flag"
  16287. - || test ! -s conftest.err'
  16288. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16289. - (eval $ac_try) 2>&5
  16290. - ac_status=$?
  16291. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16292. - (exit $ac_status); }; } &&
  16293. - { ac_try='test -s conftest$ac_exeext'
  16294. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16295. - (eval $ac_try) 2>&5
  16296. - ac_status=$?
  16297. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16298. - (exit $ac_status); }; }; then
  16299. - echo "$as_me:$LINENO: result: yes" >&5
  16300. -echo "${ECHO_T}yes" >&6;
  16301. + (exit $ac_status); } && {
  16302. + test -z "$ac_c_werror_flag" ||
  16303. + test ! -s conftest.err
  16304. + } && test -s conftest$ac_exeext &&
  16305. + $as_test_x conftest$ac_exeext; then
  16306. + { echo "$as_me:$LINENO: result: yes" >&5
  16307. +echo "${ECHO_T}yes" >&6; };
  16308. cat >>confdefs.h <<\_ACEOF
  16309. #define HAVE_SHL_LOAD 1
  16310. @@ -15280,10 +14979,10 @@
  16311. echo "$as_me: failed program was:" >&5
  16312. sed 's/^/| /' conftest.$ac_ext >&5
  16313. -echo "$as_me:$LINENO: result: no" >&5
  16314. -echo "${ECHO_T}no" >&6;
  16315. - echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
  16316. -echo $ECHO_N "checking for shl_load() in -ldld... $ECHO_C" >&6
  16317. + { echo "$as_me:$LINENO: result: no" >&5
  16318. +echo "${ECHO_T}no" >&6; };
  16319. + { echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
  16320. +echo $ECHO_N "checking for shl_load() in -ldld... $ECHO_C" >&6; }
  16321. olibs=$LIBS
  16322. LIBS="$LIBS -ldld"
  16323. cat >conftest.$ac_ext <<_ACEOF
  16324. @@ -15305,29 +15004,25 @@
  16325. }
  16326. _ACEOF
  16327. rm -f conftest.$ac_objext conftest$ac_exeext
  16328. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  16329. - (eval $ac_link) 2>conftest.er1
  16330. +if { (ac_try="$ac_link"
  16331. +case "(($ac_try" in
  16332. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16333. + *) ac_try_echo=$ac_try;;
  16334. +esac
  16335. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16336. + (eval "$ac_link") 2>conftest.er1
  16337. ac_status=$?
  16338. grep -v '^ *+' conftest.er1 >conftest.err
  16339. rm -f conftest.er1
  16340. cat conftest.err >&5
  16341. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16342. - (exit $ac_status); } &&
  16343. - { ac_try='test -z "$ac_c_werror_flag"
  16344. - || test ! -s conftest.err'
  16345. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16346. - (eval $ac_try) 2>&5
  16347. - ac_status=$?
  16348. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16349. - (exit $ac_status); }; } &&
  16350. - { ac_try='test -s conftest$ac_exeext'
  16351. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16352. - (eval $ac_try) 2>&5
  16353. - ac_status=$?
  16354. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16355. - (exit $ac_status); }; }; then
  16356. - echo "$as_me:$LINENO: result: yes" >&5
  16357. -echo "${ECHO_T}yes" >&6;
  16358. + (exit $ac_status); } && {
  16359. + test -z "$ac_c_werror_flag" ||
  16360. + test ! -s conftest.err
  16361. + } && test -s conftest$ac_exeext &&
  16362. + $as_test_x conftest$ac_exeext; then
  16363. + { echo "$as_me:$LINENO: result: yes" >&5
  16364. +echo "${ECHO_T}yes" >&6; };
  16365. cat >>confdefs.h <<\_ACEOF
  16366. #define HAVE_SHL_LOAD 1
  16367. @@ -15337,32 +15032,35 @@
  16368. echo "$as_me: failed program was:" >&5
  16369. sed 's/^/| /' conftest.$ac_ext >&5
  16370. -echo "$as_me:$LINENO: result: no" >&5
  16371. -echo "${ECHO_T}no" >&6;
  16372. + { echo "$as_me:$LINENO: result: no" >&5
  16373. +echo "${ECHO_T}no" >&6; };
  16374. LIBS=$olibs
  16375. fi
  16376. -rm -f conftest.err conftest.$ac_objext \
  16377. +
  16378. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16379. conftest$ac_exeext conftest.$ac_ext
  16380. fi
  16381. -rm -f conftest.err conftest.$ac_objext \
  16382. +
  16383. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16384. conftest$ac_exeext conftest.$ac_ext
  16385. fi
  16386. for ac_header in setjmp.h
  16387. do
  16388. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16389. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  16390. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  16391. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  16392. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  16393. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  16394. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  16395. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  16396. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  16397. echo $ECHO_N "(cached) $ECHO_C" >&6
  16398. fi
  16399. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  16400. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  16401. +ac_res=`eval echo '${'$as_ac_Header'}'`
  16402. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  16403. +echo "${ECHO_T}$ac_res" >&6; }
  16404. else
  16405. # Is the header compilable?
  16406. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  16407. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  16408. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  16409. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  16410. cat >conftest.$ac_ext <<_ACEOF
  16411. /* confdefs.h. */
  16412. _ACEOF
  16413. @@ -15373,41 +15071,37 @@
  16414. #include <$ac_header>
  16415. _ACEOF
  16416. rm -f conftest.$ac_objext
  16417. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  16418. - (eval $ac_compile) 2>conftest.er1
  16419. +if { (ac_try="$ac_compile"
  16420. +case "(($ac_try" in
  16421. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16422. + *) ac_try_echo=$ac_try;;
  16423. +esac
  16424. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16425. + (eval "$ac_compile") 2>conftest.er1
  16426. ac_status=$?
  16427. grep -v '^ *+' conftest.er1 >conftest.err
  16428. rm -f conftest.er1
  16429. cat conftest.err >&5
  16430. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16431. - (exit $ac_status); } &&
  16432. - { ac_try='test -z "$ac_c_werror_flag"
  16433. - || test ! -s conftest.err'
  16434. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16435. - (eval $ac_try) 2>&5
  16436. - ac_status=$?
  16437. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16438. - (exit $ac_status); }; } &&
  16439. - { ac_try='test -s conftest.$ac_objext'
  16440. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  16441. - (eval $ac_try) 2>&5
  16442. - ac_status=$?
  16443. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16444. - (exit $ac_status); }; }; then
  16445. + (exit $ac_status); } && {
  16446. + test -z "$ac_c_werror_flag" ||
  16447. + test ! -s conftest.err
  16448. + } && test -s conftest.$ac_objext; then
  16449. ac_header_compiler=yes
  16450. else
  16451. echo "$as_me: failed program was:" >&5
  16452. sed 's/^/| /' conftest.$ac_ext >&5
  16453. -ac_header_compiler=no
  16454. + ac_header_compiler=no
  16455. fi
  16456. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  16457. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  16458. -echo "${ECHO_T}$ac_header_compiler" >&6
  16459. +
  16460. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16461. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  16462. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  16463. # Is the header present?
  16464. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  16465. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  16466. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  16467. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  16468. cat >conftest.$ac_ext <<_ACEOF
  16469. /* confdefs.h. */
  16470. _ACEOF
  16471. @@ -15416,24 +15110,22 @@
  16472. /* end confdefs.h. */
  16473. #include <$ac_header>
  16474. _ACEOF
  16475. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  16476. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  16477. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  16478. +case "(($ac_try" in
  16479. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16480. + *) ac_try_echo=$ac_try;;
  16481. +esac
  16482. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16483. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  16484. ac_status=$?
  16485. grep -v '^ *+' conftest.er1 >conftest.err
  16486. rm -f conftest.er1
  16487. cat conftest.err >&5
  16488. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16489. - (exit $ac_status); } >/dev/null; then
  16490. - if test -s conftest.err; then
  16491. - ac_cpp_err=$ac_c_preproc_warn_flag
  16492. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  16493. - else
  16494. - ac_cpp_err=
  16495. - fi
  16496. -else
  16497. - ac_cpp_err=yes
  16498. -fi
  16499. -if test -z "$ac_cpp_err"; then
  16500. + (exit $ac_status); } >/dev/null && {
  16501. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  16502. + test ! -s conftest.err
  16503. + }; then
  16504. ac_header_preproc=yes
  16505. else
  16506. echo "$as_me: failed program was:" >&5
  16507. @@ -15441,9 +15133,10 @@
  16508. ac_header_preproc=no
  16509. fi
  16510. +
  16511. rm -f conftest.err conftest.$ac_ext
  16512. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  16513. -echo "${ECHO_T}$ac_header_preproc" >&6
  16514. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  16515. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  16516. # So? What about this header?
  16517. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  16518. @@ -15467,25 +15160,19 @@
  16519. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  16520. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  16521. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  16522. - (
  16523. - cat <<\_ASBOX
  16524. -## ------------------------------------------ ##
  16525. -## Report this to the AC_PACKAGE_NAME lists. ##
  16526. -## ------------------------------------------ ##
  16527. -_ASBOX
  16528. - ) |
  16529. - sed "s/^/$as_me: WARNING: /" >&2
  16530. +
  16531. ;;
  16532. esac
  16533. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  16534. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  16535. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  16536. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  16537. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  16538. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  16539. echo $ECHO_N "(cached) $ECHO_C" >&6
  16540. else
  16541. eval "$as_ac_Header=\$ac_header_preproc"
  16542. fi
  16543. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  16544. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  16545. +ac_res=`eval echo '${'$as_ac_Header'}'`
  16546. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  16547. +echo "${ECHO_T}$ac_res" >&6; }
  16548. fi
  16549. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  16550. @@ -15507,24 +15194,24 @@
  16551. if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \
  16552. && test "x$GUITYPE" != "xCARBONGUI"; then
  16553. - echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
  16554. -echo $ECHO_N "checking whether we need -framework Carbon... $ECHO_C" >&6
  16555. + { echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
  16556. +echo $ECHO_N "checking whether we need -framework Carbon... $ECHO_C" >&6; }
  16557. if test "x$enable_multibyte" = "xyes" || test "x$features" = "xbig" \
  16558. || test "x$features" = "xhuge"; then
  16559. LIBS="$LIBS -framework Carbon"
  16560. - echo "$as_me:$LINENO: result: yes" >&5
  16561. -echo "${ECHO_T}yes" >&6
  16562. + { echo "$as_me:$LINENO: result: yes" >&5
  16563. +echo "${ECHO_T}yes" >&6; }
  16564. else
  16565. - echo "$as_me:$LINENO: result: no" >&5
  16566. -echo "${ECHO_T}no" >&6
  16567. + { echo "$as_me:$LINENO: result: no" >&5
  16568. +echo "${ECHO_T}no" >&6; }
  16569. fi
  16570. fi
  16571. if test "x$MACARCH" = "xboth"; then
  16572. LDFLAGS="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
  16573. fi
  16574. -echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
  16575. -echo $ECHO_N "checking for GCC 3 or later... $ECHO_C" >&6
  16576. +{ echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
  16577. +echo $ECHO_N "checking for GCC 3 or later... $ECHO_C" >&6; }
  16578. DEPEND_CFLAGS_FILTER=
  16579. if test "$GCC" = yes; then
  16580. gccmajor=`echo "$gccversion" | sed -e 's/^\([1-9]\)\..*$/\1/g'`
  16581. @@ -15533,15 +15220,16 @@
  16582. fi
  16583. fi
  16584. if test "$DEPEND_CFLAGS_FILTER" = ""; then
  16585. - echo "$as_me:$LINENO: result: no" >&5
  16586. -echo "${ECHO_T}no" >&6
  16587. + { echo "$as_me:$LINENO: result: no" >&5
  16588. +echo "${ECHO_T}no" >&6; }
  16589. else
  16590. - echo "$as_me:$LINENO: result: yes" >&5
  16591. -echo "${ECHO_T}yes" >&6
  16592. + { echo "$as_me:$LINENO: result: yes" >&5
  16593. +echo "${ECHO_T}yes" >&6; }
  16594. fi
  16595. - ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
  16596. +ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
  16597. +
  16598. cat >confcache <<\_ACEOF
  16599. # This file is a shell script that caches the results of configure
  16600. # tests run on this system so they can be shared between configure
  16601. @@ -15560,39 +15248,58 @@
  16602. # The following way of writing the cache mishandles newlines in values,
  16603. # but we know of no workaround that is simple, portable, and efficient.
  16604. -# So, don't put newlines in cache variables' values.
  16605. +# So, we kill variables containing newlines.
  16606. # Ultrix sh set writes to stderr and can't be redirected directly,
  16607. # and sets the high bit in the cache file unless we assign to the vars.
  16608. -{
  16609. +(
  16610. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  16611. + eval ac_val=\$$ac_var
  16612. + case $ac_val in #(
  16613. + *${as_nl}*)
  16614. + case $ac_var in #(
  16615. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  16616. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  16617. + esac
  16618. + case $ac_var in #(
  16619. + _ | IFS | as_nl) ;; #(
  16620. + *) $as_unset $ac_var ;;
  16621. + esac ;;
  16622. + esac
  16623. + done
  16624. +
  16625. (set) 2>&1 |
  16626. - case `(ac_space=' '; set | grep ac_space) 2>&1` in
  16627. - *ac_space=\ *)
  16628. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  16629. + *${as_nl}ac_space=\ *)
  16630. # `set' does not quote correctly, so add quotes (double-quote
  16631. # substitution turns \\\\ into \\, and sed turns \\ into \).
  16632. sed -n \
  16633. "s/'/'\\\\''/g;
  16634. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  16635. - ;;
  16636. + ;; #(
  16637. *)
  16638. # `set' quotes correctly as required by POSIX, so do not add quotes.
  16639. - sed -n \
  16640. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  16641. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  16642. ;;
  16643. - esac;
  16644. -} |
  16645. + esac |
  16646. + sort
  16647. +) |
  16648. sed '
  16649. + /^ac_cv_env_/b end
  16650. t clear
  16651. - : clear
  16652. + :clear
  16653. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  16654. t end
  16655. - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  16656. - : end' >>confcache
  16657. -if diff $cache_file confcache >/dev/null 2>&1; then :; else
  16658. - if test -w $cache_file; then
  16659. - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  16660. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  16661. + :end' >>confcache
  16662. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  16663. + if test -w "$cache_file"; then
  16664. + test "x$cache_file" != "x/dev/null" &&
  16665. + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  16666. +echo "$as_me: updating cache $cache_file" >&6;}
  16667. cat confcache >$cache_file
  16668. else
  16669. - echo "not updating unwritable cache $cache_file"
  16670. + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  16671. +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  16672. fi
  16673. fi
  16674. rm -f confcache
  16675. @@ -15601,32 +15308,18 @@
  16676. # Let make expand exec_prefix.
  16677. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  16678. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  16679. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  16680. -# trailing colons and then remove the whole line if VPATH becomes empty
  16681. -# (actually we leave an empty line to preserve line numbers).
  16682. -if test "x$srcdir" = x.; then
  16683. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  16684. -s/:*\$(srcdir):*/:/;
  16685. -s/:*\${srcdir}:*/:/;
  16686. -s/:*@srcdir@:*/:/;
  16687. -s/^\([^=]*=[ ]*\):*/\1/;
  16688. -s/:*$//;
  16689. -s/^[^=]*=[ ]*$//;
  16690. -}'
  16691. -fi
  16692. -
  16693. DEFS=-DHAVE_CONFIG_H
  16694. ac_libobjs=
  16695. ac_ltlibobjs=
  16696. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  16697. # 1. Remove the extension, and $U if already installed.
  16698. - ac_i=`echo "$ac_i" |
  16699. - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  16700. - # 2. Add them.
  16701. - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  16702. - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  16703. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  16704. + ac_i=`echo "$ac_i" | sed "$ac_script"`
  16705. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  16706. + # will be set to the directory where LIBOBJS objects are built.
  16707. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  16708. + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  16709. done
  16710. LIBOBJS=$ac_libobjs
  16711. @@ -15657,17 +15350,45 @@
  16712. ## M4sh Initialization. ##
  16713. ## --------------------- ##
  16714. -# Be Bourne compatible
  16715. +# Be more Bourne compatible
  16716. +DUALCASE=1; export DUALCASE # for MKS sh
  16717. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16718. emulate sh
  16719. NULLCMD=:
  16720. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  16721. # is contrary to our usage. Disable this feature.
  16722. alias -g '${1+"$@"}'='"$@"'
  16723. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  16724. - set -o posix
  16725. + setopt NO_GLOB_SUBST
  16726. +else
  16727. + case `(set -o) 2>/dev/null` in
  16728. + *posix*) set -o posix ;;
  16729. +esac
  16730. +
  16731. +fi
  16732. +
  16733. +
  16734. +
  16735. +
  16736. +# PATH needs CR
  16737. +# Avoid depending upon Character Ranges.
  16738. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  16739. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  16740. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  16741. +as_cr_digits='0123456789'
  16742. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  16743. +
  16744. +# The user is always right.
  16745. +if test "${PATH_SEPARATOR+set}" != set; then
  16746. + echo "#! /bin/sh" >conf$$.sh
  16747. + echo "exit 0" >>conf$$.sh
  16748. + chmod +x conf$$.sh
  16749. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  16750. + PATH_SEPARATOR=';'
  16751. + else
  16752. + PATH_SEPARATOR=:
  16753. + fi
  16754. + rm -f conf$$.sh
  16755. fi
  16756. -DUALCASE=1; export DUALCASE # for MKS sh
  16757. # Support unset when possible.
  16758. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  16759. @@ -15677,8 +15398,43 @@
  16760. fi
  16761. +# IFS
  16762. +# We need space, tab and new line, in precisely that order. Quoting is
  16763. +# there to prevent editors from complaining about space-tab.
  16764. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  16765. +# splitting by setting IFS to empty value.)
  16766. +as_nl='
  16767. +'
  16768. +IFS=" "" $as_nl"
  16769. +
  16770. +# Find who we are. Look in the path if we contain no directory separator.
  16771. +case $0 in
  16772. + *[\\/]* ) as_myself=$0 ;;
  16773. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16774. +for as_dir in $PATH
  16775. +do
  16776. + IFS=$as_save_IFS
  16777. + test -z "$as_dir" && as_dir=.
  16778. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  16779. +done
  16780. +IFS=$as_save_IFS
  16781. +
  16782. + ;;
  16783. +esac
  16784. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  16785. +# in which case we are not to be found in the path.
  16786. +if test "x$as_myself" = x; then
  16787. + as_myself=$0
  16788. +fi
  16789. +if test ! -f "$as_myself"; then
  16790. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  16791. + { (exit 1); exit 1; }
  16792. +fi
  16793. +
  16794. # Work around bugs in pre-3.0 UWIN ksh.
  16795. -$as_unset ENV MAIL MAILPATH
  16796. +for as_var in ENV MAIL MAILPATH
  16797. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  16798. +done
  16799. PS1='$ '
  16800. PS2='> '
  16801. PS4='+ '
  16802. @@ -15692,18 +15448,19 @@
  16803. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  16804. eval $as_var=C; export $as_var
  16805. else
  16806. - $as_unset $as_var
  16807. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  16808. fi
  16809. done
  16810. # Required to use basename.
  16811. -if expr a : '\(a\)' >/dev/null 2>&1; then
  16812. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  16813. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  16814. as_expr=expr
  16815. else
  16816. as_expr=false
  16817. fi
  16818. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  16819. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  16820. as_basename=basename
  16821. else
  16822. as_basename=false
  16823. @@ -15711,159 +15468,120 @@
  16824. # Name of the executable.
  16825. -as_me=`$as_basename "$0" ||
  16826. +as_me=`$as_basename -- "$0" ||
  16827. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  16828. X"$0" : 'X\(//\)$' \| \
  16829. - X"$0" : 'X\(/\)$' \| \
  16830. - . : '\(.\)' 2>/dev/null ||
  16831. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  16832. echo X/"$0" |
  16833. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  16834. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  16835. - /^X\/\(\/\).*/{ s//\1/; q; }
  16836. - s/.*/./; q'`
  16837. -
  16838. -
  16839. -# PATH needs CR, and LINENO needs CR and PATH.
  16840. -# Avoid depending upon Character Ranges.
  16841. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  16842. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  16843. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  16844. -as_cr_digits='0123456789'
  16845. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  16846. -
  16847. -# The user is always right.
  16848. -if test "${PATH_SEPARATOR+set}" != set; then
  16849. - echo "#! /bin/sh" >conf$$.sh
  16850. - echo "exit 0" >>conf$$.sh
  16851. - chmod +x conf$$.sh
  16852. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  16853. - PATH_SEPARATOR=';'
  16854. - else
  16855. - PATH_SEPARATOR=:
  16856. - fi
  16857. - rm -f conf$$.sh
  16858. -fi
  16859. -
  16860. -
  16861. - as_lineno_1=$LINENO
  16862. - as_lineno_2=$LINENO
  16863. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  16864. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  16865. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  16866. - # Find who we are. Look in the path if we contain no path at all
  16867. - # relative or not.
  16868. - case $0 in
  16869. - *[\\/]* ) as_myself=$0 ;;
  16870. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16871. -for as_dir in $PATH
  16872. -do
  16873. - IFS=$as_save_IFS
  16874. - test -z "$as_dir" && as_dir=.
  16875. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  16876. -done
  16877. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  16878. + s//\1/
  16879. + q
  16880. + }
  16881. + /^X\/\(\/\/\)$/{
  16882. + s//\1/
  16883. + q
  16884. + }
  16885. + /^X\/\(\/\).*/{
  16886. + s//\1/
  16887. + q
  16888. + }
  16889. + s/.*/./; q'`
  16890. +
  16891. +# CDPATH.
  16892. +$as_unset CDPATH
  16893. +
  16894. +
  16895. - ;;
  16896. - esac
  16897. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  16898. - # in which case we are not to be found in the path.
  16899. - if test "x$as_myself" = x; then
  16900. - as_myself=$0
  16901. - fi
  16902. - if test ! -f "$as_myself"; then
  16903. - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  16904. -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  16905. - { (exit 1); exit 1; }; }
  16906. - fi
  16907. - case $CONFIG_SHELL in
  16908. - '')
  16909. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16910. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  16911. -do
  16912. - IFS=$as_save_IFS
  16913. - test -z "$as_dir" && as_dir=.
  16914. - for as_base in sh bash ksh sh5; do
  16915. - case $as_dir in
  16916. - /*)
  16917. - if ("$as_dir/$as_base" -c '
  16918. as_lineno_1=$LINENO
  16919. as_lineno_2=$LINENO
  16920. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  16921. test "x$as_lineno_1" != "x$as_lineno_2" &&
  16922. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  16923. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  16924. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  16925. - CONFIG_SHELL=$as_dir/$as_base
  16926. - export CONFIG_SHELL
  16927. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  16928. - fi;;
  16929. - esac
  16930. - done
  16931. -done
  16932. -;;
  16933. - esac
  16934. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  16935. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  16936. # uniformly replaced by the line number. The first 'sed' inserts a
  16937. - # line-number line before each line; the second 'sed' does the real
  16938. - # work. The second script uses 'N' to pair each line-number line
  16939. - # with the numbered line, and appends trailing '-' during
  16940. - # substitution so that $LINENO is not a special case at line end.
  16941. + # line-number line after each line using $LINENO; the second 'sed'
  16942. + # does the real work. The second script uses 'N' to pair each
  16943. + # line-number line with the line containing $LINENO, and appends
  16944. + # trailing '-' during substitution so that $LINENO is not a special
  16945. + # case at line end.
  16946. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  16947. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  16948. - sed '=' <$as_myself |
  16949. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  16950. + # E. McMahon (1931-1989) for sed's syntax. :-)
  16951. + sed -n '
  16952. + p
  16953. + /[$]LINENO/=
  16954. + ' <$as_myself |
  16955. sed '
  16956. + s/[$]LINENO.*/&-/
  16957. + t lineno
  16958. + b
  16959. + :lineno
  16960. N
  16961. - s,$,-,
  16962. - : loop
  16963. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  16964. + :loop
  16965. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  16966. t loop
  16967. - s,-$,,
  16968. - s,^['$as_cr_digits']*\n,,
  16969. + s/-\n.*//
  16970. ' >$as_me.lineno &&
  16971. - chmod +x $as_me.lineno ||
  16972. - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  16973. -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  16974. + chmod +x "$as_me.lineno" ||
  16975. + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  16976. { (exit 1); exit 1; }; }
  16977. # Don't try to exec as it changes $[0], causing all sort of problems
  16978. # (the dirname of $[0] is not the place where we might find the
  16979. - # original and so on. Autoconf is especially sensible to this).
  16980. - . ./$as_me.lineno
  16981. + # original and so on. Autoconf is especially sensitive to this).
  16982. + . "./$as_me.lineno"
  16983. # Exit status is that of the last command.
  16984. exit
  16985. }
  16986. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  16987. - *c*,-n*) ECHO_N= ECHO_C='
  16988. -' ECHO_T=' ' ;;
  16989. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  16990. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  16991. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  16992. + as_dirname=dirname
  16993. +else
  16994. + as_dirname=false
  16995. +fi
  16996. +
  16997. +ECHO_C= ECHO_N= ECHO_T=
  16998. +case `echo -n x` in
  16999. +-n*)
  17000. + case `echo 'x\c'` in
  17001. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  17002. + *) ECHO_C='\c';;
  17003. + esac;;
  17004. +*)
  17005. + ECHO_N='-n';;
  17006. esac
  17007. -if expr a : '\(a\)' >/dev/null 2>&1; then
  17008. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  17009. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  17010. as_expr=expr
  17011. else
  17012. as_expr=false
  17013. fi
  17014. rm -f conf$$ conf$$.exe conf$$.file
  17015. +if test -d conf$$.dir; then
  17016. + rm -f conf$$.dir/conf$$.file
  17017. +else
  17018. + rm -f conf$$.dir
  17019. + mkdir conf$$.dir
  17020. +fi
  17021. echo >conf$$.file
  17022. if ln -s conf$$.file conf$$ 2>/dev/null; then
  17023. - # We could just check for DJGPP; but this test a) works b) is more generic
  17024. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  17025. - if test -f conf$$.exe; then
  17026. - # Don't use ln at all; we don't have any links
  17027. + as_ln_s='ln -s'
  17028. + # ... but there are two gotchas:
  17029. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  17030. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  17031. + # In both cases, we have to default to `cp -p'.
  17032. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  17033. as_ln_s='cp -p'
  17034. - else
  17035. - as_ln_s='ln -s'
  17036. - fi
  17037. elif ln conf$$.file conf$$ 2>/dev/null; then
  17038. as_ln_s=ln
  17039. else
  17040. as_ln_s='cp -p'
  17041. fi
  17042. -rm -f conf$$ conf$$.exe conf$$.file
  17043. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  17044. +rmdir conf$$.dir 2>/dev/null
  17045. if mkdir -p . 2>/dev/null; then
  17046. as_mkdir_p=:
  17047. @@ -15872,7 +15590,28 @@
  17048. as_mkdir_p=false
  17049. fi
  17050. -as_executable_p="test -f"
  17051. +if test -x / >/dev/null 2>&1; then
  17052. + as_test_x='test -x'
  17053. +else
  17054. + if ls -dL / >/dev/null 2>&1; then
  17055. + as_ls_L_option=L
  17056. + else
  17057. + as_ls_L_option=
  17058. + fi
  17059. + as_test_x='
  17060. + eval sh -c '\''
  17061. + if test -d "$1"; then
  17062. + test -d "$1/.";
  17063. + else
  17064. + case $1 in
  17065. + -*)set "./$1";;
  17066. + esac;
  17067. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  17068. + ???[sx]*):;;*)false;;esac;fi
  17069. + '\'' sh
  17070. + '
  17071. +fi
  17072. +as_executable_p=$as_test_x
  17073. # Sed expression to map a string onto a valid CPP name.
  17074. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  17075. @@ -15881,31 +15620,14 @@
  17076. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  17077. -# IFS
  17078. -# We need space, tab and new line, in precisely that order.
  17079. -as_nl='
  17080. -'
  17081. -IFS=" $as_nl"
  17082. -
  17083. -# CDPATH.
  17084. -$as_unset CDPATH
  17085. -
  17086. exec 6>&1
  17087. -# Open the log real soon, to keep \$[0] and so on meaningful, and to
  17088. +# Save the log message, to keep $[0] and so on meaningful, and to
  17089. # report actual input values of CONFIG_FILES etc. instead of their
  17090. -# values after options handling. Logging --version etc. is OK.
  17091. -exec 5>>auto/config.log
  17092. -{
  17093. - echo
  17094. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  17095. -## Running $as_me. ##
  17096. -_ASBOX
  17097. -} >&5
  17098. -cat >&5 <<_CSEOF
  17099. -
  17100. +# values after options handling.
  17101. +ac_log="
  17102. This file was extended by $as_me, which was
  17103. -generated by GNU Autoconf 2.59. Invocation command line was
  17104. +generated by GNU Autoconf 2.61. Invocation command line was
  17105. CONFIG_FILES = $CONFIG_FILES
  17106. CONFIG_HEADERS = $CONFIG_HEADERS
  17107. @@ -15913,30 +15635,19 @@
  17108. CONFIG_COMMANDS = $CONFIG_COMMANDS
  17109. $ $0 $@
  17110. -_CSEOF
  17111. -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  17112. -echo >&5
  17113. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  17114. +"
  17115. +
  17116. _ACEOF
  17117. +cat >>$CONFIG_STATUS <<_ACEOF
  17118. # Files that config.status was made for.
  17119. -if test -n "$ac_config_files"; then
  17120. - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  17121. -fi
  17122. -
  17123. -if test -n "$ac_config_headers"; then
  17124. - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  17125. -fi
  17126. -
  17127. -if test -n "$ac_config_links"; then
  17128. - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  17129. -fi
  17130. +config_files="$ac_config_files"
  17131. +config_headers="$ac_config_headers"
  17132. -if test -n "$ac_config_commands"; then
  17133. - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  17134. -fi
  17135. +_ACEOF
  17136. cat >>$CONFIG_STATUS <<\_ACEOF
  17137. -
  17138. ac_cs_usage="\
  17139. \`$as_me' instantiates files from templates according to the
  17140. current configuration.
  17141. @@ -15944,7 +15655,7 @@
  17142. Usage: $0 [OPTIONS] [FILE]...
  17143. -h, --help print this help, then exit
  17144. - -V, --version print version number, then exit
  17145. + -V, --version print version number and configuration settings, then exit
  17146. -q, --quiet do not print progress messages
  17147. -d, --debug don't remove temporary files
  17148. --recheck update $as_me by reconfiguring in the same conditions
  17149. @@ -15960,18 +15671,20 @@
  17150. $config_headers
  17151. Report bugs to <bug-autoconf@gnu.org>."
  17152. -_ACEOF
  17153. +_ACEOF
  17154. cat >>$CONFIG_STATUS <<_ACEOF
  17155. ac_cs_version="\\
  17156. config.status
  17157. -configured by $0, generated by GNU Autoconf 2.59,
  17158. - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  17159. +configured by $0, generated by GNU Autoconf 2.61,
  17160. + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  17161. -Copyright (C) 2003 Free Software Foundation, Inc.
  17162. +Copyright (C) 2006 Free Software Foundation, Inc.
  17163. This config.status script is free software; the Free Software Foundation
  17164. gives unlimited permission to copy, distribute and modify it."
  17165. -srcdir=$srcdir
  17166. +
  17167. +ac_pwd='$ac_pwd'
  17168. +srcdir='$srcdir'
  17169. _ACEOF
  17170. cat >>$CONFIG_STATUS <<\_ACEOF
  17171. @@ -15982,39 +15695,24 @@
  17172. do
  17173. case $1 in
  17174. --*=*)
  17175. - ac_option=`expr "x$1" : 'x\([^=]*\)='`
  17176. - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  17177. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  17178. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  17179. ac_shift=:
  17180. ;;
  17181. - -*)
  17182. + *)
  17183. ac_option=$1
  17184. ac_optarg=$2
  17185. ac_shift=shift
  17186. ;;
  17187. - *) # This is not an option, so the user has probably given explicit
  17188. - # arguments.
  17189. - ac_option=$1
  17190. - ac_need_defaults=false;;
  17191. esac
  17192. case $ac_option in
  17193. # Handling of the options.
  17194. -_ACEOF
  17195. -cat >>$CONFIG_STATUS <<\_ACEOF
  17196. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  17197. ac_cs_recheck=: ;;
  17198. - --version | --vers* | -V )
  17199. - echo "$ac_cs_version"; exit 0 ;;
  17200. - --he | --h)
  17201. - # Conflict between --help and --header
  17202. - { { echo "$as_me:$LINENO: error: ambiguous option: $1
  17203. -Try \`$0 --help' for more information." >&5
  17204. -echo "$as_me: error: ambiguous option: $1
  17205. -Try \`$0 --help' for more information." >&2;}
  17206. - { (exit 1); exit 1; }; };;
  17207. - --help | --hel | -h )
  17208. - echo "$ac_cs_usage"; exit 0 ;;
  17209. - --debug | --d* | -d )
  17210. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  17211. + echo "$ac_cs_version"; exit ;;
  17212. + --debug | --debu | --deb | --de | --d | -d )
  17213. debug=: ;;
  17214. --file | --fil | --fi | --f )
  17215. $ac_shift
  17216. @@ -16024,18 +15722,24 @@
  17217. $ac_shift
  17218. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  17219. ac_need_defaults=false;;
  17220. + --he | --h)
  17221. + # Conflict between --help and --header
  17222. + { echo "$as_me: error: ambiguous option: $1
  17223. +Try \`$0 --help' for more information." >&2
  17224. + { (exit 1); exit 1; }; };;
  17225. + --help | --hel | -h )
  17226. + echo "$ac_cs_usage"; exit ;;
  17227. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  17228. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  17229. ac_cs_silent=: ;;
  17230. # This is an error.
  17231. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  17232. -Try \`$0 --help' for more information." >&5
  17233. -echo "$as_me: error: unrecognized option: $1
  17234. -Try \`$0 --help' for more information." >&2;}
  17235. + -*) { echo "$as_me: error: unrecognized option: $1
  17236. +Try \`$0 --help' for more information." >&2
  17237. { (exit 1); exit 1; }; } ;;
  17238. - *) ac_config_targets="$ac_config_targets $1" ;;
  17239. + *) ac_config_targets="$ac_config_targets $1"
  17240. + ac_need_defaults=false ;;
  17241. esac
  17242. shift
  17243. @@ -16051,29 +15755,43 @@
  17244. _ACEOF
  17245. cat >>$CONFIG_STATUS <<_ACEOF
  17246. if \$ac_cs_recheck; then
  17247. - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  17248. - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  17249. + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  17250. + CONFIG_SHELL=$SHELL
  17251. + export CONFIG_SHELL
  17252. + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  17253. fi
  17254. _ACEOF
  17255. +cat >>$CONFIG_STATUS <<\_ACEOF
  17256. +exec 5>>config.log
  17257. +{
  17258. + echo
  17259. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  17260. +## Running $as_me. ##
  17261. +_ASBOX
  17262. + echo "$ac_log"
  17263. +} >&5
  17264. -
  17265. -
  17266. -
  17267. +_ACEOF
  17268. +cat >>$CONFIG_STATUS <<_ACEOF
  17269. +_ACEOF
  17270. cat >>$CONFIG_STATUS <<\_ACEOF
  17271. +
  17272. +# Handling of arguments.
  17273. for ac_config_target in $ac_config_targets
  17274. do
  17275. - case "$ac_config_target" in
  17276. - # Handling of arguments.
  17277. - "auto/config.mk" ) CONFIG_FILES="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
  17278. - "auto/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
  17279. + case $ac_config_target in
  17280. + "auto/config.h") CONFIG_HEADERS="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
  17281. + "auto/config.mk") CONFIG_FILES="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
  17282. +
  17283. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  17284. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  17285. { (exit 1); exit 1; }; };;
  17286. esac
  17287. done
  17288. +
  17289. # If the user did not use the arguments to specify the items to instantiate,
  17290. # then the envvar interface is used. Set only those that are not.
  17291. # We use the long form for the default assignment because of an extremely
  17292. @@ -16084,373 +15802,483 @@
  17293. fi
  17294. # Have a temporary directory for convenience. Make it in the build tree
  17295. -# simply because there is no reason to put it here, and in addition,
  17296. +# simply because there is no reason against having it here, and in addition,
  17297. # creating and moving files from /tmp can sometimes cause problems.
  17298. -# Create a temporary directory, and hook for its removal unless debugging.
  17299. +# Hook for its removal unless debugging.
  17300. +# Note that there is a small window in which the directory will not be cleaned:
  17301. +# after its creation but before its name has been assigned to `$tmp'.
  17302. $debug ||
  17303. {
  17304. - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  17305. + tmp=
  17306. + trap 'exit_status=$?
  17307. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  17308. +' 0
  17309. trap '{ (exit 1); exit 1; }' 1 2 13 15
  17310. }
  17311. -
  17312. # Create a (secure) tmp directory for tmp files.
  17313. {
  17314. - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  17315. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  17316. test -n "$tmp" && test -d "$tmp"
  17317. } ||
  17318. {
  17319. - tmp=./confstat$$-$RANDOM
  17320. - (umask 077 && mkdir $tmp)
  17321. + tmp=./conf$$-$RANDOM
  17322. + (umask 077 && mkdir "$tmp")
  17323. } ||
  17324. {
  17325. echo "$me: cannot create a temporary directory in ." >&2
  17326. { (exit 1); exit 1; }
  17327. }
  17328. -_ACEOF
  17329. -
  17330. -cat >>$CONFIG_STATUS <<_ACEOF
  17331. -
  17332. #
  17333. -# CONFIG_FILES section.
  17334. +# Set up the sed scripts for CONFIG_FILES section.
  17335. #
  17336. # No need to generate the scripts if there are no CONFIG_FILES.
  17337. # This happens for instance when ./config.status config.h
  17338. -if test -n "\$CONFIG_FILES"; then
  17339. - # Protect against being on the right side of a sed subst in config.status.
  17340. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  17341. - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  17342. -s,@SHELL@,$SHELL,;t t
  17343. -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  17344. -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  17345. -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  17346. -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  17347. -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  17348. -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  17349. -s,@exec_prefix@,$exec_prefix,;t t
  17350. -s,@prefix@,$prefix,;t t
  17351. -s,@program_transform_name@,$program_transform_name,;t t
  17352. -s,@bindir@,$bindir,;t t
  17353. -s,@sbindir@,$sbindir,;t t
  17354. -s,@libexecdir@,$libexecdir,;t t
  17355. -s,@datadir@,$datadir,;t t
  17356. -s,@sysconfdir@,$sysconfdir,;t t
  17357. -s,@sharedstatedir@,$sharedstatedir,;t t
  17358. -s,@localstatedir@,$localstatedir,;t t
  17359. -s,@libdir@,$libdir,;t t
  17360. -s,@includedir@,$includedir,;t t
  17361. -s,@oldincludedir@,$oldincludedir,;t t
  17362. -s,@infodir@,$infodir,;t t
  17363. -s,@mandir@,$mandir,;t t
  17364. -s,@build_alias@,$build_alias,;t t
  17365. -s,@host_alias@,$host_alias,;t t
  17366. -s,@target_alias@,$target_alias,;t t
  17367. -s,@DEFS@,$DEFS,;t t
  17368. -s,@ECHO_C@,$ECHO_C,;t t
  17369. -s,@ECHO_N@,$ECHO_N,;t t
  17370. -s,@ECHO_T@,$ECHO_T,;t t
  17371. -s,@LIBS@,$LIBS,;t t
  17372. -s,@SET_MAKE@,$SET_MAKE,;t t
  17373. -s,@CC@,$CC,;t t
  17374. -s,@CFLAGS@,$CFLAGS,;t t
  17375. -s,@LDFLAGS@,$LDFLAGS,;t t
  17376. -s,@CPPFLAGS@,$CPPFLAGS,;t t
  17377. -s,@ac_ct_CC@,$ac_ct_CC,;t t
  17378. -s,@EXEEXT@,$EXEEXT,;t t
  17379. -s,@OBJEXT@,$OBJEXT,;t t
  17380. -s,@CPP@,$CPP,;t t
  17381. -s,@EGREP@,$EGREP,;t t
  17382. -s,@AWK@,$AWK,;t t
  17383. -s,@STRIP@,$STRIP,;t t
  17384. -s,@CPP_MM@,$CPP_MM,;t t
  17385. -s,@OS_EXTRA_SRC@,$OS_EXTRA_SRC,;t t
  17386. -s,@OS_EXTRA_OBJ@,$OS_EXTRA_OBJ,;t t
  17387. -s,@VIMNAME@,$VIMNAME,;t t
  17388. -s,@EXNAME@,$EXNAME,;t t
  17389. -s,@VIEWNAME@,$VIEWNAME,;t t
  17390. -s,@line_break@,$line_break,;t t
  17391. -s,@dovimdiff@,$dovimdiff,;t t
  17392. -s,@dogvimdiff@,$dogvimdiff,;t t
  17393. -s,@compiledby@,$compiledby,;t t
  17394. -s,@vi_cv_path_mzscheme@,$vi_cv_path_mzscheme,;t t
  17395. -s,@MZSCHEME_SRC@,$MZSCHEME_SRC,;t t
  17396. -s,@MZSCHEME_OBJ@,$MZSCHEME_OBJ,;t t
  17397. -s,@MZSCHEME_PRO@,$MZSCHEME_PRO,;t t
  17398. -s,@MZSCHEME_LIBS@,$MZSCHEME_LIBS,;t t
  17399. -s,@MZSCHEME_CFLAGS@,$MZSCHEME_CFLAGS,;t t
  17400. -s,@vi_cv_path_perl@,$vi_cv_path_perl,;t t
  17401. -s,@vi_cv_perllib@,$vi_cv_perllib,;t t
  17402. -s,@shrpenv@,$shrpenv,;t t
  17403. -s,@PERL_SRC@,$PERL_SRC,;t t
  17404. -s,@PERL_OBJ@,$PERL_OBJ,;t t
  17405. -s,@PERL_PRO@,$PERL_PRO,;t t
  17406. -s,@PERL_CFLAGS@,$PERL_CFLAGS,;t t
  17407. -s,@PERL_LIBS@,$PERL_LIBS,;t t
  17408. -s,@vi_cv_path_python@,$vi_cv_path_python,;t t
  17409. -s,@PYTHON_CONFDIR@,$PYTHON_CONFDIR,;t t
  17410. -s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
  17411. -s,@PYTHON_GETPATH_CFLAGS@,$PYTHON_GETPATH_CFLAGS,;t t
  17412. -s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
  17413. -s,@PYTHON_SRC@,$PYTHON_SRC,;t t
  17414. -s,@PYTHON_OBJ@,$PYTHON_OBJ,;t t
  17415. -s,@vi_cv_path_tcl@,$vi_cv_path_tcl,;t t
  17416. -s,@TCL_SRC@,$TCL_SRC,;t t
  17417. -s,@TCL_OBJ@,$TCL_OBJ,;t t
  17418. -s,@TCL_PRO@,$TCL_PRO,;t t
  17419. -s,@TCL_CFLAGS@,$TCL_CFLAGS,;t t
  17420. -s,@TCL_LIBS@,$TCL_LIBS,;t t
  17421. -s,@vi_cv_path_ruby@,$vi_cv_path_ruby,;t t
  17422. -s,@RUBY_SRC@,$RUBY_SRC,;t t
  17423. -s,@RUBY_OBJ@,$RUBY_OBJ,;t t
  17424. -s,@RUBY_PRO@,$RUBY_PRO,;t t
  17425. -s,@RUBY_CFLAGS@,$RUBY_CFLAGS,;t t
  17426. -s,@RUBY_LIBS@,$RUBY_LIBS,;t t
  17427. -s,@WORKSHOP_SRC@,$WORKSHOP_SRC,;t t
  17428. -s,@WORKSHOP_OBJ@,$WORKSHOP_OBJ,;t t
  17429. -s,@NETBEANS_SRC@,$NETBEANS_SRC,;t t
  17430. -s,@NETBEANS_OBJ@,$NETBEANS_OBJ,;t t
  17431. -s,@SNIFF_SRC@,$SNIFF_SRC,;t t
  17432. -s,@SNIFF_OBJ@,$SNIFF_OBJ,;t t
  17433. -s,@xmkmfpath@,$xmkmfpath,;t t
  17434. -s,@X_CFLAGS@,$X_CFLAGS,;t t
  17435. -s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
  17436. -s,@X_LIBS@,$X_LIBS,;t t
  17437. -s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
  17438. -s,@X_LIB@,$X_LIB,;t t
  17439. -s,@GTK_CONFIG@,$GTK_CONFIG,;t t
  17440. -s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
  17441. -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
  17442. -s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
  17443. -s,@GTK_LIBS@,$GTK_LIBS,;t t
  17444. -s,@GTK_LIBNAME@,$GTK_LIBNAME,;t t
  17445. -s,@GNOME_LIBS@,$GNOME_LIBS,;t t
  17446. -s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t
  17447. -s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t
  17448. -s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
  17449. -s,@MOTIF_LIBNAME@,$MOTIF_LIBNAME,;t t
  17450. -s,@NARROW_PROTO@,$NARROW_PROTO,;t t
  17451. -s,@GUI_INC_LOC@,$GUI_INC_LOC,;t t
  17452. -s,@GUI_LIB_LOC@,$GUI_LIB_LOC,;t t
  17453. -s,@GUITYPE@,$GUITYPE,;t t
  17454. -s,@GUI_X_LIBS@,$GUI_X_LIBS,;t t
  17455. -s,@HANGULIN_SRC@,$HANGULIN_SRC,;t t
  17456. -s,@HANGULIN_OBJ@,$HANGULIN_OBJ,;t t
  17457. -s,@TAGPRG@,$TAGPRG,;t t
  17458. -s,@INSTALL_LANGS@,$INSTALL_LANGS,;t t
  17459. -s,@INSTALL_TOOL_LANGS@,$INSTALL_TOOL_LANGS,;t t
  17460. -s,@MSGFMT@,$MSGFMT,;t t
  17461. -s,@MAKEMO@,$MAKEMO,;t t
  17462. -s,@DEPEND_CFLAGS_FILTER@,$DEPEND_CFLAGS_FILTER,;t t
  17463. -s,@LIBOBJS@,$LIBOBJS,;t t
  17464. -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  17465. -CEOF
  17466. -
  17467. -_ACEOF
  17468. -
  17469. - cat >>$CONFIG_STATUS <<\_ACEOF
  17470. - # Split the substitutions into bite-sized pieces for seds with
  17471. - # small command number limits, like on Digital OSF/1 and HP-UX.
  17472. - ac_max_sed_lines=48
  17473. - ac_sed_frag=1 # Number of current file.
  17474. - ac_beg=1 # First line for current file.
  17475. - ac_end=$ac_max_sed_lines # Line after last line for current file.
  17476. - ac_more_lines=:
  17477. - ac_sed_cmds=
  17478. - while $ac_more_lines; do
  17479. - if test $ac_beg -gt 1; then
  17480. - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  17481. - else
  17482. - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  17483. - fi
  17484. - if test ! -s $tmp/subs.frag; then
  17485. - ac_more_lines=false
  17486. - else
  17487. - # The purpose of the label and of the branching condition is to
  17488. - # speed up the sed processing (if there are no `@' at all, there
  17489. - # is no need to browse any of the substitutions).
  17490. - # These are the two extra sed commands mentioned above.
  17491. - (echo ':t
  17492. - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  17493. - if test -z "$ac_sed_cmds"; then
  17494. - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  17495. - else
  17496. - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  17497. - fi
  17498. - ac_sed_frag=`expr $ac_sed_frag + 1`
  17499. - ac_beg=$ac_end
  17500. - ac_end=`expr $ac_end + $ac_max_sed_lines`
  17501. - fi
  17502. - done
  17503. - if test -z "$ac_sed_cmds"; then
  17504. - ac_sed_cmds=cat
  17505. +if test -n "$CONFIG_FILES"; then
  17506. +
  17507. +_ACEOF
  17508. +
  17509. +
  17510. +
  17511. +ac_delim='%!_!# '
  17512. +for ac_last_try in false false false false false :; do
  17513. + cat >conf$$subs.sed <<_ACEOF
  17514. +SHELL!$SHELL$ac_delim
  17515. +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  17516. +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  17517. +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  17518. +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  17519. +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  17520. +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  17521. +exec_prefix!$exec_prefix$ac_delim
  17522. +prefix!$prefix$ac_delim
  17523. +program_transform_name!$program_transform_name$ac_delim
  17524. +bindir!$bindir$ac_delim
  17525. +sbindir!$sbindir$ac_delim
  17526. +libexecdir!$libexecdir$ac_delim
  17527. +datarootdir!$datarootdir$ac_delim
  17528. +datadir!$datadir$ac_delim
  17529. +sysconfdir!$sysconfdir$ac_delim
  17530. +sharedstatedir!$sharedstatedir$ac_delim
  17531. +localstatedir!$localstatedir$ac_delim
  17532. +includedir!$includedir$ac_delim
  17533. +oldincludedir!$oldincludedir$ac_delim
  17534. +docdir!$docdir$ac_delim
  17535. +infodir!$infodir$ac_delim
  17536. +htmldir!$htmldir$ac_delim
  17537. +dvidir!$dvidir$ac_delim
  17538. +pdfdir!$pdfdir$ac_delim
  17539. +psdir!$psdir$ac_delim
  17540. +libdir!$libdir$ac_delim
  17541. +localedir!$localedir$ac_delim
  17542. +mandir!$mandir$ac_delim
  17543. +DEFS!$DEFS$ac_delim
  17544. +ECHO_C!$ECHO_C$ac_delim
  17545. +ECHO_N!$ECHO_N$ac_delim
  17546. +ECHO_T!$ECHO_T$ac_delim
  17547. +LIBS!$LIBS$ac_delim
  17548. +build_alias!$build_alias$ac_delim
  17549. +host_alias!$host_alias$ac_delim
  17550. +target_alias!$target_alias$ac_delim
  17551. +SET_MAKE!$SET_MAKE$ac_delim
  17552. +CC!$CC$ac_delim
  17553. +CFLAGS!$CFLAGS$ac_delim
  17554. +LDFLAGS!$LDFLAGS$ac_delim
  17555. +CPPFLAGS!$CPPFLAGS$ac_delim
  17556. +ac_ct_CC!$ac_ct_CC$ac_delim
  17557. +EXEEXT!$EXEEXT$ac_delim
  17558. +OBJEXT!$OBJEXT$ac_delim
  17559. +CPP!$CPP$ac_delim
  17560. +GREP!$GREP$ac_delim
  17561. +EGREP!$EGREP$ac_delim
  17562. +AWK!$AWK$ac_delim
  17563. +STRIP!$STRIP$ac_delim
  17564. +CPP_MM!$CPP_MM$ac_delim
  17565. +OS_EXTRA_SRC!$OS_EXTRA_SRC$ac_delim
  17566. +OS_EXTRA_OBJ!$OS_EXTRA_OBJ$ac_delim
  17567. +VIMNAME!$VIMNAME$ac_delim
  17568. +EXNAME!$EXNAME$ac_delim
  17569. +VIEWNAME!$VIEWNAME$ac_delim
  17570. +line_break!$line_break$ac_delim
  17571. +dovimdiff!$dovimdiff$ac_delim
  17572. +dogvimdiff!$dogvimdiff$ac_delim
  17573. +compiledby!$compiledby$ac_delim
  17574. +vi_cv_path_mzscheme!$vi_cv_path_mzscheme$ac_delim
  17575. +MZSCHEME_SRC!$MZSCHEME_SRC$ac_delim
  17576. +MZSCHEME_OBJ!$MZSCHEME_OBJ$ac_delim
  17577. +MZSCHEME_PRO!$MZSCHEME_PRO$ac_delim
  17578. +MZSCHEME_LIBS!$MZSCHEME_LIBS$ac_delim
  17579. +MZSCHEME_CFLAGS!$MZSCHEME_CFLAGS$ac_delim
  17580. +vi_cv_path_perl!$vi_cv_path_perl$ac_delim
  17581. +vi_cv_perllib!$vi_cv_perllib$ac_delim
  17582. +shrpenv!$shrpenv$ac_delim
  17583. +PERL_SRC!$PERL_SRC$ac_delim
  17584. +PERL_OBJ!$PERL_OBJ$ac_delim
  17585. +PERL_PRO!$PERL_PRO$ac_delim
  17586. +PERL_CFLAGS!$PERL_CFLAGS$ac_delim
  17587. +PERL_LIBS!$PERL_LIBS$ac_delim
  17588. +vi_cv_path_python!$vi_cv_path_python$ac_delim
  17589. +PYTHON_CONFDIR!$PYTHON_CONFDIR$ac_delim
  17590. +PYTHON_LIBS!$PYTHON_LIBS$ac_delim
  17591. +PYTHON_GETPATH_CFLAGS!$PYTHON_GETPATH_CFLAGS$ac_delim
  17592. +PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
  17593. +PYTHON_SRC!$PYTHON_SRC$ac_delim
  17594. +PYTHON_OBJ!$PYTHON_OBJ$ac_delim
  17595. +vi_cv_path_tcl!$vi_cv_path_tcl$ac_delim
  17596. +TCL_SRC!$TCL_SRC$ac_delim
  17597. +TCL_OBJ!$TCL_OBJ$ac_delim
  17598. +TCL_PRO!$TCL_PRO$ac_delim
  17599. +TCL_CFLAGS!$TCL_CFLAGS$ac_delim
  17600. +TCL_LIBS!$TCL_LIBS$ac_delim
  17601. +vi_cv_path_ruby!$vi_cv_path_ruby$ac_delim
  17602. +RUBY_SRC!$RUBY_SRC$ac_delim
  17603. +RUBY_OBJ!$RUBY_OBJ$ac_delim
  17604. +RUBY_PRO!$RUBY_PRO$ac_delim
  17605. +RUBY_CFLAGS!$RUBY_CFLAGS$ac_delim
  17606. +RUBY_LIBS!$RUBY_LIBS$ac_delim
  17607. +WORKSHOP_SRC!$WORKSHOP_SRC$ac_delim
  17608. +WORKSHOP_OBJ!$WORKSHOP_OBJ$ac_delim
  17609. +NETBEANS_SRC!$NETBEANS_SRC$ac_delim
  17610. +NETBEANS_OBJ!$NETBEANS_OBJ$ac_delim
  17611. +_ACEOF
  17612. +
  17613. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  17614. + break
  17615. + elif $ac_last_try; then
  17616. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  17617. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  17618. + { (exit 1); exit 1; }; }
  17619. + else
  17620. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  17621. fi
  17622. -fi # test -n "$CONFIG_FILES"
  17623. +done
  17624. +
  17625. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  17626. +if test -n "$ac_eof"; then
  17627. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  17628. + ac_eof=`expr $ac_eof + 1`
  17629. +fi
  17630. +
  17631. +cat >>$CONFIG_STATUS <<_ACEOF
  17632. +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  17633. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  17634. +_ACEOF
  17635. +sed '
  17636. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  17637. +s/^/s,@/; s/!/@,|#_!!_#|/
  17638. +:n
  17639. +t n
  17640. +s/'"$ac_delim"'$/,g/; t
  17641. +s/$/\\/; p
  17642. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  17643. +' >>$CONFIG_STATUS <conf$$subs.sed
  17644. +rm -f conf$$subs.sed
  17645. +cat >>$CONFIG_STATUS <<_ACEOF
  17646. +CEOF$ac_eof
  17647. +_ACEOF
  17648. +
  17649. +
  17650. +ac_delim='%!_!# '
  17651. +for ac_last_try in false false false false false :; do
  17652. + cat >conf$$subs.sed <<_ACEOF
  17653. +SNIFF_SRC!$SNIFF_SRC$ac_delim
  17654. +SNIFF_OBJ!$SNIFF_OBJ$ac_delim
  17655. +xmkmfpath!$xmkmfpath$ac_delim
  17656. +XMKMF!$XMKMF$ac_delim
  17657. +X_CFLAGS!$X_CFLAGS$ac_delim
  17658. +X_PRE_LIBS!$X_PRE_LIBS$ac_delim
  17659. +X_LIBS!$X_LIBS$ac_delim
  17660. +X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
  17661. +X_LIB!$X_LIB$ac_delim
  17662. +GTK_CONFIG!$GTK_CONFIG$ac_delim
  17663. +GTK12_CONFIG!$GTK12_CONFIG$ac_delim
  17664. +PKG_CONFIG!$PKG_CONFIG$ac_delim
  17665. +GTK_CFLAGS!$GTK_CFLAGS$ac_delim
  17666. +GTK_LIBS!$GTK_LIBS$ac_delim
  17667. +GTK_LIBNAME!$GTK_LIBNAME$ac_delim
  17668. +GNOME_LIBS!$GNOME_LIBS$ac_delim
  17669. +GNOME_LIBDIR!$GNOME_LIBDIR$ac_delim
  17670. +GNOME_INCLUDEDIR!$GNOME_INCLUDEDIR$ac_delim
  17671. +GNOME_CONFIG!$GNOME_CONFIG$ac_delim
  17672. +MOTIF_LIBNAME!$MOTIF_LIBNAME$ac_delim
  17673. +NARROW_PROTO!$NARROW_PROTO$ac_delim
  17674. +GUI_INC_LOC!$GUI_INC_LOC$ac_delim
  17675. +GUI_LIB_LOC!$GUI_LIB_LOC$ac_delim
  17676. +GUITYPE!$GUITYPE$ac_delim
  17677. +GUI_X_LIBS!$GUI_X_LIBS$ac_delim
  17678. +HANGULIN_SRC!$HANGULIN_SRC$ac_delim
  17679. +HANGULIN_OBJ!$HANGULIN_OBJ$ac_delim
  17680. +TAGPRG!$TAGPRG$ac_delim
  17681. +INSTALL_LANGS!$INSTALL_LANGS$ac_delim
  17682. +INSTALL_TOOL_LANGS!$INSTALL_TOOL_LANGS$ac_delim
  17683. +MSGFMT!$MSGFMT$ac_delim
  17684. +MAKEMO!$MAKEMO$ac_delim
  17685. +DEPEND_CFLAGS_FILTER!$DEPEND_CFLAGS_FILTER$ac_delim
  17686. +LIBOBJS!$LIBOBJS$ac_delim
  17687. +LTLIBOBJS!$LTLIBOBJS$ac_delim
  17688. +_ACEOF
  17689. +
  17690. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
  17691. + break
  17692. + elif $ac_last_try; then
  17693. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  17694. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  17695. + { (exit 1); exit 1; }; }
  17696. + else
  17697. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  17698. + fi
  17699. +done
  17700. +
  17701. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  17702. +if test -n "$ac_eof"; then
  17703. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  17704. + ac_eof=`expr $ac_eof + 1`
  17705. +fi
  17706. +cat >>$CONFIG_STATUS <<_ACEOF
  17707. +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  17708. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  17709. _ACEOF
  17710. +sed '
  17711. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  17712. +s/^/s,@/; s/!/@,|#_!!_#|/
  17713. +:n
  17714. +t n
  17715. +s/'"$ac_delim"'$/,g/; t
  17716. +s/$/\\/; p
  17717. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  17718. +' >>$CONFIG_STATUS <conf$$subs.sed
  17719. +rm -f conf$$subs.sed
  17720. +cat >>$CONFIG_STATUS <<_ACEOF
  17721. +:end
  17722. +s/|#_!!_#|//g
  17723. +CEOF$ac_eof
  17724. +_ACEOF
  17725. +
  17726. +
  17727. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  17728. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  17729. +# trailing colons and then remove the whole line if VPATH becomes empty
  17730. +# (actually we leave an empty line to preserve line numbers).
  17731. +if test "x$srcdir" = x.; then
  17732. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  17733. +s/:*\$(srcdir):*/:/
  17734. +s/:*\${srcdir}:*/:/
  17735. +s/:*@srcdir@:*/:/
  17736. +s/^\([^=]*=[ ]*\):*/\1/
  17737. +s/:*$//
  17738. +s/^[^=]*=[ ]*$//
  17739. +}'
  17740. +fi
  17741. +
  17742. cat >>$CONFIG_STATUS <<\_ACEOF
  17743. -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  17744. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  17745. - case $ac_file in
  17746. - - | *:- | *:-:* ) # input from stdin
  17747. - cat >$tmp/stdin
  17748. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  17749. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  17750. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  17751. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  17752. - * ) ac_file_in=$ac_file.in ;;
  17753. +fi # test -n "$CONFIG_FILES"
  17754. +
  17755. +
  17756. +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
  17757. +do
  17758. + case $ac_tag in
  17759. + :[FHLC]) ac_mode=$ac_tag; continue;;
  17760. + esac
  17761. + case $ac_mode$ac_tag in
  17762. + :[FHL]*:*);;
  17763. + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  17764. +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  17765. + { (exit 1); exit 1; }; };;
  17766. + :[FH]-) ac_tag=-:-;;
  17767. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  17768. + esac
  17769. + ac_save_IFS=$IFS
  17770. + IFS=:
  17771. + set x $ac_tag
  17772. + IFS=$ac_save_IFS
  17773. + shift
  17774. + ac_file=$1
  17775. + shift
  17776. +
  17777. + case $ac_mode in
  17778. + :L) ac_source=$1;;
  17779. + :[FH])
  17780. + ac_file_inputs=
  17781. + for ac_f
  17782. + do
  17783. + case $ac_f in
  17784. + -) ac_f="$tmp/stdin";;
  17785. + *) # Look for the file first in the build tree, then in the source tree
  17786. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  17787. + # because $ac_f cannot contain `:'.
  17788. + test -f "$ac_f" ||
  17789. + case $ac_f in
  17790. + [\\/$]*) false;;
  17791. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  17792. + esac ||
  17793. + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  17794. +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  17795. + { (exit 1); exit 1; }; };;
  17796. + esac
  17797. + ac_file_inputs="$ac_file_inputs $ac_f"
  17798. + done
  17799. +
  17800. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  17801. + # use $as_me), people would be surprised to read:
  17802. + # /* config.h. Generated by config.status. */
  17803. + configure_input="Generated from "`IFS=:
  17804. + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  17805. + if test x"$ac_file" != x-; then
  17806. + configure_input="$ac_file. $configure_input"
  17807. + { echo "$as_me:$LINENO: creating $ac_file" >&5
  17808. +echo "$as_me: creating $ac_file" >&6;}
  17809. + fi
  17810. +
  17811. + case $ac_tag in
  17812. + *:-:* | *:-) cat >"$tmp/stdin";;
  17813. + esac
  17814. + ;;
  17815. esac
  17816. - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  17817. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  17818. + ac_dir=`$as_dirname -- "$ac_file" ||
  17819. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17820. X"$ac_file" : 'X\(//\)[^/]' \| \
  17821. X"$ac_file" : 'X\(//\)$' \| \
  17822. - X"$ac_file" : 'X\(/\)' \| \
  17823. - . : '\(.\)' 2>/dev/null ||
  17824. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  17825. echo X"$ac_file" |
  17826. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  17827. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  17828. - /^X\(\/\/\)$/{ s//\1/; q; }
  17829. - /^X\(\/\).*/{ s//\1/; q; }
  17830. - s/.*/./; q'`
  17831. - { if $as_mkdir_p; then
  17832. - mkdir -p "$ac_dir"
  17833. - else
  17834. - as_dir="$ac_dir"
  17835. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17836. + s//\1/
  17837. + q
  17838. + }
  17839. + /^X\(\/\/\)[^/].*/{
  17840. + s//\1/
  17841. + q
  17842. + }
  17843. + /^X\(\/\/\)$/{
  17844. + s//\1/
  17845. + q
  17846. + }
  17847. + /^X\(\/\).*/{
  17848. + s//\1/
  17849. + q
  17850. + }
  17851. + s/.*/./; q'`
  17852. + { as_dir="$ac_dir"
  17853. + case $as_dir in #(
  17854. + -*) as_dir=./$as_dir;;
  17855. + esac
  17856. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  17857. as_dirs=
  17858. - while test ! -d "$as_dir"; do
  17859. - as_dirs="$as_dir $as_dirs"
  17860. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  17861. + while :; do
  17862. + case $as_dir in #(
  17863. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  17864. + *) as_qdir=$as_dir;;
  17865. + esac
  17866. + as_dirs="'$as_qdir' $as_dirs"
  17867. + as_dir=`$as_dirname -- "$as_dir" ||
  17868. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17869. X"$as_dir" : 'X\(//\)[^/]' \| \
  17870. X"$as_dir" : 'X\(//\)$' \| \
  17871. - X"$as_dir" : 'X\(/\)' \| \
  17872. - . : '\(.\)' 2>/dev/null ||
  17873. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  17874. echo X"$as_dir" |
  17875. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  17876. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  17877. - /^X\(\/\/\)$/{ s//\1/; q; }
  17878. - /^X\(\/\).*/{ s//\1/; q; }
  17879. - s/.*/./; q'`
  17880. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17881. + s//\1/
  17882. + q
  17883. + }
  17884. + /^X\(\/\/\)[^/].*/{
  17885. + s//\1/
  17886. + q
  17887. + }
  17888. + /^X\(\/\/\)$/{
  17889. + s//\1/
  17890. + q
  17891. + }
  17892. + /^X\(\/\).*/{
  17893. + s//\1/
  17894. + q
  17895. + }
  17896. + s/.*/./; q'`
  17897. + test -d "$as_dir" && break
  17898. done
  17899. - test ! -n "$as_dirs" || mkdir $as_dirs
  17900. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  17901. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  17902. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  17903. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  17904. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  17905. { (exit 1); exit 1; }; }; }
  17906. -
  17907. ac_builddir=.
  17908. -if test "$ac_dir" != .; then
  17909. +case "$ac_dir" in
  17910. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  17911. +*)
  17912. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  17913. - # A "../" for each directory in $ac_dir_suffix.
  17914. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  17915. -else
  17916. - ac_dir_suffix= ac_top_builddir=
  17917. -fi
  17918. + # A ".." for each directory in $ac_dir_suffix.
  17919. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  17920. + case $ac_top_builddir_sub in
  17921. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  17922. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  17923. + esac ;;
  17924. +esac
  17925. +ac_abs_top_builddir=$ac_pwd
  17926. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  17927. +# for backward compatibility:
  17928. +ac_top_builddir=$ac_top_build_prefix
  17929. case $srcdir in
  17930. - .) # No --srcdir option. We are building in place.
  17931. + .) # We are building in place.
  17932. ac_srcdir=.
  17933. - if test -z "$ac_top_builddir"; then
  17934. - ac_top_srcdir=.
  17935. - else
  17936. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  17937. - fi ;;
  17938. - [\\/]* | ?:[\\/]* ) # Absolute path.
  17939. + ac_top_srcdir=$ac_top_builddir_sub
  17940. + ac_abs_top_srcdir=$ac_pwd ;;
  17941. + [\\/]* | ?:[\\/]* ) # Absolute name.
  17942. ac_srcdir=$srcdir$ac_dir_suffix;
  17943. - ac_top_srcdir=$srcdir ;;
  17944. - *) # Relative path.
  17945. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  17946. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  17947. -esac
  17948. -
  17949. -# Do not use `cd foo && pwd` to compute absolute paths, because
  17950. -# the directories may not exist.
  17951. -case `pwd` in
  17952. -.) ac_abs_builddir="$ac_dir";;
  17953. -*)
  17954. - case "$ac_dir" in
  17955. - .) ac_abs_builddir=`pwd`;;
  17956. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  17957. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  17958. - esac;;
  17959. -esac
  17960. -case $ac_abs_builddir in
  17961. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  17962. -*)
  17963. - case ${ac_top_builddir}. in
  17964. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  17965. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  17966. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  17967. - esac;;
  17968. -esac
  17969. -case $ac_abs_builddir in
  17970. -.) ac_abs_srcdir=$ac_srcdir;;
  17971. -*)
  17972. - case $ac_srcdir in
  17973. - .) ac_abs_srcdir=$ac_abs_builddir;;
  17974. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  17975. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  17976. - esac;;
  17977. -esac
  17978. -case $ac_abs_builddir in
  17979. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  17980. -*)
  17981. - case $ac_top_srcdir in
  17982. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  17983. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  17984. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  17985. - esac;;
  17986. + ac_top_srcdir=$srcdir
  17987. + ac_abs_top_srcdir=$srcdir ;;
  17988. + *) # Relative name.
  17989. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  17990. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  17991. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  17992. esac
  17993. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  17994. + case $ac_mode in
  17995. + :F)
  17996. + #
  17997. + # CONFIG_FILE
  17998. + #
  17999. - if test x"$ac_file" != x-; then
  18000. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  18001. -echo "$as_me: creating $ac_file" >&6;}
  18002. - rm -f "$ac_file"
  18003. - fi
  18004. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  18005. - # use $as_me), people would be surprised to read:
  18006. - # /* config.h. Generated by config.status. */
  18007. - if test x"$ac_file" = x-; then
  18008. - configure_input=
  18009. - else
  18010. - configure_input="$ac_file. "
  18011. - fi
  18012. - configure_input=$configure_input"Generated from `echo $ac_file_in |
  18013. - sed 's,.*/,,'` by configure."
  18014. +_ACEOF
  18015. - # First look for the input files in the build tree, otherwise in the
  18016. - # src tree.
  18017. - ac_file_inputs=`IFS=:
  18018. - for f in $ac_file_in; do
  18019. - case $f in
  18020. - -) echo $tmp/stdin ;;
  18021. - [\\/$]*)
  18022. - # Absolute (can't be DOS-style, as IFS=:)
  18023. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  18024. -echo "$as_me: error: cannot find input file: $f" >&2;}
  18025. - { (exit 1); exit 1; }; }
  18026. - echo "$f";;
  18027. - *) # Relative
  18028. - if test -f "$f"; then
  18029. - # Build tree
  18030. - echo "$f"
  18031. - elif test -f "$srcdir/$f"; then
  18032. - # Source tree
  18033. - echo "$srcdir/$f"
  18034. - else
  18035. - # /dev/null tree
  18036. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  18037. -echo "$as_me: error: cannot find input file: $f" >&2;}
  18038. - { (exit 1); exit 1; }; }
  18039. - fi;;
  18040. - esac
  18041. - done` || { (exit 1); exit 1; }
  18042. +cat >>$CONFIG_STATUS <<\_ACEOF
  18043. +# If the template does not know about datarootdir, expand it.
  18044. +# FIXME: This hack should be removed a few years after 2.60.
  18045. +ac_datarootdir_hack=; ac_datarootdir_seen=
  18046. +
  18047. +case `sed -n '/datarootdir/ {
  18048. + p
  18049. + q
  18050. +}
  18051. +/@datadir@/p
  18052. +/@docdir@/p
  18053. +/@infodir@/p
  18054. +/@localedir@/p
  18055. +/@mandir@/p
  18056. +' $ac_file_inputs` in
  18057. +*datarootdir*) ac_datarootdir_seen=yes;;
  18058. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  18059. + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  18060. +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  18061. +_ACEOF
  18062. +cat >>$CONFIG_STATUS <<_ACEOF
  18063. + ac_datarootdir_hack='
  18064. + s&@datadir@&$datadir&g
  18065. + s&@docdir@&$docdir&g
  18066. + s&@infodir@&$infodir&g
  18067. + s&@localedir@&$localedir&g
  18068. + s&@mandir@&$mandir&g
  18069. + s&\\\${datarootdir}&$datarootdir&g' ;;
  18070. +esac
  18071. _ACEOF
  18072. +
  18073. +# Neutralize VPATH when `$srcdir' = `.'.
  18074. +# Shell code in configure.ac might set extrasub.
  18075. +# FIXME: do we really want to maintain this feature?
  18076. cat >>$CONFIG_STATUS <<_ACEOF
  18077. sed "$ac_vpsub
  18078. $extrasub
  18079. @@ -16458,251 +16286,136 @@
  18080. cat >>$CONFIG_STATUS <<\_ACEOF
  18081. :t
  18082. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  18083. -s,@configure_input@,$configure_input,;t t
  18084. -s,@srcdir@,$ac_srcdir,;t t
  18085. -s,@abs_srcdir@,$ac_abs_srcdir,;t t
  18086. -s,@top_srcdir@,$ac_top_srcdir,;t t
  18087. -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  18088. -s,@builddir@,$ac_builddir,;t t
  18089. -s,@abs_builddir@,$ac_abs_builddir,;t t
  18090. -s,@top_builddir@,$ac_top_builddir,;t t
  18091. -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  18092. -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  18093. - rm -f $tmp/stdin
  18094. - if test x"$ac_file" != x-; then
  18095. - mv $tmp/out $ac_file
  18096. - else
  18097. - cat $tmp/out
  18098. - rm -f $tmp/out
  18099. - fi
  18100. -
  18101. -done
  18102. -_ACEOF
  18103. -cat >>$CONFIG_STATUS <<\_ACEOF
  18104. -
  18105. -#
  18106. -# CONFIG_HEADER section.
  18107. -#
  18108. -
  18109. -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  18110. -# NAME is the cpp macro being defined and VALUE is the value it is being given.
  18111. -#
  18112. -# ac_d sets the value in "#define NAME VALUE" lines.
  18113. -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  18114. -ac_dB='[ ].*$,\1#\2'
  18115. -ac_dC=' '
  18116. -ac_dD=',;t'
  18117. -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  18118. -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  18119. -ac_uB='$,\1#\2define\3'
  18120. -ac_uC=' '
  18121. -ac_uD=',;t'
  18122. +s&@configure_input@&$configure_input&;t t
  18123. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  18124. +s&@srcdir@&$ac_srcdir&;t t
  18125. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  18126. +s&@top_srcdir@&$ac_top_srcdir&;t t
  18127. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  18128. +s&@builddir@&$ac_builddir&;t t
  18129. +s&@abs_builddir@&$ac_abs_builddir&;t t
  18130. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  18131. +$ac_datarootdir_hack
  18132. +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  18133. +
  18134. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  18135. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  18136. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  18137. + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  18138. +which seems to be undefined. Please make sure it is defined." >&5
  18139. +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  18140. +which seems to be undefined. Please make sure it is defined." >&2;}
  18141. -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  18142. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  18143. + rm -f "$tmp/stdin"
  18144. case $ac_file in
  18145. - - | *:- | *:-:* ) # input from stdin
  18146. - cat >$tmp/stdin
  18147. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  18148. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  18149. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  18150. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  18151. - * ) ac_file_in=$ac_file.in ;;
  18152. + -) cat "$tmp/out"; rm -f "$tmp/out";;
  18153. + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  18154. esac
  18155. + ;;
  18156. + :H)
  18157. + #
  18158. + # CONFIG_HEADER
  18159. + #
  18160. +_ACEOF
  18161. +
  18162. +# Transform confdefs.h into a sed script `conftest.defines', that
  18163. +# substitutes the proper values into config.h.in to produce config.h.
  18164. +rm -f conftest.defines conftest.tail
  18165. +# First, append a space to every undef/define line, to ease matching.
  18166. +echo 's/$/ /' >conftest.defines
  18167. +# Then, protect against being on the right side of a sed subst, or in
  18168. +# an unquoted here document, in config.status. If some macros were
  18169. +# called several times there might be several #defines for the same
  18170. +# symbol, which is useless. But do not sort them, since the last
  18171. +# AC_DEFINE must be honored.
  18172. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  18173. +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  18174. +# NAME is the cpp macro being defined, VALUE is the value it is being given.
  18175. +# PARAMS is the parameter list in the macro definition--in most cases, it's
  18176. +# just an empty string.
  18177. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  18178. +ac_dB='\\)[ (].*,\\1define\\2'
  18179. +ac_dC=' '
  18180. +ac_dD=' ,'
  18181. - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  18182. -echo "$as_me: creating $ac_file" >&6;}
  18183. -
  18184. - # First look for the input files in the build tree, otherwise in the
  18185. - # src tree.
  18186. - ac_file_inputs=`IFS=:
  18187. - for f in $ac_file_in; do
  18188. - case $f in
  18189. - -) echo $tmp/stdin ;;
  18190. - [\\/$]*)
  18191. - # Absolute (can't be DOS-style, as IFS=:)
  18192. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  18193. -echo "$as_me: error: cannot find input file: $f" >&2;}
  18194. - { (exit 1); exit 1; }; }
  18195. - # Do quote $f, to prevent DOS paths from being IFS'd.
  18196. - echo "$f";;
  18197. - *) # Relative
  18198. - if test -f "$f"; then
  18199. - # Build tree
  18200. - echo "$f"
  18201. - elif test -f "$srcdir/$f"; then
  18202. - # Source tree
  18203. - echo "$srcdir/$f"
  18204. - else
  18205. - # /dev/null tree
  18206. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  18207. -echo "$as_me: error: cannot find input file: $f" >&2;}
  18208. - { (exit 1); exit 1; }; }
  18209. - fi;;
  18210. - esac
  18211. - done` || { (exit 1); exit 1; }
  18212. - # Remove the trailing spaces.
  18213. - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  18214. -
  18215. -_ACEOF
  18216. -
  18217. -# Transform confdefs.h into two sed scripts, `conftest.defines' and
  18218. -# `conftest.undefs', that substitutes the proper values into
  18219. -# config.h.in to produce config.h. The first handles `#define'
  18220. -# templates, and the second `#undef' templates.
  18221. -# And first: Protect against being on the right side of a sed subst in
  18222. -# config.status. Protect against being in an unquoted here document
  18223. -# in config.status.
  18224. -rm -f conftest.defines conftest.undefs
  18225. -# Using a here document instead of a string reduces the quoting nightmare.
  18226. -# Putting comments in sed scripts is not portable.
  18227. -#
  18228. -# `end' is used to avoid that the second main sed command (meant for
  18229. -# 0-ary CPP macros) applies to n-ary macro definitions.
  18230. -# See the Autoconf documentation for `clear'.
  18231. -cat >confdef2sed.sed <<\_ACEOF
  18232. -s/[\\&,]/\\&/g
  18233. -s,[\\$`],\\&,g
  18234. -t clear
  18235. -: clear
  18236. -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  18237. -t end
  18238. -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  18239. -: end
  18240. -_ACEOF
  18241. -# If some macros were called several times there might be several times
  18242. -# the same #defines, which is useless. Nevertheless, we may not want to
  18243. -# sort them, since we want the *last* AC-DEFINE to be honored.
  18244. -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  18245. -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  18246. -rm -f confdef2sed.sed
  18247. +uniq confdefs.h |
  18248. + sed -n '
  18249. + t rset
  18250. + :rset
  18251. + s/^[ ]*#[ ]*define[ ][ ]*//
  18252. + t ok
  18253. + d
  18254. + :ok
  18255. + s/[\\&,]/\\&/g
  18256. + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  18257. + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  18258. + ' >>conftest.defines
  18259. -# This sed command replaces #undef with comments. This is necessary, for
  18260. +# Remove the space that was appended to ease matching.
  18261. +# Then replace #undef with comments. This is necessary, for
  18262. # example, in the case of _POSIX_SOURCE, which is predefined and required
  18263. # on some systems where configure will not decide to define it.
  18264. -cat >>conftest.undefs <<\_ACEOF
  18265. -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  18266. -_ACEOF
  18267. +# (The regexp can be short, since the line contains either #define or #undef.)
  18268. +echo 's/ $//
  18269. +s,^[ #]*u.*,/* & */,' >>conftest.defines
  18270. +
  18271. +# Break up conftest.defines:
  18272. +ac_max_sed_lines=50
  18273. +
  18274. +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  18275. +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  18276. +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  18277. +# et cetera.
  18278. +ac_in='$ac_file_inputs'
  18279. +ac_out='"$tmp/out1"'
  18280. +ac_nxt='"$tmp/out2"'
  18281. -# Break up conftest.defines because some shells have a limit on the size
  18282. -# of here documents, and old seds have small limits too (100 cmds).
  18283. -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  18284. -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  18285. -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  18286. -echo ' :' >>$CONFIG_STATUS
  18287. -rm -f conftest.tail
  18288. -while grep . conftest.defines >/dev/null
  18289. +while :
  18290. do
  18291. - # Write a limited-size here document to $tmp/defines.sed.
  18292. - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  18293. - # Speed up: don't consider the non `#define' lines.
  18294. - echo '/^[ ]*#[ ]*define/!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.defines >>$CONFIG_STATUS
  18299. + # Write a here document:
  18300. + cat >>$CONFIG_STATUS <<_ACEOF
  18301. + # First, check the format of the line:
  18302. + cat >"\$tmp/defines.sed" <<\\CEOF
  18303. +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  18304. +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  18305. +b
  18306. +:def
  18307. +_ACEOF
  18308. + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  18309. echo 'CEOF
  18310. - sed -f $tmp/defines.sed $tmp/in >$tmp/out
  18311. - rm -f $tmp/in
  18312. - mv $tmp/out $tmp/in
  18313. -' >>$CONFIG_STATUS
  18314. - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  18315. + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  18316. + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  18317. + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  18318. + grep . conftest.tail >/dev/null || break
  18319. rm -f conftest.defines
  18320. mv conftest.tail conftest.defines
  18321. done
  18322. -rm -f conftest.defines
  18323. -echo ' fi # grep' >>$CONFIG_STATUS
  18324. -echo >>$CONFIG_STATUS
  18325. -
  18326. -# Break up conftest.undefs because some shells have a limit on the size
  18327. -# of here documents, and old seds have small limits too (100 cmds).
  18328. -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  18329. -rm -f conftest.tail
  18330. -while grep . conftest.undefs >/dev/null
  18331. -do
  18332. - # Write a limited-size here document to $tmp/undefs.sed.
  18333. - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  18334. - # Speed up: don't consider the non `#undef'
  18335. - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  18336. - # Work around the forget-to-reset-the-flag bug.
  18337. - echo 't clr' >>$CONFIG_STATUS
  18338. - echo ': clr' >>$CONFIG_STATUS
  18339. - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  18340. - echo 'CEOF
  18341. - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  18342. - rm -f $tmp/in
  18343. - mv $tmp/out $tmp/in
  18344. -' >>$CONFIG_STATUS
  18345. - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  18346. - rm -f conftest.undefs
  18347. - mv conftest.tail conftest.undefs
  18348. -done
  18349. -rm -f conftest.undefs
  18350. +rm -f conftest.defines conftest.tail
  18351. +echo "ac_result=$ac_in" >>$CONFIG_STATUS
  18352. cat >>$CONFIG_STATUS <<\_ACEOF
  18353. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  18354. - # use $as_me), people would be surprised to read:
  18355. - # /* config.h. Generated by config.status. */
  18356. - if test x"$ac_file" = x-; then
  18357. - echo "/* Generated by configure. */" >$tmp/config.h
  18358. - else
  18359. - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  18360. - fi
  18361. - cat $tmp/in >>$tmp/config.h
  18362. - rm -f $tmp/in
  18363. if test x"$ac_file" != x-; then
  18364. - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  18365. + echo "/* $configure_input */" >"$tmp/config.h"
  18366. + cat "$ac_result" >>"$tmp/config.h"
  18367. + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  18368. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  18369. echo "$as_me: $ac_file is unchanged" >&6;}
  18370. else
  18371. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  18372. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  18373. - X"$ac_file" : 'X\(//\)[^/]' \| \
  18374. - X"$ac_file" : 'X\(//\)$' \| \
  18375. - X"$ac_file" : 'X\(/\)' \| \
  18376. - . : '\(.\)' 2>/dev/null ||
  18377. -echo X"$ac_file" |
  18378. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  18379. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  18380. - /^X\(\/\/\)$/{ s//\1/; q; }
  18381. - /^X\(\/\).*/{ s//\1/; q; }
  18382. - s/.*/./; q'`
  18383. - { if $as_mkdir_p; then
  18384. - mkdir -p "$ac_dir"
  18385. - else
  18386. - as_dir="$ac_dir"
  18387. - as_dirs=
  18388. - while test ! -d "$as_dir"; do
  18389. - as_dirs="$as_dir $as_dirs"
  18390. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  18391. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  18392. - X"$as_dir" : 'X\(//\)[^/]' \| \
  18393. - X"$as_dir" : 'X\(//\)$' \| \
  18394. - X"$as_dir" : 'X\(/\)' \| \
  18395. - . : '\(.\)' 2>/dev/null ||
  18396. -echo X"$as_dir" |
  18397. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  18398. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  18399. - /^X\(\/\/\)$/{ s//\1/; q; }
  18400. - /^X\(\/\).*/{ s//\1/; q; }
  18401. - s/.*/./; q'`
  18402. - done
  18403. - test ! -n "$as_dirs" || mkdir $as_dirs
  18404. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  18405. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  18406. - { (exit 1); exit 1; }; }; }
  18407. -
  18408. rm -f $ac_file
  18409. - mv $tmp/config.h $ac_file
  18410. + mv "$tmp/config.h" $ac_file
  18411. fi
  18412. else
  18413. - cat $tmp/config.h
  18414. - rm -f $tmp/config.h
  18415. + echo "/* $configure_input */"
  18416. + cat "$ac_result"
  18417. fi
  18418. -done
  18419. -_ACEOF
  18420. + rm -f "$tmp/out12"
  18421. + ;;
  18422. +
  18423. +
  18424. + esac
  18425. +
  18426. +done # for ac_tag
  18427. -cat >>$CONFIG_STATUS <<\_ACEOF
  18428. { (exit 0); exit 0; }
  18429. _ACEOF
  18430. @@ -16725,7 +16438,7 @@
  18431. ac_config_status_args="$ac_config_status_args --quiet"
  18432. exec 5>/dev/null
  18433. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  18434. - exec 5>>auto/config.log
  18435. + exec 5>>config.log
  18436. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  18437. # would make configure fail if this is the last instruction.
  18438. $ac_cs_success || { (exit 1); exit 1; }