configure 193 KB

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