configure 227 KB

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