configure 263 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.71 for fulci 0.9.4.
  4. #
  5. # Report bugs to <https://notabug.org/cage/fulci/>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
  9. # Inc.
  10. #
  11. #
  12. # This configure script is free software; the Free Software Foundation
  13. # gives unlimited permission to copy, distribute and modify it.
  14. ## -------------------- ##
  15. ## M4sh Initialization. ##
  16. ## -------------------- ##
  17. # Be more Bourne compatible
  18. DUALCASE=1; export DUALCASE # for MKS sh
  19. as_nop=:
  20. if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  21. then :
  22. emulate sh
  23. NULLCMD=:
  24. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  25. # is contrary to our usage. Disable this feature.
  26. alias -g '${1+"$@"}'='"$@"'
  27. setopt NO_GLOB_SUBST
  28. else $as_nop
  29. case `(set -o) 2>/dev/null` in #(
  30. *posix*) :
  31. set -o posix ;; #(
  32. *) :
  33. ;;
  34. esac
  35. fi
  36. # Reset variables that may have inherited troublesome values from
  37. # the environment.
  38. # IFS needs to be set, to space, tab, and newline, in precisely that order.
  39. # (If _AS_PATH_WALK were called with IFS unset, it would have the
  40. # side effect of setting IFS to empty, thus disabling word splitting.)
  41. # Quoting is to prevent editors from complaining about space-tab.
  42. as_nl='
  43. '
  44. export as_nl
  45. IFS=" "" $as_nl"
  46. PS1='$ '
  47. PS2='> '
  48. PS4='+ '
  49. # Ensure predictable behavior from utilities with locale-dependent output.
  50. LC_ALL=C
  51. export LC_ALL
  52. LANGUAGE=C
  53. export LANGUAGE
  54. # We cannot yet rely on "unset" to work, but we need these variables
  55. # to be unset--not just set to an empty or harmless value--now, to
  56. # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
  57. # also avoids known problems related to "unset" and subshell syntax
  58. # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  59. for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  60. do eval test \${$as_var+y} \
  61. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  62. done
  63. # Ensure that fds 0, 1, and 2 are open.
  64. if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  65. if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  66. if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
  67. # The user is always right.
  68. if ${PATH_SEPARATOR+false} :; then
  69. PATH_SEPARATOR=:
  70. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  71. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  72. PATH_SEPARATOR=';'
  73. }
  74. fi
  75. # Find who we are. Look in the path if we contain no directory separator.
  76. as_myself=
  77. case $0 in #((
  78. *[\\/]* ) as_myself=$0 ;;
  79. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  80. for as_dir in $PATH
  81. do
  82. IFS=$as_save_IFS
  83. case $as_dir in #(((
  84. '') as_dir=./ ;;
  85. */) ;;
  86. *) as_dir=$as_dir/ ;;
  87. esac
  88. test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  89. done
  90. IFS=$as_save_IFS
  91. ;;
  92. esac
  93. # We did not find ourselves, most probably we were run as `sh COMMAND'
  94. # in which case we are not to be found in the path.
  95. if test "x$as_myself" = x; then
  96. as_myself=$0
  97. fi
  98. if test ! -f "$as_myself"; then
  99. printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  100. exit 1
  101. fi
  102. # Use a proper internal environment variable to ensure we don't fall
  103. # into an infinite loop, continuously re-executing ourselves.
  104. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  105. _as_can_reexec=no; export _as_can_reexec;
  106. # We cannot yet assume a decent shell, so we have to provide a
  107. # neutralization value for shells without unset; and this also
  108. # works around shells that cannot unset nonexistent variables.
  109. # Preserve -v and -x to the replacement shell.
  110. BASH_ENV=/dev/null
  111. ENV=/dev/null
  112. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  113. case $- in # ((((
  114. *v*x* | *x*v* ) as_opts=-vx ;;
  115. *v* ) as_opts=-v ;;
  116. *x* ) as_opts=-x ;;
  117. * ) as_opts= ;;
  118. esac
  119. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  120. # Admittedly, this is quite paranoid, since all the known shells bail
  121. # out after a failed `exec'.
  122. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
  123. exit 255
  124. fi
  125. # We don't want this to propagate to other subprocesses.
  126. { _as_can_reexec=; unset _as_can_reexec;}
  127. if test "x$CONFIG_SHELL" = x; then
  128. as_bourne_compatible="as_nop=:
  129. if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  130. then :
  131. emulate sh
  132. NULLCMD=:
  133. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  134. # is contrary to our usage. Disable this feature.
  135. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  136. setopt NO_GLOB_SUBST
  137. else \$as_nop
  138. case \`(set -o) 2>/dev/null\` in #(
  139. *posix*) :
  140. set -o posix ;; #(
  141. *) :
  142. ;;
  143. esac
  144. fi
  145. "
  146. as_required="as_fn_return () { (exit \$1); }
  147. as_fn_success () { as_fn_return 0; }
  148. as_fn_failure () { as_fn_return 1; }
  149. as_fn_ret_success () { return 0; }
  150. as_fn_ret_failure () { return 1; }
  151. exitcode=0
  152. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  153. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  154. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  155. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  156. if ( set x; as_fn_ret_success y && test x = \"\$1\" )
  157. then :
  158. else \$as_nop
  159. exitcode=1; echo positional parameters were not saved.
  160. fi
  161. test x\$exitcode = x0 || exit 1
  162. blah=\$(echo \$(echo blah))
  163. test x\"\$blah\" = xblah || exit 1
  164. test -x / || exit 1"
  165. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  166. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  167. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  168. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  169. test \$(( 1 + 1 )) = 2 || exit 1"
  170. if (eval "$as_required") 2>/dev/null
  171. then :
  172. as_have_required=yes
  173. else $as_nop
  174. as_have_required=no
  175. fi
  176. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
  177. then :
  178. else $as_nop
  179. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  180. as_found=false
  181. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  182. do
  183. IFS=$as_save_IFS
  184. case $as_dir in #(((
  185. '') as_dir=./ ;;
  186. */) ;;
  187. *) as_dir=$as_dir/ ;;
  188. esac
  189. as_found=:
  190. case $as_dir in #(
  191. /*)
  192. for as_base in sh bash ksh sh5; do
  193. # Try only shells that exist, to save several forks.
  194. as_shell=$as_dir$as_base
  195. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  196. as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
  197. then :
  198. CONFIG_SHELL=$as_shell as_have_required=yes
  199. if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
  200. then :
  201. break 2
  202. fi
  203. fi
  204. done;;
  205. esac
  206. as_found=false
  207. done
  208. IFS=$as_save_IFS
  209. if $as_found
  210. then :
  211. else $as_nop
  212. if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  213. as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
  214. then :
  215. CONFIG_SHELL=$SHELL as_have_required=yes
  216. fi
  217. fi
  218. if test "x$CONFIG_SHELL" != x
  219. then :
  220. export CONFIG_SHELL
  221. # We cannot yet assume a decent shell, so we have to provide a
  222. # neutralization value for shells without unset; and this also
  223. # works around shells that cannot unset nonexistent variables.
  224. # Preserve -v and -x to the replacement shell.
  225. BASH_ENV=/dev/null
  226. ENV=/dev/null
  227. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  228. case $- in # ((((
  229. *v*x* | *x*v* ) as_opts=-vx ;;
  230. *v* ) as_opts=-v ;;
  231. *x* ) as_opts=-x ;;
  232. * ) as_opts= ;;
  233. esac
  234. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  235. # Admittedly, this is quite paranoid, since all the known shells bail
  236. # out after a failed `exec'.
  237. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
  238. exit 255
  239. fi
  240. if test x$as_have_required = xno
  241. then :
  242. printf "%s\n" "$0: This script requires a shell more modern than all"
  243. printf "%s\n" "$0: the shells that I found on your system."
  244. if test ${ZSH_VERSION+y} ; then
  245. printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  246. printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
  247. else
  248. printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
  249. $0: https://notabug.org/cage/fulci/ about your system,
  250. $0: including any error possibly output before this
  251. $0: message. Then install a modern shell, or manually run
  252. $0: the script under such a shell if you do have one."
  253. fi
  254. exit 1
  255. fi
  256. fi
  257. fi
  258. SHELL=${CONFIG_SHELL-/bin/sh}
  259. export SHELL
  260. # Unset more variables known to interfere with behavior of common tools.
  261. CLICOLOR_FORCE= GREP_OPTIONS=
  262. unset CLICOLOR_FORCE GREP_OPTIONS
  263. ## --------------------- ##
  264. ## M4sh Shell Functions. ##
  265. ## --------------------- ##
  266. # as_fn_unset VAR
  267. # ---------------
  268. # Portably unset VAR.
  269. as_fn_unset ()
  270. {
  271. { eval $1=; unset $1;}
  272. }
  273. as_unset=as_fn_unset
  274. # as_fn_set_status STATUS
  275. # -----------------------
  276. # Set $? to STATUS, without forking.
  277. as_fn_set_status ()
  278. {
  279. return $1
  280. } # as_fn_set_status
  281. # as_fn_exit STATUS
  282. # -----------------
  283. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  284. as_fn_exit ()
  285. {
  286. set +e
  287. as_fn_set_status $1
  288. exit $1
  289. } # as_fn_exit
  290. # as_fn_nop
  291. # ---------
  292. # Do nothing but, unlike ":", preserve the value of $?.
  293. as_fn_nop ()
  294. {
  295. return $?
  296. }
  297. as_nop=as_fn_nop
  298. # as_fn_mkdir_p
  299. # -------------
  300. # Create "$as_dir" as a directory, including parents if necessary.
  301. as_fn_mkdir_p ()
  302. {
  303. case $as_dir in #(
  304. -*) as_dir=./$as_dir;;
  305. esac
  306. test -d "$as_dir" || eval $as_mkdir_p || {
  307. as_dirs=
  308. while :; do
  309. case $as_dir in #(
  310. *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  311. *) as_qdir=$as_dir;;
  312. esac
  313. as_dirs="'$as_qdir' $as_dirs"
  314. as_dir=`$as_dirname -- "$as_dir" ||
  315. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  316. X"$as_dir" : 'X\(//\)[^/]' \| \
  317. X"$as_dir" : 'X\(//\)$' \| \
  318. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  319. printf "%s\n" X"$as_dir" |
  320. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  321. s//\1/
  322. q
  323. }
  324. /^X\(\/\/\)[^/].*/{
  325. s//\1/
  326. q
  327. }
  328. /^X\(\/\/\)$/{
  329. s//\1/
  330. q
  331. }
  332. /^X\(\/\).*/{
  333. s//\1/
  334. q
  335. }
  336. s/.*/./; q'`
  337. test -d "$as_dir" && break
  338. done
  339. test -z "$as_dirs" || eval "mkdir $as_dirs"
  340. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  341. } # as_fn_mkdir_p
  342. # as_fn_executable_p FILE
  343. # -----------------------
  344. # Test if FILE is an executable regular file.
  345. as_fn_executable_p ()
  346. {
  347. test -f "$1" && test -x "$1"
  348. } # as_fn_executable_p
  349. # as_fn_append VAR VALUE
  350. # ----------------------
  351. # Append the text in VALUE to the end of the definition contained in VAR. Take
  352. # advantage of any shell optimizations that allow amortized linear growth over
  353. # repeated appends, instead of the typical quadratic growth present in naive
  354. # implementations.
  355. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  356. then :
  357. eval 'as_fn_append ()
  358. {
  359. eval $1+=\$2
  360. }'
  361. else $as_nop
  362. as_fn_append ()
  363. {
  364. eval $1=\$$1\$2
  365. }
  366. fi # as_fn_append
  367. # as_fn_arith ARG...
  368. # ------------------
  369. # Perform arithmetic evaluation on the ARGs, and store the result in the
  370. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  371. # must be portable across $(()) and expr.
  372. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  373. then :
  374. eval 'as_fn_arith ()
  375. {
  376. as_val=$(( $* ))
  377. }'
  378. else $as_nop
  379. as_fn_arith ()
  380. {
  381. as_val=`expr "$@" || test $? -eq 1`
  382. }
  383. fi # as_fn_arith
  384. # as_fn_nop
  385. # ---------
  386. # Do nothing but, unlike ":", preserve the value of $?.
  387. as_fn_nop ()
  388. {
  389. return $?
  390. }
  391. as_nop=as_fn_nop
  392. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  393. # ----------------------------------------
  394. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  395. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  396. # script with STATUS, using 1 if that was 0.
  397. as_fn_error ()
  398. {
  399. as_status=$1; test $as_status -eq 0 && as_status=1
  400. if test "$4"; then
  401. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  402. printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  403. fi
  404. printf "%s\n" "$as_me: error: $2" >&2
  405. as_fn_exit $as_status
  406. } # as_fn_error
  407. if expr a : '\(a\)' >/dev/null 2>&1 &&
  408. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  409. as_expr=expr
  410. else
  411. as_expr=false
  412. fi
  413. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  414. as_basename=basename
  415. else
  416. as_basename=false
  417. fi
  418. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  419. as_dirname=dirname
  420. else
  421. as_dirname=false
  422. fi
  423. as_me=`$as_basename -- "$0" ||
  424. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  425. X"$0" : 'X\(//\)$' \| \
  426. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  427. printf "%s\n" X/"$0" |
  428. sed '/^.*\/\([^/][^/]*\)\/*$/{
  429. s//\1/
  430. q
  431. }
  432. /^X\/\(\/\/\)$/{
  433. s//\1/
  434. q
  435. }
  436. /^X\/\(\/\).*/{
  437. s//\1/
  438. q
  439. }
  440. s/.*/./; q'`
  441. # Avoid depending upon Character Ranges.
  442. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  443. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  444. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  445. as_cr_digits='0123456789'
  446. as_cr_alnum=$as_cr_Letters$as_cr_digits
  447. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  448. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  449. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  450. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  451. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  452. sed -n '
  453. p
  454. /[$]LINENO/=
  455. ' <$as_myself |
  456. sed '
  457. s/[$]LINENO.*/&-/
  458. t lineno
  459. b
  460. :lineno
  461. N
  462. :loop
  463. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  464. t loop
  465. s/-\n.*//
  466. ' >$as_me.lineno &&
  467. chmod +x "$as_me.lineno" ||
  468. { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  469. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  470. # already done that, so ensure we don't try to do so again and fall
  471. # in an infinite loop. This has already happened in practice.
  472. _as_can_reexec=no; export _as_can_reexec
  473. # Don't try to exec as it changes $[0], causing all sort of problems
  474. # (the dirname of $[0] is not the place where we might find the
  475. # original and so on. Autoconf is especially sensitive to this).
  476. . "./$as_me.lineno"
  477. # Exit status is that of the last command.
  478. exit
  479. }
  480. # Determine whether it's possible to make 'echo' print without a newline.
  481. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  482. # for compatibility with existing Makefiles.
  483. ECHO_C= ECHO_N= ECHO_T=
  484. case `echo -n x` in #(((((
  485. -n*)
  486. case `echo 'xy\c'` in
  487. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  488. xy) ECHO_C='\c';;
  489. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  490. ECHO_T=' ';;
  491. esac;;
  492. *)
  493. ECHO_N='-n';;
  494. esac
  495. # For backward compatibility with old third-party macros, we provide
  496. # the shell variables $as_echo and $as_echo_n. New code should use
  497. # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  498. as_echo='printf %s\n'
  499. as_echo_n='printf %s'
  500. rm -f conf$$ conf$$.exe conf$$.file
  501. if test -d conf$$.dir; then
  502. rm -f conf$$.dir/conf$$.file
  503. else
  504. rm -f conf$$.dir
  505. mkdir conf$$.dir 2>/dev/null
  506. fi
  507. if (echo >conf$$.file) 2>/dev/null; then
  508. if ln -s conf$$.file conf$$ 2>/dev/null; then
  509. as_ln_s='ln -s'
  510. # ... but there are two gotchas:
  511. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  512. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  513. # In both cases, we have to default to `cp -pR'.
  514. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  515. as_ln_s='cp -pR'
  516. elif ln conf$$.file conf$$ 2>/dev/null; then
  517. as_ln_s=ln
  518. else
  519. as_ln_s='cp -pR'
  520. fi
  521. else
  522. as_ln_s='cp -pR'
  523. fi
  524. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  525. rmdir conf$$.dir 2>/dev/null
  526. if mkdir -p . 2>/dev/null; then
  527. as_mkdir_p='mkdir -p "$as_dir"'
  528. else
  529. test -d ./-p && rmdir ./-p
  530. as_mkdir_p=false
  531. fi
  532. as_test_x='test -x'
  533. as_executable_p=as_fn_executable_p
  534. # Sed expression to map a string onto a valid CPP name.
  535. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  536. # Sed expression to map a string onto a valid variable name.
  537. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  538. test -n "$DJDIR" || exec 7<&0 </dev/null
  539. exec 6>&1
  540. # Name of the host.
  541. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  542. # so uname gets run too.
  543. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  544. #
  545. # Initializations.
  546. #
  547. ac_default_prefix=/usr/local
  548. ac_clean_files=
  549. ac_config_libobj_dir=.
  550. LIBOBJS=
  551. cross_compiling=no
  552. subdirs=
  553. MFLAGS=
  554. MAKEFLAGS=
  555. # Identity of this package.
  556. PACKAGE_NAME='fulci'
  557. PACKAGE_TARNAME='fulci'
  558. PACKAGE_VERSION='0.9.4'
  559. PACKAGE_STRING='fulci 0.9.4'
  560. PACKAGE_BUGREPORT='https://notabug.org/cage/fulci/'
  561. PACKAGE_URL=''
  562. gt_needs=
  563. # Factoring default headers for most tests.
  564. ac_includes_default="\
  565. #include <stddef.h>
  566. #ifdef HAVE_STDIO_H
  567. # include <stdio.h>
  568. #endif
  569. #ifdef HAVE_STDLIB_H
  570. # include <stdlib.h>
  571. #endif
  572. #ifdef HAVE_STRING_H
  573. # include <string.h>
  574. #endif
  575. #ifdef HAVE_INTTYPES_H
  576. # include <inttypes.h>
  577. #endif
  578. #ifdef HAVE_STDINT_H
  579. # include <stdint.h>
  580. #endif
  581. #ifdef HAVE_STRINGS_H
  582. # include <strings.h>
  583. #endif
  584. #ifdef HAVE_SYS_TYPES_H
  585. # include <sys/types.h>
  586. #endif
  587. #ifdef HAVE_SYS_STAT_H
  588. # include <sys/stat.h>
  589. #endif
  590. #ifdef HAVE_UNISTD_H
  591. # include <unistd.h>
  592. #endif"
  593. ac_header_c_list=
  594. ac_subst_vars='am__EXEEXT_FALSE
  595. am__EXEEXT_TRUE
  596. LTLIBOBJS
  597. LIBOBJS
  598. GV
  599. GIMP
  600. SQLITE
  601. WISH
  602. GAWK
  603. BASH
  604. GPG
  605. CURL
  606. LISP_COMPILER
  607. POSUB
  608. LTLIBINTL
  609. LIBINTL
  610. INTLLIBS
  611. LTLIBICONV
  612. LIBICONV
  613. INTL_MACOSX_LIBS
  614. EGREP
  615. GREP
  616. CPP
  617. host_os
  618. host_vendor
  619. host_cpu
  620. host
  621. build_os
  622. build_vendor
  623. build_cpu
  624. build
  625. am__fastdepCC_FALSE
  626. am__fastdepCC_TRUE
  627. CCDEPMODE
  628. am__nodep
  629. AMDEPBACKSLASH
  630. AMDEP_FALSE
  631. AMDEP_TRUE
  632. am__include
  633. DEPDIR
  634. OBJEXT
  635. EXEEXT
  636. ac_ct_CC
  637. CPPFLAGS
  638. LDFLAGS
  639. CFLAGS
  640. CC
  641. XGETTEXT_EXTRA_OPTIONS
  642. MSGMERGE
  643. XGETTEXT_015
  644. XGETTEXT
  645. GMSGFMT_015
  646. MSGFMT_015
  647. GMSGFMT
  648. MSGFMT
  649. GETTEXT_MACRO_VERSION
  650. USE_NLS
  651. SED
  652. AM_BACKSLASH
  653. AM_DEFAULT_VERBOSITY
  654. AM_DEFAULT_V
  655. AM_V
  656. CSCOPE
  657. ETAGS
  658. CTAGS
  659. am__untar
  660. am__tar
  661. AMTAR
  662. am__leading_dot
  663. SET_MAKE
  664. AWK
  665. mkdir_p
  666. MKDIR_P
  667. INSTALL_STRIP_PROGRAM
  668. STRIP
  669. install_sh
  670. MAKEINFO
  671. AUTOHEADER
  672. AUTOMAKE
  673. AUTOCONF
  674. ACLOCAL
  675. VERSION
  676. PACKAGE
  677. CYGPATH_W
  678. am__isrc
  679. INSTALL_DATA
  680. INSTALL_SCRIPT
  681. INSTALL_PROGRAM
  682. target_alias
  683. host_alias
  684. build_alias
  685. LIBS
  686. ECHO_T
  687. ECHO_N
  688. ECHO_C
  689. DEFS
  690. mandir
  691. localedir
  692. libdir
  693. psdir
  694. pdfdir
  695. dvidir
  696. htmldir
  697. infodir
  698. docdir
  699. oldincludedir
  700. includedir
  701. runstatedir
  702. localstatedir
  703. sharedstatedir
  704. sysconfdir
  705. datadir
  706. datarootdir
  707. libexecdir
  708. sbindir
  709. bindir
  710. program_transform_name
  711. prefix
  712. exec_prefix
  713. PACKAGE_URL
  714. PACKAGE_BUGREPORT
  715. PACKAGE_STRING
  716. PACKAGE_VERSION
  717. PACKAGE_TARNAME
  718. PACKAGE_NAME
  719. PATH_SEPARATOR
  720. SHELL
  721. am__quote'
  722. ac_subst_files=''
  723. ac_user_opts='
  724. enable_option_checking
  725. enable_silent_rules
  726. enable_nls
  727. enable_dependency_tracking
  728. with_gnu_ld
  729. enable_rpath
  730. with_libiconv_prefix
  731. with_libintl_prefix
  732. '
  733. ac_precious_vars='build_alias
  734. host_alias
  735. target_alias
  736. CC
  737. CFLAGS
  738. LDFLAGS
  739. LIBS
  740. CPPFLAGS
  741. CPP'
  742. # Initialize some variables set by options.
  743. ac_init_help=
  744. ac_init_version=false
  745. ac_unrecognized_opts=
  746. ac_unrecognized_sep=
  747. # The variables have the same names as the options, with
  748. # dashes changed to underlines.
  749. cache_file=/dev/null
  750. exec_prefix=NONE
  751. no_create=
  752. no_recursion=
  753. prefix=NONE
  754. program_prefix=NONE
  755. program_suffix=NONE
  756. program_transform_name=s,x,x,
  757. silent=
  758. site=
  759. srcdir=
  760. verbose=
  761. x_includes=NONE
  762. x_libraries=NONE
  763. # Installation directory options.
  764. # These are left unexpanded so users can "make install exec_prefix=/foo"
  765. # and all the variables that are supposed to be based on exec_prefix
  766. # by default will actually change.
  767. # Use braces instead of parens because sh, perl, etc. also accept them.
  768. # (The list follows the same order as the GNU Coding Standards.)
  769. bindir='${exec_prefix}/bin'
  770. sbindir='${exec_prefix}/sbin'
  771. libexecdir='${exec_prefix}/libexec'
  772. datarootdir='${prefix}/share'
  773. datadir='${datarootdir}'
  774. sysconfdir='${prefix}/etc'
  775. sharedstatedir='${prefix}/com'
  776. localstatedir='${prefix}/var'
  777. runstatedir='${localstatedir}/run'
  778. includedir='${prefix}/include'
  779. oldincludedir='/usr/include'
  780. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  781. infodir='${datarootdir}/info'
  782. htmldir='${docdir}'
  783. dvidir='${docdir}'
  784. pdfdir='${docdir}'
  785. psdir='${docdir}'
  786. libdir='${exec_prefix}/lib'
  787. localedir='${datarootdir}/locale'
  788. mandir='${datarootdir}/man'
  789. ac_prev=
  790. ac_dashdash=
  791. for ac_option
  792. do
  793. # If the previous option needs an argument, assign it.
  794. if test -n "$ac_prev"; then
  795. eval $ac_prev=\$ac_option
  796. ac_prev=
  797. continue
  798. fi
  799. case $ac_option in
  800. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  801. *=) ac_optarg= ;;
  802. *) ac_optarg=yes ;;
  803. esac
  804. case $ac_dashdash$ac_option in
  805. --)
  806. ac_dashdash=yes ;;
  807. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  808. ac_prev=bindir ;;
  809. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  810. bindir=$ac_optarg ;;
  811. -build | --build | --buil | --bui | --bu)
  812. ac_prev=build_alias ;;
  813. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  814. build_alias=$ac_optarg ;;
  815. -cache-file | --cache-file | --cache-fil | --cache-fi \
  816. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  817. ac_prev=cache_file ;;
  818. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  819. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  820. cache_file=$ac_optarg ;;
  821. --config-cache | -C)
  822. cache_file=config.cache ;;
  823. -datadir | --datadir | --datadi | --datad)
  824. ac_prev=datadir ;;
  825. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  826. datadir=$ac_optarg ;;
  827. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  828. | --dataroo | --dataro | --datar)
  829. ac_prev=datarootdir ;;
  830. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  831. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  832. datarootdir=$ac_optarg ;;
  833. -disable-* | --disable-*)
  834. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  835. # Reject names that are not valid shell variable names.
  836. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  837. as_fn_error $? "invalid feature name: \`$ac_useropt'"
  838. ac_useropt_orig=$ac_useropt
  839. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  840. case $ac_user_opts in
  841. *"
  842. "enable_$ac_useropt"
  843. "*) ;;
  844. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  845. ac_unrecognized_sep=', ';;
  846. esac
  847. eval enable_$ac_useropt=no ;;
  848. -docdir | --docdir | --docdi | --doc | --do)
  849. ac_prev=docdir ;;
  850. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  851. docdir=$ac_optarg ;;
  852. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  853. ac_prev=dvidir ;;
  854. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  855. dvidir=$ac_optarg ;;
  856. -enable-* | --enable-*)
  857. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  858. # Reject names that are not valid shell variable names.
  859. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  860. as_fn_error $? "invalid feature name: \`$ac_useropt'"
  861. ac_useropt_orig=$ac_useropt
  862. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  863. case $ac_user_opts in
  864. *"
  865. "enable_$ac_useropt"
  866. "*) ;;
  867. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  868. ac_unrecognized_sep=', ';;
  869. esac
  870. eval enable_$ac_useropt=\$ac_optarg ;;
  871. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  872. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  873. | --exec | --exe | --ex)
  874. ac_prev=exec_prefix ;;
  875. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  876. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  877. | --exec=* | --exe=* | --ex=*)
  878. exec_prefix=$ac_optarg ;;
  879. -gas | --gas | --ga | --g)
  880. # Obsolete; use --with-gas.
  881. with_gas=yes ;;
  882. -help | --help | --hel | --he | -h)
  883. ac_init_help=long ;;
  884. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  885. ac_init_help=recursive ;;
  886. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  887. ac_init_help=short ;;
  888. -host | --host | --hos | --ho)
  889. ac_prev=host_alias ;;
  890. -host=* | --host=* | --hos=* | --ho=*)
  891. host_alias=$ac_optarg ;;
  892. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  893. ac_prev=htmldir ;;
  894. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  895. | --ht=*)
  896. htmldir=$ac_optarg ;;
  897. -includedir | --includedir | --includedi | --included | --include \
  898. | --includ | --inclu | --incl | --inc)
  899. ac_prev=includedir ;;
  900. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  901. | --includ=* | --inclu=* | --incl=* | --inc=*)
  902. includedir=$ac_optarg ;;
  903. -infodir | --infodir | --infodi | --infod | --info | --inf)
  904. ac_prev=infodir ;;
  905. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  906. infodir=$ac_optarg ;;
  907. -libdir | --libdir | --libdi | --libd)
  908. ac_prev=libdir ;;
  909. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  910. libdir=$ac_optarg ;;
  911. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  912. | --libexe | --libex | --libe)
  913. ac_prev=libexecdir ;;
  914. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  915. | --libexe=* | --libex=* | --libe=*)
  916. libexecdir=$ac_optarg ;;
  917. -localedir | --localedir | --localedi | --localed | --locale)
  918. ac_prev=localedir ;;
  919. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  920. localedir=$ac_optarg ;;
  921. -localstatedir | --localstatedir | --localstatedi | --localstated \
  922. | --localstate | --localstat | --localsta | --localst | --locals)
  923. ac_prev=localstatedir ;;
  924. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  925. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  926. localstatedir=$ac_optarg ;;
  927. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  928. ac_prev=mandir ;;
  929. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  930. mandir=$ac_optarg ;;
  931. -nfp | --nfp | --nf)
  932. # Obsolete; use --without-fp.
  933. with_fp=no ;;
  934. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  935. | --no-cr | --no-c | -n)
  936. no_create=yes ;;
  937. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  938. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  939. no_recursion=yes ;;
  940. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  941. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  942. | --oldin | --oldi | --old | --ol | --o)
  943. ac_prev=oldincludedir ;;
  944. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  945. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  946. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  947. oldincludedir=$ac_optarg ;;
  948. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  949. ac_prev=prefix ;;
  950. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  951. prefix=$ac_optarg ;;
  952. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  953. | --program-pre | --program-pr | --program-p)
  954. ac_prev=program_prefix ;;
  955. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  956. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  957. program_prefix=$ac_optarg ;;
  958. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  959. | --program-suf | --program-su | --program-s)
  960. ac_prev=program_suffix ;;
  961. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  962. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  963. program_suffix=$ac_optarg ;;
  964. -program-transform-name | --program-transform-name \
  965. | --program-transform-nam | --program-transform-na \
  966. | --program-transform-n | --program-transform- \
  967. | --program-transform | --program-transfor \
  968. | --program-transfo | --program-transf \
  969. | --program-trans | --program-tran \
  970. | --progr-tra | --program-tr | --program-t)
  971. ac_prev=program_transform_name ;;
  972. -program-transform-name=* | --program-transform-name=* \
  973. | --program-transform-nam=* | --program-transform-na=* \
  974. | --program-transform-n=* | --program-transform-=* \
  975. | --program-transform=* | --program-transfor=* \
  976. | --program-transfo=* | --program-transf=* \
  977. | --program-trans=* | --program-tran=* \
  978. | --progr-tra=* | --program-tr=* | --program-t=*)
  979. program_transform_name=$ac_optarg ;;
  980. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  981. ac_prev=pdfdir ;;
  982. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  983. pdfdir=$ac_optarg ;;
  984. -psdir | --psdir | --psdi | --psd | --ps)
  985. ac_prev=psdir ;;
  986. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  987. psdir=$ac_optarg ;;
  988. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  989. | -silent | --silent | --silen | --sile | --sil)
  990. silent=yes ;;
  991. -runstatedir | --runstatedir | --runstatedi | --runstated \
  992. | --runstate | --runstat | --runsta | --runst | --runs \
  993. | --run | --ru | --r)
  994. ac_prev=runstatedir ;;
  995. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  996. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  997. | --run=* | --ru=* | --r=*)
  998. runstatedir=$ac_optarg ;;
  999. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1000. ac_prev=sbindir ;;
  1001. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1002. | --sbi=* | --sb=*)
  1003. sbindir=$ac_optarg ;;
  1004. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1005. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1006. | --sharedst | --shareds | --shared | --share | --shar \
  1007. | --sha | --sh)
  1008. ac_prev=sharedstatedir ;;
  1009. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1010. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1011. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1012. | --sha=* | --sh=*)
  1013. sharedstatedir=$ac_optarg ;;
  1014. -site | --site | --sit)
  1015. ac_prev=site ;;
  1016. -site=* | --site=* | --sit=*)
  1017. site=$ac_optarg ;;
  1018. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1019. ac_prev=srcdir ;;
  1020. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1021. srcdir=$ac_optarg ;;
  1022. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1023. | --syscon | --sysco | --sysc | --sys | --sy)
  1024. ac_prev=sysconfdir ;;
  1025. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1026. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1027. sysconfdir=$ac_optarg ;;
  1028. -target | --target | --targe | --targ | --tar | --ta | --t)
  1029. ac_prev=target_alias ;;
  1030. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1031. target_alias=$ac_optarg ;;
  1032. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1033. verbose=yes ;;
  1034. -version | --version | --versio | --versi | --vers | -V)
  1035. ac_init_version=: ;;
  1036. -with-* | --with-*)
  1037. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1038. # Reject names that are not valid shell variable names.
  1039. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1040. as_fn_error $? "invalid package name: \`$ac_useropt'"
  1041. ac_useropt_orig=$ac_useropt
  1042. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1043. case $ac_user_opts in
  1044. *"
  1045. "with_$ac_useropt"
  1046. "*) ;;
  1047. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1048. ac_unrecognized_sep=', ';;
  1049. esac
  1050. eval with_$ac_useropt=\$ac_optarg ;;
  1051. -without-* | --without-*)
  1052. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1053. # Reject names that are not valid shell variable names.
  1054. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1055. as_fn_error $? "invalid package name: \`$ac_useropt'"
  1056. ac_useropt_orig=$ac_useropt
  1057. ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
  1058. case $ac_user_opts in
  1059. *"
  1060. "with_$ac_useropt"
  1061. "*) ;;
  1062. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1063. ac_unrecognized_sep=', ';;
  1064. esac
  1065. eval with_$ac_useropt=no ;;
  1066. --x)
  1067. # Obsolete; use --with-x.
  1068. with_x=yes ;;
  1069. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1070. | --x-incl | --x-inc | --x-in | --x-i)
  1071. ac_prev=x_includes ;;
  1072. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1073. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1074. x_includes=$ac_optarg ;;
  1075. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1076. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1077. ac_prev=x_libraries ;;
  1078. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1079. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1080. x_libraries=$ac_optarg ;;
  1081. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1082. Try \`$0 --help' for more information"
  1083. ;;
  1084. *=*)
  1085. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1086. # Reject names that are not valid shell variable names.
  1087. case $ac_envvar in #(
  1088. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1089. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1090. esac
  1091. eval $ac_envvar=\$ac_optarg
  1092. export $ac_envvar ;;
  1093. *)
  1094. # FIXME: should be removed in autoconf 3.0.
  1095. printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
  1096. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1097. printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
  1098. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1099. ;;
  1100. esac
  1101. done
  1102. if test -n "$ac_prev"; then
  1103. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1104. as_fn_error $? "missing argument to $ac_option"
  1105. fi
  1106. if test -n "$ac_unrecognized_opts"; then
  1107. case $enable_option_checking in
  1108. no) ;;
  1109. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1110. *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1111. esac
  1112. fi
  1113. # Check all directory arguments for consistency.
  1114. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1115. datadir sysconfdir sharedstatedir localstatedir includedir \
  1116. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1117. libdir localedir mandir runstatedir
  1118. do
  1119. eval ac_val=\$$ac_var
  1120. # Remove trailing slashes.
  1121. case $ac_val in
  1122. */ )
  1123. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1124. eval $ac_var=\$ac_val;;
  1125. esac
  1126. # Be sure to have absolute directory names.
  1127. case $ac_val in
  1128. [\\/$]* | ?:[\\/]* ) continue;;
  1129. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1130. esac
  1131. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1132. done
  1133. # There might be people who depend on the old broken behavior: `$host'
  1134. # used to hold the argument of --host etc.
  1135. # FIXME: To remove some day.
  1136. build=$build_alias
  1137. host=$host_alias
  1138. target=$target_alias
  1139. # FIXME: To remove some day.
  1140. if test "x$host_alias" != x; then
  1141. if test "x$build_alias" = x; then
  1142. cross_compiling=maybe
  1143. elif test "x$build_alias" != "x$host_alias"; then
  1144. cross_compiling=yes
  1145. fi
  1146. fi
  1147. ac_tool_prefix=
  1148. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1149. test "$silent" = yes && exec 6>/dev/null
  1150. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1151. ac_ls_di=`ls -di .` &&
  1152. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1153. as_fn_error $? "working directory cannot be determined"
  1154. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1155. as_fn_error $? "pwd does not report name of working directory"
  1156. # Find the source files, if location was not specified.
  1157. if test -z "$srcdir"; then
  1158. ac_srcdir_defaulted=yes
  1159. # Try the directory containing this script, then the parent directory.
  1160. ac_confdir=`$as_dirname -- "$as_myself" ||
  1161. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1162. X"$as_myself" : 'X\(//\)[^/]' \| \
  1163. X"$as_myself" : 'X\(//\)$' \| \
  1164. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1165. printf "%s\n" X"$as_myself" |
  1166. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1167. s//\1/
  1168. q
  1169. }
  1170. /^X\(\/\/\)[^/].*/{
  1171. s//\1/
  1172. q
  1173. }
  1174. /^X\(\/\/\)$/{
  1175. s//\1/
  1176. q
  1177. }
  1178. /^X\(\/\).*/{
  1179. s//\1/
  1180. q
  1181. }
  1182. s/.*/./; q'`
  1183. srcdir=$ac_confdir
  1184. if test ! -r "$srcdir/$ac_unique_file"; then
  1185. srcdir=..
  1186. fi
  1187. else
  1188. ac_srcdir_defaulted=no
  1189. fi
  1190. if test ! -r "$srcdir/$ac_unique_file"; then
  1191. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1192. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1193. fi
  1194. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1195. ac_abs_confdir=`(
  1196. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1197. pwd)`
  1198. # When building in place, set srcdir=.
  1199. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1200. srcdir=.
  1201. fi
  1202. # Remove unnecessary trailing slashes from srcdir.
  1203. # Double slashes in file names in object file debugging info
  1204. # mess up M-x gdb in Emacs.
  1205. case $srcdir in
  1206. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1207. esac
  1208. for ac_var in $ac_precious_vars; do
  1209. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1210. eval ac_env_${ac_var}_value=\$${ac_var}
  1211. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1212. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1213. done
  1214. #
  1215. # Report the --help message.
  1216. #
  1217. if test "$ac_init_help" = "long"; then
  1218. # Omit some internal or obsolete options to make the list less imposing.
  1219. # This message is too long to be a string in the A/UX 3.1 sh.
  1220. cat <<_ACEOF
  1221. \`configure' configures fulci 0.9.4 to adapt to many kinds of systems.
  1222. Usage: $0 [OPTION]... [VAR=VALUE]...
  1223. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1224. VAR=VALUE. See below for descriptions of some of the useful variables.
  1225. Defaults for the options are specified in brackets.
  1226. Configuration:
  1227. -h, --help display this help and exit
  1228. --help=short display options specific to this package
  1229. --help=recursive display the short help of all the included packages
  1230. -V, --version display version information and exit
  1231. -q, --quiet, --silent do not print \`checking ...' messages
  1232. --cache-file=FILE cache test results in FILE [disabled]
  1233. -C, --config-cache alias for \`--cache-file=config.cache'
  1234. -n, --no-create do not create output files
  1235. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1236. Installation directories:
  1237. --prefix=PREFIX install architecture-independent files in PREFIX
  1238. [$ac_default_prefix]
  1239. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1240. [PREFIX]
  1241. By default, \`make install' will install all the files in
  1242. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1243. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1244. for instance \`--prefix=\$HOME'.
  1245. For better control, use the options below.
  1246. Fine tuning of the installation directories:
  1247. --bindir=DIR user executables [EPREFIX/bin]
  1248. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1249. --libexecdir=DIR program executables [EPREFIX/libexec]
  1250. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1251. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1252. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1253. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  1254. --libdir=DIR object code libraries [EPREFIX/lib]
  1255. --includedir=DIR C header files [PREFIX/include]
  1256. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1257. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1258. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1259. --infodir=DIR info documentation [DATAROOTDIR/info]
  1260. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1261. --mandir=DIR man documentation [DATAROOTDIR/man]
  1262. --docdir=DIR documentation root [DATAROOTDIR/doc/fulci]
  1263. --htmldir=DIR html documentation [DOCDIR]
  1264. --dvidir=DIR dvi documentation [DOCDIR]
  1265. --pdfdir=DIR pdf documentation [DOCDIR]
  1266. --psdir=DIR ps documentation [DOCDIR]
  1267. _ACEOF
  1268. cat <<\_ACEOF
  1269. Program names:
  1270. --program-prefix=PREFIX prepend PREFIX to installed program names
  1271. --program-suffix=SUFFIX append SUFFIX to installed program names
  1272. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1273. System types:
  1274. --build=BUILD configure for building on BUILD [guessed]
  1275. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1276. _ACEOF
  1277. fi
  1278. if test -n "$ac_init_help"; then
  1279. case $ac_init_help in
  1280. short | recursive ) echo "Configuration of fulci 0.9.4:";;
  1281. esac
  1282. cat <<\_ACEOF
  1283. Optional Features:
  1284. --disable-option-checking ignore unrecognized --enable/--with options
  1285. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1286. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1287. --enable-silent-rules less verbose build output (undo: "make V=1")
  1288. --disable-silent-rules verbose build output (undo: "make V=0")
  1289. --disable-nls do not use Native Language Support
  1290. --enable-dependency-tracking
  1291. do not reject slow dependency extractors
  1292. --disable-dependency-tracking
  1293. speeds up one-time build
  1294. --disable-rpath do not hardcode runtime library paths
  1295. Optional Packages:
  1296. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1297. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1298. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1299. --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
  1300. --without-libiconv-prefix don't search for libiconv in includedir and libdir
  1301. --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
  1302. --without-libintl-prefix don't search for libintl in includedir and libdir
  1303. Some influential environment variables:
  1304. CC C compiler command
  1305. CFLAGS C compiler flags
  1306. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1307. nonstandard directory <lib dir>
  1308. LIBS libraries to pass to the linker, e.g. -l<library>
  1309. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1310. you have headers in a nonstandard directory <include dir>
  1311. CPP C preprocessor
  1312. Use these variables to override the choices made by `configure' or to help
  1313. it to find libraries and programs with nonstandard names/locations.
  1314. Report bugs to <https://notabug.org/cage/fulci/>.
  1315. _ACEOF
  1316. ac_status=$?
  1317. fi
  1318. if test "$ac_init_help" = "recursive"; then
  1319. # If there are subdirs, report their specific --help.
  1320. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1321. test -d "$ac_dir" ||
  1322. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1323. continue
  1324. ac_builddir=.
  1325. case "$ac_dir" in
  1326. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1327. *)
  1328. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  1329. # A ".." for each directory in $ac_dir_suffix.
  1330. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1331. case $ac_top_builddir_sub in
  1332. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1333. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1334. esac ;;
  1335. esac
  1336. ac_abs_top_builddir=$ac_pwd
  1337. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1338. # for backward compatibility:
  1339. ac_top_builddir=$ac_top_build_prefix
  1340. case $srcdir in
  1341. .) # We are building in place.
  1342. ac_srcdir=.
  1343. ac_top_srcdir=$ac_top_builddir_sub
  1344. ac_abs_top_srcdir=$ac_pwd ;;
  1345. [\\/]* | ?:[\\/]* ) # Absolute name.
  1346. ac_srcdir=$srcdir$ac_dir_suffix;
  1347. ac_top_srcdir=$srcdir
  1348. ac_abs_top_srcdir=$srcdir ;;
  1349. *) # Relative name.
  1350. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1351. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1352. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1353. esac
  1354. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1355. cd "$ac_dir" || { ac_status=$?; continue; }
  1356. # Check for configure.gnu first; this name is used for a wrapper for
  1357. # Metaconfig's "Configure" on case-insensitive file systems.
  1358. if test -f "$ac_srcdir/configure.gnu"; then
  1359. echo &&
  1360. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1361. elif test -f "$ac_srcdir/configure"; then
  1362. echo &&
  1363. $SHELL "$ac_srcdir/configure" --help=recursive
  1364. else
  1365. printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1366. fi || ac_status=$?
  1367. cd "$ac_pwd" || { ac_status=$?; break; }
  1368. done
  1369. fi
  1370. test -n "$ac_init_help" && exit $ac_status
  1371. if $ac_init_version; then
  1372. cat <<\_ACEOF
  1373. fulci configure 0.9.4
  1374. generated by GNU Autoconf 2.71
  1375. Copyright (C) 2021 Free Software Foundation, Inc.
  1376. This configure script is free software; the Free Software Foundation
  1377. gives unlimited permission to copy, distribute and modify it.
  1378. _ACEOF
  1379. exit
  1380. fi
  1381. ## ------------------------ ##
  1382. ## Autoconf initialization. ##
  1383. ## ------------------------ ##
  1384. # ac_fn_c_try_compile LINENO
  1385. # --------------------------
  1386. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1387. ac_fn_c_try_compile ()
  1388. {
  1389. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1390. rm -f conftest.$ac_objext conftest.beam
  1391. if { { ac_try="$ac_compile"
  1392. case "(($ac_try" in
  1393. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1394. *) ac_try_echo=$ac_try;;
  1395. esac
  1396. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1397. printf "%s\n" "$ac_try_echo"; } >&5
  1398. (eval "$ac_compile") 2>conftest.err
  1399. ac_status=$?
  1400. if test -s conftest.err; then
  1401. grep -v '^ *+' conftest.err >conftest.er1
  1402. cat conftest.er1 >&5
  1403. mv -f conftest.er1 conftest.err
  1404. fi
  1405. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1406. test $ac_status = 0; } && {
  1407. test -z "$ac_c_werror_flag" ||
  1408. test ! -s conftest.err
  1409. } && test -s conftest.$ac_objext
  1410. then :
  1411. ac_retval=0
  1412. else $as_nop
  1413. printf "%s\n" "$as_me: failed program was:" >&5
  1414. sed 's/^/| /' conftest.$ac_ext >&5
  1415. ac_retval=1
  1416. fi
  1417. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1418. as_fn_set_status $ac_retval
  1419. } # ac_fn_c_try_compile
  1420. # ac_fn_c_try_cpp LINENO
  1421. # ----------------------
  1422. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1423. ac_fn_c_try_cpp ()
  1424. {
  1425. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1426. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1427. case "(($ac_try" in
  1428. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1429. *) ac_try_echo=$ac_try;;
  1430. esac
  1431. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1432. printf "%s\n" "$ac_try_echo"; } >&5
  1433. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1434. ac_status=$?
  1435. if test -s conftest.err; then
  1436. grep -v '^ *+' conftest.err >conftest.er1
  1437. cat conftest.er1 >&5
  1438. mv -f conftest.er1 conftest.err
  1439. fi
  1440. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1441. test $ac_status = 0; } > conftest.i && {
  1442. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1443. test ! -s conftest.err
  1444. }
  1445. then :
  1446. ac_retval=0
  1447. else $as_nop
  1448. printf "%s\n" "$as_me: failed program was:" >&5
  1449. sed 's/^/| /' conftest.$ac_ext >&5
  1450. ac_retval=1
  1451. fi
  1452. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1453. as_fn_set_status $ac_retval
  1454. } # ac_fn_c_try_cpp
  1455. # ac_fn_c_try_link LINENO
  1456. # -----------------------
  1457. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1458. ac_fn_c_try_link ()
  1459. {
  1460. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1461. rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
  1462. if { { ac_try="$ac_link"
  1463. case "(($ac_try" in
  1464. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1465. *) ac_try_echo=$ac_try;;
  1466. esac
  1467. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1468. printf "%s\n" "$ac_try_echo"; } >&5
  1469. (eval "$ac_link") 2>conftest.err
  1470. ac_status=$?
  1471. if test -s conftest.err; then
  1472. grep -v '^ *+' conftest.err >conftest.er1
  1473. cat conftest.er1 >&5
  1474. mv -f conftest.er1 conftest.err
  1475. fi
  1476. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1477. test $ac_status = 0; } && {
  1478. test -z "$ac_c_werror_flag" ||
  1479. test ! -s conftest.err
  1480. } && test -s conftest$ac_exeext && {
  1481. test "$cross_compiling" = yes ||
  1482. test -x conftest$ac_exeext
  1483. }
  1484. then :
  1485. ac_retval=0
  1486. else $as_nop
  1487. printf "%s\n" "$as_me: failed program was:" >&5
  1488. sed 's/^/| /' conftest.$ac_ext >&5
  1489. ac_retval=1
  1490. fi
  1491. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1492. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1493. # interfere with the next link command; also delete a directory that is
  1494. # left behind by Apple's compiler. We do this before executing the actions.
  1495. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1496. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1497. as_fn_set_status $ac_retval
  1498. } # ac_fn_c_try_link
  1499. # ac_fn_c_try_run LINENO
  1500. # ----------------------
  1501. # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
  1502. # executables *can* be run.
  1503. ac_fn_c_try_run ()
  1504. {
  1505. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1506. if { { ac_try="$ac_link"
  1507. case "(($ac_try" in
  1508. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1509. *) ac_try_echo=$ac_try;;
  1510. esac
  1511. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1512. printf "%s\n" "$ac_try_echo"; } >&5
  1513. (eval "$ac_link") 2>&5
  1514. ac_status=$?
  1515. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1516. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1517. { { case "(($ac_try" in
  1518. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1519. *) ac_try_echo=$ac_try;;
  1520. esac
  1521. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1522. printf "%s\n" "$ac_try_echo"; } >&5
  1523. (eval "$ac_try") 2>&5
  1524. ac_status=$?
  1525. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1526. test $ac_status = 0; }; }
  1527. then :
  1528. ac_retval=0
  1529. else $as_nop
  1530. printf "%s\n" "$as_me: program exited with status $ac_status" >&5
  1531. printf "%s\n" "$as_me: failed program was:" >&5
  1532. sed 's/^/| /' conftest.$ac_ext >&5
  1533. ac_retval=$ac_status
  1534. fi
  1535. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1536. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1537. as_fn_set_status $ac_retval
  1538. } # ac_fn_c_try_run
  1539. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1540. # -------------------------------------------------------
  1541. # Tests whether HEADER exists and can be compiled using the include files in
  1542. # INCLUDES, setting the cache variable VAR accordingly.
  1543. ac_fn_c_check_header_compile ()
  1544. {
  1545. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1546. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1547. printf %s "checking for $2... " >&6; }
  1548. if eval test \${$3+y}
  1549. then :
  1550. printf %s "(cached) " >&6
  1551. else $as_nop
  1552. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1553. /* end confdefs.h. */
  1554. $4
  1555. #include <$2>
  1556. _ACEOF
  1557. if ac_fn_c_try_compile "$LINENO"
  1558. then :
  1559. eval "$3=yes"
  1560. else $as_nop
  1561. eval "$3=no"
  1562. fi
  1563. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  1564. fi
  1565. eval ac_res=\$$3
  1566. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1567. printf "%s\n" "$ac_res" >&6; }
  1568. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1569. } # ac_fn_c_check_header_compile
  1570. ac_configure_args_raw=
  1571. for ac_arg
  1572. do
  1573. case $ac_arg in
  1574. *\'*)
  1575. ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1576. esac
  1577. as_fn_append ac_configure_args_raw " '$ac_arg'"
  1578. done
  1579. case $ac_configure_args_raw in
  1580. *$as_nl*)
  1581. ac_safe_unquote= ;;
  1582. *)
  1583. ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
  1584. ac_unsafe_a="$ac_unsafe_z#~"
  1585. ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
  1586. ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
  1587. esac
  1588. cat >config.log <<_ACEOF
  1589. This file contains any messages produced by compilers while
  1590. running configure, to aid debugging if configure makes a mistake.
  1591. It was created by fulci $as_me 0.9.4, which was
  1592. generated by GNU Autoconf 2.71. Invocation command line was
  1593. $ $0$ac_configure_args_raw
  1594. _ACEOF
  1595. exec 5>>config.log
  1596. {
  1597. cat <<_ASUNAME
  1598. ## --------- ##
  1599. ## Platform. ##
  1600. ## --------- ##
  1601. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1602. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1603. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1604. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1605. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1606. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1607. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1608. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1609. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1610. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1611. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1612. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1613. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1614. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1615. _ASUNAME
  1616. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1617. for as_dir in $PATH
  1618. do
  1619. IFS=$as_save_IFS
  1620. case $as_dir in #(((
  1621. '') as_dir=./ ;;
  1622. */) ;;
  1623. *) as_dir=$as_dir/ ;;
  1624. esac
  1625. printf "%s\n" "PATH: $as_dir"
  1626. done
  1627. IFS=$as_save_IFS
  1628. } >&5
  1629. cat >&5 <<_ACEOF
  1630. ## ----------- ##
  1631. ## Core tests. ##
  1632. ## ----------- ##
  1633. _ACEOF
  1634. # Keep a trace of the command line.
  1635. # Strip out --no-create and --no-recursion so they do not pile up.
  1636. # Strip out --silent because we don't want to record it for future runs.
  1637. # Also quote any args containing shell meta-characters.
  1638. # Make two passes to allow for proper duplicate-argument suppression.
  1639. ac_configure_args=
  1640. ac_configure_args0=
  1641. ac_configure_args1=
  1642. ac_must_keep_next=false
  1643. for ac_pass in 1 2
  1644. do
  1645. for ac_arg
  1646. do
  1647. case $ac_arg in
  1648. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1649. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1650. | -silent | --silent | --silen | --sile | --sil)
  1651. continue ;;
  1652. *\'*)
  1653. ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1654. esac
  1655. case $ac_pass in
  1656. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1657. 2)
  1658. as_fn_append ac_configure_args1 " '$ac_arg'"
  1659. if test $ac_must_keep_next = true; then
  1660. ac_must_keep_next=false # Got value, back to normal.
  1661. else
  1662. case $ac_arg in
  1663. *=* | --config-cache | -C | -disable-* | --disable-* \
  1664. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1665. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1666. | -with-* | --with-* | -without-* | --without-* | --x)
  1667. case "$ac_configure_args0 " in
  1668. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1669. esac
  1670. ;;
  1671. -* ) ac_must_keep_next=true ;;
  1672. esac
  1673. fi
  1674. as_fn_append ac_configure_args " '$ac_arg'"
  1675. ;;
  1676. esac
  1677. done
  1678. done
  1679. { ac_configure_args0=; unset ac_configure_args0;}
  1680. { ac_configure_args1=; unset ac_configure_args1;}
  1681. # When interrupted or exit'd, cleanup temporary files, and complete
  1682. # config.log. We remove comments because anyway the quotes in there
  1683. # would cause problems or look ugly.
  1684. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1685. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1686. trap 'exit_status=$?
  1687. # Sanitize IFS.
  1688. IFS=" "" $as_nl"
  1689. # Save into config.log some information that might help in debugging.
  1690. {
  1691. echo
  1692. printf "%s\n" "## ---------------- ##
  1693. ## Cache variables. ##
  1694. ## ---------------- ##"
  1695. echo
  1696. # The following way of writing the cache mishandles newlines in values,
  1697. (
  1698. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1699. eval ac_val=\$$ac_var
  1700. case $ac_val in #(
  1701. *${as_nl}*)
  1702. case $ac_var in #(
  1703. *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1704. printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1705. esac
  1706. case $ac_var in #(
  1707. _ | IFS | as_nl) ;; #(
  1708. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1709. *) { eval $ac_var=; unset $ac_var;} ;;
  1710. esac ;;
  1711. esac
  1712. done
  1713. (set) 2>&1 |
  1714. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1715. *${as_nl}ac_space=\ *)
  1716. sed -n \
  1717. "s/'\''/'\''\\\\'\'''\''/g;
  1718. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1719. ;; #(
  1720. *)
  1721. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1722. ;;
  1723. esac |
  1724. sort
  1725. )
  1726. echo
  1727. printf "%s\n" "## ----------------- ##
  1728. ## Output variables. ##
  1729. ## ----------------- ##"
  1730. echo
  1731. for ac_var in $ac_subst_vars
  1732. do
  1733. eval ac_val=\$$ac_var
  1734. case $ac_val in
  1735. *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1736. esac
  1737. printf "%s\n" "$ac_var='\''$ac_val'\''"
  1738. done | sort
  1739. echo
  1740. if test -n "$ac_subst_files"; then
  1741. printf "%s\n" "## ------------------- ##
  1742. ## File substitutions. ##
  1743. ## ------------------- ##"
  1744. echo
  1745. for ac_var in $ac_subst_files
  1746. do
  1747. eval ac_val=\$$ac_var
  1748. case $ac_val in
  1749. *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1750. esac
  1751. printf "%s\n" "$ac_var='\''$ac_val'\''"
  1752. done | sort
  1753. echo
  1754. fi
  1755. if test -s confdefs.h; then
  1756. printf "%s\n" "## ----------- ##
  1757. ## confdefs.h. ##
  1758. ## ----------- ##"
  1759. echo
  1760. cat confdefs.h
  1761. echo
  1762. fi
  1763. test "$ac_signal" != 0 &&
  1764. printf "%s\n" "$as_me: caught signal $ac_signal"
  1765. printf "%s\n" "$as_me: exit $exit_status"
  1766. } >&5
  1767. rm -f core *.core core.conftest.* &&
  1768. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1769. exit $exit_status
  1770. ' 0
  1771. for ac_signal in 1 2 13 15; do
  1772. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1773. done
  1774. ac_signal=0
  1775. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1776. rm -f -r conftest* confdefs.h
  1777. printf "%s\n" "/* confdefs.h */" > confdefs.h
  1778. # Predefined preprocessor variables.
  1779. printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
  1780. printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
  1781. printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
  1782. printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
  1783. printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
  1784. printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
  1785. # Let the site file select an alternate cache file if it wants to.
  1786. # Prefer an explicitly selected file to automatically selected ones.
  1787. if test -n "$CONFIG_SITE"; then
  1788. ac_site_files="$CONFIG_SITE"
  1789. elif test "x$prefix" != xNONE; then
  1790. ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
  1791. else
  1792. ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1793. fi
  1794. for ac_site_file in $ac_site_files
  1795. do
  1796. case $ac_site_file in #(
  1797. */*) :
  1798. ;; #(
  1799. *) :
  1800. ac_site_file=./$ac_site_file ;;
  1801. esac
  1802. if test -f "$ac_site_file" && test -r "$ac_site_file"; then
  1803. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1804. printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
  1805. sed 's/^/| /' "$ac_site_file" >&5
  1806. . "$ac_site_file" \
  1807. || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1808. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  1809. as_fn_error $? "failed to load site script $ac_site_file
  1810. See \`config.log' for more details" "$LINENO" 5; }
  1811. fi
  1812. done
  1813. if test -r "$cache_file"; then
  1814. # Some versions of bash will fail to source /dev/null (special files
  1815. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1816. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1817. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1818. printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
  1819. case $cache_file in
  1820. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1821. *) . "./$cache_file";;
  1822. esac
  1823. fi
  1824. else
  1825. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1826. printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
  1827. >$cache_file
  1828. fi
  1829. gt_needs="$gt_needs "
  1830. # Test code for whether the C compiler supports C89 (global declarations)
  1831. ac_c_conftest_c89_globals='
  1832. /* Does the compiler advertise C89 conformance?
  1833. Do not test the value of __STDC__, because some compilers set it to 0
  1834. while being otherwise adequately conformant. */
  1835. #if !defined __STDC__
  1836. # error "Compiler does not advertise C89 conformance"
  1837. #endif
  1838. #include <stddef.h>
  1839. #include <stdarg.h>
  1840. struct stat;
  1841. /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
  1842. struct buf { int x; };
  1843. struct buf * (*rcsopen) (struct buf *, struct stat *, int);
  1844. static char *e (p, i)
  1845. char **p;
  1846. int i;
  1847. {
  1848. return p[i];
  1849. }
  1850. static char *f (char * (*g) (char **, int), char **p, ...)
  1851. {
  1852. char *s;
  1853. va_list v;
  1854. va_start (v,p);
  1855. s = g (p, va_arg (v,int));
  1856. va_end (v);
  1857. return s;
  1858. }
  1859. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  1860. function prototypes and stuff, but not \xHH hex character constants.
  1861. These do not provoke an error unfortunately, instead are silently treated
  1862. as an "x". The following induces an error, until -std is added to get
  1863. proper ANSI mode. Curiously \x00 != x always comes out true, for an
  1864. array size at least. It is necessary to write \x00 == 0 to get something
  1865. that is true only with -std. */
  1866. int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
  1867. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  1868. inside strings and character constants. */
  1869. #define FOO(x) '\''x'\''
  1870. int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
  1871. int test (int i, double x);
  1872. struct s1 {int (*f) (int a);};
  1873. struct s2 {int (*f) (double a);};
  1874. int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
  1875. int, int);'
  1876. # Test code for whether the C compiler supports C89 (body of main).
  1877. ac_c_conftest_c89_main='
  1878. ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
  1879. '
  1880. # Test code for whether the C compiler supports C99 (global declarations)
  1881. ac_c_conftest_c99_globals='
  1882. // Does the compiler advertise C99 conformance?
  1883. #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
  1884. # error "Compiler does not advertise C99 conformance"
  1885. #endif
  1886. #include <stdbool.h>
  1887. extern int puts (const char *);
  1888. extern int printf (const char *, ...);
  1889. extern int dprintf (int, const char *, ...);
  1890. extern void *malloc (size_t);
  1891. // Check varargs macros. These examples are taken from C99 6.10.3.5.
  1892. // dprintf is used instead of fprintf to avoid needing to declare
  1893. // FILE and stderr.
  1894. #define debug(...) dprintf (2, __VA_ARGS__)
  1895. #define showlist(...) puts (#__VA_ARGS__)
  1896. #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  1897. static void
  1898. test_varargs_macros (void)
  1899. {
  1900. int x = 1234;
  1901. int y = 5678;
  1902. debug ("Flag");
  1903. debug ("X = %d\n", x);
  1904. showlist (The first, second, and third items.);
  1905. report (x>y, "x is %d but y is %d", x, y);
  1906. }
  1907. // Check long long types.
  1908. #define BIG64 18446744073709551615ull
  1909. #define BIG32 4294967295ul
  1910. #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  1911. #if !BIG_OK
  1912. #error "your preprocessor is broken"
  1913. #endif
  1914. #if BIG_OK
  1915. #else
  1916. #error "your preprocessor is broken"
  1917. #endif
  1918. static long long int bignum = -9223372036854775807LL;
  1919. static unsigned long long int ubignum = BIG64;
  1920. struct incomplete_array
  1921. {
  1922. int datasize;
  1923. double data[];
  1924. };
  1925. struct named_init {
  1926. int number;
  1927. const wchar_t *name;
  1928. double average;
  1929. };
  1930. typedef const char *ccp;
  1931. static inline int
  1932. test_restrict (ccp restrict text)
  1933. {
  1934. // See if C++-style comments work.
  1935. // Iterate through items via the restricted pointer.
  1936. // Also check for declarations in for loops.
  1937. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
  1938. continue;
  1939. return 0;
  1940. }
  1941. // Check varargs and va_copy.
  1942. static bool
  1943. test_varargs (const char *format, ...)
  1944. {
  1945. va_list args;
  1946. va_start (args, format);
  1947. va_list args_copy;
  1948. va_copy (args_copy, args);
  1949. const char *str = "";
  1950. int number = 0;
  1951. float fnumber = 0;
  1952. while (*format)
  1953. {
  1954. switch (*format++)
  1955. {
  1956. case '\''s'\'': // string
  1957. str = va_arg (args_copy, const char *);
  1958. break;
  1959. case '\''d'\'': // int
  1960. number = va_arg (args_copy, int);
  1961. break;
  1962. case '\''f'\'': // float
  1963. fnumber = va_arg (args_copy, double);
  1964. break;
  1965. default:
  1966. break;
  1967. }
  1968. }
  1969. va_end (args_copy);
  1970. va_end (args);
  1971. return *str && number && fnumber;
  1972. }
  1973. '
  1974. # Test code for whether the C compiler supports C99 (body of main).
  1975. ac_c_conftest_c99_main='
  1976. // Check bool.
  1977. _Bool success = false;
  1978. success |= (argc != 0);
  1979. // Check restrict.
  1980. if (test_restrict ("String literal") == 0)
  1981. success = true;
  1982. char *restrict newvar = "Another string";
  1983. // Check varargs.
  1984. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
  1985. test_varargs_macros ();
  1986. // Check flexible array members.
  1987. struct incomplete_array *ia =
  1988. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1989. ia->datasize = 10;
  1990. for (int i = 0; i < ia->datasize; ++i)
  1991. ia->data[i] = i * 1.234;
  1992. // Check named initializers.
  1993. struct named_init ni = {
  1994. .number = 34,
  1995. .name = L"Test wide string",
  1996. .average = 543.34343,
  1997. };
  1998. ni.number = 58;
  1999. int dynamic_array[ni.number];
  2000. dynamic_array[0] = argv[0][0];
  2001. dynamic_array[ni.number - 1] = 543;
  2002. // work around unused variable warnings
  2003. ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
  2004. || dynamic_array[ni.number - 1] != 543);
  2005. '
  2006. # Test code for whether the C compiler supports C11 (global declarations)
  2007. ac_c_conftest_c11_globals='
  2008. // Does the compiler advertise C11 conformance?
  2009. #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
  2010. # error "Compiler does not advertise C11 conformance"
  2011. #endif
  2012. // Check _Alignas.
  2013. char _Alignas (double) aligned_as_double;
  2014. char _Alignas (0) no_special_alignment;
  2015. extern char aligned_as_int;
  2016. char _Alignas (0) _Alignas (int) aligned_as_int;
  2017. // Check _Alignof.
  2018. enum
  2019. {
  2020. int_alignment = _Alignof (int),
  2021. int_array_alignment = _Alignof (int[100]),
  2022. char_alignment = _Alignof (char)
  2023. };
  2024. _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
  2025. // Check _Noreturn.
  2026. int _Noreturn does_not_return (void) { for (;;) continue; }
  2027. // Check _Static_assert.
  2028. struct test_static_assert
  2029. {
  2030. int x;
  2031. _Static_assert (sizeof (int) <= sizeof (long int),
  2032. "_Static_assert does not work in struct");
  2033. long int y;
  2034. };
  2035. // Check UTF-8 literals.
  2036. #define u8 syntax error!
  2037. char const utf8_literal[] = u8"happens to be ASCII" "another string";
  2038. // Check duplicate typedefs.
  2039. typedef long *long_ptr;
  2040. typedef long int *long_ptr;
  2041. typedef long_ptr long_ptr;
  2042. // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
  2043. struct anonymous
  2044. {
  2045. union {
  2046. struct { int i; int j; };
  2047. struct { int k; long int l; } w;
  2048. };
  2049. int m;
  2050. } v1;
  2051. '
  2052. # Test code for whether the C compiler supports C11 (body of main).
  2053. ac_c_conftest_c11_main='
  2054. _Static_assert ((offsetof (struct anonymous, i)
  2055. == offsetof (struct anonymous, w.k)),
  2056. "Anonymous union alignment botch");
  2057. v1.i = 2;
  2058. v1.w.k = 5;
  2059. ok |= v1.i != 5;
  2060. '
  2061. # Test code for whether the C compiler supports C11 (complete).
  2062. ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
  2063. ${ac_c_conftest_c99_globals}
  2064. ${ac_c_conftest_c11_globals}
  2065. int
  2066. main (int argc, char **argv)
  2067. {
  2068. int ok = 0;
  2069. ${ac_c_conftest_c89_main}
  2070. ${ac_c_conftest_c99_main}
  2071. ${ac_c_conftest_c11_main}
  2072. return ok;
  2073. }
  2074. "
  2075. # Test code for whether the C compiler supports C99 (complete).
  2076. ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
  2077. ${ac_c_conftest_c99_globals}
  2078. int
  2079. main (int argc, char **argv)
  2080. {
  2081. int ok = 0;
  2082. ${ac_c_conftest_c89_main}
  2083. ${ac_c_conftest_c99_main}
  2084. return ok;
  2085. }
  2086. "
  2087. # Test code for whether the C compiler supports C89 (complete).
  2088. ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
  2089. int
  2090. main (int argc, char **argv)
  2091. {
  2092. int ok = 0;
  2093. ${ac_c_conftest_c89_main}
  2094. return ok;
  2095. }
  2096. "
  2097. as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
  2098. as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
  2099. as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
  2100. as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
  2101. as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
  2102. as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
  2103. as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
  2104. as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
  2105. as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
  2106. # Auxiliary files required by this configure script.
  2107. ac_aux_files="config.guess config.sub compile config.rpath missing install-sh"
  2108. # Locations in which to look for auxiliary files.
  2109. ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
  2110. # Search for a directory containing all of the required auxiliary files,
  2111. # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
  2112. # If we don't find one directory that contains all the files we need,
  2113. # we report the set of missing files from the *first* directory in
  2114. # $ac_aux_dir_candidates and give up.
  2115. ac_missing_aux_files=""
  2116. ac_first_candidate=:
  2117. printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
  2118. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2119. as_found=false
  2120. for as_dir in $ac_aux_dir_candidates
  2121. do
  2122. IFS=$as_save_IFS
  2123. case $as_dir in #(((
  2124. '') as_dir=./ ;;
  2125. */) ;;
  2126. *) as_dir=$as_dir/ ;;
  2127. esac
  2128. as_found=:
  2129. printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
  2130. ac_aux_dir_found=yes
  2131. ac_install_sh=
  2132. for ac_aux in $ac_aux_files
  2133. do
  2134. # As a special case, if "install-sh" is required, that requirement
  2135. # can be satisfied by any of "install-sh", "install.sh", or "shtool",
  2136. # and $ac_install_sh is set appropriately for whichever one is found.
  2137. if test x"$ac_aux" = x"install-sh"
  2138. then
  2139. if test -f "${as_dir}install-sh"; then
  2140. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
  2141. ac_install_sh="${as_dir}install-sh -c"
  2142. elif test -f "${as_dir}install.sh"; then
  2143. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
  2144. ac_install_sh="${as_dir}install.sh -c"
  2145. elif test -f "${as_dir}shtool"; then
  2146. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
  2147. ac_install_sh="${as_dir}shtool install -c"
  2148. else
  2149. ac_aux_dir_found=no
  2150. if $ac_first_candidate; then
  2151. ac_missing_aux_files="${ac_missing_aux_files} install-sh"
  2152. else
  2153. break
  2154. fi
  2155. fi
  2156. else
  2157. if test -f "${as_dir}${ac_aux}"; then
  2158. printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
  2159. else
  2160. ac_aux_dir_found=no
  2161. if $ac_first_candidate; then
  2162. ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
  2163. else
  2164. break
  2165. fi
  2166. fi
  2167. fi
  2168. done
  2169. if test "$ac_aux_dir_found" = yes; then
  2170. ac_aux_dir="$as_dir"
  2171. break
  2172. fi
  2173. ac_first_candidate=false
  2174. as_found=false
  2175. done
  2176. IFS=$as_save_IFS
  2177. if $as_found
  2178. then :
  2179. else $as_nop
  2180. as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
  2181. fi
  2182. # These three variables are undocumented and unsupported,
  2183. # and are intended to be withdrawn in a future Autoconf release.
  2184. # They can cause serious problems if a builder's source tree is in a directory
  2185. # whose full name contains unusual characters.
  2186. if test -f "${ac_aux_dir}config.guess"; then
  2187. ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
  2188. fi
  2189. if test -f "${ac_aux_dir}config.sub"; then
  2190. ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
  2191. fi
  2192. if test -f "$ac_aux_dir/configure"; then
  2193. ac_configure="$SHELL ${ac_aux_dir}configure"
  2194. fi
  2195. # Check that the precious variables saved in the cache have kept the same
  2196. # value.
  2197. ac_cache_corrupted=false
  2198. for ac_var in $ac_precious_vars; do
  2199. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2200. eval ac_new_set=\$ac_env_${ac_var}_set
  2201. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2202. eval ac_new_val=\$ac_env_${ac_var}_value
  2203. case $ac_old_set,$ac_new_set in
  2204. set,)
  2205. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2206. printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2207. ac_cache_corrupted=: ;;
  2208. ,set)
  2209. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2210. printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2211. ac_cache_corrupted=: ;;
  2212. ,);;
  2213. *)
  2214. if test "x$ac_old_val" != "x$ac_new_val"; then
  2215. # differences in whitespace do not lead to failure.
  2216. ac_old_val_w=`echo x $ac_old_val`
  2217. ac_new_val_w=`echo x $ac_new_val`
  2218. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2219. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2220. printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2221. ac_cache_corrupted=:
  2222. else
  2223. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2224. printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2225. eval $ac_var=\$ac_old_val
  2226. fi
  2227. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2228. printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
  2229. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2230. printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
  2231. fi;;
  2232. esac
  2233. # Pass precious variables to config.status.
  2234. if test "$ac_new_set" = set; then
  2235. case $ac_new_val in
  2236. *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2237. *) ac_arg=$ac_var=$ac_new_val ;;
  2238. esac
  2239. case " $ac_configure_args " in
  2240. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2241. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2242. esac
  2243. fi
  2244. done
  2245. if $ac_cache_corrupted; then
  2246. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2247. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  2248. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2249. printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
  2250. as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
  2251. and start over" "$LINENO" 5
  2252. fi
  2253. ## -------------------- ##
  2254. ## Main body of script. ##
  2255. ## -------------------- ##
  2256. ac_ext=c
  2257. ac_cpp='$CPP $CPPFLAGS'
  2258. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2259. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2260. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2261. am__api_version='1.16'
  2262. # Find a good install program. We prefer a C program (faster),
  2263. # so one script is as good as another. But avoid the broken or
  2264. # incompatible versions:
  2265. # SysV /etc/install, /usr/sbin/install
  2266. # SunOS /usr/etc/install
  2267. # IRIX /sbin/install
  2268. # AIX /bin/install
  2269. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2270. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2271. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2272. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2273. # OS/2's system install, which has a completely different semantic
  2274. # ./install, which can be erroneously created by make from ./install.sh.
  2275. # Reject install programs that cannot install multiple files.
  2276. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2277. printf %s "checking for a BSD-compatible install... " >&6; }
  2278. if test -z "$INSTALL"; then
  2279. if test ${ac_cv_path_install+y}
  2280. then :
  2281. printf %s "(cached) " >&6
  2282. else $as_nop
  2283. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2284. for as_dir in $PATH
  2285. do
  2286. IFS=$as_save_IFS
  2287. case $as_dir in #(((
  2288. '') as_dir=./ ;;
  2289. */) ;;
  2290. *) as_dir=$as_dir/ ;;
  2291. esac
  2292. # Account for fact that we put trailing slashes in our PATH walk.
  2293. case $as_dir in #((
  2294. ./ | /[cC]/* | \
  2295. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2296. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2297. /usr/ucb/* ) ;;
  2298. *)
  2299. # OSF1 and SCO ODT 3.0 have their own names for install.
  2300. # Don't use installbsd from OSF since it installs stuff as root
  2301. # by default.
  2302. for ac_prog in ginstall scoinst install; do
  2303. for ac_exec_ext in '' $ac_executable_extensions; do
  2304. if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
  2305. if test $ac_prog = install &&
  2306. grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2307. # AIX install. It has an incompatible calling convention.
  2308. :
  2309. elif test $ac_prog = install &&
  2310. grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2311. # program-specific install script used by HP pwplus--don't use.
  2312. :
  2313. else
  2314. rm -rf conftest.one conftest.two conftest.dir
  2315. echo one > conftest.one
  2316. echo two > conftest.two
  2317. mkdir conftest.dir
  2318. if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
  2319. test -s conftest.one && test -s conftest.two &&
  2320. test -s conftest.dir/conftest.one &&
  2321. test -s conftest.dir/conftest.two
  2322. then
  2323. ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
  2324. break 3
  2325. fi
  2326. fi
  2327. fi
  2328. done
  2329. done
  2330. ;;
  2331. esac
  2332. done
  2333. IFS=$as_save_IFS
  2334. rm -rf conftest.one conftest.two conftest.dir
  2335. fi
  2336. if test ${ac_cv_path_install+y}; then
  2337. INSTALL=$ac_cv_path_install
  2338. else
  2339. # As a last resort, use the slow shell script. Don't cache a
  2340. # value for INSTALL within a source directory, because that will
  2341. # break other packages using the cache if that directory is
  2342. # removed, or if the value is a relative name.
  2343. INSTALL=$ac_install_sh
  2344. fi
  2345. fi
  2346. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2347. printf "%s\n" "$INSTALL" >&6; }
  2348. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2349. # It thinks the first close brace ends the variable substitution.
  2350. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2351. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2352. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2353. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2354. printf %s "checking whether build environment is sane... " >&6; }
  2355. # Reject unsafe characters in $srcdir or the absolute working directory
  2356. # name. Accept space and tab only in the latter.
  2357. am_lf='
  2358. '
  2359. case `pwd` in
  2360. *[\\\"\#\$\&\'\`$am_lf]*)
  2361. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2362. esac
  2363. case $srcdir in
  2364. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2365. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2366. esac
  2367. # Do 'set' in a subshell so we don't clobber the current shell's
  2368. # arguments. Must try -L first in case configure is actually a
  2369. # symlink; some systems play weird games with the mod time of symlinks
  2370. # (eg FreeBSD returns the mod time of the symlink's containing
  2371. # directory).
  2372. if (
  2373. am_has_slept=no
  2374. for am_try in 1 2; do
  2375. echo "timestamp, slept: $am_has_slept" > conftest.file
  2376. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2377. if test "$*" = "X"; then
  2378. # -L didn't work.
  2379. set X `ls -t "$srcdir/configure" conftest.file`
  2380. fi
  2381. if test "$*" != "X $srcdir/configure conftest.file" \
  2382. && test "$*" != "X conftest.file $srcdir/configure"; then
  2383. # If neither matched, then we have a broken ls. This can happen
  2384. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2385. # broken ls alias from the environment. This has actually
  2386. # happened. Such a system could not be considered "sane".
  2387. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2388. alias in your environment" "$LINENO" 5
  2389. fi
  2390. if test "$2" = conftest.file || test $am_try -eq 2; then
  2391. break
  2392. fi
  2393. # Just in case.
  2394. sleep 1
  2395. am_has_slept=yes
  2396. done
  2397. test "$2" = conftest.file
  2398. )
  2399. then
  2400. # Ok.
  2401. :
  2402. else
  2403. as_fn_error $? "newly created file is older than distributed files!
  2404. Check your system clock" "$LINENO" 5
  2405. fi
  2406. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2407. printf "%s\n" "yes" >&6; }
  2408. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2409. # generated files are strictly newer.
  2410. am_sleep_pid=
  2411. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2412. ( sleep 1 ) &
  2413. am_sleep_pid=$!
  2414. fi
  2415. rm -f conftest.file
  2416. test "$program_prefix" != NONE &&
  2417. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2418. # Use a double $ so make ignores it.
  2419. test "$program_suffix" != NONE &&
  2420. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2421. # Double any \ or $.
  2422. # By default was `s,x,x', remove it if useless.
  2423. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2424. program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
  2425. # Expand $ac_aux_dir to an absolute path.
  2426. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2427. if test x"${MISSING+set}" != xset; then
  2428. MISSING="\${SHELL} '$am_aux_dir/missing'"
  2429. fi
  2430. # Use eval to expand $SHELL
  2431. if eval "$MISSING --is-lightweight"; then
  2432. am_missing_run="$MISSING "
  2433. else
  2434. am_missing_run=
  2435. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2436. printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2437. fi
  2438. if test x"${install_sh+set}" != xset; then
  2439. case $am_aux_dir in
  2440. *\ * | *\ *)
  2441. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2442. *)
  2443. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2444. esac
  2445. fi
  2446. # Installed binaries are usually stripped using 'strip' when the user
  2447. # run "make install-strip". However 'strip' might not be the right
  2448. # tool to use in cross-compilation environments, therefore Automake
  2449. # will honor the 'STRIP' environment variable to overrule this program.
  2450. if test "$cross_compiling" != no; then
  2451. if test -n "$ac_tool_prefix"; then
  2452. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2453. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2454. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2455. printf %s "checking for $ac_word... " >&6; }
  2456. if test ${ac_cv_prog_STRIP+y}
  2457. then :
  2458. printf %s "(cached) " >&6
  2459. else $as_nop
  2460. if test -n "$STRIP"; then
  2461. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2462. else
  2463. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2464. for as_dir in $PATH
  2465. do
  2466. IFS=$as_save_IFS
  2467. case $as_dir in #(((
  2468. '') as_dir=./ ;;
  2469. */) ;;
  2470. *) as_dir=$as_dir/ ;;
  2471. esac
  2472. for ac_exec_ext in '' $ac_executable_extensions; do
  2473. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  2474. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2475. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  2476. break 2
  2477. fi
  2478. done
  2479. done
  2480. IFS=$as_save_IFS
  2481. fi
  2482. fi
  2483. STRIP=$ac_cv_prog_STRIP
  2484. if test -n "$STRIP"; then
  2485. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2486. printf "%s\n" "$STRIP" >&6; }
  2487. else
  2488. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2489. printf "%s\n" "no" >&6; }
  2490. fi
  2491. fi
  2492. if test -z "$ac_cv_prog_STRIP"; then
  2493. ac_ct_STRIP=$STRIP
  2494. # Extract the first word of "strip", so it can be a program name with args.
  2495. set dummy strip; ac_word=$2
  2496. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2497. printf %s "checking for $ac_word... " >&6; }
  2498. if test ${ac_cv_prog_ac_ct_STRIP+y}
  2499. then :
  2500. printf %s "(cached) " >&6
  2501. else $as_nop
  2502. if test -n "$ac_ct_STRIP"; then
  2503. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2504. else
  2505. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2506. for as_dir in $PATH
  2507. do
  2508. IFS=$as_save_IFS
  2509. case $as_dir in #(((
  2510. '') as_dir=./ ;;
  2511. */) ;;
  2512. *) as_dir=$as_dir/ ;;
  2513. esac
  2514. for ac_exec_ext in '' $ac_executable_extensions; do
  2515. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  2516. ac_cv_prog_ac_ct_STRIP="strip"
  2517. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  2518. break 2
  2519. fi
  2520. done
  2521. done
  2522. IFS=$as_save_IFS
  2523. fi
  2524. fi
  2525. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2526. if test -n "$ac_ct_STRIP"; then
  2527. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2528. printf "%s\n" "$ac_ct_STRIP" >&6; }
  2529. else
  2530. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2531. printf "%s\n" "no" >&6; }
  2532. fi
  2533. if test "x$ac_ct_STRIP" = x; then
  2534. STRIP=":"
  2535. else
  2536. case $cross_compiling:$ac_tool_warned in
  2537. yes:)
  2538. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2539. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2540. ac_tool_warned=yes ;;
  2541. esac
  2542. STRIP=$ac_ct_STRIP
  2543. fi
  2544. else
  2545. STRIP="$ac_cv_prog_STRIP"
  2546. fi
  2547. fi
  2548. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2549. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
  2550. printf %s "checking for a race-free mkdir -p... " >&6; }
  2551. if test -z "$MKDIR_P"; then
  2552. if test ${ac_cv_path_mkdir+y}
  2553. then :
  2554. printf %s "(cached) " >&6
  2555. else $as_nop
  2556. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2557. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2558. do
  2559. IFS=$as_save_IFS
  2560. case $as_dir in #(((
  2561. '') as_dir=./ ;;
  2562. */) ;;
  2563. *) as_dir=$as_dir/ ;;
  2564. esac
  2565. for ac_prog in mkdir gmkdir; do
  2566. for ac_exec_ext in '' $ac_executable_extensions; do
  2567. as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
  2568. case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2569. 'mkdir ('*'coreutils) '* | \
  2570. 'BusyBox '* | \
  2571. 'mkdir (fileutils) '4.1*)
  2572. ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
  2573. break 3;;
  2574. esac
  2575. done
  2576. done
  2577. done
  2578. IFS=$as_save_IFS
  2579. fi
  2580. test -d ./--version && rmdir ./--version
  2581. if test ${ac_cv_path_mkdir+y}; then
  2582. MKDIR_P="$ac_cv_path_mkdir -p"
  2583. else
  2584. # As a last resort, use the slow shell script. Don't cache a
  2585. # value for MKDIR_P within a source directory, because that will
  2586. # break other packages using the cache if that directory is
  2587. # removed, or if the value is a relative name.
  2588. MKDIR_P="$ac_install_sh -d"
  2589. fi
  2590. fi
  2591. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2592. printf "%s\n" "$MKDIR_P" >&6; }
  2593. for ac_prog in gawk mawk nawk awk
  2594. do
  2595. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2596. set dummy $ac_prog; ac_word=$2
  2597. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2598. printf %s "checking for $ac_word... " >&6; }
  2599. if test ${ac_cv_prog_AWK+y}
  2600. then :
  2601. printf %s "(cached) " >&6
  2602. else $as_nop
  2603. if test -n "$AWK"; then
  2604. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2605. else
  2606. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2607. for as_dir in $PATH
  2608. do
  2609. IFS=$as_save_IFS
  2610. case $as_dir in #(((
  2611. '') as_dir=./ ;;
  2612. */) ;;
  2613. *) as_dir=$as_dir/ ;;
  2614. esac
  2615. for ac_exec_ext in '' $ac_executable_extensions; do
  2616. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  2617. ac_cv_prog_AWK="$ac_prog"
  2618. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  2619. break 2
  2620. fi
  2621. done
  2622. done
  2623. IFS=$as_save_IFS
  2624. fi
  2625. fi
  2626. AWK=$ac_cv_prog_AWK
  2627. if test -n "$AWK"; then
  2628. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2629. printf "%s\n" "$AWK" >&6; }
  2630. else
  2631. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2632. printf "%s\n" "no" >&6; }
  2633. fi
  2634. test -n "$AWK" && break
  2635. done
  2636. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2637. printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2638. set x ${MAKE-make}
  2639. ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2640. if eval test \${ac_cv_prog_make_${ac_make}_set+y}
  2641. then :
  2642. printf %s "(cached) " >&6
  2643. else $as_nop
  2644. cat >conftest.make <<\_ACEOF
  2645. SHELL = /bin/sh
  2646. all:
  2647. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2648. _ACEOF
  2649. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2650. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2651. *@@@%%%=?*=@@@%%%*)
  2652. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2653. *)
  2654. eval ac_cv_prog_make_${ac_make}_set=no;;
  2655. esac
  2656. rm -f conftest.make
  2657. fi
  2658. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2659. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2660. printf "%s\n" "yes" >&6; }
  2661. SET_MAKE=
  2662. else
  2663. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2664. printf "%s\n" "no" >&6; }
  2665. SET_MAKE="MAKE=${MAKE-make}"
  2666. fi
  2667. rm -rf .tst 2>/dev/null
  2668. mkdir .tst 2>/dev/null
  2669. if test -d .tst; then
  2670. am__leading_dot=.
  2671. else
  2672. am__leading_dot=_
  2673. fi
  2674. rmdir .tst 2>/dev/null
  2675. # Check whether --enable-silent-rules was given.
  2676. if test ${enable_silent_rules+y}
  2677. then :
  2678. enableval=$enable_silent_rules;
  2679. fi
  2680. case $enable_silent_rules in # (((
  2681. yes) AM_DEFAULT_VERBOSITY=0;;
  2682. no) AM_DEFAULT_VERBOSITY=1;;
  2683. *) AM_DEFAULT_VERBOSITY=1;;
  2684. esac
  2685. am_make=${MAKE-make}
  2686. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2687. printf %s "checking whether $am_make supports nested variables... " >&6; }
  2688. if test ${am_cv_make_support_nested_variables+y}
  2689. then :
  2690. printf %s "(cached) " >&6
  2691. else $as_nop
  2692. if printf "%s\n" 'TRUE=$(BAR$(V))
  2693. BAR0=false
  2694. BAR1=true
  2695. V=1
  2696. am__doit:
  2697. @$(TRUE)
  2698. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2699. am_cv_make_support_nested_variables=yes
  2700. else
  2701. am_cv_make_support_nested_variables=no
  2702. fi
  2703. fi
  2704. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2705. printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
  2706. if test $am_cv_make_support_nested_variables = yes; then
  2707. AM_V='$(V)'
  2708. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2709. else
  2710. AM_V=$AM_DEFAULT_VERBOSITY
  2711. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2712. fi
  2713. AM_BACKSLASH='\'
  2714. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2715. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2716. # is not polluted with repeated "-I."
  2717. am__isrc=' -I$(srcdir)'
  2718. # test to see if srcdir already configured
  2719. if test -f $srcdir/config.status; then
  2720. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2721. fi
  2722. fi
  2723. # test whether we have cygpath
  2724. if test -z "$CYGPATH_W"; then
  2725. if (cygpath --version) >/dev/null 2>/dev/null; then
  2726. CYGPATH_W='cygpath -w'
  2727. else
  2728. CYGPATH_W=echo
  2729. fi
  2730. fi
  2731. # Define the identity of the package.
  2732. PACKAGE='fulci'
  2733. VERSION='0.9.4'
  2734. printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
  2735. printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
  2736. # Some tools Automake needs.
  2737. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2738. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2739. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2740. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2741. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2742. # For better backward compatibility. To be removed once Automake 1.9.x
  2743. # dies out for good. For more background, see:
  2744. # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2745. # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2746. mkdir_p='$(MKDIR_P)'
  2747. # We need awk for the "check" target (and possibly the TAP driver). The
  2748. # system "awk" is bad on some platforms.
  2749. # Always define AMTAR for backward compatibility. Yes, it's still used
  2750. # in the wild :-( We should find a proper way to deprecate it ...
  2751. AMTAR='$${TAR-tar}'
  2752. # We'll loop over all known methods to create a tar archive until one works.
  2753. _am_tools='gnutar pax cpio none'
  2754. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2755. # Variables for tags utilities; see am/tags.am
  2756. if test -z "$CTAGS"; then
  2757. CTAGS=ctags
  2758. fi
  2759. if test -z "$ETAGS"; then
  2760. ETAGS=etags
  2761. fi
  2762. if test -z "$CSCOPE"; then
  2763. CSCOPE=cscope
  2764. fi
  2765. # POSIX will say in a future version that running "rm -f" with no argument
  2766. # is OK; and we want to be able to make that assumption in our Makefile
  2767. # recipes. So use an aggressive probe to check that the usage we want is
  2768. # actually supported "in the wild" to an acceptable degree.
  2769. # See automake bug#10828.
  2770. # To make any issue more visible, cause the running configure to be aborted
  2771. # by default if the 'rm' program in use doesn't match our expectations; the
  2772. # user can still override this though.
  2773. if rm -f && rm -fr && rm -rf; then : OK; else
  2774. cat >&2 <<'END'
  2775. Oops!
  2776. Your 'rm' program seems unable to run without file operands specified
  2777. on the command line, even when the '-f' option is present. This is contrary
  2778. to the behaviour of most rm programs out there, and not conforming with
  2779. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2780. Please tell bug-automake@gnu.org about your system, including the value
  2781. of your $PATH and any error possibly output before this message. This
  2782. can help us improve future automake versions.
  2783. END
  2784. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2785. echo 'Configuration will proceed anyway, since you have set the' >&2
  2786. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2787. echo >&2
  2788. else
  2789. cat >&2 <<'END'
  2790. Aborting the configuration process, to ensure you take notice of the issue.
  2791. You can download and install GNU coreutils to get an 'rm' implementation
  2792. that behaves properly: <https://www.gnu.org/software/coreutils/>.
  2793. If you want to complete the configuration process using your problematic
  2794. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2795. to "yes", and re-run configure.
  2796. END
  2797. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2798. fi
  2799. fi
  2800. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  2801. printf %s "checking for a sed that does not truncate output... " >&6; }
  2802. if test ${ac_cv_path_SED+y}
  2803. then :
  2804. printf %s "(cached) " >&6
  2805. else $as_nop
  2806. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  2807. for ac_i in 1 2 3 4 5 6 7; do
  2808. ac_script="$ac_script$as_nl$ac_script"
  2809. done
  2810. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  2811. { ac_script=; unset ac_script;}
  2812. if test -z "$SED"; then
  2813. ac_path_SED_found=false
  2814. # Loop through the user's path and test for each of PROGNAME-LIST
  2815. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2816. for as_dir in $PATH
  2817. do
  2818. IFS=$as_save_IFS
  2819. case $as_dir in #(((
  2820. '') as_dir=./ ;;
  2821. */) ;;
  2822. *) as_dir=$as_dir/ ;;
  2823. esac
  2824. for ac_prog in sed gsed
  2825. do
  2826. for ac_exec_ext in '' $ac_executable_extensions; do
  2827. ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
  2828. as_fn_executable_p "$ac_path_SED" || continue
  2829. # Check for GNU ac_path_SED and select it if it is found.
  2830. # Check for GNU $ac_path_SED
  2831. case `"$ac_path_SED" --version 2>&1` in
  2832. *GNU*)
  2833. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  2834. *)
  2835. ac_count=0
  2836. printf %s 0123456789 >"conftest.in"
  2837. while :
  2838. do
  2839. cat "conftest.in" "conftest.in" >"conftest.tmp"
  2840. mv "conftest.tmp" "conftest.in"
  2841. cp "conftest.in" "conftest.nl"
  2842. printf "%s\n" '' >> "conftest.nl"
  2843. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  2844. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  2845. as_fn_arith $ac_count + 1 && ac_count=$as_val
  2846. if test $ac_count -gt ${ac_path_SED_max-0}; then
  2847. # Best one so far, save it but keep looking for a better one
  2848. ac_cv_path_SED="$ac_path_SED"
  2849. ac_path_SED_max=$ac_count
  2850. fi
  2851. # 10*(2^10) chars as input seems more than enough
  2852. test $ac_count -gt 10 && break
  2853. done
  2854. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  2855. esac
  2856. $ac_path_SED_found && break 3
  2857. done
  2858. done
  2859. done
  2860. IFS=$as_save_IFS
  2861. if test -z "$ac_cv_path_SED"; then
  2862. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  2863. fi
  2864. else
  2865. ac_cv_path_SED=$SED
  2866. fi
  2867. fi
  2868. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  2869. printf "%s\n" "$ac_cv_path_SED" >&6; }
  2870. SED="$ac_cv_path_SED"
  2871. rm -f conftest.sed
  2872. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  2873. printf %s "checking whether NLS is requested... " >&6; }
  2874. # Check whether --enable-nls was given.
  2875. if test ${enable_nls+y}
  2876. then :
  2877. enableval=$enable_nls; USE_NLS=$enableval
  2878. else $as_nop
  2879. USE_NLS=yes
  2880. fi
  2881. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
  2882. printf "%s\n" "$USE_NLS" >&6; }
  2883. GETTEXT_MACRO_VERSION=0.19
  2884. # Prepare PATH_SEPARATOR.
  2885. # The user is always right.
  2886. if test "${PATH_SEPARATOR+set}" != set; then
  2887. # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  2888. # contains only /bin. Note that ksh looks also at the FPATH variable,
  2889. # so we have to set that as well for the test.
  2890. PATH_SEPARATOR=:
  2891. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  2892. && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  2893. || PATH_SEPARATOR=';'
  2894. }
  2895. fi
  2896. # Find out how to test for executable files. Don't use a zero-byte file,
  2897. # as systems may use methods other than mode bits to determine executability.
  2898. cat >conf$$.file <<_ASEOF
  2899. #! /bin/sh
  2900. exit 0
  2901. _ASEOF
  2902. chmod +x conf$$.file
  2903. if test -x conf$$.file >/dev/null 2>&1; then
  2904. ac_executable_p="test -x"
  2905. else
  2906. ac_executable_p="test -f"
  2907. fi
  2908. rm -f conf$$.file
  2909. # Extract the first word of "msgfmt", so it can be a program name with args.
  2910. set dummy msgfmt; ac_word=$2
  2911. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2912. printf %s "checking for $ac_word... " >&6; }
  2913. if test ${ac_cv_path_MSGFMT+y}
  2914. then :
  2915. printf %s "(cached) " >&6
  2916. else $as_nop
  2917. case "$MSGFMT" in
  2918. [\\/]* | ?:[\\/]*)
  2919. ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  2920. ;;
  2921. *)
  2922. ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  2923. for ac_dir in $PATH; do
  2924. IFS="$ac_save_IFS"
  2925. test -z "$ac_dir" && ac_dir=.
  2926. for ac_exec_ext in '' $ac_executable_extensions; do
  2927. if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  2928. echo "$as_me: trying $ac_dir/$ac_word..." >&5
  2929. if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
  2930. (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  2931. ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
  2932. break 2
  2933. fi
  2934. fi
  2935. done
  2936. done
  2937. IFS="$ac_save_IFS"
  2938. test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  2939. ;;
  2940. esac
  2941. fi
  2942. MSGFMT="$ac_cv_path_MSGFMT"
  2943. if test "$MSGFMT" != ":"; then
  2944. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  2945. printf "%s\n" "$MSGFMT" >&6; }
  2946. else
  2947. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2948. printf "%s\n" "no" >&6; }
  2949. fi
  2950. # Extract the first word of "gmsgfmt", so it can be a program name with args.
  2951. set dummy gmsgfmt; ac_word=$2
  2952. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2953. printf %s "checking for $ac_word... " >&6; }
  2954. if test ${ac_cv_path_GMSGFMT+y}
  2955. then :
  2956. printf %s "(cached) " >&6
  2957. else $as_nop
  2958. case $GMSGFMT in
  2959. [\\/]* | ?:[\\/]*)
  2960. ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  2961. ;;
  2962. *)
  2963. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2964. for as_dir in $PATH
  2965. do
  2966. IFS=$as_save_IFS
  2967. case $as_dir in #(((
  2968. '') as_dir=./ ;;
  2969. */) ;;
  2970. *) as_dir=$as_dir/ ;;
  2971. esac
  2972. for ac_exec_ext in '' $ac_executable_extensions; do
  2973. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  2974. ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
  2975. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  2976. break 2
  2977. fi
  2978. done
  2979. done
  2980. IFS=$as_save_IFS
  2981. test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  2982. ;;
  2983. esac
  2984. fi
  2985. GMSGFMT=$ac_cv_path_GMSGFMT
  2986. if test -n "$GMSGFMT"; then
  2987. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
  2988. printf "%s\n" "$GMSGFMT" >&6; }
  2989. else
  2990. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2991. printf "%s\n" "no" >&6; }
  2992. fi
  2993. case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
  2994. '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
  2995. *) MSGFMT_015=$MSGFMT ;;
  2996. esac
  2997. case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
  2998. '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
  2999. *) GMSGFMT_015=$GMSGFMT ;;
  3000. esac
  3001. # Prepare PATH_SEPARATOR.
  3002. # The user is always right.
  3003. if test "${PATH_SEPARATOR+set}" != set; then
  3004. # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  3005. # contains only /bin. Note that ksh looks also at the FPATH variable,
  3006. # so we have to set that as well for the test.
  3007. PATH_SEPARATOR=:
  3008. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  3009. && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  3010. || PATH_SEPARATOR=';'
  3011. }
  3012. fi
  3013. # Find out how to test for executable files. Don't use a zero-byte file,
  3014. # as systems may use methods other than mode bits to determine executability.
  3015. cat >conf$$.file <<_ASEOF
  3016. #! /bin/sh
  3017. exit 0
  3018. _ASEOF
  3019. chmod +x conf$$.file
  3020. if test -x conf$$.file >/dev/null 2>&1; then
  3021. ac_executable_p="test -x"
  3022. else
  3023. ac_executable_p="test -f"
  3024. fi
  3025. rm -f conf$$.file
  3026. # Extract the first word of "xgettext", so it can be a program name with args.
  3027. set dummy xgettext; ac_word=$2
  3028. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3029. printf %s "checking for $ac_word... " >&6; }
  3030. if test ${ac_cv_path_XGETTEXT+y}
  3031. then :
  3032. printf %s "(cached) " >&6
  3033. else $as_nop
  3034. case "$XGETTEXT" in
  3035. [\\/]* | ?:[\\/]*)
  3036. ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  3037. ;;
  3038. *)
  3039. ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  3040. for ac_dir in $PATH; do
  3041. IFS="$ac_save_IFS"
  3042. test -z "$ac_dir" && ac_dir=.
  3043. for ac_exec_ext in '' $ac_executable_extensions; do
  3044. if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  3045. echo "$as_me: trying $ac_dir/$ac_word..." >&5
  3046. if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
  3047. (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  3048. ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
  3049. break 2
  3050. fi
  3051. fi
  3052. done
  3053. done
  3054. IFS="$ac_save_IFS"
  3055. test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  3056. ;;
  3057. esac
  3058. fi
  3059. XGETTEXT="$ac_cv_path_XGETTEXT"
  3060. if test "$XGETTEXT" != ":"; then
  3061. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
  3062. printf "%s\n" "$XGETTEXT" >&6; }
  3063. else
  3064. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3065. printf "%s\n" "no" >&6; }
  3066. fi
  3067. rm -f messages.po
  3068. case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
  3069. '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
  3070. *) XGETTEXT_015=$XGETTEXT ;;
  3071. esac
  3072. # Prepare PATH_SEPARATOR.
  3073. # The user is always right.
  3074. if test "${PATH_SEPARATOR+set}" != set; then
  3075. # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  3076. # contains only /bin. Note that ksh looks also at the FPATH variable,
  3077. # so we have to set that as well for the test.
  3078. PATH_SEPARATOR=:
  3079. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  3080. && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  3081. || PATH_SEPARATOR=';'
  3082. }
  3083. fi
  3084. # Find out how to test for executable files. Don't use a zero-byte file,
  3085. # as systems may use methods other than mode bits to determine executability.
  3086. cat >conf$$.file <<_ASEOF
  3087. #! /bin/sh
  3088. exit 0
  3089. _ASEOF
  3090. chmod +x conf$$.file
  3091. if test -x conf$$.file >/dev/null 2>&1; then
  3092. ac_executable_p="test -x"
  3093. else
  3094. ac_executable_p="test -f"
  3095. fi
  3096. rm -f conf$$.file
  3097. # Extract the first word of "msgmerge", so it can be a program name with args.
  3098. set dummy msgmerge; ac_word=$2
  3099. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3100. printf %s "checking for $ac_word... " >&6; }
  3101. if test ${ac_cv_path_MSGMERGE+y}
  3102. then :
  3103. printf %s "(cached) " >&6
  3104. else $as_nop
  3105. case "$MSGMERGE" in
  3106. [\\/]* | ?:[\\/]*)
  3107. ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
  3108. ;;
  3109. *)
  3110. ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  3111. for ac_dir in $PATH; do
  3112. IFS="$ac_save_IFS"
  3113. test -z "$ac_dir" && ac_dir=.
  3114. for ac_exec_ext in '' $ac_executable_extensions; do
  3115. if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  3116. echo "$as_me: trying $ac_dir/$ac_word..." >&5
  3117. if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
  3118. ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
  3119. break 2
  3120. fi
  3121. fi
  3122. done
  3123. done
  3124. IFS="$ac_save_IFS"
  3125. test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
  3126. ;;
  3127. esac
  3128. fi
  3129. MSGMERGE="$ac_cv_path_MSGMERGE"
  3130. if test "$MSGMERGE" != ":"; then
  3131. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
  3132. printf "%s\n" "$MSGMERGE" >&6; }
  3133. else
  3134. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3135. printf "%s\n" "no" >&6; }
  3136. fi
  3137. test -n "$localedir" || localedir='${datadir}/locale'
  3138. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
  3139. ac_config_commands="$ac_config_commands po-directories"
  3140. if test "X$prefix" = "XNONE"; then
  3141. acl_final_prefix="$ac_default_prefix"
  3142. else
  3143. acl_final_prefix="$prefix"
  3144. fi
  3145. if test "X$exec_prefix" = "XNONE"; then
  3146. acl_final_exec_prefix='${prefix}'
  3147. else
  3148. acl_final_exec_prefix="$exec_prefix"
  3149. fi
  3150. acl_save_prefix="$prefix"
  3151. prefix="$acl_final_prefix"
  3152. eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  3153. prefix="$acl_save_prefix"
  3154. DEPDIR="${am__leading_dot}deps"
  3155. ac_config_commands="$ac_config_commands depfiles"
  3156. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  3157. printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
  3158. cat > confinc.mk << 'END'
  3159. am__doit:
  3160. @echo this is the am__doit target >confinc.out
  3161. .PHONY: am__doit
  3162. END
  3163. am__include="#"
  3164. am__quote=
  3165. # BSD make does it like this.
  3166. echo '.include "confinc.mk" # ignored' > confmf.BSD
  3167. # Other make implementations (GNU, Solaris 10, AIX) do it like this.
  3168. echo 'include confinc.mk # ignored' > confmf.GNU
  3169. _am_result=no
  3170. for s in GNU BSD; do
  3171. { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  3172. (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  3173. ac_status=$?
  3174. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3175. (exit $ac_status); }
  3176. case $?:`cat confinc.out 2>/dev/null` in #(
  3177. '0:this is the am__doit target') :
  3178. case $s in #(
  3179. BSD) :
  3180. am__include='.include' am__quote='"' ;; #(
  3181. *) :
  3182. am__include='include' am__quote='' ;;
  3183. esac ;; #(
  3184. *) :
  3185. ;;
  3186. esac
  3187. if test "$am__include" != "#"; then
  3188. _am_result="yes ($s style)"
  3189. break
  3190. fi
  3191. done
  3192. rm -f confinc.* confmf.*
  3193. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  3194. printf "%s\n" "${_am_result}" >&6; }
  3195. # Check whether --enable-dependency-tracking was given.
  3196. if test ${enable_dependency_tracking+y}
  3197. then :
  3198. enableval=$enable_dependency_tracking;
  3199. fi
  3200. if test "x$enable_dependency_tracking" != xno; then
  3201. am_depcomp="$ac_aux_dir/depcomp"
  3202. AMDEPBACKSLASH='\'
  3203. am__nodep='_no'
  3204. fi
  3205. if test "x$enable_dependency_tracking" != xno; then
  3206. AMDEP_TRUE=
  3207. AMDEP_FALSE='#'
  3208. else
  3209. AMDEP_TRUE='#'
  3210. AMDEP_FALSE=
  3211. fi
  3212. ac_ext=c
  3213. ac_cpp='$CPP $CPPFLAGS'
  3214. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3215. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3216. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3217. if test -n "$ac_tool_prefix"; then
  3218. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3219. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3220. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3221. printf %s "checking for $ac_word... " >&6; }
  3222. if test ${ac_cv_prog_CC+y}
  3223. then :
  3224. printf %s "(cached) " >&6
  3225. else $as_nop
  3226. if test -n "$CC"; then
  3227. ac_cv_prog_CC="$CC" # Let the user override the test.
  3228. else
  3229. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3230. for as_dir in $PATH
  3231. do
  3232. IFS=$as_save_IFS
  3233. case $as_dir in #(((
  3234. '') as_dir=./ ;;
  3235. */) ;;
  3236. *) as_dir=$as_dir/ ;;
  3237. esac
  3238. for ac_exec_ext in '' $ac_executable_extensions; do
  3239. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3240. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3241. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3242. break 2
  3243. fi
  3244. done
  3245. done
  3246. IFS=$as_save_IFS
  3247. fi
  3248. fi
  3249. CC=$ac_cv_prog_CC
  3250. if test -n "$CC"; then
  3251. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3252. printf "%s\n" "$CC" >&6; }
  3253. else
  3254. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3255. printf "%s\n" "no" >&6; }
  3256. fi
  3257. fi
  3258. if test -z "$ac_cv_prog_CC"; then
  3259. ac_ct_CC=$CC
  3260. # Extract the first word of "gcc", so it can be a program name with args.
  3261. set dummy gcc; ac_word=$2
  3262. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3263. printf %s "checking for $ac_word... " >&6; }
  3264. if test ${ac_cv_prog_ac_ct_CC+y}
  3265. then :
  3266. printf %s "(cached) " >&6
  3267. else $as_nop
  3268. if test -n "$ac_ct_CC"; then
  3269. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3270. else
  3271. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3272. for as_dir in $PATH
  3273. do
  3274. IFS=$as_save_IFS
  3275. case $as_dir in #(((
  3276. '') as_dir=./ ;;
  3277. */) ;;
  3278. *) as_dir=$as_dir/ ;;
  3279. esac
  3280. for ac_exec_ext in '' $ac_executable_extensions; do
  3281. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3282. ac_cv_prog_ac_ct_CC="gcc"
  3283. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3284. break 2
  3285. fi
  3286. done
  3287. done
  3288. IFS=$as_save_IFS
  3289. fi
  3290. fi
  3291. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3292. if test -n "$ac_ct_CC"; then
  3293. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3294. printf "%s\n" "$ac_ct_CC" >&6; }
  3295. else
  3296. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3297. printf "%s\n" "no" >&6; }
  3298. fi
  3299. if test "x$ac_ct_CC" = x; then
  3300. CC=""
  3301. else
  3302. case $cross_compiling:$ac_tool_warned in
  3303. yes:)
  3304. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3305. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3306. ac_tool_warned=yes ;;
  3307. esac
  3308. CC=$ac_ct_CC
  3309. fi
  3310. else
  3311. CC="$ac_cv_prog_CC"
  3312. fi
  3313. if test -z "$CC"; then
  3314. if test -n "$ac_tool_prefix"; then
  3315. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3316. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3317. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3318. printf %s "checking for $ac_word... " >&6; }
  3319. if test ${ac_cv_prog_CC+y}
  3320. then :
  3321. printf %s "(cached) " >&6
  3322. else $as_nop
  3323. if test -n "$CC"; then
  3324. ac_cv_prog_CC="$CC" # Let the user override the test.
  3325. else
  3326. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3327. for as_dir in $PATH
  3328. do
  3329. IFS=$as_save_IFS
  3330. case $as_dir in #(((
  3331. '') as_dir=./ ;;
  3332. */) ;;
  3333. *) as_dir=$as_dir/ ;;
  3334. esac
  3335. for ac_exec_ext in '' $ac_executable_extensions; do
  3336. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3337. ac_cv_prog_CC="${ac_tool_prefix}cc"
  3338. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3339. break 2
  3340. fi
  3341. done
  3342. done
  3343. IFS=$as_save_IFS
  3344. fi
  3345. fi
  3346. CC=$ac_cv_prog_CC
  3347. if test -n "$CC"; then
  3348. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3349. printf "%s\n" "$CC" >&6; }
  3350. else
  3351. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3352. printf "%s\n" "no" >&6; }
  3353. fi
  3354. fi
  3355. fi
  3356. if test -z "$CC"; then
  3357. # Extract the first word of "cc", so it can be a program name with args.
  3358. set dummy cc; ac_word=$2
  3359. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3360. printf %s "checking for $ac_word... " >&6; }
  3361. if test ${ac_cv_prog_CC+y}
  3362. then :
  3363. printf %s "(cached) " >&6
  3364. else $as_nop
  3365. if test -n "$CC"; then
  3366. ac_cv_prog_CC="$CC" # Let the user override the test.
  3367. else
  3368. ac_prog_rejected=no
  3369. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3370. for as_dir in $PATH
  3371. do
  3372. IFS=$as_save_IFS
  3373. case $as_dir in #(((
  3374. '') as_dir=./ ;;
  3375. */) ;;
  3376. *) as_dir=$as_dir/ ;;
  3377. esac
  3378. for ac_exec_ext in '' $ac_executable_extensions; do
  3379. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3380. if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3381. ac_prog_rejected=yes
  3382. continue
  3383. fi
  3384. ac_cv_prog_CC="cc"
  3385. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3386. break 2
  3387. fi
  3388. done
  3389. done
  3390. IFS=$as_save_IFS
  3391. if test $ac_prog_rejected = yes; then
  3392. # We found a bogon in the path, so make sure we never use it.
  3393. set dummy $ac_cv_prog_CC
  3394. shift
  3395. if test $# != 0; then
  3396. # We chose a different compiler from the bogus one.
  3397. # However, it has the same basename, so the bogon will be chosen
  3398. # first if we set CC to just the basename; use the full file name.
  3399. shift
  3400. ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
  3401. fi
  3402. fi
  3403. fi
  3404. fi
  3405. CC=$ac_cv_prog_CC
  3406. if test -n "$CC"; then
  3407. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3408. printf "%s\n" "$CC" >&6; }
  3409. else
  3410. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3411. printf "%s\n" "no" >&6; }
  3412. fi
  3413. fi
  3414. if test -z "$CC"; then
  3415. if test -n "$ac_tool_prefix"; then
  3416. for ac_prog in cl.exe
  3417. do
  3418. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3419. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3420. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3421. printf %s "checking for $ac_word... " >&6; }
  3422. if test ${ac_cv_prog_CC+y}
  3423. then :
  3424. printf %s "(cached) " >&6
  3425. else $as_nop
  3426. if test -n "$CC"; then
  3427. ac_cv_prog_CC="$CC" # Let the user override the test.
  3428. else
  3429. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3430. for as_dir in $PATH
  3431. do
  3432. IFS=$as_save_IFS
  3433. case $as_dir in #(((
  3434. '') as_dir=./ ;;
  3435. */) ;;
  3436. *) as_dir=$as_dir/ ;;
  3437. esac
  3438. for ac_exec_ext in '' $ac_executable_extensions; do
  3439. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3440. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3441. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3442. break 2
  3443. fi
  3444. done
  3445. done
  3446. IFS=$as_save_IFS
  3447. fi
  3448. fi
  3449. CC=$ac_cv_prog_CC
  3450. if test -n "$CC"; then
  3451. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3452. printf "%s\n" "$CC" >&6; }
  3453. else
  3454. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3455. printf "%s\n" "no" >&6; }
  3456. fi
  3457. test -n "$CC" && break
  3458. done
  3459. fi
  3460. if test -z "$CC"; then
  3461. ac_ct_CC=$CC
  3462. for ac_prog in cl.exe
  3463. do
  3464. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3465. set dummy $ac_prog; ac_word=$2
  3466. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3467. printf %s "checking for $ac_word... " >&6; }
  3468. if test ${ac_cv_prog_ac_ct_CC+y}
  3469. then :
  3470. printf %s "(cached) " >&6
  3471. else $as_nop
  3472. if test -n "$ac_ct_CC"; then
  3473. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3474. else
  3475. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3476. for as_dir in $PATH
  3477. do
  3478. IFS=$as_save_IFS
  3479. case $as_dir in #(((
  3480. '') as_dir=./ ;;
  3481. */) ;;
  3482. *) as_dir=$as_dir/ ;;
  3483. esac
  3484. for ac_exec_ext in '' $ac_executable_extensions; do
  3485. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3486. ac_cv_prog_ac_ct_CC="$ac_prog"
  3487. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3488. break 2
  3489. fi
  3490. done
  3491. done
  3492. IFS=$as_save_IFS
  3493. fi
  3494. fi
  3495. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3496. if test -n "$ac_ct_CC"; then
  3497. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3498. printf "%s\n" "$ac_ct_CC" >&6; }
  3499. else
  3500. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3501. printf "%s\n" "no" >&6; }
  3502. fi
  3503. test -n "$ac_ct_CC" && break
  3504. done
  3505. if test "x$ac_ct_CC" = x; then
  3506. CC=""
  3507. else
  3508. case $cross_compiling:$ac_tool_warned in
  3509. yes:)
  3510. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3511. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3512. ac_tool_warned=yes ;;
  3513. esac
  3514. CC=$ac_ct_CC
  3515. fi
  3516. fi
  3517. fi
  3518. if test -z "$CC"; then
  3519. if test -n "$ac_tool_prefix"; then
  3520. # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
  3521. set dummy ${ac_tool_prefix}clang; ac_word=$2
  3522. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3523. printf %s "checking for $ac_word... " >&6; }
  3524. if test ${ac_cv_prog_CC+y}
  3525. then :
  3526. printf %s "(cached) " >&6
  3527. else $as_nop
  3528. if test -n "$CC"; then
  3529. ac_cv_prog_CC="$CC" # Let the user override the test.
  3530. else
  3531. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3532. for as_dir in $PATH
  3533. do
  3534. IFS=$as_save_IFS
  3535. case $as_dir in #(((
  3536. '') as_dir=./ ;;
  3537. */) ;;
  3538. *) as_dir=$as_dir/ ;;
  3539. esac
  3540. for ac_exec_ext in '' $ac_executable_extensions; do
  3541. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3542. ac_cv_prog_CC="${ac_tool_prefix}clang"
  3543. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3544. break 2
  3545. fi
  3546. done
  3547. done
  3548. IFS=$as_save_IFS
  3549. fi
  3550. fi
  3551. CC=$ac_cv_prog_CC
  3552. if test -n "$CC"; then
  3553. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3554. printf "%s\n" "$CC" >&6; }
  3555. else
  3556. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3557. printf "%s\n" "no" >&6; }
  3558. fi
  3559. fi
  3560. if test -z "$ac_cv_prog_CC"; then
  3561. ac_ct_CC=$CC
  3562. # Extract the first word of "clang", so it can be a program name with args.
  3563. set dummy clang; ac_word=$2
  3564. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3565. printf %s "checking for $ac_word... " >&6; }
  3566. if test ${ac_cv_prog_ac_ct_CC+y}
  3567. then :
  3568. printf %s "(cached) " >&6
  3569. else $as_nop
  3570. if test -n "$ac_ct_CC"; then
  3571. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3572. else
  3573. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3574. for as_dir in $PATH
  3575. do
  3576. IFS=$as_save_IFS
  3577. case $as_dir in #(((
  3578. '') as_dir=./ ;;
  3579. */) ;;
  3580. *) as_dir=$as_dir/ ;;
  3581. esac
  3582. for ac_exec_ext in '' $ac_executable_extensions; do
  3583. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  3584. ac_cv_prog_ac_ct_CC="clang"
  3585. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  3586. break 2
  3587. fi
  3588. done
  3589. done
  3590. IFS=$as_save_IFS
  3591. fi
  3592. fi
  3593. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3594. if test -n "$ac_ct_CC"; then
  3595. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3596. printf "%s\n" "$ac_ct_CC" >&6; }
  3597. else
  3598. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3599. printf "%s\n" "no" >&6; }
  3600. fi
  3601. if test "x$ac_ct_CC" = x; then
  3602. CC=""
  3603. else
  3604. case $cross_compiling:$ac_tool_warned in
  3605. yes:)
  3606. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3607. printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3608. ac_tool_warned=yes ;;
  3609. esac
  3610. CC=$ac_ct_CC
  3611. fi
  3612. else
  3613. CC="$ac_cv_prog_CC"
  3614. fi
  3615. fi
  3616. test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3617. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3618. as_fn_error $? "no acceptable C compiler found in \$PATH
  3619. See \`config.log' for more details" "$LINENO" 5; }
  3620. # Provide some information about the compiler.
  3621. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3622. set X $ac_compile
  3623. ac_compiler=$2
  3624. for ac_option in --version -v -V -qversion -version; do
  3625. { { ac_try="$ac_compiler $ac_option >&5"
  3626. case "(($ac_try" in
  3627. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3628. *) ac_try_echo=$ac_try;;
  3629. esac
  3630. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3631. printf "%s\n" "$ac_try_echo"; } >&5
  3632. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3633. ac_status=$?
  3634. if test -s conftest.err; then
  3635. sed '10a\
  3636. ... rest of stderr output deleted ...
  3637. 10q' conftest.err >conftest.er1
  3638. cat conftest.er1 >&5
  3639. fi
  3640. rm -f conftest.er1 conftest.err
  3641. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3642. test $ac_status = 0; }
  3643. done
  3644. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3645. /* end confdefs.h. */
  3646. int
  3647. main (void)
  3648. {
  3649. ;
  3650. return 0;
  3651. }
  3652. _ACEOF
  3653. ac_clean_files_save=$ac_clean_files
  3654. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3655. # Try to create an executable without -o first, disregard a.out.
  3656. # It will help us diagnose broken compilers, and finding out an intuition
  3657. # of exeext.
  3658. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3659. printf %s "checking whether the C compiler works... " >&6; }
  3660. ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3661. # The possible output files:
  3662. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3663. ac_rmfiles=
  3664. for ac_file in $ac_files
  3665. do
  3666. case $ac_file in
  3667. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3668. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3669. esac
  3670. done
  3671. rm -f $ac_rmfiles
  3672. if { { ac_try="$ac_link_default"
  3673. case "(($ac_try" in
  3674. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3675. *) ac_try_echo=$ac_try;;
  3676. esac
  3677. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3678. printf "%s\n" "$ac_try_echo"; } >&5
  3679. (eval "$ac_link_default") 2>&5
  3680. ac_status=$?
  3681. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3682. test $ac_status = 0; }
  3683. then :
  3684. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3685. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3686. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3687. # so that the user can short-circuit this test for compilers unknown to
  3688. # Autoconf.
  3689. for ac_file in $ac_files ''
  3690. do
  3691. test -f "$ac_file" || continue
  3692. case $ac_file in
  3693. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3694. ;;
  3695. [ab].out )
  3696. # We found the default executable, but exeext='' is most
  3697. # certainly right.
  3698. break;;
  3699. *.* )
  3700. if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
  3701. then :; else
  3702. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3703. fi
  3704. # We set ac_cv_exeext here because the later test for it is not
  3705. # safe: cross compilers may not add the suffix if given an `-o'
  3706. # argument, so we may need to know it at that point already.
  3707. # Even if this section looks crufty: it has the advantage of
  3708. # actually working.
  3709. break;;
  3710. * )
  3711. break;;
  3712. esac
  3713. done
  3714. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3715. else $as_nop
  3716. ac_file=''
  3717. fi
  3718. if test -z "$ac_file"
  3719. then :
  3720. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3721. printf "%s\n" "no" >&6; }
  3722. printf "%s\n" "$as_me: failed program was:" >&5
  3723. sed 's/^/| /' conftest.$ac_ext >&5
  3724. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3725. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3726. as_fn_error 77 "C compiler cannot create executables
  3727. See \`config.log' for more details" "$LINENO" 5; }
  3728. else $as_nop
  3729. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3730. printf "%s\n" "yes" >&6; }
  3731. fi
  3732. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3733. printf %s "checking for C compiler default output file name... " >&6; }
  3734. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3735. printf "%s\n" "$ac_file" >&6; }
  3736. ac_exeext=$ac_cv_exeext
  3737. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3738. ac_clean_files=$ac_clean_files_save
  3739. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3740. printf %s "checking for suffix of executables... " >&6; }
  3741. if { { ac_try="$ac_link"
  3742. case "(($ac_try" in
  3743. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3744. *) ac_try_echo=$ac_try;;
  3745. esac
  3746. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3747. printf "%s\n" "$ac_try_echo"; } >&5
  3748. (eval "$ac_link") 2>&5
  3749. ac_status=$?
  3750. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3751. test $ac_status = 0; }
  3752. then :
  3753. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3754. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3755. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3756. # `rm'.
  3757. for ac_file in conftest.exe conftest conftest.*; do
  3758. test -f "$ac_file" || continue
  3759. case $ac_file in
  3760. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3761. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3762. break;;
  3763. * ) break;;
  3764. esac
  3765. done
  3766. else $as_nop
  3767. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3768. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3769. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3770. See \`config.log' for more details" "$LINENO" 5; }
  3771. fi
  3772. rm -f conftest conftest$ac_cv_exeext
  3773. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3774. printf "%s\n" "$ac_cv_exeext" >&6; }
  3775. rm -f conftest.$ac_ext
  3776. EXEEXT=$ac_cv_exeext
  3777. ac_exeext=$EXEEXT
  3778. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3779. /* end confdefs.h. */
  3780. #include <stdio.h>
  3781. int
  3782. main (void)
  3783. {
  3784. FILE *f = fopen ("conftest.out", "w");
  3785. return ferror (f) || fclose (f) != 0;
  3786. ;
  3787. return 0;
  3788. }
  3789. _ACEOF
  3790. ac_clean_files="$ac_clean_files conftest.out"
  3791. # Check that the compiler produces executables we can run. If not, either
  3792. # the compiler is broken, or we cross compile.
  3793. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3794. printf %s "checking whether we are cross compiling... " >&6; }
  3795. if test "$cross_compiling" != yes; then
  3796. { { ac_try="$ac_link"
  3797. case "(($ac_try" in
  3798. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3799. *) ac_try_echo=$ac_try;;
  3800. esac
  3801. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3802. printf "%s\n" "$ac_try_echo"; } >&5
  3803. (eval "$ac_link") 2>&5
  3804. ac_status=$?
  3805. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3806. test $ac_status = 0; }
  3807. if { ac_try='./conftest$ac_cv_exeext'
  3808. { { case "(($ac_try" in
  3809. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3810. *) ac_try_echo=$ac_try;;
  3811. esac
  3812. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3813. printf "%s\n" "$ac_try_echo"; } >&5
  3814. (eval "$ac_try") 2>&5
  3815. ac_status=$?
  3816. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3817. test $ac_status = 0; }; }; then
  3818. cross_compiling=no
  3819. else
  3820. if test "$cross_compiling" = maybe; then
  3821. cross_compiling=yes
  3822. else
  3823. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3824. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3825. as_fn_error 77 "cannot run C compiled programs.
  3826. If you meant to cross compile, use \`--host'.
  3827. See \`config.log' for more details" "$LINENO" 5; }
  3828. fi
  3829. fi
  3830. fi
  3831. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3832. printf "%s\n" "$cross_compiling" >&6; }
  3833. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3834. ac_clean_files=$ac_clean_files_save
  3835. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3836. printf %s "checking for suffix of object files... " >&6; }
  3837. if test ${ac_cv_objext+y}
  3838. then :
  3839. printf %s "(cached) " >&6
  3840. else $as_nop
  3841. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3842. /* end confdefs.h. */
  3843. int
  3844. main (void)
  3845. {
  3846. ;
  3847. return 0;
  3848. }
  3849. _ACEOF
  3850. rm -f conftest.o conftest.obj
  3851. if { { ac_try="$ac_compile"
  3852. case "(($ac_try" in
  3853. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3854. *) ac_try_echo=$ac_try;;
  3855. esac
  3856. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3857. printf "%s\n" "$ac_try_echo"; } >&5
  3858. (eval "$ac_compile") 2>&5
  3859. ac_status=$?
  3860. printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3861. test $ac_status = 0; }
  3862. then :
  3863. for ac_file in conftest.o conftest.obj conftest.*; do
  3864. test -f "$ac_file" || continue;
  3865. case $ac_file in
  3866. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3867. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3868. break;;
  3869. esac
  3870. done
  3871. else $as_nop
  3872. printf "%s\n" "$as_me: failed program was:" >&5
  3873. sed 's/^/| /' conftest.$ac_ext >&5
  3874. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3875. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  3876. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3877. See \`config.log' for more details" "$LINENO" 5; }
  3878. fi
  3879. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3880. fi
  3881. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3882. printf "%s\n" "$ac_cv_objext" >&6; }
  3883. OBJEXT=$ac_cv_objext
  3884. ac_objext=$OBJEXT
  3885. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
  3886. printf %s "checking whether the compiler supports GNU C... " >&6; }
  3887. if test ${ac_cv_c_compiler_gnu+y}
  3888. then :
  3889. printf %s "(cached) " >&6
  3890. else $as_nop
  3891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3892. /* end confdefs.h. */
  3893. int
  3894. main (void)
  3895. {
  3896. #ifndef __GNUC__
  3897. choke me
  3898. #endif
  3899. ;
  3900. return 0;
  3901. }
  3902. _ACEOF
  3903. if ac_fn_c_try_compile "$LINENO"
  3904. then :
  3905. ac_compiler_gnu=yes
  3906. else $as_nop
  3907. ac_compiler_gnu=no
  3908. fi
  3909. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  3910. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3911. fi
  3912. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3913. printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
  3914. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3915. if test $ac_compiler_gnu = yes; then
  3916. GCC=yes
  3917. else
  3918. GCC=
  3919. fi
  3920. ac_test_CFLAGS=${CFLAGS+y}
  3921. ac_save_CFLAGS=$CFLAGS
  3922. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3923. printf %s "checking whether $CC accepts -g... " >&6; }
  3924. if test ${ac_cv_prog_cc_g+y}
  3925. then :
  3926. printf %s "(cached) " >&6
  3927. else $as_nop
  3928. ac_save_c_werror_flag=$ac_c_werror_flag
  3929. ac_c_werror_flag=yes
  3930. ac_cv_prog_cc_g=no
  3931. CFLAGS="-g"
  3932. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3933. /* end confdefs.h. */
  3934. int
  3935. main (void)
  3936. {
  3937. ;
  3938. return 0;
  3939. }
  3940. _ACEOF
  3941. if ac_fn_c_try_compile "$LINENO"
  3942. then :
  3943. ac_cv_prog_cc_g=yes
  3944. else $as_nop
  3945. CFLAGS=""
  3946. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3947. /* end confdefs.h. */
  3948. int
  3949. main (void)
  3950. {
  3951. ;
  3952. return 0;
  3953. }
  3954. _ACEOF
  3955. if ac_fn_c_try_compile "$LINENO"
  3956. then :
  3957. else $as_nop
  3958. ac_c_werror_flag=$ac_save_c_werror_flag
  3959. CFLAGS="-g"
  3960. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3961. /* end confdefs.h. */
  3962. int
  3963. main (void)
  3964. {
  3965. ;
  3966. return 0;
  3967. }
  3968. _ACEOF
  3969. if ac_fn_c_try_compile "$LINENO"
  3970. then :
  3971. ac_cv_prog_cc_g=yes
  3972. fi
  3973. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  3974. fi
  3975. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  3976. fi
  3977. rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  3978. ac_c_werror_flag=$ac_save_c_werror_flag
  3979. fi
  3980. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3981. printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
  3982. if test $ac_test_CFLAGS; then
  3983. CFLAGS=$ac_save_CFLAGS
  3984. elif test $ac_cv_prog_cc_g = yes; then
  3985. if test "$GCC" = yes; then
  3986. CFLAGS="-g -O2"
  3987. else
  3988. CFLAGS="-g"
  3989. fi
  3990. else
  3991. if test "$GCC" = yes; then
  3992. CFLAGS="-O2"
  3993. else
  3994. CFLAGS=
  3995. fi
  3996. fi
  3997. ac_prog_cc_stdc=no
  3998. if test x$ac_prog_cc_stdc = xno
  3999. then :
  4000. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
  4001. printf %s "checking for $CC option to enable C11 features... " >&6; }
  4002. if test ${ac_cv_prog_cc_c11+y}
  4003. then :
  4004. printf %s "(cached) " >&6
  4005. else $as_nop
  4006. ac_cv_prog_cc_c11=no
  4007. ac_save_CC=$CC
  4008. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4009. /* end confdefs.h. */
  4010. $ac_c_conftest_c11_program
  4011. _ACEOF
  4012. for ac_arg in '' -std=gnu11
  4013. do
  4014. CC="$ac_save_CC $ac_arg"
  4015. if ac_fn_c_try_compile "$LINENO"
  4016. then :
  4017. ac_cv_prog_cc_c11=$ac_arg
  4018. fi
  4019. rm -f core conftest.err conftest.$ac_objext conftest.beam
  4020. test "x$ac_cv_prog_cc_c11" != "xno" && break
  4021. done
  4022. rm -f conftest.$ac_ext
  4023. CC=$ac_save_CC
  4024. fi
  4025. if test "x$ac_cv_prog_cc_c11" = xno
  4026. then :
  4027. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4028. printf "%s\n" "unsupported" >&6; }
  4029. else $as_nop
  4030. if test "x$ac_cv_prog_cc_c11" = x
  4031. then :
  4032. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4033. printf "%s\n" "none needed" >&6; }
  4034. else $as_nop
  4035. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
  4036. printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
  4037. CC="$CC $ac_cv_prog_cc_c11"
  4038. fi
  4039. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
  4040. ac_prog_cc_stdc=c11
  4041. fi
  4042. fi
  4043. if test x$ac_prog_cc_stdc = xno
  4044. then :
  4045. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
  4046. printf %s "checking for $CC option to enable C99 features... " >&6; }
  4047. if test ${ac_cv_prog_cc_c99+y}
  4048. then :
  4049. printf %s "(cached) " >&6
  4050. else $as_nop
  4051. ac_cv_prog_cc_c99=no
  4052. ac_save_CC=$CC
  4053. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4054. /* end confdefs.h. */
  4055. $ac_c_conftest_c99_program
  4056. _ACEOF
  4057. for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
  4058. do
  4059. CC="$ac_save_CC $ac_arg"
  4060. if ac_fn_c_try_compile "$LINENO"
  4061. then :
  4062. ac_cv_prog_cc_c99=$ac_arg
  4063. fi
  4064. rm -f core conftest.err conftest.$ac_objext conftest.beam
  4065. test "x$ac_cv_prog_cc_c99" != "xno" && break
  4066. done
  4067. rm -f conftest.$ac_ext
  4068. CC=$ac_save_CC
  4069. fi
  4070. if test "x$ac_cv_prog_cc_c99" = xno
  4071. then :
  4072. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4073. printf "%s\n" "unsupported" >&6; }
  4074. else $as_nop
  4075. if test "x$ac_cv_prog_cc_c99" = x
  4076. then :
  4077. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4078. printf "%s\n" "none needed" >&6; }
  4079. else $as_nop
  4080. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  4081. printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
  4082. CC="$CC $ac_cv_prog_cc_c99"
  4083. fi
  4084. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  4085. ac_prog_cc_stdc=c99
  4086. fi
  4087. fi
  4088. if test x$ac_prog_cc_stdc = xno
  4089. then :
  4090. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
  4091. printf %s "checking for $CC option to enable C89 features... " >&6; }
  4092. if test ${ac_cv_prog_cc_c89+y}
  4093. then :
  4094. printf %s "(cached) " >&6
  4095. else $as_nop
  4096. ac_cv_prog_cc_c89=no
  4097. ac_save_CC=$CC
  4098. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4099. /* end confdefs.h. */
  4100. $ac_c_conftest_c89_program
  4101. _ACEOF
  4102. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4103. do
  4104. CC="$ac_save_CC $ac_arg"
  4105. if ac_fn_c_try_compile "$LINENO"
  4106. then :
  4107. ac_cv_prog_cc_c89=$ac_arg
  4108. fi
  4109. rm -f core conftest.err conftest.$ac_objext conftest.beam
  4110. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4111. done
  4112. rm -f conftest.$ac_ext
  4113. CC=$ac_save_CC
  4114. fi
  4115. if test "x$ac_cv_prog_cc_c89" = xno
  4116. then :
  4117. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4118. printf "%s\n" "unsupported" >&6; }
  4119. else $as_nop
  4120. if test "x$ac_cv_prog_cc_c89" = x
  4121. then :
  4122. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4123. printf "%s\n" "none needed" >&6; }
  4124. else $as_nop
  4125. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4126. printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
  4127. CC="$CC $ac_cv_prog_cc_c89"
  4128. fi
  4129. ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  4130. ac_prog_cc_stdc=c89
  4131. fi
  4132. fi
  4133. ac_ext=c
  4134. ac_cpp='$CPP $CPPFLAGS'
  4135. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4136. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4137. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4138. ac_ext=c
  4139. ac_cpp='$CPP $CPPFLAGS'
  4140. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4141. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4142. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4143. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  4144. printf %s "checking whether $CC understands -c and -o together... " >&6; }
  4145. if test ${am_cv_prog_cc_c_o+y}
  4146. then :
  4147. printf %s "(cached) " >&6
  4148. else $as_nop
  4149. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4150. /* end confdefs.h. */
  4151. int
  4152. main (void)
  4153. {
  4154. ;
  4155. return 0;
  4156. }
  4157. _ACEOF
  4158. # Make sure it works both with $CC and with simple cc.
  4159. # Following AC_PROG_CC_C_O, we do the test twice because some
  4160. # compilers refuse to overwrite an existing .o file with -o,
  4161. # though they will create one.
  4162. am_cv_prog_cc_c_o=yes
  4163. for am_i in 1 2; do
  4164. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  4165. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  4166. ac_status=$?
  4167. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4168. (exit $ac_status); } \
  4169. && test -f conftest2.$ac_objext; then
  4170. : OK
  4171. else
  4172. am_cv_prog_cc_c_o=no
  4173. break
  4174. fi
  4175. done
  4176. rm -f core conftest*
  4177. unset am_i
  4178. fi
  4179. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  4180. printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
  4181. if test "$am_cv_prog_cc_c_o" != yes; then
  4182. # Losing compiler, so override with the script.
  4183. # FIXME: It is wrong to rewrite CC.
  4184. # But if we don't then we get into trouble of one sort or another.
  4185. # A longer-term fix would be to have automake use am__CC in this case,
  4186. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  4187. CC="$am_aux_dir/compile $CC"
  4188. fi
  4189. ac_ext=c
  4190. ac_cpp='$CPP $CPPFLAGS'
  4191. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4192. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4193. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4194. depcc="$CC" am_compiler_list=
  4195. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4196. printf %s "checking dependency style of $depcc... " >&6; }
  4197. if test ${am_cv_CC_dependencies_compiler_type+y}
  4198. then :
  4199. printf %s "(cached) " >&6
  4200. else $as_nop
  4201. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4202. # We make a subdir and do the tests there. Otherwise we can end up
  4203. # making bogus files that we don't know about and never remove. For
  4204. # instance it was reported that on HP-UX the gcc test will end up
  4205. # making a dummy file named 'D' -- because '-MD' means "put the output
  4206. # in D".
  4207. rm -rf conftest.dir
  4208. mkdir conftest.dir
  4209. # Copy depcomp to subdir because otherwise we won't find it if we're
  4210. # using a relative directory.
  4211. cp "$am_depcomp" conftest.dir
  4212. cd conftest.dir
  4213. # We will build objects and dependencies in a subdirectory because
  4214. # it helps to detect inapplicable dependency modes. For instance
  4215. # both Tru64's cc and ICC support -MD to output dependencies as a
  4216. # side effect of compilation, but ICC will put the dependencies in
  4217. # the current directory while Tru64 will put them in the object
  4218. # directory.
  4219. mkdir sub
  4220. am_cv_CC_dependencies_compiler_type=none
  4221. if test "$am_compiler_list" = ""; then
  4222. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4223. fi
  4224. am__universal=false
  4225. case " $depcc " in #(
  4226. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4227. esac
  4228. for depmode in $am_compiler_list; do
  4229. # Setup a source with many dependencies, because some compilers
  4230. # like to wrap large dependency lists on column 80 (with \), and
  4231. # we should not choose a depcomp mode which is confused by this.
  4232. #
  4233. # We need to recreate these files for each test, as the compiler may
  4234. # overwrite some of them when testing with obscure command lines.
  4235. # This happens at least with the AIX C compiler.
  4236. : > sub/conftest.c
  4237. for i in 1 2 3 4 5 6; do
  4238. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4239. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4240. # Solaris 10 /bin/sh.
  4241. echo '/* dummy */' > sub/conftst$i.h
  4242. done
  4243. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4244. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4245. # mode. It turns out that the SunPro C++ compiler does not properly
  4246. # handle '-M -o', and we need to detect this. Also, some Intel
  4247. # versions had trouble with output in subdirs.
  4248. am__obj=sub/conftest.${OBJEXT-o}
  4249. am__minus_obj="-o $am__obj"
  4250. case $depmode in
  4251. gcc)
  4252. # This depmode causes a compiler race in universal mode.
  4253. test "$am__universal" = false || continue
  4254. ;;
  4255. nosideeffect)
  4256. # After this tag, mechanisms are not by side-effect, so they'll
  4257. # only be used when explicitly requested.
  4258. if test "x$enable_dependency_tracking" = xyes; then
  4259. continue
  4260. else
  4261. break
  4262. fi
  4263. ;;
  4264. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4265. # This compiler won't grok '-c -o', but also, the minuso test has
  4266. # not run yet. These depmodes are late enough in the game, and
  4267. # so weak that their functioning should not be impacted.
  4268. am__obj=conftest.${OBJEXT-o}
  4269. am__minus_obj=
  4270. ;;
  4271. none) break ;;
  4272. esac
  4273. if depmode=$depmode \
  4274. source=sub/conftest.c object=$am__obj \
  4275. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4276. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4277. >/dev/null 2>conftest.err &&
  4278. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4279. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4280. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4281. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4282. # icc doesn't choke on unknown options, it will just issue warnings
  4283. # or remarks (even with -Werror). So we grep stderr for any message
  4284. # that says an option was ignored or not supported.
  4285. # When given -MP, icc 7.0 and 7.1 complain thusly:
  4286. # icc: Command line warning: ignoring option '-M'; no argument required
  4287. # The diagnosis changed in icc 8.0:
  4288. # icc: Command line remark: option '-MP' not supported
  4289. if (grep 'ignoring option' conftest.err ||
  4290. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4291. am_cv_CC_dependencies_compiler_type=$depmode
  4292. break
  4293. fi
  4294. fi
  4295. done
  4296. cd ..
  4297. rm -rf conftest.dir
  4298. else
  4299. am_cv_CC_dependencies_compiler_type=none
  4300. fi
  4301. fi
  4302. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4303. printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
  4304. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4305. if
  4306. test "x$enable_dependency_tracking" != xno \
  4307. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4308. am__fastdepCC_TRUE=
  4309. am__fastdepCC_FALSE='#'
  4310. else
  4311. am__fastdepCC_TRUE='#'
  4312. am__fastdepCC_FALSE=
  4313. fi
  4314. # Make sure we can run config.sub.
  4315. $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
  4316. as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
  4317. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4318. printf %s "checking build system type... " >&6; }
  4319. if test ${ac_cv_build+y}
  4320. then :
  4321. printf %s "(cached) " >&6
  4322. else $as_nop
  4323. ac_build_alias=$build_alias
  4324. test "x$ac_build_alias" = x &&
  4325. ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
  4326. test "x$ac_build_alias" = x &&
  4327. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  4328. ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
  4329. as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
  4330. fi
  4331. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4332. printf "%s\n" "$ac_cv_build" >&6; }
  4333. case $ac_cv_build in
  4334. *-*-*) ;;
  4335. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  4336. esac
  4337. build=$ac_cv_build
  4338. ac_save_IFS=$IFS; IFS='-'
  4339. set x $ac_cv_build
  4340. shift
  4341. build_cpu=$1
  4342. build_vendor=$2
  4343. shift; shift
  4344. # Remember, the first character of IFS is used to create $*,
  4345. # except with old shells:
  4346. build_os=$*
  4347. IFS=$ac_save_IFS
  4348. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4349. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4350. printf %s "checking host system type... " >&6; }
  4351. if test ${ac_cv_host+y}
  4352. then :
  4353. printf %s "(cached) " >&6
  4354. else $as_nop
  4355. if test "x$host_alias" = x; then
  4356. ac_cv_host=$ac_cv_build
  4357. else
  4358. ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
  4359. as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
  4360. fi
  4361. fi
  4362. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4363. printf "%s\n" "$ac_cv_host" >&6; }
  4364. case $ac_cv_host in
  4365. *-*-*) ;;
  4366. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  4367. esac
  4368. host=$ac_cv_host
  4369. ac_save_IFS=$IFS; IFS='-'
  4370. set x $ac_cv_host
  4371. shift
  4372. host_cpu=$1
  4373. host_vendor=$2
  4374. shift; shift
  4375. # Remember, the first character of IFS is used to create $*,
  4376. # except with old shells:
  4377. host_os=$*
  4378. IFS=$ac_save_IFS
  4379. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4380. # Check whether --with-gnu-ld was given.
  4381. if test ${with_gnu_ld+y}
  4382. then :
  4383. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4384. else $as_nop
  4385. with_gnu_ld=no
  4386. fi
  4387. # Prepare PATH_SEPARATOR.
  4388. # The user is always right.
  4389. if test "${PATH_SEPARATOR+set}" != set; then
  4390. # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  4391. # contains only /bin. Note that ksh looks also at the FPATH variable,
  4392. # so we have to set that as well for the test.
  4393. PATH_SEPARATOR=:
  4394. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  4395. && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  4396. || PATH_SEPARATOR=';'
  4397. }
  4398. fi
  4399. ac_prog=ld
  4400. if test "$GCC" = yes; then
  4401. # Check if gcc -print-prog-name=ld gives a path.
  4402. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4403. printf %s "checking for ld used by $CC... " >&6; }
  4404. case $host in
  4405. *-*-mingw*)
  4406. # gcc leaves a trailing carriage return which upsets mingw
  4407. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4408. *)
  4409. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4410. esac
  4411. case $ac_prog in
  4412. # Accept absolute paths.
  4413. [\\/]* | ?:[\\/]*)
  4414. re_direlt='/[^/][^/]*/\.\./'
  4415. # Canonicalize the pathname of ld
  4416. ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
  4417. while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
  4418. ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  4419. done
  4420. test -z "$LD" && LD="$ac_prog"
  4421. ;;
  4422. "")
  4423. # If it fails, then pretend we aren't using GCC.
  4424. ac_prog=ld
  4425. ;;
  4426. *)
  4427. # If it is relative, then search for the first ld in PATH.
  4428. with_gnu_ld=unknown
  4429. ;;
  4430. esac
  4431. elif test "$with_gnu_ld" = yes; then
  4432. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4433. printf %s "checking for GNU ld... " >&6; }
  4434. else
  4435. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4436. printf %s "checking for non-GNU ld... " >&6; }
  4437. fi
  4438. if test ${acl_cv_path_LD+y}
  4439. then :
  4440. printf %s "(cached) " >&6
  4441. else $as_nop
  4442. if test -z "$LD"; then
  4443. acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4444. for ac_dir in $PATH; do
  4445. IFS="$acl_save_ifs"
  4446. test -z "$ac_dir" && ac_dir=.
  4447. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4448. acl_cv_path_LD="$ac_dir/$ac_prog"
  4449. # Check to see if the program is GNU ld. I'd rather use --version,
  4450. # but apparently some variants of GNU ld only accept -v.
  4451. # Break only if it was the GNU/non-GNU ld that we prefer.
  4452. case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
  4453. *GNU* | *'with BFD'*)
  4454. test "$with_gnu_ld" != no && break
  4455. ;;
  4456. *)
  4457. test "$with_gnu_ld" != yes && break
  4458. ;;
  4459. esac
  4460. fi
  4461. done
  4462. IFS="$acl_save_ifs"
  4463. else
  4464. acl_cv_path_LD="$LD" # Let the user override the test with a path.
  4465. fi
  4466. fi
  4467. LD="$acl_cv_path_LD"
  4468. if test -n "$LD"; then
  4469. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4470. printf "%s\n" "$LD" >&6; }
  4471. else
  4472. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4473. printf "%s\n" "no" >&6; }
  4474. fi
  4475. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4476. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4477. printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
  4478. if test ${acl_cv_prog_gnu_ld+y}
  4479. then :
  4480. printf %s "(cached) " >&6
  4481. else $as_nop
  4482. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4483. case `$LD -v 2>&1 </dev/null` in
  4484. *GNU* | *'with BFD'*)
  4485. acl_cv_prog_gnu_ld=yes
  4486. ;;
  4487. *)
  4488. acl_cv_prog_gnu_ld=no
  4489. ;;
  4490. esac
  4491. fi
  4492. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
  4493. printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
  4494. with_gnu_ld=$acl_cv_prog_gnu_ld
  4495. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  4496. printf %s "checking for shared library run path origin... " >&6; }
  4497. if test ${acl_cv_rpath+y}
  4498. then :
  4499. printf %s "(cached) " >&6
  4500. else $as_nop
  4501. CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  4502. ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  4503. . ./conftest.sh
  4504. rm -f ./conftest.sh
  4505. acl_cv_rpath=done
  4506. fi
  4507. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
  4508. printf "%s\n" "$acl_cv_rpath" >&6; }
  4509. wl="$acl_cv_wl"
  4510. acl_libext="$acl_cv_libext"
  4511. acl_shlibext="$acl_cv_shlibext"
  4512. acl_libname_spec="$acl_cv_libname_spec"
  4513. acl_library_names_spec="$acl_cv_library_names_spec"
  4514. acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  4515. acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  4516. acl_hardcode_direct="$acl_cv_hardcode_direct"
  4517. acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
  4518. # Check whether --enable-rpath was given.
  4519. if test ${enable_rpath+y}
  4520. then :
  4521. enableval=$enable_rpath; :
  4522. else $as_nop
  4523. enable_rpath=yes
  4524. fi
  4525. ac_ext=c
  4526. ac_cpp='$CPP $CPPFLAGS'
  4527. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4528. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4529. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4530. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  4531. printf %s "checking how to run the C preprocessor... " >&6; }
  4532. # On Suns, sometimes $CPP names a directory.
  4533. if test -n "$CPP" && test -d "$CPP"; then
  4534. CPP=
  4535. fi
  4536. if test -z "$CPP"; then
  4537. if test ${ac_cv_prog_CPP+y}
  4538. then :
  4539. printf %s "(cached) " >&6
  4540. else $as_nop
  4541. # Double quotes because $CC needs to be expanded
  4542. for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
  4543. do
  4544. ac_preproc_ok=false
  4545. for ac_c_preproc_warn_flag in '' yes
  4546. do
  4547. # Use a header file that comes with gcc, so configuring glibc
  4548. # with a fresh cross-compiler works.
  4549. # On the NeXT, cc -E runs the code through the compiler's parser,
  4550. # not just through cpp. "Syntax error" is here to catch this case.
  4551. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4552. /* end confdefs.h. */
  4553. #include <limits.h>
  4554. Syntax error
  4555. _ACEOF
  4556. if ac_fn_c_try_cpp "$LINENO"
  4557. then :
  4558. else $as_nop
  4559. # Broken: fails on valid input.
  4560. continue
  4561. fi
  4562. rm -f conftest.err conftest.i conftest.$ac_ext
  4563. # OK, works on sane cases. Now check whether nonexistent headers
  4564. # can be detected and how.
  4565. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4566. /* end confdefs.h. */
  4567. #include <ac_nonexistent.h>
  4568. _ACEOF
  4569. if ac_fn_c_try_cpp "$LINENO"
  4570. then :
  4571. # Broken: success on invalid input.
  4572. continue
  4573. else $as_nop
  4574. # Passes both tests.
  4575. ac_preproc_ok=:
  4576. break
  4577. fi
  4578. rm -f conftest.err conftest.i conftest.$ac_ext
  4579. done
  4580. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4581. rm -f conftest.i conftest.err conftest.$ac_ext
  4582. if $ac_preproc_ok
  4583. then :
  4584. break
  4585. fi
  4586. done
  4587. ac_cv_prog_CPP=$CPP
  4588. fi
  4589. CPP=$ac_cv_prog_CPP
  4590. else
  4591. ac_cv_prog_CPP=$CPP
  4592. fi
  4593. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  4594. printf "%s\n" "$CPP" >&6; }
  4595. ac_preproc_ok=false
  4596. for ac_c_preproc_warn_flag in '' yes
  4597. do
  4598. # Use a header file that comes with gcc, so configuring glibc
  4599. # with a fresh cross-compiler works.
  4600. # On the NeXT, cc -E runs the code through the compiler's parser,
  4601. # not just through cpp. "Syntax error" is here to catch this case.
  4602. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4603. /* end confdefs.h. */
  4604. #include <limits.h>
  4605. Syntax error
  4606. _ACEOF
  4607. if ac_fn_c_try_cpp "$LINENO"
  4608. then :
  4609. else $as_nop
  4610. # Broken: fails on valid input.
  4611. continue
  4612. fi
  4613. rm -f conftest.err conftest.i conftest.$ac_ext
  4614. # OK, works on sane cases. Now check whether nonexistent headers
  4615. # can be detected and how.
  4616. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4617. /* end confdefs.h. */
  4618. #include <ac_nonexistent.h>
  4619. _ACEOF
  4620. if ac_fn_c_try_cpp "$LINENO"
  4621. then :
  4622. # Broken: success on invalid input.
  4623. continue
  4624. else $as_nop
  4625. # Passes both tests.
  4626. ac_preproc_ok=:
  4627. break
  4628. fi
  4629. rm -f conftest.err conftest.i conftest.$ac_ext
  4630. done
  4631. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4632. rm -f conftest.i conftest.err conftest.$ac_ext
  4633. if $ac_preproc_ok
  4634. then :
  4635. else $as_nop
  4636. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4637. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  4638. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  4639. See \`config.log' for more details" "$LINENO" 5; }
  4640. fi
  4641. ac_ext=c
  4642. ac_cpp='$CPP $CPPFLAGS'
  4643. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4644. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4645. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4646. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4647. printf %s "checking for grep that handles long lines and -e... " >&6; }
  4648. if test ${ac_cv_path_GREP+y}
  4649. then :
  4650. printf %s "(cached) " >&6
  4651. else $as_nop
  4652. if test -z "$GREP"; then
  4653. ac_path_GREP_found=false
  4654. # Loop through the user's path and test for each of PROGNAME-LIST
  4655. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4656. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4657. do
  4658. IFS=$as_save_IFS
  4659. case $as_dir in #(((
  4660. '') as_dir=./ ;;
  4661. */) ;;
  4662. *) as_dir=$as_dir/ ;;
  4663. esac
  4664. for ac_prog in grep ggrep
  4665. do
  4666. for ac_exec_ext in '' $ac_executable_extensions; do
  4667. ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
  4668. as_fn_executable_p "$ac_path_GREP" || continue
  4669. # Check for GNU ac_path_GREP and select it if it is found.
  4670. # Check for GNU $ac_path_GREP
  4671. case `"$ac_path_GREP" --version 2>&1` in
  4672. *GNU*)
  4673. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4674. *)
  4675. ac_count=0
  4676. printf %s 0123456789 >"conftest.in"
  4677. while :
  4678. do
  4679. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4680. mv "conftest.tmp" "conftest.in"
  4681. cp "conftest.in" "conftest.nl"
  4682. printf "%s\n" 'GREP' >> "conftest.nl"
  4683. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4684. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4685. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4686. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4687. # Best one so far, save it but keep looking for a better one
  4688. ac_cv_path_GREP="$ac_path_GREP"
  4689. ac_path_GREP_max=$ac_count
  4690. fi
  4691. # 10*(2^10) chars as input seems more than enough
  4692. test $ac_count -gt 10 && break
  4693. done
  4694. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4695. esac
  4696. $ac_path_GREP_found && break 3
  4697. done
  4698. done
  4699. done
  4700. IFS=$as_save_IFS
  4701. if test -z "$ac_cv_path_GREP"; then
  4702. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4703. fi
  4704. else
  4705. ac_cv_path_GREP=$GREP
  4706. fi
  4707. fi
  4708. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4709. printf "%s\n" "$ac_cv_path_GREP" >&6; }
  4710. GREP="$ac_cv_path_GREP"
  4711. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4712. printf %s "checking for egrep... " >&6; }
  4713. if test ${ac_cv_path_EGREP+y}
  4714. then :
  4715. printf %s "(cached) " >&6
  4716. else $as_nop
  4717. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4718. then ac_cv_path_EGREP="$GREP -E"
  4719. else
  4720. if test -z "$EGREP"; then
  4721. ac_path_EGREP_found=false
  4722. # Loop through the user's path and test for each of PROGNAME-LIST
  4723. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4724. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4725. do
  4726. IFS=$as_save_IFS
  4727. case $as_dir in #(((
  4728. '') as_dir=./ ;;
  4729. */) ;;
  4730. *) as_dir=$as_dir/ ;;
  4731. esac
  4732. for ac_prog in egrep
  4733. do
  4734. for ac_exec_ext in '' $ac_executable_extensions; do
  4735. ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
  4736. as_fn_executable_p "$ac_path_EGREP" || continue
  4737. # Check for GNU ac_path_EGREP and select it if it is found.
  4738. # Check for GNU $ac_path_EGREP
  4739. case `"$ac_path_EGREP" --version 2>&1` in
  4740. *GNU*)
  4741. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4742. *)
  4743. ac_count=0
  4744. printf %s 0123456789 >"conftest.in"
  4745. while :
  4746. do
  4747. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4748. mv "conftest.tmp" "conftest.in"
  4749. cp "conftest.in" "conftest.nl"
  4750. printf "%s\n" 'EGREP' >> "conftest.nl"
  4751. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4752. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4753. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4754. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4755. # Best one so far, save it but keep looking for a better one
  4756. ac_cv_path_EGREP="$ac_path_EGREP"
  4757. ac_path_EGREP_max=$ac_count
  4758. fi
  4759. # 10*(2^10) chars as input seems more than enough
  4760. test $ac_count -gt 10 && break
  4761. done
  4762. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4763. esac
  4764. $ac_path_EGREP_found && break 3
  4765. done
  4766. done
  4767. done
  4768. IFS=$as_save_IFS
  4769. if test -z "$ac_cv_path_EGREP"; then
  4770. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4771. fi
  4772. else
  4773. ac_cv_path_EGREP=$EGREP
  4774. fi
  4775. fi
  4776. fi
  4777. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4778. printf "%s\n" "$ac_cv_path_EGREP" >&6; }
  4779. EGREP="$ac_cv_path_EGREP"
  4780. acl_libdirstem=lib
  4781. acl_libdirstem2=
  4782. case "$host_os" in
  4783. solaris*)
  4784. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
  4785. printf %s "checking for 64-bit host... " >&6; }
  4786. if test ${gl_cv_solaris_64bit+y}
  4787. then :
  4788. printf %s "(cached) " >&6
  4789. else $as_nop
  4790. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4791. /* end confdefs.h. */
  4792. #ifdef _LP64
  4793. sixtyfour bits
  4794. #endif
  4795. _ACEOF
  4796. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4797. $EGREP "sixtyfour bits" >/dev/null 2>&1
  4798. then :
  4799. gl_cv_solaris_64bit=yes
  4800. else $as_nop
  4801. gl_cv_solaris_64bit=no
  4802. fi
  4803. rm -rf conftest*
  4804. fi
  4805. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
  4806. printf "%s\n" "$gl_cv_solaris_64bit" >&6; }
  4807. if test $gl_cv_solaris_64bit = yes; then
  4808. acl_libdirstem=lib/64
  4809. case "$host_cpu" in
  4810. sparc*) acl_libdirstem2=lib/sparcv9 ;;
  4811. i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
  4812. esac
  4813. fi
  4814. ;;
  4815. *)
  4816. searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  4817. if test -n "$searchpath"; then
  4818. acl_save_IFS="${IFS= }"; IFS=":"
  4819. for searchdir in $searchpath; do
  4820. if test -d "$searchdir"; then
  4821. case "$searchdir" in
  4822. */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
  4823. */../ | */.. )
  4824. # Better ignore directories of this form. They are misleading.
  4825. ;;
  4826. *) searchdir=`cd "$searchdir" && pwd`
  4827. case "$searchdir" in
  4828. */lib64 ) acl_libdirstem=lib64 ;;
  4829. esac ;;
  4830. esac
  4831. fi
  4832. done
  4833. IFS="$acl_save_IFS"
  4834. fi
  4835. ;;
  4836. esac
  4837. test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
  4838. use_additional=yes
  4839. acl_save_prefix="$prefix"
  4840. prefix="$acl_final_prefix"
  4841. acl_save_exec_prefix="$exec_prefix"
  4842. exec_prefix="$acl_final_exec_prefix"
  4843. eval additional_includedir=\"$includedir\"
  4844. eval additional_libdir=\"$libdir\"
  4845. exec_prefix="$acl_save_exec_prefix"
  4846. prefix="$acl_save_prefix"
  4847. # Check whether --with-libiconv-prefix was given.
  4848. if test ${with_libiconv_prefix+y}
  4849. then :
  4850. withval=$with_libiconv_prefix;
  4851. if test "X$withval" = "Xno"; then
  4852. use_additional=no
  4853. else
  4854. if test "X$withval" = "X"; then
  4855. acl_save_prefix="$prefix"
  4856. prefix="$acl_final_prefix"
  4857. acl_save_exec_prefix="$exec_prefix"
  4858. exec_prefix="$acl_final_exec_prefix"
  4859. eval additional_includedir=\"$includedir\"
  4860. eval additional_libdir=\"$libdir\"
  4861. exec_prefix="$acl_save_exec_prefix"
  4862. prefix="$acl_save_prefix"
  4863. else
  4864. additional_includedir="$withval/include"
  4865. additional_libdir="$withval/$acl_libdirstem"
  4866. if test "$acl_libdirstem2" != "$acl_libdirstem" \
  4867. && ! test -d "$withval/$acl_libdirstem"; then
  4868. additional_libdir="$withval/$acl_libdirstem2"
  4869. fi
  4870. fi
  4871. fi
  4872. fi
  4873. LIBICONV=
  4874. LTLIBICONV=
  4875. INCICONV=
  4876. LIBICONV_PREFIX=
  4877. HAVE_LIBICONV=
  4878. rpathdirs=
  4879. ltrpathdirs=
  4880. names_already_handled=
  4881. names_next_round='iconv '
  4882. while test -n "$names_next_round"; do
  4883. names_this_round="$names_next_round"
  4884. names_next_round=
  4885. for name in $names_this_round; do
  4886. already_handled=
  4887. for n in $names_already_handled; do
  4888. if test "$n" = "$name"; then
  4889. already_handled=yes
  4890. break
  4891. fi
  4892. done
  4893. if test -z "$already_handled"; then
  4894. names_already_handled="$names_already_handled $name"
  4895. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  4896. eval value=\"\$HAVE_LIB$uppername\"
  4897. if test -n "$value"; then
  4898. if test "$value" = yes; then
  4899. eval value=\"\$LIB$uppername\"
  4900. test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
  4901. eval value=\"\$LTLIB$uppername\"
  4902. test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
  4903. else
  4904. :
  4905. fi
  4906. else
  4907. found_dir=
  4908. found_la=
  4909. found_so=
  4910. found_a=
  4911. eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  4912. if test -n "$acl_shlibext"; then
  4913. shrext=".$acl_shlibext" # typically: shrext=.so
  4914. else
  4915. shrext=
  4916. fi
  4917. if test $use_additional = yes; then
  4918. dir="$additional_libdir"
  4919. if test -n "$acl_shlibext"; then
  4920. if test -f "$dir/$libname$shrext"; then
  4921. found_dir="$dir"
  4922. found_so="$dir/$libname$shrext"
  4923. else
  4924. if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  4925. ver=`(cd "$dir" && \
  4926. for f in "$libname$shrext".*; do echo "$f"; done \
  4927. | sed -e "s,^$libname$shrext\\\\.,," \
  4928. | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  4929. | sed 1q ) 2>/dev/null`
  4930. if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  4931. found_dir="$dir"
  4932. found_so="$dir/$libname$shrext.$ver"
  4933. fi
  4934. else
  4935. eval library_names=\"$acl_library_names_spec\"
  4936. for f in $library_names; do
  4937. if test -f "$dir/$f"; then
  4938. found_dir="$dir"
  4939. found_so="$dir/$f"
  4940. break
  4941. fi
  4942. done
  4943. fi
  4944. fi
  4945. fi
  4946. if test "X$found_dir" = "X"; then
  4947. if test -f "$dir/$libname.$acl_libext"; then
  4948. found_dir="$dir"
  4949. found_a="$dir/$libname.$acl_libext"
  4950. fi
  4951. fi
  4952. if test "X$found_dir" != "X"; then
  4953. if test -f "$dir/$libname.la"; then
  4954. found_la="$dir/$libname.la"
  4955. fi
  4956. fi
  4957. fi
  4958. if test "X$found_dir" = "X"; then
  4959. for x in $LDFLAGS $LTLIBICONV; do
  4960. acl_save_prefix="$prefix"
  4961. prefix="$acl_final_prefix"
  4962. acl_save_exec_prefix="$exec_prefix"
  4963. exec_prefix="$acl_final_exec_prefix"
  4964. eval x=\"$x\"
  4965. exec_prefix="$acl_save_exec_prefix"
  4966. prefix="$acl_save_prefix"
  4967. case "$x" in
  4968. -L*)
  4969. dir=`echo "X$x" | sed -e 's/^X-L//'`
  4970. if test -n "$acl_shlibext"; then
  4971. if test -f "$dir/$libname$shrext"; then
  4972. found_dir="$dir"
  4973. found_so="$dir/$libname$shrext"
  4974. else
  4975. if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  4976. ver=`(cd "$dir" && \
  4977. for f in "$libname$shrext".*; do echo "$f"; done \
  4978. | sed -e "s,^$libname$shrext\\\\.,," \
  4979. | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  4980. | sed 1q ) 2>/dev/null`
  4981. if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  4982. found_dir="$dir"
  4983. found_so="$dir/$libname$shrext.$ver"
  4984. fi
  4985. else
  4986. eval library_names=\"$acl_library_names_spec\"
  4987. for f in $library_names; do
  4988. if test -f "$dir/$f"; then
  4989. found_dir="$dir"
  4990. found_so="$dir/$f"
  4991. break
  4992. fi
  4993. done
  4994. fi
  4995. fi
  4996. fi
  4997. if test "X$found_dir" = "X"; then
  4998. if test -f "$dir/$libname.$acl_libext"; then
  4999. found_dir="$dir"
  5000. found_a="$dir/$libname.$acl_libext"
  5001. fi
  5002. fi
  5003. if test "X$found_dir" != "X"; then
  5004. if test -f "$dir/$libname.la"; then
  5005. found_la="$dir/$libname.la"
  5006. fi
  5007. fi
  5008. ;;
  5009. esac
  5010. if test "X$found_dir" != "X"; then
  5011. break
  5012. fi
  5013. done
  5014. fi
  5015. if test "X$found_dir" != "X"; then
  5016. LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
  5017. if test "X$found_so" != "X"; then
  5018. if test "$enable_rpath" = no \
  5019. || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  5020. || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  5021. LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
  5022. else
  5023. haveit=
  5024. for x in $ltrpathdirs; do
  5025. if test "X$x" = "X$found_dir"; then
  5026. haveit=yes
  5027. break
  5028. fi
  5029. done
  5030. if test -z "$haveit"; then
  5031. ltrpathdirs="$ltrpathdirs $found_dir"
  5032. fi
  5033. if test "$acl_hardcode_direct" = yes; then
  5034. LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
  5035. else
  5036. if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  5037. LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
  5038. haveit=
  5039. for x in $rpathdirs; do
  5040. if test "X$x" = "X$found_dir"; then
  5041. haveit=yes
  5042. break
  5043. fi
  5044. done
  5045. if test -z "$haveit"; then
  5046. rpathdirs="$rpathdirs $found_dir"
  5047. fi
  5048. else
  5049. haveit=
  5050. for x in $LDFLAGS $LIBICONV; do
  5051. acl_save_prefix="$prefix"
  5052. prefix="$acl_final_prefix"
  5053. acl_save_exec_prefix="$exec_prefix"
  5054. exec_prefix="$acl_final_exec_prefix"
  5055. eval x=\"$x\"
  5056. exec_prefix="$acl_save_exec_prefix"
  5057. prefix="$acl_save_prefix"
  5058. if test "X$x" = "X-L$found_dir"; then
  5059. haveit=yes
  5060. break
  5061. fi
  5062. done
  5063. if test -z "$haveit"; then
  5064. LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
  5065. fi
  5066. if test "$acl_hardcode_minus_L" != no; then
  5067. LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
  5068. else
  5069. LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
  5070. fi
  5071. fi
  5072. fi
  5073. fi
  5074. else
  5075. if test "X$found_a" != "X"; then
  5076. LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
  5077. else
  5078. LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
  5079. fi
  5080. fi
  5081. additional_includedir=
  5082. case "$found_dir" in
  5083. */$acl_libdirstem | */$acl_libdirstem/)
  5084. basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  5085. if test "$name" = 'iconv'; then
  5086. LIBICONV_PREFIX="$basedir"
  5087. fi
  5088. additional_includedir="$basedir/include"
  5089. ;;
  5090. */$acl_libdirstem2 | */$acl_libdirstem2/)
  5091. basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  5092. if test "$name" = 'iconv'; then
  5093. LIBICONV_PREFIX="$basedir"
  5094. fi
  5095. additional_includedir="$basedir/include"
  5096. ;;
  5097. esac
  5098. if test "X$additional_includedir" != "X"; then
  5099. if test "X$additional_includedir" != "X/usr/include"; then
  5100. haveit=
  5101. if test "X$additional_includedir" = "X/usr/local/include"; then
  5102. if test -n "$GCC"; then
  5103. case $host_os in
  5104. linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5105. esac
  5106. fi
  5107. fi
  5108. if test -z "$haveit"; then
  5109. for x in $CPPFLAGS $INCICONV; do
  5110. acl_save_prefix="$prefix"
  5111. prefix="$acl_final_prefix"
  5112. acl_save_exec_prefix="$exec_prefix"
  5113. exec_prefix="$acl_final_exec_prefix"
  5114. eval x=\"$x\"
  5115. exec_prefix="$acl_save_exec_prefix"
  5116. prefix="$acl_save_prefix"
  5117. if test "X$x" = "X-I$additional_includedir"; then
  5118. haveit=yes
  5119. break
  5120. fi
  5121. done
  5122. if test -z "$haveit"; then
  5123. if test -d "$additional_includedir"; then
  5124. INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
  5125. fi
  5126. fi
  5127. fi
  5128. fi
  5129. fi
  5130. if test -n "$found_la"; then
  5131. save_libdir="$libdir"
  5132. case "$found_la" in
  5133. */* | *\\*) . "$found_la" ;;
  5134. *) . "./$found_la" ;;
  5135. esac
  5136. libdir="$save_libdir"
  5137. for dep in $dependency_libs; do
  5138. case "$dep" in
  5139. -L*)
  5140. additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  5141. if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  5142. && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  5143. haveit=
  5144. if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  5145. || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  5146. if test -n "$GCC"; then
  5147. case $host_os in
  5148. linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5149. esac
  5150. fi
  5151. fi
  5152. if test -z "$haveit"; then
  5153. haveit=
  5154. for x in $LDFLAGS $LIBICONV; do
  5155. acl_save_prefix="$prefix"
  5156. prefix="$acl_final_prefix"
  5157. acl_save_exec_prefix="$exec_prefix"
  5158. exec_prefix="$acl_final_exec_prefix"
  5159. eval x=\"$x\"
  5160. exec_prefix="$acl_save_exec_prefix"
  5161. prefix="$acl_save_prefix"
  5162. if test "X$x" = "X-L$additional_libdir"; then
  5163. haveit=yes
  5164. break
  5165. fi
  5166. done
  5167. if test -z "$haveit"; then
  5168. if test -d "$additional_libdir"; then
  5169. LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
  5170. fi
  5171. fi
  5172. haveit=
  5173. for x in $LDFLAGS $LTLIBICONV; do
  5174. acl_save_prefix="$prefix"
  5175. prefix="$acl_final_prefix"
  5176. acl_save_exec_prefix="$exec_prefix"
  5177. exec_prefix="$acl_final_exec_prefix"
  5178. eval x=\"$x\"
  5179. exec_prefix="$acl_save_exec_prefix"
  5180. prefix="$acl_save_prefix"
  5181. if test "X$x" = "X-L$additional_libdir"; then
  5182. haveit=yes
  5183. break
  5184. fi
  5185. done
  5186. if test -z "$haveit"; then
  5187. if test -d "$additional_libdir"; then
  5188. LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
  5189. fi
  5190. fi
  5191. fi
  5192. fi
  5193. ;;
  5194. -R*)
  5195. dir=`echo "X$dep" | sed -e 's/^X-R//'`
  5196. if test "$enable_rpath" != no; then
  5197. haveit=
  5198. for x in $rpathdirs; do
  5199. if test "X$x" = "X$dir"; then
  5200. haveit=yes
  5201. break
  5202. fi
  5203. done
  5204. if test -z "$haveit"; then
  5205. rpathdirs="$rpathdirs $dir"
  5206. fi
  5207. haveit=
  5208. for x in $ltrpathdirs; do
  5209. if test "X$x" = "X$dir"; then
  5210. haveit=yes
  5211. break
  5212. fi
  5213. done
  5214. if test -z "$haveit"; then
  5215. ltrpathdirs="$ltrpathdirs $dir"
  5216. fi
  5217. fi
  5218. ;;
  5219. -l*)
  5220. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  5221. ;;
  5222. *.la)
  5223. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  5224. ;;
  5225. *)
  5226. LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
  5227. LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
  5228. ;;
  5229. esac
  5230. done
  5231. fi
  5232. else
  5233. LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
  5234. LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
  5235. fi
  5236. fi
  5237. fi
  5238. done
  5239. done
  5240. if test "X$rpathdirs" != "X"; then
  5241. if test -n "$acl_hardcode_libdir_separator"; then
  5242. alldirs=
  5243. for found_dir in $rpathdirs; do
  5244. alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  5245. done
  5246. acl_save_libdir="$libdir"
  5247. libdir="$alldirs"
  5248. eval flag=\"$acl_hardcode_libdir_flag_spec\"
  5249. libdir="$acl_save_libdir"
  5250. LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
  5251. else
  5252. for found_dir in $rpathdirs; do
  5253. acl_save_libdir="$libdir"
  5254. libdir="$found_dir"
  5255. eval flag=\"$acl_hardcode_libdir_flag_spec\"
  5256. libdir="$acl_save_libdir"
  5257. LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
  5258. done
  5259. fi
  5260. fi
  5261. if test "X$ltrpathdirs" != "X"; then
  5262. for found_dir in $ltrpathdirs; do
  5263. LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
  5264. done
  5265. fi
  5266. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
  5267. printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
  5268. if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
  5269. then :
  5270. printf %s "(cached) " >&6
  5271. else $as_nop
  5272. gt_save_LIBS="$LIBS"
  5273. LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  5274. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5275. /* end confdefs.h. */
  5276. #include <CoreFoundation/CFPreferences.h>
  5277. int
  5278. main (void)
  5279. {
  5280. CFPreferencesCopyAppValue(NULL, NULL)
  5281. ;
  5282. return 0;
  5283. }
  5284. _ACEOF
  5285. if ac_fn_c_try_link "$LINENO"
  5286. then :
  5287. gt_cv_func_CFPreferencesCopyAppValue=yes
  5288. else $as_nop
  5289. gt_cv_func_CFPreferencesCopyAppValue=no
  5290. fi
  5291. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5292. conftest$ac_exeext conftest.$ac_ext
  5293. LIBS="$gt_save_LIBS"
  5294. fi
  5295. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
  5296. printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
  5297. if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
  5298. printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
  5299. fi
  5300. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
  5301. printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; }
  5302. if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y}
  5303. then :
  5304. printf %s "(cached) " >&6
  5305. else $as_nop
  5306. gt_save_LIBS="$LIBS"
  5307. LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  5308. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5309. /* end confdefs.h. */
  5310. #include <CoreFoundation/CFLocale.h>
  5311. int
  5312. main (void)
  5313. {
  5314. CFLocaleCopyPreferredLanguages();
  5315. ;
  5316. return 0;
  5317. }
  5318. _ACEOF
  5319. if ac_fn_c_try_link "$LINENO"
  5320. then :
  5321. gt_cv_func_CFLocaleCopyPreferredLanguages=yes
  5322. else $as_nop
  5323. gt_cv_func_CFLocaleCopyPreferredLanguages=no
  5324. fi
  5325. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5326. conftest$ac_exeext conftest.$ac_ext
  5327. LIBS="$gt_save_LIBS"
  5328. fi
  5329. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
  5330. printf "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
  5331. if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
  5332. printf "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
  5333. fi
  5334. INTL_MACOSX_LIBS=
  5335. if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
  5336. || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
  5337. INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
  5338. fi
  5339. LIBINTL=
  5340. LTLIBINTL=
  5341. POSUB=
  5342. case " $gt_needs " in
  5343. *" need-formatstring-macros "*) gt_api_version=3 ;;
  5344. *" need-ngettext "*) gt_api_version=2 ;;
  5345. *) gt_api_version=1 ;;
  5346. esac
  5347. gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
  5348. gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
  5349. if test "$USE_NLS" = "yes"; then
  5350. gt_use_preinstalled_gnugettext=no
  5351. if test $gt_api_version -ge 3; then
  5352. gt_revision_test_code='
  5353. #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  5354. #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
  5355. #endif
  5356. typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
  5357. '
  5358. else
  5359. gt_revision_test_code=
  5360. fi
  5361. if test $gt_api_version -ge 2; then
  5362. gt_expression_test_code=' + * ngettext ("", "", 0)'
  5363. else
  5364. gt_expression_test_code=
  5365. fi
  5366. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
  5367. printf %s "checking for GNU gettext in libc... " >&6; }
  5368. if eval test \${$gt_func_gnugettext_libc+y}
  5369. then :
  5370. printf %s "(cached) " >&6
  5371. else $as_nop
  5372. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5373. /* end confdefs.h. */
  5374. #include <libintl.h>
  5375. #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  5376. extern int _nl_msg_cat_cntr;
  5377. extern int *_nl_domain_bindings;
  5378. #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
  5379. #else
  5380. #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
  5381. #endif
  5382. $gt_revision_test_code
  5383. int
  5384. main (void)
  5385. {
  5386. bindtextdomain ("", "");
  5387. return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
  5388. ;
  5389. return 0;
  5390. }
  5391. _ACEOF
  5392. if ac_fn_c_try_link "$LINENO"
  5393. then :
  5394. eval "$gt_func_gnugettext_libc=yes"
  5395. else $as_nop
  5396. eval "$gt_func_gnugettext_libc=no"
  5397. fi
  5398. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5399. conftest$ac_exeext conftest.$ac_ext
  5400. fi
  5401. eval ac_res=\$$gt_func_gnugettext_libc
  5402. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  5403. printf "%s\n" "$ac_res" >&6; }
  5404. if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
  5405. am_save_CPPFLAGS="$CPPFLAGS"
  5406. for element in $INCICONV; do
  5407. haveit=
  5408. for x in $CPPFLAGS; do
  5409. acl_save_prefix="$prefix"
  5410. prefix="$acl_final_prefix"
  5411. acl_save_exec_prefix="$exec_prefix"
  5412. exec_prefix="$acl_final_exec_prefix"
  5413. eval x=\"$x\"
  5414. exec_prefix="$acl_save_exec_prefix"
  5415. prefix="$acl_save_prefix"
  5416. if test "X$x" = "X$element"; then
  5417. haveit=yes
  5418. break
  5419. fi
  5420. done
  5421. if test -z "$haveit"; then
  5422. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  5423. fi
  5424. done
  5425. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
  5426. printf %s "checking for iconv... " >&6; }
  5427. if test ${am_cv_func_iconv+y}
  5428. then :
  5429. printf %s "(cached) " >&6
  5430. else $as_nop
  5431. am_cv_func_iconv="no, consider installing GNU libiconv"
  5432. am_cv_lib_iconv=no
  5433. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5434. /* end confdefs.h. */
  5435. #include <stdlib.h>
  5436. #include <iconv.h>
  5437. int
  5438. main (void)
  5439. {
  5440. iconv_t cd = iconv_open("","");
  5441. iconv(cd,NULL,NULL,NULL,NULL);
  5442. iconv_close(cd);
  5443. ;
  5444. return 0;
  5445. }
  5446. _ACEOF
  5447. if ac_fn_c_try_link "$LINENO"
  5448. then :
  5449. am_cv_func_iconv=yes
  5450. fi
  5451. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5452. conftest$ac_exeext conftest.$ac_ext
  5453. if test "$am_cv_func_iconv" != yes; then
  5454. am_save_LIBS="$LIBS"
  5455. LIBS="$LIBS $LIBICONV"
  5456. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5457. /* end confdefs.h. */
  5458. #include <stdlib.h>
  5459. #include <iconv.h>
  5460. int
  5461. main (void)
  5462. {
  5463. iconv_t cd = iconv_open("","");
  5464. iconv(cd,NULL,NULL,NULL,NULL);
  5465. iconv_close(cd);
  5466. ;
  5467. return 0;
  5468. }
  5469. _ACEOF
  5470. if ac_fn_c_try_link "$LINENO"
  5471. then :
  5472. am_cv_lib_iconv=yes
  5473. am_cv_func_iconv=yes
  5474. fi
  5475. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  5476. conftest$ac_exeext conftest.$ac_ext
  5477. LIBS="$am_save_LIBS"
  5478. fi
  5479. fi
  5480. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
  5481. printf "%s\n" "$am_cv_func_iconv" >&6; }
  5482. if test "$am_cv_func_iconv" = yes; then
  5483. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
  5484. printf %s "checking for working iconv... " >&6; }
  5485. if test ${am_cv_func_iconv_works+y}
  5486. then :
  5487. printf %s "(cached) " >&6
  5488. else $as_nop
  5489. am_save_LIBS="$LIBS"
  5490. if test $am_cv_lib_iconv = yes; then
  5491. LIBS="$LIBS $LIBICONV"
  5492. fi
  5493. am_cv_func_iconv_works=no
  5494. for ac_iconv_const in '' 'const'; do
  5495. if test "$cross_compiling" = yes
  5496. then :
  5497. case "$host_os" in
  5498. aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
  5499. *) am_cv_func_iconv_works="guessing yes" ;;
  5500. esac
  5501. else $as_nop
  5502. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5503. /* end confdefs.h. */
  5504. #include <iconv.h>
  5505. #include <string.h>
  5506. #ifndef ICONV_CONST
  5507. # define ICONV_CONST $ac_iconv_const
  5508. #endif
  5509. int
  5510. main (void)
  5511. {
  5512. int result = 0;
  5513. /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
  5514. returns. */
  5515. {
  5516. iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
  5517. if (cd_utf8_to_88591 != (iconv_t)(-1))
  5518. {
  5519. static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
  5520. char buf[10];
  5521. ICONV_CONST char *inptr = input;
  5522. size_t inbytesleft = strlen (input);
  5523. char *outptr = buf;
  5524. size_t outbytesleft = sizeof (buf);
  5525. size_t res = iconv (cd_utf8_to_88591,
  5526. &inptr, &inbytesleft,
  5527. &outptr, &outbytesleft);
  5528. if (res == 0)
  5529. result |= 1;
  5530. iconv_close (cd_utf8_to_88591);
  5531. }
  5532. }
  5533. /* Test against Solaris 10 bug: Failures are not distinguishable from
  5534. successful returns. */
  5535. {
  5536. iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
  5537. if (cd_ascii_to_88591 != (iconv_t)(-1))
  5538. {
  5539. static ICONV_CONST char input[] = "\263";
  5540. char buf[10];
  5541. ICONV_CONST char *inptr = input;
  5542. size_t inbytesleft = strlen (input);
  5543. char *outptr = buf;
  5544. size_t outbytesleft = sizeof (buf);
  5545. size_t res = iconv (cd_ascii_to_88591,
  5546. &inptr, &inbytesleft,
  5547. &outptr, &outbytesleft);
  5548. if (res == 0)
  5549. result |= 2;
  5550. iconv_close (cd_ascii_to_88591);
  5551. }
  5552. }
  5553. /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
  5554. {
  5555. iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
  5556. if (cd_88591_to_utf8 != (iconv_t)(-1))
  5557. {
  5558. static ICONV_CONST char input[] = "\304";
  5559. static char buf[2] = { (char)0xDE, (char)0xAD };
  5560. ICONV_CONST char *inptr = input;
  5561. size_t inbytesleft = 1;
  5562. char *outptr = buf;
  5563. size_t outbytesleft = 1;
  5564. size_t res = iconv (cd_88591_to_utf8,
  5565. &inptr, &inbytesleft,
  5566. &outptr, &outbytesleft);
  5567. if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
  5568. result |= 4;
  5569. iconv_close (cd_88591_to_utf8);
  5570. }
  5571. }
  5572. #if 0 /* This bug could be worked around by the caller. */
  5573. /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
  5574. {
  5575. iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
  5576. if (cd_88591_to_utf8 != (iconv_t)(-1))
  5577. {
  5578. static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
  5579. char buf[50];
  5580. ICONV_CONST char *inptr = input;
  5581. size_t inbytesleft = strlen (input);
  5582. char *outptr = buf;
  5583. size_t outbytesleft = sizeof (buf);
  5584. size_t res = iconv (cd_88591_to_utf8,
  5585. &inptr, &inbytesleft,
  5586. &outptr, &outbytesleft);
  5587. if ((int)res > 0)
  5588. result |= 8;
  5589. iconv_close (cd_88591_to_utf8);
  5590. }
  5591. }
  5592. #endif
  5593. /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
  5594. provided. */
  5595. if (/* Try standardized names. */
  5596. iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
  5597. /* Try IRIX, OSF/1 names. */
  5598. && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
  5599. /* Try AIX names. */
  5600. && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
  5601. /* Try HP-UX names. */
  5602. && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
  5603. result |= 16;
  5604. return result;
  5605. ;
  5606. return 0;
  5607. }
  5608. _ACEOF
  5609. if ac_fn_c_try_run "$LINENO"
  5610. then :
  5611. am_cv_func_iconv_works=yes
  5612. fi
  5613. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5614. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5615. fi
  5616. test "$am_cv_func_iconv_works" = no || break
  5617. done
  5618. LIBS="$am_save_LIBS"
  5619. fi
  5620. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
  5621. printf "%s\n" "$am_cv_func_iconv_works" >&6; }
  5622. case "$am_cv_func_iconv_works" in
  5623. *no) am_func_iconv=no am_cv_lib_iconv=no ;;
  5624. *) am_func_iconv=yes ;;
  5625. esac
  5626. else
  5627. am_func_iconv=no am_cv_lib_iconv=no
  5628. fi
  5629. if test "$am_func_iconv" = yes; then
  5630. printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
  5631. fi
  5632. if test "$am_cv_lib_iconv" = yes; then
  5633. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
  5634. printf %s "checking how to link with libiconv... " >&6; }
  5635. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
  5636. printf "%s\n" "$LIBICONV" >&6; }
  5637. else
  5638. CPPFLAGS="$am_save_CPPFLAGS"
  5639. LIBICONV=
  5640. LTLIBICONV=
  5641. fi
  5642. use_additional=yes
  5643. acl_save_prefix="$prefix"
  5644. prefix="$acl_final_prefix"
  5645. acl_save_exec_prefix="$exec_prefix"
  5646. exec_prefix="$acl_final_exec_prefix"
  5647. eval additional_includedir=\"$includedir\"
  5648. eval additional_libdir=\"$libdir\"
  5649. exec_prefix="$acl_save_exec_prefix"
  5650. prefix="$acl_save_prefix"
  5651. # Check whether --with-libintl-prefix was given.
  5652. if test ${with_libintl_prefix+y}
  5653. then :
  5654. withval=$with_libintl_prefix;
  5655. if test "X$withval" = "Xno"; then
  5656. use_additional=no
  5657. else
  5658. if test "X$withval" = "X"; then
  5659. acl_save_prefix="$prefix"
  5660. prefix="$acl_final_prefix"
  5661. acl_save_exec_prefix="$exec_prefix"
  5662. exec_prefix="$acl_final_exec_prefix"
  5663. eval additional_includedir=\"$includedir\"
  5664. eval additional_libdir=\"$libdir\"
  5665. exec_prefix="$acl_save_exec_prefix"
  5666. prefix="$acl_save_prefix"
  5667. else
  5668. additional_includedir="$withval/include"
  5669. additional_libdir="$withval/$acl_libdirstem"
  5670. if test "$acl_libdirstem2" != "$acl_libdirstem" \
  5671. && ! test -d "$withval/$acl_libdirstem"; then
  5672. additional_libdir="$withval/$acl_libdirstem2"
  5673. fi
  5674. fi
  5675. fi
  5676. fi
  5677. LIBINTL=
  5678. LTLIBINTL=
  5679. INCINTL=
  5680. LIBINTL_PREFIX=
  5681. HAVE_LIBINTL=
  5682. rpathdirs=
  5683. ltrpathdirs=
  5684. names_already_handled=
  5685. names_next_round='intl '
  5686. while test -n "$names_next_round"; do
  5687. names_this_round="$names_next_round"
  5688. names_next_round=
  5689. for name in $names_this_round; do
  5690. already_handled=
  5691. for n in $names_already_handled; do
  5692. if test "$n" = "$name"; then
  5693. already_handled=yes
  5694. break
  5695. fi
  5696. done
  5697. if test -z "$already_handled"; then
  5698. names_already_handled="$names_already_handled $name"
  5699. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  5700. eval value=\"\$HAVE_LIB$uppername\"
  5701. if test -n "$value"; then
  5702. if test "$value" = yes; then
  5703. eval value=\"\$LIB$uppername\"
  5704. test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
  5705. eval value=\"\$LTLIB$uppername\"
  5706. test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
  5707. else
  5708. :
  5709. fi
  5710. else
  5711. found_dir=
  5712. found_la=
  5713. found_so=
  5714. found_a=
  5715. eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  5716. if test -n "$acl_shlibext"; then
  5717. shrext=".$acl_shlibext" # typically: shrext=.so
  5718. else
  5719. shrext=
  5720. fi
  5721. if test $use_additional = yes; then
  5722. dir="$additional_libdir"
  5723. if test -n "$acl_shlibext"; then
  5724. if test -f "$dir/$libname$shrext"; then
  5725. found_dir="$dir"
  5726. found_so="$dir/$libname$shrext"
  5727. else
  5728. if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  5729. ver=`(cd "$dir" && \
  5730. for f in "$libname$shrext".*; do echo "$f"; done \
  5731. | sed -e "s,^$libname$shrext\\\\.,," \
  5732. | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  5733. | sed 1q ) 2>/dev/null`
  5734. if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  5735. found_dir="$dir"
  5736. found_so="$dir/$libname$shrext.$ver"
  5737. fi
  5738. else
  5739. eval library_names=\"$acl_library_names_spec\"
  5740. for f in $library_names; do
  5741. if test -f "$dir/$f"; then
  5742. found_dir="$dir"
  5743. found_so="$dir/$f"
  5744. break
  5745. fi
  5746. done
  5747. fi
  5748. fi
  5749. fi
  5750. if test "X$found_dir" = "X"; then
  5751. if test -f "$dir/$libname.$acl_libext"; then
  5752. found_dir="$dir"
  5753. found_a="$dir/$libname.$acl_libext"
  5754. fi
  5755. fi
  5756. if test "X$found_dir" != "X"; then
  5757. if test -f "$dir/$libname.la"; then
  5758. found_la="$dir/$libname.la"
  5759. fi
  5760. fi
  5761. fi
  5762. if test "X$found_dir" = "X"; then
  5763. for x in $LDFLAGS $LTLIBINTL; do
  5764. acl_save_prefix="$prefix"
  5765. prefix="$acl_final_prefix"
  5766. acl_save_exec_prefix="$exec_prefix"
  5767. exec_prefix="$acl_final_exec_prefix"
  5768. eval x=\"$x\"
  5769. exec_prefix="$acl_save_exec_prefix"
  5770. prefix="$acl_save_prefix"
  5771. case "$x" in
  5772. -L*)
  5773. dir=`echo "X$x" | sed -e 's/^X-L//'`
  5774. if test -n "$acl_shlibext"; then
  5775. if test -f "$dir/$libname$shrext"; then
  5776. found_dir="$dir"
  5777. found_so="$dir/$libname$shrext"
  5778. else
  5779. if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  5780. ver=`(cd "$dir" && \
  5781. for f in "$libname$shrext".*; do echo "$f"; done \
  5782. | sed -e "s,^$libname$shrext\\\\.,," \
  5783. | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  5784. | sed 1q ) 2>/dev/null`
  5785. if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  5786. found_dir="$dir"
  5787. found_so="$dir/$libname$shrext.$ver"
  5788. fi
  5789. else
  5790. eval library_names=\"$acl_library_names_spec\"
  5791. for f in $library_names; do
  5792. if test -f "$dir/$f"; then
  5793. found_dir="$dir"
  5794. found_so="$dir/$f"
  5795. break
  5796. fi
  5797. done
  5798. fi
  5799. fi
  5800. fi
  5801. if test "X$found_dir" = "X"; then
  5802. if test -f "$dir/$libname.$acl_libext"; then
  5803. found_dir="$dir"
  5804. found_a="$dir/$libname.$acl_libext"
  5805. fi
  5806. fi
  5807. if test "X$found_dir" != "X"; then
  5808. if test -f "$dir/$libname.la"; then
  5809. found_la="$dir/$libname.la"
  5810. fi
  5811. fi
  5812. ;;
  5813. esac
  5814. if test "X$found_dir" != "X"; then
  5815. break
  5816. fi
  5817. done
  5818. fi
  5819. if test "X$found_dir" != "X"; then
  5820. LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
  5821. if test "X$found_so" != "X"; then
  5822. if test "$enable_rpath" = no \
  5823. || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  5824. || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  5825. LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
  5826. else
  5827. haveit=
  5828. for x in $ltrpathdirs; do
  5829. if test "X$x" = "X$found_dir"; then
  5830. haveit=yes
  5831. break
  5832. fi
  5833. done
  5834. if test -z "$haveit"; then
  5835. ltrpathdirs="$ltrpathdirs $found_dir"
  5836. fi
  5837. if test "$acl_hardcode_direct" = yes; then
  5838. LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
  5839. else
  5840. if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  5841. LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
  5842. haveit=
  5843. for x in $rpathdirs; do
  5844. if test "X$x" = "X$found_dir"; then
  5845. haveit=yes
  5846. break
  5847. fi
  5848. done
  5849. if test -z "$haveit"; then
  5850. rpathdirs="$rpathdirs $found_dir"
  5851. fi
  5852. else
  5853. haveit=
  5854. for x in $LDFLAGS $LIBINTL; do
  5855. acl_save_prefix="$prefix"
  5856. prefix="$acl_final_prefix"
  5857. acl_save_exec_prefix="$exec_prefix"
  5858. exec_prefix="$acl_final_exec_prefix"
  5859. eval x=\"$x\"
  5860. exec_prefix="$acl_save_exec_prefix"
  5861. prefix="$acl_save_prefix"
  5862. if test "X$x" = "X-L$found_dir"; then
  5863. haveit=yes
  5864. break
  5865. fi
  5866. done
  5867. if test -z "$haveit"; then
  5868. LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
  5869. fi
  5870. if test "$acl_hardcode_minus_L" != no; then
  5871. LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
  5872. else
  5873. LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
  5874. fi
  5875. fi
  5876. fi
  5877. fi
  5878. else
  5879. if test "X$found_a" != "X"; then
  5880. LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
  5881. else
  5882. LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
  5883. fi
  5884. fi
  5885. additional_includedir=
  5886. case "$found_dir" in
  5887. */$acl_libdirstem | */$acl_libdirstem/)
  5888. basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  5889. if test "$name" = 'intl'; then
  5890. LIBINTL_PREFIX="$basedir"
  5891. fi
  5892. additional_includedir="$basedir/include"
  5893. ;;
  5894. */$acl_libdirstem2 | */$acl_libdirstem2/)
  5895. basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  5896. if test "$name" = 'intl'; then
  5897. LIBINTL_PREFIX="$basedir"
  5898. fi
  5899. additional_includedir="$basedir/include"
  5900. ;;
  5901. esac
  5902. if test "X$additional_includedir" != "X"; then
  5903. if test "X$additional_includedir" != "X/usr/include"; then
  5904. haveit=
  5905. if test "X$additional_includedir" = "X/usr/local/include"; then
  5906. if test -n "$GCC"; then
  5907. case $host_os in
  5908. linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5909. esac
  5910. fi
  5911. fi
  5912. if test -z "$haveit"; then
  5913. for x in $CPPFLAGS $INCINTL; do
  5914. acl_save_prefix="$prefix"
  5915. prefix="$acl_final_prefix"
  5916. acl_save_exec_prefix="$exec_prefix"
  5917. exec_prefix="$acl_final_exec_prefix"
  5918. eval x=\"$x\"
  5919. exec_prefix="$acl_save_exec_prefix"
  5920. prefix="$acl_save_prefix"
  5921. if test "X$x" = "X-I$additional_includedir"; then
  5922. haveit=yes
  5923. break
  5924. fi
  5925. done
  5926. if test -z "$haveit"; then
  5927. if test -d "$additional_includedir"; then
  5928. INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
  5929. fi
  5930. fi
  5931. fi
  5932. fi
  5933. fi
  5934. if test -n "$found_la"; then
  5935. save_libdir="$libdir"
  5936. case "$found_la" in
  5937. */* | *\\*) . "$found_la" ;;
  5938. *) . "./$found_la" ;;
  5939. esac
  5940. libdir="$save_libdir"
  5941. for dep in $dependency_libs; do
  5942. case "$dep" in
  5943. -L*)
  5944. additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  5945. if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  5946. && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  5947. haveit=
  5948. if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  5949. || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  5950. if test -n "$GCC"; then
  5951. case $host_os in
  5952. linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5953. esac
  5954. fi
  5955. fi
  5956. if test -z "$haveit"; then
  5957. haveit=
  5958. for x in $LDFLAGS $LIBINTL; do
  5959. acl_save_prefix="$prefix"
  5960. prefix="$acl_final_prefix"
  5961. acl_save_exec_prefix="$exec_prefix"
  5962. exec_prefix="$acl_final_exec_prefix"
  5963. eval x=\"$x\"
  5964. exec_prefix="$acl_save_exec_prefix"
  5965. prefix="$acl_save_prefix"
  5966. if test "X$x" = "X-L$additional_libdir"; then
  5967. haveit=yes
  5968. break
  5969. fi
  5970. done
  5971. if test -z "$haveit"; then
  5972. if test -d "$additional_libdir"; then
  5973. LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
  5974. fi
  5975. fi
  5976. haveit=
  5977. for x in $LDFLAGS $LTLIBINTL; do
  5978. acl_save_prefix="$prefix"
  5979. prefix="$acl_final_prefix"
  5980. acl_save_exec_prefix="$exec_prefix"
  5981. exec_prefix="$acl_final_exec_prefix"
  5982. eval x=\"$x\"
  5983. exec_prefix="$acl_save_exec_prefix"
  5984. prefix="$acl_save_prefix"
  5985. if test "X$x" = "X-L$additional_libdir"; then
  5986. haveit=yes
  5987. break
  5988. fi
  5989. done
  5990. if test -z "$haveit"; then
  5991. if test -d "$additional_libdir"; then
  5992. LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
  5993. fi
  5994. fi
  5995. fi
  5996. fi
  5997. ;;
  5998. -R*)
  5999. dir=`echo "X$dep" | sed -e 's/^X-R//'`
  6000. if test "$enable_rpath" != no; then
  6001. haveit=
  6002. for x in $rpathdirs; do
  6003. if test "X$x" = "X$dir"; then
  6004. haveit=yes
  6005. break
  6006. fi
  6007. done
  6008. if test -z "$haveit"; then
  6009. rpathdirs="$rpathdirs $dir"
  6010. fi
  6011. haveit=
  6012. for x in $ltrpathdirs; do
  6013. if test "X$x" = "X$dir"; then
  6014. haveit=yes
  6015. break
  6016. fi
  6017. done
  6018. if test -z "$haveit"; then
  6019. ltrpathdirs="$ltrpathdirs $dir"
  6020. fi
  6021. fi
  6022. ;;
  6023. -l*)
  6024. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  6025. ;;
  6026. *.la)
  6027. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  6028. ;;
  6029. *)
  6030. LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
  6031. LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
  6032. ;;
  6033. esac
  6034. done
  6035. fi
  6036. else
  6037. LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
  6038. LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
  6039. fi
  6040. fi
  6041. fi
  6042. done
  6043. done
  6044. if test "X$rpathdirs" != "X"; then
  6045. if test -n "$acl_hardcode_libdir_separator"; then
  6046. alldirs=
  6047. for found_dir in $rpathdirs; do
  6048. alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  6049. done
  6050. acl_save_libdir="$libdir"
  6051. libdir="$alldirs"
  6052. eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6053. libdir="$acl_save_libdir"
  6054. LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
  6055. else
  6056. for found_dir in $rpathdirs; do
  6057. acl_save_libdir="$libdir"
  6058. libdir="$found_dir"
  6059. eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6060. libdir="$acl_save_libdir"
  6061. LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
  6062. done
  6063. fi
  6064. fi
  6065. if test "X$ltrpathdirs" != "X"; then
  6066. for found_dir in $ltrpathdirs; do
  6067. LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
  6068. done
  6069. fi
  6070. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
  6071. printf %s "checking for GNU gettext in libintl... " >&6; }
  6072. if eval test \${$gt_func_gnugettext_libintl+y}
  6073. then :
  6074. printf %s "(cached) " >&6
  6075. else $as_nop
  6076. gt_save_CPPFLAGS="$CPPFLAGS"
  6077. CPPFLAGS="$CPPFLAGS $INCINTL"
  6078. gt_save_LIBS="$LIBS"
  6079. LIBS="$LIBS $LIBINTL"
  6080. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6081. /* end confdefs.h. */
  6082. #include <libintl.h>
  6083. #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  6084. extern int _nl_msg_cat_cntr;
  6085. extern
  6086. #ifdef __cplusplus
  6087. "C"
  6088. #endif
  6089. const char *_nl_expand_alias (const char *);
  6090. #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
  6091. #else
  6092. #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
  6093. #endif
  6094. $gt_revision_test_code
  6095. int
  6096. main (void)
  6097. {
  6098. bindtextdomain ("", "");
  6099. return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
  6100. ;
  6101. return 0;
  6102. }
  6103. _ACEOF
  6104. if ac_fn_c_try_link "$LINENO"
  6105. then :
  6106. eval "$gt_func_gnugettext_libintl=yes"
  6107. else $as_nop
  6108. eval "$gt_func_gnugettext_libintl=no"
  6109. fi
  6110. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  6111. conftest$ac_exeext conftest.$ac_ext
  6112. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
  6113. LIBS="$LIBS $LIBICONV"
  6114. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6115. /* end confdefs.h. */
  6116. #include <libintl.h>
  6117. #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  6118. extern int _nl_msg_cat_cntr;
  6119. extern
  6120. #ifdef __cplusplus
  6121. "C"
  6122. #endif
  6123. const char *_nl_expand_alias (const char *);
  6124. #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
  6125. #else
  6126. #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
  6127. #endif
  6128. $gt_revision_test_code
  6129. int
  6130. main (void)
  6131. {
  6132. bindtextdomain ("", "");
  6133. return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
  6134. ;
  6135. return 0;
  6136. }
  6137. _ACEOF
  6138. if ac_fn_c_try_link "$LINENO"
  6139. then :
  6140. LIBINTL="$LIBINTL $LIBICONV"
  6141. LTLIBINTL="$LTLIBINTL $LTLIBICONV"
  6142. eval "$gt_func_gnugettext_libintl=yes"
  6143. fi
  6144. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  6145. conftest$ac_exeext conftest.$ac_ext
  6146. fi
  6147. CPPFLAGS="$gt_save_CPPFLAGS"
  6148. LIBS="$gt_save_LIBS"
  6149. fi
  6150. eval ac_res=\$$gt_func_gnugettext_libintl
  6151. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  6152. printf "%s\n" "$ac_res" >&6; }
  6153. fi
  6154. if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
  6155. || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
  6156. && test "$PACKAGE" != gettext-runtime \
  6157. && test "$PACKAGE" != gettext-tools; }; then
  6158. gt_use_preinstalled_gnugettext=yes
  6159. else
  6160. LIBINTL=
  6161. LTLIBINTL=
  6162. INCINTL=
  6163. fi
  6164. if test -n "$INTL_MACOSX_LIBS"; then
  6165. if test "$gt_use_preinstalled_gnugettext" = "yes" \
  6166. || test "$nls_cv_use_gnu_gettext" = "yes"; then
  6167. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
  6168. LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
  6169. fi
  6170. fi
  6171. if test "$gt_use_preinstalled_gnugettext" = "yes" \
  6172. || test "$nls_cv_use_gnu_gettext" = "yes"; then
  6173. printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
  6174. else
  6175. USE_NLS=no
  6176. fi
  6177. fi
  6178. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
  6179. printf %s "checking whether to use NLS... " >&6; }
  6180. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
  6181. printf "%s\n" "$USE_NLS" >&6; }
  6182. if test "$USE_NLS" = "yes"; then
  6183. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
  6184. printf %s "checking where the gettext function comes from... " >&6; }
  6185. if test "$gt_use_preinstalled_gnugettext" = "yes"; then
  6186. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
  6187. gt_source="external libintl"
  6188. else
  6189. gt_source="libc"
  6190. fi
  6191. else
  6192. gt_source="included intl directory"
  6193. fi
  6194. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
  6195. printf "%s\n" "$gt_source" >&6; }
  6196. fi
  6197. if test "$USE_NLS" = "yes"; then
  6198. if test "$gt_use_preinstalled_gnugettext" = "yes"; then
  6199. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
  6200. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
  6201. printf %s "checking how to link with libintl... " >&6; }
  6202. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
  6203. printf "%s\n" "$LIBINTL" >&6; }
  6204. for element in $INCINTL; do
  6205. haveit=
  6206. for x in $CPPFLAGS; do
  6207. acl_save_prefix="$prefix"
  6208. prefix="$acl_final_prefix"
  6209. acl_save_exec_prefix="$exec_prefix"
  6210. exec_prefix="$acl_final_exec_prefix"
  6211. eval x=\"$x\"
  6212. exec_prefix="$acl_save_exec_prefix"
  6213. prefix="$acl_save_prefix"
  6214. if test "X$x" = "X$element"; then
  6215. haveit=yes
  6216. break
  6217. fi
  6218. done
  6219. if test -z "$haveit"; then
  6220. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  6221. fi
  6222. done
  6223. fi
  6224. printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
  6225. printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
  6226. fi
  6227. POSUB=po
  6228. fi
  6229. INTLLIBS="$LIBINTL"
  6230. # Extract the first word of "sbcl", so it can be a program name with args.
  6231. set dummy sbcl; ac_word=$2
  6232. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6233. printf %s "checking for $ac_word... " >&6; }
  6234. if test ${ac_cv_path_LISP_COMPILER+y}
  6235. then :
  6236. printf %s "(cached) " >&6
  6237. else $as_nop
  6238. case $LISP_COMPILER in
  6239. [\\/]* | ?:[\\/]*)
  6240. ac_cv_path_LISP_COMPILER="$LISP_COMPILER" # Let the user override the test with a path.
  6241. ;;
  6242. *)
  6243. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6244. for as_dir in $PATH
  6245. do
  6246. IFS=$as_save_IFS
  6247. case $as_dir in #(((
  6248. '') as_dir=./ ;;
  6249. */) ;;
  6250. *) as_dir=$as_dir/ ;;
  6251. esac
  6252. for ac_exec_ext in '' $ac_executable_extensions; do
  6253. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6254. ac_cv_path_LISP_COMPILER="$as_dir$ac_word$ac_exec_ext"
  6255. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6256. break 2
  6257. fi
  6258. done
  6259. done
  6260. IFS=$as_save_IFS
  6261. test -z "$ac_cv_path_LISP_COMPILER" && ac_cv_path_LISP_COMPILER="no"
  6262. ;;
  6263. esac
  6264. fi
  6265. LISP_COMPILER=$ac_cv_path_LISP_COMPILER
  6266. if test -n "$LISP_COMPILER"; then
  6267. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LISP_COMPILER" >&5
  6268. printf "%s\n" "$LISP_COMPILER" >&6; }
  6269. else
  6270. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6271. printf "%s\n" "no" >&6; }
  6272. fi
  6273. if test "$LISP_COMPILER" = "no" ; then
  6274. as_fn_error $? "Can not find SBCL, Common Lisp compiler." "$LINENO" 5
  6275. fi
  6276. # Extract the first word of "curl", so it can be a program name with args.
  6277. set dummy curl; ac_word=$2
  6278. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6279. printf %s "checking for $ac_word... " >&6; }
  6280. if test ${ac_cv_path_CURL+y}
  6281. then :
  6282. printf %s "(cached) " >&6
  6283. else $as_nop
  6284. case $CURL in
  6285. [\\/]* | ?:[\\/]*)
  6286. ac_cv_path_CURL="$CURL" # Let the user override the test with a path.
  6287. ;;
  6288. *)
  6289. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6290. for as_dir in $PATH
  6291. do
  6292. IFS=$as_save_IFS
  6293. case $as_dir in #(((
  6294. '') as_dir=./ ;;
  6295. */) ;;
  6296. *) as_dir=$as_dir/ ;;
  6297. esac
  6298. for ac_exec_ext in '' $ac_executable_extensions; do
  6299. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6300. ac_cv_path_CURL="$as_dir$ac_word$ac_exec_ext"
  6301. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6302. break 2
  6303. fi
  6304. done
  6305. done
  6306. IFS=$as_save_IFS
  6307. test -z "$ac_cv_path_CURL" && ac_cv_path_CURL="no"
  6308. ;;
  6309. esac
  6310. fi
  6311. CURL=$ac_cv_path_CURL
  6312. if test -n "$CURL"; then
  6313. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
  6314. printf "%s\n" "$CURL" >&6; }
  6315. else
  6316. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6317. printf "%s\n" "no" >&6; }
  6318. fi
  6319. if test "$CURL" = "no" ; then
  6320. as_fn_error $? "Can not find curl." "$LINENO" 5
  6321. exit 1;
  6322. fi
  6323. # Extract the first word of "gpg", so it can be a program name with args.
  6324. set dummy gpg; ac_word=$2
  6325. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6326. printf %s "checking for $ac_word... " >&6; }
  6327. if test ${ac_cv_path_GPG+y}
  6328. then :
  6329. printf %s "(cached) " >&6
  6330. else $as_nop
  6331. case $GPG in
  6332. [\\/]* | ?:[\\/]*)
  6333. ac_cv_path_GPG="$GPG" # Let the user override the test with a path.
  6334. ;;
  6335. *)
  6336. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6337. for as_dir in $PATH
  6338. do
  6339. IFS=$as_save_IFS
  6340. case $as_dir in #(((
  6341. '') as_dir=./ ;;
  6342. */) ;;
  6343. *) as_dir=$as_dir/ ;;
  6344. esac
  6345. for ac_exec_ext in '' $ac_executable_extensions; do
  6346. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6347. ac_cv_path_GPG="$as_dir$ac_word$ac_exec_ext"
  6348. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6349. break 2
  6350. fi
  6351. done
  6352. done
  6353. IFS=$as_save_IFS
  6354. test -z "$ac_cv_path_GPG" && ac_cv_path_GPG="no"
  6355. ;;
  6356. esac
  6357. fi
  6358. GPG=$ac_cv_path_GPG
  6359. if test -n "$GPG"; then
  6360. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GPG" >&5
  6361. printf "%s\n" "$GPG" >&6; }
  6362. else
  6363. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6364. printf "%s\n" "no" >&6; }
  6365. fi
  6366. if test "$GPG" = "no" ; then
  6367. as_fn_error $? "Can not find gpg, crypto software." "$LINENO" 5
  6368. exit 1;
  6369. fi
  6370. # Extract the first word of "bash", so it can be a program name with args.
  6371. set dummy bash; ac_word=$2
  6372. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6373. printf %s "checking for $ac_word... " >&6; }
  6374. if test ${ac_cv_path_BASH+y}
  6375. then :
  6376. printf %s "(cached) " >&6
  6377. else $as_nop
  6378. case $BASH in
  6379. [\\/]* | ?:[\\/]*)
  6380. ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
  6381. ;;
  6382. *)
  6383. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6384. for as_dir in $PATH
  6385. do
  6386. IFS=$as_save_IFS
  6387. case $as_dir in #(((
  6388. '') as_dir=./ ;;
  6389. */) ;;
  6390. *) as_dir=$as_dir/ ;;
  6391. esac
  6392. for ac_exec_ext in '' $ac_executable_extensions; do
  6393. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6394. ac_cv_path_BASH="$as_dir$ac_word$ac_exec_ext"
  6395. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6396. break 2
  6397. fi
  6398. done
  6399. done
  6400. IFS=$as_save_IFS
  6401. test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="no"
  6402. ;;
  6403. esac
  6404. fi
  6405. BASH=$ac_cv_path_BASH
  6406. if test -n "$BASH"; then
  6407. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
  6408. printf "%s\n" "$BASH" >&6; }
  6409. else
  6410. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6411. printf "%s\n" "no" >&6; }
  6412. fi
  6413. if test "$BASH" = "no" ; then
  6414. as_fn_error $? "Can not find bash shell." "$LINENO" 5
  6415. exit 1;
  6416. fi
  6417. # Extract the first word of "gawk", so it can be a program name with args.
  6418. set dummy gawk; ac_word=$2
  6419. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6420. printf %s "checking for $ac_word... " >&6; }
  6421. if test ${ac_cv_path_GAWK+y}
  6422. then :
  6423. printf %s "(cached) " >&6
  6424. else $as_nop
  6425. case $GAWK in
  6426. [\\/]* | ?:[\\/]*)
  6427. ac_cv_path_GAWK="$GAWK" # Let the user override the test with a path.
  6428. ;;
  6429. *)
  6430. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6431. for as_dir in $PATH
  6432. do
  6433. IFS=$as_save_IFS
  6434. case $as_dir in #(((
  6435. '') as_dir=./ ;;
  6436. */) ;;
  6437. *) as_dir=$as_dir/ ;;
  6438. esac
  6439. for ac_exec_ext in '' $ac_executable_extensions; do
  6440. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6441. ac_cv_path_GAWK="$as_dir$ac_word$ac_exec_ext"
  6442. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6443. break 2
  6444. fi
  6445. done
  6446. done
  6447. IFS=$as_save_IFS
  6448. test -z "$ac_cv_path_GAWK" && ac_cv_path_GAWK="no"
  6449. ;;
  6450. esac
  6451. fi
  6452. GAWK=$ac_cv_path_GAWK
  6453. if test -n "$GAWK"; then
  6454. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GAWK" >&5
  6455. printf "%s\n" "$GAWK" >&6; }
  6456. else
  6457. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6458. printf "%s\n" "no" >&6; }
  6459. fi
  6460. if test "$GAWK" = "no" ; then
  6461. as_fn_error $? "Can not find GNU AWK (gawk)." "$LINENO" 5
  6462. exit 1;
  6463. fi
  6464. SBCL_MIN_VERSION="1.4.8";
  6465. SBCL_VERSION=`${LISP_COMPILER} --version | ${GAWK} -- '// {print $2}'`
  6466. SBCL_VERSION_OK=`echo "$SBCL_VERSION $SBCL_MIN_VERSION" | awk -f compare_version.awk`
  6467. if test "$SBCL_VERSION_OK" = "1" ; then
  6468. as_fn_error $? "Lisp compiler too old, $SBCL_MIN_VERSION is the oldest supported." "$LINENO" 5
  6469. exit 1;
  6470. fi
  6471. # Extract the first word of "wish", so it can be a program name with args.
  6472. set dummy wish; ac_word=$2
  6473. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6474. printf %s "checking for $ac_word... " >&6; }
  6475. if test ${ac_cv_path_WISH+y}
  6476. then :
  6477. printf %s "(cached) " >&6
  6478. else $as_nop
  6479. case $WISH in
  6480. [\\/]* | ?:[\\/]*)
  6481. ac_cv_path_WISH="$WISH" # Let the user override the test with a path.
  6482. ;;
  6483. *)
  6484. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6485. for as_dir in $PATH
  6486. do
  6487. IFS=$as_save_IFS
  6488. case $as_dir in #(((
  6489. '') as_dir=./ ;;
  6490. */) ;;
  6491. *) as_dir=$as_dir/ ;;
  6492. esac
  6493. for ac_exec_ext in '' $ac_executable_extensions; do
  6494. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6495. ac_cv_path_WISH="$as_dir$ac_word$ac_exec_ext"
  6496. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6497. break 2
  6498. fi
  6499. done
  6500. done
  6501. IFS=$as_save_IFS
  6502. test -z "$ac_cv_path_WISH" && ac_cv_path_WISH="no"
  6503. ;;
  6504. esac
  6505. fi
  6506. WISH=$ac_cv_path_WISH
  6507. if test -n "$WISH"; then
  6508. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WISH" >&5
  6509. printf "%s\n" "$WISH" >&6; }
  6510. else
  6511. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6512. printf "%s\n" "no" >&6; }
  6513. fi
  6514. if test "$WISH" = "no" ; then
  6515. as_fn_error $? "Can not find wish, the TK interpreter." "$LINENO" 5
  6516. exit 1;
  6517. fi
  6518. # Extract the first word of "sqlite3", so it can be a program name with args.
  6519. set dummy sqlite3; ac_word=$2
  6520. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6521. printf %s "checking for $ac_word... " >&6; }
  6522. if test ${ac_cv_path_SQLITE+y}
  6523. then :
  6524. printf %s "(cached) " >&6
  6525. else $as_nop
  6526. case $SQLITE in
  6527. [\\/]* | ?:[\\/]*)
  6528. ac_cv_path_SQLITE="$SQLITE" # Let the user override the test with a path.
  6529. ;;
  6530. *)
  6531. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6532. for as_dir in $PATH
  6533. do
  6534. IFS=$as_save_IFS
  6535. case $as_dir in #(((
  6536. '') as_dir=./ ;;
  6537. */) ;;
  6538. *) as_dir=$as_dir/ ;;
  6539. esac
  6540. for ac_exec_ext in '' $ac_executable_extensions; do
  6541. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6542. ac_cv_path_SQLITE="$as_dir$ac_word$ac_exec_ext"
  6543. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6544. break 2
  6545. fi
  6546. done
  6547. done
  6548. IFS=$as_save_IFS
  6549. test -z "$ac_cv_path_SQLITE" && ac_cv_path_SQLITE="no"
  6550. ;;
  6551. esac
  6552. fi
  6553. SQLITE=$ac_cv_path_SQLITE
  6554. if test -n "$SQLITE"; then
  6555. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SQLITE" >&5
  6556. printf "%s\n" "$SQLITE" >&6; }
  6557. else
  6558. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6559. printf "%s\n" "no" >&6; }
  6560. fi
  6561. if test "$SQLITE" = "no" ; then
  6562. as_fn_error $? "Can not find sqlite3 binary." "$LINENO" 5
  6563. exit 1;
  6564. fi
  6565. # Extract the first word of "gimp", so it can be a program name with args.
  6566. set dummy gimp; ac_word=$2
  6567. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6568. printf %s "checking for $ac_word... " >&6; }
  6569. if test ${ac_cv_path_GIMP+y}
  6570. then :
  6571. printf %s "(cached) " >&6
  6572. else $as_nop
  6573. case $GIMP in
  6574. [\\/]* | ?:[\\/]*)
  6575. ac_cv_path_GIMP="$GIMP" # Let the user override the test with a path.
  6576. ;;
  6577. *)
  6578. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6579. for as_dir in $PATH
  6580. do
  6581. IFS=$as_save_IFS
  6582. case $as_dir in #(((
  6583. '') as_dir=./ ;;
  6584. */) ;;
  6585. *) as_dir=$as_dir/ ;;
  6586. esac
  6587. for ac_exec_ext in '' $ac_executable_extensions; do
  6588. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6589. ac_cv_path_GIMP="$as_dir$ac_word$ac_exec_ext"
  6590. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6591. break 2
  6592. fi
  6593. done
  6594. done
  6595. IFS=$as_save_IFS
  6596. test -z "$ac_cv_path_GIMP" && ac_cv_path_GIMP="no"
  6597. ;;
  6598. esac
  6599. fi
  6600. GIMP=$ac_cv_path_GIMP
  6601. if test -n "$GIMP"; then
  6602. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GIMP" >&5
  6603. printf "%s\n" "$GIMP" >&6; }
  6604. else
  6605. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6606. printf "%s\n" "no" >&6; }
  6607. fi
  6608. if test "$GIMP" = "no" ; then
  6609. as_fn_error $? "Can not find gimp." "$LINENO" 5
  6610. exit 1;
  6611. fi
  6612. # Extract the first word of "gv", so it can be a program name with args.
  6613. set dummy gv; ac_word=$2
  6614. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6615. printf %s "checking for $ac_word... " >&6; }
  6616. if test ${ac_cv_path_GV+y}
  6617. then :
  6618. printf %s "(cached) " >&6
  6619. else $as_nop
  6620. case $GV in
  6621. [\\/]* | ?:[\\/]*)
  6622. ac_cv_path_GV="$GV" # Let the user override the test with a path.
  6623. ;;
  6624. *)
  6625. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6626. for as_dir in $PATH
  6627. do
  6628. IFS=$as_save_IFS
  6629. case $as_dir in #(((
  6630. '') as_dir=./ ;;
  6631. */) ;;
  6632. *) as_dir=$as_dir/ ;;
  6633. esac
  6634. for ac_exec_ext in '' $ac_executable_extensions; do
  6635. if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
  6636. ac_cv_path_GV="$as_dir$ac_word$ac_exec_ext"
  6637. printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
  6638. break 2
  6639. fi
  6640. done
  6641. done
  6642. IFS=$as_save_IFS
  6643. test -z "$ac_cv_path_GV" && ac_cv_path_GV="no"
  6644. ;;
  6645. esac
  6646. fi
  6647. GV=$ac_cv_path_GV
  6648. if test -n "$GV"; then
  6649. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GV" >&5
  6650. printf "%s\n" "$GV" >&6; }
  6651. else
  6652. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6653. printf "%s\n" "no" >&6; }
  6654. fi
  6655. if test "$GV" = "no" ; then
  6656. as_fn_error $? "Can not find gv (PostScript visualizer)." "$LINENO" 5
  6657. exit 1;
  6658. fi
  6659. ac_header= ac_cache=
  6660. for ac_item in $ac_header_c_list
  6661. do
  6662. if test $ac_cache; then
  6663. ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
  6664. if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
  6665. printf "%s\n" "#define $ac_item 1" >> confdefs.h
  6666. fi
  6667. ac_header= ac_cache=
  6668. elif test $ac_header; then
  6669. ac_cache=$ac_item
  6670. else
  6671. ac_header=$ac_item
  6672. fi
  6673. done
  6674. if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
  6675. then :
  6676. printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
  6677. fi
  6678. as_ac_Header=`printf "%s\n" "ac_cv_header_"libps/pslib.h"" | $as_tr_sh`
  6679. ac_fn_c_check_header_compile "$LINENO" ""libps/pslib.h"" "$as_ac_Header" "$ac_includes_default"
  6680. if eval test \"x\$"$as_ac_Header"\" = x"yes"
  6681. then :
  6682. else $as_nop
  6683. as_fn_error $? "Can not find pslib developement header." "$LINENO" 5
  6684. fi
  6685. as_ac_Header=`printf "%s\n" "ac_cv_header_"openssl/ssl.h"" | $as_tr_sh`
  6686. ac_fn_c_check_header_compile "$LINENO" ""openssl/ssl.h"" "$as_ac_Header" "$ac_includes_default"
  6687. if eval test \"x\$"$as_ac_Header"\" = x"yes"
  6688. then :
  6689. else $as_nop
  6690. as_fn_error $? "Can not find libssl developement header." "$LINENO" 5
  6691. fi
  6692. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PS_boot in -lps" >&5
  6693. printf %s "checking for PS_boot in -lps... " >&6; }
  6694. if test ${ac_cv_lib_ps_PS_boot+y}
  6695. then :
  6696. printf %s "(cached) " >&6
  6697. else $as_nop
  6698. ac_check_lib_save_LIBS=$LIBS
  6699. LIBS="-lps $LIBS"
  6700. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6701. /* end confdefs.h. */
  6702. /* Override any GCC internal prototype to avoid an error.
  6703. Use char because int might match the return type of a GCC
  6704. builtin and then its argument prototype would still apply. */
  6705. char PS_boot ();
  6706. int
  6707. main (void)
  6708. {
  6709. return PS_boot ();
  6710. ;
  6711. return 0;
  6712. }
  6713. _ACEOF
  6714. if ac_fn_c_try_link "$LINENO"
  6715. then :
  6716. ac_cv_lib_ps_PS_boot=yes
  6717. else $as_nop
  6718. ac_cv_lib_ps_PS_boot=no
  6719. fi
  6720. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  6721. conftest$ac_exeext conftest.$ac_ext
  6722. LIBS=$ac_check_lib_save_LIBS
  6723. fi
  6724. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ps_PS_boot" >&5
  6725. printf "%s\n" "$ac_cv_lib_ps_PS_boot" >&6; }
  6726. if test "x$ac_cv_lib_ps_PS_boot" = xyes
  6727. then :
  6728. printf "%s\n" "#define HAVE_LIBPS 1" >>confdefs.h
  6729. LIBS="-lps $LIBS"
  6730. else $as_nop
  6731. as_fn_error $? "Can not find pslib (PostScript generation library)." "$LINENO" 5
  6732. fi
  6733. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5
  6734. printf %s "checking for SSL_new in -lssl... " >&6; }
  6735. if test ${ac_cv_lib_ssl_SSL_new+y}
  6736. then :
  6737. printf %s "(cached) " >&6
  6738. else $as_nop
  6739. ac_check_lib_save_LIBS=$LIBS
  6740. LIBS="-lssl $LIBS"
  6741. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6742. /* end confdefs.h. */
  6743. /* Override any GCC internal prototype to avoid an error.
  6744. Use char because int might match the return type of a GCC
  6745. builtin and then its argument prototype would still apply. */
  6746. char SSL_new ();
  6747. int
  6748. main (void)
  6749. {
  6750. return SSL_new ();
  6751. ;
  6752. return 0;
  6753. }
  6754. _ACEOF
  6755. if ac_fn_c_try_link "$LINENO"
  6756. then :
  6757. ac_cv_lib_ssl_SSL_new=yes
  6758. else $as_nop
  6759. ac_cv_lib_ssl_SSL_new=no
  6760. fi
  6761. rm -f core conftest.err conftest.$ac_objext conftest.beam \
  6762. conftest$ac_exeext conftest.$ac_ext
  6763. LIBS=$ac_check_lib_save_LIBS
  6764. fi
  6765. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new" >&5
  6766. printf "%s\n" "$ac_cv_lib_ssl_SSL_new" >&6; }
  6767. if test "x$ac_cv_lib_ssl_SSL_new" = xyes
  6768. then :
  6769. printf "%s\n" "#define HAVE_LIBSSL 1" >>confdefs.h
  6770. LIBS="-lssl $LIBS"
  6771. else $as_nop
  6772. as_fn_error $? "Can not find openssl library." "$LINENO" 5
  6773. fi
  6774. ac_config_files="$ac_config_files Makefile quick_quicklisp.sh po/Makefile.in src/config.lisp.in"
  6775. cat >confcache <<\_ACEOF
  6776. # This file is a shell script that caches the results of configure
  6777. # tests run on this system so they can be shared between configure
  6778. # scripts and configure runs, see configure's option --config-cache.
  6779. # It is not useful on other systems. If it contains results you don't
  6780. # want to keep, you may remove or edit it.
  6781. #
  6782. # config.status only pays attention to the cache file if you give it
  6783. # the --recheck option to rerun configure.
  6784. #
  6785. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  6786. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  6787. # following values.
  6788. _ACEOF
  6789. # The following way of writing the cache mishandles newlines in values,
  6790. # but we know of no workaround that is simple, portable, and efficient.
  6791. # So, we kill variables containing newlines.
  6792. # Ultrix sh set writes to stderr and can't be redirected directly,
  6793. # and sets the high bit in the cache file unless we assign to the vars.
  6794. (
  6795. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  6796. eval ac_val=\$$ac_var
  6797. case $ac_val in #(
  6798. *${as_nl}*)
  6799. case $ac_var in #(
  6800. *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  6801. printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  6802. esac
  6803. case $ac_var in #(
  6804. _ | IFS | as_nl) ;; #(
  6805. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  6806. *) { eval $ac_var=; unset $ac_var;} ;;
  6807. esac ;;
  6808. esac
  6809. done
  6810. (set) 2>&1 |
  6811. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  6812. *${as_nl}ac_space=\ *)
  6813. # `set' does not quote correctly, so add quotes: double-quote
  6814. # substitution turns \\\\ into \\, and sed turns \\ into \.
  6815. sed -n \
  6816. "s/'/'\\\\''/g;
  6817. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  6818. ;; #(
  6819. *)
  6820. # `set' quotes correctly as required by POSIX, so do not add quotes.
  6821. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  6822. ;;
  6823. esac |
  6824. sort
  6825. ) |
  6826. sed '
  6827. /^ac_cv_env_/b end
  6828. t clear
  6829. :clear
  6830. s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
  6831. t end
  6832. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6833. :end' >>confcache
  6834. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  6835. if test -w "$cache_file"; then
  6836. if test "x$cache_file" != "x/dev/null"; then
  6837. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  6838. printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
  6839. if test ! -f "$cache_file" || test -h "$cache_file"; then
  6840. cat confcache >"$cache_file"
  6841. else
  6842. case $cache_file in #(
  6843. */* | ?:*)
  6844. mv -f confcache "$cache_file"$$ &&
  6845. mv -f "$cache_file"$$ "$cache_file" ;; #(
  6846. *)
  6847. mv -f confcache "$cache_file" ;;
  6848. esac
  6849. fi
  6850. fi
  6851. else
  6852. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  6853. printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
  6854. fi
  6855. fi
  6856. rm -f confcache
  6857. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  6858. # Let make expand exec_prefix.
  6859. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  6860. # Transform confdefs.h into DEFS.
  6861. # Protect against shell expansion while executing Makefile rules.
  6862. # Protect against Makefile macro expansion.
  6863. #
  6864. # If the first sed substitution is executed (which looks for macros that
  6865. # take arguments), then branch to the quote section. Otherwise,
  6866. # look for a macro that doesn't take arguments.
  6867. ac_script='
  6868. :mline
  6869. /\\$/{
  6870. N
  6871. s,\\\n,,
  6872. b mline
  6873. }
  6874. t clear
  6875. :clear
  6876. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  6877. t quote
  6878. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  6879. t quote
  6880. b any
  6881. :quote
  6882. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  6883. s/\[/\\&/g
  6884. s/\]/\\&/g
  6885. s/\$/$$/g
  6886. H
  6887. :any
  6888. ${
  6889. g
  6890. s/^\n//
  6891. s/\n/ /g
  6892. p
  6893. }
  6894. '
  6895. DEFS=`sed -n "$ac_script" confdefs.h`
  6896. ac_libobjs=
  6897. ac_ltlibobjs=
  6898. U=
  6899. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  6900. # 1. Remove the extension, and $U if already installed.
  6901. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  6902. ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
  6903. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  6904. # will be set to the directory where LIBOBJS objects are built.
  6905. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  6906. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  6907. done
  6908. LIBOBJS=$ac_libobjs
  6909. LTLIBOBJS=$ac_ltlibobjs
  6910. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  6911. printf %s "checking that generated files are newer than configure... " >&6; }
  6912. if test -n "$am_sleep_pid"; then
  6913. # Hide warnings about reused PIDs.
  6914. wait $am_sleep_pid 2>/dev/null
  6915. fi
  6916. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
  6917. printf "%s\n" "done" >&6; }
  6918. if test -n "$EXEEXT"; then
  6919. am__EXEEXT_TRUE=
  6920. am__EXEEXT_FALSE='#'
  6921. else
  6922. am__EXEEXT_TRUE='#'
  6923. am__EXEEXT_FALSE=
  6924. fi
  6925. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  6926. as_fn_error $? "conditional \"AMDEP\" was never defined.
  6927. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  6928. fi
  6929. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  6930. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  6931. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  6932. fi
  6933. : "${CONFIG_STATUS=./config.status}"
  6934. ac_write_fail=0
  6935. ac_clean_files_save=$ac_clean_files
  6936. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  6937. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  6938. printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
  6939. as_write_fail=0
  6940. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  6941. #! $SHELL
  6942. # Generated by $as_me.
  6943. # Run this file to recreate the current configuration.
  6944. # Compiler output produced by configure, useful for debugging
  6945. # configure, is in config.log if it exists.
  6946. debug=false
  6947. ac_cs_recheck=false
  6948. ac_cs_silent=false
  6949. SHELL=\${CONFIG_SHELL-$SHELL}
  6950. export SHELL
  6951. _ASEOF
  6952. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  6953. ## -------------------- ##
  6954. ## M4sh Initialization. ##
  6955. ## -------------------- ##
  6956. # Be more Bourne compatible
  6957. DUALCASE=1; export DUALCASE # for MKS sh
  6958. as_nop=:
  6959. if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  6960. then :
  6961. emulate sh
  6962. NULLCMD=:
  6963. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  6964. # is contrary to our usage. Disable this feature.
  6965. alias -g '${1+"$@"}'='"$@"'
  6966. setopt NO_GLOB_SUBST
  6967. else $as_nop
  6968. case `(set -o) 2>/dev/null` in #(
  6969. *posix*) :
  6970. set -o posix ;; #(
  6971. *) :
  6972. ;;
  6973. esac
  6974. fi
  6975. # Reset variables that may have inherited troublesome values from
  6976. # the environment.
  6977. # IFS needs to be set, to space, tab, and newline, in precisely that order.
  6978. # (If _AS_PATH_WALK were called with IFS unset, it would have the
  6979. # side effect of setting IFS to empty, thus disabling word splitting.)
  6980. # Quoting is to prevent editors from complaining about space-tab.
  6981. as_nl='
  6982. '
  6983. export as_nl
  6984. IFS=" "" $as_nl"
  6985. PS1='$ '
  6986. PS2='> '
  6987. PS4='+ '
  6988. # Ensure predictable behavior from utilities with locale-dependent output.
  6989. LC_ALL=C
  6990. export LC_ALL
  6991. LANGUAGE=C
  6992. export LANGUAGE
  6993. # We cannot yet rely on "unset" to work, but we need these variables
  6994. # to be unset--not just set to an empty or harmless value--now, to
  6995. # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
  6996. # also avoids known problems related to "unset" and subshell syntax
  6997. # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  6998. for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  6999. do eval test \${$as_var+y} \
  7000. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  7001. done
  7002. # Ensure that fds 0, 1, and 2 are open.
  7003. if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  7004. if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  7005. if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
  7006. # The user is always right.
  7007. if ${PATH_SEPARATOR+false} :; then
  7008. PATH_SEPARATOR=:
  7009. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  7010. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  7011. PATH_SEPARATOR=';'
  7012. }
  7013. fi
  7014. # Find who we are. Look in the path if we contain no directory separator.
  7015. as_myself=
  7016. case $0 in #((
  7017. *[\\/]* ) as_myself=$0 ;;
  7018. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7019. for as_dir in $PATH
  7020. do
  7021. IFS=$as_save_IFS
  7022. case $as_dir in #(((
  7023. '') as_dir=./ ;;
  7024. */) ;;
  7025. *) as_dir=$as_dir/ ;;
  7026. esac
  7027. test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  7028. done
  7029. IFS=$as_save_IFS
  7030. ;;
  7031. esac
  7032. # We did not find ourselves, most probably we were run as `sh COMMAND'
  7033. # in which case we are not to be found in the path.
  7034. if test "x$as_myself" = x; then
  7035. as_myself=$0
  7036. fi
  7037. if test ! -f "$as_myself"; then
  7038. printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  7039. exit 1
  7040. fi
  7041. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  7042. # ----------------------------------------
  7043. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  7044. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  7045. # script with STATUS, using 1 if that was 0.
  7046. as_fn_error ()
  7047. {
  7048. as_status=$1; test $as_status -eq 0 && as_status=1
  7049. if test "$4"; then
  7050. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  7051. printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  7052. fi
  7053. printf "%s\n" "$as_me: error: $2" >&2
  7054. as_fn_exit $as_status
  7055. } # as_fn_error
  7056. # as_fn_set_status STATUS
  7057. # -----------------------
  7058. # Set $? to STATUS, without forking.
  7059. as_fn_set_status ()
  7060. {
  7061. return $1
  7062. } # as_fn_set_status
  7063. # as_fn_exit STATUS
  7064. # -----------------
  7065. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  7066. as_fn_exit ()
  7067. {
  7068. set +e
  7069. as_fn_set_status $1
  7070. exit $1
  7071. } # as_fn_exit
  7072. # as_fn_unset VAR
  7073. # ---------------
  7074. # Portably unset VAR.
  7075. as_fn_unset ()
  7076. {
  7077. { eval $1=; unset $1;}
  7078. }
  7079. as_unset=as_fn_unset
  7080. # as_fn_append VAR VALUE
  7081. # ----------------------
  7082. # Append the text in VALUE to the end of the definition contained in VAR. Take
  7083. # advantage of any shell optimizations that allow amortized linear growth over
  7084. # repeated appends, instead of the typical quadratic growth present in naive
  7085. # implementations.
  7086. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  7087. then :
  7088. eval 'as_fn_append ()
  7089. {
  7090. eval $1+=\$2
  7091. }'
  7092. else $as_nop
  7093. as_fn_append ()
  7094. {
  7095. eval $1=\$$1\$2
  7096. }
  7097. fi # as_fn_append
  7098. # as_fn_arith ARG...
  7099. # ------------------
  7100. # Perform arithmetic evaluation on the ARGs, and store the result in the
  7101. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  7102. # must be portable across $(()) and expr.
  7103. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  7104. then :
  7105. eval 'as_fn_arith ()
  7106. {
  7107. as_val=$(( $* ))
  7108. }'
  7109. else $as_nop
  7110. as_fn_arith ()
  7111. {
  7112. as_val=`expr "$@" || test $? -eq 1`
  7113. }
  7114. fi # as_fn_arith
  7115. if expr a : '\(a\)' >/dev/null 2>&1 &&
  7116. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7117. as_expr=expr
  7118. else
  7119. as_expr=false
  7120. fi
  7121. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  7122. as_basename=basename
  7123. else
  7124. as_basename=false
  7125. fi
  7126. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  7127. as_dirname=dirname
  7128. else
  7129. as_dirname=false
  7130. fi
  7131. as_me=`$as_basename -- "$0" ||
  7132. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  7133. X"$0" : 'X\(//\)$' \| \
  7134. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  7135. printf "%s\n" X/"$0" |
  7136. sed '/^.*\/\([^/][^/]*\)\/*$/{
  7137. s//\1/
  7138. q
  7139. }
  7140. /^X\/\(\/\/\)$/{
  7141. s//\1/
  7142. q
  7143. }
  7144. /^X\/\(\/\).*/{
  7145. s//\1/
  7146. q
  7147. }
  7148. s/.*/./; q'`
  7149. # Avoid depending upon Character Ranges.
  7150. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  7151. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  7152. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  7153. as_cr_digits='0123456789'
  7154. as_cr_alnum=$as_cr_Letters$as_cr_digits
  7155. # Determine whether it's possible to make 'echo' print without a newline.
  7156. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  7157. # for compatibility with existing Makefiles.
  7158. ECHO_C= ECHO_N= ECHO_T=
  7159. case `echo -n x` in #(((((
  7160. -n*)
  7161. case `echo 'xy\c'` in
  7162. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  7163. xy) ECHO_C='\c';;
  7164. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  7165. ECHO_T=' ';;
  7166. esac;;
  7167. *)
  7168. ECHO_N='-n';;
  7169. esac
  7170. # For backward compatibility with old third-party macros, we provide
  7171. # the shell variables $as_echo and $as_echo_n. New code should use
  7172. # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  7173. as_echo='printf %s\n'
  7174. as_echo_n='printf %s'
  7175. rm -f conf$$ conf$$.exe conf$$.file
  7176. if test -d conf$$.dir; then
  7177. rm -f conf$$.dir/conf$$.file
  7178. else
  7179. rm -f conf$$.dir
  7180. mkdir conf$$.dir 2>/dev/null
  7181. fi
  7182. if (echo >conf$$.file) 2>/dev/null; then
  7183. if ln -s conf$$.file conf$$ 2>/dev/null; then
  7184. as_ln_s='ln -s'
  7185. # ... but there are two gotchas:
  7186. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7187. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7188. # In both cases, we have to default to `cp -pR'.
  7189. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7190. as_ln_s='cp -pR'
  7191. elif ln conf$$.file conf$$ 2>/dev/null; then
  7192. as_ln_s=ln
  7193. else
  7194. as_ln_s='cp -pR'
  7195. fi
  7196. else
  7197. as_ln_s='cp -pR'
  7198. fi
  7199. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7200. rmdir conf$$.dir 2>/dev/null
  7201. # as_fn_mkdir_p
  7202. # -------------
  7203. # Create "$as_dir" as a directory, including parents if necessary.
  7204. as_fn_mkdir_p ()
  7205. {
  7206. case $as_dir in #(
  7207. -*) as_dir=./$as_dir;;
  7208. esac
  7209. test -d "$as_dir" || eval $as_mkdir_p || {
  7210. as_dirs=
  7211. while :; do
  7212. case $as_dir in #(
  7213. *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  7214. *) as_qdir=$as_dir;;
  7215. esac
  7216. as_dirs="'$as_qdir' $as_dirs"
  7217. as_dir=`$as_dirname -- "$as_dir" ||
  7218. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7219. X"$as_dir" : 'X\(//\)[^/]' \| \
  7220. X"$as_dir" : 'X\(//\)$' \| \
  7221. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  7222. printf "%s\n" X"$as_dir" |
  7223. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7224. s//\1/
  7225. q
  7226. }
  7227. /^X\(\/\/\)[^/].*/{
  7228. s//\1/
  7229. q
  7230. }
  7231. /^X\(\/\/\)$/{
  7232. s//\1/
  7233. q
  7234. }
  7235. /^X\(\/\).*/{
  7236. s//\1/
  7237. q
  7238. }
  7239. s/.*/./; q'`
  7240. test -d "$as_dir" && break
  7241. done
  7242. test -z "$as_dirs" || eval "mkdir $as_dirs"
  7243. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  7244. } # as_fn_mkdir_p
  7245. if mkdir -p . 2>/dev/null; then
  7246. as_mkdir_p='mkdir -p "$as_dir"'
  7247. else
  7248. test -d ./-p && rmdir ./-p
  7249. as_mkdir_p=false
  7250. fi
  7251. # as_fn_executable_p FILE
  7252. # -----------------------
  7253. # Test if FILE is an executable regular file.
  7254. as_fn_executable_p ()
  7255. {
  7256. test -f "$1" && test -x "$1"
  7257. } # as_fn_executable_p
  7258. as_test_x='test -x'
  7259. as_executable_p=as_fn_executable_p
  7260. # Sed expression to map a string onto a valid CPP name.
  7261. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  7262. # Sed expression to map a string onto a valid variable name.
  7263. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  7264. exec 6>&1
  7265. ## ----------------------------------- ##
  7266. ## Main body of $CONFIG_STATUS script. ##
  7267. ## ----------------------------------- ##
  7268. _ASEOF
  7269. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  7270. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7271. # Save the log message, to keep $0 and so on meaningful, and to
  7272. # report actual input values of CONFIG_FILES etc. instead of their
  7273. # values after options handling.
  7274. ac_log="
  7275. This file was extended by fulci $as_me 0.9.4, which was
  7276. generated by GNU Autoconf 2.71. Invocation command line was
  7277. CONFIG_FILES = $CONFIG_FILES
  7278. CONFIG_HEADERS = $CONFIG_HEADERS
  7279. CONFIG_LINKS = $CONFIG_LINKS
  7280. CONFIG_COMMANDS = $CONFIG_COMMANDS
  7281. $ $0 $@
  7282. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  7283. "
  7284. _ACEOF
  7285. case $ac_config_files in *"
  7286. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  7287. esac
  7288. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7289. # Files that config.status was made for.
  7290. config_files="$ac_config_files"
  7291. config_commands="$ac_config_commands"
  7292. _ACEOF
  7293. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7294. ac_cs_usage="\
  7295. \`$as_me' instantiates files and other configuration actions
  7296. from templates according to the current configuration. Unless the files
  7297. and actions are specified as TAGs, all are instantiated by default.
  7298. Usage: $0 [OPTION]... [TAG]...
  7299. -h, --help print this help, then exit
  7300. -V, --version print version number and configuration settings, then exit
  7301. --config print configuration, then exit
  7302. -q, --quiet, --silent
  7303. do not print progress messages
  7304. -d, --debug don't remove temporary files
  7305. --recheck update $as_me by reconfiguring in the same conditions
  7306. --file=FILE[:TEMPLATE]
  7307. instantiate the configuration file FILE
  7308. Configuration files:
  7309. $config_files
  7310. Configuration commands:
  7311. $config_commands
  7312. Report bugs to <https://notabug.org/cage/fulci/>."
  7313. _ACEOF
  7314. ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
  7315. ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
  7316. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7317. ac_cs_config='$ac_cs_config_escaped'
  7318. ac_cs_version="\\
  7319. fulci config.status 0.9.4
  7320. configured by $0, generated by GNU Autoconf 2.71,
  7321. with options \\"\$ac_cs_config\\"
  7322. Copyright (C) 2021 Free Software Foundation, Inc.
  7323. This config.status script is free software; the Free Software Foundation
  7324. gives unlimited permission to copy, distribute and modify it."
  7325. ac_pwd='$ac_pwd'
  7326. srcdir='$srcdir'
  7327. INSTALL='$INSTALL'
  7328. MKDIR_P='$MKDIR_P'
  7329. AWK='$AWK'
  7330. test -n "\$AWK" || AWK=awk
  7331. _ACEOF
  7332. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7333. # The default lists apply if the user does not specify any file.
  7334. ac_need_defaults=:
  7335. while test $# != 0
  7336. do
  7337. case $1 in
  7338. --*=?*)
  7339. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  7340. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  7341. ac_shift=:
  7342. ;;
  7343. --*=)
  7344. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  7345. ac_optarg=
  7346. ac_shift=:
  7347. ;;
  7348. *)
  7349. ac_option=$1
  7350. ac_optarg=$2
  7351. ac_shift=shift
  7352. ;;
  7353. esac
  7354. case $ac_option in
  7355. # Handling of the options.
  7356. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  7357. ac_cs_recheck=: ;;
  7358. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  7359. printf "%s\n" "$ac_cs_version"; exit ;;
  7360. --config | --confi | --conf | --con | --co | --c )
  7361. printf "%s\n" "$ac_cs_config"; exit ;;
  7362. --debug | --debu | --deb | --de | --d | -d )
  7363. debug=: ;;
  7364. --file | --fil | --fi | --f )
  7365. $ac_shift
  7366. case $ac_optarg in
  7367. *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  7368. '') as_fn_error $? "missing file argument" ;;
  7369. esac
  7370. as_fn_append CONFIG_FILES " '$ac_optarg'"
  7371. ac_need_defaults=false;;
  7372. --he | --h | --help | --hel | -h )
  7373. printf "%s\n" "$ac_cs_usage"; exit ;;
  7374. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  7375. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  7376. ac_cs_silent=: ;;
  7377. # This is an error.
  7378. -*) as_fn_error $? "unrecognized option: \`$1'
  7379. Try \`$0 --help' for more information." ;;
  7380. *) as_fn_append ac_config_targets " $1"
  7381. ac_need_defaults=false ;;
  7382. esac
  7383. shift
  7384. done
  7385. ac_configure_extra_args=
  7386. if $ac_cs_silent; then
  7387. exec 6>/dev/null
  7388. ac_configure_extra_args="$ac_configure_extra_args --silent"
  7389. fi
  7390. _ACEOF
  7391. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7392. if \$ac_cs_recheck; then
  7393. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7394. shift
  7395. \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
  7396. CONFIG_SHELL='$SHELL'
  7397. export CONFIG_SHELL
  7398. exec "\$@"
  7399. fi
  7400. _ACEOF
  7401. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7402. exec 5>>config.log
  7403. {
  7404. echo
  7405. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7406. ## Running $as_me. ##
  7407. _ASBOX
  7408. printf "%s\n" "$ac_log"
  7409. } >&5
  7410. _ACEOF
  7411. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7412. #
  7413. # INIT-COMMANDS
  7414. #
  7415. # Capture the value of obsolete ALL_LINGUAS because we need it to compute
  7416. # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
  7417. # from automake < 1.5.
  7418. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
  7419. # Capture the value of LINGUAS because we need it to compute CATALOGS.
  7420. LINGUAS="${LINGUAS-%UNSET%}"
  7421. AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  7422. _ACEOF
  7423. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7424. # Handling of arguments.
  7425. for ac_config_target in $ac_config_targets
  7426. do
  7427. case $ac_config_target in
  7428. "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
  7429. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  7430. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7431. "quick_quicklisp.sh") CONFIG_FILES="$CONFIG_FILES quick_quicklisp.sh" ;;
  7432. "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  7433. "src/config.lisp.in") CONFIG_FILES="$CONFIG_FILES src/config.lisp.in" ;;
  7434. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  7435. esac
  7436. done
  7437. # If the user did not use the arguments to specify the items to instantiate,
  7438. # then the envvar interface is used. Set only those that are not.
  7439. # We use the long form for the default assignment because of an extremely
  7440. # bizarre bug on SunOS 4.1.3.
  7441. if $ac_need_defaults; then
  7442. test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
  7443. test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
  7444. fi
  7445. # Have a temporary directory for convenience. Make it in the build tree
  7446. # simply because there is no reason against having it here, and in addition,
  7447. # creating and moving files from /tmp can sometimes cause problems.
  7448. # Hook for its removal unless debugging.
  7449. # Note that there is a small window in which the directory will not be cleaned:
  7450. # after its creation but before its name has been assigned to `$tmp'.
  7451. $debug ||
  7452. {
  7453. tmp= ac_tmp=
  7454. trap 'exit_status=$?
  7455. : "${ac_tmp:=$tmp}"
  7456. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  7457. ' 0
  7458. trap 'as_fn_exit 1' 1 2 13 15
  7459. }
  7460. # Create a (secure) tmp directory for tmp files.
  7461. {
  7462. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  7463. test -d "$tmp"
  7464. } ||
  7465. {
  7466. tmp=./conf$$-$RANDOM
  7467. (umask 077 && mkdir "$tmp")
  7468. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  7469. ac_tmp=$tmp
  7470. # Set up the scripts for CONFIG_FILES section.
  7471. # No need to generate them if there are no CONFIG_FILES.
  7472. # This happens for instance with `./config.status config.h'.
  7473. if test -n "$CONFIG_FILES"; then
  7474. ac_cr=`echo X | tr X '\015'`
  7475. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  7476. # But we know of no other shell where ac_cr would be empty at this
  7477. # point, so we can use a bashism as a fallback.
  7478. if test "x$ac_cr" = x; then
  7479. eval ac_cr=\$\'\\r\'
  7480. fi
  7481. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  7482. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  7483. ac_cs_awk_cr='\\r'
  7484. else
  7485. ac_cs_awk_cr=$ac_cr
  7486. fi
  7487. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  7488. _ACEOF
  7489. {
  7490. echo "cat >conf$$subs.awk <<_ACEOF" &&
  7491. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  7492. echo "_ACEOF"
  7493. } >conf$$subs.sh ||
  7494. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  7495. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  7496. ac_delim='%!_!# '
  7497. for ac_last_try in false false false false false :; do
  7498. . ./conf$$subs.sh ||
  7499. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  7500. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  7501. if test $ac_delim_n = $ac_delim_num; then
  7502. break
  7503. elif $ac_last_try; then
  7504. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  7505. else
  7506. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  7507. fi
  7508. done
  7509. rm -f conf$$subs.sh
  7510. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7511. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  7512. _ACEOF
  7513. sed -n '
  7514. h
  7515. s/^/S["/; s/!.*/"]=/
  7516. p
  7517. g
  7518. s/^[^!]*!//
  7519. :repl
  7520. t repl
  7521. s/'"$ac_delim"'$//
  7522. t delim
  7523. :nl
  7524. h
  7525. s/\(.\{148\}\)..*/\1/
  7526. t more1
  7527. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  7528. p
  7529. n
  7530. b repl
  7531. :more1
  7532. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  7533. p
  7534. g
  7535. s/.\{148\}//
  7536. t nl
  7537. :delim
  7538. h
  7539. s/\(.\{148\}\)..*/\1/
  7540. t more2
  7541. s/["\\]/\\&/g; s/^/"/; s/$/"/
  7542. p
  7543. b
  7544. :more2
  7545. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  7546. p
  7547. g
  7548. s/.\{148\}//
  7549. t delim
  7550. ' <conf$$subs.awk | sed '
  7551. /^[^""]/{
  7552. N
  7553. s/\n//
  7554. }
  7555. ' >>$CONFIG_STATUS || ac_write_fail=1
  7556. rm -f conf$$subs.awk
  7557. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7558. _ACAWK
  7559. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  7560. for (key in S) S_is_set[key] = 1
  7561. FS = ""
  7562. }
  7563. {
  7564. line = $ 0
  7565. nfields = split(line, field, "@")
  7566. substed = 0
  7567. len = length(field[1])
  7568. for (i = 2; i < nfields; i++) {
  7569. key = field[i]
  7570. keylen = length(key)
  7571. if (S_is_set[key]) {
  7572. value = S[key]
  7573. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  7574. len += length(value) + length(field[++i])
  7575. substed = 1
  7576. } else
  7577. len += 1 + keylen
  7578. }
  7579. print line
  7580. }
  7581. _ACAWK
  7582. _ACEOF
  7583. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7584. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  7585. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  7586. else
  7587. cat
  7588. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  7589. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  7590. _ACEOF
  7591. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  7592. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  7593. # trailing colons and then remove the whole line if VPATH becomes empty
  7594. # (actually we leave an empty line to preserve line numbers).
  7595. if test "x$srcdir" = x.; then
  7596. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  7597. h
  7598. s///
  7599. s/^/:/
  7600. s/[ ]*$/:/
  7601. s/:\$(srcdir):/:/g
  7602. s/:\${srcdir}:/:/g
  7603. s/:@srcdir@:/:/g
  7604. s/^:*//
  7605. s/:*$//
  7606. x
  7607. s/\(=[ ]*\).*/\1/
  7608. G
  7609. s/\n//
  7610. s/^[^=]*=[ ]*$//
  7611. }'
  7612. fi
  7613. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7614. fi # test -n "$CONFIG_FILES"
  7615. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  7616. shift
  7617. for ac_tag
  7618. do
  7619. case $ac_tag in
  7620. :[FHLC]) ac_mode=$ac_tag; continue;;
  7621. esac
  7622. case $ac_mode$ac_tag in
  7623. :[FHL]*:*);;
  7624. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  7625. :[FH]-) ac_tag=-:-;;
  7626. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  7627. esac
  7628. ac_save_IFS=$IFS
  7629. IFS=:
  7630. set x $ac_tag
  7631. IFS=$ac_save_IFS
  7632. shift
  7633. ac_file=$1
  7634. shift
  7635. case $ac_mode in
  7636. :L) ac_source=$1;;
  7637. :[FH])
  7638. ac_file_inputs=
  7639. for ac_f
  7640. do
  7641. case $ac_f in
  7642. -) ac_f="$ac_tmp/stdin";;
  7643. *) # Look for the file first in the build tree, then in the source tree
  7644. # (if the path is not absolute). The absolute path cannot be DOS-style,
  7645. # because $ac_f cannot contain `:'.
  7646. test -f "$ac_f" ||
  7647. case $ac_f in
  7648. [\\/$]*) false;;
  7649. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  7650. esac ||
  7651. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  7652. esac
  7653. case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  7654. as_fn_append ac_file_inputs " '$ac_f'"
  7655. done
  7656. # Let's still pretend it is `configure' which instantiates (i.e., don't
  7657. # use $as_me), people would be surprised to read:
  7658. # /* config.h. Generated by config.status. */
  7659. configure_input='Generated from '`
  7660. printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  7661. `' by configure.'
  7662. if test x"$ac_file" != x-; then
  7663. configure_input="$ac_file. $configure_input"
  7664. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  7665. printf "%s\n" "$as_me: creating $ac_file" >&6;}
  7666. fi
  7667. # Neutralize special characters interpreted by sed in replacement strings.
  7668. case $configure_input in #(
  7669. *\&* | *\|* | *\\* )
  7670. ac_sed_conf_input=`printf "%s\n" "$configure_input" |
  7671. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  7672. *) ac_sed_conf_input=$configure_input;;
  7673. esac
  7674. case $ac_tag in
  7675. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  7676. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  7677. esac
  7678. ;;
  7679. esac
  7680. ac_dir=`$as_dirname -- "$ac_file" ||
  7681. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7682. X"$ac_file" : 'X\(//\)[^/]' \| \
  7683. X"$ac_file" : 'X\(//\)$' \| \
  7684. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  7685. printf "%s\n" X"$ac_file" |
  7686. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7687. s//\1/
  7688. q
  7689. }
  7690. /^X\(\/\/\)[^/].*/{
  7691. s//\1/
  7692. q
  7693. }
  7694. /^X\(\/\/\)$/{
  7695. s//\1/
  7696. q
  7697. }
  7698. /^X\(\/\).*/{
  7699. s//\1/
  7700. q
  7701. }
  7702. s/.*/./; q'`
  7703. as_dir="$ac_dir"; as_fn_mkdir_p
  7704. ac_builddir=.
  7705. case "$ac_dir" in
  7706. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7707. *)
  7708. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  7709. # A ".." for each directory in $ac_dir_suffix.
  7710. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  7711. case $ac_top_builddir_sub in
  7712. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7713. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  7714. esac ;;
  7715. esac
  7716. ac_abs_top_builddir=$ac_pwd
  7717. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  7718. # for backward compatibility:
  7719. ac_top_builddir=$ac_top_build_prefix
  7720. case $srcdir in
  7721. .) # We are building in place.
  7722. ac_srcdir=.
  7723. ac_top_srcdir=$ac_top_builddir_sub
  7724. ac_abs_top_srcdir=$ac_pwd ;;
  7725. [\\/]* | ?:[\\/]* ) # Absolute name.
  7726. ac_srcdir=$srcdir$ac_dir_suffix;
  7727. ac_top_srcdir=$srcdir
  7728. ac_abs_top_srcdir=$srcdir ;;
  7729. *) # Relative name.
  7730. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  7731. ac_top_srcdir=$ac_top_build_prefix$srcdir
  7732. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  7733. esac
  7734. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  7735. case $ac_mode in
  7736. :F)
  7737. #
  7738. # CONFIG_FILE
  7739. #
  7740. case $INSTALL in
  7741. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  7742. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  7743. esac
  7744. ac_MKDIR_P=$MKDIR_P
  7745. case $MKDIR_P in
  7746. [\\/$]* | ?:[\\/]* ) ;;
  7747. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  7748. esac
  7749. _ACEOF
  7750. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7751. # If the template does not know about datarootdir, expand it.
  7752. # FIXME: This hack should be removed a few years after 2.60.
  7753. ac_datarootdir_hack=; ac_datarootdir_seen=
  7754. ac_sed_dataroot='
  7755. /datarootdir/ {
  7756. p
  7757. q
  7758. }
  7759. /@datadir@/p
  7760. /@docdir@/p
  7761. /@infodir@/p
  7762. /@localedir@/p
  7763. /@mandir@/p'
  7764. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  7765. *datarootdir*) ac_datarootdir_seen=yes;;
  7766. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  7767. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  7768. printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  7769. _ACEOF
  7770. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7771. ac_datarootdir_hack='
  7772. s&@datadir@&$datadir&g
  7773. s&@docdir@&$docdir&g
  7774. s&@infodir@&$infodir&g
  7775. s&@localedir@&$localedir&g
  7776. s&@mandir@&$mandir&g
  7777. s&\\\${datarootdir}&$datarootdir&g' ;;
  7778. esac
  7779. _ACEOF
  7780. # Neutralize VPATH when `$srcdir' = `.'.
  7781. # Shell code in configure.ac might set extrasub.
  7782. # FIXME: do we really want to maintain this feature?
  7783. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7784. ac_sed_extra="$ac_vpsub
  7785. $extrasub
  7786. _ACEOF
  7787. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7788. :t
  7789. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7790. s|@configure_input@|$ac_sed_conf_input|;t t
  7791. s&@top_builddir@&$ac_top_builddir_sub&;t t
  7792. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  7793. s&@srcdir@&$ac_srcdir&;t t
  7794. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  7795. s&@top_srcdir@&$ac_top_srcdir&;t t
  7796. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  7797. s&@builddir@&$ac_builddir&;t t
  7798. s&@abs_builddir@&$ac_abs_builddir&;t t
  7799. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  7800. s&@INSTALL@&$ac_INSTALL&;t t
  7801. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  7802. $ac_datarootdir_hack
  7803. "
  7804. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  7805. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  7806. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  7807. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  7808. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  7809. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  7810. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  7811. which seems to be undefined. Please make sure it is defined" >&5
  7812. printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  7813. which seems to be undefined. Please make sure it is defined" >&2;}
  7814. rm -f "$ac_tmp/stdin"
  7815. case $ac_file in
  7816. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  7817. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  7818. esac \
  7819. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  7820. ;;
  7821. :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  7822. printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
  7823. ;;
  7824. esac
  7825. case $ac_file$ac_mode in
  7826. "po-directories":C)
  7827. for ac_file in $CONFIG_FILES; do
  7828. # Support "outfile[:infile[:infile...]]"
  7829. case "$ac_file" in
  7830. *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  7831. esac
  7832. # PO directories have a Makefile.in generated from Makefile.in.in.
  7833. case "$ac_file" in */Makefile.in)
  7834. # Adjust a relative srcdir.
  7835. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  7836. ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  7837. ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  7838. # In autoconf-2.13 it is called $ac_given_srcdir.
  7839. # In autoconf-2.50 it is called $srcdir.
  7840. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  7841. case "$ac_given_srcdir" in
  7842. .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  7843. /*) top_srcdir="$ac_given_srcdir" ;;
  7844. *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  7845. esac
  7846. # Treat a directory as a PO directory if and only if it has a
  7847. # POTFILES.in file. This allows packages to have multiple PO
  7848. # directories under different names or in different locations.
  7849. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  7850. rm -f "$ac_dir/POTFILES"
  7851. test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  7852. gt_tab=`printf '\t'`
  7853. cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  7854. POMAKEFILEDEPS="POTFILES.in"
  7855. # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
  7856. # on $ac_dir but don't depend on user-specified configuration
  7857. # parameters.
  7858. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  7859. # The LINGUAS file contains the set of available languages.
  7860. if test -n "$OBSOLETE_ALL_LINGUAS"; then
  7861. test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  7862. fi
  7863. ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  7864. # Hide the ALL_LINGUAS assignment from automake < 1.5.
  7865. eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  7866. POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  7867. else
  7868. # The set of available languages was given in configure.in.
  7869. # Hide the ALL_LINGUAS assignment from automake < 1.5.
  7870. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  7871. fi
  7872. # Compute POFILES
  7873. # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
  7874. # Compute UPDATEPOFILES
  7875. # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
  7876. # Compute DUMMYPOFILES
  7877. # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
  7878. # Compute GMOFILES
  7879. # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
  7880. case "$ac_given_srcdir" in
  7881. .) srcdirpre= ;;
  7882. *) srcdirpre='$(srcdir)/' ;;
  7883. esac
  7884. POFILES=
  7885. UPDATEPOFILES=
  7886. DUMMYPOFILES=
  7887. GMOFILES=
  7888. for lang in $ALL_LINGUAS; do
  7889. POFILES="$POFILES $srcdirpre$lang.po"
  7890. UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  7891. DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  7892. GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  7893. done
  7894. # CATALOGS depends on both $ac_dir and the user's LINGUAS
  7895. # environment variable.
  7896. INST_LINGUAS=
  7897. if test -n "$ALL_LINGUAS"; then
  7898. for presentlang in $ALL_LINGUAS; do
  7899. useit=no
  7900. if test "%UNSET%" != "$LINGUAS"; then
  7901. desiredlanguages="$LINGUAS"
  7902. else
  7903. desiredlanguages="$ALL_LINGUAS"
  7904. fi
  7905. for desiredlang in $desiredlanguages; do
  7906. # Use the presentlang catalog if desiredlang is
  7907. # a. equal to presentlang, or
  7908. # b. a variant of presentlang (because in this case,
  7909. # presentlang can be used as a fallback for messages
  7910. # which are not translated in the desiredlang catalog).
  7911. case "$desiredlang" in
  7912. "$presentlang"*) useit=yes;;
  7913. esac
  7914. done
  7915. if test $useit = yes; then
  7916. INST_LINGUAS="$INST_LINGUAS $presentlang"
  7917. fi
  7918. done
  7919. fi
  7920. CATALOGS=
  7921. if test -n "$INST_LINGUAS"; then
  7922. for lang in $INST_LINGUAS; do
  7923. CATALOGS="$CATALOGS $lang.gmo"
  7924. done
  7925. fi
  7926. test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  7927. sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
  7928. for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  7929. if test -f "$f"; then
  7930. case "$f" in
  7931. *.orig | *.bak | *~) ;;
  7932. *) cat "$f" >> "$ac_dir/Makefile" ;;
  7933. esac
  7934. fi
  7935. done
  7936. fi
  7937. ;;
  7938. esac
  7939. done ;;
  7940. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  7941. # Older Autoconf quotes --file arguments for eval, but not when files
  7942. # are listed without --file. Let's play safe and only enable the eval
  7943. # if we detect the quoting.
  7944. # TODO: see whether this extra hack can be removed once we start
  7945. # requiring Autoconf 2.70 or later.
  7946. case $CONFIG_FILES in #(
  7947. *\'*) :
  7948. eval set x "$CONFIG_FILES" ;; #(
  7949. *) :
  7950. set x $CONFIG_FILES ;; #(
  7951. *) :
  7952. ;;
  7953. esac
  7954. shift
  7955. # Used to flag and report bootstrapping failures.
  7956. am_rc=0
  7957. for am_mf
  7958. do
  7959. # Strip MF so we end up with the name of the file.
  7960. am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
  7961. # Check whether this is an Automake generated Makefile which includes
  7962. # dependency-tracking related rules and includes.
  7963. # Grep'ing the whole file directly is not great: AIX grep has a line
  7964. # limit of 2048, but all sed's we know have understand at least 4000.
  7965. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  7966. || continue
  7967. am_dirpart=`$as_dirname -- "$am_mf" ||
  7968. $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7969. X"$am_mf" : 'X\(//\)[^/]' \| \
  7970. X"$am_mf" : 'X\(//\)$' \| \
  7971. X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  7972. printf "%s\n" X"$am_mf" |
  7973. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7974. s//\1/
  7975. q
  7976. }
  7977. /^X\(\/\/\)[^/].*/{
  7978. s//\1/
  7979. q
  7980. }
  7981. /^X\(\/\/\)$/{
  7982. s//\1/
  7983. q
  7984. }
  7985. /^X\(\/\).*/{
  7986. s//\1/
  7987. q
  7988. }
  7989. s/.*/./; q'`
  7990. am_filepart=`$as_basename -- "$am_mf" ||
  7991. $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  7992. X"$am_mf" : 'X\(//\)$' \| \
  7993. X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  7994. printf "%s\n" X/"$am_mf" |
  7995. sed '/^.*\/\([^/][^/]*\)\/*$/{
  7996. s//\1/
  7997. q
  7998. }
  7999. /^X\/\(\/\/\)$/{
  8000. s//\1/
  8001. q
  8002. }
  8003. /^X\/\(\/\).*/{
  8004. s//\1/
  8005. q
  8006. }
  8007. s/.*/./; q'`
  8008. { echo "$as_me:$LINENO: cd "$am_dirpart" \
  8009. && sed -e '/# am--include-marker/d' "$am_filepart" \
  8010. | $MAKE -f - am--depfiles" >&5
  8011. (cd "$am_dirpart" \
  8012. && sed -e '/# am--include-marker/d' "$am_filepart" \
  8013. | $MAKE -f - am--depfiles) >&5 2>&5
  8014. ac_status=$?
  8015. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8016. (exit $ac_status); } || am_rc=$?
  8017. done
  8018. if test $am_rc -ne 0; then
  8019. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  8020. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  8021. as_fn_error $? "Something went wrong bootstrapping makefile fragments
  8022. for automatic dependency tracking. If GNU make was not used, consider
  8023. re-running the configure script with MAKE=\"gmake\" (or whatever is
  8024. necessary). You can also try re-running configure with the
  8025. '--disable-dependency-tracking' option to at least be able to build
  8026. the package (albeit without support for automatic dependency tracking).
  8027. See \`config.log' for more details" "$LINENO" 5; }
  8028. fi
  8029. { am_dirpart=; unset am_dirpart;}
  8030. { am_filepart=; unset am_filepart;}
  8031. { am_mf=; unset am_mf;}
  8032. { am_rc=; unset am_rc;}
  8033. rm -f conftest-deps.mk
  8034. }
  8035. ;;
  8036. esac
  8037. done # for ac_tag
  8038. as_fn_exit 0
  8039. _ACEOF
  8040. ac_clean_files=$ac_clean_files_save
  8041. test $ac_write_fail = 0 ||
  8042. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  8043. # configure is writing to config.log, and then calls config.status.
  8044. # config.status does its own redirection, appending to config.log.
  8045. # Unfortunately, on DOS this fails, as config.log is still kept open
  8046. # by configure, so config.status won't be able to write to it; its
  8047. # output is simply discarded. So we exec the FD to /dev/null,
  8048. # effectively closing config.log, so it can be properly (re)opened and
  8049. # appended to by config.status. When coming back to configure, we
  8050. # need to make the FD available again.
  8051. if test "$no_create" != yes; then
  8052. ac_cs_success=:
  8053. ac_config_status_args=
  8054. test "$silent" = yes &&
  8055. ac_config_status_args="$ac_config_status_args --quiet"
  8056. exec 5>/dev/null
  8057. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  8058. exec 5>>config.log
  8059. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  8060. # would make configure fail if this is the last instruction.
  8061. $ac_cs_success || as_fn_exit 1
  8062. fi
  8063. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  8064. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  8065. printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  8066. fi