Code afférent au projet Kouglof 2 de l'E2L
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

configure 194 KiB

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