configure 184 KB

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