autotool.patch 699 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818
  1. diff -Nur bogofilter-1.2.0.orig/aclocal.m4 bogofilter-1.2.0/aclocal.m4
  2. --- bogofilter-1.2.0.orig/aclocal.m4 2009-02-21 21:41:46.000000000 +0100
  3. +++ bogofilter-1.2.0/aclocal.m4 2010-02-18 20:49:10.140857487 +0100
  4. @@ -1,7 +1,7 @@
  5. -# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
  6. +# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  7. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  8. -# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  9. +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  10. # This file is free software; the Free Software Foundation
  11. # gives unlimited permission to copy and/or distribute it,
  12. # with or without modifications, as long as this notice is preserved.
  13. @@ -13,8 +13,8 @@
  14. m4_ifndef([AC_AUTOCONF_VERSION],
  15. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16. -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
  17. -[m4_warning([this file was generated for autoconf 2.63.
  18. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
  19. +[m4_warning([this file was generated for autoconf 2.65.
  20. You have another version of autoconf. It may work, but is not guaranteed to.
  21. If you have problems, you may need to regenerate the build system entirely.
  22. To do so, use the procedure documented by the package, typically `autoreconf'.])])
  23. @@ -31,10 +31,10 @@
  24. # generated from the m4 files accompanying Automake X.Y.
  25. # (This private macro should not be called outside this file.)
  26. AC_DEFUN([AM_AUTOMAKE_VERSION],
  27. -[am__api_version='1.10'
  28. +[am__api_version='1.11'
  29. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  30. dnl require some minimum version. Point them to the right macro.
  31. -m4_if([$1], [1.10.2], [],
  32. +m4_if([$1], [1.11.1], [],
  33. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  34. ])
  35. @@ -50,7 +50,7 @@
  36. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  37. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  38. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  39. -[AM_AUTOMAKE_VERSION([1.10.2])dnl
  40. +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  41. m4_ifndef([AC_AUTOCONF_VERSION],
  42. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  43. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  44. @@ -110,14 +110,14 @@
  45. # AM_CONDITIONAL -*- Autoconf -*-
  46. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
  47. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  48. # Free Software Foundation, Inc.
  49. #
  50. # This file is free software; the Free Software Foundation
  51. # gives unlimited permission to copy and/or distribute it,
  52. # with or without modifications, as long as this notice is preserved.
  53. -# serial 8
  54. +# serial 9
  55. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  56. # -------------------------------------
  57. @@ -130,6 +130,7 @@
  58. AC_SUBST([$1_FALSE])dnl
  59. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  60. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  61. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  62. if $2; then
  63. $1_TRUE=
  64. $1_FALSE='#'
  65. @@ -143,14 +144,14 @@
  66. Usually this means the macro was only invoked conditionally.]])
  67. fi])])
  68. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  69. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  70. # Free Software Foundation, Inc.
  71. #
  72. # This file is free software; the Free Software Foundation
  73. # gives unlimited permission to copy and/or distribute it,
  74. # with or without modifications, as long as this notice is preserved.
  75. -# serial 9
  76. +# serial 10
  77. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  78. # written in clear, in which case automake, when reading aclocal.m4,
  79. @@ -207,6 +208,16 @@
  80. if test "$am_compiler_list" = ""; then
  81. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  82. fi
  83. + am__universal=false
  84. + m4_case([$1], [CC],
  85. + [case " $depcc " in #(
  86. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  87. + esac],
  88. + [CXX],
  89. + [case " $depcc " in #(
  90. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  91. + esac])
  92. +
  93. for depmode in $am_compiler_list; do
  94. # Setup a source with many dependencies, because some compilers
  95. # like to wrap large dependency lists on column 80 (with \), and
  96. @@ -224,7 +235,17 @@
  97. done
  98. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  99. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  100. + # mode. It turns out that the SunPro C++ compiler does not properly
  101. + # handle `-M -o', and we need to detect this. Also, some Intel
  102. + # versions had trouble with output in subdirs
  103. + am__obj=sub/conftest.${OBJEXT-o}
  104. + am__minus_obj="-o $am__obj"
  105. case $depmode in
  106. + gcc)
  107. + # This depmode causes a compiler race in universal mode.
  108. + test "$am__universal" = false || continue
  109. + ;;
  110. nosideeffect)
  111. # after this tag, mechanisms are not by side-effect, so they'll
  112. # only be used when explicitly requested
  113. @@ -234,19 +255,23 @@
  114. break
  115. fi
  116. ;;
  117. + msvisualcpp | msvcmsys)
  118. + # This compiler won't grok `-c -o', but also, the minuso test has
  119. + # not run yet. These depmodes are late enough in the game, and
  120. + # so weak that their functioning should not be impacted.
  121. + am__obj=conftest.${OBJEXT-o}
  122. + am__minus_obj=
  123. + ;;
  124. none) break ;;
  125. esac
  126. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  127. - # mode. It turns out that the SunPro C++ compiler does not properly
  128. - # handle `-M -o', and we need to detect this.
  129. if depmode=$depmode \
  130. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  131. + source=sub/conftest.c object=$am__obj \
  132. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  133. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  134. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  135. >/dev/null 2>conftest.err &&
  136. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  137. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  138. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  139. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  140. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  141. # icc doesn't choke on unknown options, it will just issue warnings
  142. # or remarks (even with -Werror). So we grep stderr for any message
  143. @@ -310,59 +335,61 @@
  144. # gives unlimited permission to copy and/or distribute it,
  145. # with or without modifications, as long as this notice is preserved.
  146. -#serial 4
  147. +#serial 5
  148. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  149. # ------------------------------
  150. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  151. -[# Autoconf 2.62 quotes --file arguments for eval, but not when files
  152. -# are listed without --file. Let's play safe and only enable the eval
  153. -# if we detect the quoting.
  154. -case $CONFIG_FILES in
  155. -*\'*) eval set x "$CONFIG_FILES" ;;
  156. -*) set x $CONFIG_FILES ;;
  157. -esac
  158. -shift
  159. -for mf
  160. -do
  161. - # Strip MF so we end up with the name of the file.
  162. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  163. - # Check whether this is an Automake generated Makefile or not.
  164. - # We used to match only the files named `Makefile.in', but
  165. - # some people rename them; so instead we look at the file content.
  166. - # Grep'ing the first line is not enough: some people post-process
  167. - # each Makefile.in and add a new line on top of each file to say so.
  168. - # Grep'ing the whole file is not good either: AIX grep has a line
  169. - # limit of 2048, but all sed's we know have understand at least 4000.
  170. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  171. - dirpart=`AS_DIRNAME("$mf")`
  172. - else
  173. - continue
  174. - fi
  175. - # Extract the definition of DEPDIR, am__include, and am__quote
  176. - # from the Makefile without running `make'.
  177. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  178. - test -z "$DEPDIR" && continue
  179. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  180. - test -z "am__include" && continue
  181. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  182. - # When using ansi2knr, U may be empty or an underscore; expand it
  183. - U=`sed -n 's/^U = //p' < "$mf"`
  184. - # Find all dependency output files, they are included files with
  185. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  186. - # simplest approach to changing $(DEPDIR) to its actual value in the
  187. - # expansion.
  188. - for file in `sed -n "
  189. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  190. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  191. - # Make sure the directory exists.
  192. - test -f "$dirpart/$file" && continue
  193. - fdir=`AS_DIRNAME(["$file"])`
  194. - AS_MKDIR_P([$dirpart/$fdir])
  195. - # echo "creating $dirpart/$file"
  196. - echo '# dummy' > "$dirpart/$file"
  197. +[{
  198. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  199. + # are listed without --file. Let's play safe and only enable the eval
  200. + # if we detect the quoting.
  201. + case $CONFIG_FILES in
  202. + *\'*) eval set x "$CONFIG_FILES" ;;
  203. + *) set x $CONFIG_FILES ;;
  204. + esac
  205. + shift
  206. + for mf
  207. + do
  208. + # Strip MF so we end up with the name of the file.
  209. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  210. + # Check whether this is an Automake generated Makefile or not.
  211. + # We used to match only the files named `Makefile.in', but
  212. + # some people rename them; so instead we look at the file content.
  213. + # Grep'ing the first line is not enough: some people post-process
  214. + # each Makefile.in and add a new line on top of each file to say so.
  215. + # Grep'ing the whole file is not good either: AIX grep has a line
  216. + # limit of 2048, but all sed's we know have understand at least 4000.
  217. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  218. + dirpart=`AS_DIRNAME("$mf")`
  219. + else
  220. + continue
  221. + fi
  222. + # Extract the definition of DEPDIR, am__include, and am__quote
  223. + # from the Makefile without running `make'.
  224. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  225. + test -z "$DEPDIR" && continue
  226. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  227. + test -z "am__include" && continue
  228. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  229. + # When using ansi2knr, U may be empty or an underscore; expand it
  230. + U=`sed -n 's/^U = //p' < "$mf"`
  231. + # Find all dependency output files, they are included files with
  232. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  233. + # simplest approach to changing $(DEPDIR) to its actual value in the
  234. + # expansion.
  235. + for file in `sed -n "
  236. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  237. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  238. + # Make sure the directory exists.
  239. + test -f "$dirpart/$file" && continue
  240. + fdir=`AS_DIRNAME(["$file"])`
  241. + AS_MKDIR_P([$dirpart/$fdir])
  242. + # echo "creating $dirpart/$file"
  243. + echo '# dummy' > "$dirpart/$file"
  244. + done
  245. done
  246. -done
  247. +}
  248. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  249. @@ -382,13 +409,13 @@
  250. # Do all the work for Automake. -*- Autoconf -*-
  251. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  252. -# 2005, 2006, 2008 Free Software Foundation, Inc.
  253. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  254. #
  255. # This file is free software; the Free Software Foundation
  256. # gives unlimited permission to copy and/or distribute it,
  257. # with or without modifications, as long as this notice is preserved.
  258. -# serial 13
  259. +# serial 16
  260. # This macro actually does too much. Some checks are only needed if
  261. # your package does certain things. But this isn't really a big deal.
  262. @@ -405,7 +432,7 @@
  263. # arguments mandatory, and then we can depend on a new Autoconf
  264. # release and drop the old call support.
  265. AC_DEFUN([AM_INIT_AUTOMAKE],
  266. -[AC_PREREQ([2.60])dnl
  267. +[AC_PREREQ([2.62])dnl
  268. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  269. dnl the ones we care about.
  270. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  271. @@ -456,8 +483,8 @@
  272. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  273. AM_MISSING_PROG(AUTOHEADER, autoheader)
  274. AM_MISSING_PROG(MAKEINFO, makeinfo)
  275. -AM_PROG_INSTALL_SH
  276. -AM_PROG_INSTALL_STRIP
  277. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  278. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  279. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  280. # We need awk for the "check" target. The system "awk" is bad on
  281. # some platforms.
  282. @@ -465,23 +492,36 @@
  283. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  284. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  285. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  286. - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  287. - [_AM_PROG_TAR([v7])])])
  288. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  289. + [_AM_PROG_TAR([v7])])])
  290. _AM_IF_OPTION([no-dependencies],,
  291. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  292. - [_AM_DEPENDENCIES(CC)],
  293. - [define([AC_PROG_CC],
  294. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  295. + [_AM_DEPENDENCIES(CC)],
  296. + [define([AC_PROG_CC],
  297. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  298. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  299. - [_AM_DEPENDENCIES(CXX)],
  300. - [define([AC_PROG_CXX],
  301. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  302. + [_AM_DEPENDENCIES(CXX)],
  303. + [define([AC_PROG_CXX],
  304. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  305. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  306. - [_AM_DEPENDENCIES(OBJC)],
  307. - [define([AC_PROG_OBJC],
  308. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  309. -])
  310. -])
  311. + [_AM_DEPENDENCIES(OBJC)],
  312. + [define([AC_PROG_OBJC],
  313. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  314. +])
  315. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  316. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  317. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  318. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  319. +AC_CONFIG_COMMANDS_PRE(dnl
  320. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  321. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  322. +])
  323. +
  324. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  325. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  326. +dnl mangled by Autoconf and run in a shell conditional statement.
  327. +m4_define([_AC_COMPILER_EXEEXT],
  328. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  329. # When config.status generates a header, we must update the stamp-h file.
  330. @@ -505,7 +545,7 @@
  331. done
  332. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  333. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  334. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  335. #
  336. # This file is free software; the Free Software Foundation
  337. # gives unlimited permission to copy and/or distribute it,
  338. @@ -516,7 +556,14 @@
  339. # Define $install_sh.
  340. AC_DEFUN([AM_PROG_INSTALL_SH],
  341. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  342. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  343. +if test x"${install_sh}" != xset; then
  344. + case $am_aux_dir in
  345. + *\ * | *\ *)
  346. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  347. + *)
  348. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  349. + esac
  350. +fi
  351. AC_SUBST(install_sh)])
  352. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  353. @@ -563,13 +610,13 @@
  354. # Check to see how 'make' treats includes. -*- Autoconf -*-
  355. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  356. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  357. #
  358. # This file is free software; the Free Software Foundation
  359. # gives unlimited permission to copy and/or distribute it,
  360. # with or without modifications, as long as this notice is preserved.
  361. -# serial 3
  362. +# serial 4
  363. # AM_MAKE_INCLUDE()
  364. # -----------------
  365. @@ -578,7 +625,7 @@
  366. [am_make=${MAKE-make}
  367. cat > confinc << 'END'
  368. am__doit:
  369. - @echo done
  370. + @echo this is the am__doit target
  371. .PHONY: am__doit
  372. END
  373. # If we don't find an include directive, just comment out the code.
  374. @@ -588,24 +635,24 @@
  375. _am_result=none
  376. # First try GNU make style include.
  377. echo "include confinc" > confmf
  378. -# We grep out `Entering directory' and `Leaving directory'
  379. -# messages which can occur if `w' ends up in MAKEFLAGS.
  380. -# In particular we don't look at `^make:' because GNU make might
  381. -# be invoked under some other name (usually "gmake"), in which
  382. -# case it prints its new name instead of `make'.
  383. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  384. - am__include=include
  385. - am__quote=
  386. - _am_result=GNU
  387. -fi
  388. +# Ignore all kinds of additional output from `make'.
  389. +case `$am_make -s -f confmf 2> /dev/null` in #(
  390. +*the\ am__doit\ target*)
  391. + am__include=include
  392. + am__quote=
  393. + _am_result=GNU
  394. + ;;
  395. +esac
  396. # Now try BSD make style include.
  397. if test "$am__include" = "#"; then
  398. echo '.include "confinc"' > confmf
  399. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  400. - am__include=.include
  401. - am__quote="\""
  402. - _am_result=BSD
  403. - fi
  404. + case `$am_make -s -f confmf 2> /dev/null` in #(
  405. + *the\ am__doit\ target*)
  406. + am__include=.include
  407. + am__quote="\""
  408. + _am_result=BSD
  409. + ;;
  410. + esac
  411. fi
  412. AC_SUBST([am__include])
  413. AC_SUBST([am__quote])
  414. @@ -615,14 +662,14 @@
  415. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  416. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
  417. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  418. # Free Software Foundation, Inc.
  419. #
  420. # This file is free software; the Free Software Foundation
  421. # gives unlimited permission to copy and/or distribute it,
  422. # with or without modifications, as long as this notice is preserved.
  423. -# serial 5
  424. +# serial 6
  425. # AM_MISSING_PROG(NAME, PROGRAM)
  426. # ------------------------------
  427. @@ -639,7 +686,14 @@
  428. AC_DEFUN([AM_MISSING_HAS_RUN],
  429. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  430. AC_REQUIRE_AUX_FILE([missing])dnl
  431. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  432. +if test x"${MISSING+set}" != xset; then
  433. + case $am_aux_dir in
  434. + *\ * | *\ *)
  435. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  436. + *)
  437. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  438. + esac
  439. +fi
  440. # Use eval to expand $SHELL
  441. if eval "$MISSING --run true"; then
  442. am_missing_run="$MISSING --run "
  443. @@ -710,14 +764,14 @@
  444. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  445. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  446. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  447. # Free Software Foundation, Inc.
  448. #
  449. # This file is free software; the Free Software Foundation
  450. # gives unlimited permission to copy and/or distribute it,
  451. # with or without modifications, as long as this notice is preserved.
  452. -# serial 4
  453. +# serial 5
  454. # AM_SANITY_CHECK
  455. # ---------------
  456. @@ -726,16 +780,29 @@
  457. # Just in case
  458. sleep 1
  459. echo timestamp > conftest.file
  460. +# Reject unsafe characters in $srcdir or the absolute working directory
  461. +# name. Accept space and tab only in the latter.
  462. +am_lf='
  463. +'
  464. +case `pwd` in
  465. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  466. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  467. +esac
  468. +case $srcdir in
  469. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  470. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  471. +esac
  472. +
  473. # Do `set' in a subshell so we don't clobber the current shell's
  474. # arguments. Must try -L first in case configure is actually a
  475. # symlink; some systems play weird games with the mod time of symlinks
  476. # (eg FreeBSD returns the mod time of the symlink's containing
  477. # directory).
  478. if (
  479. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  480. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  481. if test "$[*]" = "X"; then
  482. # -L didn't work.
  483. - set X `ls -t $srcdir/configure conftest.file`
  484. + set X `ls -t "$srcdir/configure" conftest.file`
  485. fi
  486. rm -f conftest.file
  487. if test "$[*]" != "X $srcdir/configure conftest.file" \
  488. @@ -788,18 +855,25 @@
  489. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  490. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  491. -# Copyright (C) 2006 Free Software Foundation, Inc.
  492. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  493. #
  494. # This file is free software; the Free Software Foundation
  495. # gives unlimited permission to copy and/or distribute it,
  496. # with or without modifications, as long as this notice is preserved.
  497. +# serial 2
  498. +
  499. # _AM_SUBST_NOTMAKE(VARIABLE)
  500. # ---------------------------
  501. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  502. # This macro is traced by Automake.
  503. AC_DEFUN([_AM_SUBST_NOTMAKE])
  504. +# AM_SUBST_NOTMAKE(VARIABLE)
  505. +# ---------------------------
  506. +# Public sister of _AM_SUBST_NOTMAKE.
  507. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  508. +
  509. # Check how to create a tarball. -*- Autoconf -*-
  510. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  511. diff -Nur bogofilter-1.2.0.orig/bogofilter.spec bogofilter-1.2.0/bogofilter.spec
  512. --- bogofilter-1.2.0.orig/bogofilter.spec 2009-02-21 21:42:00.000000000 +0100
  513. +++ bogofilter-1.2.0/bogofilter.spec 1970-01-01 01:00:00.000000000 +0100
  514. @@ -1,247 +0,0 @@
  515. -# $Id: bogofilter.spec.in 6431 2006-01-22 03:28:21Z relson $
  516. -
  517. -# This .spec file will not build the static package by default.
  518. -# To do this, run either of the next rpm[build] commands:
  519. -#
  520. -# rpmbuild --define 'bogostatic 1' --sign -bb bogofilter.spec
  521. -#
  522. -# To build with SQLite3, use:
  523. -#
  524. -# rpmbuild --define 'with_sqlite 1' --sign -bb bogofilter.spec
  525. -
  526. -# To build -debuginfo RPMs on systems with RPM 4.2 or newer and recent
  527. -# elfutils, add
  528. -#
  529. -# --define 'debugrpm 1'
  530. -#
  531. -# or place %debugrpm 1 into your ~/.rpmmacros file.
  532. -
  533. -%define Name bogofilter
  534. -%define Version 1.2.0
  535. -%define Release 1
  536. -
  537. -%{?bogostatic: %define bogostatic 1}
  538. -%{!?bogostatic: %define bogostatic 0}
  539. -
  540. -%{?with_db42: %define with_db42 1}
  541. -%{!?with_db42: %define with_db42 0}
  542. -
  543. -%{?with_sqlite: %define with_sqlite 1}
  544. -%{!?with_sqlite: %define with_sqlite 0}
  545. -
  546. -%if %{with_db42}
  547. -%define DBFlag 1
  548. -%define DBName -db42
  549. -%endif
  550. -
  551. -%if %{with_sqlite}
  552. -%define DBFlag 1
  553. -%define DBName -sqlite3
  554. -%endif
  555. -
  556. -%{!?DBFlag: %define DBFlag 0}
  557. -%{!?bf_nameext: %define bf_nameext %{nil}}
  558. -
  559. -Summary: Fast anti-spam filtering by Bayesian statistical analysis
  560. -%if ! %{DBFlag}
  561. -Name: %{Name}%{bf_nameext}
  562. -%else
  563. -Name: %{Name}%{DBName}%{bf_nameext}
  564. -%endif
  565. -Version: %{Version}
  566. -Release: %{Release}
  567. -License: GPL
  568. -Group: Networking/Mail
  569. -URL: http://bogofilter.sourceforge.net
  570. -Source0: %{Name}-%{Version}.tar.gz
  571. -
  572. -%define _requires_exceptions perl
  573. -
  574. -Buildroot: %{_tmppath}/%{Name}-%{Version}-root
  575. -Conflicts: %{Name}%{DBName}-static
  576. -
  577. -%description
  578. -Bogofilter is a Bayesian spam filter. In its normal mode of
  579. -operation, it takes an email message or other text on standard input,
  580. -does a statistical check against lists of "good" and "bad" words, and
  581. -returns a status code indicating whether or not the message is spam.
  582. -Bogofilter is designed with fast algorithms (including Berkeley DB system),
  583. -coded directly in C, and tuned for speed, so it can be used for production
  584. -by sites that process a lot of mail.
  585. -
  586. -%if %{with_sqlite}
  587. -This version was built with SQLite3 support.
  588. -%else
  589. -This version was built with Berkeley DB support.
  590. -%endif
  591. -
  592. -%package static
  593. -Summary: Statically linked
  594. -Group: Networking/Mail
  595. -Conflicts: %{Name}%{DBName}
  596. -
  597. -%description static
  598. -Statically linked bogofilter, bogolexer, bogoutil, and bogotune.
  599. -
  600. -# use the debug_package macro if applicable:
  601. -%{?debugrpm:%debug_package}
  602. -
  603. -%prep
  604. -%setup -q -n %{Name}-%{Version}
  605. -CFLAGS="$RPM_OPT_FLAGS" \
  606. -./configure \
  607. - --prefix=%{_prefix} \
  608. - --mandir=%{_mandir} \
  609. - --sysconfdir=%{_sysconfdir} \
  610. -%if %{?bogostatic}
  611. - --enable-static \
  612. -%endif
  613. -%if %{?with_db42}
  614. - --with-database=db \
  615. -%endif
  616. -%if %{?with_sqlite}
  617. - --with-database=sqlite3 \
  618. -%endif
  619. - --with-included-gsl
  620. -
  621. -%build
  622. -make
  623. -make DESTDIR="%{buildroot}" check
  624. -
  625. -%clean
  626. -[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  627. -
  628. -%install
  629. -[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  630. -make DESTDIR=%{buildroot} install
  631. -
  632. -cp %{buildroot}%{_sysconfdir}/bogofilter.cf.example \
  633. - %{buildroot}%{_sysconfdir}/bogofilter.cf
  634. -
  635. -for n in xml html ; do
  636. - install -d .inst/$n
  637. - install -m644 doc/*.$n .inst/$n
  638. -done
  639. -
  640. -for n in `find %{buildroot}%{_datadir}/%{name} -type d` ; do
  641. - chmod o-w $n
  642. -done
  643. -
  644. -for d in contrib ; do
  645. - install -d %{buildroot}%{_datadir}/%{name}/$d
  646. - files=$(find "$d" -maxdepth 1 -type f -print)
  647. - for f in $files ; do
  648. - case $f in
  649. - *.c|*.o|*.obj|*/Makefile*) continue ;;
  650. - *.1)
  651. - cp -p $f %{buildroot}%{_mandir}/man1 ;;
  652. - *)
  653. - cp -p $f %{buildroot}%{_datadir}/%{name}/$d ;;
  654. - esac
  655. - done
  656. -done
  657. -
  658. -mv bogogrep* contrib
  659. -
  660. -%if %{bogostatic}
  661. -(
  662. -cd %{buildroot}%{_datadir}/%{name}
  663. -cp -p -r contrib contrib-static
  664. -rm contrib/bogogrep_static
  665. -rm contrib-static/bogogrep
  666. -strip contrib-static/bogogrep_static
  667. -)
  668. -%endif
  669. -
  670. -%post
  671. -
  672. -%post static
  673. -for file in bogofilter bogolexer bogoutil bogotune ; do
  674. - if [ $1 -lt 2 ] ; then
  675. - ln -s %{_bindir}/${file}_static %{_bindir}/${file}
  676. - fi
  677. -done
  678. -
  679. -%postun static
  680. -for file in bogofilter bogolexer bogoutil bogotune ; do
  681. - if [ $1 -eq 0 ] ; then
  682. - rm -f %{_bindir}/${file}
  683. - echo rm -f %{_bindir}/${file}
  684. - fi
  685. -done
  686. -
  687. -%files
  688. -%defattr(-,root,root)
  689. -
  690. -%doc AUTHORS COPYING INSTALL
  691. -%doc GETTING.STARTED
  692. -%doc NEWS README* RELEASE.NOTES TODO
  693. -%doc doc/bogofilter-tuning.HOWTO.html
  694. -%doc doc/bogofilter-SA-2002-01
  695. -%doc doc/integrating*
  696. -%doc doc/programmer
  697. -%doc doc/README.*db doc/rpm.notes.BerkeleyDB
  698. -%doc .inst/html .inst/xml
  699. -
  700. -%{_sysconfdir}/bogofilter.cf.example
  701. -%config(noreplace) %{_sysconfdir}/bogofilter.cf
  702. -
  703. -%{_bindir}/bogofilter
  704. -%{_bindir}/bogolexer
  705. -%{_bindir}/bogotune
  706. -%{_bindir}/bogoutil
  707. -%{_bindir}/bogoupgrade
  708. -%{_bindir}/bf_copy
  709. -%{_bindir}/bf_compact
  710. -%{_bindir}/bf_tar
  711. -
  712. -%{_mandir}/man1/bogofilter.1*
  713. -%{_mandir}/man1/bogolexer.1*
  714. -%{_mandir}/man1/bogotune.1*
  715. -%{_mandir}/man1/bogoutil.1*
  716. -%{_mandir}/man1/bogoupgrade.1*
  717. -%{_mandir}/man1/bf_compact.1*
  718. -%{_mandir}/man1/bf_copy.1*
  719. -%{_mandir}/man1/bf_tar.1*
  720. -
  721. -%{_datadir}/%{name}/contrib/*
  722. -
  723. -%if %{bogostatic}
  724. -%files static
  725. -%defattr(-,root,root)
  726. -
  727. -%doc AUTHORS COPYING INSTALL
  728. -%doc GETTING.STARTED
  729. -%doc NEWS README* RELEASE.NOTES TODO
  730. -%doc doc/bogofilter-tuning.HOWTO.html
  731. -%doc doc/bogofilter-SA-2002-01
  732. -%doc doc/integrating*
  733. -%doc doc/programmer
  734. -%doc doc/README.*db doc/rpm.notes.BerkeleyDB
  735. -%doc .inst/html .inst/xml
  736. -
  737. -%{_sysconfdir}/bogofilter.cf.example
  738. -%config(noreplace) %{_sysconfdir}/bogofilter.cf
  739. -
  740. -%{_bindir}/bogofilter_static
  741. -%{_bindir}/bogolexer_static
  742. -%{_bindir}/bogotune_static
  743. -%{_bindir}/bogoutil_static
  744. -%{_bindir}/bogoupgrade
  745. -%{_bindir}/bf_copy
  746. -%{_bindir}/bf_compact
  747. -%{_bindir}/bf_tar
  748. -
  749. -%{_mandir}/man1/bogofilter.1*
  750. -%{_mandir}/man1/bogolexer.1*
  751. -%{_mandir}/man1/bogotune.1*
  752. -%{_mandir}/man1/bogoutil.1*
  753. -%{_mandir}/man1/bogoupgrade.1*
  754. -%{_mandir}/man1/bf_compact.1*
  755. -%{_mandir}/man1/bf_copy.1*
  756. -%{_mandir}/man1/bf_tar.1*
  757. -
  758. -%{_datadir}/%{name}/contrib-static/*
  759. -%endif
  760. -
  761. -%changelog
  762. diff -Nur bogofilter-1.2.0.orig/config.guess bogofilter-1.2.0/config.guess
  763. --- bogofilter-1.2.0.orig/config.guess 2008-05-31 00:11:13.000000000 +0200
  764. +++ bogofilter-1.2.0/config.guess 2010-02-18 20:48:43.496856744 +0100
  765. @@ -1,10 +1,10 @@
  766. #! /bin/sh
  767. # Attempt to guess a canonical system name.
  768. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  769. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  770. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  771. # Free Software Foundation, Inc.
  772. -timestamp='2008-01-23'
  773. +timestamp='2009-06-10'
  774. # This file is free software; you can redistribute it and/or modify it
  775. # under the terms of the GNU General Public License as published by
  776. @@ -139,23 +139,6 @@
  777. UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
  778. UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  779. -if [ "${UNAME_SYSTEM}" = "Linux" ] ; then
  780. - eval $set_cc_for_build
  781. - cat << EOF > $dummy.c
  782. - #include <features.h>
  783. - #ifdef __UCLIBC__
  784. - # ifdef __UCLIBC_CONFIG_VERSION__
  785. - LIBC=uclibc __UCLIBC_CONFIG_VERSION__
  786. - # else
  787. - LIBC=uclibc
  788. - # endif
  789. - #else
  790. - LIBC=gnu
  791. - #endif
  792. -EOF
  793. - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'`
  794. -fi
  795. -
  796. # Note: order is significant - the case branches are not exclusive.
  797. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  798. @@ -187,7 +170,7 @@
  799. arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  800. eval $set_cc_for_build
  801. if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  802. - | grep __ELF__ >/dev/null
  803. + | grep -q __ELF__
  804. then
  805. # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  806. # Return netbsd for either. FIX?
  807. @@ -341,6 +324,9 @@
  808. case `/usr/bin/uname -p` in
  809. sparc) echo sparc-icl-nx7; exit ;;
  810. esac ;;
  811. + s390x:SunOS:*:*)
  812. + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  813. + exit ;;
  814. sun4H:SunOS:5.*:*)
  815. echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  816. exit ;;
  817. @@ -348,7 +334,20 @@
  818. echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  819. exit ;;
  820. i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  821. - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  822. + eval $set_cc_for_build
  823. + SUN_ARCH="i386"
  824. + # If there is a compiler, see if it is configured for 64-bit objects.
  825. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  826. + # This test works for both compilers.
  827. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  828. + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  829. + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  830. + grep IS_64BIT_ARCH >/dev/null
  831. + then
  832. + SUN_ARCH="x86_64"
  833. + fi
  834. + fi
  835. + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  836. exit ;;
  837. sun4*:SunOS:6*:*)
  838. # According to config.sub, this is the proper way to canonicalize
  839. @@ -657,7 +656,7 @@
  840. # => hppa64-hp-hpux11.23
  841. if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  842. - grep __LP64__ >/dev/null
  843. + grep -q __LP64__
  844. then
  845. HP_ARCH="hppa2.0w"
  846. else
  847. @@ -813,7 +812,7 @@
  848. x86)
  849. echo i586-pc-interix${UNAME_RELEASE}
  850. exit ;;
  851. - EM64T | authenticamd)
  852. + EM64T | authenticamd | genuineintel)
  853. echo x86_64-unknown-interix${UNAME_RELEASE}
  854. exit ;;
  855. IA64)
  856. @@ -823,6 +822,9 @@
  857. [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  858. echo i${UNAME_MACHINE}-pc-mks
  859. exit ;;
  860. + 8664:Windows_NT:*)
  861. + echo x86_64-pc-mks
  862. + exit ;;
  863. i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  864. # How do we know it's Interix rather than the generic POSIX subsystem?
  865. # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  866. @@ -857,66 +859,43 @@
  867. if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
  868. | grep -q __ARM_EABI__
  869. then
  870. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  871. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  872. else
  873. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
  874. + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
  875. fi
  876. exit ;;
  877. avr32*:Linux:*:*)
  878. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  879. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  880. exit ;;
  881. cris:Linux:*:*)
  882. - echo cris-axis-linux-${LIBC}
  883. + echo cris-axis-linux-gnu
  884. exit ;;
  885. crisv32:Linux:*:*)
  886. - echo crisv32-axis-linux-${LIBC}
  887. + echo crisv32-axis-linux-gnu
  888. exit ;;
  889. frv:Linux:*:*)
  890. - echo frv-unknown-linux-${LIBC}
  891. + echo frv-unknown-linux-gnu
  892. exit ;;
  893. ia64:Linux:*:*)
  894. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  895. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  896. exit ;;
  897. m32r*:Linux:*:*)
  898. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  899. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  900. exit ;;
  901. m68*:Linux:*:*)
  902. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  903. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  904. exit ;;
  905. - mips:Linux:*:*)
  906. - eval $set_cc_for_build
  907. - sed 's/^ //' << EOF >$dummy.c
  908. - #undef CPU
  909. - #undef mips
  910. - #undef mipsel
  911. - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  912. - CPU=mipsel
  913. - #else
  914. - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  915. - CPU=mips
  916. - #else
  917. - CPU=
  918. - #endif
  919. - #endif
  920. -EOF
  921. - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  922. - /^CPU/{
  923. - s: ::g
  924. - p
  925. - }'`"
  926. - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
  927. - ;;
  928. - mips64:Linux:*:*)
  929. + mips:Linux:*:* | mips64:Linux:*:*)
  930. eval $set_cc_for_build
  931. sed 's/^ //' << EOF >$dummy.c
  932. #undef CPU
  933. - #undef mips64
  934. - #undef mips64el
  935. + #undef ${UNAME_MACHINE}
  936. + #undef ${UNAME_MACHINE}el
  937. #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  938. - CPU=mips64el
  939. + CPU=${UNAME_MACHINE}el
  940. #else
  941. #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  942. - CPU=mips64
  943. + CPU=${UNAME_MACHINE}
  944. #else
  945. CPU=
  946. #endif
  947. @@ -927,16 +906,16 @@
  948. s: ::g
  949. p
  950. }'`"
  951. - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
  952. + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  953. ;;
  954. or32:Linux:*:*)
  955. - echo or32-unknown-linux-${LIBC}
  956. + echo or32-unknown-linux-gnu
  957. exit ;;
  958. ppc:Linux:*:*)
  959. - echo powerpc-unknown-linux-${LIBC}
  960. + echo powerpc-unknown-linux-gnu
  961. exit ;;
  962. ppc64:Linux:*:*)
  963. - echo powerpc64-unknown-linux-${LIBC}
  964. + echo powerpc64-unknown-linux-gnu
  965. exit ;;
  966. alpha:Linux:*:*)
  967. case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  968. @@ -948,41 +927,44 @@
  969. EV67) UNAME_MACHINE=alphaev67 ;;
  970. EV68*) UNAME_MACHINE=alphaev68 ;;
  971. esac
  972. - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  973. - if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
  974. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  975. + objdump --private-headers /bin/sh | grep -q ld.so.1
  976. + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  977. + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  978. + exit ;;
  979. + padre:Linux:*:*)
  980. + echo sparc-unknown-linux-gnu
  981. exit ;;
  982. parisc:Linux:*:* | hppa:Linux:*:*)
  983. # Look for CPU level
  984. case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  985. - PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
  986. - PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
  987. - *) echo hppa-unknown-linux-${LIBC} ;;
  988. + PA7*) echo hppa1.1-unknown-linux-gnu ;;
  989. + PA8*) echo hppa2.0-unknown-linux-gnu ;;
  990. + *) echo hppa-unknown-linux-gnu ;;
  991. esac
  992. exit ;;
  993. parisc64:Linux:*:* | hppa64:Linux:*:*)
  994. - echo hppa64-unknown-linux-${LIBC}
  995. + echo hppa64-unknown-linux-gnu
  996. exit ;;
  997. s390:Linux:*:* | s390x:Linux:*:*)
  998. echo ${UNAME_MACHINE}-ibm-linux
  999. exit ;;
  1000. sh64*:Linux:*:*)
  1001. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  1002. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  1003. exit ;;
  1004. sh*:Linux:*:*)
  1005. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  1006. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  1007. exit ;;
  1008. sparc:Linux:*:* | sparc64:Linux:*:*)
  1009. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  1010. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  1011. exit ;;
  1012. vax:Linux:*:*)
  1013. - echo ${UNAME_MACHINE}-dec-linux-${LIBC}
  1014. + echo ${UNAME_MACHINE}-dec-linux-gnu
  1015. exit ;;
  1016. x86_64:Linux:*:*)
  1017. - echo x86_64-unknown-linux-${LIBC}
  1018. + echo x86_64-unknown-linux-gnu
  1019. exit ;;
  1020. xtensa*:Linux:*:*)
  1021. - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  1022. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  1023. exit ;;
  1024. i*86:Linux:*:*)
  1025. # The BFD linker knows what the default object file format is, so
  1026. @@ -997,22 +979,9 @@
  1027. p'`
  1028. case "$ld_supported_targets" in
  1029. elf32-i386)
  1030. - TENTATIVE="${UNAME_MACHINE}-pc-linux-${LIBC}"
  1031. + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
  1032. ;;
  1033. - a.out-i386-linux)
  1034. - echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout"
  1035. - exit ;;
  1036. - coff-i386)
  1037. - echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff"
  1038. - exit ;;
  1039. - "")
  1040. - # Either a pre-BFD a.out linker (linux-gnuoldld) or
  1041. - # one that does not give us useful --help.
  1042. - echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld"
  1043. - exit ;;
  1044. esac
  1045. - # This should get integrated into the C code below, but now we hack
  1046. - if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi
  1047. # Determine whether the default compiler is a.out or elf
  1048. eval $set_cc_for_build
  1049. sed 's/^ //' << EOF >$dummy.c
  1050. @@ -1077,7 +1046,7 @@
  1051. i*86:syllable:*:*)
  1052. echo ${UNAME_MACHINE}-pc-syllable
  1053. exit ;;
  1054. - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
  1055. + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
  1056. echo i386-unknown-lynxos${UNAME_RELEASE}
  1057. exit ;;
  1058. i*86:*DOS:*:*)
  1059. @@ -1121,8 +1090,11 @@
  1060. pc:*:*:*)
  1061. # Left here for compatibility:
  1062. # uname -m prints for DJGPP always 'pc', but it prints nothing about
  1063. - # the processor, so we play safe by assuming i386.
  1064. - echo i386-pc-msdosdjgpp
  1065. + # the processor, so we play safe by assuming i586.
  1066. + # Note: whatever this is, it MUST be the same as what config.sub
  1067. + # prints for the "djgpp" host, or else GDB configury will decide that
  1068. + # this is a cross-build.
  1069. + echo i586-pc-msdosdjgpp
  1070. exit ;;
  1071. Intel:Mach:3*:*)
  1072. echo i386-pc-mach3
  1073. @@ -1160,6 +1132,16 @@
  1074. 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  1075. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  1076. && { echo i486-ncr-sysv4; exit; } ;;
  1077. + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
  1078. + OS_REL='.3'
  1079. + test -r /etc/.relid \
  1080. + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  1081. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  1082. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  1083. + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  1084. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
  1085. + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
  1086. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  1087. m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
  1088. echo m68k-unknown-lynxos${UNAME_RELEASE}
  1089. exit ;;
  1090. @@ -1172,7 +1154,7 @@
  1091. rs6000:LynxOS:2.*:*)
  1092. echo rs6000-unknown-lynxos${UNAME_RELEASE}
  1093. exit ;;
  1094. - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
  1095. + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
  1096. echo powerpc-unknown-lynxos${UNAME_RELEASE}
  1097. exit ;;
  1098. SM[BE]S:UNIX_SV:*:*)
  1099. @@ -1235,6 +1217,9 @@
  1100. BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
  1101. echo i586-pc-beos
  1102. exit ;;
  1103. + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
  1104. + echo i586-pc-haiku
  1105. + exit ;;
  1106. SX-4:SUPER-UX:*:*)
  1107. echo sx4-nec-superux${UNAME_RELEASE}
  1108. exit ;;
  1109. @@ -1343,6 +1328,9 @@
  1110. i*86:rdos:*:*)
  1111. echo ${UNAME_MACHINE}-pc-rdos
  1112. exit ;;
  1113. + i*86:AROS:*:*)
  1114. + echo ${UNAME_MACHINE}-pc-aros
  1115. + exit ;;
  1116. esac
  1117. #echo '(No uname command or uname output not recognized.)' 1>&2
  1118. diff -Nur bogofilter-1.2.0.orig/config.in bogofilter-1.2.0/config.in
  1119. --- bogofilter-1.2.0.orig/config.in 2009-02-21 21:42:01.000000000 +0100
  1120. +++ bogofilter-1.2.0/config.in 2010-02-18 20:49:43.224855052 +0100
  1121. @@ -279,6 +279,9 @@
  1122. /* Define to the one symbol short name of this package. */
  1123. #undef PACKAGE_TARNAME
  1124. +/* Define to the home page for this package. */
  1125. +#undef PACKAGE_URL
  1126. +
  1127. /* Define to the version of this package. */
  1128. #undef PACKAGE_VERSION
  1129. diff -Nur bogofilter-1.2.0.orig/config.sub bogofilter-1.2.0/config.sub
  1130. --- bogofilter-1.2.0.orig/config.sub 2008-05-31 00:11:13.000000000 +0200
  1131. +++ bogofilter-1.2.0/config.sub 2010-02-18 20:48:43.496856744 +0100
  1132. @@ -1,10 +1,10 @@
  1133. #! /bin/sh
  1134. # Configuration validation subroutine script.
  1135. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  1136. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  1137. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  1138. # Free Software Foundation, Inc.
  1139. -timestamp='2008-01-16'
  1140. +timestamp='2009-06-11'
  1141. # This file is (in principle) common to ALL GNU software.
  1142. # The presence of a machine in this file suggests that SOME GNU software
  1143. @@ -122,6 +122,7 @@
  1144. case $maybe_os in
  1145. nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  1146. uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  1147. + kopensolaris*-gnu* | \
  1148. storm-chaos* | os2-emx* | rtmk-nova*)
  1149. os=-$maybe_os
  1150. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  1151. @@ -152,6 +153,9 @@
  1152. os=
  1153. basic_machine=$1
  1154. ;;
  1155. + -bluegene*)
  1156. + os=-cnk
  1157. + ;;
  1158. -sim | -cisco | -oki | -wec | -winbond)
  1159. os=
  1160. basic_machine=$1
  1161. @@ -244,18 +248,21 @@
  1162. | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  1163. | bfin \
  1164. | c4x | clipper \
  1165. - | d10v | d30v | dlx | dsp16xx | dvp \
  1166. + | d10v | d30v | dlx | dsp16xx \
  1167. | fido | fr30 | frv \
  1168. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  1169. | i370 | i860 | i960 | ia64 \
  1170. | ip2k | iq2000 \
  1171. + | lm32 \
  1172. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  1173. - | maxq | mb | microblaze | mcore | mep \
  1174. + | maxq | mb | microblaze | mcore | mep | metag \
  1175. | mips | mipsbe | mipseb | mipsel | mipsle \
  1176. | mips16 \
  1177. | mips64 | mips64el \
  1178. - | mips64vr | mips64vrel \
  1179. + | mips64octeon | mips64octeonel \
  1180. | mips64orion | mips64orionel \
  1181. + | mips64r5900 | mips64r5900el \
  1182. + | mips64vr | mips64vrel \
  1183. | mips64vr4100 | mips64vr4100el \
  1184. | mips64vr4300 | mips64vr4300el \
  1185. | mips64vr5000 | mips64vr5000el \
  1186. @@ -268,6 +275,7 @@
  1187. | mipsisa64sr71k | mipsisa64sr71kel \
  1188. | mipstx39 | mipstx39el \
  1189. | mn10200 | mn10300 \
  1190. + | moxie \
  1191. | mt \
  1192. | msp430 \
  1193. | nios | nios2 \
  1194. @@ -277,7 +285,7 @@
  1195. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  1196. | pyramid \
  1197. | score \
  1198. - | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  1199. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  1200. | sh64 | sh64le \
  1201. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  1202. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  1203. @@ -286,7 +294,7 @@
  1204. | v850 | v850e \
  1205. | we32k \
  1206. | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  1207. - | z8k)
  1208. + | z8k | z80)
  1209. basic_machine=$basic_machine-unknown
  1210. ;;
  1211. m6811 | m68hc11 | m6812 | m68hc12)
  1212. @@ -329,14 +337,17 @@
  1213. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  1214. | i*86-* | i860-* | i960-* | ia64-* \
  1215. | ip2k-* | iq2000-* \
  1216. + | lm32-* \
  1217. | m32c-* | m32r-* | m32rle-* \
  1218. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  1219. - | m88110-* | m88k-* | maxq-* | mcore-* \
  1220. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  1221. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  1222. | mips16-* \
  1223. | mips64-* | mips64el-* \
  1224. - | mips64vr-* | mips64vrel-* \
  1225. + | mips64octeon-* | mips64octeonel-* \
  1226. | mips64orion-* | mips64orionel-* \
  1227. + | mips64r5900-* | mips64r5900el-* \
  1228. + | mips64vr-* | mips64vrel-* \
  1229. | mips64vr4100-* | mips64vr4100el-* \
  1230. | mips64vr4300-* | mips64vr4300el-* \
  1231. | mips64vr5000-* | mips64vr5000el-* \
  1232. @@ -358,20 +369,20 @@
  1233. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  1234. | pyramid-* \
  1235. | romp-* | rs6000-* \
  1236. - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  1237. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  1238. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  1239. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  1240. | sparclite-* \
  1241. | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  1242. | tahoe-* | thumb-* \
  1243. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  1244. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  1245. | tron-* \
  1246. | v850-* | v850e-* | vax-* \
  1247. | we32k-* \
  1248. | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  1249. | xstormy16-* | xtensa*-* \
  1250. | ymp-* \
  1251. - | z8k-*)
  1252. + | z8k-* | z80-*)
  1253. ;;
  1254. # Recognize the basic CPU types without company name, with glob match.
  1255. xtensa*)
  1256. @@ -439,6 +450,10 @@
  1257. basic_machine=m68k-apollo
  1258. os=-bsd
  1259. ;;
  1260. + aros)
  1261. + basic_machine=i386-pc
  1262. + os=-aros
  1263. + ;;
  1264. aux)
  1265. basic_machine=m68k-apple
  1266. os=-aux
  1267. @@ -455,10 +470,18 @@
  1268. basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  1269. os=-linux
  1270. ;;
  1271. + bluegene*)
  1272. + basic_machine=powerpc-ibm
  1273. + os=-cnk
  1274. + ;;
  1275. c90)
  1276. basic_machine=c90-cray
  1277. os=-unicos
  1278. ;;
  1279. + cegcc)
  1280. + basic_machine=arm-unknown
  1281. + os=-cegcc
  1282. + ;;
  1283. convex-c1)
  1284. basic_machine=c1-convex
  1285. os=-bsd
  1286. @@ -526,6 +549,10 @@
  1287. basic_machine=m88k-motorola
  1288. os=-sysv3
  1289. ;;
  1290. + dicos)
  1291. + basic_machine=i686-pc
  1292. + os=-dicos
  1293. + ;;
  1294. djgpp)
  1295. basic_machine=i586-pc
  1296. os=-msdosdjgpp
  1297. @@ -714,24 +741,6 @@
  1298. basic_machine=m68k-atari
  1299. os=-mint
  1300. ;;
  1301. - mipsEE* | ee | ps2)
  1302. - basic_machine=mips64r5900el-scei
  1303. - case $os in
  1304. - -linux*)
  1305. - ;;
  1306. - *)
  1307. - os=-elf
  1308. - ;;
  1309. - esac
  1310. - ;;
  1311. - iop)
  1312. - basic_machine=mipsel-scei
  1313. - os=-irx
  1314. - ;;
  1315. - dvp)
  1316. - basic_machine=dvp-scei
  1317. - os=-elf
  1318. - ;;
  1319. mips3*-*)
  1320. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  1321. ;;
  1322. @@ -1146,6 +1155,10 @@
  1323. basic_machine=z8k-unknown
  1324. os=-sim
  1325. ;;
  1326. + z80-*-coff)
  1327. + basic_machine=z80-unknown
  1328. + os=-sim
  1329. + ;;
  1330. none)
  1331. basic_machine=none-none
  1332. os=-none
  1333. @@ -1184,7 +1197,7 @@
  1334. we32k)
  1335. basic_machine=we32k-att
  1336. ;;
  1337. - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  1338. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  1339. basic_machine=sh-unknown
  1340. ;;
  1341. sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  1342. @@ -1254,10 +1267,11 @@
  1343. # Each alternative MUST END IN A *, to match a version number.
  1344. # -sysv* is not here because it comes later, after sysvr4.
  1345. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  1346. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  1347. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  1348. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  1349. + | -kopensolaris* \
  1350. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  1351. - | -aos* \
  1352. + | -aos* | -aros* \
  1353. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  1354. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  1355. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  1356. @@ -1266,7 +1280,7 @@
  1357. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  1358. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  1359. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  1360. - | -chorusos* | -chorusrdb* \
  1361. + | -chorusos* | -chorusrdb* | -cegcc* \
  1362. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  1363. | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  1364. | -uxpv* | -beos* | -mpeix* | -udk* \
  1365. @@ -1276,7 +1290,7 @@
  1366. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  1367. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  1368. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  1369. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
  1370. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  1371. # Remember, each alternative MUST END IN *, to match a version number.
  1372. ;;
  1373. -qnx*)
  1374. @@ -1406,6 +1420,9 @@
  1375. -zvmoe)
  1376. os=-zvmoe
  1377. ;;
  1378. + -dicos*)
  1379. + os=-dicos
  1380. + ;;
  1381. -none)
  1382. ;;
  1383. *)
  1384. @@ -1603,7 +1620,7 @@
  1385. -sunos*)
  1386. vendor=sun
  1387. ;;
  1388. - -aix*)
  1389. + -cnk*|-aix*)
  1390. vendor=ibm
  1391. ;;
  1392. -beos*)
  1393. diff -Nur bogofilter-1.2.0.orig/configure bogofilter-1.2.0/configure
  1394. --- bogofilter-1.2.0.orig/configure 2009-02-21 21:41:49.000000000 +0100
  1395. +++ bogofilter-1.2.0/configure 2010-02-18 20:49:14.956852485 +0100
  1396. @@ -1,18 +1,22 @@
  1397. #! /bin/sh
  1398. # Guess values for system-dependent variables and create Makefiles.
  1399. -# Generated by GNU Autoconf 2.63 for bogofilter 1.2.0.
  1400. +# Generated by GNU Autoconf 2.65 for bogofilter 1.2.0.
  1401. +#
  1402. #
  1403. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1404. -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1405. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  1406. +# Inc.
  1407. +#
  1408. +#
  1409. # This configure script is free software; the Free Software Foundation
  1410. # gives unlimited permission to copy, distribute and modify it.
  1411. -## --------------------- ##
  1412. -## M4sh Initialization. ##
  1413. -## --------------------- ##
  1414. +## -------------------- ##
  1415. +## M4sh Initialization. ##
  1416. +## -------------------- ##
  1417. # Be more Bourne compatible
  1418. DUALCASE=1; export DUALCASE # for MKS sh
  1419. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1420. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  1421. emulate sh
  1422. NULLCMD=:
  1423. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  1424. @@ -20,23 +24,15 @@
  1425. alias -g '${1+"$@"}'='"$@"'
  1426. setopt NO_GLOB_SUBST
  1427. else
  1428. - case `(set -o) 2>/dev/null` in
  1429. - *posix*) set -o posix ;;
  1430. + case `(set -o) 2>/dev/null` in #(
  1431. + *posix*) :
  1432. + set -o posix ;; #(
  1433. + *) :
  1434. + ;;
  1435. esac
  1436. -
  1437. fi
  1438. -
  1439. -
  1440. -# PATH needs CR
  1441. -# Avoid depending upon Character Ranges.
  1442. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1443. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1444. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1445. -as_cr_digits='0123456789'
  1446. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  1447. -
  1448. as_nl='
  1449. '
  1450. export as_nl
  1451. @@ -44,7 +40,13 @@
  1452. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  1453. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  1454. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  1455. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  1456. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  1457. +# but without wasting forks for bash or zsh.
  1458. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  1459. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  1460. + as_echo='print -r --'
  1461. + as_echo_n='print -rn --'
  1462. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  1463. as_echo='printf %s\n'
  1464. as_echo_n='printf %s'
  1465. else
  1466. @@ -55,7 +57,7 @@
  1467. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  1468. as_echo_n_body='eval
  1469. arg=$1;
  1470. - case $arg in
  1471. + case $arg in #(
  1472. *"$as_nl"*)
  1473. expr "X$arg" : "X\\(.*\\)$as_nl";
  1474. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  1475. @@ -78,13 +80,6 @@
  1476. }
  1477. fi
  1478. -# Support unset when possible.
  1479. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1480. - as_unset=unset
  1481. -else
  1482. - as_unset=false
  1483. -fi
  1484. -
  1485. # IFS
  1486. # We need space, tab and new line, in precisely that order. Quoting is
  1487. @@ -94,15 +89,15 @@
  1488. IFS=" "" $as_nl"
  1489. # Find who we are. Look in the path if we contain no directory separator.
  1490. -case $0 in
  1491. +case $0 in #((
  1492. *[\\/]* ) as_myself=$0 ;;
  1493. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1494. for as_dir in $PATH
  1495. do
  1496. IFS=$as_save_IFS
  1497. test -z "$as_dir" && as_dir=.
  1498. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1499. -done
  1500. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1501. + done
  1502. IFS=$as_save_IFS
  1503. ;;
  1504. @@ -114,12 +109,16 @@
  1505. fi
  1506. if test ! -f "$as_myself"; then
  1507. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  1508. - { (exit 1); exit 1; }
  1509. + exit 1
  1510. fi
  1511. -# Work around bugs in pre-3.0 UWIN ksh.
  1512. -for as_var in ENV MAIL MAILPATH
  1513. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  1514. +# Unset variables that we do not need and which cause bugs (e.g. in
  1515. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  1516. +# suppresses any "Segmentation fault" message there. '((' could
  1517. +# trigger a bug in pdksh 5.2.14.
  1518. +for as_var in BASH_ENV ENV MAIL MAILPATH
  1519. +do eval test x\${$as_var+set} = xset \
  1520. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  1521. done
  1522. PS1='$ '
  1523. PS2='> '
  1524. @@ -131,330 +130,299 @@
  1525. LANGUAGE=C
  1526. export LANGUAGE
  1527. -# Required to use basename.
  1528. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  1529. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1530. - as_expr=expr
  1531. -else
  1532. - as_expr=false
  1533. -fi
  1534. -
  1535. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  1536. - as_basename=basename
  1537. -else
  1538. - as_basename=false
  1539. -fi
  1540. -
  1541. -
  1542. -# Name of the executable.
  1543. -as_me=`$as_basename -- "$0" ||
  1544. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1545. - X"$0" : 'X\(//\)$' \| \
  1546. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1547. -$as_echo X/"$0" |
  1548. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  1549. - s//\1/
  1550. - q
  1551. - }
  1552. - /^X\/\(\/\/\)$/{
  1553. - s//\1/
  1554. - q
  1555. - }
  1556. - /^X\/\(\/\).*/{
  1557. - s//\1/
  1558. - q
  1559. - }
  1560. - s/.*/./; q'`
  1561. -
  1562. # CDPATH.
  1563. -$as_unset CDPATH
  1564. -
  1565. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1566. if test "x$CONFIG_SHELL" = x; then
  1567. - if (eval ":") 2>/dev/null; then
  1568. - as_have_required=yes
  1569. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  1570. + emulate sh
  1571. + NULLCMD=:
  1572. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  1573. + # is contrary to our usage. Disable this feature.
  1574. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  1575. + setopt NO_GLOB_SUBST
  1576. else
  1577. - as_have_required=no
  1578. + case \`(set -o) 2>/dev/null\` in #(
  1579. + *posix*) :
  1580. + set -o posix ;; #(
  1581. + *) :
  1582. + ;;
  1583. +esac
  1584. fi
  1585. -
  1586. - if test $as_have_required = yes && (eval ":
  1587. -(as_func_return () {
  1588. - (exit \$1)
  1589. -}
  1590. -as_func_success () {
  1591. - as_func_return 0
  1592. -}
  1593. -as_func_failure () {
  1594. - as_func_return 1
  1595. -}
  1596. -as_func_ret_success () {
  1597. - return 0
  1598. -}
  1599. -as_func_ret_failure () {
  1600. - return 1
  1601. -}
  1602. +"
  1603. + as_required="as_fn_return () { (exit \$1); }
  1604. +as_fn_success () { as_fn_return 0; }
  1605. +as_fn_failure () { as_fn_return 1; }
  1606. +as_fn_ret_success () { return 0; }
  1607. +as_fn_ret_failure () { return 1; }
  1608. exitcode=0
  1609. -if as_func_success; then
  1610. - :
  1611. -else
  1612. - exitcode=1
  1613. - echo as_func_success failed.
  1614. -fi
  1615. -
  1616. -if as_func_failure; then
  1617. - exitcode=1
  1618. - echo as_func_failure succeeded.
  1619. -fi
  1620. -
  1621. -if as_func_ret_success; then
  1622. - :
  1623. -else
  1624. - exitcode=1
  1625. - echo as_func_ret_success failed.
  1626. -fi
  1627. -
  1628. -if as_func_ret_failure; then
  1629. - exitcode=1
  1630. - echo as_func_ret_failure succeeded.
  1631. -fi
  1632. -
  1633. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  1634. - :
  1635. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  1636. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  1637. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  1638. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  1639. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  1640. +
  1641. +else
  1642. + exitcode=1; echo positional parameters were not saved.
  1643. +fi
  1644. +test x\$exitcode = x0 || exit 1"
  1645. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  1646. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  1647. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  1648. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  1649. +test \$(( 1 + 1 )) = 2 || exit 1"
  1650. + if (eval "$as_required") 2>/dev/null; then :
  1651. + as_have_required=yes
  1652. else
  1653. - exitcode=1
  1654. - echo positional parameters were not saved.
  1655. + as_have_required=no
  1656. fi
  1657. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  1658. -test \$exitcode = 0) || { (exit 1); exit 1; }
  1659. -
  1660. -(
  1661. - as_lineno_1=\$LINENO
  1662. - as_lineno_2=\$LINENO
  1663. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  1664. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  1665. -") 2> /dev/null; then
  1666. - :
  1667. else
  1668. - as_candidate_shells=
  1669. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1670. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1671. +as_found=false
  1672. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  1673. do
  1674. IFS=$as_save_IFS
  1675. test -z "$as_dir" && as_dir=.
  1676. - case $as_dir in
  1677. + as_found=:
  1678. + case $as_dir in #(
  1679. /*)
  1680. for as_base in sh bash ksh sh5; do
  1681. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  1682. + # Try only shells that exist, to save several forks.
  1683. + as_shell=$as_dir/$as_base
  1684. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  1685. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  1686. + CONFIG_SHELL=$as_shell as_have_required=yes
  1687. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  1688. + break 2
  1689. +fi
  1690. +fi
  1691. done;;
  1692. esac
  1693. + as_found=false
  1694. done
  1695. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  1696. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  1697. + CONFIG_SHELL=$SHELL as_have_required=yes
  1698. +fi; }
  1699. IFS=$as_save_IFS
  1700. - for as_shell in $as_candidate_shells $SHELL; do
  1701. - # Try only shells that exist, to save several forks.
  1702. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  1703. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  1704. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1705. - emulate sh
  1706. - NULLCMD=:
  1707. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  1708. - # is contrary to our usage. Disable this feature.
  1709. - alias -g '${1+"$@"}'='"$@"'
  1710. - setopt NO_GLOB_SUBST
  1711. -else
  1712. - case `(set -o) 2>/dev/null` in
  1713. - *posix*) set -o posix ;;
  1714. -esac
  1715. -
  1716. -fi
  1717. -
  1718. -
  1719. -:
  1720. -_ASEOF
  1721. -}; then
  1722. - CONFIG_SHELL=$as_shell
  1723. - as_have_required=yes
  1724. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  1725. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1726. - emulate sh
  1727. - NULLCMD=:
  1728. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  1729. - # is contrary to our usage. Disable this feature.
  1730. - alias -g '${1+"$@"}'='"$@"'
  1731. - setopt NO_GLOB_SUBST
  1732. -else
  1733. - case `(set -o) 2>/dev/null` in
  1734. - *posix*) set -o posix ;;
  1735. -esac
  1736. -
  1737. -fi
  1738. -
  1739. -
  1740. -:
  1741. -(as_func_return () {
  1742. - (exit $1)
  1743. -}
  1744. -as_func_success () {
  1745. - as_func_return 0
  1746. -}
  1747. -as_func_failure () {
  1748. - as_func_return 1
  1749. -}
  1750. -as_func_ret_success () {
  1751. - return 0
  1752. -}
  1753. -as_func_ret_failure () {
  1754. - return 1
  1755. -}
  1756. -
  1757. -exitcode=0
  1758. -if as_func_success; then
  1759. - :
  1760. -else
  1761. - exitcode=1
  1762. - echo as_func_success failed.
  1763. -fi
  1764. -
  1765. -if as_func_failure; then
  1766. - exitcode=1
  1767. - echo as_func_failure succeeded.
  1768. -fi
  1769. -
  1770. -if as_func_ret_success; then
  1771. - :
  1772. -else
  1773. - exitcode=1
  1774. - echo as_func_ret_success failed.
  1775. -fi
  1776. -
  1777. -if as_func_ret_failure; then
  1778. - exitcode=1
  1779. - echo as_func_ret_failure succeeded.
  1780. -fi
  1781. -
  1782. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  1783. - :
  1784. -else
  1785. - exitcode=1
  1786. - echo positional parameters were not saved.
  1787. -fi
  1788. -
  1789. -test $exitcode = 0) || { (exit 1); exit 1; }
  1790. -
  1791. -(
  1792. - as_lineno_1=$LINENO
  1793. - as_lineno_2=$LINENO
  1794. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  1795. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  1796. -
  1797. -_ASEOF
  1798. -}; then
  1799. - break
  1800. -fi
  1801. -
  1802. -fi
  1803. -
  1804. - done
  1805. -
  1806. - if test "x$CONFIG_SHELL" != x; then
  1807. - for as_var in BASH_ENV ENV
  1808. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  1809. - done
  1810. + if test "x$CONFIG_SHELL" != x; then :
  1811. + # We cannot yet assume a decent shell, so we have to provide a
  1812. + # neutralization value for shells without unset; and this also
  1813. + # works around shells that cannot unset nonexistent variables.
  1814. + BASH_ENV=/dev/null
  1815. + ENV=/dev/null
  1816. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  1817. export CONFIG_SHELL
  1818. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  1819. fi
  1820. -
  1821. - if test $as_have_required = no; then
  1822. - echo This script requires a shell more modern than all the
  1823. - echo shells that I found on your system. Please install a
  1824. - echo modern shell, or manually run the script under such a
  1825. - echo shell if you do have one.
  1826. - { (exit 1); exit 1; }
  1827. + if test x$as_have_required = xno; then :
  1828. + $as_echo "$0: This script requires a shell more modern than all"
  1829. + $as_echo "$0: the shells that I found on your system."
  1830. + if test x${ZSH_VERSION+set} = xset ; then
  1831. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  1832. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  1833. + else
  1834. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  1835. +$0: including any error possibly output before this
  1836. +$0: message. Then install a modern shell, or manually run
  1837. +$0: the script under such a shell if you do have one."
  1838. + fi
  1839. + exit 1
  1840. fi
  1841. -
  1842. -
  1843. fi
  1844. -
  1845. fi
  1846. +SHELL=${CONFIG_SHELL-/bin/sh}
  1847. +export SHELL
  1848. +# Unset more variables known to interfere with behavior of common tools.
  1849. +CLICOLOR_FORCE= GREP_OPTIONS=
  1850. +unset CLICOLOR_FORCE GREP_OPTIONS
  1851. +
  1852. +## --------------------- ##
  1853. +## M4sh Shell Functions. ##
  1854. +## --------------------- ##
  1855. +# as_fn_unset VAR
  1856. +# ---------------
  1857. +# Portably unset VAR.
  1858. +as_fn_unset ()
  1859. +{
  1860. + { eval $1=; unset $1;}
  1861. +}
  1862. +as_unset=as_fn_unset
  1863. +
  1864. +# as_fn_set_status STATUS
  1865. +# -----------------------
  1866. +# Set $? to STATUS, without forking.
  1867. +as_fn_set_status ()
  1868. +{
  1869. + return $1
  1870. +} # as_fn_set_status
  1871. +
  1872. +# as_fn_exit STATUS
  1873. +# -----------------
  1874. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  1875. +as_fn_exit ()
  1876. +{
  1877. + set +e
  1878. + as_fn_set_status $1
  1879. + exit $1
  1880. +} # as_fn_exit
  1881. +
  1882. +# as_fn_mkdir_p
  1883. +# -------------
  1884. +# Create "$as_dir" as a directory, including parents if necessary.
  1885. +as_fn_mkdir_p ()
  1886. +{
  1887. + case $as_dir in #(
  1888. + -*) as_dir=./$as_dir;;
  1889. + esac
  1890. + test -d "$as_dir" || eval $as_mkdir_p || {
  1891. + as_dirs=
  1892. + while :; do
  1893. + case $as_dir in #(
  1894. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  1895. + *) as_qdir=$as_dir;;
  1896. + esac
  1897. + as_dirs="'$as_qdir' $as_dirs"
  1898. + as_dir=`$as_dirname -- "$as_dir" ||
  1899. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1900. + X"$as_dir" : 'X\(//\)[^/]' \| \
  1901. + X"$as_dir" : 'X\(//\)$' \| \
  1902. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  1903. +$as_echo X"$as_dir" |
  1904. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1905. + s//\1/
  1906. + q
  1907. + }
  1908. + /^X\(\/\/\)[^/].*/{
  1909. + s//\1/
  1910. + q
  1911. + }
  1912. + /^X\(\/\/\)$/{
  1913. + s//\1/
  1914. + q
  1915. + }
  1916. + /^X\(\/\).*/{
  1917. + s//\1/
  1918. + q
  1919. + }
  1920. + s/.*/./; q'`
  1921. + test -d "$as_dir" && break
  1922. + done
  1923. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  1924. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  1925. -(eval "as_func_return () {
  1926. - (exit \$1)
  1927. -}
  1928. -as_func_success () {
  1929. - as_func_return 0
  1930. -}
  1931. -as_func_failure () {
  1932. - as_func_return 1
  1933. -}
  1934. -as_func_ret_success () {
  1935. - return 0
  1936. -}
  1937. -as_func_ret_failure () {
  1938. - return 1
  1939. -}
  1940. +} # as_fn_mkdir_p
  1941. +# as_fn_append VAR VALUE
  1942. +# ----------------------
  1943. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  1944. +# advantage of any shell optimizations that allow amortized linear growth over
  1945. +# repeated appends, instead of the typical quadratic growth present in naive
  1946. +# implementations.
  1947. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  1948. + eval 'as_fn_append ()
  1949. + {
  1950. + eval $1+=\$2
  1951. + }'
  1952. +else
  1953. + as_fn_append ()
  1954. + {
  1955. + eval $1=\$$1\$2
  1956. + }
  1957. +fi # as_fn_append
  1958. -exitcode=0
  1959. -if as_func_success; then
  1960. - :
  1961. +# as_fn_arith ARG...
  1962. +# ------------------
  1963. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  1964. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  1965. +# must be portable across $(()) and expr.
  1966. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  1967. + eval 'as_fn_arith ()
  1968. + {
  1969. + as_val=$(( $* ))
  1970. + }'
  1971. else
  1972. - exitcode=1
  1973. - echo as_func_success failed.
  1974. -fi
  1975. + as_fn_arith ()
  1976. + {
  1977. + as_val=`expr "$@" || test $? -eq 1`
  1978. + }
  1979. +fi # as_fn_arith
  1980. -if as_func_failure; then
  1981. - exitcode=1
  1982. - echo as_func_failure succeeded.
  1983. -fi
  1984. -if as_func_ret_success; then
  1985. - :
  1986. +# as_fn_error ERROR [LINENO LOG_FD]
  1987. +# ---------------------------------
  1988. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  1989. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  1990. +# script with status $?, using 1 if that was 0.
  1991. +as_fn_error ()
  1992. +{
  1993. + as_status=$?; test $as_status -eq 0 && as_status=1
  1994. + if test "$3"; then
  1995. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1996. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  1997. + fi
  1998. + $as_echo "$as_me: error: $1" >&2
  1999. + as_fn_exit $as_status
  2000. +} # as_fn_error
  2001. +
  2002. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  2003. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  2004. + as_expr=expr
  2005. else
  2006. - exitcode=1
  2007. - echo as_func_ret_success failed.
  2008. + as_expr=false
  2009. fi
  2010. -if as_func_ret_failure; then
  2011. - exitcode=1
  2012. - echo as_func_ret_failure succeeded.
  2013. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  2014. + as_basename=basename
  2015. +else
  2016. + as_basename=false
  2017. fi
  2018. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  2019. - :
  2020. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  2021. + as_dirname=dirname
  2022. else
  2023. - exitcode=1
  2024. - echo positional parameters were not saved.
  2025. + as_dirname=false
  2026. fi
  2027. -test \$exitcode = 0") || {
  2028. - echo No shell found that supports shell functions.
  2029. - echo Please tell bug-autoconf@gnu.org about your system,
  2030. - echo including any error possibly output before this message.
  2031. - echo This can help us improve future autoconf versions.
  2032. - echo Configuration will now proceed without shell functions.
  2033. -}
  2034. +as_me=`$as_basename -- "$0" ||
  2035. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  2036. + X"$0" : 'X\(//\)$' \| \
  2037. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  2038. +$as_echo X/"$0" |
  2039. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  2040. + s//\1/
  2041. + q
  2042. + }
  2043. + /^X\/\(\/\/\)$/{
  2044. + s//\1/
  2045. + q
  2046. + }
  2047. + /^X\/\(\/\).*/{
  2048. + s//\1/
  2049. + q
  2050. + }
  2051. + s/.*/./; q'`
  2052. +# Avoid depending upon Character Ranges.
  2053. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  2054. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  2055. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  2056. +as_cr_digits='0123456789'
  2057. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  2058. - as_lineno_1=$LINENO
  2059. - as_lineno_2=$LINENO
  2060. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  2061. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  2062. -
  2063. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  2064. - # uniformly replaced by the line number. The first 'sed' inserts a
  2065. - # line-number line after each line using $LINENO; the second 'sed'
  2066. - # does the real work. The second script uses 'N' to pair each
  2067. - # line-number line with the line containing $LINENO, and appends
  2068. - # trailing '-' during substitution so that $LINENO is not a special
  2069. - # case at line end.
  2070. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  2071. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  2072. - # E. McMahon (1931-1989) for sed's syntax. :-)
  2073. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  2074. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  2075. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  2076. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  2077. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  2078. sed -n '
  2079. p
  2080. /[$]LINENO/=
  2081. @@ -471,8 +439,7 @@
  2082. s/-\n.*//
  2083. ' >$as_me.lineno &&
  2084. chmod +x "$as_me.lineno" ||
  2085. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  2086. - { (exit 1); exit 1; }; }
  2087. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  2088. # Don't try to exec as it changes $[0], causing all sort of problems
  2089. # (the dirname of $[0] is not the place where we might find the
  2090. @@ -482,29 +449,18 @@
  2091. exit
  2092. }
  2093. -
  2094. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  2095. - as_dirname=dirname
  2096. -else
  2097. - as_dirname=false
  2098. -fi
  2099. -
  2100. ECHO_C= ECHO_N= ECHO_T=
  2101. -case `echo -n x` in
  2102. +case `echo -n x` in #(((((
  2103. -n*)
  2104. - case `echo 'x\c'` in
  2105. + case `echo 'xy\c'` in
  2106. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  2107. - *) ECHO_C='\c';;
  2108. + xy) ECHO_C='\c';;
  2109. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  2110. + ECHO_T=' ';;
  2111. esac;;
  2112. *)
  2113. ECHO_N='-n';;
  2114. esac
  2115. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  2116. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  2117. - as_expr=expr
  2118. -else
  2119. - as_expr=false
  2120. -fi
  2121. rm -f conf$$ conf$$.exe conf$$.file
  2122. if test -d conf$$.dir; then
  2123. @@ -534,7 +490,7 @@
  2124. rmdir conf$$.dir 2>/dev/null
  2125. if mkdir -p . 2>/dev/null; then
  2126. - as_mkdir_p=:
  2127. + as_mkdir_p='mkdir -p "$as_dir"'
  2128. else
  2129. test -d ./-p && rmdir ./-p
  2130. as_mkdir_p=false
  2131. @@ -553,10 +509,10 @@
  2132. if test -d "$1"; then
  2133. test -d "$1/.";
  2134. else
  2135. - case $1 in
  2136. + case $1 in #(
  2137. -*)set "./$1";;
  2138. esac;
  2139. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  2140. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  2141. ???[sx]*):;;*)false;;esac;fi
  2142. '\'' sh
  2143. '
  2144. @@ -570,8 +526,8 @@
  2145. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  2146. -
  2147. -exec 7<&0 </dev/null 6>&1
  2148. +test -n "$DJDIR" || exec 7<&0 </dev/null
  2149. +exec 6>&1
  2150. # Name of the host.
  2151. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  2152. @@ -589,7 +545,6 @@
  2153. subdirs=
  2154. MFLAGS=
  2155. MAKEFLAGS=
  2156. -SHELL=${CONFIG_SHELL-/bin/sh}
  2157. # Identity of this package.
  2158. PACKAGE_NAME='bogofilter'
  2159. @@ -597,6 +552,7 @@
  2160. PACKAGE_VERSION='1.2.0'
  2161. PACKAGE_STRING='bogofilter 1.2.0'
  2162. PACKAGE_BUGREPORT=''
  2163. +PACKAGE_URL=''
  2164. ac_unique_file="src/bogofilter.c"
  2165. # Factoring default headers for most tests.
  2166. @@ -635,7 +591,10 @@
  2167. # include <unistd.h>
  2168. #endif"
  2169. -ac_subst_vars='LTLIBOBJS
  2170. +ac_header_list=
  2171. +ac_subst_vars='am__EXEEXT_FALSE
  2172. +am__EXEEXT_TRUE
  2173. +LTLIBOBJS
  2174. transformed_bogoutil
  2175. transformed_bogofilter
  2176. NEED_GETOPT_FALSE
  2177. @@ -789,6 +748,7 @@
  2178. program_transform_name
  2179. prefix
  2180. exec_prefix
  2181. +PACKAGE_URL
  2182. PACKAGE_BUGREPORT
  2183. PACKAGE_STRING
  2184. PACKAGE_VERSION
  2185. @@ -940,8 +900,7 @@
  2186. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  2187. # Reject names that are not valid shell variable names.
  2188. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2189. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  2190. - { (exit 1); exit 1; }; }
  2191. + as_fn_error "invalid feature name: $ac_useropt"
  2192. ac_useropt_orig=$ac_useropt
  2193. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2194. case $ac_user_opts in
  2195. @@ -967,8 +926,7 @@
  2196. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  2197. # Reject names that are not valid shell variable names.
  2198. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2199. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  2200. - { (exit 1); exit 1; }; }
  2201. + as_fn_error "invalid feature name: $ac_useropt"
  2202. ac_useropt_orig=$ac_useropt
  2203. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2204. case $ac_user_opts in
  2205. @@ -1172,8 +1130,7 @@
  2206. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  2207. # Reject names that are not valid shell variable names.
  2208. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2209. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  2210. - { (exit 1); exit 1; }; }
  2211. + as_fn_error "invalid package name: $ac_useropt"
  2212. ac_useropt_orig=$ac_useropt
  2213. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2214. case $ac_user_opts in
  2215. @@ -1189,8 +1146,7 @@
  2216. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  2217. # Reject names that are not valid shell variable names.
  2218. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2219. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  2220. - { (exit 1); exit 1; }; }
  2221. + as_fn_error "invalid package name: $ac_useropt"
  2222. ac_useropt_orig=$ac_useropt
  2223. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2224. case $ac_user_opts in
  2225. @@ -1220,17 +1176,17 @@
  2226. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2227. x_libraries=$ac_optarg ;;
  2228. - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  2229. -Try \`$0 --help' for more information." >&2
  2230. - { (exit 1); exit 1; }; }
  2231. + -*) as_fn_error "unrecognized option: \`$ac_option'
  2232. +Try \`$0 --help' for more information."
  2233. ;;
  2234. *=*)
  2235. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  2236. # Reject names that are not valid shell variable names.
  2237. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  2238. - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  2239. - { (exit 1); exit 1; }; }
  2240. + case $ac_envvar in #(
  2241. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  2242. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  2243. + esac
  2244. eval $ac_envvar=\$ac_optarg
  2245. export $ac_envvar ;;
  2246. @@ -1247,15 +1203,13 @@
  2247. if test -n "$ac_prev"; then
  2248. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  2249. - { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  2250. - { (exit 1); exit 1; }; }
  2251. + as_fn_error "missing argument to $ac_option"
  2252. fi
  2253. if test -n "$ac_unrecognized_opts"; then
  2254. case $enable_option_checking in
  2255. no) ;;
  2256. - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
  2257. - { (exit 1); exit 1; }; } ;;
  2258. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  2259. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  2260. esac
  2261. fi
  2262. @@ -1278,8 +1232,7 @@
  2263. [\\/$]* | ?:[\\/]* ) continue;;
  2264. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  2265. esac
  2266. - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  2267. - { (exit 1); exit 1; }; }
  2268. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  2269. done
  2270. # There might be people who depend on the old broken behavior: `$host'
  2271. @@ -1309,11 +1262,9 @@
  2272. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  2273. ac_ls_di=`ls -di .` &&
  2274. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  2275. - { $as_echo "$as_me: error: working directory cannot be determined" >&2
  2276. - { (exit 1); exit 1; }; }
  2277. + as_fn_error "working directory cannot be determined"
  2278. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  2279. - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  2280. - { (exit 1); exit 1; }; }
  2281. + as_fn_error "pwd does not report name of working directory"
  2282. # Find the source files, if location was not specified.
  2283. @@ -1352,13 +1303,11 @@
  2284. fi
  2285. if test ! -r "$srcdir/$ac_unique_file"; then
  2286. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  2287. - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  2288. - { (exit 1); exit 1; }; }
  2289. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  2290. fi
  2291. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  2292. ac_abs_confdir=`(
  2293. - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  2294. - { (exit 1); exit 1; }; }
  2295. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  2296. pwd)`
  2297. # When building in place, set srcdir=.
  2298. if test "$ac_abs_confdir" = "$ac_pwd"; then
  2299. @@ -1471,7 +1420,7 @@
  2300. use specified header name instead of "X-Bogosity"
  2301. --disable-unicode disables Unicode/UTF-8 conversion of character sets
  2302. --disable-rpath do not hardcode runtime library paths
  2303. - --enable-russian switch default character set to CP866 [iso-8859-1]
  2304. + --enable-russian switch default character set to CP866 [[iso-8859-1]]
  2305. --enable-memdebug enable memory usage debugging
  2306. --enable-transactions force transactional mode (disable traditional) in
  2307. Berkeley DB [compile both modes and select at
  2308. @@ -1489,9 +1438,9 @@
  2309. --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
  2310. --without-libiconv-prefix don't search for libiconv in includedir and libdir
  2311. --with-charset=name use specified charset (overrides --enable-russian)
  2312. - [iso-8859-1]
  2313. + [[iso-8859-1]]
  2314. --with-database=ENGINE choose database engine
  2315. - {db|qdbm|sqlite3|tokyocabinet} [db]
  2316. + {db|qdbm|sqlite3|tokyocabinet} [[db]]
  2317. --with-libsqlite3-prefix[=DIR] search for libsqlite3 in DIR/include and DIR/lib
  2318. --without-libsqlite3-prefix don't search for libsqlite3 in includedir and libdir
  2319. --with-libtokyocabinet-prefix[=DIR] search for libtokyocabinet in DIR/include and DIR/lib
  2320. @@ -1510,13 +1459,14 @@
  2321. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2322. nonstandard directory <lib dir>
  2323. LIBS libraries to pass to the linker, e.g. -l<library>
  2324. - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  2325. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2326. you have headers in a nonstandard directory <include dir>
  2327. CPP C preprocessor
  2328. Use these variables to override the choices made by `configure' or to help
  2329. it to find libraries and programs with nonstandard names/locations.
  2330. +Report bugs to the package provider.
  2331. _ACEOF
  2332. ac_status=$?
  2333. fi
  2334. @@ -1580,410 +1530,1006 @@
  2335. if $ac_init_version; then
  2336. cat <<\_ACEOF
  2337. bogofilter configure 1.2.0
  2338. -generated by GNU Autoconf 2.63
  2339. +generated by GNU Autoconf 2.65
  2340. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  2341. -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  2342. +Copyright (C) 2009 Free Software Foundation, Inc.
  2343. This configure script is free software; the Free Software Foundation
  2344. gives unlimited permission to copy, distribute and modify it.
  2345. _ACEOF
  2346. exit
  2347. fi
  2348. -cat >config.log <<_ACEOF
  2349. -This file contains any messages produced by compilers while
  2350. -running configure, to aid debugging if configure makes a mistake.
  2351. -It was created by bogofilter $as_me 1.2.0, which was
  2352. -generated by GNU Autoconf 2.63. Invocation command line was
  2353. +## ------------------------ ##
  2354. +## Autoconf initialization. ##
  2355. +## ------------------------ ##
  2356. +
  2357. +# ac_fn_c_try_compile LINENO
  2358. +# --------------------------
  2359. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  2360. +ac_fn_c_try_compile ()
  2361. +{
  2362. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2363. + rm -f conftest.$ac_objext
  2364. + if { { ac_try="$ac_compile"
  2365. +case "(($ac_try" in
  2366. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2367. + *) ac_try_echo=$ac_try;;
  2368. +esac
  2369. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2370. +$as_echo "$ac_try_echo"; } >&5
  2371. + (eval "$ac_compile") 2>conftest.err
  2372. + ac_status=$?
  2373. + if test -s conftest.err; then
  2374. + grep -v '^ *+' conftest.err >conftest.er1
  2375. + cat conftest.er1 >&5
  2376. + mv -f conftest.er1 conftest.err
  2377. + fi
  2378. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2379. + test $ac_status = 0; } && {
  2380. + test -z "$ac_c_werror_flag" ||
  2381. + test ! -s conftest.err
  2382. + } && test -s conftest.$ac_objext; then :
  2383. + ac_retval=0
  2384. +else
  2385. + $as_echo "$as_me: failed program was:" >&5
  2386. +sed 's/^/| /' conftest.$ac_ext >&5
  2387. - $ $0 $@
  2388. + ac_retval=1
  2389. +fi
  2390. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2391. + as_fn_set_status $ac_retval
  2392. -_ACEOF
  2393. -exec 5>>config.log
  2394. +} # ac_fn_c_try_compile
  2395. +
  2396. +# ac_fn_c_try_link LINENO
  2397. +# -----------------------
  2398. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  2399. +ac_fn_c_try_link ()
  2400. {
  2401. -cat <<_ASUNAME
  2402. -## --------- ##
  2403. -## Platform. ##
  2404. -## --------- ##
  2405. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2406. + rm -f conftest.$ac_objext conftest$ac_exeext
  2407. + if { { ac_try="$ac_link"
  2408. +case "(($ac_try" in
  2409. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2410. + *) ac_try_echo=$ac_try;;
  2411. +esac
  2412. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2413. +$as_echo "$ac_try_echo"; } >&5
  2414. + (eval "$ac_link") 2>conftest.err
  2415. + ac_status=$?
  2416. + if test -s conftest.err; then
  2417. + grep -v '^ *+' conftest.err >conftest.er1
  2418. + cat conftest.er1 >&5
  2419. + mv -f conftest.er1 conftest.err
  2420. + fi
  2421. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2422. + test $ac_status = 0; } && {
  2423. + test -z "$ac_c_werror_flag" ||
  2424. + test ! -s conftest.err
  2425. + } && test -s conftest$ac_exeext && {
  2426. + test "$cross_compiling" = yes ||
  2427. + $as_test_x conftest$ac_exeext
  2428. + }; then :
  2429. + ac_retval=0
  2430. +else
  2431. + $as_echo "$as_me: failed program was:" >&5
  2432. +sed 's/^/| /' conftest.$ac_ext >&5
  2433. -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2434. -uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2435. -uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2436. -uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2437. -uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2438. + ac_retval=1
  2439. +fi
  2440. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2441. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2442. + # interfere with the next link command; also delete a directory that is
  2443. + # left behind by Apple's compiler. We do this before executing the actions.
  2444. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2445. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2446. + as_fn_set_status $ac_retval
  2447. -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2448. -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2449. +} # ac_fn_c_try_link
  2450. -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2451. -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2452. -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2453. -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2454. -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2455. -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2456. -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2457. +# ac_fn_c_check_decl LINENO SYMBOL VAR
  2458. +# ------------------------------------
  2459. +# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
  2460. +ac_fn_c_check_decl ()
  2461. +{
  2462. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2463. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
  2464. +$as_echo_n "checking whether $2 is declared... " >&6; }
  2465. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2466. + $as_echo_n "(cached) " >&6
  2467. +else
  2468. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2469. +/* end confdefs.h. */
  2470. +$4
  2471. +int
  2472. +main ()
  2473. +{
  2474. +#ifndef $2
  2475. + (void) $2;
  2476. +#endif
  2477. -_ASUNAME
  2478. + ;
  2479. + return 0;
  2480. +}
  2481. +_ACEOF
  2482. +if ac_fn_c_try_compile "$LINENO"; then :
  2483. + eval "$3=yes"
  2484. +else
  2485. + eval "$3=no"
  2486. +fi
  2487. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2488. +fi
  2489. +eval ac_res=\$$3
  2490. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2491. +$as_echo "$ac_res" >&6; }
  2492. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2493. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2494. -for as_dir in $PATH
  2495. -do
  2496. - IFS=$as_save_IFS
  2497. - test -z "$as_dir" && as_dir=.
  2498. - $as_echo "PATH: $as_dir"
  2499. -done
  2500. -IFS=$as_save_IFS
  2501. +} # ac_fn_c_check_decl
  2502. -} >&5
  2503. +# ac_fn_c_try_cpp LINENO
  2504. +# ----------------------
  2505. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2506. +ac_fn_c_try_cpp ()
  2507. +{
  2508. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2509. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  2510. +case "(($ac_try" in
  2511. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2512. + *) ac_try_echo=$ac_try;;
  2513. +esac
  2514. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2515. +$as_echo "$ac_try_echo"; } >&5
  2516. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2517. + ac_status=$?
  2518. + if test -s conftest.err; then
  2519. + grep -v '^ *+' conftest.err >conftest.er1
  2520. + cat conftest.er1 >&5
  2521. + mv -f conftest.er1 conftest.err
  2522. + fi
  2523. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2524. + test $ac_status = 0; } >/dev/null && {
  2525. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2526. + test ! -s conftest.err
  2527. + }; then :
  2528. + ac_retval=0
  2529. +else
  2530. + $as_echo "$as_me: failed program was:" >&5
  2531. +sed 's/^/| /' conftest.$ac_ext >&5
  2532. -cat >&5 <<_ACEOF
  2533. + ac_retval=1
  2534. +fi
  2535. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2536. + as_fn_set_status $ac_retval
  2537. +} # ac_fn_c_try_cpp
  2538. -## ----------- ##
  2539. -## Core tests. ##
  2540. -## ----------- ##
  2541. +# ac_fn_c_try_run LINENO
  2542. +# ----------------------
  2543. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  2544. +# that executables *can* be run.
  2545. +ac_fn_c_try_run ()
  2546. +{
  2547. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2548. + if { { ac_try="$ac_link"
  2549. +case "(($ac_try" in
  2550. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2551. + *) ac_try_echo=$ac_try;;
  2552. +esac
  2553. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2554. +$as_echo "$ac_try_echo"; } >&5
  2555. + (eval "$ac_link") 2>&5
  2556. + ac_status=$?
  2557. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2558. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2559. + { { case "(($ac_try" in
  2560. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2561. + *) ac_try_echo=$ac_try;;
  2562. +esac
  2563. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2564. +$as_echo "$ac_try_echo"; } >&5
  2565. + (eval "$ac_try") 2>&5
  2566. + ac_status=$?
  2567. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2568. + test $ac_status = 0; }; }; then :
  2569. + ac_retval=0
  2570. +else
  2571. + $as_echo "$as_me: program exited with status $ac_status" >&5
  2572. + $as_echo "$as_me: failed program was:" >&5
  2573. +sed 's/^/| /' conftest.$ac_ext >&5
  2574. + ac_retval=$ac_status
  2575. +fi
  2576. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2577. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2578. + as_fn_set_status $ac_retval
  2579. +
  2580. +} # ac_fn_c_try_run
  2581. +
  2582. +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2583. +# -------------------------------------------
  2584. +# Tests whether TYPE exists after having included INCLUDES, setting cache
  2585. +# variable VAR accordingly.
  2586. +ac_fn_c_check_type ()
  2587. +{
  2588. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2589. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2590. +$as_echo_n "checking for $2... " >&6; }
  2591. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2592. + $as_echo_n "(cached) " >&6
  2593. +else
  2594. + eval "$3=no"
  2595. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2596. +/* end confdefs.h. */
  2597. +$4
  2598. +int
  2599. +main ()
  2600. +{
  2601. +if (sizeof ($2))
  2602. + return 0;
  2603. + ;
  2604. + return 0;
  2605. +}
  2606. +_ACEOF
  2607. +if ac_fn_c_try_compile "$LINENO"; then :
  2608. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2609. +/* end confdefs.h. */
  2610. +$4
  2611. +int
  2612. +main ()
  2613. +{
  2614. +if (sizeof (($2)))
  2615. + return 0;
  2616. + ;
  2617. + return 0;
  2618. +}
  2619. _ACEOF
  2620. +if ac_fn_c_try_compile "$LINENO"; then :
  2621. +else
  2622. + eval "$3=yes"
  2623. +fi
  2624. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2625. +fi
  2626. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2627. +fi
  2628. +eval ac_res=\$$3
  2629. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2630. +$as_echo "$ac_res" >&6; }
  2631. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2632. -# Keep a trace of the command line.
  2633. -# Strip out --no-create and --no-recursion so they do not pile up.
  2634. -# Strip out --silent because we don't want to record it for future runs.
  2635. -# Also quote any args containing shell meta-characters.
  2636. -# Make two passes to allow for proper duplicate-argument suppression.
  2637. -ac_configure_args=
  2638. -ac_configure_args0=
  2639. -ac_configure_args1=
  2640. -ac_must_keep_next=false
  2641. -for ac_pass in 1 2
  2642. -do
  2643. - for ac_arg
  2644. - do
  2645. - case $ac_arg in
  2646. - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2647. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2648. - | -silent | --silent | --silen | --sile | --sil)
  2649. - continue ;;
  2650. - *\'*)
  2651. - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2652. - esac
  2653. - case $ac_pass in
  2654. - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  2655. - 2)
  2656. - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  2657. - if test $ac_must_keep_next = true; then
  2658. - ac_must_keep_next=false # Got value, back to normal.
  2659. - else
  2660. - case $ac_arg in
  2661. - *=* | --config-cache | -C | -disable-* | --disable-* \
  2662. - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2663. - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2664. - | -with-* | --with-* | -without-* | --without-* | --x)
  2665. - case "$ac_configure_args0 " in
  2666. - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2667. - esac
  2668. - ;;
  2669. - -* ) ac_must_keep_next=true ;;
  2670. - esac
  2671. - fi
  2672. - ac_configure_args="$ac_configure_args '$ac_arg'"
  2673. - ;;
  2674. - esac
  2675. - done
  2676. -done
  2677. -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  2678. -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  2679. +} # ac_fn_c_check_type
  2680. -# When interrupted or exit'd, cleanup temporary files, and complete
  2681. -# config.log. We remove comments because anyway the quotes in there
  2682. -# would cause problems or look ugly.
  2683. -# WARNING: Use '\'' to represent an apostrophe within the trap.
  2684. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2685. -trap 'exit_status=$?
  2686. - # Save into config.log some information that might help in debugging.
  2687. - {
  2688. - echo
  2689. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2690. +# -------------------------------------------------------
  2691. +# Tests whether HEADER exists and can be compiled using the include files in
  2692. +# INCLUDES, setting the cache variable VAR accordingly.
  2693. +ac_fn_c_check_header_compile ()
  2694. +{
  2695. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2696. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2697. +$as_echo_n "checking for $2... " >&6; }
  2698. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2699. + $as_echo_n "(cached) " >&6
  2700. +else
  2701. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2702. +/* end confdefs.h. */
  2703. +$4
  2704. +#include <$2>
  2705. +_ACEOF
  2706. +if ac_fn_c_try_compile "$LINENO"; then :
  2707. + eval "$3=yes"
  2708. +else
  2709. + eval "$3=no"
  2710. +fi
  2711. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2712. +fi
  2713. +eval ac_res=\$$3
  2714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2715. +$as_echo "$ac_res" >&6; }
  2716. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2717. - cat <<\_ASBOX
  2718. -## ---------------- ##
  2719. -## Cache variables. ##
  2720. -## ---------------- ##
  2721. -_ASBOX
  2722. - echo
  2723. - # The following way of writing the cache mishandles newlines in values,
  2724. -(
  2725. - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2726. - eval ac_val=\$$ac_var
  2727. - case $ac_val in #(
  2728. - *${as_nl}*)
  2729. - case $ac_var in #(
  2730. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  2731. -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2732. - esac
  2733. - case $ac_var in #(
  2734. - _ | IFS | as_nl) ;; #(
  2735. - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2736. - *) $as_unset $ac_var ;;
  2737. - esac ;;
  2738. - esac
  2739. - done
  2740. - (set) 2>&1 |
  2741. - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2742. - *${as_nl}ac_space=\ *)
  2743. - sed -n \
  2744. - "s/'\''/'\''\\\\'\'''\''/g;
  2745. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2746. - ;; #(
  2747. - *)
  2748. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2749. - ;;
  2750. - esac |
  2751. - sort
  2752. -)
  2753. - echo
  2754. +} # ac_fn_c_check_header_compile
  2755. - cat <<\_ASBOX
  2756. -## ----------------- ##
  2757. -## Output variables. ##
  2758. -## ----------------- ##
  2759. -_ASBOX
  2760. - echo
  2761. - for ac_var in $ac_subst_vars
  2762. - do
  2763. - eval ac_val=\$$ac_var
  2764. - case $ac_val in
  2765. - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2766. - esac
  2767. - $as_echo "$ac_var='\''$ac_val'\''"
  2768. - done | sort
  2769. - echo
  2770. +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2771. +# -------------------------------------------------------
  2772. +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2773. +# the include files in INCLUDES and setting the cache variable VAR
  2774. +# accordingly.
  2775. +ac_fn_c_check_header_mongrel ()
  2776. +{
  2777. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2778. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2779. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2780. +$as_echo_n "checking for $2... " >&6; }
  2781. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2782. + $as_echo_n "(cached) " >&6
  2783. +fi
  2784. +eval ac_res=\$$3
  2785. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2786. +$as_echo "$ac_res" >&6; }
  2787. +else
  2788. + # Is the header compilable?
  2789. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2790. +$as_echo_n "checking $2 usability... " >&6; }
  2791. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2792. +/* end confdefs.h. */
  2793. +$4
  2794. +#include <$2>
  2795. +_ACEOF
  2796. +if ac_fn_c_try_compile "$LINENO"; then :
  2797. + ac_header_compiler=yes
  2798. +else
  2799. + ac_header_compiler=no
  2800. +fi
  2801. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2802. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2803. +$as_echo "$ac_header_compiler" >&6; }
  2804. - if test -n "$ac_subst_files"; then
  2805. - cat <<\_ASBOX
  2806. -## ------------------- ##
  2807. -## File substitutions. ##
  2808. -## ------------------- ##
  2809. -_ASBOX
  2810. - echo
  2811. - for ac_var in $ac_subst_files
  2812. - do
  2813. - eval ac_val=\$$ac_var
  2814. - case $ac_val in
  2815. - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2816. - esac
  2817. - $as_echo "$ac_var='\''$ac_val'\''"
  2818. - done | sort
  2819. - echo
  2820. - fi
  2821. +# Is the header present?
  2822. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2823. +$as_echo_n "checking $2 presence... " >&6; }
  2824. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2825. +/* end confdefs.h. */
  2826. +#include <$2>
  2827. +_ACEOF
  2828. +if ac_fn_c_try_cpp "$LINENO"; then :
  2829. + ac_header_preproc=yes
  2830. +else
  2831. + ac_header_preproc=no
  2832. +fi
  2833. +rm -f conftest.err conftest.$ac_ext
  2834. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2835. +$as_echo "$ac_header_preproc" >&6; }
  2836. - if test -s confdefs.h; then
  2837. - cat <<\_ASBOX
  2838. -## ----------- ##
  2839. -## confdefs.h. ##
  2840. -## ----------- ##
  2841. -_ASBOX
  2842. - echo
  2843. - cat confdefs.h
  2844. - echo
  2845. - fi
  2846. - test "$ac_signal" != 0 &&
  2847. - $as_echo "$as_me: caught signal $ac_signal"
  2848. - $as_echo "$as_me: exit $exit_status"
  2849. - } >&5
  2850. - rm -f core *.core core.conftest.* &&
  2851. - rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2852. - exit $exit_status
  2853. -' 0
  2854. -for ac_signal in 1 2 13 15; do
  2855. - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  2856. -done
  2857. -ac_signal=0
  2858. +# So? What about this header?
  2859. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2860. + yes:no: )
  2861. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2862. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2863. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2864. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2865. + ;;
  2866. + no:yes:* )
  2867. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2868. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2869. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2870. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2871. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2872. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2873. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2874. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2875. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2876. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2877. + ;;
  2878. +esac
  2879. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2880. +$as_echo_n "checking for $2... " >&6; }
  2881. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2882. + $as_echo_n "(cached) " >&6
  2883. +else
  2884. + eval "$3=\$ac_header_compiler"
  2885. +fi
  2886. +eval ac_res=\$$3
  2887. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2888. +$as_echo "$ac_res" >&6; }
  2889. +fi
  2890. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2891. -# confdefs.h avoids OS command line length limits that DEFS can exceed.
  2892. -rm -f -r conftest* confdefs.h
  2893. +} # ac_fn_c_check_header_mongrel
  2894. -# Predefined preprocessor variables.
  2895. +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  2896. +# --------------------------------------------
  2897. +# Tries to find the compile-time value of EXPR in a program that includes
  2898. +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  2899. +# computed
  2900. +ac_fn_c_compute_int ()
  2901. +{
  2902. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2903. + if test "$cross_compiling" = yes; then
  2904. + # Depending upon the size, compute the lo and hi bounds.
  2905. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2906. +/* end confdefs.h. */
  2907. +$4
  2908. +int
  2909. +main ()
  2910. +{
  2911. +static int test_array [1 - 2 * !(($2) >= 0)];
  2912. +test_array [0] = 0
  2913. -cat >>confdefs.h <<_ACEOF
  2914. -#define PACKAGE_NAME "$PACKAGE_NAME"
  2915. + ;
  2916. + return 0;
  2917. +}
  2918. _ACEOF
  2919. +if ac_fn_c_try_compile "$LINENO"; then :
  2920. + ac_lo=0 ac_mid=0
  2921. + while :; do
  2922. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2923. +/* end confdefs.h. */
  2924. +$4
  2925. +int
  2926. +main ()
  2927. +{
  2928. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2929. +test_array [0] = 0
  2930. -
  2931. -cat >>confdefs.h <<_ACEOF
  2932. -#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2933. + ;
  2934. + return 0;
  2935. +}
  2936. _ACEOF
  2937. +if ac_fn_c_try_compile "$LINENO"; then :
  2938. + ac_hi=$ac_mid; break
  2939. +else
  2940. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  2941. + if test $ac_lo -le $ac_mid; then
  2942. + ac_lo= ac_hi=
  2943. + break
  2944. + fi
  2945. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  2946. +fi
  2947. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2948. + done
  2949. +else
  2950. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2951. +/* end confdefs.h. */
  2952. +$4
  2953. +int
  2954. +main ()
  2955. +{
  2956. +static int test_array [1 - 2 * !(($2) < 0)];
  2957. +test_array [0] = 0
  2958. -
  2959. -cat >>confdefs.h <<_ACEOF
  2960. -#define PACKAGE_VERSION "$PACKAGE_VERSION"
  2961. + ;
  2962. + return 0;
  2963. +}
  2964. _ACEOF
  2965. +if ac_fn_c_try_compile "$LINENO"; then :
  2966. + ac_hi=-1 ac_mid=-1
  2967. + while :; do
  2968. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2969. +/* end confdefs.h. */
  2970. +$4
  2971. +int
  2972. +main ()
  2973. +{
  2974. +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  2975. +test_array [0] = 0
  2976. -
  2977. -cat >>confdefs.h <<_ACEOF
  2978. -#define PACKAGE_STRING "$PACKAGE_STRING"
  2979. + ;
  2980. + return 0;
  2981. +}
  2982. _ACEOF
  2983. +if ac_fn_c_try_compile "$LINENO"; then :
  2984. + ac_lo=$ac_mid; break
  2985. +else
  2986. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  2987. + if test $ac_mid -le $ac_hi; then
  2988. + ac_lo= ac_hi=
  2989. + break
  2990. + fi
  2991. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  2992. +fi
  2993. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2994. + done
  2995. +else
  2996. + ac_lo= ac_hi=
  2997. +fi
  2998. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2999. +fi
  3000. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3001. +# Binary search between lo and hi bounds.
  3002. +while test "x$ac_lo" != "x$ac_hi"; do
  3003. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  3004. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3005. +/* end confdefs.h. */
  3006. +$4
  3007. +int
  3008. +main ()
  3009. +{
  3010. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  3011. +test_array [0] = 0
  3012. -
  3013. -cat >>confdefs.h <<_ACEOF
  3014. -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3015. + ;
  3016. + return 0;
  3017. +}
  3018. _ACEOF
  3019. +if ac_fn_c_try_compile "$LINENO"; then :
  3020. + ac_hi=$ac_mid
  3021. +else
  3022. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  3023. +fi
  3024. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3025. +done
  3026. +case $ac_lo in #((
  3027. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  3028. +'') ac_retval=1 ;;
  3029. +esac
  3030. + else
  3031. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3032. +/* end confdefs.h. */
  3033. +$4
  3034. +static long int longval () { return $2; }
  3035. +static unsigned long int ulongval () { return $2; }
  3036. +#include <stdio.h>
  3037. +#include <stdlib.h>
  3038. +int
  3039. +main ()
  3040. +{
  3041. + FILE *f = fopen ("conftest.val", "w");
  3042. + if (! f)
  3043. + return 1;
  3044. + if (($2) < 0)
  3045. + {
  3046. + long int i = longval ();
  3047. + if (i != ($2))
  3048. + return 1;
  3049. + fprintf (f, "%ld", i);
  3050. + }
  3051. + else
  3052. + {
  3053. + unsigned long int i = ulongval ();
  3054. + if (i != ($2))
  3055. + return 1;
  3056. + fprintf (f, "%lu", i);
  3057. + }
  3058. + /* Do not output a trailing newline, as this causes \r\n confusion
  3059. + on some platforms. */
  3060. + return ferror (f) || fclose (f) != 0;
  3061. -# Let the site file select an alternate cache file if it wants to.
  3062. -# Prefer an explicitly selected file to automatically selected ones.
  3063. -ac_site_file1=NONE
  3064. -ac_site_file2=NONE
  3065. -if test -n "$CONFIG_SITE"; then
  3066. - ac_site_file1=$CONFIG_SITE
  3067. -elif test "x$prefix" != xNONE; then
  3068. - ac_site_file1=$prefix/share/config.site
  3069. - ac_site_file2=$prefix/etc/config.site
  3070. + ;
  3071. + return 0;
  3072. +}
  3073. +_ACEOF
  3074. +if ac_fn_c_try_run "$LINENO"; then :
  3075. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  3076. else
  3077. - ac_site_file1=$ac_default_prefix/share/config.site
  3078. - ac_site_file2=$ac_default_prefix/etc/config.site
  3079. + ac_retval=1
  3080. fi
  3081. -for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3082. -do
  3083. - test "x$ac_site_file" = xNONE && continue
  3084. - if test -r "$ac_site_file"; then
  3085. - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  3086. -$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3087. - sed 's/^/| /' "$ac_site_file" >&5
  3088. - . "$ac_site_file"
  3089. - fi
  3090. -done
  3091. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3092. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  3093. +rm -f conftest.val
  3094. -if test -r "$cache_file"; then
  3095. - # Some versions of bash will fail to source /dev/null (special
  3096. - # files actually), so we avoid doing that.
  3097. - if test -f "$cache_file"; then
  3098. - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  3099. -$as_echo "$as_me: loading cache $cache_file" >&6;}
  3100. - case $cache_file in
  3101. - [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3102. - *) . "./$cache_file";;
  3103. - esac
  3104. fi
  3105. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  3106. + as_fn_set_status $ac_retval
  3107. +
  3108. +} # ac_fn_c_compute_int
  3109. +
  3110. +# ac_fn_c_check_func LINENO FUNC VAR
  3111. +# ----------------------------------
  3112. +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  3113. +ac_fn_c_check_func ()
  3114. +{
  3115. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3116. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3117. +$as_echo_n "checking for $2... " >&6; }
  3118. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  3119. + $as_echo_n "(cached) " >&6
  3120. else
  3121. - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  3122. -$as_echo "$as_me: creating cache $cache_file" >&6;}
  3123. - >$cache_file
  3124. -fi
  3125. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3126. +/* end confdefs.h. */
  3127. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  3128. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3129. +#define $2 innocuous_$2
  3130. -# Check that the precious variables saved in the cache have kept the same
  3131. -# value.
  3132. -ac_cache_corrupted=false
  3133. -for ac_var in $ac_precious_vars; do
  3134. - eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3135. - eval ac_new_set=\$ac_env_${ac_var}_set
  3136. - eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3137. - eval ac_new_val=\$ac_env_${ac_var}_value
  3138. - case $ac_old_set,$ac_new_set in
  3139. - set,)
  3140. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3141. -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3142. - ac_cache_corrupted=: ;;
  3143. - ,set)
  3144. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  3145. -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3146. - ac_cache_corrupted=: ;;
  3147. - ,);;
  3148. - *)
  3149. - if test "x$ac_old_val" != "x$ac_new_val"; then
  3150. - # differences in whitespace do not lead to failure.
  3151. - ac_old_val_w=`echo x $ac_old_val`
  3152. - ac_new_val_w=`echo x $ac_new_val`
  3153. - if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3154. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  3155. -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3156. - ac_cache_corrupted=:
  3157. - else
  3158. - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3159. -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3160. - eval $ac_var=\$ac_old_val
  3161. - fi
  3162. - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
  3163. -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3164. - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
  3165. -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3166. - fi;;
  3167. - esac
  3168. - # Pass precious variables to config.status.
  3169. - if test "$ac_new_set" = set; then
  3170. - case $ac_new_val in
  3171. - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3172. - *) ac_arg=$ac_var=$ac_new_val ;;
  3173. - esac
  3174. - case " $ac_configure_args " in
  3175. - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3176. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  3177. - esac
  3178. - fi
  3179. -done
  3180. -if $ac_cache_corrupted; then
  3181. - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3182. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3183. - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  3184. -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3185. - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  3186. -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  3187. - { (exit 1); exit 1; }; }
  3188. -fi
  3189. +/* System header to define __stub macros and hopefully few prototypes,
  3190. + which can conflict with char $2 (); below.
  3191. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3192. + <limits.h> exists even on freestanding compilers. */
  3193. +#ifdef __STDC__
  3194. +# include <limits.h>
  3195. +#else
  3196. +# include <assert.h>
  3197. +#endif
  3198. +#undef $2
  3199. +/* Override any GCC internal prototype to avoid an error.
  3200. + Use char because int might match the return type of a GCC
  3201. + builtin and then its argument prototype would still apply. */
  3202. +#ifdef __cplusplus
  3203. +extern "C"
  3204. +#endif
  3205. +char $2 ();
  3206. +/* The GNU C library defines this for functions which it implements
  3207. + to always fail with ENOSYS. Some functions are actually named
  3208. + something starting with __ and the normal name is an alias. */
  3209. +#if defined __stub_$2 || defined __stub___$2
  3210. +choke me
  3211. +#endif
  3212. +int
  3213. +main ()
  3214. +{
  3215. +return $2 ();
  3216. + ;
  3217. + return 0;
  3218. +}
  3219. +_ACEOF
  3220. +if ac_fn_c_try_link "$LINENO"; then :
  3221. + eval "$3=yes"
  3222. +else
  3223. + eval "$3=no"
  3224. +fi
  3225. +rm -f core conftest.err conftest.$ac_objext \
  3226. + conftest$ac_exeext conftest.$ac_ext
  3227. +fi
  3228. +eval ac_res=\$$3
  3229. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3230. +$as_echo "$ac_res" >&6; }
  3231. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  3232. +} # ac_fn_c_check_func
  3233. +cat >config.log <<_ACEOF
  3234. +This file contains any messages produced by compilers while
  3235. +running configure, to aid debugging if configure makes a mistake.
  3236. +It was created by bogofilter $as_me 1.2.0, which was
  3237. +generated by GNU Autoconf 2.65. Invocation command line was
  3238. + $ $0 $@
  3239. +_ACEOF
  3240. +exec 5>>config.log
  3241. +{
  3242. +cat <<_ASUNAME
  3243. +## --------- ##
  3244. +## Platform. ##
  3245. +## --------- ##
  3246. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3247. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3248. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3249. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3250. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3251. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3252. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3253. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3254. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3255. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3256. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  3257. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3258. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3259. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3260. +_ASUNAME
  3261. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3262. +for as_dir in $PATH
  3263. +do
  3264. + IFS=$as_save_IFS
  3265. + test -z "$as_dir" && as_dir=.
  3266. + $as_echo "PATH: $as_dir"
  3267. + done
  3268. +IFS=$as_save_IFS
  3269. +} >&5
  3270. +cat >&5 <<_ACEOF
  3271. +## ----------- ##
  3272. +## Core tests. ##
  3273. +## ----------- ##
  3274. +_ACEOF
  3275. +# Keep a trace of the command line.
  3276. +# Strip out --no-create and --no-recursion so they do not pile up.
  3277. +# Strip out --silent because we don't want to record it for future runs.
  3278. +# Also quote any args containing shell meta-characters.
  3279. +# Make two passes to allow for proper duplicate-argument suppression.
  3280. +ac_configure_args=
  3281. +ac_configure_args0=
  3282. +ac_configure_args1=
  3283. +ac_must_keep_next=false
  3284. +for ac_pass in 1 2
  3285. +do
  3286. + for ac_arg
  3287. + do
  3288. + case $ac_arg in
  3289. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3290. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3291. + | -silent | --silent | --silen | --sile | --sil)
  3292. + continue ;;
  3293. + *\'*)
  3294. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3295. + esac
  3296. + case $ac_pass in
  3297. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3298. + 2)
  3299. + as_fn_append ac_configure_args1 " '$ac_arg'"
  3300. + if test $ac_must_keep_next = true; then
  3301. + ac_must_keep_next=false # Got value, back to normal.
  3302. + else
  3303. + case $ac_arg in
  3304. + *=* | --config-cache | -C | -disable-* | --disable-* \
  3305. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3306. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3307. + | -with-* | --with-* | -without-* | --without-* | --x)
  3308. + case "$ac_configure_args0 " in
  3309. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3310. + esac
  3311. + ;;
  3312. + -* ) ac_must_keep_next=true ;;
  3313. + esac
  3314. + fi
  3315. + as_fn_append ac_configure_args " '$ac_arg'"
  3316. + ;;
  3317. + esac
  3318. + done
  3319. +done
  3320. +{ ac_configure_args0=; unset ac_configure_args0;}
  3321. +{ ac_configure_args1=; unset ac_configure_args1;}
  3322. +# When interrupted or exit'd, cleanup temporary files, and complete
  3323. +# config.log. We remove comments because anyway the quotes in there
  3324. +# would cause problems or look ugly.
  3325. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  3326. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3327. +trap 'exit_status=$?
  3328. + # Save into config.log some information that might help in debugging.
  3329. + {
  3330. + echo
  3331. + cat <<\_ASBOX
  3332. +## ---------------- ##
  3333. +## Cache variables. ##
  3334. +## ---------------- ##
  3335. +_ASBOX
  3336. + echo
  3337. + # The following way of writing the cache mishandles newlines in values,
  3338. +(
  3339. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3340. + eval ac_val=\$$ac_var
  3341. + case $ac_val in #(
  3342. + *${as_nl}*)
  3343. + case $ac_var in #(
  3344. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3345. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3346. + esac
  3347. + case $ac_var in #(
  3348. + _ | IFS | as_nl) ;; #(
  3349. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3350. + *) { eval $ac_var=; unset $ac_var;} ;;
  3351. + esac ;;
  3352. + esac
  3353. + done
  3354. + (set) 2>&1 |
  3355. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3356. + *${as_nl}ac_space=\ *)
  3357. + sed -n \
  3358. + "s/'\''/'\''\\\\'\'''\''/g;
  3359. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3360. + ;; #(
  3361. + *)
  3362. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3363. + ;;
  3364. + esac |
  3365. + sort
  3366. +)
  3367. + echo
  3368. + cat <<\_ASBOX
  3369. +## ----------------- ##
  3370. +## Output variables. ##
  3371. +## ----------------- ##
  3372. +_ASBOX
  3373. + echo
  3374. + for ac_var in $ac_subst_vars
  3375. + do
  3376. + eval ac_val=\$$ac_var
  3377. + case $ac_val in
  3378. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3379. + esac
  3380. + $as_echo "$ac_var='\''$ac_val'\''"
  3381. + done | sort
  3382. + echo
  3383. + if test -n "$ac_subst_files"; then
  3384. + cat <<\_ASBOX
  3385. +## ------------------- ##
  3386. +## File substitutions. ##
  3387. +## ------------------- ##
  3388. +_ASBOX
  3389. + echo
  3390. + for ac_var in $ac_subst_files
  3391. + do
  3392. + eval ac_val=\$$ac_var
  3393. + case $ac_val in
  3394. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3395. + esac
  3396. + $as_echo "$ac_var='\''$ac_val'\''"
  3397. + done | sort
  3398. + echo
  3399. + fi
  3400. -ac_ext=c
  3401. -ac_cpp='$CPP $CPPFLAGS'
  3402. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3403. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3404. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3405. + if test -s confdefs.h; then
  3406. + cat <<\_ASBOX
  3407. +## ----------- ##
  3408. +## confdefs.h. ##
  3409. +## ----------- ##
  3410. +_ASBOX
  3411. + echo
  3412. + cat confdefs.h
  3413. + echo
  3414. + fi
  3415. + test "$ac_signal" != 0 &&
  3416. + $as_echo "$as_me: caught signal $ac_signal"
  3417. + $as_echo "$as_me: exit $exit_status"
  3418. + } >&5
  3419. + rm -f core *.core core.conftest.* &&
  3420. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3421. + exit $exit_status
  3422. +' 0
  3423. +for ac_signal in 1 2 13 15; do
  3424. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3425. +done
  3426. +ac_signal=0
  3427. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  3428. +rm -f -r conftest* confdefs.h
  3429. +$as_echo "/* confdefs.h */" > confdefs.h
  3430. +# Predefined preprocessor variables.
  3431. +
  3432. +cat >>confdefs.h <<_ACEOF
  3433. +#define PACKAGE_NAME "$PACKAGE_NAME"
  3434. +_ACEOF
  3435. +
  3436. +cat >>confdefs.h <<_ACEOF
  3437. +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3438. +_ACEOF
  3439. +
  3440. +cat >>confdefs.h <<_ACEOF
  3441. +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  3442. +_ACEOF
  3443. +
  3444. +cat >>confdefs.h <<_ACEOF
  3445. +#define PACKAGE_STRING "$PACKAGE_STRING"
  3446. +_ACEOF
  3447. +
  3448. +cat >>confdefs.h <<_ACEOF
  3449. +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3450. +_ACEOF
  3451. +
  3452. +cat >>confdefs.h <<_ACEOF
  3453. +#define PACKAGE_URL "$PACKAGE_URL"
  3454. +_ACEOF
  3455. +
  3456. +
  3457. +# Let the site file select an alternate cache file if it wants to.
  3458. +# Prefer an explicitly selected file to automatically selected ones.
  3459. +ac_site_file1=NONE
  3460. +ac_site_file2=NONE
  3461. +if test -n "$CONFIG_SITE"; then
  3462. + ac_site_file1=$CONFIG_SITE
  3463. +elif test "x$prefix" != xNONE; then
  3464. + ac_site_file1=$prefix/share/config.site
  3465. + ac_site_file2=$prefix/etc/config.site
  3466. +else
  3467. + ac_site_file1=$ac_default_prefix/share/config.site
  3468. + ac_site_file2=$ac_default_prefix/etc/config.site
  3469. +fi
  3470. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3471. +do
  3472. + test "x$ac_site_file" = xNONE && continue
  3473. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3474. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3475. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3476. + sed 's/^/| /' "$ac_site_file" >&5
  3477. + . "$ac_site_file"
  3478. + fi
  3479. +done
  3480. +
  3481. +if test -r "$cache_file"; then
  3482. + # Some versions of bash will fail to source /dev/null (special files
  3483. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3484. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3485. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3486. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  3487. + case $cache_file in
  3488. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3489. + *) . "./$cache_file";;
  3490. + esac
  3491. + fi
  3492. +else
  3493. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3494. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  3495. + >$cache_file
  3496. +fi
  3497. +
  3498. +as_fn_append ac_header_list " stdlib.h"
  3499. +as_fn_append ac_header_list " unistd.h"
  3500. +as_fn_append ac_header_list " sys/param.h"
  3501. +# Check that the precious variables saved in the cache have kept the same
  3502. +# value.
  3503. +ac_cache_corrupted=false
  3504. +for ac_var in $ac_precious_vars; do
  3505. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3506. + eval ac_new_set=\$ac_env_${ac_var}_set
  3507. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3508. + eval ac_new_val=\$ac_env_${ac_var}_value
  3509. + case $ac_old_set,$ac_new_set in
  3510. + set,)
  3511. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3512. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3513. + ac_cache_corrupted=: ;;
  3514. + ,set)
  3515. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3516. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3517. + ac_cache_corrupted=: ;;
  3518. + ,);;
  3519. + *)
  3520. + if test "x$ac_old_val" != "x$ac_new_val"; then
  3521. + # differences in whitespace do not lead to failure.
  3522. + ac_old_val_w=`echo x $ac_old_val`
  3523. + ac_new_val_w=`echo x $ac_new_val`
  3524. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3525. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3526. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3527. + ac_cache_corrupted=:
  3528. + else
  3529. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3530. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3531. + eval $ac_var=\$ac_old_val
  3532. + fi
  3533. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3534. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3535. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3536. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3537. + fi;;
  3538. + esac
  3539. + # Pass precious variables to config.status.
  3540. + if test "$ac_new_set" = set; then
  3541. + case $ac_new_val in
  3542. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3543. + *) ac_arg=$ac_var=$ac_new_val ;;
  3544. + esac
  3545. + case " $ac_configure_args " in
  3546. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3547. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3548. + esac
  3549. + fi
  3550. +done
  3551. +if $ac_cache_corrupted; then
  3552. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3553. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3554. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3555. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3556. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3557. +fi
  3558. +## -------------------- ##
  3559. +## Main body of script. ##
  3560. +## -------------------- ##
  3561. +
  3562. +ac_ext=c
  3563. +ac_cpp='$CPP $CPPFLAGS'
  3564. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3565. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3566. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3567. -ac_aux_dir=
  3568. -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  3569. - if test -f "$ac_dir/install-sh"; then
  3570. - ac_aux_dir=$ac_dir
  3571. - ac_install_sh="$ac_aux_dir/install-sh -c"
  3572. - break
  3573. - elif test -f "$ac_dir/install.sh"; then
  3574. - ac_aux_dir=$ac_dir
  3575. - ac_install_sh="$ac_aux_dir/install.sh -c"
  3576. - break
  3577. - elif test -f "$ac_dir/shtool"; then
  3578. - ac_aux_dir=$ac_dir
  3579. - ac_install_sh="$ac_aux_dir/shtool install -c"
  3580. - break
  3581. - fi
  3582. -done
  3583. -if test -z "$ac_aux_dir"; then
  3584. - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  3585. -$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  3586. - { (exit 1); exit 1; }; }
  3587. -fi
  3588. +
  3589. +
  3590. +
  3591. +ac_aux_dir=
  3592. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  3593. + for ac_t in install-sh install.sh shtool; do
  3594. + if test -f "$ac_dir/$ac_t"; then
  3595. + ac_aux_dir=$ac_dir
  3596. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  3597. + break 2
  3598. + fi
  3599. + done
  3600. +done
  3601. +if test -z "$ac_aux_dir"; then
  3602. + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  3603. +fi
  3604. # These three variables are undocumented and unsupported,
  3605. # and are intended to be withdrawn in a future Autoconf release.
  3606. @@ -1996,35 +2542,27 @@
  3607. # Make sure we can run config.sub.
  3608. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3609. - { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  3610. -$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  3611. - { (exit 1); exit 1; }; }
  3612. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3613. -{ $as_echo "$as_me:$LINENO: checking build system type" >&5
  3614. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3615. $as_echo_n "checking build system type... " >&6; }
  3616. -if test "${ac_cv_build+set}" = set; then
  3617. +if test "${ac_cv_build+set}" = set; then :
  3618. $as_echo_n "(cached) " >&6
  3619. else
  3620. ac_build_alias=$build_alias
  3621. test "x$ac_build_alias" = x &&
  3622. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3623. test "x$ac_build_alias" = x &&
  3624. - { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  3625. -$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  3626. - { (exit 1); exit 1; }; }
  3627. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  3628. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3629. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  3630. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  3631. - { (exit 1); exit 1; }; }
  3632. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3633. fi
  3634. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  3635. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3636. $as_echo "$ac_cv_build" >&6; }
  3637. case $ac_cv_build in
  3638. *-*-*) ;;
  3639. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  3640. -$as_echo "$as_me: error: invalid value of canonical build" >&2;}
  3641. - { (exit 1); exit 1; }; };;
  3642. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  3643. esac
  3644. build=$ac_cv_build
  3645. ac_save_IFS=$IFS; IFS='-'
  3646. @@ -2040,28 +2578,24 @@
  3647. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3648. -{ $as_echo "$as_me:$LINENO: checking host system type" >&5
  3649. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3650. $as_echo_n "checking host system type... " >&6; }
  3651. -if test "${ac_cv_host+set}" = set; then
  3652. +if test "${ac_cv_host+set}" = set; then :
  3653. $as_echo_n "(cached) " >&6
  3654. else
  3655. if test "x$host_alias" = x; then
  3656. ac_cv_host=$ac_cv_build
  3657. else
  3658. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3659. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  3660. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  3661. - { (exit 1); exit 1; }; }
  3662. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3663. fi
  3664. fi
  3665. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  3666. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3667. $as_echo "$ac_cv_host" >&6; }
  3668. case $ac_cv_host in
  3669. *-*-*) ;;
  3670. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  3671. -$as_echo "$as_me: error: invalid value of canonical host" >&2;}
  3672. - { (exit 1); exit 1; }; };;
  3673. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  3674. esac
  3675. host=$ac_cv_host
  3676. ac_save_IFS=$IFS; IFS='-'
  3677. @@ -2077,28 +2611,24 @@
  3678. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3679. -{ $as_echo "$as_me:$LINENO: checking target system type" >&5
  3680. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  3681. $as_echo_n "checking target system type... " >&6; }
  3682. -if test "${ac_cv_target+set}" = set; then
  3683. +if test "${ac_cv_target+set}" = set; then :
  3684. $as_echo_n "(cached) " >&6
  3685. else
  3686. if test "x$target_alias" = x; then
  3687. ac_cv_target=$ac_cv_host
  3688. else
  3689. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  3690. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
  3691. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
  3692. - { (exit 1); exit 1; }; }
  3693. + as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  3694. fi
  3695. fi
  3696. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  3697. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  3698. $as_echo "$ac_cv_target" >&6; }
  3699. case $ac_cv_target in
  3700. *-*-*) ;;
  3701. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
  3702. -$as_echo "$as_me: error: invalid value of canonical target" >&2;}
  3703. - { (exit 1); exit 1; }; };;
  3704. +*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  3705. esac
  3706. target=$ac_cv_target
  3707. ac_save_IFS=$IFS; IFS='-'
  3708. @@ -2120,7 +2650,7 @@
  3709. test "$program_prefix$program_suffix$program_transform_name" = \
  3710. NONENONEs,x,x, &&
  3711. program_prefix=${target_alias}-
  3712. -am__api_version='1.10'
  3713. +am__api_version='1.11'
  3714. # Find a good install program. We prefer a C program (faster),
  3715. # so one script is as good as another. But avoid the broken or
  3716. @@ -2136,10 +2666,10 @@
  3717. # OS/2's system install, which has a completely different semantic
  3718. # ./install, which can be erroneously created by make from ./install.sh.
  3719. # Reject install programs that cannot install multiple files.
  3720. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3721. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  3722. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  3723. if test -z "$INSTALL"; then
  3724. -if test "${ac_cv_path_install+set}" = set; then
  3725. +if test "${ac_cv_path_install+set}" = set; then :
  3726. $as_echo_n "(cached) " >&6
  3727. else
  3728. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3729. @@ -2147,11 +2677,11 @@
  3730. do
  3731. IFS=$as_save_IFS
  3732. test -z "$as_dir" && as_dir=.
  3733. - # Account for people who put trailing slashes in PATH elements.
  3734. -case $as_dir/ in
  3735. - ./ | .// | /cC/* | \
  3736. + # Account for people who put trailing slashes in PATH elements.
  3737. +case $as_dir/ in #((
  3738. + ./ | .// | /[cC]/* | \
  3739. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  3740. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  3741. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  3742. /usr/ucb/* ) ;;
  3743. *)
  3744. # OSF1 and SCO ODT 3.0 have their own names for install.
  3745. @@ -2188,7 +2718,7 @@
  3746. ;;
  3747. esac
  3748. -done
  3749. + done
  3750. IFS=$as_save_IFS
  3751. rm -rf conftest.one conftest.two conftest.dir
  3752. @@ -2204,7 +2734,7 @@
  3753. INSTALL=$ac_install_sh
  3754. fi
  3755. fi
  3756. -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  3757. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  3758. $as_echo "$INSTALL" >&6; }
  3759. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3760. @@ -2215,21 +2745,34 @@
  3761. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  3762. -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  3763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  3764. $as_echo_n "checking whether build environment is sane... " >&6; }
  3765. # Just in case
  3766. sleep 1
  3767. echo timestamp > conftest.file
  3768. +# Reject unsafe characters in $srcdir or the absolute working directory
  3769. +# name. Accept space and tab only in the latter.
  3770. +am_lf='
  3771. +'
  3772. +case `pwd` in
  3773. + *[\\\"\#\$\&\'\`$am_lf]*)
  3774. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  3775. +esac
  3776. +case $srcdir in
  3777. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  3778. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  3779. +esac
  3780. +
  3781. # Do `set' in a subshell so we don't clobber the current shell's
  3782. # arguments. Must try -L first in case configure is actually a
  3783. # symlink; some systems play weird games with the mod time of symlinks
  3784. # (eg FreeBSD returns the mod time of the symlink's containing
  3785. # directory).
  3786. if (
  3787. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  3788. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  3789. if test "$*" = "X"; then
  3790. # -L didn't work.
  3791. - set X `ls -t $srcdir/configure conftest.file`
  3792. + set X `ls -t "$srcdir/configure" conftest.file`
  3793. fi
  3794. rm -f conftest.file
  3795. if test "$*" != "X $srcdir/configure conftest.file" \
  3796. @@ -2239,11 +2782,8 @@
  3797. # if, for instance, CONFIG_SHELL is bash and it inherits a
  3798. # broken ls alias from the environment. This has actually
  3799. # happened. Such a system could not be considered "sane".
  3800. - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  3801. -alias in your environment" >&5
  3802. -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  3803. -alias in your environment" >&2;}
  3804. - { (exit 1); exit 1; }; }
  3805. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  3806. +alias in your environment" "$LINENO" 5
  3807. fi
  3808. test "$2" = conftest.file
  3809. @@ -2252,13 +2792,10 @@
  3810. # Ok.
  3811. :
  3812. else
  3813. - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  3814. -Check your system clock" >&5
  3815. -$as_echo "$as_me: error: newly created file is older than distributed files!
  3816. -Check your system clock" >&2;}
  3817. - { (exit 1); exit 1; }; }
  3818. + as_fn_error "newly created file is older than distributed files!
  3819. +Check your system clock" "$LINENO" 5
  3820. fi
  3821. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  3822. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3823. $as_echo "yes" >&6; }
  3824. test "$program_prefix" != NONE &&
  3825. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  3826. @@ -2273,20 +2810,136 @@
  3827. # expand $ac_aux_dir to an absolute path
  3828. am_aux_dir=`cd $ac_aux_dir && pwd`
  3829. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  3830. +if test x"${MISSING+set}" != xset; then
  3831. + case $am_aux_dir in
  3832. + *\ * | *\ *)
  3833. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  3834. + *)
  3835. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  3836. + esac
  3837. +fi
  3838. # Use eval to expand $SHELL
  3839. if eval "$MISSING --run true"; then
  3840. am_missing_run="$MISSING --run "
  3841. else
  3842. am_missing_run=
  3843. - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  3844. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  3845. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  3846. fi
  3847. -{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  3848. +if test x"${install_sh}" != xset; then
  3849. + case $am_aux_dir in
  3850. + *\ * | *\ *)
  3851. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  3852. + *)
  3853. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  3854. + esac
  3855. +fi
  3856. +
  3857. +# Installed binaries are usually stripped using `strip' when the user
  3858. +# run `make install-strip'. However `strip' might not be the right
  3859. +# tool to use in cross-compilation environments, therefore Automake
  3860. +# will honor the `STRIP' environment variable to overrule this program.
  3861. +if test "$cross_compiling" != no; then
  3862. + if test -n "$ac_tool_prefix"; then
  3863. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  3864. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  3865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3866. +$as_echo_n "checking for $ac_word... " >&6; }
  3867. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  3868. + $as_echo_n "(cached) " >&6
  3869. +else
  3870. + if test -n "$STRIP"; then
  3871. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  3872. +else
  3873. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3874. +for as_dir in $PATH
  3875. +do
  3876. + IFS=$as_save_IFS
  3877. + test -z "$as_dir" && as_dir=.
  3878. + for ac_exec_ext in '' $ac_executable_extensions; do
  3879. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3880. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  3881. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3882. + break 2
  3883. + fi
  3884. +done
  3885. + done
  3886. +IFS=$as_save_IFS
  3887. +
  3888. +fi
  3889. +fi
  3890. +STRIP=$ac_cv_prog_STRIP
  3891. +if test -n "$STRIP"; then
  3892. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  3893. +$as_echo "$STRIP" >&6; }
  3894. +else
  3895. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3896. +$as_echo "no" >&6; }
  3897. +fi
  3898. +
  3899. +
  3900. +fi
  3901. +if test -z "$ac_cv_prog_STRIP"; then
  3902. + ac_ct_STRIP=$STRIP
  3903. + # Extract the first word of "strip", so it can be a program name with args.
  3904. +set dummy strip; ac_word=$2
  3905. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3906. +$as_echo_n "checking for $ac_word... " >&6; }
  3907. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  3908. + $as_echo_n "(cached) " >&6
  3909. +else
  3910. + if test -n "$ac_ct_STRIP"; then
  3911. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  3912. +else
  3913. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3914. +for as_dir in $PATH
  3915. +do
  3916. + IFS=$as_save_IFS
  3917. + test -z "$as_dir" && as_dir=.
  3918. + for ac_exec_ext in '' $ac_executable_extensions; do
  3919. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3920. + ac_cv_prog_ac_ct_STRIP="strip"
  3921. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3922. + break 2
  3923. + fi
  3924. +done
  3925. + done
  3926. +IFS=$as_save_IFS
  3927. +
  3928. +fi
  3929. +fi
  3930. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  3931. +if test -n "$ac_ct_STRIP"; then
  3932. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  3933. +$as_echo "$ac_ct_STRIP" >&6; }
  3934. +else
  3935. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3936. +$as_echo "no" >&6; }
  3937. +fi
  3938. +
  3939. + if test "x$ac_ct_STRIP" = x; then
  3940. + STRIP=":"
  3941. + else
  3942. + case $cross_compiling:$ac_tool_warned in
  3943. +yes:)
  3944. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3945. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3946. +ac_tool_warned=yes ;;
  3947. +esac
  3948. + STRIP=$ac_ct_STRIP
  3949. + fi
  3950. +else
  3951. + STRIP="$ac_cv_prog_STRIP"
  3952. +fi
  3953. +
  3954. +fi
  3955. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  3956. +
  3957. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  3958. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  3959. if test -z "$MKDIR_P"; then
  3960. - if test "${ac_cv_path_mkdir+set}" = set; then
  3961. + if test "${ac_cv_path_mkdir+set}" = set; then :
  3962. $as_echo_n "(cached) " >&6
  3963. else
  3964. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3965. @@ -2294,7 +2947,7 @@
  3966. do
  3967. IFS=$as_save_IFS
  3968. test -z "$as_dir" && as_dir=.
  3969. - for ac_prog in mkdir gmkdir; do
  3970. + for ac_prog in mkdir gmkdir; do
  3971. for ac_exec_ext in '' $ac_executable_extensions; do
  3972. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  3973. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  3974. @@ -2306,11 +2959,12 @@
  3975. esac
  3976. done
  3977. done
  3978. -done
  3979. + done
  3980. IFS=$as_save_IFS
  3981. fi
  3982. + test -d ./--version && rmdir ./--version
  3983. if test "${ac_cv_path_mkdir+set}" = set; then
  3984. MKDIR_P="$ac_cv_path_mkdir -p"
  3985. else
  3986. @@ -2318,11 +2972,10 @@
  3987. # value for MKDIR_P within a source directory, because that will
  3988. # break other packages using the cache if that directory is
  3989. # removed, or if the value is a relative name.
  3990. - test -d ./--version && rmdir ./--version
  3991. MKDIR_P="$ac_install_sh -d"
  3992. fi
  3993. fi
  3994. -{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  3995. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  3996. $as_echo "$MKDIR_P" >&6; }
  3997. mkdir_p="$MKDIR_P"
  3998. @@ -2335,9 +2988,9 @@
  3999. do
  4000. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4001. set dummy $ac_prog; ac_word=$2
  4002. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4004. $as_echo_n "checking for $ac_word... " >&6; }
  4005. -if test "${ac_cv_prog_AWK+set}" = set; then
  4006. +if test "${ac_cv_prog_AWK+set}" = set; then :
  4007. $as_echo_n "(cached) " >&6
  4008. else
  4009. if test -n "$AWK"; then
  4010. @@ -2348,24 +3001,24 @@
  4011. do
  4012. IFS=$as_save_IFS
  4013. test -z "$as_dir" && as_dir=.
  4014. - for ac_exec_ext in '' $ac_executable_extensions; do
  4015. + for ac_exec_ext in '' $ac_executable_extensions; do
  4016. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4017. ac_cv_prog_AWK="$ac_prog"
  4018. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4019. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4020. break 2
  4021. fi
  4022. done
  4023. -done
  4024. + done
  4025. IFS=$as_save_IFS
  4026. fi
  4027. fi
  4028. AWK=$ac_cv_prog_AWK
  4029. if test -n "$AWK"; then
  4030. - { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  4031. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  4032. $as_echo "$AWK" >&6; }
  4033. else
  4034. - { $as_echo "$as_me:$LINENO: result: no" >&5
  4035. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4036. $as_echo "no" >&6; }
  4037. fi
  4038. @@ -2373,11 +3026,11 @@
  4039. test -n "$AWK" && break
  4040. done
  4041. -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4042. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4043. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  4044. set x ${MAKE-make}
  4045. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  4046. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  4047. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  4048. $as_echo_n "(cached) " >&6
  4049. else
  4050. cat >conftest.make <<\_ACEOF
  4051. @@ -2395,11 +3048,11 @@
  4052. rm -f conftest.make
  4053. fi
  4054. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4055. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  4056. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4057. $as_echo "yes" >&6; }
  4058. SET_MAKE=
  4059. else
  4060. - { $as_echo "$as_me:$LINENO: result: no" >&5
  4061. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4062. $as_echo "no" >&6; }
  4063. SET_MAKE="MAKE=${MAKE-make}"
  4064. fi
  4065. @@ -2419,9 +3072,7 @@
  4066. am__isrc=' -I$(srcdir)'
  4067. # test to see if srcdir already configured
  4068. if test -f $srcdir/config.status; then
  4069. - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  4070. -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  4071. - { (exit 1); exit 1; }; }
  4072. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  4073. fi
  4074. fi
  4075. @@ -2465,111 +3116,9 @@
  4076. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  4077. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  4078. -
  4079. -# Installed binaries are usually stripped using `strip' when the user
  4080. -# run `make install-strip'. However `strip' might not be the right
  4081. -# tool to use in cross-compilation environments, therefore Automake
  4082. -# will honor the `STRIP' environment variable to overrule this program.
  4083. -if test "$cross_compiling" != no; then
  4084. - if test -n "$ac_tool_prefix"; then
  4085. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4086. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  4087. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4088. -$as_echo_n "checking for $ac_word... " >&6; }
  4089. -if test "${ac_cv_prog_STRIP+set}" = set; then
  4090. - $as_echo_n "(cached) " >&6
  4091. -else
  4092. - if test -n "$STRIP"; then
  4093. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4094. -else
  4095. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4096. -for as_dir in $PATH
  4097. -do
  4098. - IFS=$as_save_IFS
  4099. - test -z "$as_dir" && as_dir=.
  4100. - for ac_exec_ext in '' $ac_executable_extensions; do
  4101. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4102. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4103. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4104. - break 2
  4105. - fi
  4106. -done
  4107. -done
  4108. -IFS=$as_save_IFS
  4109. -
  4110. -fi
  4111. -fi
  4112. -STRIP=$ac_cv_prog_STRIP
  4113. -if test -n "$STRIP"; then
  4114. - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  4115. -$as_echo "$STRIP" >&6; }
  4116. -else
  4117. - { $as_echo "$as_me:$LINENO: result: no" >&5
  4118. -$as_echo "no" >&6; }
  4119. -fi
  4120. -
  4121. -
  4122. -fi
  4123. -if test -z "$ac_cv_prog_STRIP"; then
  4124. - ac_ct_STRIP=$STRIP
  4125. - # Extract the first word of "strip", so it can be a program name with args.
  4126. -set dummy strip; ac_word=$2
  4127. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4128. -$as_echo_n "checking for $ac_word... " >&6; }
  4129. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  4130. - $as_echo_n "(cached) " >&6
  4131. -else
  4132. - if test -n "$ac_ct_STRIP"; then
  4133. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4134. -else
  4135. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4136. -for as_dir in $PATH
  4137. -do
  4138. - IFS=$as_save_IFS
  4139. - test -z "$as_dir" && as_dir=.
  4140. - for ac_exec_ext in '' $ac_executable_extensions; do
  4141. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4142. - ac_cv_prog_ac_ct_STRIP="strip"
  4143. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4144. - break 2
  4145. - fi
  4146. -done
  4147. -done
  4148. -IFS=$as_save_IFS
  4149. -
  4150. -fi
  4151. -fi
  4152. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  4153. -if test -n "$ac_ct_STRIP"; then
  4154. - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  4155. -$as_echo "$ac_ct_STRIP" >&6; }
  4156. -else
  4157. - { $as_echo "$as_me:$LINENO: result: no" >&5
  4158. -$as_echo "no" >&6; }
  4159. -fi
  4160. -
  4161. - if test "x$ac_ct_STRIP" = x; then
  4162. - STRIP=":"
  4163. - else
  4164. - case $cross_compiling:$ac_tool_warned in
  4165. -yes:)
  4166. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4167. -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4168. -ac_tool_warned=yes ;;
  4169. -esac
  4170. - STRIP=$ac_ct_STRIP
  4171. - fi
  4172. -else
  4173. - STRIP="$ac_cv_prog_STRIP"
  4174. -fi
  4175. -
  4176. -fi
  4177. -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  4178. -
  4179. -# We need awk for the "check" target. The system "awk" is bad on
  4180. -# some platforms.
  4181. -# Always define AMTAR for backward compatibility.
  4182. +# We need awk for the "check" target. The system "awk" is bad on
  4183. +# some platforms.
  4184. +# Always define AMTAR for backward compatibility.
  4185. AMTAR=${AMTAR-"${am_missing_run}tar"}
  4186. @@ -2586,9 +3135,9 @@
  4187. do
  4188. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4189. set dummy $ac_prog; ac_word=$2
  4190. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4191. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4192. $as_echo_n "checking for $ac_word... " >&6; }
  4193. -if test "${ac_cv_prog_AWK+set}" = set; then
  4194. +if test "${ac_cv_prog_AWK+set}" = set; then :
  4195. $as_echo_n "(cached) " >&6
  4196. else
  4197. if test -n "$AWK"; then
  4198. @@ -2599,24 +3148,24 @@
  4199. do
  4200. IFS=$as_save_IFS
  4201. test -z "$as_dir" && as_dir=.
  4202. - for ac_exec_ext in '' $ac_executable_extensions; do
  4203. + for ac_exec_ext in '' $ac_executable_extensions; do
  4204. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4205. ac_cv_prog_AWK="$ac_prog"
  4206. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4207. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4208. break 2
  4209. fi
  4210. done
  4211. -done
  4212. + done
  4213. IFS=$as_save_IFS
  4214. fi
  4215. fi
  4216. AWK=$ac_cv_prog_AWK
  4217. if test -n "$AWK"; then
  4218. - { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  4219. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  4220. $as_echo "$AWK" >&6; }
  4221. else
  4222. - { $as_echo "$as_me:$LINENO: result: no" >&5
  4223. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4224. $as_echo "no" >&6; }
  4225. fi
  4226. @@ -2634,9 +3183,9 @@
  4227. do
  4228. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4229. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4230. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4231. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4232. $as_echo_n "checking for $ac_word... " >&6; }
  4233. -if test "${ac_cv_prog_CC+set}" = set; then
  4234. +if test "${ac_cv_prog_CC+set}" = set; then :
  4235. $as_echo_n "(cached) " >&6
  4236. else
  4237. if test -n "$CC"; then
  4238. @@ -2647,24 +3196,24 @@
  4239. do
  4240. IFS=$as_save_IFS
  4241. test -z "$as_dir" && as_dir=.
  4242. - for ac_exec_ext in '' $ac_executable_extensions; do
  4243. + for ac_exec_ext in '' $ac_executable_extensions; do
  4244. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4245. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4246. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4247. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4248. break 2
  4249. fi
  4250. done
  4251. -done
  4252. + done
  4253. IFS=$as_save_IFS
  4254. fi
  4255. fi
  4256. CC=$ac_cv_prog_CC
  4257. if test -n "$CC"; then
  4258. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4259. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4260. $as_echo "$CC" >&6; }
  4261. else
  4262. - { $as_echo "$as_me:$LINENO: result: no" >&5
  4263. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4264. $as_echo "no" >&6; }
  4265. fi
  4266. @@ -2678,9 +3227,9 @@
  4267. do
  4268. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4269. set dummy $ac_prog; ac_word=$2
  4270. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4271. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4272. $as_echo_n "checking for $ac_word... " >&6; }
  4273. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4274. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  4275. $as_echo_n "(cached) " >&6
  4276. else
  4277. if test -n "$ac_ct_CC"; then
  4278. @@ -2691,24 +3240,24 @@
  4279. do
  4280. IFS=$as_save_IFS
  4281. test -z "$as_dir" && as_dir=.
  4282. - for ac_exec_ext in '' $ac_executable_extensions; do
  4283. + for ac_exec_ext in '' $ac_executable_extensions; do
  4284. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4285. ac_cv_prog_ac_ct_CC="$ac_prog"
  4286. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4287. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4288. break 2
  4289. fi
  4290. done
  4291. -done
  4292. + done
  4293. IFS=$as_save_IFS
  4294. fi
  4295. fi
  4296. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4297. if test -n "$ac_ct_CC"; then
  4298. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4299. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4300. $as_echo "$ac_ct_CC" >&6; }
  4301. else
  4302. - { $as_echo "$as_me:$LINENO: result: no" >&5
  4303. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4304. $as_echo "no" >&6; }
  4305. fi
  4306. @@ -2721,7 +3270,7 @@
  4307. else
  4308. case $cross_compiling:$ac_tool_warned in
  4309. yes:)
  4310. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4311. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4312. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4313. ac_tool_warned=yes ;;
  4314. esac
  4315. @@ -2730,57 +3279,37 @@
  4316. fi
  4317. -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  4318. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4319. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4320. -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4321. -See \`config.log' for more details." >&5
  4322. -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4323. -See \`config.log' for more details." >&2;}
  4324. - { (exit 1); exit 1; }; }; }
  4325. +as_fn_error "no acceptable C compiler found in \$PATH
  4326. +See \`config.log' for more details." "$LINENO" 5; }
  4327. # Provide some information about the compiler.
  4328. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4329. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4330. set X $ac_compile
  4331. ac_compiler=$2
  4332. -{ (ac_try="$ac_compiler --version >&5"
  4333. -case "(($ac_try" in
  4334. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4335. - *) ac_try_echo=$ac_try;;
  4336. -esac
  4337. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4338. -$as_echo "$ac_try_echo") >&5
  4339. - (eval "$ac_compiler --version >&5") 2>&5
  4340. - ac_status=$?
  4341. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4342. - (exit $ac_status); }
  4343. -{ (ac_try="$ac_compiler -v >&5"
  4344. -case "(($ac_try" in
  4345. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4346. - *) ac_try_echo=$ac_try;;
  4347. -esac
  4348. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4349. -$as_echo "$ac_try_echo") >&5
  4350. - (eval "$ac_compiler -v >&5") 2>&5
  4351. - ac_status=$?
  4352. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4353. - (exit $ac_status); }
  4354. -{ (ac_try="$ac_compiler -V >&5"
  4355. +for ac_option in --version -v -V -qversion; do
  4356. + { { ac_try="$ac_compiler $ac_option >&5"
  4357. case "(($ac_try" in
  4358. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4359. *) ac_try_echo=$ac_try;;
  4360. esac
  4361. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4362. -$as_echo "$ac_try_echo") >&5
  4363. - (eval "$ac_compiler -V >&5") 2>&5
  4364. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4365. +$as_echo "$ac_try_echo"; } >&5
  4366. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4367. ac_status=$?
  4368. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4369. - (exit $ac_status); }
  4370. + if test -s conftest.err; then
  4371. + sed '10a\
  4372. +... rest of stderr output deleted ...
  4373. + 10q' conftest.err >conftest.er1
  4374. + cat conftest.er1 >&5
  4375. + fi
  4376. + rm -f conftest.er1 conftest.err
  4377. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4378. + test $ac_status = 0; }
  4379. +done
  4380. -cat >conftest.$ac_ext <<_ACEOF
  4381. -/* confdefs.h. */
  4382. -_ACEOF
  4383. -cat confdefs.h >>conftest.$ac_ext
  4384. -cat >>conftest.$ac_ext <<_ACEOF
  4385. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4386. /* end confdefs.h. */
  4387. int
  4388. @@ -2796,8 +3325,8 @@
  4389. # Try to create an executable without -o first, disregard a.out.
  4390. # It will help us diagnose broken compilers, and finding out an intuition
  4391. # of exeext.
  4392. -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  4393. -$as_echo_n "checking for C compiler default output file name... " >&6; }
  4394. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4395. +$as_echo_n "checking whether the C compiler works... " >&6; }
  4396. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4397. # The possible output files:
  4398. @@ -2813,17 +3342,17 @@
  4399. done
  4400. rm -f $ac_rmfiles
  4401. -if { (ac_try="$ac_link_default"
  4402. +if { { ac_try="$ac_link_default"
  4403. case "(($ac_try" in
  4404. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4405. *) ac_try_echo=$ac_try;;
  4406. esac
  4407. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4408. -$as_echo "$ac_try_echo") >&5
  4409. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4410. +$as_echo "$ac_try_echo"; } >&5
  4411. (eval "$ac_link_default") 2>&5
  4412. ac_status=$?
  4413. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4414. - (exit $ac_status); }; then
  4415. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4416. + test $ac_status = 0; }; then :
  4417. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4418. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4419. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  4420. @@ -2840,7 +3369,7 @@
  4421. # certainly right.
  4422. break;;
  4423. *.* )
  4424. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4425. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4426. then :; else
  4427. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4428. fi
  4429. @@ -2859,84 +3388,42 @@
  4430. else
  4431. ac_file=''
  4432. fi
  4433. -
  4434. -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  4435. -$as_echo "$ac_file" >&6; }
  4436. -if test -z "$ac_file"; then
  4437. - $as_echo "$as_me: failed program was:" >&5
  4438. +if test -z "$ac_file"; then :
  4439. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4440. +$as_echo "no" >&6; }
  4441. +$as_echo "$as_me: failed program was:" >&5
  4442. sed 's/^/| /' conftest.$ac_ext >&5
  4443. -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  4444. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4445. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4446. -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  4447. -See \`config.log' for more details." >&5
  4448. -$as_echo "$as_me: error: C compiler cannot create executables
  4449. -See \`config.log' for more details." >&2;}
  4450. - { (exit 77); exit 77; }; }; }
  4451. +{ as_fn_set_status 77
  4452. +as_fn_error "C compiler cannot create executables
  4453. +See \`config.log' for more details." "$LINENO" 5; }; }
  4454. +else
  4455. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4456. +$as_echo "yes" >&6; }
  4457. fi
  4458. -
  4459. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4460. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  4461. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4462. +$as_echo "$ac_file" >&6; }
  4463. ac_exeext=$ac_cv_exeext
  4464. -# Check that the compiler produces executables we can run. If not, either
  4465. -# the compiler is broken, or we cross compile.
  4466. -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  4467. -$as_echo_n "checking whether the C compiler works... " >&6; }
  4468. -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  4469. -# If not cross compiling, check that we can run a simple program.
  4470. -if test "$cross_compiling" != yes; then
  4471. - if { ac_try='./$ac_file'
  4472. - { (case "(($ac_try" in
  4473. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4474. - *) ac_try_echo=$ac_try;;
  4475. -esac
  4476. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4477. -$as_echo "$ac_try_echo") >&5
  4478. - (eval "$ac_try") 2>&5
  4479. - ac_status=$?
  4480. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4481. - (exit $ac_status); }; }; then
  4482. - cross_compiling=no
  4483. - else
  4484. - if test "$cross_compiling" = maybe; then
  4485. - cross_compiling=yes
  4486. - else
  4487. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  4488. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4489. -{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  4490. -If you meant to cross compile, use \`--host'.
  4491. -See \`config.log' for more details." >&5
  4492. -$as_echo "$as_me: error: cannot run C compiled programs.
  4493. -If you meant to cross compile, use \`--host'.
  4494. -See \`config.log' for more details." >&2;}
  4495. - { (exit 1); exit 1; }; }; }
  4496. - fi
  4497. - fi
  4498. -fi
  4499. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  4500. -$as_echo "yes" >&6; }
  4501. -
  4502. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4503. ac_clean_files=$ac_clean_files_save
  4504. -# Check that the compiler produces executables we can run. If not, either
  4505. -# the compiler is broken, or we cross compile.
  4506. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  4507. -$as_echo_n "checking whether we are cross compiling... " >&6; }
  4508. -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  4509. -$as_echo "$cross_compiling" >&6; }
  4510. -
  4511. -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  4512. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4513. $as_echo_n "checking for suffix of executables... " >&6; }
  4514. -if { (ac_try="$ac_link"
  4515. +if { { ac_try="$ac_link"
  4516. case "(($ac_try" in
  4517. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4518. *) ac_try_echo=$ac_try;;
  4519. esac
  4520. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4521. -$as_echo "$ac_try_echo") >&5
  4522. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4523. +$as_echo "$ac_try_echo"; } >&5
  4524. (eval "$ac_link") 2>&5
  4525. ac_status=$?
  4526. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4527. - (exit $ac_status); }; then
  4528. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4529. + test $ac_status = 0; }; then :
  4530. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4531. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  4532. # work properly (i.e., refer to `conftest.exe'), while it won't with
  4533. @@ -2951,32 +3438,83 @@
  4534. esac
  4535. done
  4536. else
  4537. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  4538. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4539. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4540. -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  4541. -See \`config.log' for more details." >&5
  4542. -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  4543. -See \`config.log' for more details." >&2;}
  4544. - { (exit 1); exit 1; }; }; }
  4545. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  4546. +See \`config.log' for more details." "$LINENO" 5; }
  4547. fi
  4548. -
  4549. -rm -f conftest$ac_cv_exeext
  4550. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  4551. +rm -f conftest conftest$ac_cv_exeext
  4552. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4553. $as_echo "$ac_cv_exeext" >&6; }
  4554. rm -f conftest.$ac_ext
  4555. EXEEXT=$ac_cv_exeext
  4556. ac_exeext=$EXEEXT
  4557. -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  4558. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4559. +/* end confdefs.h. */
  4560. +#include <stdio.h>
  4561. +int
  4562. +main ()
  4563. +{
  4564. +FILE *f = fopen ("conftest.out", "w");
  4565. + return ferror (f) || fclose (f) != 0;
  4566. +
  4567. + ;
  4568. + return 0;
  4569. +}
  4570. +_ACEOF
  4571. +ac_clean_files="$ac_clean_files conftest.out"
  4572. +# Check that the compiler produces executables we can run. If not, either
  4573. +# the compiler is broken, or we cross compile.
  4574. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4575. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  4576. +if test "$cross_compiling" != yes; then
  4577. + { { ac_try="$ac_link"
  4578. +case "(($ac_try" in
  4579. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4580. + *) ac_try_echo=$ac_try;;
  4581. +esac
  4582. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4583. +$as_echo "$ac_try_echo"; } >&5
  4584. + (eval "$ac_link") 2>&5
  4585. + ac_status=$?
  4586. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4587. + test $ac_status = 0; }
  4588. + if { ac_try='./conftest$ac_cv_exeext'
  4589. + { { case "(($ac_try" in
  4590. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4591. + *) ac_try_echo=$ac_try;;
  4592. +esac
  4593. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4594. +$as_echo "$ac_try_echo"; } >&5
  4595. + (eval "$ac_try") 2>&5
  4596. + ac_status=$?
  4597. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4598. + test $ac_status = 0; }; }; then
  4599. + cross_compiling=no
  4600. + else
  4601. + if test "$cross_compiling" = maybe; then
  4602. + cross_compiling=yes
  4603. + else
  4604. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4605. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4606. +as_fn_error "cannot run C compiled programs.
  4607. +If you meant to cross compile, use \`--host'.
  4608. +See \`config.log' for more details." "$LINENO" 5; }
  4609. + fi
  4610. + fi
  4611. +fi
  4612. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4613. +$as_echo "$cross_compiling" >&6; }
  4614. +
  4615. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4616. +ac_clean_files=$ac_clean_files_save
  4617. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4618. $as_echo_n "checking for suffix of object files... " >&6; }
  4619. -if test "${ac_cv_objext+set}" = set; then
  4620. +if test "${ac_cv_objext+set}" = set; then :
  4621. $as_echo_n "(cached) " >&6
  4622. else
  4623. - cat >conftest.$ac_ext <<_ACEOF
  4624. -/* confdefs.h. */
  4625. -_ACEOF
  4626. -cat confdefs.h >>conftest.$ac_ext
  4627. -cat >>conftest.$ac_ext <<_ACEOF
  4628. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4629. /* end confdefs.h. */
  4630. int
  4631. @@ -2988,17 +3526,17 @@
  4632. }
  4633. _ACEOF
  4634. rm -f conftest.o conftest.obj
  4635. -if { (ac_try="$ac_compile"
  4636. +if { { ac_try="$ac_compile"
  4637. case "(($ac_try" in
  4638. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4639. *) ac_try_echo=$ac_try;;
  4640. esac
  4641. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4642. -$as_echo "$ac_try_echo") >&5
  4643. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4644. +$as_echo "$ac_try_echo"; } >&5
  4645. (eval "$ac_compile") 2>&5
  4646. ac_status=$?
  4647. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4648. - (exit $ac_status); }; then
  4649. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4650. + test $ac_status = 0; }; then :
  4651. for ac_file in conftest.o conftest.obj conftest.*; do
  4652. test -f "$ac_file" || continue;
  4653. case $ac_file in
  4654. @@ -3011,31 +3549,23 @@
  4655. $as_echo "$as_me: failed program was:" >&5
  4656. sed 's/^/| /' conftest.$ac_ext >&5
  4657. -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  4658. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4659. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4660. -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  4661. -See \`config.log' for more details." >&5
  4662. -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  4663. -See \`config.log' for more details." >&2;}
  4664. - { (exit 1); exit 1; }; }; }
  4665. +as_fn_error "cannot compute suffix of object files: cannot compile
  4666. +See \`config.log' for more details." "$LINENO" 5; }
  4667. fi
  4668. -
  4669. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4670. fi
  4671. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  4672. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4673. $as_echo "$ac_cv_objext" >&6; }
  4674. OBJEXT=$ac_cv_objext
  4675. ac_objext=$OBJEXT
  4676. -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4677. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4678. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4679. -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4680. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  4681. $as_echo_n "(cached) " >&6
  4682. else
  4683. - cat >conftest.$ac_ext <<_ACEOF
  4684. -/* confdefs.h. */
  4685. -_ACEOF
  4686. -cat confdefs.h >>conftest.$ac_ext
  4687. -cat >>conftest.$ac_ext <<_ACEOF
  4688. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4689. /* end confdefs.h. */
  4690. int
  4691. @@ -3049,37 +3579,16 @@
  4692. return 0;
  4693. }
  4694. _ACEOF
  4695. -rm -f conftest.$ac_objext
  4696. -if { (ac_try="$ac_compile"
  4697. -case "(($ac_try" in
  4698. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4699. - *) ac_try_echo=$ac_try;;
  4700. -esac
  4701. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4702. -$as_echo "$ac_try_echo") >&5
  4703. - (eval "$ac_compile") 2>conftest.er1
  4704. - ac_status=$?
  4705. - grep -v '^ *+' conftest.er1 >conftest.err
  4706. - rm -f conftest.er1
  4707. - cat conftest.err >&5
  4708. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4709. - (exit $ac_status); } && {
  4710. - test -z "$ac_c_werror_flag" ||
  4711. - test ! -s conftest.err
  4712. - } && test -s conftest.$ac_objext; then
  4713. +if ac_fn_c_try_compile "$LINENO"; then :
  4714. ac_compiler_gnu=yes
  4715. else
  4716. - $as_echo "$as_me: failed program was:" >&5
  4717. -sed 's/^/| /' conftest.$ac_ext >&5
  4718. -
  4719. - ac_compiler_gnu=no
  4720. + ac_compiler_gnu=no
  4721. fi
  4722. -
  4723. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4724. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4725. fi
  4726. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4728. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4729. if test $ac_compiler_gnu = yes; then
  4730. GCC=yes
  4731. @@ -3088,20 +3597,16 @@
  4732. fi
  4733. ac_test_CFLAGS=${CFLAGS+set}
  4734. ac_save_CFLAGS=$CFLAGS
  4735. -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4736. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4737. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4738. -if test "${ac_cv_prog_cc_g+set}" = set; then
  4739. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  4740. $as_echo_n "(cached) " >&6
  4741. else
  4742. ac_save_c_werror_flag=$ac_c_werror_flag
  4743. ac_c_werror_flag=yes
  4744. ac_cv_prog_cc_g=no
  4745. CFLAGS="-g"
  4746. - cat >conftest.$ac_ext <<_ACEOF
  4747. -/* confdefs.h. */
  4748. -_ACEOF
  4749. -cat confdefs.h >>conftest.$ac_ext
  4750. -cat >>conftest.$ac_ext <<_ACEOF
  4751. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4752. /* end confdefs.h. */
  4753. int
  4754. @@ -3112,35 +3617,11 @@
  4755. return 0;
  4756. }
  4757. _ACEOF
  4758. -rm -f conftest.$ac_objext
  4759. -if { (ac_try="$ac_compile"
  4760. -case "(($ac_try" in
  4761. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4762. - *) ac_try_echo=$ac_try;;
  4763. -esac
  4764. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4765. -$as_echo "$ac_try_echo") >&5
  4766. - (eval "$ac_compile") 2>conftest.er1
  4767. - ac_status=$?
  4768. - grep -v '^ *+' conftest.er1 >conftest.err
  4769. - rm -f conftest.er1
  4770. - cat conftest.err >&5
  4771. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4772. - (exit $ac_status); } && {
  4773. - test -z "$ac_c_werror_flag" ||
  4774. - test ! -s conftest.err
  4775. - } && test -s conftest.$ac_objext; then
  4776. +if ac_fn_c_try_compile "$LINENO"; then :
  4777. ac_cv_prog_cc_g=yes
  4778. else
  4779. - $as_echo "$as_me: failed program was:" >&5
  4780. -sed 's/^/| /' conftest.$ac_ext >&5
  4781. -
  4782. - CFLAGS=""
  4783. - cat >conftest.$ac_ext <<_ACEOF
  4784. -/* confdefs.h. */
  4785. -_ACEOF
  4786. -cat confdefs.h >>conftest.$ac_ext
  4787. -cat >>conftest.$ac_ext <<_ACEOF
  4788. + CFLAGS=""
  4789. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4790. /* end confdefs.h. */
  4791. int
  4792. @@ -3151,36 +3632,12 @@
  4793. return 0;
  4794. }
  4795. _ACEOF
  4796. -rm -f conftest.$ac_objext
  4797. -if { (ac_try="$ac_compile"
  4798. -case "(($ac_try" in
  4799. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4800. - *) ac_try_echo=$ac_try;;
  4801. -esac
  4802. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4803. -$as_echo "$ac_try_echo") >&5
  4804. - (eval "$ac_compile") 2>conftest.er1
  4805. - ac_status=$?
  4806. - grep -v '^ *+' conftest.er1 >conftest.err
  4807. - rm -f conftest.er1
  4808. - cat conftest.err >&5
  4809. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4810. - (exit $ac_status); } && {
  4811. - test -z "$ac_c_werror_flag" ||
  4812. - test ! -s conftest.err
  4813. - } && test -s conftest.$ac_objext; then
  4814. - :
  4815. -else
  4816. - $as_echo "$as_me: failed program was:" >&5
  4817. -sed 's/^/| /' conftest.$ac_ext >&5
  4818. +if ac_fn_c_try_compile "$LINENO"; then :
  4819. - ac_c_werror_flag=$ac_save_c_werror_flag
  4820. +else
  4821. + ac_c_werror_flag=$ac_save_c_werror_flag
  4822. CFLAGS="-g"
  4823. - cat >conftest.$ac_ext <<_ACEOF
  4824. -/* confdefs.h. */
  4825. -_ACEOF
  4826. -cat confdefs.h >>conftest.$ac_ext
  4827. -cat >>conftest.$ac_ext <<_ACEOF
  4828. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4829. /* end confdefs.h. */
  4830. int
  4831. @@ -3191,42 +3648,17 @@
  4832. return 0;
  4833. }
  4834. _ACEOF
  4835. -rm -f conftest.$ac_objext
  4836. -if { (ac_try="$ac_compile"
  4837. -case "(($ac_try" in
  4838. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4839. - *) ac_try_echo=$ac_try;;
  4840. -esac
  4841. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4842. -$as_echo "$ac_try_echo") >&5
  4843. - (eval "$ac_compile") 2>conftest.er1
  4844. - ac_status=$?
  4845. - grep -v '^ *+' conftest.er1 >conftest.err
  4846. - rm -f conftest.er1
  4847. - cat conftest.err >&5
  4848. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4849. - (exit $ac_status); } && {
  4850. - test -z "$ac_c_werror_flag" ||
  4851. - test ! -s conftest.err
  4852. - } && test -s conftest.$ac_objext; then
  4853. +if ac_fn_c_try_compile "$LINENO"; then :
  4854. ac_cv_prog_cc_g=yes
  4855. -else
  4856. - $as_echo "$as_me: failed program was:" >&5
  4857. -sed 's/^/| /' conftest.$ac_ext >&5
  4858. -
  4859. -
  4860. fi
  4861. -
  4862. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4863. fi
  4864. -
  4865. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4866. fi
  4867. -
  4868. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4869. ac_c_werror_flag=$ac_save_c_werror_flag
  4870. fi
  4871. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4873. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4874. if test "$ac_test_CFLAGS" = set; then
  4875. CFLAGS=$ac_save_CFLAGS
  4876. @@ -3243,18 +3675,14 @@
  4877. CFLAGS=
  4878. fi
  4879. fi
  4880. -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4881. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4882. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4883. -if test "${ac_cv_prog_cc_c89+set}" = set; then
  4884. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  4885. $as_echo_n "(cached) " >&6
  4886. else
  4887. ac_cv_prog_cc_c89=no
  4888. ac_save_CC=$CC
  4889. -cat >conftest.$ac_ext <<_ACEOF
  4890. -/* confdefs.h. */
  4891. -_ACEOF
  4892. -cat confdefs.h >>conftest.$ac_ext
  4893. -cat >>conftest.$ac_ext <<_ACEOF
  4894. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4895. /* end confdefs.h. */
  4896. #include <stdarg.h>
  4897. #include <stdio.h>
  4898. @@ -3311,32 +3739,9 @@
  4899. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4900. do
  4901. CC="$ac_save_CC $ac_arg"
  4902. - rm -f conftest.$ac_objext
  4903. -if { (ac_try="$ac_compile"
  4904. -case "(($ac_try" in
  4905. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4906. - *) ac_try_echo=$ac_try;;
  4907. -esac
  4908. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4909. -$as_echo "$ac_try_echo") >&5
  4910. - (eval "$ac_compile") 2>conftest.er1
  4911. - ac_status=$?
  4912. - grep -v '^ *+' conftest.er1 >conftest.err
  4913. - rm -f conftest.er1
  4914. - cat conftest.err >&5
  4915. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4916. - (exit $ac_status); } && {
  4917. - test -z "$ac_c_werror_flag" ||
  4918. - test ! -s conftest.err
  4919. - } && test -s conftest.$ac_objext; then
  4920. + if ac_fn_c_try_compile "$LINENO"; then :
  4921. ac_cv_prog_cc_c89=$ac_arg
  4922. -else
  4923. - $as_echo "$as_me: failed program was:" >&5
  4924. -sed 's/^/| /' conftest.$ac_ext >&5
  4925. -
  4926. -
  4927. fi
  4928. -
  4929. rm -f core conftest.err conftest.$ac_objext
  4930. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4931. done
  4932. @@ -3347,17 +3752,19 @@
  4933. # AC_CACHE_VAL
  4934. case "x$ac_cv_prog_cc_c89" in
  4935. x)
  4936. - { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4938. $as_echo "none needed" >&6; } ;;
  4939. xno)
  4940. - { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4941. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4942. $as_echo "unsupported" >&6; } ;;
  4943. *)
  4944. CC="$CC $ac_cv_prog_cc_c89"
  4945. - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4946. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4947. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4948. esac
  4949. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  4950. +fi
  4951. ac_ext=c
  4952. ac_cpp='$CPP $CPPFLAGS'
  4953. @@ -3372,44 +3779,44 @@
  4954. am_make=${MAKE-make}
  4955. cat > confinc << 'END'
  4956. am__doit:
  4957. - @echo done
  4958. + @echo this is the am__doit target
  4959. .PHONY: am__doit
  4960. END
  4961. # If we don't find an include directive, just comment out the code.
  4962. -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  4963. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  4964. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  4965. am__include="#"
  4966. am__quote=
  4967. _am_result=none
  4968. # First try GNU make style include.
  4969. echo "include confinc" > confmf
  4970. -# We grep out `Entering directory' and `Leaving directory'
  4971. -# messages which can occur if `w' ends up in MAKEFLAGS.
  4972. -# In particular we don't look at `^make:' because GNU make might
  4973. -# be invoked under some other name (usually "gmake"), in which
  4974. -# case it prints its new name instead of `make'.
  4975. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  4976. - am__include=include
  4977. - am__quote=
  4978. - _am_result=GNU
  4979. -fi
  4980. +# Ignore all kinds of additional output from `make'.
  4981. +case `$am_make -s -f confmf 2> /dev/null` in #(
  4982. +*the\ am__doit\ target*)
  4983. + am__include=include
  4984. + am__quote=
  4985. + _am_result=GNU
  4986. + ;;
  4987. +esac
  4988. # Now try BSD make style include.
  4989. if test "$am__include" = "#"; then
  4990. echo '.include "confinc"' > confmf
  4991. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  4992. - am__include=.include
  4993. - am__quote="\""
  4994. - _am_result=BSD
  4995. - fi
  4996. + case `$am_make -s -f confmf 2> /dev/null` in #(
  4997. + *the\ am__doit\ target*)
  4998. + am__include=.include
  4999. + am__quote="\""
  5000. + _am_result=BSD
  5001. + ;;
  5002. + esac
  5003. fi
  5004. -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  5005. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  5006. $as_echo "$_am_result" >&6; }
  5007. rm -f confinc confmf
  5008. # Check whether --enable-dependency-tracking was given.
  5009. -if test "${enable_dependency_tracking+set}" = set; then
  5010. +if test "${enable_dependency_tracking+set}" = set; then :
  5011. enableval=$enable_dependency_tracking;
  5012. fi
  5013. @@ -3429,9 +3836,9 @@
  5014. depcc="$CC" am_compiler_list=
  5015. -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5016. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  5017. $as_echo_n "checking dependency style of $depcc... " >&6; }
  5018. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5019. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  5020. $as_echo_n "(cached) " >&6
  5021. else
  5022. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5023. @@ -3457,6 +3864,11 @@
  5024. if test "$am_compiler_list" = ""; then
  5025. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5026. fi
  5027. + am__universal=false
  5028. + case " $depcc " in #(
  5029. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  5030. + esac
  5031. +
  5032. for depmode in $am_compiler_list; do
  5033. # Setup a source with many dependencies, because some compilers
  5034. # like to wrap large dependency lists on column 80 (with \), and
  5035. @@ -3474,7 +3886,17 @@
  5036. done
  5037. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5038. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5039. + # mode. It turns out that the SunPro C++ compiler does not properly
  5040. + # handle `-M -o', and we need to detect this. Also, some Intel
  5041. + # versions had trouble with output in subdirs
  5042. + am__obj=sub/conftest.${OBJEXT-o}
  5043. + am__minus_obj="-o $am__obj"
  5044. case $depmode in
  5045. + gcc)
  5046. + # This depmode causes a compiler race in universal mode.
  5047. + test "$am__universal" = false || continue
  5048. + ;;
  5049. nosideeffect)
  5050. # after this tag, mechanisms are not by side-effect, so they'll
  5051. # only be used when explicitly requested
  5052. @@ -3484,19 +3906,23 @@
  5053. break
  5054. fi
  5055. ;;
  5056. + msvisualcpp | msvcmsys)
  5057. + # This compiler won't grok `-c -o', but also, the minuso test has
  5058. + # not run yet. These depmodes are late enough in the game, and
  5059. + # so weak that their functioning should not be impacted.
  5060. + am__obj=conftest.${OBJEXT-o}
  5061. + am__minus_obj=
  5062. + ;;
  5063. none) break ;;
  5064. esac
  5065. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5066. - # mode. It turns out that the SunPro C++ compiler does not properly
  5067. - # handle `-M -o', and we need to detect this.
  5068. if depmode=$depmode \
  5069. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5070. + source=sub/conftest.c object=$am__obj \
  5071. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5072. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5073. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  5074. >/dev/null 2>conftest.err &&
  5075. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  5076. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5077. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5078. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  5079. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5080. # icc doesn't choke on unknown options, it will just issue warnings
  5081. # or remarks (even with -Werror). So we grep stderr for any message
  5082. @@ -3520,7 +3946,7 @@
  5083. fi
  5084. fi
  5085. -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5086. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  5087. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5088. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5089. @@ -3538,9 +3964,9 @@
  5090. if test -n "$ac_tool_prefix"; then
  5091. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5092. set dummy ${ac_tool_prefix}ar; ac_word=$2
  5093. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5094. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5095. $as_echo_n "checking for $ac_word... " >&6; }
  5096. -if test "${ac_cv_prog_AR+set}" = set; then
  5097. +if test "${ac_cv_prog_AR+set}" = set; then :
  5098. $as_echo_n "(cached) " >&6
  5099. else
  5100. if test -n "$AR"; then
  5101. @@ -3551,24 +3977,24 @@
  5102. do
  5103. IFS=$as_save_IFS
  5104. test -z "$as_dir" && as_dir=.
  5105. - for ac_exec_ext in '' $ac_executable_extensions; do
  5106. + for ac_exec_ext in '' $ac_executable_extensions; do
  5107. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5108. ac_cv_prog_AR="${ac_tool_prefix}ar"
  5109. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5110. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5111. break 2
  5112. fi
  5113. done
  5114. -done
  5115. + done
  5116. IFS=$as_save_IFS
  5117. fi
  5118. fi
  5119. AR=$ac_cv_prog_AR
  5120. if test -n "$AR"; then
  5121. - { $as_echo "$as_me:$LINENO: result: $AR" >&5
  5122. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5123. $as_echo "$AR" >&6; }
  5124. else
  5125. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5126. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5127. $as_echo "no" >&6; }
  5128. fi
  5129. @@ -3578,9 +4004,9 @@
  5130. ac_ct_AR=$AR
  5131. # Extract the first word of "ar", so it can be a program name with args.
  5132. set dummy ar; ac_word=$2
  5133. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5134. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5135. $as_echo_n "checking for $ac_word... " >&6; }
  5136. -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  5137. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  5138. $as_echo_n "(cached) " >&6
  5139. else
  5140. if test -n "$ac_ct_AR"; then
  5141. @@ -3591,24 +4017,24 @@
  5142. do
  5143. IFS=$as_save_IFS
  5144. test -z "$as_dir" && as_dir=.
  5145. - for ac_exec_ext in '' $ac_executable_extensions; do
  5146. + for ac_exec_ext in '' $ac_executable_extensions; do
  5147. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5148. ac_cv_prog_ac_ct_AR="ar"
  5149. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5150. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5151. break 2
  5152. fi
  5153. done
  5154. -done
  5155. + done
  5156. IFS=$as_save_IFS
  5157. fi
  5158. fi
  5159. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5160. if test -n "$ac_ct_AR"; then
  5161. - { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  5162. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5163. $as_echo "$ac_ct_AR" >&6; }
  5164. else
  5165. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5166. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5167. $as_echo "no" >&6; }
  5168. fi
  5169. @@ -3617,7 +4043,7 @@
  5170. else
  5171. case $cross_compiling:$ac_tool_warned in
  5172. yes:)
  5173. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5174. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5175. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5176. ac_tool_warned=yes ;;
  5177. esac
  5178. @@ -3628,16 +4054,14 @@
  5179. fi
  5180. if test "$AR" = no ; then
  5181. - { { $as_echo "$as_me:$LINENO: error: Please make sure that \"ar\" is in your PATH." >&5
  5182. -$as_echo "$as_me: error: Please make sure that \"ar\" is in your PATH." >&2;}
  5183. - { (exit 1); exit 1; }; }
  5184. + as_fn_error "Please make sure that \"ar\" is in your PATH." "$LINENO" 5
  5185. fi
  5186. if test -n "$ac_tool_prefix"; then
  5187. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5188. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5189. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5190. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5191. $as_echo_n "checking for $ac_word... " >&6; }
  5192. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  5193. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  5194. $as_echo_n "(cached) " >&6
  5195. else
  5196. if test -n "$RANLIB"; then
  5197. @@ -3648,24 +4072,24 @@
  5198. do
  5199. IFS=$as_save_IFS
  5200. test -z "$as_dir" && as_dir=.
  5201. - for ac_exec_ext in '' $ac_executable_extensions; do
  5202. + for ac_exec_ext in '' $ac_executable_extensions; do
  5203. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5204. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5205. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5206. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5207. break 2
  5208. fi
  5209. done
  5210. -done
  5211. + done
  5212. IFS=$as_save_IFS
  5213. fi
  5214. fi
  5215. RANLIB=$ac_cv_prog_RANLIB
  5216. if test -n "$RANLIB"; then
  5217. - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  5218. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5219. $as_echo "$RANLIB" >&6; }
  5220. else
  5221. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5222. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5223. $as_echo "no" >&6; }
  5224. fi
  5225. @@ -3675,9 +4099,9 @@
  5226. ac_ct_RANLIB=$RANLIB
  5227. # Extract the first word of "ranlib", so it can be a program name with args.
  5228. set dummy ranlib; ac_word=$2
  5229. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5230. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5231. $as_echo_n "checking for $ac_word... " >&6; }
  5232. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  5233. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  5234. $as_echo_n "(cached) " >&6
  5235. else
  5236. if test -n "$ac_ct_RANLIB"; then
  5237. @@ -3688,24 +4112,24 @@
  5238. do
  5239. IFS=$as_save_IFS
  5240. test -z "$as_dir" && as_dir=.
  5241. - for ac_exec_ext in '' $ac_executable_extensions; do
  5242. + for ac_exec_ext in '' $ac_executable_extensions; do
  5243. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5244. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5245. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5246. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5247. break 2
  5248. fi
  5249. done
  5250. -done
  5251. + done
  5252. IFS=$as_save_IFS
  5253. fi
  5254. fi
  5255. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5256. if test -n "$ac_ct_RANLIB"; then
  5257. - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  5258. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5259. $as_echo "$ac_ct_RANLIB" >&6; }
  5260. else
  5261. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5262. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5263. $as_echo "no" >&6; }
  5264. fi
  5265. @@ -3714,7 +4138,7 @@
  5266. else
  5267. case $cross_compiling:$ac_tool_warned in
  5268. yes:)
  5269. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5270. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5271. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5272. ac_tool_warned=yes ;;
  5273. esac
  5274. @@ -3728,9 +4152,9 @@
  5275. do
  5276. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5277. set dummy $ac_prog; ac_word=$2
  5278. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5279. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5280. $as_echo_n "checking for $ac_word... " >&6; }
  5281. -if test "${ac_cv_path_PERL+set}" = set; then
  5282. +if test "${ac_cv_path_PERL+set}" = set; then :
  5283. $as_echo_n "(cached) " >&6
  5284. else
  5285. case $PERL in
  5286. @@ -3744,14 +4168,14 @@
  5287. do
  5288. IFS=$as_save_IFS
  5289. test -z "$as_dir" && as_dir=.
  5290. - for ac_exec_ext in '' $ac_executable_extensions; do
  5291. + for ac_exec_ext in '' $ac_executable_extensions; do
  5292. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5293. ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  5294. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5295. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5296. break 2
  5297. fi
  5298. done
  5299. -done
  5300. + done
  5301. IFS=$as_save_IFS
  5302. ;;
  5303. @@ -3759,10 +4183,10 @@
  5304. fi
  5305. PERL=$ac_cv_path_PERL
  5306. if test -n "$PERL"; then
  5307. - { $as_echo "$as_me:$LINENO: result: $PERL" >&5
  5308. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
  5309. $as_echo "$PERL" >&6; }
  5310. else
  5311. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5312. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5313. $as_echo "no" >&6; }
  5314. fi
  5315. @@ -3774,9 +4198,9 @@
  5316. do
  5317. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5318. set dummy $ac_prog; ac_word=$2
  5319. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5320. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5321. $as_echo_n "checking for $ac_word... " >&6; }
  5322. -if test "${ac_cv_path_NSGMLS+set}" = set; then
  5323. +if test "${ac_cv_path_NSGMLS+set}" = set; then :
  5324. $as_echo_n "(cached) " >&6
  5325. else
  5326. case $NSGMLS in
  5327. @@ -3789,14 +4213,14 @@
  5328. do
  5329. IFS=$as_save_IFS
  5330. test -z "$as_dir" && as_dir=.
  5331. - for ac_exec_ext in '' $ac_executable_extensions; do
  5332. + for ac_exec_ext in '' $ac_executable_extensions; do
  5333. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5334. ac_cv_path_NSGMLS="$as_dir/$ac_word$ac_exec_ext"
  5335. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5336. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5337. break 2
  5338. fi
  5339. done
  5340. -done
  5341. + done
  5342. IFS=$as_save_IFS
  5343. ;;
  5344. @@ -3804,10 +4228,10 @@
  5345. fi
  5346. NSGMLS=$ac_cv_path_NSGMLS
  5347. if test -n "$NSGMLS"; then
  5348. - { $as_echo "$as_me:$LINENO: result: $NSGMLS" >&5
  5349. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NSGMLS" >&5
  5350. $as_echo "$NSGMLS" >&6; }
  5351. else
  5352. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5353. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5354. $as_echo "no" >&6; }
  5355. fi
  5356. @@ -3820,9 +4244,9 @@
  5357. do
  5358. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5359. set dummy $ac_prog; ac_word=$2
  5360. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5361. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5362. $as_echo_n "checking for $ac_word... " >&6; }
  5363. -if test "${ac_cv_path_RPMBUILD+set}" = set; then
  5364. +if test "${ac_cv_path_RPMBUILD+set}" = set; then :
  5365. $as_echo_n "(cached) " >&6
  5366. else
  5367. case $RPMBUILD in
  5368. @@ -3835,14 +4259,14 @@
  5369. do
  5370. IFS=$as_save_IFS
  5371. test -z "$as_dir" && as_dir=.
  5372. - for ac_exec_ext in '' $ac_executable_extensions; do
  5373. + for ac_exec_ext in '' $ac_executable_extensions; do
  5374. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5375. ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext"
  5376. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5377. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5378. break 2
  5379. fi
  5380. done
  5381. -done
  5382. + done
  5383. IFS=$as_save_IFS
  5384. ;;
  5385. @@ -3850,10 +4274,10 @@
  5386. fi
  5387. RPMBUILD=$ac_cv_path_RPMBUILD
  5388. if test -n "$RPMBUILD"; then
  5389. - { $as_echo "$as_me:$LINENO: result: $RPMBUILD" >&5
  5390. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5
  5391. $as_echo "$RPMBUILD" >&6; }
  5392. else
  5393. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5394. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5395. $as_echo "no" >&6; }
  5396. fi
  5397. @@ -3867,9 +4291,9 @@
  5398. do
  5399. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5400. set dummy $ac_prog; ac_word=$2
  5401. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5402. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5403. $as_echo_n "checking for $ac_word... " >&6; }
  5404. -if test "${ac_cv_prog_LEX+set}" = set; then
  5405. +if test "${ac_cv_prog_LEX+set}" = set; then :
  5406. $as_echo_n "(cached) " >&6
  5407. else
  5408. if test -n "$LEX"; then
  5409. @@ -3880,24 +4304,24 @@
  5410. do
  5411. IFS=$as_save_IFS
  5412. test -z "$as_dir" && as_dir=.
  5413. - for ac_exec_ext in '' $ac_executable_extensions; do
  5414. + for ac_exec_ext in '' $ac_executable_extensions; do
  5415. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5416. ac_cv_prog_LEX="$ac_prog"
  5417. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5418. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5419. break 2
  5420. fi
  5421. done
  5422. -done
  5423. + done
  5424. IFS=$as_save_IFS
  5425. fi
  5426. fi
  5427. LEX=$ac_cv_prog_LEX
  5428. if test -n "$LEX"; then
  5429. - { $as_echo "$as_me:$LINENO: result: $LEX" >&5
  5430. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
  5431. $as_echo "$LEX" >&6; }
  5432. else
  5433. - { $as_echo "$as_me:$LINENO: result: no" >&5
  5434. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5435. $as_echo "no" >&6; }
  5436. fi
  5437. @@ -3926,20 +4350,20 @@
  5438. return ! yylex () + ! yywrap ();
  5439. }
  5440. _ACEOF
  5441. -{ (ac_try="$LEX conftest.l"
  5442. +{ { ac_try="$LEX conftest.l"
  5443. case "(($ac_try" in
  5444. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5445. *) ac_try_echo=$ac_try;;
  5446. esac
  5447. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5448. -$as_echo "$ac_try_echo") >&5
  5449. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5450. +$as_echo "$ac_try_echo"; } >&5
  5451. (eval "$LEX conftest.l") 2>&5
  5452. ac_status=$?
  5453. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5454. - (exit $ac_status); }
  5455. -{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
  5456. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5457. + test $ac_status = 0; }
  5458. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
  5459. $as_echo_n "checking lex output file root... " >&6; }
  5460. -if test "${ac_cv_prog_lex_root+set}" = set; then
  5461. +if test "${ac_cv_prog_lex_root+set}" = set; then :
  5462. $as_echo_n "(cached) " >&6
  5463. else
  5464. @@ -3948,19 +4372,17 @@
  5465. elif test -f lexyy.c; then
  5466. ac_cv_prog_lex_root=lexyy
  5467. else
  5468. - { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
  5469. -$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
  5470. - { (exit 1); exit 1; }; }
  5471. + as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
  5472. fi
  5473. fi
  5474. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
  5475. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
  5476. $as_echo "$ac_cv_prog_lex_root" >&6; }
  5477. LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  5478. if test -z "${LEXLIB+set}"; then
  5479. - { $as_echo "$as_me:$LINENO: checking lex library" >&5
  5480. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
  5481. $as_echo_n "checking lex library... " >&6; }
  5482. -if test "${ac_cv_lib_lex+set}" = set; then
  5483. +if test "${ac_cv_lib_lex+set}" = set; then :
  5484. $as_echo_n "(cached) " >&6
  5485. else
  5486. @@ -3968,55 +4390,29 @@
  5487. ac_cv_lib_lex='none needed'
  5488. for ac_lib in '' -lfl -ll; do
  5489. LIBS="$ac_lib $ac_save_LIBS"
  5490. - cat >conftest.$ac_ext <<_ACEOF
  5491. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5492. +/* end confdefs.h. */
  5493. `cat $LEX_OUTPUT_ROOT.c`
  5494. _ACEOF
  5495. -rm -f conftest.$ac_objext conftest$ac_exeext
  5496. -if { (ac_try="$ac_link"
  5497. -case "(($ac_try" in
  5498. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5499. - *) ac_try_echo=$ac_try;;
  5500. -esac
  5501. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5502. -$as_echo "$ac_try_echo") >&5
  5503. - (eval "$ac_link") 2>conftest.er1
  5504. - ac_status=$?
  5505. - grep -v '^ *+' conftest.er1 >conftest.err
  5506. - rm -f conftest.er1
  5507. - cat conftest.err >&5
  5508. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5509. - (exit $ac_status); } && {
  5510. - test -z "$ac_c_werror_flag" ||
  5511. - test ! -s conftest.err
  5512. - } && test -s conftest$ac_exeext && {
  5513. - test "$cross_compiling" = yes ||
  5514. - $as_test_x conftest$ac_exeext
  5515. - }; then
  5516. +if ac_fn_c_try_link "$LINENO"; then :
  5517. ac_cv_lib_lex=$ac_lib
  5518. -else
  5519. - $as_echo "$as_me: failed program was:" >&5
  5520. -sed 's/^/| /' conftest.$ac_ext >&5
  5521. -
  5522. -
  5523. fi
  5524. -
  5525. -rm -rf conftest.dSYM
  5526. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5527. - conftest$ac_exeext conftest.$ac_ext
  5528. +rm -f core conftest.err conftest.$ac_objext \
  5529. + conftest$ac_exeext conftest.$ac_ext
  5530. test "$ac_cv_lib_lex" != 'none needed' && break
  5531. done
  5532. LIBS=$ac_save_LIBS
  5533. fi
  5534. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
  5535. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
  5536. $as_echo "$ac_cv_lib_lex" >&6; }
  5537. test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  5538. fi
  5539. -{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
  5540. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
  5541. $as_echo_n "checking whether yytext is a pointer... " >&6; }
  5542. -if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
  5543. +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
  5544. $as_echo_n "(cached) " >&6
  5545. else
  5546. # POSIX says lex can declare yytext either as a pointer or an array; the
  5547. @@ -4025,52 +4421,24 @@
  5548. ac_cv_prog_lex_yytext_pointer=no
  5549. ac_save_LIBS=$LIBS
  5550. LIBS="$LEXLIB $ac_save_LIBS"
  5551. -cat >conftest.$ac_ext <<_ACEOF
  5552. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5553. +/* end confdefs.h. */
  5554. #define YYTEXT_POINTER 1
  5555. `cat $LEX_OUTPUT_ROOT.c`
  5556. _ACEOF
  5557. -rm -f conftest.$ac_objext conftest$ac_exeext
  5558. -if { (ac_try="$ac_link"
  5559. -case "(($ac_try" in
  5560. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5561. - *) ac_try_echo=$ac_try;;
  5562. -esac
  5563. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5564. -$as_echo "$ac_try_echo") >&5
  5565. - (eval "$ac_link") 2>conftest.er1
  5566. - ac_status=$?
  5567. - grep -v '^ *+' conftest.er1 >conftest.err
  5568. - rm -f conftest.er1
  5569. - cat conftest.err >&5
  5570. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5571. - (exit $ac_status); } && {
  5572. - test -z "$ac_c_werror_flag" ||
  5573. - test ! -s conftest.err
  5574. - } && test -s conftest$ac_exeext && {
  5575. - test "$cross_compiling" = yes ||
  5576. - $as_test_x conftest$ac_exeext
  5577. - }; then
  5578. +if ac_fn_c_try_link "$LINENO"; then :
  5579. ac_cv_prog_lex_yytext_pointer=yes
  5580. -else
  5581. - $as_echo "$as_me: failed program was:" >&5
  5582. -sed 's/^/| /' conftest.$ac_ext >&5
  5583. -
  5584. -
  5585. fi
  5586. -
  5587. -rm -rf conftest.dSYM
  5588. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5589. - conftest$ac_exeext conftest.$ac_ext
  5590. +rm -f core conftest.err conftest.$ac_objext \
  5591. + conftest$ac_exeext conftest.$ac_ext
  5592. LIBS=$ac_save_LIBS
  5593. fi
  5594. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
  5595. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
  5596. $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  5597. if test $ac_cv_prog_lex_yytext_pointer = yes; then
  5598. -cat >>confdefs.h <<\_ACEOF
  5599. -#define YYTEXT_POINTER 1
  5600. -_ACEOF
  5601. +$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
  5602. fi
  5603. rm -f conftest.l $LEX_OUTPUT_ROOT.c
  5604. @@ -4080,16 +4448,12 @@
  5605. LEX=${am_missing_run}flex
  5606. fi
  5607. -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  5608. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  5609. $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  5610. -if test "${ac_cv_c_const+set}" = set; then
  5611. +if test "${ac_cv_c_const+set}" = set; then :
  5612. $as_echo_n "(cached) " >&6
  5613. else
  5614. - cat >conftest.$ac_ext <<_ACEOF
  5615. -/* confdefs.h. */
  5616. -_ACEOF
  5617. -cat confdefs.h >>conftest.$ac_ext
  5618. -cat >>conftest.$ac_ext <<_ACEOF
  5619. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5620. /* end confdefs.h. */
  5621. int
  5622. @@ -4149,56 +4513,29 @@
  5623. return 0;
  5624. }
  5625. _ACEOF
  5626. -rm -f conftest.$ac_objext
  5627. -if { (ac_try="$ac_compile"
  5628. -case "(($ac_try" in
  5629. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5630. - *) ac_try_echo=$ac_try;;
  5631. -esac
  5632. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5633. -$as_echo "$ac_try_echo") >&5
  5634. - (eval "$ac_compile") 2>conftest.er1
  5635. - ac_status=$?
  5636. - grep -v '^ *+' conftest.er1 >conftest.err
  5637. - rm -f conftest.er1
  5638. - cat conftest.err >&5
  5639. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5640. - (exit $ac_status); } && {
  5641. - test -z "$ac_c_werror_flag" ||
  5642. - test ! -s conftest.err
  5643. - } && test -s conftest.$ac_objext; then
  5644. +if ac_fn_c_try_compile "$LINENO"; then :
  5645. ac_cv_c_const=yes
  5646. else
  5647. - $as_echo "$as_me: failed program was:" >&5
  5648. -sed 's/^/| /' conftest.$ac_ext >&5
  5649. -
  5650. - ac_cv_c_const=no
  5651. + ac_cv_c_const=no
  5652. fi
  5653. -
  5654. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5655. fi
  5656. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  5657. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  5658. $as_echo "$ac_cv_c_const" >&6; }
  5659. if test $ac_cv_c_const = no; then
  5660. -cat >>confdefs.h <<\_ACEOF
  5661. -#define const /**/
  5662. -_ACEOF
  5663. +$as_echo "#define const /**/" >>confdefs.h
  5664. fi
  5665. -{ $as_echo "$as_me:$LINENO: checking for inline" >&5
  5666. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  5667. $as_echo_n "checking for inline... " >&6; }
  5668. -if test "${ac_cv_c_inline+set}" = set; then
  5669. +if test "${ac_cv_c_inline+set}" = set; then :
  5670. $as_echo_n "(cached) " >&6
  5671. else
  5672. ac_cv_c_inline=no
  5673. for ac_kw in inline __inline__ __inline; do
  5674. - cat >conftest.$ac_ext <<_ACEOF
  5675. -/* confdefs.h. */
  5676. -_ACEOF
  5677. -cat confdefs.h >>conftest.$ac_ext
  5678. -cat >>conftest.$ac_ext <<_ACEOF
  5679. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5680. /* end confdefs.h. */
  5681. #ifndef __cplusplus
  5682. typedef int foo_t;
  5683. @@ -4207,41 +4544,17 @@
  5684. #endif
  5685. _ACEOF
  5686. -rm -f conftest.$ac_objext
  5687. -if { (ac_try="$ac_compile"
  5688. -case "(($ac_try" in
  5689. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5690. - *) ac_try_echo=$ac_try;;
  5691. -esac
  5692. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5693. -$as_echo "$ac_try_echo") >&5
  5694. - (eval "$ac_compile") 2>conftest.er1
  5695. - ac_status=$?
  5696. - grep -v '^ *+' conftest.er1 >conftest.err
  5697. - rm -f conftest.er1
  5698. - cat conftest.err >&5
  5699. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5700. - (exit $ac_status); } && {
  5701. - test -z "$ac_c_werror_flag" ||
  5702. - test ! -s conftest.err
  5703. - } && test -s conftest.$ac_objext; then
  5704. +if ac_fn_c_try_compile "$LINENO"; then :
  5705. ac_cv_c_inline=$ac_kw
  5706. -else
  5707. - $as_echo "$as_me: failed program was:" >&5
  5708. -sed 's/^/| /' conftest.$ac_ext >&5
  5709. -
  5710. -
  5711. fi
  5712. -
  5713. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5714. test "$ac_cv_c_inline" != no && break
  5715. done
  5716. fi
  5717. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
  5718. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  5719. $as_echo "$ac_cv_c_inline" >&6; }
  5720. -
  5721. case $ac_cv_c_inline in
  5722. inline | yes) ;;
  5723. *)
  5724. @@ -4257,16 +4570,12 @@
  5725. ;;
  5726. esac
  5727. -{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5
  5728. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
  5729. $as_echo_n "checking for working volatile... " >&6; }
  5730. -if test "${ac_cv_c_volatile+set}" = set; then
  5731. +if test "${ac_cv_c_volatile+set}" = set; then :
  5732. $as_echo_n "(cached) " >&6
  5733. else
  5734. - cat >conftest.$ac_ext <<_ACEOF
  5735. -/* confdefs.h. */
  5736. -_ACEOF
  5737. -cat confdefs.h >>conftest.$ac_ext
  5738. -cat >>conftest.$ac_ext <<_ACEOF
  5739. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5740. /* end confdefs.h. */
  5741. int
  5742. @@ -4280,65 +4589,36 @@
  5743. return 0;
  5744. }
  5745. _ACEOF
  5746. -rm -f conftest.$ac_objext
  5747. -if { (ac_try="$ac_compile"
  5748. -case "(($ac_try" in
  5749. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5750. - *) ac_try_echo=$ac_try;;
  5751. -esac
  5752. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5753. -$as_echo "$ac_try_echo") >&5
  5754. - (eval "$ac_compile") 2>conftest.er1
  5755. - ac_status=$?
  5756. - grep -v '^ *+' conftest.er1 >conftest.err
  5757. - rm -f conftest.er1
  5758. - cat conftest.err >&5
  5759. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5760. - (exit $ac_status); } && {
  5761. - test -z "$ac_c_werror_flag" ||
  5762. - test ! -s conftest.err
  5763. - } && test -s conftest.$ac_objext; then
  5764. +if ac_fn_c_try_compile "$LINENO"; then :
  5765. ac_cv_c_volatile=yes
  5766. else
  5767. - $as_echo "$as_me: failed program was:" >&5
  5768. -sed 's/^/| /' conftest.$ac_ext >&5
  5769. -
  5770. - ac_cv_c_volatile=no
  5771. + ac_cv_c_volatile=no
  5772. fi
  5773. -
  5774. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5775. fi
  5776. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
  5777. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
  5778. $as_echo "$ac_cv_c_volatile" >&6; }
  5779. if test $ac_cv_c_volatile = no; then
  5780. -cat >>confdefs.h <<\_ACEOF
  5781. -#define volatile /**/
  5782. -_ACEOF
  5783. +$as_echo "#define volatile /**/" >>confdefs.h
  5784. fi
  5785. if test "$ac_cv_c_inline" != no ; then
  5786. -cat >>confdefs.h <<\_ACEOF
  5787. -#define HAVE_INLINE 1
  5788. -_ACEOF
  5789. +$as_echo "#define HAVE_INLINE 1" >>confdefs.h
  5790. fi
  5791. -{ $as_echo "$as_me:$LINENO: checking for extern inline" >&5
  5792. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern inline" >&5
  5793. $as_echo_n "checking for extern inline... " >&6; }
  5794. -if test "${ac_cv_c_extern_inline+set}" = set; then
  5795. +if test "${ac_cv_c_extern_inline+set}" = set; then :
  5796. $as_echo_n "(cached) " >&6
  5797. else
  5798. ac_cv_c_extern_inline=no
  5799. -cat >conftest.$ac_ext <<_ACEOF
  5800. -/* confdefs.h. */
  5801. -_ACEOF
  5802. -cat confdefs.h >>conftest.$ac_ext
  5803. -cat >>conftest.$ac_ext <<_ACEOF
  5804. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5805. /* end confdefs.h. */
  5806. extern $ac_cv_c_inline double foo(double x);
  5807. extern $ac_cv_c_inline double foo(double x) { return x+1.0; };
  5808. @@ -4351,50 +4631,25 @@
  5809. return 0;
  5810. }
  5811. _ACEOF
  5812. -rm -f conftest.$ac_objext
  5813. -if { (ac_try="$ac_compile"
  5814. -case "(($ac_try" in
  5815. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5816. - *) ac_try_echo=$ac_try;;
  5817. -esac
  5818. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5819. -$as_echo "$ac_try_echo") >&5
  5820. - (eval "$ac_compile") 2>conftest.er1
  5821. - ac_status=$?
  5822. - grep -v '^ *+' conftest.er1 >conftest.err
  5823. - rm -f conftest.er1
  5824. - cat conftest.err >&5
  5825. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5826. - (exit $ac_status); } && {
  5827. - test -z "$ac_c_werror_flag" ||
  5828. - test ! -s conftest.err
  5829. - } && test -s conftest.$ac_objext; then
  5830. +if ac_fn_c_try_compile "$LINENO"; then :
  5831. ac_cv_c_extern_inline="yes"
  5832. -else
  5833. - $as_echo "$as_me: failed program was:" >&5
  5834. -sed 's/^/| /' conftest.$ac_ext >&5
  5835. -
  5836. -
  5837. fi
  5838. -
  5839. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5840. fi
  5841. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_extern_inline" >&5
  5842. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_inline" >&5
  5843. $as_echo "$ac_cv_c_extern_inline" >&6; }
  5844. if test "$ac_cv_c_extern_inline" != no ; then
  5845. -cat >>confdefs.h <<\_ACEOF
  5846. -#define HAVE_EXTERN_INLINE 1
  5847. -_ACEOF
  5848. +$as_echo "#define HAVE_EXTERN_INLINE 1" >>confdefs.h
  5849. fi
  5850. -{ $as_echo "$as_me:$LINENO: checking for a working shell..." >&5
  5851. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working shell..." >&5
  5852. $as_echo_n "checking for a working shell...... " >&6; }
  5853. for i in /usr/xpg6/bin/sh /usr/xpg4/bin/sh /usr/ccs/bin/sh /bin/sh /usr/bin/sh /bin/ksh /bin/bash /usr/local/bin/bash ; do
  5854. $i -c 'if ! false ; then echo $(echo ok) ; fi' >config.$$ 2>/dev/null
  5855. @@ -4406,12 +4661,11 @@
  5856. break
  5857. fi
  5858. done
  5859. -{ $as_echo "$as_me:$LINENO: result: $SHELL" >&5
  5860. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHELL" >&5
  5861. $as_echo "$SHELL" >&6; }
  5862. if test "x$SHELL" = "x" ; then
  5863. - { { $as_echo "$as_me:$LINENO: error: no SUS compliant shell found - on Solaris" >&5
  5864. -$as_echo "$as_me: error: no SUS compliant shell found - on Solaris" >&2;}
  5865. - { (exit install SUNWxcu4); exit install SUNWxcu4; }; }
  5866. + { as_fn_set_status install SUNWxcu4
  5867. +as_fn_error "no SUS compliant shell found - on Solaris" "$LINENO" 5; }
  5868. fi
  5869. if test "x$target_cpu" = "xs390" && test "x$GCC" = "xyes" ; then
  5870. @@ -4420,7 +4674,7 @@
  5871. OCFLAGS="$CFLAGS"
  5872. CFLAGS="`echo \"$CFLAGS\" | sed 's/-O[s1-9][0-9]*/-O1/'`"
  5873. export CFLAGS
  5874. - { $as_echo "$as_me:$LINENO: GCC for s390: Overriding CFLAGS \"$OCFLAGS\" to \"$CFLAGS\"." >&5
  5875. + { $as_echo "$as_me:${as_lineno-$LINENO}: GCC for s390: Overriding CFLAGS \"$OCFLAGS\" to \"$CFLAGS\"." >&5
  5876. $as_echo "$as_me: GCC for s390: Overriding CFLAGS \"$OCFLAGS\" to \"$CFLAGS\"." >&6;}
  5877. esac
  5878. fi
  5879. @@ -4440,7 +4694,7 @@
  5880. *) CFLAGS="$CFLAGS$i " ;;
  5881. esac
  5882. done
  5883. - { $as_echo "$as_me:$LINENO: dgux: Removing -g options from CFLAGS, new: \"$CFLAGS\"." >&5
  5884. + { $as_echo "$as_me:${as_lineno-$LINENO}: dgux: Removing -g options from CFLAGS, new: \"$CFLAGS\"." >&5
  5885. $as_echo "$as_me: dgux: Removing -g options from CFLAGS, new: \"$CFLAGS\"." >&6;}
  5886. ;;
  5887. esac
  5888. @@ -4451,18 +4705,18 @@
  5889. esac
  5890. if test "$GCC" = yes ; then
  5891. - { $as_echo "$as_me:$LINENO: checking if gcc is really Intel C++" >&5
  5892. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc is really Intel C++" >&5
  5893. $as_echo_n "checking if gcc is really Intel C++... " >&6; }
  5894. case "`$CC -V 2>&1`" in
  5895. [iI][nN][tT][eE][lL]*) ICC=yes ;;
  5896. *) ICC=no ;;
  5897. esac
  5898. - { $as_echo "$as_me:$LINENO: result: $ICC" >&5
  5899. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICC" >&5
  5900. $as_echo "$ICC" >&6; }
  5901. fi
  5902. -{ $as_echo "$as_me:$LINENO: checking for additional compiler options" >&5
  5903. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional compiler options" >&5
  5904. $as_echo_n "checking for additional compiler options... " >&6; }
  5905. -if test "${ac_cv_prog_gcc_flags+set}" = set; then
  5906. +if test "${ac_cv_prog_gcc_flags+set}" = set; then :
  5907. $as_echo_n "(cached) " >&6
  5908. else
  5909. @@ -4497,7 +4751,7 @@
  5910. done
  5911. fi
  5912. fi
  5913. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_flags" >&5
  5914. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_flags" >&5
  5915. $as_echo "$ac_cv_prog_gcc_flags" >&6; }
  5916. rm -f configure-dummy.c configure-dummy.o
  5917. CFLAGS="$CFLAGS $ac_cv_prog_gcc_flags"
  5918. @@ -4546,15 +4800,15 @@
  5919. # Check whether --enable-largefile was given.
  5920. -if test "${enable_largefile+set}" = set; then
  5921. +if test "${enable_largefile+set}" = set; then :
  5922. enableval=$enable_largefile;
  5923. fi
  5924. if test "$enable_largefile" != no; then
  5925. - { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
  5926. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  5927. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  5928. -if test "${ac_cv_sys_largefile_CC+set}" = set; then
  5929. +if test "${ac_cv_sys_largefile_CC+set}" = set; then :
  5930. $as_echo_n "(cached) " >&6
  5931. else
  5932. ac_cv_sys_largefile_CC=no
  5933. @@ -4563,11 +4817,7 @@
  5934. while :; do
  5935. # IRIX 6.2 and later do not support large files by default,
  5936. # so use the C compiler's -n32 option if that helps.
  5937. - cat >conftest.$ac_ext <<_ACEOF
  5938. -/* confdefs.h. */
  5939. -_ACEOF
  5940. -cat confdefs.h >>conftest.$ac_ext
  5941. -cat >>conftest.$ac_ext <<_ACEOF
  5942. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5943. /* end confdefs.h. */
  5944. #include <sys/types.h>
  5945. /* Check that off_t can represent 2**63 - 1 correctly.
  5946. @@ -4586,60 +4836,14 @@
  5947. return 0;
  5948. }
  5949. _ACEOF
  5950. - rm -f conftest.$ac_objext
  5951. -if { (ac_try="$ac_compile"
  5952. -case "(($ac_try" in
  5953. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5954. - *) ac_try_echo=$ac_try;;
  5955. -esac
  5956. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5957. -$as_echo "$ac_try_echo") >&5
  5958. - (eval "$ac_compile") 2>conftest.er1
  5959. - ac_status=$?
  5960. - grep -v '^ *+' conftest.er1 >conftest.err
  5961. - rm -f conftest.er1
  5962. - cat conftest.err >&5
  5963. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5964. - (exit $ac_status); } && {
  5965. - test -z "$ac_c_werror_flag" ||
  5966. - test ! -s conftest.err
  5967. - } && test -s conftest.$ac_objext; then
  5968. + if ac_fn_c_try_compile "$LINENO"; then :
  5969. break
  5970. -else
  5971. - $as_echo "$as_me: failed program was:" >&5
  5972. -sed 's/^/| /' conftest.$ac_ext >&5
  5973. -
  5974. -
  5975. fi
  5976. -
  5977. rm -f core conftest.err conftest.$ac_objext
  5978. CC="$CC -n32"
  5979. - rm -f conftest.$ac_objext
  5980. -if { (ac_try="$ac_compile"
  5981. -case "(($ac_try" in
  5982. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5983. - *) ac_try_echo=$ac_try;;
  5984. -esac
  5985. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5986. -$as_echo "$ac_try_echo") >&5
  5987. - (eval "$ac_compile") 2>conftest.er1
  5988. - ac_status=$?
  5989. - grep -v '^ *+' conftest.er1 >conftest.err
  5990. - rm -f conftest.er1
  5991. - cat conftest.err >&5
  5992. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5993. - (exit $ac_status); } && {
  5994. - test -z "$ac_c_werror_flag" ||
  5995. - test ! -s conftest.err
  5996. - } && test -s conftest.$ac_objext; then
  5997. + if ac_fn_c_try_compile "$LINENO"; then :
  5998. ac_cv_sys_largefile_CC=' -n32'; break
  5999. -else
  6000. - $as_echo "$as_me: failed program was:" >&5
  6001. -sed 's/^/| /' conftest.$ac_ext >&5
  6002. -
  6003. -
  6004. fi
  6005. -
  6006. rm -f core conftest.err conftest.$ac_objext
  6007. break
  6008. done
  6009. @@ -4647,23 +4851,19 @@
  6010. rm -f conftest.$ac_ext
  6011. fi
  6012. fi
  6013. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
  6014. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  6015. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  6016. if test "$ac_cv_sys_largefile_CC" != no; then
  6017. CC=$CC$ac_cv_sys_largefile_CC
  6018. fi
  6019. - { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  6020. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  6021. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  6022. -if test "${ac_cv_sys_file_offset_bits+set}" = set; then
  6023. +if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
  6024. $as_echo_n "(cached) " >&6
  6025. else
  6026. while :; do
  6027. - cat >conftest.$ac_ext <<_ACEOF
  6028. -/* confdefs.h. */
  6029. -_ACEOF
  6030. -cat confdefs.h >>conftest.$ac_ext
  6031. -cat >>conftest.$ac_ext <<_ACEOF
  6032. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6033. /* end confdefs.h. */
  6034. #include <sys/types.h>
  6035. /* Check that off_t can represent 2**63 - 1 correctly.
  6036. @@ -4682,38 +4882,11 @@
  6037. return 0;
  6038. }
  6039. _ACEOF
  6040. -rm -f conftest.$ac_objext
  6041. -if { (ac_try="$ac_compile"
  6042. -case "(($ac_try" in
  6043. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6044. - *) ac_try_echo=$ac_try;;
  6045. -esac
  6046. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6047. -$as_echo "$ac_try_echo") >&5
  6048. - (eval "$ac_compile") 2>conftest.er1
  6049. - ac_status=$?
  6050. - grep -v '^ *+' conftest.er1 >conftest.err
  6051. - rm -f conftest.er1
  6052. - cat conftest.err >&5
  6053. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6054. - (exit $ac_status); } && {
  6055. - test -z "$ac_c_werror_flag" ||
  6056. - test ! -s conftest.err
  6057. - } && test -s conftest.$ac_objext; then
  6058. +if ac_fn_c_try_compile "$LINENO"; then :
  6059. ac_cv_sys_file_offset_bits=no; break
  6060. -else
  6061. - $as_echo "$as_me: failed program was:" >&5
  6062. -sed 's/^/| /' conftest.$ac_ext >&5
  6063. -
  6064. -
  6065. fi
  6066. -
  6067. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6068. - cat >conftest.$ac_ext <<_ACEOF
  6069. -/* confdefs.h. */
  6070. -_ACEOF
  6071. -cat confdefs.h >>conftest.$ac_ext
  6072. -cat >>conftest.$ac_ext <<_ACEOF
  6073. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6074. /* end confdefs.h. */
  6075. #define _FILE_OFFSET_BITS 64
  6076. #include <sys/types.h>
  6077. @@ -4733,38 +4906,15 @@
  6078. return 0;
  6079. }
  6080. _ACEOF
  6081. -rm -f conftest.$ac_objext
  6082. -if { (ac_try="$ac_compile"
  6083. -case "(($ac_try" in
  6084. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6085. - *) ac_try_echo=$ac_try;;
  6086. -esac
  6087. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6088. -$as_echo "$ac_try_echo") >&5
  6089. - (eval "$ac_compile") 2>conftest.er1
  6090. - ac_status=$?
  6091. - grep -v '^ *+' conftest.er1 >conftest.err
  6092. - rm -f conftest.er1
  6093. - cat conftest.err >&5
  6094. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6095. - (exit $ac_status); } && {
  6096. - test -z "$ac_c_werror_flag" ||
  6097. - test ! -s conftest.err
  6098. - } && test -s conftest.$ac_objext; then
  6099. +if ac_fn_c_try_compile "$LINENO"; then :
  6100. ac_cv_sys_file_offset_bits=64; break
  6101. -else
  6102. - $as_echo "$as_me: failed program was:" >&5
  6103. -sed 's/^/| /' conftest.$ac_ext >&5
  6104. -
  6105. -
  6106. fi
  6107. -
  6108. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6109. ac_cv_sys_file_offset_bits=unknown
  6110. break
  6111. done
  6112. fi
  6113. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
  6114. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  6115. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  6116. case $ac_cv_sys_file_offset_bits in #(
  6117. no | unknown) ;;
  6118. @@ -4776,17 +4926,13 @@
  6119. esac
  6120. rm -rf conftest*
  6121. if test $ac_cv_sys_file_offset_bits = unknown; then
  6122. - { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
  6123. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  6124. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  6125. -if test "${ac_cv_sys_large_files+set}" = set; then
  6126. +if test "${ac_cv_sys_large_files+set}" = set; then :
  6127. $as_echo_n "(cached) " >&6
  6128. else
  6129. while :; do
  6130. - cat >conftest.$ac_ext <<_ACEOF
  6131. -/* confdefs.h. */
  6132. -_ACEOF
  6133. -cat confdefs.h >>conftest.$ac_ext
  6134. -cat >>conftest.$ac_ext <<_ACEOF
  6135. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6136. /* end confdefs.h. */
  6137. #include <sys/types.h>
  6138. /* Check that off_t can represent 2**63 - 1 correctly.
  6139. @@ -4805,38 +4951,11 @@
  6140. return 0;
  6141. }
  6142. _ACEOF
  6143. -rm -f conftest.$ac_objext
  6144. -if { (ac_try="$ac_compile"
  6145. -case "(($ac_try" in
  6146. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6147. - *) ac_try_echo=$ac_try;;
  6148. -esac
  6149. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6150. -$as_echo "$ac_try_echo") >&5
  6151. - (eval "$ac_compile") 2>conftest.er1
  6152. - ac_status=$?
  6153. - grep -v '^ *+' conftest.er1 >conftest.err
  6154. - rm -f conftest.er1
  6155. - cat conftest.err >&5
  6156. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6157. - (exit $ac_status); } && {
  6158. - test -z "$ac_c_werror_flag" ||
  6159. - test ! -s conftest.err
  6160. - } && test -s conftest.$ac_objext; then
  6161. +if ac_fn_c_try_compile "$LINENO"; then :
  6162. ac_cv_sys_large_files=no; break
  6163. -else
  6164. - $as_echo "$as_me: failed program was:" >&5
  6165. -sed 's/^/| /' conftest.$ac_ext >&5
  6166. -
  6167. -
  6168. fi
  6169. -
  6170. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6171. - cat >conftest.$ac_ext <<_ACEOF
  6172. -/* confdefs.h. */
  6173. -_ACEOF
  6174. -cat confdefs.h >>conftest.$ac_ext
  6175. -cat >>conftest.$ac_ext <<_ACEOF
  6176. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6177. /* end confdefs.h. */
  6178. #define _LARGE_FILES 1
  6179. #include <sys/types.h>
  6180. @@ -4856,38 +4975,15 @@
  6181. return 0;
  6182. }
  6183. _ACEOF
  6184. -rm -f conftest.$ac_objext
  6185. -if { (ac_try="$ac_compile"
  6186. -case "(($ac_try" in
  6187. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6188. - *) ac_try_echo=$ac_try;;
  6189. -esac
  6190. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6191. -$as_echo "$ac_try_echo") >&5
  6192. - (eval "$ac_compile") 2>conftest.er1
  6193. - ac_status=$?
  6194. - grep -v '^ *+' conftest.er1 >conftest.err
  6195. - rm -f conftest.er1
  6196. - cat conftest.err >&5
  6197. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6198. - (exit $ac_status); } && {
  6199. - test -z "$ac_c_werror_flag" ||
  6200. - test ! -s conftest.err
  6201. - } && test -s conftest.$ac_objext; then
  6202. +if ac_fn_c_try_compile "$LINENO"; then :
  6203. ac_cv_sys_large_files=1; break
  6204. -else
  6205. - $as_echo "$as_me: failed program was:" >&5
  6206. -sed 's/^/| /' conftest.$ac_ext >&5
  6207. -
  6208. -
  6209. fi
  6210. -
  6211. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6212. ac_cv_sys_large_files=unknown
  6213. break
  6214. done
  6215. fi
  6216. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
  6217. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  6218. $as_echo "$ac_cv_sys_large_files" >&6; }
  6219. case $ac_cv_sys_large_files in #(
  6220. no | unknown) ;;
  6221. @@ -4902,19 +4998,14 @@
  6222. fi
  6223. -
  6224. -{ $as_echo "$as_me:$LINENO: checking for cos in -lm" >&5
  6225. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  6226. $as_echo_n "checking for cos in -lm... " >&6; }
  6227. -if test "${ac_cv_lib_m_cos+set}" = set; then
  6228. +if test "${ac_cv_lib_m_cos+set}" = set; then :
  6229. $as_echo_n "(cached) " >&6
  6230. else
  6231. ac_check_lib_save_LIBS=$LIBS
  6232. LIBS="-lm $LIBS"
  6233. -cat >conftest.$ac_ext <<_ACEOF
  6234. -/* confdefs.h. */
  6235. -_ACEOF
  6236. -cat confdefs.h >>conftest.$ac_ext
  6237. -cat >>conftest.$ac_ext <<_ACEOF
  6238. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6239. /* end confdefs.h. */
  6240. /* Override any GCC internal prototype to avoid an error.
  6241. @@ -4932,43 +5023,18 @@
  6242. return 0;
  6243. }
  6244. _ACEOF
  6245. -rm -f conftest.$ac_objext conftest$ac_exeext
  6246. -if { (ac_try="$ac_link"
  6247. -case "(($ac_try" in
  6248. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6249. - *) ac_try_echo=$ac_try;;
  6250. -esac
  6251. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6252. -$as_echo "$ac_try_echo") >&5
  6253. - (eval "$ac_link") 2>conftest.er1
  6254. - ac_status=$?
  6255. - grep -v '^ *+' conftest.er1 >conftest.err
  6256. - rm -f conftest.er1
  6257. - cat conftest.err >&5
  6258. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6259. - (exit $ac_status); } && {
  6260. - test -z "$ac_c_werror_flag" ||
  6261. - test ! -s conftest.err
  6262. - } && test -s conftest$ac_exeext && {
  6263. - test "$cross_compiling" = yes ||
  6264. - $as_test_x conftest$ac_exeext
  6265. - }; then
  6266. +if ac_fn_c_try_link "$LINENO"; then :
  6267. ac_cv_lib_m_cos=yes
  6268. else
  6269. - $as_echo "$as_me: failed program was:" >&5
  6270. -sed 's/^/| /' conftest.$ac_ext >&5
  6271. -
  6272. - ac_cv_lib_m_cos=no
  6273. + ac_cv_lib_m_cos=no
  6274. fi
  6275. -
  6276. -rm -rf conftest.dSYM
  6277. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6278. - conftest$ac_exeext conftest.$ac_ext
  6279. +rm -f core conftest.err conftest.$ac_objext \
  6280. + conftest$ac_exeext conftest.$ac_ext
  6281. LIBS=$ac_check_lib_save_LIBS
  6282. fi
  6283. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
  6284. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  6285. $as_echo "$ac_cv_lib_m_cos" >&6; }
  6286. -if test "x$ac_cv_lib_m_cos" = x""yes; then
  6287. +if test "x$ac_cv_lib_m_cos" = x""yes; then :
  6288. cat >>confdefs.h <<_ACEOF
  6289. #define HAVE_LIBM 1
  6290. _ACEOF
  6291. @@ -4979,369 +5045,80 @@
  6292. -{ $as_echo "$as_me:$LINENO: checking whether getopt is declared" >&5
  6293. -$as_echo_n "checking whether getopt is declared... " >&6; }
  6294. -if test "${ac_cv_have_decl_getopt+set}" = set; then
  6295. - $as_echo_n "(cached) " >&6
  6296. -else
  6297. - cat >conftest.$ac_ext <<_ACEOF
  6298. -/* confdefs.h. */
  6299. -_ACEOF
  6300. -cat confdefs.h >>conftest.$ac_ext
  6301. -cat >>conftest.$ac_ext <<_ACEOF
  6302. -/* end confdefs.h. */
  6303. -
  6304. +ac_fn_c_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "
  6305. #include <unistd.h>
  6306. /* Solaris */
  6307. #include <stdlib.h>
  6308. -
  6309. -int
  6310. -main ()
  6311. -{
  6312. -#ifndef getopt
  6313. - (void) getopt;
  6314. -#endif
  6315. -
  6316. - ;
  6317. - return 0;
  6318. -}
  6319. -_ACEOF
  6320. -rm -f conftest.$ac_objext
  6321. -if { (ac_try="$ac_compile"
  6322. -case "(($ac_try" in
  6323. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6324. - *) ac_try_echo=$ac_try;;
  6325. -esac
  6326. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6327. -$as_echo "$ac_try_echo") >&5
  6328. - (eval "$ac_compile") 2>conftest.er1
  6329. - ac_status=$?
  6330. - grep -v '^ *+' conftest.er1 >conftest.err
  6331. - rm -f conftest.er1
  6332. - cat conftest.err >&5
  6333. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6334. - (exit $ac_status); } && {
  6335. - test -z "$ac_c_werror_flag" ||
  6336. - test ! -s conftest.err
  6337. - } && test -s conftest.$ac_objext; then
  6338. - ac_cv_have_decl_getopt=yes
  6339. +"
  6340. +if test "x$ac_cv_have_decl_getopt" = x""yes; then :
  6341. + ac_have_decl=1
  6342. else
  6343. - $as_echo "$as_me: failed program was:" >&5
  6344. -sed 's/^/| /' conftest.$ac_ext >&5
  6345. -
  6346. - ac_cv_have_decl_getopt=no
  6347. -fi
  6348. -
  6349. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6350. + ac_have_decl=0
  6351. fi
  6352. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
  6353. -$as_echo "$ac_cv_have_decl_getopt" >&6; }
  6354. -if test "x$ac_cv_have_decl_getopt" = x""yes; then
  6355. cat >>confdefs.h <<_ACEOF
  6356. -#define HAVE_DECL_GETOPT 1
  6357. +#define HAVE_DECL_GETOPT $ac_have_decl
  6358. _ACEOF
  6359. +ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "
  6360. +#include <unistd.h>
  6361. +/* Solaris */
  6362. +#include <stdlib.h>
  6363. -
  6364. +"
  6365. +if test "x$ac_cv_have_decl_optreset" = x""yes; then :
  6366. + ac_have_decl=1
  6367. else
  6368. - cat >>confdefs.h <<_ACEOF
  6369. -#define HAVE_DECL_GETOPT 0
  6370. + ac_have_decl=0
  6371. +fi
  6372. +
  6373. +cat >>confdefs.h <<_ACEOF
  6374. +#define HAVE_DECL_OPTRESET $ac_have_decl
  6375. _ACEOF
  6376. -fi
  6377. -{ $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5
  6378. -$as_echo_n "checking whether optreset is declared... " >&6; }
  6379. -if test "${ac_cv_have_decl_optreset+set}" = set; then
  6380. - $as_echo_n "(cached) " >&6
  6381. +ac_fn_c_check_decl "$LINENO" "O_DSYNC" "ac_cv_have_decl_O_DSYNC" "#include <fcntl.h>
  6382. +"
  6383. +if test "x$ac_cv_have_decl_O_DSYNC" = x""yes; then :
  6384. + ac_have_decl=1
  6385. else
  6386. - cat >conftest.$ac_ext <<_ACEOF
  6387. -/* confdefs.h. */
  6388. -_ACEOF
  6389. -cat confdefs.h >>conftest.$ac_ext
  6390. -cat >>conftest.$ac_ext <<_ACEOF
  6391. -/* end confdefs.h. */
  6392. -
  6393. -#include <unistd.h>
  6394. -/* Solaris */
  6395. -#include <stdlib.h>
  6396. -
  6397. -
  6398. -int
  6399. -main ()
  6400. -{
  6401. -#ifndef optreset
  6402. - (void) optreset;
  6403. -#endif
  6404. -
  6405. - ;
  6406. - return 0;
  6407. -}
  6408. -_ACEOF
  6409. -rm -f conftest.$ac_objext
  6410. -if { (ac_try="$ac_compile"
  6411. -case "(($ac_try" in
  6412. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6413. - *) ac_try_echo=$ac_try;;
  6414. -esac
  6415. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6416. -$as_echo "$ac_try_echo") >&5
  6417. - (eval "$ac_compile") 2>conftest.er1
  6418. - ac_status=$?
  6419. - grep -v '^ *+' conftest.er1 >conftest.err
  6420. - rm -f conftest.er1
  6421. - cat conftest.err >&5
  6422. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6423. - (exit $ac_status); } && {
  6424. - test -z "$ac_c_werror_flag" ||
  6425. - test ! -s conftest.err
  6426. - } && test -s conftest.$ac_objext; then
  6427. - ac_cv_have_decl_optreset=yes
  6428. -else
  6429. - $as_echo "$as_me: failed program was:" >&5
  6430. -sed 's/^/| /' conftest.$ac_ext >&5
  6431. -
  6432. - ac_cv_have_decl_optreset=no
  6433. -fi
  6434. -
  6435. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6436. -fi
  6437. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
  6438. -$as_echo "$ac_cv_have_decl_optreset" >&6; }
  6439. -if test "x$ac_cv_have_decl_optreset" = x""yes; then
  6440. -
  6441. -cat >>confdefs.h <<_ACEOF
  6442. -#define HAVE_DECL_OPTRESET 1
  6443. -_ACEOF
  6444. -
  6445. -
  6446. -else
  6447. - cat >>confdefs.h <<_ACEOF
  6448. -#define HAVE_DECL_OPTRESET 0
  6449. -_ACEOF
  6450. -
  6451. -
  6452. -fi
  6453. -
  6454. -
  6455. -
  6456. -{ $as_echo "$as_me:$LINENO: checking whether O_DSYNC is declared" >&5
  6457. -$as_echo_n "checking whether O_DSYNC is declared... " >&6; }
  6458. -if test "${ac_cv_have_decl_O_DSYNC+set}" = set; then
  6459. - $as_echo_n "(cached) " >&6
  6460. -else
  6461. - cat >conftest.$ac_ext <<_ACEOF
  6462. -/* confdefs.h. */
  6463. -_ACEOF
  6464. -cat confdefs.h >>conftest.$ac_ext
  6465. -cat >>conftest.$ac_ext <<_ACEOF
  6466. -/* end confdefs.h. */
  6467. -#include <fcntl.h>
  6468. -
  6469. -int
  6470. -main ()
  6471. -{
  6472. -#ifndef O_DSYNC
  6473. - (void) O_DSYNC;
  6474. -#endif
  6475. -
  6476. - ;
  6477. - return 0;
  6478. -}
  6479. -_ACEOF
  6480. -rm -f conftest.$ac_objext
  6481. -if { (ac_try="$ac_compile"
  6482. -case "(($ac_try" in
  6483. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6484. - *) ac_try_echo=$ac_try;;
  6485. -esac
  6486. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6487. -$as_echo "$ac_try_echo") >&5
  6488. - (eval "$ac_compile") 2>conftest.er1
  6489. - ac_status=$?
  6490. - grep -v '^ *+' conftest.er1 >conftest.err
  6491. - rm -f conftest.er1
  6492. - cat conftest.err >&5
  6493. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6494. - (exit $ac_status); } && {
  6495. - test -z "$ac_c_werror_flag" ||
  6496. - test ! -s conftest.err
  6497. - } && test -s conftest.$ac_objext; then
  6498. - ac_cv_have_decl_O_DSYNC=yes
  6499. -else
  6500. - $as_echo "$as_me: failed program was:" >&5
  6501. -sed 's/^/| /' conftest.$ac_ext >&5
  6502. -
  6503. - ac_cv_have_decl_O_DSYNC=no
  6504. -fi
  6505. -
  6506. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6507. -fi
  6508. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_DSYNC" >&5
  6509. -$as_echo "$ac_cv_have_decl_O_DSYNC" >&6; }
  6510. -if test "x$ac_cv_have_decl_O_DSYNC" = x""yes; then
  6511. + ac_have_decl=0
  6512. +fi
  6513. cat >>confdefs.h <<_ACEOF
  6514. -#define HAVE_DECL_O_DSYNC 1
  6515. -_ACEOF
  6516. -
  6517. -
  6518. -else
  6519. - cat >>confdefs.h <<_ACEOF
  6520. -#define HAVE_DECL_O_DSYNC 0
  6521. -_ACEOF
  6522. -
  6523. -
  6524. -fi
  6525. -{ $as_echo "$as_me:$LINENO: checking whether O_SYNC is declared" >&5
  6526. -$as_echo_n "checking whether O_SYNC is declared... " >&6; }
  6527. -if test "${ac_cv_have_decl_O_SYNC+set}" = set; then
  6528. - $as_echo_n "(cached) " >&6
  6529. -else
  6530. - cat >conftest.$ac_ext <<_ACEOF
  6531. -/* confdefs.h. */
  6532. -_ACEOF
  6533. -cat confdefs.h >>conftest.$ac_ext
  6534. -cat >>conftest.$ac_ext <<_ACEOF
  6535. -/* end confdefs.h. */
  6536. -#include <fcntl.h>
  6537. -
  6538. -int
  6539. -main ()
  6540. -{
  6541. -#ifndef O_SYNC
  6542. - (void) O_SYNC;
  6543. -#endif
  6544. -
  6545. - ;
  6546. - return 0;
  6547. -}
  6548. +#define HAVE_DECL_O_DSYNC $ac_have_decl
  6549. _ACEOF
  6550. -rm -f conftest.$ac_objext
  6551. -if { (ac_try="$ac_compile"
  6552. -case "(($ac_try" in
  6553. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6554. - *) ac_try_echo=$ac_try;;
  6555. -esac
  6556. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6557. -$as_echo "$ac_try_echo") >&5
  6558. - (eval "$ac_compile") 2>conftest.er1
  6559. - ac_status=$?
  6560. - grep -v '^ *+' conftest.er1 >conftest.err
  6561. - rm -f conftest.er1
  6562. - cat conftest.err >&5
  6563. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6564. - (exit $ac_status); } && {
  6565. - test -z "$ac_c_werror_flag" ||
  6566. - test ! -s conftest.err
  6567. - } && test -s conftest.$ac_objext; then
  6568. - ac_cv_have_decl_O_SYNC=yes
  6569. +ac_fn_c_check_decl "$LINENO" "O_SYNC" "ac_cv_have_decl_O_SYNC" "#include <fcntl.h>
  6570. +"
  6571. +if test "x$ac_cv_have_decl_O_SYNC" = x""yes; then :
  6572. + ac_have_decl=1
  6573. else
  6574. - $as_echo "$as_me: failed program was:" >&5
  6575. -sed 's/^/| /' conftest.$ac_ext >&5
  6576. -
  6577. - ac_cv_have_decl_O_SYNC=no
  6578. + ac_have_decl=0
  6579. fi
  6580. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6581. -fi
  6582. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_SYNC" >&5
  6583. -$as_echo "$ac_cv_have_decl_O_SYNC" >&6; }
  6584. -if test "x$ac_cv_have_decl_O_SYNC" = x""yes; then
  6585. -
  6586. cat >>confdefs.h <<_ACEOF
  6587. -#define HAVE_DECL_O_SYNC 1
  6588. -_ACEOF
  6589. -
  6590. -
  6591. -else
  6592. - cat >>confdefs.h <<_ACEOF
  6593. -#define HAVE_DECL_O_SYNC 0
  6594. -_ACEOF
  6595. -
  6596. -
  6597. -fi
  6598. -{ $as_echo "$as_me:$LINENO: checking whether O_FSYNC is declared" >&5
  6599. -$as_echo_n "checking whether O_FSYNC is declared... " >&6; }
  6600. -if test "${ac_cv_have_decl_O_FSYNC+set}" = set; then
  6601. - $as_echo_n "(cached) " >&6
  6602. -else
  6603. - cat >conftest.$ac_ext <<_ACEOF
  6604. -/* confdefs.h. */
  6605. -_ACEOF
  6606. -cat confdefs.h >>conftest.$ac_ext
  6607. -cat >>conftest.$ac_ext <<_ACEOF
  6608. -/* end confdefs.h. */
  6609. -#include <fcntl.h>
  6610. -
  6611. -int
  6612. -main ()
  6613. -{
  6614. -#ifndef O_FSYNC
  6615. - (void) O_FSYNC;
  6616. -#endif
  6617. -
  6618. - ;
  6619. - return 0;
  6620. -}
  6621. +#define HAVE_DECL_O_SYNC $ac_have_decl
  6622. _ACEOF
  6623. -rm -f conftest.$ac_objext
  6624. -if { (ac_try="$ac_compile"
  6625. -case "(($ac_try" in
  6626. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6627. - *) ac_try_echo=$ac_try;;
  6628. -esac
  6629. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6630. -$as_echo "$ac_try_echo") >&5
  6631. - (eval "$ac_compile") 2>conftest.er1
  6632. - ac_status=$?
  6633. - grep -v '^ *+' conftest.er1 >conftest.err
  6634. - rm -f conftest.er1
  6635. - cat conftest.err >&5
  6636. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6637. - (exit $ac_status); } && {
  6638. - test -z "$ac_c_werror_flag" ||
  6639. - test ! -s conftest.err
  6640. - } && test -s conftest.$ac_objext; then
  6641. - ac_cv_have_decl_O_FSYNC=yes
  6642. +ac_fn_c_check_decl "$LINENO" "O_FSYNC" "ac_cv_have_decl_O_FSYNC" "#include <fcntl.h>
  6643. +"
  6644. +if test "x$ac_cv_have_decl_O_FSYNC" = x""yes; then :
  6645. + ac_have_decl=1
  6646. else
  6647. - $as_echo "$as_me: failed program was:" >&5
  6648. -sed 's/^/| /' conftest.$ac_ext >&5
  6649. -
  6650. - ac_cv_have_decl_O_FSYNC=no
  6651. -fi
  6652. -
  6653. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6654. + ac_have_decl=0
  6655. fi
  6656. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_FSYNC" >&5
  6657. -$as_echo "$ac_cv_have_decl_O_FSYNC" >&6; }
  6658. -if test "x$ac_cv_have_decl_O_FSYNC" = x""yes; then
  6659. cat >>confdefs.h <<_ACEOF
  6660. -#define HAVE_DECL_O_FSYNC 1
  6661. -_ACEOF
  6662. -
  6663. -
  6664. -else
  6665. - cat >>confdefs.h <<_ACEOF
  6666. -#define HAVE_DECL_O_FSYNC 0
  6667. +#define HAVE_DECL_O_FSYNC $ac_have_decl
  6668. _ACEOF
  6669. -fi
  6670. -
  6671. -
  6672. -
  6673. -cat >>confdefs.h <<\_ACEOF
  6674. -#define __NO_CTYPE 1
  6675. -_ACEOF
  6676. +$as_echo "#define __NO_CTYPE 1" >>confdefs.h
  6677. # Check whether --enable-static was given.
  6678. -if test "${enable_static+set}" = set; then
  6679. +if test "${enable_static+set}" = set; then :
  6680. enableval=$enable_static;
  6681. fi
  6682. @@ -5349,17 +5126,13 @@
  6683. case a$enable_static in
  6684. ayes)
  6685. EXE_EXT="_static"
  6686. - { $as_echo "$as_me:$LINENO: checking option to link statically" >&5
  6687. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking option to link statically" >&5
  6688. $as_echo_n "checking option to link statically... " >&6; }
  6689. LDEFLAGS="$LDFLAGS"
  6690. found=0
  6691. for i in -static ; do
  6692. LDFLAGS="$LDEFLAGS $i"
  6693. - cat >conftest.$ac_ext <<_ACEOF
  6694. -/* confdefs.h. */
  6695. -_ACEOF
  6696. -cat confdefs.h >>conftest.$ac_ext
  6697. -cat >>conftest.$ac_ext <<_ACEOF
  6698. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6699. /* end confdefs.h. */
  6700. #include <stdlib.h>
  6701. int
  6702. @@ -5370,44 +5143,21 @@
  6703. return 0;
  6704. }
  6705. _ACEOF
  6706. -rm -f conftest.$ac_objext
  6707. -if { (ac_try="$ac_compile"
  6708. -case "(($ac_try" in
  6709. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6710. - *) ac_try_echo=$ac_try;;
  6711. -esac
  6712. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6713. -$as_echo "$ac_try_echo") >&5
  6714. - (eval "$ac_compile") 2>conftest.er1
  6715. - ac_status=$?
  6716. - grep -v '^ *+' conftest.er1 >conftest.err
  6717. - rm -f conftest.er1
  6718. - cat conftest.err >&5
  6719. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6720. - (exit $ac_status); } && {
  6721. - test -z "$ac_c_werror_flag" ||
  6722. - test ! -s conftest.err
  6723. - } && test -s conftest.$ac_objext; then
  6724. +if ac_fn_c_try_compile "$LINENO"; then :
  6725. found=1
  6726. -else
  6727. - $as_echo "$as_me: failed program was:" >&5
  6728. -sed 's/^/| /' conftest.$ac_ext >&5
  6729. -
  6730. -
  6731. fi
  6732. -
  6733. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6734. if test $found -eq 1 ; then break ; fi
  6735. done
  6736. if test $found -eq 1 ; then
  6737. - { $as_echo "$as_me:$LINENO: result: $i" >&5
  6738. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $i" >&5
  6739. $as_echo "$i" >&6; }
  6740. STATICLDFLAGS=$i
  6741. LDFLAGS="$LDEFLAGS"
  6742. else
  6743. - { $as_echo "$as_me:$LINENO: result: ?" >&5
  6744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ?" >&5
  6745. $as_echo "?" >&6; }
  6746. - { $as_echo "$as_me:$LINENO: WARNING: Cannot figure out how to statically link a program." >&5
  6747. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot figure out how to statically link a program." >&5
  6748. $as_echo "$as_me: WARNING: Cannot figure out how to statically link a program." >&2;}
  6749. STATICLDFLAGS=
  6750. enable_static=no
  6751. @@ -5434,7 +5184,7 @@
  6752. # Check whether --enable-spam-header-name was given.
  6753. -if test "${enable_spam_header_name+set}" = set; then
  6754. +if test "${enable_spam_header_name+set}" = set; then :
  6755. enableval=$enable_spam_header_name;
  6756. cat >>confdefs.h <<_ACEOF
  6757. #define SPAM_HEADER_NAME "$enableval"
  6758. @@ -5451,7 +5201,7 @@
  6759. # Check whether --enable-unicode was given.
  6760. -if test "${enable_unicode+set}" = set; then
  6761. +if test "${enable_unicode+set}" = set; then :
  6762. enableval=$enable_unicode; if test "$enableval" = no; then
  6763. USE_UNICODE=NO
  6764. fi
  6765. @@ -5489,9 +5239,7 @@
  6766. if test x$USE_UNICODE = xNO ; then
  6767. -cat >>confdefs.h <<\_ACEOF
  6768. -#define DISABLE_UNICODE 1
  6769. -_ACEOF
  6770. +$as_echo "#define DISABLE_UNICODE 1" >>confdefs.h
  6771. ENCODING="raw"
  6772. else
  6773. @@ -5513,7 +5261,7 @@
  6774. # Check whether --with-gnu-ld was given.
  6775. -if test "${with_gnu_ld+set}" = set; then
  6776. +if test "${with_gnu_ld+set}" = set; then :
  6777. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  6778. else
  6779. with_gnu_ld=no
  6780. @@ -5535,7 +5283,7 @@
  6781. ac_prog=ld
  6782. if test "$GCC" = yes; then
  6783. # Check if gcc -print-prog-name=ld gives a path.
  6784. - { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
  6785. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
  6786. $as_echo_n "checking for ld used by GCC... " >&6; }
  6787. case $host in
  6788. *-*-mingw*)
  6789. @@ -5565,13 +5313,13 @@
  6790. ;;
  6791. esac
  6792. elif test "$with_gnu_ld" = yes; then
  6793. - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  6794. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  6795. $as_echo_n "checking for GNU ld... " >&6; }
  6796. else
  6797. - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  6798. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  6799. $as_echo_n "checking for non-GNU ld... " >&6; }
  6800. fi
  6801. -if test "${acl_cv_path_LD+set}" = set; then
  6802. +if test "${acl_cv_path_LD+set}" = set; then :
  6803. $as_echo_n "(cached) " >&6
  6804. else
  6805. if test -z "$LD"; then
  6806. @@ -5599,18 +5347,16 @@
  6807. LD="$acl_cv_path_LD"
  6808. if test -n "$LD"; then
  6809. - { $as_echo "$as_me:$LINENO: result: $LD" >&5
  6810. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  6811. $as_echo "$LD" >&6; }
  6812. else
  6813. - { $as_echo "$as_me:$LINENO: result: no" >&5
  6814. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6815. $as_echo "no" >&6; }
  6816. fi
  6817. -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  6818. -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  6819. - { (exit 1); exit 1; }; }
  6820. -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  6821. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  6822. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  6823. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  6824. -if test "${acl_cv_prog_gnu_ld+set}" = set; then
  6825. +if test "${acl_cv_prog_gnu_ld+set}" = set; then :
  6826. $as_echo_n "(cached) " >&6
  6827. else
  6828. # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  6829. @@ -5621,15 +5367,15 @@
  6830. acl_cv_prog_gnu_ld=no ;;
  6831. esac
  6832. fi
  6833. -{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
  6834. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
  6835. $as_echo "$acl_cv_prog_gnu_ld" >&6; }
  6836. with_gnu_ld=$acl_cv_prog_gnu_ld
  6837. - { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
  6838. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  6839. $as_echo_n "checking for shared library run path origin... " >&6; }
  6840. -if test "${acl_cv_rpath+set}" = set; then
  6841. +if test "${acl_cv_rpath+set}" = set; then :
  6842. $as_echo_n "(cached) " >&6
  6843. else
  6844. @@ -5640,7 +5386,7 @@
  6845. acl_cv_rpath=done
  6846. fi
  6847. -{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
  6848. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
  6849. $as_echo "$acl_cv_rpath" >&6; }
  6850. wl="$acl_cv_wl"
  6851. libext="$acl_cv_libext"
  6852. @@ -5650,7 +5396,7 @@
  6853. hardcode_direct="$acl_cv_hardcode_direct"
  6854. hardcode_minus_L="$acl_cv_hardcode_minus_L"
  6855. # Check whether --enable-rpath was given.
  6856. -if test "${enable_rpath+set}" = set; then
  6857. +if test "${enable_rpath+set}" = set; then :
  6858. enableval=$enable_rpath; :
  6859. else
  6860. enable_rpath=yes
  6861. @@ -5678,7 +5424,7 @@
  6862. # Check whether --with-libiconv-prefix was given.
  6863. -if test "${with_libiconv_prefix+set}" = set; then
  6864. +if test "${with_libiconv_prefix+set}" = set; then :
  6865. withval=$with_libiconv_prefix;
  6866. if test "X$withval" = "Xno"; then
  6867. use_additional=no
  6868. @@ -5916,6163 +5662,1650 @@
  6869. if test "X$additional_libdir" = "X/usr/local/lib"; then
  6870. if test -n "$GCC"; then
  6871. case $host_os in
  6872. - linux*) haveit=yes;;
  6873. - esac
  6874. - fi
  6875. - fi
  6876. - if test -z "$haveit"; then
  6877. - haveit=
  6878. - for x in $LDFLAGS $LIBICONV; do
  6879. -
  6880. - acl_save_prefix="$prefix"
  6881. - prefix="$acl_final_prefix"
  6882. - acl_save_exec_prefix="$exec_prefix"
  6883. - exec_prefix="$acl_final_exec_prefix"
  6884. - eval x=\"$x\"
  6885. - exec_prefix="$acl_save_exec_prefix"
  6886. - prefix="$acl_save_prefix"
  6887. -
  6888. - if test "X$x" = "X-L$additional_libdir"; then
  6889. - haveit=yes
  6890. - break
  6891. - fi
  6892. - done
  6893. - if test -z "$haveit"; then
  6894. - if test -d "$additional_libdir"; then
  6895. - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
  6896. - fi
  6897. - fi
  6898. - haveit=
  6899. - for x in $LDFLAGS $LTLIBICONV; do
  6900. -
  6901. - acl_save_prefix="$prefix"
  6902. - prefix="$acl_final_prefix"
  6903. - acl_save_exec_prefix="$exec_prefix"
  6904. - exec_prefix="$acl_final_exec_prefix"
  6905. - eval x=\"$x\"
  6906. - exec_prefix="$acl_save_exec_prefix"
  6907. - prefix="$acl_save_prefix"
  6908. -
  6909. - if test "X$x" = "X-L$additional_libdir"; then
  6910. - haveit=yes
  6911. - break
  6912. - fi
  6913. - done
  6914. - if test -z "$haveit"; then
  6915. - if test -d "$additional_libdir"; then
  6916. - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
  6917. - fi
  6918. - fi
  6919. - fi
  6920. - fi
  6921. - ;;
  6922. - -R*)
  6923. - dir=`echo "X$dep" | sed -e 's/^X-R//'`
  6924. - if test "$enable_rpath" != no; then
  6925. - haveit=
  6926. - for x in $rpathdirs; do
  6927. - if test "X$x" = "X$dir"; then
  6928. - haveit=yes
  6929. - break
  6930. - fi
  6931. - done
  6932. - if test -z "$haveit"; then
  6933. - rpathdirs="$rpathdirs $dir"
  6934. - fi
  6935. - haveit=
  6936. - for x in $ltrpathdirs; do
  6937. - if test "X$x" = "X$dir"; then
  6938. - haveit=yes
  6939. - break
  6940. - fi
  6941. - done
  6942. - if test -z "$haveit"; then
  6943. - ltrpathdirs="$ltrpathdirs $dir"
  6944. - fi
  6945. - fi
  6946. - ;;
  6947. - -l*)
  6948. - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  6949. - ;;
  6950. - *.la)
  6951. - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  6952. - ;;
  6953. - *)
  6954. - LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
  6955. - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
  6956. - ;;
  6957. - esac
  6958. - done
  6959. - fi
  6960. - else
  6961. - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
  6962. - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
  6963. - fi
  6964. - fi
  6965. - fi
  6966. - done
  6967. - done
  6968. - if test "X$rpathdirs" != "X"; then
  6969. - if test -n "$hardcode_libdir_separator"; then
  6970. - alldirs=
  6971. - for found_dir in $rpathdirs; do
  6972. - alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
  6973. - done
  6974. - acl_save_libdir="$libdir"
  6975. - libdir="$alldirs"
  6976. - eval flag=\"$hardcode_libdir_flag_spec\"
  6977. - libdir="$acl_save_libdir"
  6978. - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
  6979. - else
  6980. - for found_dir in $rpathdirs; do
  6981. - acl_save_libdir="$libdir"
  6982. - libdir="$found_dir"
  6983. - eval flag=\"$hardcode_libdir_flag_spec\"
  6984. - libdir="$acl_save_libdir"
  6985. - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
  6986. - done
  6987. - fi
  6988. - fi
  6989. - if test "X$ltrpathdirs" != "X"; then
  6990. - for found_dir in $ltrpathdirs; do
  6991. - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
  6992. - done
  6993. - fi
  6994. -
  6995. -
  6996. -
  6997. -
  6998. -
  6999. -
  7000. -
  7001. - am_save_CPPFLAGS="$CPPFLAGS"
  7002. -
  7003. - for element in $INCICONV; do
  7004. - haveit=
  7005. - for x in $CPPFLAGS; do
  7006. -
  7007. - acl_save_prefix="$prefix"
  7008. - prefix="$acl_final_prefix"
  7009. - acl_save_exec_prefix="$exec_prefix"
  7010. - exec_prefix="$acl_final_exec_prefix"
  7011. - eval x=\"$x\"
  7012. - exec_prefix="$acl_save_exec_prefix"
  7013. - prefix="$acl_save_prefix"
  7014. -
  7015. - if test "X$x" = "X$element"; then
  7016. - haveit=yes
  7017. - break
  7018. - fi
  7019. - done
  7020. - if test -z "$haveit"; then
  7021. - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  7022. - fi
  7023. - done
  7024. -
  7025. -
  7026. - { $as_echo "$as_me:$LINENO: checking for iconv" >&5
  7027. -$as_echo_n "checking for iconv... " >&6; }
  7028. -if test "${am_cv_func_iconv+set}" = set; then
  7029. - $as_echo_n "(cached) " >&6
  7030. -else
  7031. -
  7032. - am_cv_func_iconv="no, consider installing GNU libiconv"
  7033. - am_cv_lib_iconv=no
  7034. - cat >conftest.$ac_ext <<_ACEOF
  7035. -/* confdefs.h. */
  7036. -_ACEOF
  7037. -cat confdefs.h >>conftest.$ac_ext
  7038. -cat >>conftest.$ac_ext <<_ACEOF
  7039. -/* end confdefs.h. */
  7040. -#include <stdlib.h>
  7041. -#include <iconv.h>
  7042. -int
  7043. -main ()
  7044. -{
  7045. -iconv_t cd = iconv_open("","");
  7046. - iconv(cd,NULL,NULL,NULL,NULL);
  7047. - iconv_close(cd);
  7048. - ;
  7049. - return 0;
  7050. -}
  7051. -_ACEOF
  7052. -rm -f conftest.$ac_objext conftest$ac_exeext
  7053. -if { (ac_try="$ac_link"
  7054. -case "(($ac_try" in
  7055. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7056. - *) ac_try_echo=$ac_try;;
  7057. -esac
  7058. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7059. -$as_echo "$ac_try_echo") >&5
  7060. - (eval "$ac_link") 2>conftest.er1
  7061. - ac_status=$?
  7062. - grep -v '^ *+' conftest.er1 >conftest.err
  7063. - rm -f conftest.er1
  7064. - cat conftest.err >&5
  7065. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7066. - (exit $ac_status); } && {
  7067. - test -z "$ac_c_werror_flag" ||
  7068. - test ! -s conftest.err
  7069. - } && test -s conftest$ac_exeext && {
  7070. - test "$cross_compiling" = yes ||
  7071. - $as_test_x conftest$ac_exeext
  7072. - }; then
  7073. - am_cv_func_iconv=yes
  7074. -else
  7075. - $as_echo "$as_me: failed program was:" >&5
  7076. -sed 's/^/| /' conftest.$ac_ext >&5
  7077. -
  7078. -
  7079. -fi
  7080. -
  7081. -rm -rf conftest.dSYM
  7082. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7083. - conftest$ac_exeext conftest.$ac_ext
  7084. - if test "$am_cv_func_iconv" != yes; then
  7085. - am_save_LIBS="$LIBS"
  7086. - LIBS="$LIBS $LIBICONV"
  7087. - cat >conftest.$ac_ext <<_ACEOF
  7088. -/* confdefs.h. */
  7089. -_ACEOF
  7090. -cat confdefs.h >>conftest.$ac_ext
  7091. -cat >>conftest.$ac_ext <<_ACEOF
  7092. -/* end confdefs.h. */
  7093. -#include <stdlib.h>
  7094. -#include <iconv.h>
  7095. -int
  7096. -main ()
  7097. -{
  7098. -iconv_t cd = iconv_open("","");
  7099. - iconv(cd,NULL,NULL,NULL,NULL);
  7100. - iconv_close(cd);
  7101. - ;
  7102. - return 0;
  7103. -}
  7104. -_ACEOF
  7105. -rm -f conftest.$ac_objext conftest$ac_exeext
  7106. -if { (ac_try="$ac_link"
  7107. -case "(($ac_try" in
  7108. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7109. - *) ac_try_echo=$ac_try;;
  7110. -esac
  7111. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7112. -$as_echo "$ac_try_echo") >&5
  7113. - (eval "$ac_link") 2>conftest.er1
  7114. - ac_status=$?
  7115. - grep -v '^ *+' conftest.er1 >conftest.err
  7116. - rm -f conftest.er1
  7117. - cat conftest.err >&5
  7118. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7119. - (exit $ac_status); } && {
  7120. - test -z "$ac_c_werror_flag" ||
  7121. - test ! -s conftest.err
  7122. - } && test -s conftest$ac_exeext && {
  7123. - test "$cross_compiling" = yes ||
  7124. - $as_test_x conftest$ac_exeext
  7125. - }; then
  7126. - am_cv_lib_iconv=yes
  7127. - am_cv_func_iconv=yes
  7128. -else
  7129. - $as_echo "$as_me: failed program was:" >&5
  7130. -sed 's/^/| /' conftest.$ac_ext >&5
  7131. -
  7132. -
  7133. -fi
  7134. -
  7135. -rm -rf conftest.dSYM
  7136. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7137. - conftest$ac_exeext conftest.$ac_ext
  7138. - LIBS="$am_save_LIBS"
  7139. - fi
  7140. -
  7141. -fi
  7142. -{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
  7143. -$as_echo "$am_cv_func_iconv" >&6; }
  7144. - if test "$am_cv_func_iconv" = yes; then
  7145. -
  7146. -cat >>confdefs.h <<\_ACEOF
  7147. -#define HAVE_ICONV 1
  7148. -_ACEOF
  7149. -
  7150. - fi
  7151. - if test "$am_cv_lib_iconv" = yes; then
  7152. - { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
  7153. -$as_echo_n "checking how to link with libiconv... " >&6; }
  7154. - { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
  7155. -$as_echo "$LIBICONV" >&6; }
  7156. - else
  7157. - CPPFLAGS="$am_save_CPPFLAGS"
  7158. - LIBICONV=
  7159. - LTLIBICONV=
  7160. - fi
  7161. -
  7162. -
  7163. -
  7164. - if test "$am_cv_func_iconv" = yes; then
  7165. - { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
  7166. -$as_echo_n "checking for iconv declaration... " >&6; }
  7167. - if test "${am_cv_proto_iconv+set}" = set; then
  7168. - $as_echo_n "(cached) " >&6
  7169. -else
  7170. -
  7171. - cat >conftest.$ac_ext <<_ACEOF
  7172. -/* confdefs.h. */
  7173. -_ACEOF
  7174. -cat confdefs.h >>conftest.$ac_ext
  7175. -cat >>conftest.$ac_ext <<_ACEOF
  7176. -/* end confdefs.h. */
  7177. -
  7178. -#include <stdlib.h>
  7179. -#include <iconv.h>
  7180. -extern
  7181. -#ifdef __cplusplus
  7182. -"C"
  7183. -#endif
  7184. -#if defined(__STDC__) || defined(__cplusplus)
  7185. -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  7186. -#else
  7187. -size_t iconv();
  7188. -#endif
  7189. -
  7190. -int
  7191. -main ()
  7192. -{
  7193. -
  7194. - ;
  7195. - return 0;
  7196. -}
  7197. -_ACEOF
  7198. -rm -f conftest.$ac_objext
  7199. -if { (ac_try="$ac_compile"
  7200. -case "(($ac_try" in
  7201. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7202. - *) ac_try_echo=$ac_try;;
  7203. -esac
  7204. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7205. -$as_echo "$ac_try_echo") >&5
  7206. - (eval "$ac_compile") 2>conftest.er1
  7207. - ac_status=$?
  7208. - grep -v '^ *+' conftest.er1 >conftest.err
  7209. - rm -f conftest.er1
  7210. - cat conftest.err >&5
  7211. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7212. - (exit $ac_status); } && {
  7213. - test -z "$ac_c_werror_flag" ||
  7214. - test ! -s conftest.err
  7215. - } && test -s conftest.$ac_objext; then
  7216. - am_cv_proto_iconv_arg1=""
  7217. -else
  7218. - $as_echo "$as_me: failed program was:" >&5
  7219. -sed 's/^/| /' conftest.$ac_ext >&5
  7220. -
  7221. - am_cv_proto_iconv_arg1="const"
  7222. -fi
  7223. -
  7224. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7225. - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
  7226. -fi
  7227. -
  7228. - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
  7229. - { $as_echo "$as_me:$LINENO: result: ${ac_t:-
  7230. - }$am_cv_proto_iconv" >&5
  7231. -$as_echo "${ac_t:-
  7232. - }$am_cv_proto_iconv" >&6; }
  7233. -
  7234. -cat >>confdefs.h <<_ACEOF
  7235. -#define ICONV_CONST $am_cv_proto_iconv_arg1
  7236. -_ACEOF
  7237. -
  7238. - fi
  7239. -
  7240. -
  7241. -cat >>confdefs.h <<\_ACEOF
  7242. -#define ENABLE_UNICODE 1
  7243. -_ACEOF
  7244. -
  7245. - ENCODING="utf-8"
  7246. -fi
  7247. -DEFAULT_CHARSET="iso-8859-1"
  7248. -
  7249. -
  7250. -if test x$USE_UNICODE != xYES ; then
  7251. -# Check whether --enable-russian was given.
  7252. -if test "${enable_russian+set}" = set; then
  7253. - enableval=$enable_russian; if test "$enableval" = no; then
  7254. - USE_CP866=NO
  7255. - else
  7256. - USE_CP866=YES
  7257. - fi
  7258. -
  7259. -fi
  7260. -
  7261. -
  7262. -if test x$USE_CP866 = xYES ; then
  7263. -
  7264. -cat >>confdefs.h <<\_ACEOF
  7265. -#define CP866 1
  7266. -_ACEOF
  7267. -
  7268. - DEFAULT_CHARSET="CP866"
  7269. -fi
  7270. -fi
  7271. -
  7272. -
  7273. -# Check whether --with-charset was given.
  7274. -if test "${with_charset+set}" = set; then
  7275. - withval=$with_charset;
  7276. -cat >>confdefs.h <<_ACEOF
  7277. -#define DEFAULT_CHARSET "$withval"
  7278. -_ACEOF
  7279. -
  7280. -
  7281. -fi
  7282. -
  7283. -
  7284. -
  7285. -
  7286. -
  7287. -cat >>confdefs.h <<_ACEOF
  7288. -#define DEFAULT_CHARSET "$DEFAULT_CHARSET"
  7289. -_ACEOF
  7290. -
  7291. -
  7292. -
  7293. -# Check whether --enable-memdebug was given.
  7294. -if test "${enable_memdebug+set}" = set; then
  7295. - enableval=$enable_memdebug; if test "$enableval" = no; then
  7296. - USE_MEMDEBUG=NO
  7297. - else
  7298. - USE_MEMDEBUG=YES
  7299. - fi
  7300. -
  7301. -fi
  7302. -
  7303. -
  7304. -if test x$USE_MEMDEBUG = xYES ; then
  7305. -
  7306. -cat >>confdefs.h <<\_ACEOF
  7307. -#define ENABLE_MEMDEBUG 1
  7308. -_ACEOF
  7309. -
  7310. -fi
  7311. - if test x$USE_MEMDEBUG = xYES; then
  7312. - ENABLE_MEMDEBUG_TRUE=
  7313. - ENABLE_MEMDEBUG_FALSE='#'
  7314. -else
  7315. - ENABLE_MEMDEBUG_TRUE='#'
  7316. - ENABLE_MEMDEBUG_FALSE=
  7317. -fi
  7318. -
  7319. -
  7320. -ac_ext=c
  7321. -ac_cpp='$CPP $CPPFLAGS'
  7322. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7323. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7324. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7325. -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  7326. -$as_echo_n "checking how to run the C preprocessor... " >&6; }
  7327. -# On Suns, sometimes $CPP names a directory.
  7328. -if test -n "$CPP" && test -d "$CPP"; then
  7329. - CPP=
  7330. -fi
  7331. -if test -z "$CPP"; then
  7332. - if test "${ac_cv_prog_CPP+set}" = set; then
  7333. - $as_echo_n "(cached) " >&6
  7334. -else
  7335. - # Double quotes because CPP needs to be expanded
  7336. - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  7337. - do
  7338. - ac_preproc_ok=false
  7339. -for ac_c_preproc_warn_flag in '' yes
  7340. -do
  7341. - # Use a header file that comes with gcc, so configuring glibc
  7342. - # with a fresh cross-compiler works.
  7343. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7344. - # <limits.h> exists even on freestanding compilers.
  7345. - # On the NeXT, cc -E runs the code through the compiler's parser,
  7346. - # not just through cpp. "Syntax error" is here to catch this case.
  7347. - cat >conftest.$ac_ext <<_ACEOF
  7348. -/* confdefs.h. */
  7349. -_ACEOF
  7350. -cat confdefs.h >>conftest.$ac_ext
  7351. -cat >>conftest.$ac_ext <<_ACEOF
  7352. -/* end confdefs.h. */
  7353. -#ifdef __STDC__
  7354. -# include <limits.h>
  7355. -#else
  7356. -# include <assert.h>
  7357. -#endif
  7358. - Syntax error
  7359. -_ACEOF
  7360. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  7361. -case "(($ac_try" in
  7362. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7363. - *) ac_try_echo=$ac_try;;
  7364. -esac
  7365. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7366. -$as_echo "$ac_try_echo") >&5
  7367. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7368. - ac_status=$?
  7369. - grep -v '^ *+' conftest.er1 >conftest.err
  7370. - rm -f conftest.er1
  7371. - cat conftest.err >&5
  7372. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7373. - (exit $ac_status); } >/dev/null && {
  7374. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7375. - test ! -s conftest.err
  7376. - }; then
  7377. - :
  7378. -else
  7379. - $as_echo "$as_me: failed program was:" >&5
  7380. -sed 's/^/| /' conftest.$ac_ext >&5
  7381. -
  7382. - # Broken: fails on valid input.
  7383. -continue
  7384. -fi
  7385. -
  7386. -rm -f conftest.err conftest.$ac_ext
  7387. -
  7388. - # OK, works on sane cases. Now check whether nonexistent headers
  7389. - # can be detected and how.
  7390. - cat >conftest.$ac_ext <<_ACEOF
  7391. -/* confdefs.h. */
  7392. -_ACEOF
  7393. -cat confdefs.h >>conftest.$ac_ext
  7394. -cat >>conftest.$ac_ext <<_ACEOF
  7395. -/* end confdefs.h. */
  7396. -#include <ac_nonexistent.h>
  7397. -_ACEOF
  7398. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  7399. -case "(($ac_try" in
  7400. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7401. - *) ac_try_echo=$ac_try;;
  7402. -esac
  7403. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7404. -$as_echo "$ac_try_echo") >&5
  7405. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7406. - ac_status=$?
  7407. - grep -v '^ *+' conftest.er1 >conftest.err
  7408. - rm -f conftest.er1
  7409. - cat conftest.err >&5
  7410. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7411. - (exit $ac_status); } >/dev/null && {
  7412. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7413. - test ! -s conftest.err
  7414. - }; then
  7415. - # Broken: success on invalid input.
  7416. -continue
  7417. -else
  7418. - $as_echo "$as_me: failed program was:" >&5
  7419. -sed 's/^/| /' conftest.$ac_ext >&5
  7420. -
  7421. - # Passes both tests.
  7422. -ac_preproc_ok=:
  7423. -break
  7424. -fi
  7425. -
  7426. -rm -f conftest.err conftest.$ac_ext
  7427. -
  7428. -done
  7429. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7430. -rm -f conftest.err conftest.$ac_ext
  7431. -if $ac_preproc_ok; then
  7432. - break
  7433. -fi
  7434. -
  7435. - done
  7436. - ac_cv_prog_CPP=$CPP
  7437. -
  7438. -fi
  7439. - CPP=$ac_cv_prog_CPP
  7440. -else
  7441. - ac_cv_prog_CPP=$CPP
  7442. -fi
  7443. -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
  7444. -$as_echo "$CPP" >&6; }
  7445. -ac_preproc_ok=false
  7446. -for ac_c_preproc_warn_flag in '' yes
  7447. -do
  7448. - # Use a header file that comes with gcc, so configuring glibc
  7449. - # with a fresh cross-compiler works.
  7450. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7451. - # <limits.h> exists even on freestanding compilers.
  7452. - # On the NeXT, cc -E runs the code through the compiler's parser,
  7453. - # not just through cpp. "Syntax error" is here to catch this case.
  7454. - cat >conftest.$ac_ext <<_ACEOF
  7455. -/* confdefs.h. */
  7456. -_ACEOF
  7457. -cat confdefs.h >>conftest.$ac_ext
  7458. -cat >>conftest.$ac_ext <<_ACEOF
  7459. -/* end confdefs.h. */
  7460. -#ifdef __STDC__
  7461. -# include <limits.h>
  7462. -#else
  7463. -# include <assert.h>
  7464. -#endif
  7465. - Syntax error
  7466. -_ACEOF
  7467. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  7468. -case "(($ac_try" in
  7469. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7470. - *) ac_try_echo=$ac_try;;
  7471. -esac
  7472. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7473. -$as_echo "$ac_try_echo") >&5
  7474. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7475. - ac_status=$?
  7476. - grep -v '^ *+' conftest.er1 >conftest.err
  7477. - rm -f conftest.er1
  7478. - cat conftest.err >&5
  7479. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7480. - (exit $ac_status); } >/dev/null && {
  7481. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7482. - test ! -s conftest.err
  7483. - }; then
  7484. - :
  7485. -else
  7486. - $as_echo "$as_me: failed program was:" >&5
  7487. -sed 's/^/| /' conftest.$ac_ext >&5
  7488. -
  7489. - # Broken: fails on valid input.
  7490. -continue
  7491. -fi
  7492. -
  7493. -rm -f conftest.err conftest.$ac_ext
  7494. -
  7495. - # OK, works on sane cases. Now check whether nonexistent headers
  7496. - # can be detected and how.
  7497. - cat >conftest.$ac_ext <<_ACEOF
  7498. -/* confdefs.h. */
  7499. -_ACEOF
  7500. -cat confdefs.h >>conftest.$ac_ext
  7501. -cat >>conftest.$ac_ext <<_ACEOF
  7502. -/* end confdefs.h. */
  7503. -#include <ac_nonexistent.h>
  7504. -_ACEOF
  7505. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  7506. -case "(($ac_try" in
  7507. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7508. - *) ac_try_echo=$ac_try;;
  7509. -esac
  7510. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7511. -$as_echo "$ac_try_echo") >&5
  7512. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7513. - ac_status=$?
  7514. - grep -v '^ *+' conftest.er1 >conftest.err
  7515. - rm -f conftest.er1
  7516. - cat conftest.err >&5
  7517. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7518. - (exit $ac_status); } >/dev/null && {
  7519. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7520. - test ! -s conftest.err
  7521. - }; then
  7522. - # Broken: success on invalid input.
  7523. -continue
  7524. -else
  7525. - $as_echo "$as_me: failed program was:" >&5
  7526. -sed 's/^/| /' conftest.$ac_ext >&5
  7527. -
  7528. - # Passes both tests.
  7529. -ac_preproc_ok=:
  7530. -break
  7531. -fi
  7532. -
  7533. -rm -f conftest.err conftest.$ac_ext
  7534. -
  7535. -done
  7536. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7537. -rm -f conftest.err conftest.$ac_ext
  7538. -if $ac_preproc_ok; then
  7539. - :
  7540. -else
  7541. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  7542. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7543. -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  7544. -See \`config.log' for more details." >&5
  7545. -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  7546. -See \`config.log' for more details." >&2;}
  7547. - { (exit 1); exit 1; }; }; }
  7548. -fi
  7549. -
  7550. -ac_ext=c
  7551. -ac_cpp='$CPP $CPPFLAGS'
  7552. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7553. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7554. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7555. -
  7556. -
  7557. -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  7558. -$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  7559. -if test "${ac_cv_path_GREP+set}" = set; then
  7560. - $as_echo_n "(cached) " >&6
  7561. -else
  7562. - if test -z "$GREP"; then
  7563. - ac_path_GREP_found=false
  7564. - # Loop through the user's path and test for each of PROGNAME-LIST
  7565. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7566. -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7567. -do
  7568. - IFS=$as_save_IFS
  7569. - test -z "$as_dir" && as_dir=.
  7570. - for ac_prog in grep ggrep; do
  7571. - for ac_exec_ext in '' $ac_executable_extensions; do
  7572. - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  7573. - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  7574. -# Check for GNU ac_path_GREP and select it if it is found.
  7575. - # Check for GNU $ac_path_GREP
  7576. -case `"$ac_path_GREP" --version 2>&1` in
  7577. -*GNU*)
  7578. - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  7579. -*)
  7580. - ac_count=0
  7581. - $as_echo_n 0123456789 >"conftest.in"
  7582. - while :
  7583. - do
  7584. - cat "conftest.in" "conftest.in" >"conftest.tmp"
  7585. - mv "conftest.tmp" "conftest.in"
  7586. - cp "conftest.in" "conftest.nl"
  7587. - $as_echo 'GREP' >> "conftest.nl"
  7588. - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7589. - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7590. - ac_count=`expr $ac_count + 1`
  7591. - if test $ac_count -gt ${ac_path_GREP_max-0}; then
  7592. - # Best one so far, save it but keep looking for a better one
  7593. - ac_cv_path_GREP="$ac_path_GREP"
  7594. - ac_path_GREP_max=$ac_count
  7595. - fi
  7596. - # 10*(2^10) chars as input seems more than enough
  7597. - test $ac_count -gt 10 && break
  7598. - done
  7599. - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7600. -esac
  7601. -
  7602. - $ac_path_GREP_found && break 3
  7603. - done
  7604. - done
  7605. -done
  7606. -IFS=$as_save_IFS
  7607. - if test -z "$ac_cv_path_GREP"; then
  7608. - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  7609. -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  7610. - { (exit 1); exit 1; }; }
  7611. - fi
  7612. -else
  7613. - ac_cv_path_GREP=$GREP
  7614. -fi
  7615. -
  7616. -fi
  7617. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  7618. -$as_echo "$ac_cv_path_GREP" >&6; }
  7619. - GREP="$ac_cv_path_GREP"
  7620. -
  7621. -
  7622. -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
  7623. -$as_echo_n "checking for egrep... " >&6; }
  7624. -if test "${ac_cv_path_EGREP+set}" = set; then
  7625. - $as_echo_n "(cached) " >&6
  7626. -else
  7627. - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  7628. - then ac_cv_path_EGREP="$GREP -E"
  7629. - else
  7630. - if test -z "$EGREP"; then
  7631. - ac_path_EGREP_found=false
  7632. - # Loop through the user's path and test for each of PROGNAME-LIST
  7633. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7634. -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7635. -do
  7636. - IFS=$as_save_IFS
  7637. - test -z "$as_dir" && as_dir=.
  7638. - for ac_prog in egrep; do
  7639. - for ac_exec_ext in '' $ac_executable_extensions; do
  7640. - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  7641. - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  7642. -# Check for GNU ac_path_EGREP and select it if it is found.
  7643. - # Check for GNU $ac_path_EGREP
  7644. -case `"$ac_path_EGREP" --version 2>&1` in
  7645. -*GNU*)
  7646. - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  7647. -*)
  7648. - ac_count=0
  7649. - $as_echo_n 0123456789 >"conftest.in"
  7650. - while :
  7651. - do
  7652. - cat "conftest.in" "conftest.in" >"conftest.tmp"
  7653. - mv "conftest.tmp" "conftest.in"
  7654. - cp "conftest.in" "conftest.nl"
  7655. - $as_echo 'EGREP' >> "conftest.nl"
  7656. - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7657. - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7658. - ac_count=`expr $ac_count + 1`
  7659. - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  7660. - # Best one so far, save it but keep looking for a better one
  7661. - ac_cv_path_EGREP="$ac_path_EGREP"
  7662. - ac_path_EGREP_max=$ac_count
  7663. - fi
  7664. - # 10*(2^10) chars as input seems more than enough
  7665. - test $ac_count -gt 10 && break
  7666. - done
  7667. - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7668. -esac
  7669. -
  7670. - $ac_path_EGREP_found && break 3
  7671. - done
  7672. - done
  7673. -done
  7674. -IFS=$as_save_IFS
  7675. - if test -z "$ac_cv_path_EGREP"; then
  7676. - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  7677. -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  7678. - { (exit 1); exit 1; }; }
  7679. - fi
  7680. -else
  7681. - ac_cv_path_EGREP=$EGREP
  7682. -fi
  7683. -
  7684. - fi
  7685. -fi
  7686. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  7687. -$as_echo "$ac_cv_path_EGREP" >&6; }
  7688. - EGREP="$ac_cv_path_EGREP"
  7689. -
  7690. -
  7691. -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  7692. -$as_echo_n "checking for ANSI C header files... " >&6; }
  7693. -if test "${ac_cv_header_stdc+set}" = set; then
  7694. - $as_echo_n "(cached) " >&6
  7695. -else
  7696. - cat >conftest.$ac_ext <<_ACEOF
  7697. -/* confdefs.h. */
  7698. -_ACEOF
  7699. -cat confdefs.h >>conftest.$ac_ext
  7700. -cat >>conftest.$ac_ext <<_ACEOF
  7701. -/* end confdefs.h. */
  7702. -#include <stdlib.h>
  7703. -#include <stdarg.h>
  7704. -#include <string.h>
  7705. -#include <float.h>
  7706. -
  7707. -int
  7708. -main ()
  7709. -{
  7710. -
  7711. - ;
  7712. - return 0;
  7713. -}
  7714. -_ACEOF
  7715. -rm -f conftest.$ac_objext
  7716. -if { (ac_try="$ac_compile"
  7717. -case "(($ac_try" in
  7718. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7719. - *) ac_try_echo=$ac_try;;
  7720. -esac
  7721. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7722. -$as_echo "$ac_try_echo") >&5
  7723. - (eval "$ac_compile") 2>conftest.er1
  7724. - ac_status=$?
  7725. - grep -v '^ *+' conftest.er1 >conftest.err
  7726. - rm -f conftest.er1
  7727. - cat conftest.err >&5
  7728. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7729. - (exit $ac_status); } && {
  7730. - test -z "$ac_c_werror_flag" ||
  7731. - test ! -s conftest.err
  7732. - } && test -s conftest.$ac_objext; then
  7733. - ac_cv_header_stdc=yes
  7734. -else
  7735. - $as_echo "$as_me: failed program was:" >&5
  7736. -sed 's/^/| /' conftest.$ac_ext >&5
  7737. -
  7738. - ac_cv_header_stdc=no
  7739. -fi
  7740. -
  7741. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7742. -
  7743. -if test $ac_cv_header_stdc = yes; then
  7744. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7745. - cat >conftest.$ac_ext <<_ACEOF
  7746. -/* confdefs.h. */
  7747. -_ACEOF
  7748. -cat confdefs.h >>conftest.$ac_ext
  7749. -cat >>conftest.$ac_ext <<_ACEOF
  7750. -/* end confdefs.h. */
  7751. -#include <string.h>
  7752. -
  7753. -_ACEOF
  7754. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7755. - $EGREP "memchr" >/dev/null 2>&1; then
  7756. - :
  7757. -else
  7758. - ac_cv_header_stdc=no
  7759. -fi
  7760. -rm -f conftest*
  7761. -
  7762. -fi
  7763. -
  7764. -if test $ac_cv_header_stdc = yes; then
  7765. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7766. - cat >conftest.$ac_ext <<_ACEOF
  7767. -/* confdefs.h. */
  7768. -_ACEOF
  7769. -cat confdefs.h >>conftest.$ac_ext
  7770. -cat >>conftest.$ac_ext <<_ACEOF
  7771. -/* end confdefs.h. */
  7772. -#include <stdlib.h>
  7773. -
  7774. -_ACEOF
  7775. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7776. - $EGREP "free" >/dev/null 2>&1; then
  7777. - :
  7778. -else
  7779. - ac_cv_header_stdc=no
  7780. -fi
  7781. -rm -f conftest*
  7782. -
  7783. -fi
  7784. -
  7785. -if test $ac_cv_header_stdc = yes; then
  7786. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7787. - if test "$cross_compiling" = yes; then
  7788. - :
  7789. -else
  7790. - cat >conftest.$ac_ext <<_ACEOF
  7791. -/* confdefs.h. */
  7792. -_ACEOF
  7793. -cat confdefs.h >>conftest.$ac_ext
  7794. -cat >>conftest.$ac_ext <<_ACEOF
  7795. -/* end confdefs.h. */
  7796. -#include <ctype.h>
  7797. -#include <stdlib.h>
  7798. -#if ((' ' & 0x0FF) == 0x020)
  7799. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7800. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7801. -#else
  7802. -# define ISLOWER(c) \
  7803. - (('a' <= (c) && (c) <= 'i') \
  7804. - || ('j' <= (c) && (c) <= 'r') \
  7805. - || ('s' <= (c) && (c) <= 'z'))
  7806. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7807. -#endif
  7808. -
  7809. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7810. -int
  7811. -main ()
  7812. -{
  7813. - int i;
  7814. - for (i = 0; i < 256; i++)
  7815. - if (XOR (islower (i), ISLOWER (i))
  7816. - || toupper (i) != TOUPPER (i))
  7817. - return 2;
  7818. - return 0;
  7819. -}
  7820. -_ACEOF
  7821. -rm -f conftest$ac_exeext
  7822. -if { (ac_try="$ac_link"
  7823. -case "(($ac_try" in
  7824. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7825. - *) ac_try_echo=$ac_try;;
  7826. -esac
  7827. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7828. -$as_echo "$ac_try_echo") >&5
  7829. - (eval "$ac_link") 2>&5
  7830. - ac_status=$?
  7831. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7832. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7833. - { (case "(($ac_try" in
  7834. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7835. - *) ac_try_echo=$ac_try;;
  7836. -esac
  7837. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7838. -$as_echo "$ac_try_echo") >&5
  7839. - (eval "$ac_try") 2>&5
  7840. - ac_status=$?
  7841. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7842. - (exit $ac_status); }; }; then
  7843. - :
  7844. -else
  7845. - $as_echo "$as_me: program exited with status $ac_status" >&5
  7846. -$as_echo "$as_me: failed program was:" >&5
  7847. -sed 's/^/| /' conftest.$ac_ext >&5
  7848. -
  7849. -( exit $ac_status )
  7850. -ac_cv_header_stdc=no
  7851. -fi
  7852. -rm -rf conftest.dSYM
  7853. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7854. -fi
  7855. -
  7856. -
  7857. -fi
  7858. -fi
  7859. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  7860. -$as_echo "$ac_cv_header_stdc" >&6; }
  7861. -if test $ac_cv_header_stdc = yes; then
  7862. -
  7863. -cat >>confdefs.h <<\_ACEOF
  7864. -#define STDC_HEADERS 1
  7865. -_ACEOF
  7866. -
  7867. -fi
  7868. -
  7869. -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7870. -
  7871. -
  7872. -
  7873. -
  7874. -
  7875. -
  7876. -
  7877. -
  7878. -
  7879. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7880. - inttypes.h stdint.h unistd.h
  7881. -do
  7882. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7883. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  7884. -$as_echo_n "checking for $ac_header... " >&6; }
  7885. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7886. - $as_echo_n "(cached) " >&6
  7887. -else
  7888. - cat >conftest.$ac_ext <<_ACEOF
  7889. -/* confdefs.h. */
  7890. -_ACEOF
  7891. -cat confdefs.h >>conftest.$ac_ext
  7892. -cat >>conftest.$ac_ext <<_ACEOF
  7893. -/* end confdefs.h. */
  7894. -$ac_includes_default
  7895. -
  7896. -#include <$ac_header>
  7897. -_ACEOF
  7898. -rm -f conftest.$ac_objext
  7899. -if { (ac_try="$ac_compile"
  7900. -case "(($ac_try" in
  7901. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7902. - *) ac_try_echo=$ac_try;;
  7903. -esac
  7904. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7905. -$as_echo "$ac_try_echo") >&5
  7906. - (eval "$ac_compile") 2>conftest.er1
  7907. - ac_status=$?
  7908. - grep -v '^ *+' conftest.er1 >conftest.err
  7909. - rm -f conftest.er1
  7910. - cat conftest.err >&5
  7911. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7912. - (exit $ac_status); } && {
  7913. - test -z "$ac_c_werror_flag" ||
  7914. - test ! -s conftest.err
  7915. - } && test -s conftest.$ac_objext; then
  7916. - eval "$as_ac_Header=yes"
  7917. -else
  7918. - $as_echo "$as_me: failed program was:" >&5
  7919. -sed 's/^/| /' conftest.$ac_ext >&5
  7920. -
  7921. - eval "$as_ac_Header=no"
  7922. -fi
  7923. -
  7924. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7925. -fi
  7926. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  7927. - $as_echo "$as_val"'`
  7928. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  7929. -$as_echo "$ac_res" >&6; }
  7930. -as_val=`eval 'as_val=${'$as_ac_Header'}
  7931. - $as_echo "$as_val"'`
  7932. - if test "x$as_val" = x""yes; then
  7933. - cat >>confdefs.h <<_ACEOF
  7934. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7935. -_ACEOF
  7936. -
  7937. -fi
  7938. -
  7939. -done
  7940. -
  7941. -
  7942. -{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
  7943. -$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  7944. -if test "${ac_cv_header_stdbool_h+set}" = set; then
  7945. - $as_echo_n "(cached) " >&6
  7946. -else
  7947. - cat >conftest.$ac_ext <<_ACEOF
  7948. -/* confdefs.h. */
  7949. -_ACEOF
  7950. -cat confdefs.h >>conftest.$ac_ext
  7951. -cat >>conftest.$ac_ext <<_ACEOF
  7952. -/* end confdefs.h. */
  7953. -
  7954. -#include <stdbool.h>
  7955. -#ifndef bool
  7956. -# error bool is not defined
  7957. -#endif
  7958. -#ifndef false
  7959. -# error false is not defined
  7960. -#endif
  7961. -#if false
  7962. -# error false is not 0
  7963. -#endif
  7964. -#ifndef true
  7965. -# error true is not defined
  7966. -#endif
  7967. -#if true != 1
  7968. -# error true is not 1
  7969. -#endif
  7970. -#ifndef __bool_true_false_are_defined
  7971. -# error __bool_true_false_are_defined is not defined
  7972. -#endif
  7973. -
  7974. - struct s { _Bool s: 1; _Bool t; } s;
  7975. -
  7976. - char a[true == 1 ? 1 : -1];
  7977. - char b[false == 0 ? 1 : -1];
  7978. - char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  7979. - char d[(bool) -0.5 == true ? 1 : -1];
  7980. - bool e = &s;
  7981. - char f[(_Bool) -0.0 == false ? 1 : -1];
  7982. - char g[true];
  7983. - char h[sizeof (_Bool)];
  7984. - char i[sizeof s.t];
  7985. -
  7986. -int
  7987. -main ()
  7988. -{
  7989. - return !a + !b + !c + !d + !e + !f + !g + !h + !i;
  7990. - ;
  7991. - return 0;
  7992. -}
  7993. -_ACEOF
  7994. -rm -f conftest.$ac_objext
  7995. -if { (ac_try="$ac_compile"
  7996. -case "(($ac_try" in
  7997. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7998. - *) ac_try_echo=$ac_try;;
  7999. -esac
  8000. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8001. -$as_echo "$ac_try_echo") >&5
  8002. - (eval "$ac_compile") 2>conftest.er1
  8003. - ac_status=$?
  8004. - grep -v '^ *+' conftest.er1 >conftest.err
  8005. - rm -f conftest.er1
  8006. - cat conftest.err >&5
  8007. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8008. - (exit $ac_status); } && {
  8009. - test -z "$ac_c_werror_flag" ||
  8010. - test ! -s conftest.err
  8011. - } && test -s conftest.$ac_objext; then
  8012. - ac_cv_header_stdbool_h=yes
  8013. -else
  8014. - $as_echo "$as_me: failed program was:" >&5
  8015. -sed 's/^/| /' conftest.$ac_ext >&5
  8016. -
  8017. - ac_cv_header_stdbool_h=no
  8018. -fi
  8019. -
  8020. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8021. -fi
  8022. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
  8023. -$as_echo "$ac_cv_header_stdbool_h" >&6; }
  8024. -{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
  8025. -$as_echo_n "checking for _Bool... " >&6; }
  8026. -if test "${ac_cv_type__Bool+set}" = set; then
  8027. - $as_echo_n "(cached) " >&6
  8028. -else
  8029. - ac_cv_type__Bool=no
  8030. -cat >conftest.$ac_ext <<_ACEOF
  8031. -/* confdefs.h. */
  8032. -_ACEOF
  8033. -cat confdefs.h >>conftest.$ac_ext
  8034. -cat >>conftest.$ac_ext <<_ACEOF
  8035. -/* end confdefs.h. */
  8036. -$ac_includes_default
  8037. -int
  8038. -main ()
  8039. -{
  8040. -if (sizeof (_Bool))
  8041. - return 0;
  8042. - ;
  8043. - return 0;
  8044. -}
  8045. -_ACEOF
  8046. -rm -f conftest.$ac_objext
  8047. -if { (ac_try="$ac_compile"
  8048. -case "(($ac_try" in
  8049. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8050. - *) ac_try_echo=$ac_try;;
  8051. -esac
  8052. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8053. -$as_echo "$ac_try_echo") >&5
  8054. - (eval "$ac_compile") 2>conftest.er1
  8055. - ac_status=$?
  8056. - grep -v '^ *+' conftest.er1 >conftest.err
  8057. - rm -f conftest.er1
  8058. - cat conftest.err >&5
  8059. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8060. - (exit $ac_status); } && {
  8061. - test -z "$ac_c_werror_flag" ||
  8062. - test ! -s conftest.err
  8063. - } && test -s conftest.$ac_objext; then
  8064. - cat >conftest.$ac_ext <<_ACEOF
  8065. -/* confdefs.h. */
  8066. -_ACEOF
  8067. -cat confdefs.h >>conftest.$ac_ext
  8068. -cat >>conftest.$ac_ext <<_ACEOF
  8069. -/* end confdefs.h. */
  8070. -$ac_includes_default
  8071. -int
  8072. -main ()
  8073. -{
  8074. -if (sizeof ((_Bool)))
  8075. - return 0;
  8076. - ;
  8077. - return 0;
  8078. -}
  8079. -_ACEOF
  8080. -rm -f conftest.$ac_objext
  8081. -if { (ac_try="$ac_compile"
  8082. -case "(($ac_try" in
  8083. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8084. - *) ac_try_echo=$ac_try;;
  8085. -esac
  8086. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8087. -$as_echo "$ac_try_echo") >&5
  8088. - (eval "$ac_compile") 2>conftest.er1
  8089. - ac_status=$?
  8090. - grep -v '^ *+' conftest.er1 >conftest.err
  8091. - rm -f conftest.er1
  8092. - cat conftest.err >&5
  8093. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8094. - (exit $ac_status); } && {
  8095. - test -z "$ac_c_werror_flag" ||
  8096. - test ! -s conftest.err
  8097. - } && test -s conftest.$ac_objext; then
  8098. - :
  8099. -else
  8100. - $as_echo "$as_me: failed program was:" >&5
  8101. -sed 's/^/| /' conftest.$ac_ext >&5
  8102. -
  8103. - ac_cv_type__Bool=yes
  8104. -fi
  8105. -
  8106. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8107. -else
  8108. - $as_echo "$as_me: failed program was:" >&5
  8109. -sed 's/^/| /' conftest.$ac_ext >&5
  8110. -
  8111. -
  8112. -fi
  8113. -
  8114. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8115. -fi
  8116. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
  8117. -$as_echo "$ac_cv_type__Bool" >&6; }
  8118. -if test "x$ac_cv_type__Bool" = x""yes; then
  8119. -
  8120. -cat >>confdefs.h <<_ACEOF
  8121. -#define HAVE__BOOL 1
  8122. -_ACEOF
  8123. -
  8124. -
  8125. -fi
  8126. -
  8127. -if test $ac_cv_header_stdbool_h = yes; then
  8128. -
  8129. -cat >>confdefs.h <<\_ACEOF
  8130. -#define HAVE_STDBOOL_H 1
  8131. -_ACEOF
  8132. -
  8133. -fi
  8134. -
  8135. -
  8136. -
  8137. -
  8138. -
  8139. -
  8140. -ac_header_dirent=no
  8141. -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  8142. - as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  8143. -{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  8144. -$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  8145. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8146. - $as_echo_n "(cached) " >&6
  8147. -else
  8148. - cat >conftest.$ac_ext <<_ACEOF
  8149. -/* confdefs.h. */
  8150. -_ACEOF
  8151. -cat confdefs.h >>conftest.$ac_ext
  8152. -cat >>conftest.$ac_ext <<_ACEOF
  8153. -/* end confdefs.h. */
  8154. -#include <sys/types.h>
  8155. -#include <$ac_hdr>
  8156. -
  8157. -int
  8158. -main ()
  8159. -{
  8160. -if ((DIR *) 0)
  8161. -return 0;
  8162. - ;
  8163. - return 0;
  8164. -}
  8165. -_ACEOF
  8166. -rm -f conftest.$ac_objext
  8167. -if { (ac_try="$ac_compile"
  8168. -case "(($ac_try" in
  8169. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8170. - *) ac_try_echo=$ac_try;;
  8171. -esac
  8172. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8173. -$as_echo "$ac_try_echo") >&5
  8174. - (eval "$ac_compile") 2>conftest.er1
  8175. - ac_status=$?
  8176. - grep -v '^ *+' conftest.er1 >conftest.err
  8177. - rm -f conftest.er1
  8178. - cat conftest.err >&5
  8179. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8180. - (exit $ac_status); } && {
  8181. - test -z "$ac_c_werror_flag" ||
  8182. - test ! -s conftest.err
  8183. - } && test -s conftest.$ac_objext; then
  8184. - eval "$as_ac_Header=yes"
  8185. -else
  8186. - $as_echo "$as_me: failed program was:" >&5
  8187. -sed 's/^/| /' conftest.$ac_ext >&5
  8188. -
  8189. - eval "$as_ac_Header=no"
  8190. -fi
  8191. -
  8192. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8193. -fi
  8194. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  8195. - $as_echo "$as_val"'`
  8196. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  8197. -$as_echo "$ac_res" >&6; }
  8198. -as_val=`eval 'as_val=${'$as_ac_Header'}
  8199. - $as_echo "$as_val"'`
  8200. - if test "x$as_val" = x""yes; then
  8201. - cat >>confdefs.h <<_ACEOF
  8202. -#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  8203. -_ACEOF
  8204. -
  8205. -ac_header_dirent=$ac_hdr; break
  8206. -fi
  8207. -
  8208. -done
  8209. -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  8210. -if test $ac_header_dirent = dirent.h; then
  8211. - { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  8212. -$as_echo_n "checking for library containing opendir... " >&6; }
  8213. -if test "${ac_cv_search_opendir+set}" = set; then
  8214. - $as_echo_n "(cached) " >&6
  8215. -else
  8216. - ac_func_search_save_LIBS=$LIBS
  8217. -cat >conftest.$ac_ext <<_ACEOF
  8218. -/* confdefs.h. */
  8219. -_ACEOF
  8220. -cat confdefs.h >>conftest.$ac_ext
  8221. -cat >>conftest.$ac_ext <<_ACEOF
  8222. -/* end confdefs.h. */
  8223. -
  8224. -/* Override any GCC internal prototype to avoid an error.
  8225. - Use char because int might match the return type of a GCC
  8226. - builtin and then its argument prototype would still apply. */
  8227. -#ifdef __cplusplus
  8228. -extern "C"
  8229. -#endif
  8230. -char opendir ();
  8231. -int
  8232. -main ()
  8233. -{
  8234. -return opendir ();
  8235. - ;
  8236. - return 0;
  8237. -}
  8238. -_ACEOF
  8239. -for ac_lib in '' dir; do
  8240. - if test -z "$ac_lib"; then
  8241. - ac_res="none required"
  8242. - else
  8243. - ac_res=-l$ac_lib
  8244. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  8245. - fi
  8246. - rm -f conftest.$ac_objext conftest$ac_exeext
  8247. -if { (ac_try="$ac_link"
  8248. -case "(($ac_try" in
  8249. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8250. - *) ac_try_echo=$ac_try;;
  8251. -esac
  8252. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8253. -$as_echo "$ac_try_echo") >&5
  8254. - (eval "$ac_link") 2>conftest.er1
  8255. - ac_status=$?
  8256. - grep -v '^ *+' conftest.er1 >conftest.err
  8257. - rm -f conftest.er1
  8258. - cat conftest.err >&5
  8259. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8260. - (exit $ac_status); } && {
  8261. - test -z "$ac_c_werror_flag" ||
  8262. - test ! -s conftest.err
  8263. - } && test -s conftest$ac_exeext && {
  8264. - test "$cross_compiling" = yes ||
  8265. - $as_test_x conftest$ac_exeext
  8266. - }; then
  8267. - ac_cv_search_opendir=$ac_res
  8268. -else
  8269. - $as_echo "$as_me: failed program was:" >&5
  8270. -sed 's/^/| /' conftest.$ac_ext >&5
  8271. -
  8272. -
  8273. -fi
  8274. -
  8275. -rm -rf conftest.dSYM
  8276. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8277. - conftest$ac_exeext
  8278. - if test "${ac_cv_search_opendir+set}" = set; then
  8279. - break
  8280. -fi
  8281. -done
  8282. -if test "${ac_cv_search_opendir+set}" = set; then
  8283. - :
  8284. -else
  8285. - ac_cv_search_opendir=no
  8286. -fi
  8287. -rm conftest.$ac_ext
  8288. -LIBS=$ac_func_search_save_LIBS
  8289. -fi
  8290. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  8291. -$as_echo "$ac_cv_search_opendir" >&6; }
  8292. -ac_res=$ac_cv_search_opendir
  8293. -if test "$ac_res" != no; then
  8294. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  8295. -
  8296. -fi
  8297. -
  8298. -else
  8299. - { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  8300. -$as_echo_n "checking for library containing opendir... " >&6; }
  8301. -if test "${ac_cv_search_opendir+set}" = set; then
  8302. - $as_echo_n "(cached) " >&6
  8303. -else
  8304. - ac_func_search_save_LIBS=$LIBS
  8305. -cat >conftest.$ac_ext <<_ACEOF
  8306. -/* confdefs.h. */
  8307. -_ACEOF
  8308. -cat confdefs.h >>conftest.$ac_ext
  8309. -cat >>conftest.$ac_ext <<_ACEOF
  8310. -/* end confdefs.h. */
  8311. -
  8312. -/* Override any GCC internal prototype to avoid an error.
  8313. - Use char because int might match the return type of a GCC
  8314. - builtin and then its argument prototype would still apply. */
  8315. -#ifdef __cplusplus
  8316. -extern "C"
  8317. -#endif
  8318. -char opendir ();
  8319. -int
  8320. -main ()
  8321. -{
  8322. -return opendir ();
  8323. - ;
  8324. - return 0;
  8325. -}
  8326. -_ACEOF
  8327. -for ac_lib in '' x; do
  8328. - if test -z "$ac_lib"; then
  8329. - ac_res="none required"
  8330. - else
  8331. - ac_res=-l$ac_lib
  8332. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  8333. - fi
  8334. - rm -f conftest.$ac_objext conftest$ac_exeext
  8335. -if { (ac_try="$ac_link"
  8336. -case "(($ac_try" in
  8337. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8338. - *) ac_try_echo=$ac_try;;
  8339. -esac
  8340. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8341. -$as_echo "$ac_try_echo") >&5
  8342. - (eval "$ac_link") 2>conftest.er1
  8343. - ac_status=$?
  8344. - grep -v '^ *+' conftest.er1 >conftest.err
  8345. - rm -f conftest.er1
  8346. - cat conftest.err >&5
  8347. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8348. - (exit $ac_status); } && {
  8349. - test -z "$ac_c_werror_flag" ||
  8350. - test ! -s conftest.err
  8351. - } && test -s conftest$ac_exeext && {
  8352. - test "$cross_compiling" = yes ||
  8353. - $as_test_x conftest$ac_exeext
  8354. - }; then
  8355. - ac_cv_search_opendir=$ac_res
  8356. -else
  8357. - $as_echo "$as_me: failed program was:" >&5
  8358. -sed 's/^/| /' conftest.$ac_ext >&5
  8359. -
  8360. -
  8361. -fi
  8362. -
  8363. -rm -rf conftest.dSYM
  8364. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8365. - conftest$ac_exeext
  8366. - if test "${ac_cv_search_opendir+set}" = set; then
  8367. - break
  8368. -fi
  8369. -done
  8370. -if test "${ac_cv_search_opendir+set}" = set; then
  8371. - :
  8372. -else
  8373. - ac_cv_search_opendir=no
  8374. -fi
  8375. -rm conftest.$ac_ext
  8376. -LIBS=$ac_func_search_save_LIBS
  8377. -fi
  8378. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  8379. -$as_echo "$ac_cv_search_opendir" >&6; }
  8380. -ac_res=$ac_cv_search_opendir
  8381. -if test "$ac_res" != no; then
  8382. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  8383. -
  8384. -fi
  8385. -
  8386. -fi
  8387. -
  8388. -{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  8389. -$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  8390. -if test "${ac_cv_header_time+set}" = set; then
  8391. - $as_echo_n "(cached) " >&6
  8392. -else
  8393. - cat >conftest.$ac_ext <<_ACEOF
  8394. -/* confdefs.h. */
  8395. -_ACEOF
  8396. -cat confdefs.h >>conftest.$ac_ext
  8397. -cat >>conftest.$ac_ext <<_ACEOF
  8398. -/* end confdefs.h. */
  8399. -#include <sys/types.h>
  8400. -#include <sys/time.h>
  8401. -#include <time.h>
  8402. -
  8403. -int
  8404. -main ()
  8405. -{
  8406. -if ((struct tm *) 0)
  8407. -return 0;
  8408. - ;
  8409. - return 0;
  8410. -}
  8411. -_ACEOF
  8412. -rm -f conftest.$ac_objext
  8413. -if { (ac_try="$ac_compile"
  8414. -case "(($ac_try" in
  8415. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8416. - *) ac_try_echo=$ac_try;;
  8417. -esac
  8418. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8419. -$as_echo "$ac_try_echo") >&5
  8420. - (eval "$ac_compile") 2>conftest.er1
  8421. - ac_status=$?
  8422. - grep -v '^ *+' conftest.er1 >conftest.err
  8423. - rm -f conftest.er1
  8424. - cat conftest.err >&5
  8425. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8426. - (exit $ac_status); } && {
  8427. - test -z "$ac_c_werror_flag" ||
  8428. - test ! -s conftest.err
  8429. - } && test -s conftest.$ac_objext; then
  8430. - ac_cv_header_time=yes
  8431. -else
  8432. - $as_echo "$as_me: failed program was:" >&5
  8433. -sed 's/^/| /' conftest.$ac_ext >&5
  8434. -
  8435. - ac_cv_header_time=no
  8436. -fi
  8437. -
  8438. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8439. -fi
  8440. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  8441. -$as_echo "$ac_cv_header_time" >&6; }
  8442. -if test $ac_cv_header_time = yes; then
  8443. -
  8444. -cat >>confdefs.h <<\_ACEOF
  8445. -#define TIME_WITH_SYS_TIME 1
  8446. -_ACEOF
  8447. -
  8448. -fi
  8449. -
  8450. -
  8451. -
  8452. -
  8453. -
  8454. -
  8455. -
  8456. -
  8457. -
  8458. -
  8459. -
  8460. -
  8461. -for ac_header in syslog.h sys/param.h fcntl.h string.h strings.h unistd.h sys/time.h sys/select.h inttypes.h stdarg.h stdint.h
  8462. -do
  8463. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8464. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8465. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  8466. -$as_echo_n "checking for $ac_header... " >&6; }
  8467. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8468. - $as_echo_n "(cached) " >&6
  8469. -fi
  8470. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  8471. - $as_echo "$as_val"'`
  8472. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  8473. -$as_echo "$ac_res" >&6; }
  8474. -else
  8475. - # Is the header compilable?
  8476. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  8477. -$as_echo_n "checking $ac_header usability... " >&6; }
  8478. -cat >conftest.$ac_ext <<_ACEOF
  8479. -/* confdefs.h. */
  8480. -_ACEOF
  8481. -cat confdefs.h >>conftest.$ac_ext
  8482. -cat >>conftest.$ac_ext <<_ACEOF
  8483. -/* end confdefs.h. */
  8484. -$ac_includes_default
  8485. -#include <$ac_header>
  8486. -_ACEOF
  8487. -rm -f conftest.$ac_objext
  8488. -if { (ac_try="$ac_compile"
  8489. -case "(($ac_try" in
  8490. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8491. - *) ac_try_echo=$ac_try;;
  8492. -esac
  8493. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8494. -$as_echo "$ac_try_echo") >&5
  8495. - (eval "$ac_compile") 2>conftest.er1
  8496. - ac_status=$?
  8497. - grep -v '^ *+' conftest.er1 >conftest.err
  8498. - rm -f conftest.er1
  8499. - cat conftest.err >&5
  8500. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8501. - (exit $ac_status); } && {
  8502. - test -z "$ac_c_werror_flag" ||
  8503. - test ! -s conftest.err
  8504. - } && test -s conftest.$ac_objext; then
  8505. - ac_header_compiler=yes
  8506. -else
  8507. - $as_echo "$as_me: failed program was:" >&5
  8508. -sed 's/^/| /' conftest.$ac_ext >&5
  8509. -
  8510. - ac_header_compiler=no
  8511. -fi
  8512. -
  8513. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8514. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8515. -$as_echo "$ac_header_compiler" >&6; }
  8516. -
  8517. -# Is the header present?
  8518. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  8519. -$as_echo_n "checking $ac_header presence... " >&6; }
  8520. -cat >conftest.$ac_ext <<_ACEOF
  8521. -/* confdefs.h. */
  8522. -_ACEOF
  8523. -cat confdefs.h >>conftest.$ac_ext
  8524. -cat >>conftest.$ac_ext <<_ACEOF
  8525. -/* end confdefs.h. */
  8526. -#include <$ac_header>
  8527. -_ACEOF
  8528. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  8529. -case "(($ac_try" in
  8530. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8531. - *) ac_try_echo=$ac_try;;
  8532. -esac
  8533. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8534. -$as_echo "$ac_try_echo") >&5
  8535. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8536. - ac_status=$?
  8537. - grep -v '^ *+' conftest.er1 >conftest.err
  8538. - rm -f conftest.er1
  8539. - cat conftest.err >&5
  8540. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8541. - (exit $ac_status); } >/dev/null && {
  8542. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8543. - test ! -s conftest.err
  8544. - }; then
  8545. - ac_header_preproc=yes
  8546. -else
  8547. - $as_echo "$as_me: failed program was:" >&5
  8548. -sed 's/^/| /' conftest.$ac_ext >&5
  8549. -
  8550. - ac_header_preproc=no
  8551. -fi
  8552. -
  8553. -rm -f conftest.err conftest.$ac_ext
  8554. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8555. -$as_echo "$ac_header_preproc" >&6; }
  8556. -
  8557. -# So? What about this header?
  8558. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8559. - yes:no: )
  8560. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  8561. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8562. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  8563. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  8564. - ac_header_preproc=yes
  8565. - ;;
  8566. - no:yes:* )
  8567. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  8568. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  8569. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  8570. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  8571. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  8572. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  8573. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  8574. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  8575. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  8576. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  8577. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  8578. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  8579. -
  8580. - ;;
  8581. -esac
  8582. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  8583. -$as_echo_n "checking for $ac_header... " >&6; }
  8584. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8585. - $as_echo_n "(cached) " >&6
  8586. -else
  8587. - eval "$as_ac_Header=\$ac_header_preproc"
  8588. -fi
  8589. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  8590. - $as_echo "$as_val"'`
  8591. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  8592. -$as_echo "$ac_res" >&6; }
  8593. -
  8594. -fi
  8595. -as_val=`eval 'as_val=${'$as_ac_Header'}
  8596. - $as_echo "$as_val"'`
  8597. - if test "x$as_val" = x""yes; then
  8598. - cat >>confdefs.h <<_ACEOF
  8599. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8600. -_ACEOF
  8601. -
  8602. -fi
  8603. -
  8604. -done
  8605. -
  8606. -
  8607. -
  8608. -for ac_header in limits.h float.h
  8609. -do
  8610. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8611. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8612. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  8613. -$as_echo_n "checking for $ac_header... " >&6; }
  8614. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8615. - $as_echo_n "(cached) " >&6
  8616. -fi
  8617. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  8618. - $as_echo "$as_val"'`
  8619. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  8620. -$as_echo "$ac_res" >&6; }
  8621. -else
  8622. - # Is the header compilable?
  8623. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  8624. -$as_echo_n "checking $ac_header usability... " >&6; }
  8625. -cat >conftest.$ac_ext <<_ACEOF
  8626. -/* confdefs.h. */
  8627. -_ACEOF
  8628. -cat confdefs.h >>conftest.$ac_ext
  8629. -cat >>conftest.$ac_ext <<_ACEOF
  8630. -/* end confdefs.h. */
  8631. -$ac_includes_default
  8632. -#include <$ac_header>
  8633. -_ACEOF
  8634. -rm -f conftest.$ac_objext
  8635. -if { (ac_try="$ac_compile"
  8636. -case "(($ac_try" in
  8637. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8638. - *) ac_try_echo=$ac_try;;
  8639. -esac
  8640. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8641. -$as_echo "$ac_try_echo") >&5
  8642. - (eval "$ac_compile") 2>conftest.er1
  8643. - ac_status=$?
  8644. - grep -v '^ *+' conftest.er1 >conftest.err
  8645. - rm -f conftest.er1
  8646. - cat conftest.err >&5
  8647. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8648. - (exit $ac_status); } && {
  8649. - test -z "$ac_c_werror_flag" ||
  8650. - test ! -s conftest.err
  8651. - } && test -s conftest.$ac_objext; then
  8652. - ac_header_compiler=yes
  8653. -else
  8654. - $as_echo "$as_me: failed program was:" >&5
  8655. -sed 's/^/| /' conftest.$ac_ext >&5
  8656. -
  8657. - ac_header_compiler=no
  8658. -fi
  8659. -
  8660. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8661. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8662. -$as_echo "$ac_header_compiler" >&6; }
  8663. -
  8664. -# Is the header present?
  8665. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  8666. -$as_echo_n "checking $ac_header presence... " >&6; }
  8667. -cat >conftest.$ac_ext <<_ACEOF
  8668. -/* confdefs.h. */
  8669. -_ACEOF
  8670. -cat confdefs.h >>conftest.$ac_ext
  8671. -cat >>conftest.$ac_ext <<_ACEOF
  8672. -/* end confdefs.h. */
  8673. -#include <$ac_header>
  8674. -_ACEOF
  8675. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  8676. -case "(($ac_try" in
  8677. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8678. - *) ac_try_echo=$ac_try;;
  8679. -esac
  8680. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8681. -$as_echo "$ac_try_echo") >&5
  8682. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8683. - ac_status=$?
  8684. - grep -v '^ *+' conftest.er1 >conftest.err
  8685. - rm -f conftest.er1
  8686. - cat conftest.err >&5
  8687. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8688. - (exit $ac_status); } >/dev/null && {
  8689. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8690. - test ! -s conftest.err
  8691. - }; then
  8692. - ac_header_preproc=yes
  8693. -else
  8694. - $as_echo "$as_me: failed program was:" >&5
  8695. -sed 's/^/| /' conftest.$ac_ext >&5
  8696. -
  8697. - ac_header_preproc=no
  8698. -fi
  8699. -
  8700. -rm -f conftest.err conftest.$ac_ext
  8701. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8702. -$as_echo "$ac_header_preproc" >&6; }
  8703. -
  8704. -# So? What about this header?
  8705. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8706. - yes:no: )
  8707. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  8708. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8709. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  8710. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  8711. - ac_header_preproc=yes
  8712. - ;;
  8713. - no:yes:* )
  8714. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  8715. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  8716. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  8717. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  8718. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  8719. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  8720. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  8721. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  8722. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  8723. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  8724. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  8725. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  8726. -
  8727. - ;;
  8728. -esac
  8729. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  8730. -$as_echo_n "checking for $ac_header... " >&6; }
  8731. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8732. - $as_echo_n "(cached) " >&6
  8733. -else
  8734. - eval "$as_ac_Header=\$ac_header_preproc"
  8735. -fi
  8736. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  8737. - $as_echo "$as_val"'`
  8738. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  8739. -$as_echo "$ac_res" >&6; }
  8740. -
  8741. -fi
  8742. -as_val=`eval 'as_val=${'$as_ac_Header'}
  8743. - $as_echo "$as_val"'`
  8744. - if test "x$as_val" = x""yes; then
  8745. - cat >>confdefs.h <<_ACEOF
  8746. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8747. -_ACEOF
  8748. -
  8749. -else
  8750. -
  8751. -for ac_header in values.h
  8752. -do
  8753. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8754. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8755. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  8756. -$as_echo_n "checking for $ac_header... " >&6; }
  8757. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8758. - $as_echo_n "(cached) " >&6
  8759. -fi
  8760. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  8761. - $as_echo "$as_val"'`
  8762. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  8763. -$as_echo "$ac_res" >&6; }
  8764. -else
  8765. - # Is the header compilable?
  8766. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  8767. -$as_echo_n "checking $ac_header usability... " >&6; }
  8768. -cat >conftest.$ac_ext <<_ACEOF
  8769. -/* confdefs.h. */
  8770. -_ACEOF
  8771. -cat confdefs.h >>conftest.$ac_ext
  8772. -cat >>conftest.$ac_ext <<_ACEOF
  8773. -/* end confdefs.h. */
  8774. -$ac_includes_default
  8775. -#include <$ac_header>
  8776. -_ACEOF
  8777. -rm -f conftest.$ac_objext
  8778. -if { (ac_try="$ac_compile"
  8779. -case "(($ac_try" in
  8780. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8781. - *) ac_try_echo=$ac_try;;
  8782. -esac
  8783. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8784. -$as_echo "$ac_try_echo") >&5
  8785. - (eval "$ac_compile") 2>conftest.er1
  8786. - ac_status=$?
  8787. - grep -v '^ *+' conftest.er1 >conftest.err
  8788. - rm -f conftest.er1
  8789. - cat conftest.err >&5
  8790. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8791. - (exit $ac_status); } && {
  8792. - test -z "$ac_c_werror_flag" ||
  8793. - test ! -s conftest.err
  8794. - } && test -s conftest.$ac_objext; then
  8795. - ac_header_compiler=yes
  8796. -else
  8797. - $as_echo "$as_me: failed program was:" >&5
  8798. -sed 's/^/| /' conftest.$ac_ext >&5
  8799. -
  8800. - ac_header_compiler=no
  8801. -fi
  8802. -
  8803. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8804. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8805. -$as_echo "$ac_header_compiler" >&6; }
  8806. -
  8807. -# Is the header present?
  8808. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  8809. -$as_echo_n "checking $ac_header presence... " >&6; }
  8810. -cat >conftest.$ac_ext <<_ACEOF
  8811. -/* confdefs.h. */
  8812. -_ACEOF
  8813. -cat confdefs.h >>conftest.$ac_ext
  8814. -cat >>conftest.$ac_ext <<_ACEOF
  8815. -/* end confdefs.h. */
  8816. -#include <$ac_header>
  8817. -_ACEOF
  8818. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  8819. -case "(($ac_try" in
  8820. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8821. - *) ac_try_echo=$ac_try;;
  8822. -esac
  8823. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8824. -$as_echo "$ac_try_echo") >&5
  8825. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8826. - ac_status=$?
  8827. - grep -v '^ *+' conftest.er1 >conftest.err
  8828. - rm -f conftest.er1
  8829. - cat conftest.err >&5
  8830. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8831. - (exit $ac_status); } >/dev/null && {
  8832. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8833. - test ! -s conftest.err
  8834. - }; then
  8835. - ac_header_preproc=yes
  8836. -else
  8837. - $as_echo "$as_me: failed program was:" >&5
  8838. -sed 's/^/| /' conftest.$ac_ext >&5
  8839. -
  8840. - ac_header_preproc=no
  8841. -fi
  8842. -
  8843. -rm -f conftest.err conftest.$ac_ext
  8844. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8845. -$as_echo "$ac_header_preproc" >&6; }
  8846. -
  8847. -# So? What about this header?
  8848. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8849. - yes:no: )
  8850. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  8851. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8852. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  8853. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  8854. - ac_header_preproc=yes
  8855. - ;;
  8856. - no:yes:* )
  8857. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  8858. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  8859. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  8860. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  8861. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  8862. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  8863. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  8864. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  8865. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  8866. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  8867. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  8868. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  8869. -
  8870. - ;;
  8871. -esac
  8872. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  8873. -$as_echo_n "checking for $ac_header... " >&6; }
  8874. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  8875. - $as_echo_n "(cached) " >&6
  8876. -else
  8877. - eval "$as_ac_Header=\$ac_header_preproc"
  8878. -fi
  8879. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  8880. - $as_echo "$as_val"'`
  8881. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  8882. -$as_echo "$ac_res" >&6; }
  8883. -
  8884. -fi
  8885. -as_val=`eval 'as_val=${'$as_ac_Header'}
  8886. - $as_echo "$as_val"'`
  8887. - if test "x$as_val" = x""yes; then
  8888. - cat >>confdefs.h <<_ACEOF
  8889. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8890. -_ACEOF
  8891. -
  8892. -fi
  8893. -
  8894. -done
  8895. -
  8896. -fi
  8897. -
  8898. -done
  8899. -
  8900. -
  8901. -{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
  8902. -$as_echo_n "checking for pid_t... " >&6; }
  8903. -if test "${ac_cv_type_pid_t+set}" = set; then
  8904. - $as_echo_n "(cached) " >&6
  8905. -else
  8906. - ac_cv_type_pid_t=no
  8907. -cat >conftest.$ac_ext <<_ACEOF
  8908. -/* confdefs.h. */
  8909. -_ACEOF
  8910. -cat confdefs.h >>conftest.$ac_ext
  8911. -cat >>conftest.$ac_ext <<_ACEOF
  8912. -/* end confdefs.h. */
  8913. -$ac_includes_default
  8914. -int
  8915. -main ()
  8916. -{
  8917. -if (sizeof (pid_t))
  8918. - return 0;
  8919. - ;
  8920. - return 0;
  8921. -}
  8922. -_ACEOF
  8923. -rm -f conftest.$ac_objext
  8924. -if { (ac_try="$ac_compile"
  8925. -case "(($ac_try" in
  8926. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8927. - *) ac_try_echo=$ac_try;;
  8928. -esac
  8929. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8930. -$as_echo "$ac_try_echo") >&5
  8931. - (eval "$ac_compile") 2>conftest.er1
  8932. - ac_status=$?
  8933. - grep -v '^ *+' conftest.er1 >conftest.err
  8934. - rm -f conftest.er1
  8935. - cat conftest.err >&5
  8936. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8937. - (exit $ac_status); } && {
  8938. - test -z "$ac_c_werror_flag" ||
  8939. - test ! -s conftest.err
  8940. - } && test -s conftest.$ac_objext; then
  8941. - cat >conftest.$ac_ext <<_ACEOF
  8942. -/* confdefs.h. */
  8943. -_ACEOF
  8944. -cat confdefs.h >>conftest.$ac_ext
  8945. -cat >>conftest.$ac_ext <<_ACEOF
  8946. -/* end confdefs.h. */
  8947. -$ac_includes_default
  8948. -int
  8949. -main ()
  8950. -{
  8951. -if (sizeof ((pid_t)))
  8952. - return 0;
  8953. - ;
  8954. - return 0;
  8955. -}
  8956. -_ACEOF
  8957. -rm -f conftest.$ac_objext
  8958. -if { (ac_try="$ac_compile"
  8959. -case "(($ac_try" in
  8960. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8961. - *) ac_try_echo=$ac_try;;
  8962. -esac
  8963. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8964. -$as_echo "$ac_try_echo") >&5
  8965. - (eval "$ac_compile") 2>conftest.er1
  8966. - ac_status=$?
  8967. - grep -v '^ *+' conftest.er1 >conftest.err
  8968. - rm -f conftest.er1
  8969. - cat conftest.err >&5
  8970. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8971. - (exit $ac_status); } && {
  8972. - test -z "$ac_c_werror_flag" ||
  8973. - test ! -s conftest.err
  8974. - } && test -s conftest.$ac_objext; then
  8975. - :
  8976. -else
  8977. - $as_echo "$as_me: failed program was:" >&5
  8978. -sed 's/^/| /' conftest.$ac_ext >&5
  8979. -
  8980. - ac_cv_type_pid_t=yes
  8981. -fi
  8982. -
  8983. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8984. -else
  8985. - $as_echo "$as_me: failed program was:" >&5
  8986. -sed 's/^/| /' conftest.$ac_ext >&5
  8987. -
  8988. -
  8989. -fi
  8990. -
  8991. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8992. -fi
  8993. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  8994. -$as_echo "$ac_cv_type_pid_t" >&6; }
  8995. -if test "x$ac_cv_type_pid_t" = x""yes; then
  8996. - :
  8997. -else
  8998. -
  8999. -cat >>confdefs.h <<_ACEOF
  9000. -#define pid_t int
  9001. -_ACEOF
  9002. -
  9003. -fi
  9004. -
  9005. -{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
  9006. -$as_echo_n "checking for size_t... " >&6; }
  9007. -if test "${ac_cv_type_size_t+set}" = set; then
  9008. - $as_echo_n "(cached) " >&6
  9009. -else
  9010. - ac_cv_type_size_t=no
  9011. -cat >conftest.$ac_ext <<_ACEOF
  9012. -/* confdefs.h. */
  9013. -_ACEOF
  9014. -cat confdefs.h >>conftest.$ac_ext
  9015. -cat >>conftest.$ac_ext <<_ACEOF
  9016. -/* end confdefs.h. */
  9017. -$ac_includes_default
  9018. -int
  9019. -main ()
  9020. -{
  9021. -if (sizeof (size_t))
  9022. - return 0;
  9023. - ;
  9024. - return 0;
  9025. -}
  9026. -_ACEOF
  9027. -rm -f conftest.$ac_objext
  9028. -if { (ac_try="$ac_compile"
  9029. -case "(($ac_try" in
  9030. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9031. - *) ac_try_echo=$ac_try;;
  9032. -esac
  9033. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9034. -$as_echo "$ac_try_echo") >&5
  9035. - (eval "$ac_compile") 2>conftest.er1
  9036. - ac_status=$?
  9037. - grep -v '^ *+' conftest.er1 >conftest.err
  9038. - rm -f conftest.er1
  9039. - cat conftest.err >&5
  9040. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9041. - (exit $ac_status); } && {
  9042. - test -z "$ac_c_werror_flag" ||
  9043. - test ! -s conftest.err
  9044. - } && test -s conftest.$ac_objext; then
  9045. - cat >conftest.$ac_ext <<_ACEOF
  9046. -/* confdefs.h. */
  9047. -_ACEOF
  9048. -cat confdefs.h >>conftest.$ac_ext
  9049. -cat >>conftest.$ac_ext <<_ACEOF
  9050. -/* end confdefs.h. */
  9051. -$ac_includes_default
  9052. -int
  9053. -main ()
  9054. -{
  9055. -if (sizeof ((size_t)))
  9056. - return 0;
  9057. - ;
  9058. - return 0;
  9059. -}
  9060. -_ACEOF
  9061. -rm -f conftest.$ac_objext
  9062. -if { (ac_try="$ac_compile"
  9063. -case "(($ac_try" in
  9064. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9065. - *) ac_try_echo=$ac_try;;
  9066. -esac
  9067. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9068. -$as_echo "$ac_try_echo") >&5
  9069. - (eval "$ac_compile") 2>conftest.er1
  9070. - ac_status=$?
  9071. - grep -v '^ *+' conftest.er1 >conftest.err
  9072. - rm -f conftest.er1
  9073. - cat conftest.err >&5
  9074. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9075. - (exit $ac_status); } && {
  9076. - test -z "$ac_c_werror_flag" ||
  9077. - test ! -s conftest.err
  9078. - } && test -s conftest.$ac_objext; then
  9079. - :
  9080. -else
  9081. - $as_echo "$as_me: failed program was:" >&5
  9082. -sed 's/^/| /' conftest.$ac_ext >&5
  9083. -
  9084. - ac_cv_type_size_t=yes
  9085. -fi
  9086. -
  9087. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9088. -else
  9089. - $as_echo "$as_me: failed program was:" >&5
  9090. -sed 's/^/| /' conftest.$ac_ext >&5
  9091. -
  9092. -
  9093. -fi
  9094. -
  9095. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9096. -fi
  9097. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  9098. -$as_echo "$ac_cv_type_size_t" >&6; }
  9099. -if test "x$ac_cv_type_size_t" = x""yes; then
  9100. - :
  9101. -else
  9102. -
  9103. -cat >>confdefs.h <<_ACEOF
  9104. -#define size_t unsigned int
  9105. -_ACEOF
  9106. -
  9107. -fi
  9108. -
  9109. -{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
  9110. -$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
  9111. -if test "${ac_cv_type_uid_t+set}" = set; then
  9112. - $as_echo_n "(cached) " >&6
  9113. -else
  9114. - cat >conftest.$ac_ext <<_ACEOF
  9115. -/* confdefs.h. */
  9116. -_ACEOF
  9117. -cat confdefs.h >>conftest.$ac_ext
  9118. -cat >>conftest.$ac_ext <<_ACEOF
  9119. -/* end confdefs.h. */
  9120. -#include <sys/types.h>
  9121. -
  9122. -_ACEOF
  9123. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9124. - $EGREP "uid_t" >/dev/null 2>&1; then
  9125. - ac_cv_type_uid_t=yes
  9126. -else
  9127. - ac_cv_type_uid_t=no
  9128. -fi
  9129. -rm -f conftest*
  9130. -
  9131. -fi
  9132. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
  9133. -$as_echo "$ac_cv_type_uid_t" >&6; }
  9134. -if test $ac_cv_type_uid_t = no; then
  9135. -
  9136. -cat >>confdefs.h <<\_ACEOF
  9137. -#define uid_t int
  9138. -_ACEOF
  9139. -
  9140. -
  9141. -cat >>confdefs.h <<\_ACEOF
  9142. -#define gid_t int
  9143. -_ACEOF
  9144. -
  9145. -fi
  9146. -
  9147. -{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  9148. -$as_echo_n "checking return type of signal handlers... " >&6; }
  9149. -if test "${ac_cv_type_signal+set}" = set; then
  9150. - $as_echo_n "(cached) " >&6
  9151. -else
  9152. - cat >conftest.$ac_ext <<_ACEOF
  9153. -/* confdefs.h. */
  9154. -_ACEOF
  9155. -cat confdefs.h >>conftest.$ac_ext
  9156. -cat >>conftest.$ac_ext <<_ACEOF
  9157. -/* end confdefs.h. */
  9158. -#include <sys/types.h>
  9159. -#include <signal.h>
  9160. -
  9161. -int
  9162. -main ()
  9163. -{
  9164. -return *(signal (0, 0)) (0) == 1;
  9165. - ;
  9166. - return 0;
  9167. -}
  9168. -_ACEOF
  9169. -rm -f conftest.$ac_objext
  9170. -if { (ac_try="$ac_compile"
  9171. -case "(($ac_try" in
  9172. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9173. - *) ac_try_echo=$ac_try;;
  9174. -esac
  9175. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9176. -$as_echo "$ac_try_echo") >&5
  9177. - (eval "$ac_compile") 2>conftest.er1
  9178. - ac_status=$?
  9179. - grep -v '^ *+' conftest.er1 >conftest.err
  9180. - rm -f conftest.er1
  9181. - cat conftest.err >&5
  9182. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9183. - (exit $ac_status); } && {
  9184. - test -z "$ac_c_werror_flag" ||
  9185. - test ! -s conftest.err
  9186. - } && test -s conftest.$ac_objext; then
  9187. - ac_cv_type_signal=int
  9188. -else
  9189. - $as_echo "$as_me: failed program was:" >&5
  9190. -sed 's/^/| /' conftest.$ac_ext >&5
  9191. -
  9192. - ac_cv_type_signal=void
  9193. -fi
  9194. -
  9195. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9196. -fi
  9197. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  9198. -$as_echo "$ac_cv_type_signal" >&6; }
  9199. -
  9200. -cat >>confdefs.h <<_ACEOF
  9201. -#define RETSIGTYPE $ac_cv_type_signal
  9202. -_ACEOF
  9203. -
  9204. -
  9205. -
  9206. -
  9207. -for ac_header in sys/select.h sys/socket.h
  9208. -do
  9209. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9210. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9211. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  9212. -$as_echo_n "checking for $ac_header... " >&6; }
  9213. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9214. - $as_echo_n "(cached) " >&6
  9215. -fi
  9216. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  9217. - $as_echo "$as_val"'`
  9218. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  9219. -$as_echo "$ac_res" >&6; }
  9220. -else
  9221. - # Is the header compilable?
  9222. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9223. -$as_echo_n "checking $ac_header usability... " >&6; }
  9224. -cat >conftest.$ac_ext <<_ACEOF
  9225. -/* confdefs.h. */
  9226. -_ACEOF
  9227. -cat confdefs.h >>conftest.$ac_ext
  9228. -cat >>conftest.$ac_ext <<_ACEOF
  9229. -/* end confdefs.h. */
  9230. -$ac_includes_default
  9231. -#include <$ac_header>
  9232. -_ACEOF
  9233. -rm -f conftest.$ac_objext
  9234. -if { (ac_try="$ac_compile"
  9235. -case "(($ac_try" in
  9236. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9237. - *) ac_try_echo=$ac_try;;
  9238. -esac
  9239. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9240. -$as_echo "$ac_try_echo") >&5
  9241. - (eval "$ac_compile") 2>conftest.er1
  9242. - ac_status=$?
  9243. - grep -v '^ *+' conftest.er1 >conftest.err
  9244. - rm -f conftest.er1
  9245. - cat conftest.err >&5
  9246. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9247. - (exit $ac_status); } && {
  9248. - test -z "$ac_c_werror_flag" ||
  9249. - test ! -s conftest.err
  9250. - } && test -s conftest.$ac_objext; then
  9251. - ac_header_compiler=yes
  9252. -else
  9253. - $as_echo "$as_me: failed program was:" >&5
  9254. -sed 's/^/| /' conftest.$ac_ext >&5
  9255. -
  9256. - ac_header_compiler=no
  9257. -fi
  9258. -
  9259. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9260. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9261. -$as_echo "$ac_header_compiler" >&6; }
  9262. -
  9263. -# Is the header present?
  9264. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9265. -$as_echo_n "checking $ac_header presence... " >&6; }
  9266. -cat >conftest.$ac_ext <<_ACEOF
  9267. -/* confdefs.h. */
  9268. -_ACEOF
  9269. -cat confdefs.h >>conftest.$ac_ext
  9270. -cat >>conftest.$ac_ext <<_ACEOF
  9271. -/* end confdefs.h. */
  9272. -#include <$ac_header>
  9273. -_ACEOF
  9274. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  9275. -case "(($ac_try" in
  9276. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9277. - *) ac_try_echo=$ac_try;;
  9278. -esac
  9279. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9280. -$as_echo "$ac_try_echo") >&5
  9281. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9282. - ac_status=$?
  9283. - grep -v '^ *+' conftest.er1 >conftest.err
  9284. - rm -f conftest.er1
  9285. - cat conftest.err >&5
  9286. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9287. - (exit $ac_status); } >/dev/null && {
  9288. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9289. - test ! -s conftest.err
  9290. - }; then
  9291. - ac_header_preproc=yes
  9292. -else
  9293. - $as_echo "$as_me: failed program was:" >&5
  9294. -sed 's/^/| /' conftest.$ac_ext >&5
  9295. -
  9296. - ac_header_preproc=no
  9297. -fi
  9298. -
  9299. -rm -f conftest.err conftest.$ac_ext
  9300. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9301. -$as_echo "$ac_header_preproc" >&6; }
  9302. -
  9303. -# So? What about this header?
  9304. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9305. - yes:no: )
  9306. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  9307. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9308. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  9309. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  9310. - ac_header_preproc=yes
  9311. - ;;
  9312. - no:yes:* )
  9313. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  9314. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  9315. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  9316. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  9317. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  9318. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  9319. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  9320. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  9321. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  9322. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9323. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9324. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9325. -
  9326. - ;;
  9327. -esac
  9328. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  9329. -$as_echo_n "checking for $ac_header... " >&6; }
  9330. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9331. - $as_echo_n "(cached) " >&6
  9332. -else
  9333. - eval "$as_ac_Header=\$ac_header_preproc"
  9334. -fi
  9335. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  9336. - $as_echo "$as_val"'`
  9337. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  9338. -$as_echo "$ac_res" >&6; }
  9339. -
  9340. -fi
  9341. -as_val=`eval 'as_val=${'$as_ac_Header'}
  9342. - $as_echo "$as_val"'`
  9343. - if test "x$as_val" = x""yes; then
  9344. - cat >>confdefs.h <<_ACEOF
  9345. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  9346. -_ACEOF
  9347. -
  9348. -fi
  9349. -
  9350. -done
  9351. -
  9352. -{ $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
  9353. -$as_echo_n "checking types of arguments for select... " >&6; }
  9354. -if test "${ac_cv_func_select_args+set}" = set; then
  9355. - $as_echo_n "(cached) " >&6
  9356. -else
  9357. - for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
  9358. - for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
  9359. - for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
  9360. - cat >conftest.$ac_ext <<_ACEOF
  9361. -/* confdefs.h. */
  9362. -_ACEOF
  9363. -cat confdefs.h >>conftest.$ac_ext
  9364. -cat >>conftest.$ac_ext <<_ACEOF
  9365. -/* end confdefs.h. */
  9366. -$ac_includes_default
  9367. -#ifdef HAVE_SYS_SELECT_H
  9368. -# include <sys/select.h>
  9369. -#endif
  9370. -#ifdef HAVE_SYS_SOCKET_H
  9371. -# include <sys/socket.h>
  9372. -#endif
  9373. -
  9374. -int
  9375. -main ()
  9376. -{
  9377. -extern int select ($ac_arg1,
  9378. - $ac_arg234, $ac_arg234, $ac_arg234,
  9379. - $ac_arg5);
  9380. - ;
  9381. - return 0;
  9382. -}
  9383. -_ACEOF
  9384. -rm -f conftest.$ac_objext
  9385. -if { (ac_try="$ac_compile"
  9386. -case "(($ac_try" in
  9387. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9388. - *) ac_try_echo=$ac_try;;
  9389. -esac
  9390. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9391. -$as_echo "$ac_try_echo") >&5
  9392. - (eval "$ac_compile") 2>conftest.er1
  9393. - ac_status=$?
  9394. - grep -v '^ *+' conftest.er1 >conftest.err
  9395. - rm -f conftest.er1
  9396. - cat conftest.err >&5
  9397. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9398. - (exit $ac_status); } && {
  9399. - test -z "$ac_c_werror_flag" ||
  9400. - test ! -s conftest.err
  9401. - } && test -s conftest.$ac_objext; then
  9402. - ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
  9403. -else
  9404. - $as_echo "$as_me: failed program was:" >&5
  9405. -sed 's/^/| /' conftest.$ac_ext >&5
  9406. -
  9407. -
  9408. -fi
  9409. -
  9410. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9411. - done
  9412. - done
  9413. -done
  9414. -# Provide a safe default value.
  9415. -: ${ac_cv_func_select_args='int,int *,struct timeval *'}
  9416. -
  9417. -fi
  9418. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
  9419. -$as_echo "$ac_cv_func_select_args" >&6; }
  9420. -ac_save_IFS=$IFS; IFS=','
  9421. -set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
  9422. -IFS=$ac_save_IFS
  9423. -shift
  9424. -
  9425. -cat >>confdefs.h <<_ACEOF
  9426. -#define SELECT_TYPE_ARG1 $1
  9427. -_ACEOF
  9428. -
  9429. -
  9430. -cat >>confdefs.h <<_ACEOF
  9431. -#define SELECT_TYPE_ARG234 ($2)
  9432. -_ACEOF
  9433. -
  9434. -
  9435. -cat >>confdefs.h <<_ACEOF
  9436. -#define SELECT_TYPE_ARG5 ($3)
  9437. -_ACEOF
  9438. -
  9439. -rm -f conftest*
  9440. -
  9441. -{ $as_echo "$as_me:$LINENO: checking for uint" >&5
  9442. -$as_echo_n "checking for uint... " >&6; }
  9443. -if test "${ac_cv_type_uint+set}" = set; then
  9444. - $as_echo_n "(cached) " >&6
  9445. -else
  9446. - ac_cv_type_uint=no
  9447. -cat >conftest.$ac_ext <<_ACEOF
  9448. -/* confdefs.h. */
  9449. -_ACEOF
  9450. -cat confdefs.h >>conftest.$ac_ext
  9451. -cat >>conftest.$ac_ext <<_ACEOF
  9452. -/* end confdefs.h. */
  9453. -$ac_includes_default
  9454. -int
  9455. -main ()
  9456. -{
  9457. -if (sizeof (uint))
  9458. - return 0;
  9459. - ;
  9460. - return 0;
  9461. -}
  9462. -_ACEOF
  9463. -rm -f conftest.$ac_objext
  9464. -if { (ac_try="$ac_compile"
  9465. -case "(($ac_try" in
  9466. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9467. - *) ac_try_echo=$ac_try;;
  9468. -esac
  9469. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9470. -$as_echo "$ac_try_echo") >&5
  9471. - (eval "$ac_compile") 2>conftest.er1
  9472. - ac_status=$?
  9473. - grep -v '^ *+' conftest.er1 >conftest.err
  9474. - rm -f conftest.er1
  9475. - cat conftest.err >&5
  9476. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9477. - (exit $ac_status); } && {
  9478. - test -z "$ac_c_werror_flag" ||
  9479. - test ! -s conftest.err
  9480. - } && test -s conftest.$ac_objext; then
  9481. - cat >conftest.$ac_ext <<_ACEOF
  9482. -/* confdefs.h. */
  9483. -_ACEOF
  9484. -cat confdefs.h >>conftest.$ac_ext
  9485. -cat >>conftest.$ac_ext <<_ACEOF
  9486. -/* end confdefs.h. */
  9487. -$ac_includes_default
  9488. -int
  9489. -main ()
  9490. -{
  9491. -if (sizeof ((uint)))
  9492. - return 0;
  9493. - ;
  9494. - return 0;
  9495. -}
  9496. -_ACEOF
  9497. -rm -f conftest.$ac_objext
  9498. -if { (ac_try="$ac_compile"
  9499. -case "(($ac_try" in
  9500. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9501. - *) ac_try_echo=$ac_try;;
  9502. -esac
  9503. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9504. -$as_echo "$ac_try_echo") >&5
  9505. - (eval "$ac_compile") 2>conftest.er1
  9506. - ac_status=$?
  9507. - grep -v '^ *+' conftest.er1 >conftest.err
  9508. - rm -f conftest.er1
  9509. - cat conftest.err >&5
  9510. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9511. - (exit $ac_status); } && {
  9512. - test -z "$ac_c_werror_flag" ||
  9513. - test ! -s conftest.err
  9514. - } && test -s conftest.$ac_objext; then
  9515. - :
  9516. -else
  9517. - $as_echo "$as_me: failed program was:" >&5
  9518. -sed 's/^/| /' conftest.$ac_ext >&5
  9519. -
  9520. - ac_cv_type_uint=yes
  9521. -fi
  9522. -
  9523. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9524. -else
  9525. - $as_echo "$as_me: failed program was:" >&5
  9526. -sed 's/^/| /' conftest.$ac_ext >&5
  9527. -
  9528. -
  9529. -fi
  9530. -
  9531. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9532. -fi
  9533. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
  9534. -$as_echo "$ac_cv_type_uint" >&6; }
  9535. -if test "x$ac_cv_type_uint" = x""yes; then
  9536. -
  9537. -cat >>confdefs.h <<_ACEOF
  9538. -#define HAVE_UINT 1
  9539. -_ACEOF
  9540. -
  9541. -
  9542. -fi
  9543. -{ $as_echo "$as_me:$LINENO: checking for ulong" >&5
  9544. -$as_echo_n "checking for ulong... " >&6; }
  9545. -if test "${ac_cv_type_ulong+set}" = set; then
  9546. - $as_echo_n "(cached) " >&6
  9547. -else
  9548. - ac_cv_type_ulong=no
  9549. -cat >conftest.$ac_ext <<_ACEOF
  9550. -/* confdefs.h. */
  9551. -_ACEOF
  9552. -cat confdefs.h >>conftest.$ac_ext
  9553. -cat >>conftest.$ac_ext <<_ACEOF
  9554. -/* end confdefs.h. */
  9555. -$ac_includes_default
  9556. -int
  9557. -main ()
  9558. -{
  9559. -if (sizeof (ulong))
  9560. - return 0;
  9561. - ;
  9562. - return 0;
  9563. -}
  9564. -_ACEOF
  9565. -rm -f conftest.$ac_objext
  9566. -if { (ac_try="$ac_compile"
  9567. -case "(($ac_try" in
  9568. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9569. - *) ac_try_echo=$ac_try;;
  9570. -esac
  9571. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9572. -$as_echo "$ac_try_echo") >&5
  9573. - (eval "$ac_compile") 2>conftest.er1
  9574. - ac_status=$?
  9575. - grep -v '^ *+' conftest.er1 >conftest.err
  9576. - rm -f conftest.er1
  9577. - cat conftest.err >&5
  9578. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9579. - (exit $ac_status); } && {
  9580. - test -z "$ac_c_werror_flag" ||
  9581. - test ! -s conftest.err
  9582. - } && test -s conftest.$ac_objext; then
  9583. - cat >conftest.$ac_ext <<_ACEOF
  9584. -/* confdefs.h. */
  9585. -_ACEOF
  9586. -cat confdefs.h >>conftest.$ac_ext
  9587. -cat >>conftest.$ac_ext <<_ACEOF
  9588. -/* end confdefs.h. */
  9589. -$ac_includes_default
  9590. -int
  9591. -main ()
  9592. -{
  9593. -if (sizeof ((ulong)))
  9594. - return 0;
  9595. - ;
  9596. - return 0;
  9597. -}
  9598. -_ACEOF
  9599. -rm -f conftest.$ac_objext
  9600. -if { (ac_try="$ac_compile"
  9601. -case "(($ac_try" in
  9602. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9603. - *) ac_try_echo=$ac_try;;
  9604. -esac
  9605. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9606. -$as_echo "$ac_try_echo") >&5
  9607. - (eval "$ac_compile") 2>conftest.er1
  9608. - ac_status=$?
  9609. - grep -v '^ *+' conftest.er1 >conftest.err
  9610. - rm -f conftest.er1
  9611. - cat conftest.err >&5
  9612. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9613. - (exit $ac_status); } && {
  9614. - test -z "$ac_c_werror_flag" ||
  9615. - test ! -s conftest.err
  9616. - } && test -s conftest.$ac_objext; then
  9617. - :
  9618. -else
  9619. - $as_echo "$as_me: failed program was:" >&5
  9620. -sed 's/^/| /' conftest.$ac_ext >&5
  9621. -
  9622. - ac_cv_type_ulong=yes
  9623. -fi
  9624. -
  9625. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9626. -else
  9627. - $as_echo "$as_me: failed program was:" >&5
  9628. -sed 's/^/| /' conftest.$ac_ext >&5
  9629. -
  9630. -
  9631. -fi
  9632. -
  9633. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9634. -fi
  9635. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ulong" >&5
  9636. -$as_echo "$ac_cv_type_ulong" >&6; }
  9637. -if test "x$ac_cv_type_ulong" = x""yes; then
  9638. -
  9639. -cat >>confdefs.h <<_ACEOF
  9640. -#define HAVE_ULONG 1
  9641. -_ACEOF
  9642. -
  9643. -
  9644. -fi
  9645. -{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
  9646. -$as_echo_n "checking for uint32_t... " >&6; }
  9647. -if test "${ac_cv_type_uint32_t+set}" = set; then
  9648. - $as_echo_n "(cached) " >&6
  9649. -else
  9650. - ac_cv_type_uint32_t=no
  9651. -cat >conftest.$ac_ext <<_ACEOF
  9652. -/* confdefs.h. */
  9653. -_ACEOF
  9654. -cat confdefs.h >>conftest.$ac_ext
  9655. -cat >>conftest.$ac_ext <<_ACEOF
  9656. -/* end confdefs.h. */
  9657. -$ac_includes_default
  9658. -int
  9659. -main ()
  9660. -{
  9661. -if (sizeof (uint32_t))
  9662. - return 0;
  9663. - ;
  9664. - return 0;
  9665. -}
  9666. -_ACEOF
  9667. -rm -f conftest.$ac_objext
  9668. -if { (ac_try="$ac_compile"
  9669. -case "(($ac_try" in
  9670. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9671. - *) ac_try_echo=$ac_try;;
  9672. -esac
  9673. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9674. -$as_echo "$ac_try_echo") >&5
  9675. - (eval "$ac_compile") 2>conftest.er1
  9676. - ac_status=$?
  9677. - grep -v '^ *+' conftest.er1 >conftest.err
  9678. - rm -f conftest.er1
  9679. - cat conftest.err >&5
  9680. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9681. - (exit $ac_status); } && {
  9682. - test -z "$ac_c_werror_flag" ||
  9683. - test ! -s conftest.err
  9684. - } && test -s conftest.$ac_objext; then
  9685. - cat >conftest.$ac_ext <<_ACEOF
  9686. -/* confdefs.h. */
  9687. -_ACEOF
  9688. -cat confdefs.h >>conftest.$ac_ext
  9689. -cat >>conftest.$ac_ext <<_ACEOF
  9690. -/* end confdefs.h. */
  9691. -$ac_includes_default
  9692. -int
  9693. -main ()
  9694. -{
  9695. -if (sizeof ((uint32_t)))
  9696. - return 0;
  9697. - ;
  9698. - return 0;
  9699. -}
  9700. -_ACEOF
  9701. -rm -f conftest.$ac_objext
  9702. -if { (ac_try="$ac_compile"
  9703. -case "(($ac_try" in
  9704. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9705. - *) ac_try_echo=$ac_try;;
  9706. -esac
  9707. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9708. -$as_echo "$ac_try_echo") >&5
  9709. - (eval "$ac_compile") 2>conftest.er1
  9710. - ac_status=$?
  9711. - grep -v '^ *+' conftest.er1 >conftest.err
  9712. - rm -f conftest.er1
  9713. - cat conftest.err >&5
  9714. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9715. - (exit $ac_status); } && {
  9716. - test -z "$ac_c_werror_flag" ||
  9717. - test ! -s conftest.err
  9718. - } && test -s conftest.$ac_objext; then
  9719. - :
  9720. -else
  9721. - $as_echo "$as_me: failed program was:" >&5
  9722. -sed 's/^/| /' conftest.$ac_ext >&5
  9723. -
  9724. - ac_cv_type_uint32_t=yes
  9725. -fi
  9726. -
  9727. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9728. -else
  9729. - $as_echo "$as_me: failed program was:" >&5
  9730. -sed 's/^/| /' conftest.$ac_ext >&5
  9731. -
  9732. -
  9733. -fi
  9734. -
  9735. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9736. -fi
  9737. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
  9738. -$as_echo "$ac_cv_type_uint32_t" >&6; }
  9739. -if test "x$ac_cv_type_uint32_t" = x""yes; then
  9740. -
  9741. -cat >>confdefs.h <<_ACEOF
  9742. -#define HAVE_UINT32_T 1
  9743. -_ACEOF
  9744. -
  9745. -
  9746. -fi
  9747. -{ $as_echo "$as_me:$LINENO: checking for u_int32_t" >&5
  9748. -$as_echo_n "checking for u_int32_t... " >&6; }
  9749. -if test "${ac_cv_type_u_int32_t+set}" = set; then
  9750. - $as_echo_n "(cached) " >&6
  9751. -else
  9752. - ac_cv_type_u_int32_t=no
  9753. -cat >conftest.$ac_ext <<_ACEOF
  9754. -/* confdefs.h. */
  9755. -_ACEOF
  9756. -cat confdefs.h >>conftest.$ac_ext
  9757. -cat >>conftest.$ac_ext <<_ACEOF
  9758. -/* end confdefs.h. */
  9759. -$ac_includes_default
  9760. -int
  9761. -main ()
  9762. -{
  9763. -if (sizeof (u_int32_t))
  9764. - return 0;
  9765. - ;
  9766. - return 0;
  9767. -}
  9768. -_ACEOF
  9769. -rm -f conftest.$ac_objext
  9770. -if { (ac_try="$ac_compile"
  9771. -case "(($ac_try" in
  9772. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9773. - *) ac_try_echo=$ac_try;;
  9774. -esac
  9775. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9776. -$as_echo "$ac_try_echo") >&5
  9777. - (eval "$ac_compile") 2>conftest.er1
  9778. - ac_status=$?
  9779. - grep -v '^ *+' conftest.er1 >conftest.err
  9780. - rm -f conftest.er1
  9781. - cat conftest.err >&5
  9782. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9783. - (exit $ac_status); } && {
  9784. - test -z "$ac_c_werror_flag" ||
  9785. - test ! -s conftest.err
  9786. - } && test -s conftest.$ac_objext; then
  9787. - cat >conftest.$ac_ext <<_ACEOF
  9788. -/* confdefs.h. */
  9789. -_ACEOF
  9790. -cat confdefs.h >>conftest.$ac_ext
  9791. -cat >>conftest.$ac_ext <<_ACEOF
  9792. -/* end confdefs.h. */
  9793. -$ac_includes_default
  9794. -int
  9795. -main ()
  9796. -{
  9797. -if (sizeof ((u_int32_t)))
  9798. - return 0;
  9799. - ;
  9800. - return 0;
  9801. -}
  9802. -_ACEOF
  9803. -rm -f conftest.$ac_objext
  9804. -if { (ac_try="$ac_compile"
  9805. -case "(($ac_try" in
  9806. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9807. - *) ac_try_echo=$ac_try;;
  9808. -esac
  9809. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9810. -$as_echo "$ac_try_echo") >&5
  9811. - (eval "$ac_compile") 2>conftest.er1
  9812. - ac_status=$?
  9813. - grep -v '^ *+' conftest.er1 >conftest.err
  9814. - rm -f conftest.er1
  9815. - cat conftest.err >&5
  9816. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9817. - (exit $ac_status); } && {
  9818. - test -z "$ac_c_werror_flag" ||
  9819. - test ! -s conftest.err
  9820. - } && test -s conftest.$ac_objext; then
  9821. - :
  9822. -else
  9823. - $as_echo "$as_me: failed program was:" >&5
  9824. -sed 's/^/| /' conftest.$ac_ext >&5
  9825. -
  9826. - ac_cv_type_u_int32_t=yes
  9827. -fi
  9828. -
  9829. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9830. -else
  9831. - $as_echo "$as_me: failed program was:" >&5
  9832. -sed 's/^/| /' conftest.$ac_ext >&5
  9833. -
  9834. -
  9835. -fi
  9836. -
  9837. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9838. -fi
  9839. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
  9840. -$as_echo "$ac_cv_type_u_int32_t" >&6; }
  9841. -if test "x$ac_cv_type_u_int32_t" = x""yes; then
  9842. -
  9843. -cat >>confdefs.h <<_ACEOF
  9844. -#define HAVE_U_INT32_T 1
  9845. -_ACEOF
  9846. -
  9847. -
  9848. -fi
  9849. -{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5
  9850. -$as_echo_n "checking for int32_t... " >&6; }
  9851. -if test "${ac_cv_type_int32_t+set}" = set; then
  9852. - $as_echo_n "(cached) " >&6
  9853. -else
  9854. - ac_cv_type_int32_t=no
  9855. -cat >conftest.$ac_ext <<_ACEOF
  9856. -/* confdefs.h. */
  9857. -_ACEOF
  9858. -cat confdefs.h >>conftest.$ac_ext
  9859. -cat >>conftest.$ac_ext <<_ACEOF
  9860. -/* end confdefs.h. */
  9861. -$ac_includes_default
  9862. -int
  9863. -main ()
  9864. -{
  9865. -if (sizeof (int32_t))
  9866. - return 0;
  9867. - ;
  9868. - return 0;
  9869. -}
  9870. -_ACEOF
  9871. -rm -f conftest.$ac_objext
  9872. -if { (ac_try="$ac_compile"
  9873. -case "(($ac_try" in
  9874. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9875. - *) ac_try_echo=$ac_try;;
  9876. -esac
  9877. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9878. -$as_echo "$ac_try_echo") >&5
  9879. - (eval "$ac_compile") 2>conftest.er1
  9880. - ac_status=$?
  9881. - grep -v '^ *+' conftest.er1 >conftest.err
  9882. - rm -f conftest.er1
  9883. - cat conftest.err >&5
  9884. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9885. - (exit $ac_status); } && {
  9886. - test -z "$ac_c_werror_flag" ||
  9887. - test ! -s conftest.err
  9888. - } && test -s conftest.$ac_objext; then
  9889. - cat >conftest.$ac_ext <<_ACEOF
  9890. -/* confdefs.h. */
  9891. -_ACEOF
  9892. -cat confdefs.h >>conftest.$ac_ext
  9893. -cat >>conftest.$ac_ext <<_ACEOF
  9894. -/* end confdefs.h. */
  9895. -$ac_includes_default
  9896. -int
  9897. -main ()
  9898. -{
  9899. -if (sizeof ((int32_t)))
  9900. - return 0;
  9901. - ;
  9902. - return 0;
  9903. -}
  9904. -_ACEOF
  9905. -rm -f conftest.$ac_objext
  9906. -if { (ac_try="$ac_compile"
  9907. -case "(($ac_try" in
  9908. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9909. - *) ac_try_echo=$ac_try;;
  9910. -esac
  9911. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9912. -$as_echo "$ac_try_echo") >&5
  9913. - (eval "$ac_compile") 2>conftest.er1
  9914. - ac_status=$?
  9915. - grep -v '^ *+' conftest.er1 >conftest.err
  9916. - rm -f conftest.er1
  9917. - cat conftest.err >&5
  9918. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9919. - (exit $ac_status); } && {
  9920. - test -z "$ac_c_werror_flag" ||
  9921. - test ! -s conftest.err
  9922. - } && test -s conftest.$ac_objext; then
  9923. - :
  9924. -else
  9925. - $as_echo "$as_me: failed program was:" >&5
  9926. -sed 's/^/| /' conftest.$ac_ext >&5
  9927. -
  9928. - ac_cv_type_int32_t=yes
  9929. -fi
  9930. -
  9931. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9932. -else
  9933. - $as_echo "$as_me: failed program was:" >&5
  9934. -sed 's/^/| /' conftest.$ac_ext >&5
  9935. -
  9936. -
  9937. -fi
  9938. -
  9939. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9940. -fi
  9941. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
  9942. -$as_echo "$ac_cv_type_int32_t" >&6; }
  9943. -if test "x$ac_cv_type_int32_t" = x""yes; then
  9944. -
  9945. -cat >>confdefs.h <<_ACEOF
  9946. -#define HAVE_INT32_T 1
  9947. -_ACEOF
  9948. -
  9949. -
  9950. -fi
  9951. -{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5
  9952. -$as_echo_n "checking for int16_t... " >&6; }
  9953. -if test "${ac_cv_type_int16_t+set}" = set; then
  9954. - $as_echo_n "(cached) " >&6
  9955. -else
  9956. - ac_cv_type_int16_t=no
  9957. -cat >conftest.$ac_ext <<_ACEOF
  9958. -/* confdefs.h. */
  9959. -_ACEOF
  9960. -cat confdefs.h >>conftest.$ac_ext
  9961. -cat >>conftest.$ac_ext <<_ACEOF
  9962. -/* end confdefs.h. */
  9963. -$ac_includes_default
  9964. -int
  9965. -main ()
  9966. -{
  9967. -if (sizeof (int16_t))
  9968. - return 0;
  9969. - ;
  9970. - return 0;
  9971. -}
  9972. -_ACEOF
  9973. -rm -f conftest.$ac_objext
  9974. -if { (ac_try="$ac_compile"
  9975. -case "(($ac_try" in
  9976. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9977. - *) ac_try_echo=$ac_try;;
  9978. -esac
  9979. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9980. -$as_echo "$ac_try_echo") >&5
  9981. - (eval "$ac_compile") 2>conftest.er1
  9982. - ac_status=$?
  9983. - grep -v '^ *+' conftest.er1 >conftest.err
  9984. - rm -f conftest.er1
  9985. - cat conftest.err >&5
  9986. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9987. - (exit $ac_status); } && {
  9988. - test -z "$ac_c_werror_flag" ||
  9989. - test ! -s conftest.err
  9990. - } && test -s conftest.$ac_objext; then
  9991. - cat >conftest.$ac_ext <<_ACEOF
  9992. -/* confdefs.h. */
  9993. -_ACEOF
  9994. -cat confdefs.h >>conftest.$ac_ext
  9995. -cat >>conftest.$ac_ext <<_ACEOF
  9996. -/* end confdefs.h. */
  9997. -$ac_includes_default
  9998. -int
  9999. -main ()
  10000. -{
  10001. -if (sizeof ((int16_t)))
  10002. - return 0;
  10003. - ;
  10004. - return 0;
  10005. -}
  10006. -_ACEOF
  10007. -rm -f conftest.$ac_objext
  10008. -if { (ac_try="$ac_compile"
  10009. -case "(($ac_try" in
  10010. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10011. - *) ac_try_echo=$ac_try;;
  10012. -esac
  10013. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10014. -$as_echo "$ac_try_echo") >&5
  10015. - (eval "$ac_compile") 2>conftest.er1
  10016. - ac_status=$?
  10017. - grep -v '^ *+' conftest.er1 >conftest.err
  10018. - rm -f conftest.er1
  10019. - cat conftest.err >&5
  10020. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10021. - (exit $ac_status); } && {
  10022. - test -z "$ac_c_werror_flag" ||
  10023. - test ! -s conftest.err
  10024. - } && test -s conftest.$ac_objext; then
  10025. - :
  10026. -else
  10027. - $as_echo "$as_me: failed program was:" >&5
  10028. -sed 's/^/| /' conftest.$ac_ext >&5
  10029. -
  10030. - ac_cv_type_int16_t=yes
  10031. -fi
  10032. -
  10033. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10034. -else
  10035. - $as_echo "$as_me: failed program was:" >&5
  10036. -sed 's/^/| /' conftest.$ac_ext >&5
  10037. -
  10038. -
  10039. -fi
  10040. -
  10041. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10042. -fi
  10043. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
  10044. -$as_echo "$ac_cv_type_int16_t" >&6; }
  10045. -if test "x$ac_cv_type_int16_t" = x""yes; then
  10046. -
  10047. -cat >>confdefs.h <<_ACEOF
  10048. -#define HAVE_INT16_T 1
  10049. -_ACEOF
  10050. -
  10051. -
  10052. -fi
  10053. -{ $as_echo "$as_me:$LINENO: checking for u_int16_t" >&5
  10054. -$as_echo_n "checking for u_int16_t... " >&6; }
  10055. -if test "${ac_cv_type_u_int16_t+set}" = set; then
  10056. - $as_echo_n "(cached) " >&6
  10057. -else
  10058. - ac_cv_type_u_int16_t=no
  10059. -cat >conftest.$ac_ext <<_ACEOF
  10060. -/* confdefs.h. */
  10061. -_ACEOF
  10062. -cat confdefs.h >>conftest.$ac_ext
  10063. -cat >>conftest.$ac_ext <<_ACEOF
  10064. -/* end confdefs.h. */
  10065. -$ac_includes_default
  10066. -int
  10067. -main ()
  10068. -{
  10069. -if (sizeof (u_int16_t))
  10070. - return 0;
  10071. - ;
  10072. - return 0;
  10073. -}
  10074. -_ACEOF
  10075. -rm -f conftest.$ac_objext
  10076. -if { (ac_try="$ac_compile"
  10077. -case "(($ac_try" in
  10078. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10079. - *) ac_try_echo=$ac_try;;
  10080. -esac
  10081. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10082. -$as_echo "$ac_try_echo") >&5
  10083. - (eval "$ac_compile") 2>conftest.er1
  10084. - ac_status=$?
  10085. - grep -v '^ *+' conftest.er1 >conftest.err
  10086. - rm -f conftest.er1
  10087. - cat conftest.err >&5
  10088. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10089. - (exit $ac_status); } && {
  10090. - test -z "$ac_c_werror_flag" ||
  10091. - test ! -s conftest.err
  10092. - } && test -s conftest.$ac_objext; then
  10093. - cat >conftest.$ac_ext <<_ACEOF
  10094. -/* confdefs.h. */
  10095. -_ACEOF
  10096. -cat confdefs.h >>conftest.$ac_ext
  10097. -cat >>conftest.$ac_ext <<_ACEOF
  10098. -/* end confdefs.h. */
  10099. -$ac_includes_default
  10100. -int
  10101. -main ()
  10102. -{
  10103. -if (sizeof ((u_int16_t)))
  10104. - return 0;
  10105. - ;
  10106. - return 0;
  10107. -}
  10108. -_ACEOF
  10109. -rm -f conftest.$ac_objext
  10110. -if { (ac_try="$ac_compile"
  10111. -case "(($ac_try" in
  10112. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10113. - *) ac_try_echo=$ac_try;;
  10114. -esac
  10115. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10116. -$as_echo "$ac_try_echo") >&5
  10117. - (eval "$ac_compile") 2>conftest.er1
  10118. - ac_status=$?
  10119. - grep -v '^ *+' conftest.er1 >conftest.err
  10120. - rm -f conftest.er1
  10121. - cat conftest.err >&5
  10122. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10123. - (exit $ac_status); } && {
  10124. - test -z "$ac_c_werror_flag" ||
  10125. - test ! -s conftest.err
  10126. - } && test -s conftest.$ac_objext; then
  10127. - :
  10128. -else
  10129. - $as_echo "$as_me: failed program was:" >&5
  10130. -sed 's/^/| /' conftest.$ac_ext >&5
  10131. -
  10132. - ac_cv_type_u_int16_t=yes
  10133. -fi
  10134. -
  10135. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10136. -else
  10137. - $as_echo "$as_me: failed program was:" >&5
  10138. -sed 's/^/| /' conftest.$ac_ext >&5
  10139. -
  10140. -
  10141. -fi
  10142. -
  10143. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10144. -fi
  10145. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
  10146. -$as_echo "$ac_cv_type_u_int16_t" >&6; }
  10147. -if test "x$ac_cv_type_u_int16_t" = x""yes; then
  10148. -
  10149. -cat >>confdefs.h <<_ACEOF
  10150. -#define HAVE_U_INT16_T 1
  10151. -_ACEOF
  10152. -
  10153. -
  10154. -fi
  10155. -{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
  10156. -$as_echo_n "checking for uint16_t... " >&6; }
  10157. -if test "${ac_cv_type_uint16_t+set}" = set; then
  10158. - $as_echo_n "(cached) " >&6
  10159. -else
  10160. - ac_cv_type_uint16_t=no
  10161. -cat >conftest.$ac_ext <<_ACEOF
  10162. -/* confdefs.h. */
  10163. -_ACEOF
  10164. -cat confdefs.h >>conftest.$ac_ext
  10165. -cat >>conftest.$ac_ext <<_ACEOF
  10166. -/* end confdefs.h. */
  10167. -$ac_includes_default
  10168. -int
  10169. -main ()
  10170. -{
  10171. -if (sizeof (uint16_t))
  10172. - return 0;
  10173. - ;
  10174. - return 0;
  10175. -}
  10176. -_ACEOF
  10177. -rm -f conftest.$ac_objext
  10178. -if { (ac_try="$ac_compile"
  10179. -case "(($ac_try" in
  10180. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10181. - *) ac_try_echo=$ac_try;;
  10182. -esac
  10183. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10184. -$as_echo "$ac_try_echo") >&5
  10185. - (eval "$ac_compile") 2>conftest.er1
  10186. - ac_status=$?
  10187. - grep -v '^ *+' conftest.er1 >conftest.err
  10188. - rm -f conftest.er1
  10189. - cat conftest.err >&5
  10190. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10191. - (exit $ac_status); } && {
  10192. - test -z "$ac_c_werror_flag" ||
  10193. - test ! -s conftest.err
  10194. - } && test -s conftest.$ac_objext; then
  10195. - cat >conftest.$ac_ext <<_ACEOF
  10196. -/* confdefs.h. */
  10197. -_ACEOF
  10198. -cat confdefs.h >>conftest.$ac_ext
  10199. -cat >>conftest.$ac_ext <<_ACEOF
  10200. -/* end confdefs.h. */
  10201. -$ac_includes_default
  10202. -int
  10203. -main ()
  10204. -{
  10205. -if (sizeof ((uint16_t)))
  10206. - return 0;
  10207. - ;
  10208. - return 0;
  10209. -}
  10210. -_ACEOF
  10211. -rm -f conftest.$ac_objext
  10212. -if { (ac_try="$ac_compile"
  10213. -case "(($ac_try" in
  10214. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10215. - *) ac_try_echo=$ac_try;;
  10216. -esac
  10217. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10218. -$as_echo "$ac_try_echo") >&5
  10219. - (eval "$ac_compile") 2>conftest.er1
  10220. - ac_status=$?
  10221. - grep -v '^ *+' conftest.er1 >conftest.err
  10222. - rm -f conftest.er1
  10223. - cat conftest.err >&5
  10224. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10225. - (exit $ac_status); } && {
  10226. - test -z "$ac_c_werror_flag" ||
  10227. - test ! -s conftest.err
  10228. - } && test -s conftest.$ac_objext; then
  10229. - :
  10230. -else
  10231. - $as_echo "$as_me: failed program was:" >&5
  10232. -sed 's/^/| /' conftest.$ac_ext >&5
  10233. -
  10234. - ac_cv_type_uint16_t=yes
  10235. -fi
  10236. -
  10237. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10238. -else
  10239. - $as_echo "$as_me: failed program was:" >&5
  10240. -sed 's/^/| /' conftest.$ac_ext >&5
  10241. -
  10242. -
  10243. -fi
  10244. -
  10245. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10246. -fi
  10247. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
  10248. -$as_echo "$ac_cv_type_uint16_t" >&6; }
  10249. -if test "x$ac_cv_type_uint16_t" = x""yes; then
  10250. -
  10251. -cat >>confdefs.h <<_ACEOF
  10252. -#define HAVE_UINT16_T 1
  10253. -_ACEOF
  10254. -
  10255. -
  10256. -fi
  10257. -{ $as_echo "$as_me:$LINENO: checking for u_int8_t" >&5
  10258. -$as_echo_n "checking for u_int8_t... " >&6; }
  10259. -if test "${ac_cv_type_u_int8_t+set}" = set; then
  10260. - $as_echo_n "(cached) " >&6
  10261. -else
  10262. - ac_cv_type_u_int8_t=no
  10263. -cat >conftest.$ac_ext <<_ACEOF
  10264. -/* confdefs.h. */
  10265. -_ACEOF
  10266. -cat confdefs.h >>conftest.$ac_ext
  10267. -cat >>conftest.$ac_ext <<_ACEOF
  10268. -/* end confdefs.h. */
  10269. -$ac_includes_default
  10270. -int
  10271. -main ()
  10272. -{
  10273. -if (sizeof (u_int8_t))
  10274. - return 0;
  10275. - ;
  10276. - return 0;
  10277. -}
  10278. -_ACEOF
  10279. -rm -f conftest.$ac_objext
  10280. -if { (ac_try="$ac_compile"
  10281. -case "(($ac_try" in
  10282. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10283. - *) ac_try_echo=$ac_try;;
  10284. -esac
  10285. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10286. -$as_echo "$ac_try_echo") >&5
  10287. - (eval "$ac_compile") 2>conftest.er1
  10288. - ac_status=$?
  10289. - grep -v '^ *+' conftest.er1 >conftest.err
  10290. - rm -f conftest.er1
  10291. - cat conftest.err >&5
  10292. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10293. - (exit $ac_status); } && {
  10294. - test -z "$ac_c_werror_flag" ||
  10295. - test ! -s conftest.err
  10296. - } && test -s conftest.$ac_objext; then
  10297. - cat >conftest.$ac_ext <<_ACEOF
  10298. -/* confdefs.h. */
  10299. -_ACEOF
  10300. -cat confdefs.h >>conftest.$ac_ext
  10301. -cat >>conftest.$ac_ext <<_ACEOF
  10302. -/* end confdefs.h. */
  10303. -$ac_includes_default
  10304. -int
  10305. -main ()
  10306. -{
  10307. -if (sizeof ((u_int8_t)))
  10308. - return 0;
  10309. - ;
  10310. - return 0;
  10311. -}
  10312. -_ACEOF
  10313. -rm -f conftest.$ac_objext
  10314. -if { (ac_try="$ac_compile"
  10315. -case "(($ac_try" in
  10316. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10317. - *) ac_try_echo=$ac_try;;
  10318. -esac
  10319. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10320. -$as_echo "$ac_try_echo") >&5
  10321. - (eval "$ac_compile") 2>conftest.er1
  10322. - ac_status=$?
  10323. - grep -v '^ *+' conftest.er1 >conftest.err
  10324. - rm -f conftest.er1
  10325. - cat conftest.err >&5
  10326. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10327. - (exit $ac_status); } && {
  10328. - test -z "$ac_c_werror_flag" ||
  10329. - test ! -s conftest.err
  10330. - } && test -s conftest.$ac_objext; then
  10331. - :
  10332. -else
  10333. - $as_echo "$as_me: failed program was:" >&5
  10334. -sed 's/^/| /' conftest.$ac_ext >&5
  10335. -
  10336. - ac_cv_type_u_int8_t=yes
  10337. -fi
  10338. -
  10339. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10340. -else
  10341. - $as_echo "$as_me: failed program was:" >&5
  10342. -sed 's/^/| /' conftest.$ac_ext >&5
  10343. -
  10344. -
  10345. -fi
  10346. -
  10347. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10348. -fi
  10349. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
  10350. -$as_echo "$ac_cv_type_u_int8_t" >&6; }
  10351. -if test "x$ac_cv_type_u_int8_t" = x""yes; then
  10352. -
  10353. -cat >>confdefs.h <<_ACEOF
  10354. -#define HAVE_U_INT8_T 1
  10355. -_ACEOF
  10356. -
  10357. -
  10358. -fi
  10359. -{ $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
  10360. -$as_echo_n "checking for ssize_t... " >&6; }
  10361. -if test "${ac_cv_type_ssize_t+set}" = set; then
  10362. - $as_echo_n "(cached) " >&6
  10363. -else
  10364. - ac_cv_type_ssize_t=no
  10365. -cat >conftest.$ac_ext <<_ACEOF
  10366. -/* confdefs.h. */
  10367. -_ACEOF
  10368. -cat confdefs.h >>conftest.$ac_ext
  10369. -cat >>conftest.$ac_ext <<_ACEOF
  10370. -/* end confdefs.h. */
  10371. -$ac_includes_default
  10372. -int
  10373. -main ()
  10374. -{
  10375. -if (sizeof (ssize_t))
  10376. - return 0;
  10377. - ;
  10378. - return 0;
  10379. -}
  10380. -_ACEOF
  10381. -rm -f conftest.$ac_objext
  10382. -if { (ac_try="$ac_compile"
  10383. -case "(($ac_try" in
  10384. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10385. - *) ac_try_echo=$ac_try;;
  10386. -esac
  10387. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10388. -$as_echo "$ac_try_echo") >&5
  10389. - (eval "$ac_compile") 2>conftest.er1
  10390. - ac_status=$?
  10391. - grep -v '^ *+' conftest.er1 >conftest.err
  10392. - rm -f conftest.er1
  10393. - cat conftest.err >&5
  10394. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10395. - (exit $ac_status); } && {
  10396. - test -z "$ac_c_werror_flag" ||
  10397. - test ! -s conftest.err
  10398. - } && test -s conftest.$ac_objext; then
  10399. - cat >conftest.$ac_ext <<_ACEOF
  10400. -/* confdefs.h. */
  10401. -_ACEOF
  10402. -cat confdefs.h >>conftest.$ac_ext
  10403. -cat >>conftest.$ac_ext <<_ACEOF
  10404. -/* end confdefs.h. */
  10405. -$ac_includes_default
  10406. -int
  10407. -main ()
  10408. -{
  10409. -if (sizeof ((ssize_t)))
  10410. - return 0;
  10411. - ;
  10412. - return 0;
  10413. -}
  10414. -_ACEOF
  10415. -rm -f conftest.$ac_objext
  10416. -if { (ac_try="$ac_compile"
  10417. -case "(($ac_try" in
  10418. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10419. - *) ac_try_echo=$ac_try;;
  10420. -esac
  10421. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10422. -$as_echo "$ac_try_echo") >&5
  10423. - (eval "$ac_compile") 2>conftest.er1
  10424. - ac_status=$?
  10425. - grep -v '^ *+' conftest.er1 >conftest.err
  10426. - rm -f conftest.er1
  10427. - cat conftest.err >&5
  10428. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10429. - (exit $ac_status); } && {
  10430. - test -z "$ac_c_werror_flag" ||
  10431. - test ! -s conftest.err
  10432. - } && test -s conftest.$ac_objext; then
  10433. - :
  10434. -else
  10435. - $as_echo "$as_me: failed program was:" >&5
  10436. -sed 's/^/| /' conftest.$ac_ext >&5
  10437. -
  10438. - ac_cv_type_ssize_t=yes
  10439. -fi
  10440. -
  10441. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10442. -else
  10443. - $as_echo "$as_me: failed program was:" >&5
  10444. -sed 's/^/| /' conftest.$ac_ext >&5
  10445. -
  10446. -
  10447. -fi
  10448. -
  10449. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10450. -fi
  10451. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
  10452. -$as_echo "$ac_cv_type_ssize_t" >&6; }
  10453. -if test "x$ac_cv_type_ssize_t" = x""yes; then
  10454. -
  10455. -cat >>confdefs.h <<_ACEOF
  10456. -#define HAVE_SSIZE_T 1
  10457. -_ACEOF
  10458. -
  10459. -
  10460. -fi
  10461. -
  10462. -{ $as_echo "$as_me:$LINENO: checking for u_long" >&5
  10463. -$as_echo_n "checking for u_long... " >&6; }
  10464. -if test "${ac_cv_type_u_long+set}" = set; then
  10465. - $as_echo_n "(cached) " >&6
  10466. -else
  10467. - ac_cv_type_u_long=no
  10468. -cat >conftest.$ac_ext <<_ACEOF
  10469. -/* confdefs.h. */
  10470. -_ACEOF
  10471. -cat confdefs.h >>conftest.$ac_ext
  10472. -cat >>conftest.$ac_ext <<_ACEOF
  10473. -/* end confdefs.h. */
  10474. -$ac_includes_default
  10475. -int
  10476. -main ()
  10477. -{
  10478. -if (sizeof (u_long))
  10479. - return 0;
  10480. - ;
  10481. - return 0;
  10482. -}
  10483. -_ACEOF
  10484. -rm -f conftest.$ac_objext
  10485. -if { (ac_try="$ac_compile"
  10486. -case "(($ac_try" in
  10487. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10488. - *) ac_try_echo=$ac_try;;
  10489. -esac
  10490. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10491. -$as_echo "$ac_try_echo") >&5
  10492. - (eval "$ac_compile") 2>conftest.er1
  10493. - ac_status=$?
  10494. - grep -v '^ *+' conftest.er1 >conftest.err
  10495. - rm -f conftest.er1
  10496. - cat conftest.err >&5
  10497. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10498. - (exit $ac_status); } && {
  10499. - test -z "$ac_c_werror_flag" ||
  10500. - test ! -s conftest.err
  10501. - } && test -s conftest.$ac_objext; then
  10502. - cat >conftest.$ac_ext <<_ACEOF
  10503. -/* confdefs.h. */
  10504. -_ACEOF
  10505. -cat confdefs.h >>conftest.$ac_ext
  10506. -cat >>conftest.$ac_ext <<_ACEOF
  10507. -/* end confdefs.h. */
  10508. -$ac_includes_default
  10509. -int
  10510. -main ()
  10511. -{
  10512. -if (sizeof ((u_long)))
  10513. - return 0;
  10514. - ;
  10515. - return 0;
  10516. -}
  10517. -_ACEOF
  10518. -rm -f conftest.$ac_objext
  10519. -if { (ac_try="$ac_compile"
  10520. -case "(($ac_try" in
  10521. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10522. - *) ac_try_echo=$ac_try;;
  10523. -esac
  10524. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10525. -$as_echo "$ac_try_echo") >&5
  10526. - (eval "$ac_compile") 2>conftest.er1
  10527. - ac_status=$?
  10528. - grep -v '^ *+' conftest.er1 >conftest.err
  10529. - rm -f conftest.er1
  10530. - cat conftest.err >&5
  10531. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10532. - (exit $ac_status); } && {
  10533. - test -z "$ac_c_werror_flag" ||
  10534. - test ! -s conftest.err
  10535. - } && test -s conftest.$ac_objext; then
  10536. - :
  10537. -else
  10538. - $as_echo "$as_me: failed program was:" >&5
  10539. -sed 's/^/| /' conftest.$ac_ext >&5
  10540. -
  10541. - ac_cv_type_u_long=yes
  10542. -fi
  10543. -
  10544. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10545. -else
  10546. - $as_echo "$as_me: failed program was:" >&5
  10547. -sed 's/^/| /' conftest.$ac_ext >&5
  10548. -
  10549. -
  10550. -fi
  10551. -
  10552. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10553. -fi
  10554. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_long" >&5
  10555. -$as_echo "$ac_cv_type_u_long" >&6; }
  10556. -if test "x$ac_cv_type_u_long" = x""yes; then
  10557. - :
  10558. -else
  10559. -
  10560. -cat >>confdefs.h <<_ACEOF
  10561. -#define u_long unsigned long
  10562. -_ACEOF
  10563. -
  10564. -fi
  10565. -
  10566. -{ $as_echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
  10567. -$as_echo_n "checking for sig_atomic_t... " >&6; }
  10568. -if test "${ac_cv_type_sig_atomic_t+set}" = set; then
  10569. - $as_echo_n "(cached) " >&6
  10570. -else
  10571. - ac_cv_type_sig_atomic_t=no
  10572. -cat >conftest.$ac_ext <<_ACEOF
  10573. -/* confdefs.h. */
  10574. -_ACEOF
  10575. -cat confdefs.h >>conftest.$ac_ext
  10576. -cat >>conftest.$ac_ext <<_ACEOF
  10577. -/* end confdefs.h. */
  10578. -
  10579. -#include <signal.h>
  10580. -
  10581. -
  10582. -int
  10583. -main ()
  10584. -{
  10585. -if (sizeof (sig_atomic_t))
  10586. - return 0;
  10587. - ;
  10588. - return 0;
  10589. -}
  10590. -_ACEOF
  10591. -rm -f conftest.$ac_objext
  10592. -if { (ac_try="$ac_compile"
  10593. -case "(($ac_try" in
  10594. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10595. - *) ac_try_echo=$ac_try;;
  10596. -esac
  10597. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10598. -$as_echo "$ac_try_echo") >&5
  10599. - (eval "$ac_compile") 2>conftest.er1
  10600. - ac_status=$?
  10601. - grep -v '^ *+' conftest.er1 >conftest.err
  10602. - rm -f conftest.er1
  10603. - cat conftest.err >&5
  10604. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10605. - (exit $ac_status); } && {
  10606. - test -z "$ac_c_werror_flag" ||
  10607. - test ! -s conftest.err
  10608. - } && test -s conftest.$ac_objext; then
  10609. - cat >conftest.$ac_ext <<_ACEOF
  10610. -/* confdefs.h. */
  10611. -_ACEOF
  10612. -cat confdefs.h >>conftest.$ac_ext
  10613. -cat >>conftest.$ac_ext <<_ACEOF
  10614. -/* end confdefs.h. */
  10615. -
  10616. -#include <signal.h>
  10617. -
  10618. -
  10619. -int
  10620. -main ()
  10621. -{
  10622. -if (sizeof ((sig_atomic_t)))
  10623. - return 0;
  10624. - ;
  10625. - return 0;
  10626. -}
  10627. -_ACEOF
  10628. -rm -f conftest.$ac_objext
  10629. -if { (ac_try="$ac_compile"
  10630. -case "(($ac_try" in
  10631. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10632. - *) ac_try_echo=$ac_try;;
  10633. -esac
  10634. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10635. -$as_echo "$ac_try_echo") >&5
  10636. - (eval "$ac_compile") 2>conftest.er1
  10637. - ac_status=$?
  10638. - grep -v '^ *+' conftest.er1 >conftest.err
  10639. - rm -f conftest.er1
  10640. - cat conftest.err >&5
  10641. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10642. - (exit $ac_status); } && {
  10643. - test -z "$ac_c_werror_flag" ||
  10644. - test ! -s conftest.err
  10645. - } && test -s conftest.$ac_objext; then
  10646. - :
  10647. -else
  10648. - $as_echo "$as_me: failed program was:" >&5
  10649. -sed 's/^/| /' conftest.$ac_ext >&5
  10650. -
  10651. - ac_cv_type_sig_atomic_t=yes
  10652. -fi
  10653. -
  10654. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10655. -else
  10656. - $as_echo "$as_me: failed program was:" >&5
  10657. -sed 's/^/| /' conftest.$ac_ext >&5
  10658. -
  10659. -
  10660. -fi
  10661. -
  10662. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10663. -fi
  10664. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
  10665. -$as_echo "$ac_cv_type_sig_atomic_t" >&6; }
  10666. -if test "x$ac_cv_type_sig_atomic_t" = x""yes; then
  10667. -
  10668. -cat >>confdefs.h <<_ACEOF
  10669. -#define HAVE_SIG_ATOMIC_T 1
  10670. -_ACEOF
  10671. -
  10672. -
  10673. -fi
  10674. -
  10675. -{ $as_echo "$as_me:$LINENO: checking for rlim_t" >&5
  10676. -$as_echo_n "checking for rlim_t... " >&6; }
  10677. -if test "${ac_cv_type_rlim_t+set}" = set; then
  10678. - $as_echo_n "(cached) " >&6
  10679. -else
  10680. - ac_cv_type_rlim_t=no
  10681. -cat >conftest.$ac_ext <<_ACEOF
  10682. -/* confdefs.h. */
  10683. -_ACEOF
  10684. -cat confdefs.h >>conftest.$ac_ext
  10685. -cat >>conftest.$ac_ext <<_ACEOF
  10686. -/* end confdefs.h. */
  10687. -
  10688. -#ifdef HAVE_SYS_TYPES_H
  10689. -#include <sys/types.h>
  10690. -#endif
  10691. -#ifdef HAVE_SYS_TIME_H
  10692. -#include <sys/time.h>
  10693. -#endif
  10694. -#include <sys/resource.h>
  10695. -
  10696. -
  10697. -int
  10698. -main ()
  10699. -{
  10700. -if (sizeof (rlim_t))
  10701. - return 0;
  10702. - ;
  10703. - return 0;
  10704. -}
  10705. -_ACEOF
  10706. -rm -f conftest.$ac_objext
  10707. -if { (ac_try="$ac_compile"
  10708. -case "(($ac_try" in
  10709. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10710. - *) ac_try_echo=$ac_try;;
  10711. -esac
  10712. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10713. -$as_echo "$ac_try_echo") >&5
  10714. - (eval "$ac_compile") 2>conftest.er1
  10715. - ac_status=$?
  10716. - grep -v '^ *+' conftest.er1 >conftest.err
  10717. - rm -f conftest.er1
  10718. - cat conftest.err >&5
  10719. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10720. - (exit $ac_status); } && {
  10721. - test -z "$ac_c_werror_flag" ||
  10722. - test ! -s conftest.err
  10723. - } && test -s conftest.$ac_objext; then
  10724. - cat >conftest.$ac_ext <<_ACEOF
  10725. -/* confdefs.h. */
  10726. -_ACEOF
  10727. -cat confdefs.h >>conftest.$ac_ext
  10728. -cat >>conftest.$ac_ext <<_ACEOF
  10729. -/* end confdefs.h. */
  10730. -
  10731. -#ifdef HAVE_SYS_TYPES_H
  10732. -#include <sys/types.h>
  10733. -#endif
  10734. -#ifdef HAVE_SYS_TIME_H
  10735. -#include <sys/time.h>
  10736. -#endif
  10737. -#include <sys/resource.h>
  10738. -
  10739. -
  10740. -int
  10741. -main ()
  10742. -{
  10743. -if (sizeof ((rlim_t)))
  10744. - return 0;
  10745. - ;
  10746. - return 0;
  10747. -}
  10748. -_ACEOF
  10749. -rm -f conftest.$ac_objext
  10750. -if { (ac_try="$ac_compile"
  10751. -case "(($ac_try" in
  10752. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10753. - *) ac_try_echo=$ac_try;;
  10754. -esac
  10755. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10756. -$as_echo "$ac_try_echo") >&5
  10757. - (eval "$ac_compile") 2>conftest.er1
  10758. - ac_status=$?
  10759. - grep -v '^ *+' conftest.er1 >conftest.err
  10760. - rm -f conftest.er1
  10761. - cat conftest.err >&5
  10762. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10763. - (exit $ac_status); } && {
  10764. - test -z "$ac_c_werror_flag" ||
  10765. - test ! -s conftest.err
  10766. - } && test -s conftest.$ac_objext; then
  10767. - :
  10768. -else
  10769. - $as_echo "$as_me: failed program was:" >&5
  10770. -sed 's/^/| /' conftest.$ac_ext >&5
  10771. -
  10772. - ac_cv_type_rlim_t=yes
  10773. -fi
  10774. -
  10775. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10776. -else
  10777. - $as_echo "$as_me: failed program was:" >&5
  10778. -sed 's/^/| /' conftest.$ac_ext >&5
  10779. -
  10780. -
  10781. -fi
  10782. -
  10783. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10784. -fi
  10785. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
  10786. -$as_echo "$ac_cv_type_rlim_t" >&6; }
  10787. -if test "x$ac_cv_type_rlim_t" = x""yes; then
  10788. -
  10789. -cat >>confdefs.h <<_ACEOF
  10790. -#define HAVE_RLIM_T 1
  10791. -_ACEOF
  10792. -
  10793. -
  10794. -fi
  10795. -
  10796. -cat >confcache <<\_ACEOF
  10797. -# This file is a shell script that caches the results of configure
  10798. -# tests run on this system so they can be shared between configure
  10799. -# scripts and configure runs, see configure's option --config-cache.
  10800. -# It is not useful on other systems. If it contains results you don't
  10801. -# want to keep, you may remove or edit it.
  10802. -#
  10803. -# config.status only pays attention to the cache file if you give it
  10804. -# the --recheck option to rerun configure.
  10805. -#
  10806. -# `ac_cv_env_foo' variables (set or unset) will be overridden when
  10807. -# loading this file, other *unset* `ac_cv_foo' will be assigned the
  10808. -# following values.
  10809. -
  10810. -_ACEOF
  10811. -
  10812. -# The following way of writing the cache mishandles newlines in values,
  10813. -# but we know of no workaround that is simple, portable, and efficient.
  10814. -# So, we kill variables containing newlines.
  10815. -# Ultrix sh set writes to stderr and can't be redirected directly,
  10816. -# and sets the high bit in the cache file unless we assign to the vars.
  10817. -(
  10818. - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  10819. - eval ac_val=\$$ac_var
  10820. - case $ac_val in #(
  10821. - *${as_nl}*)
  10822. - case $ac_var in #(
  10823. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  10824. -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  10825. - esac
  10826. - case $ac_var in #(
  10827. - _ | IFS | as_nl) ;; #(
  10828. - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  10829. - *) $as_unset $ac_var ;;
  10830. - esac ;;
  10831. - esac
  10832. - done
  10833. -
  10834. - (set) 2>&1 |
  10835. - case $as_nl`(ac_space=' '; set) 2>&1` in #(
  10836. - *${as_nl}ac_space=\ *)
  10837. - # `set' does not quote correctly, so add quotes (double-quote
  10838. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  10839. - sed -n \
  10840. - "s/'/'\\\\''/g;
  10841. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  10842. - ;; #(
  10843. - *)
  10844. - # `set' quotes correctly as required by POSIX, so do not add quotes.
  10845. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  10846. - ;;
  10847. - esac |
  10848. - sort
  10849. -) |
  10850. - sed '
  10851. - /^ac_cv_env_/b end
  10852. - t clear
  10853. - :clear
  10854. - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  10855. - t end
  10856. - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  10857. - :end' >>confcache
  10858. -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  10859. - if test -w "$cache_file"; then
  10860. - test "x$cache_file" != "x/dev/null" &&
  10861. - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  10862. -$as_echo "$as_me: updating cache $cache_file" >&6;}
  10863. - cat confcache >$cache_file
  10864. - else
  10865. - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  10866. -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  10867. - fi
  10868. -fi
  10869. -rm -f confcache
  10870. -# The cast to long int works around a bug in the HP C Compiler
  10871. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  10872. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  10873. -# This bug is HP SR number 8606223364.
  10874. -{ $as_echo "$as_me:$LINENO: checking size of short" >&5
  10875. -$as_echo_n "checking size of short... " >&6; }
  10876. -if test "${ac_cv_sizeof_short+set}" = set; then
  10877. - $as_echo_n "(cached) " >&6
  10878. -else
  10879. - if test "$cross_compiling" = yes; then
  10880. - # Depending upon the size, compute the lo and hi bounds.
  10881. -cat >conftest.$ac_ext <<_ACEOF
  10882. -/* confdefs.h. */
  10883. -_ACEOF
  10884. -cat confdefs.h >>conftest.$ac_ext
  10885. -cat >>conftest.$ac_ext <<_ACEOF
  10886. -/* end confdefs.h. */
  10887. -$ac_includes_default
  10888. -int
  10889. -main ()
  10890. -{
  10891. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
  10892. -test_array [0] = 0
  10893. -
  10894. - ;
  10895. - return 0;
  10896. -}
  10897. -_ACEOF
  10898. -rm -f conftest.$ac_objext
  10899. -if { (ac_try="$ac_compile"
  10900. -case "(($ac_try" in
  10901. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10902. - *) ac_try_echo=$ac_try;;
  10903. -esac
  10904. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10905. -$as_echo "$ac_try_echo") >&5
  10906. - (eval "$ac_compile") 2>conftest.er1
  10907. - ac_status=$?
  10908. - grep -v '^ *+' conftest.er1 >conftest.err
  10909. - rm -f conftest.er1
  10910. - cat conftest.err >&5
  10911. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10912. - (exit $ac_status); } && {
  10913. - test -z "$ac_c_werror_flag" ||
  10914. - test ! -s conftest.err
  10915. - } && test -s conftest.$ac_objext; then
  10916. - ac_lo=0 ac_mid=0
  10917. - while :; do
  10918. - cat >conftest.$ac_ext <<_ACEOF
  10919. -/* confdefs.h. */
  10920. -_ACEOF
  10921. -cat confdefs.h >>conftest.$ac_ext
  10922. -cat >>conftest.$ac_ext <<_ACEOF
  10923. -/* end confdefs.h. */
  10924. -$ac_includes_default
  10925. -int
  10926. -main ()
  10927. -{
  10928. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
  10929. -test_array [0] = 0
  10930. -
  10931. - ;
  10932. - return 0;
  10933. -}
  10934. -_ACEOF
  10935. -rm -f conftest.$ac_objext
  10936. -if { (ac_try="$ac_compile"
  10937. -case "(($ac_try" in
  10938. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10939. - *) ac_try_echo=$ac_try;;
  10940. -esac
  10941. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10942. -$as_echo "$ac_try_echo") >&5
  10943. - (eval "$ac_compile") 2>conftest.er1
  10944. - ac_status=$?
  10945. - grep -v '^ *+' conftest.er1 >conftest.err
  10946. - rm -f conftest.er1
  10947. - cat conftest.err >&5
  10948. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10949. - (exit $ac_status); } && {
  10950. - test -z "$ac_c_werror_flag" ||
  10951. - test ! -s conftest.err
  10952. - } && test -s conftest.$ac_objext; then
  10953. - ac_hi=$ac_mid; break
  10954. -else
  10955. - $as_echo "$as_me: failed program was:" >&5
  10956. -sed 's/^/| /' conftest.$ac_ext >&5
  10957. -
  10958. - ac_lo=`expr $ac_mid + 1`
  10959. - if test $ac_lo -le $ac_mid; then
  10960. - ac_lo= ac_hi=
  10961. - break
  10962. - fi
  10963. - ac_mid=`expr 2 '*' $ac_mid + 1`
  10964. -fi
  10965. -
  10966. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10967. - done
  10968. -else
  10969. - $as_echo "$as_me: failed program was:" >&5
  10970. -sed 's/^/| /' conftest.$ac_ext >&5
  10971. -
  10972. - cat >conftest.$ac_ext <<_ACEOF
  10973. -/* confdefs.h. */
  10974. -_ACEOF
  10975. -cat confdefs.h >>conftest.$ac_ext
  10976. -cat >>conftest.$ac_ext <<_ACEOF
  10977. -/* end confdefs.h. */
  10978. -$ac_includes_default
  10979. -int
  10980. -main ()
  10981. -{
  10982. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
  10983. -test_array [0] = 0
  10984. -
  10985. - ;
  10986. - return 0;
  10987. -}
  10988. -_ACEOF
  10989. -rm -f conftest.$ac_objext
  10990. -if { (ac_try="$ac_compile"
  10991. -case "(($ac_try" in
  10992. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10993. - *) ac_try_echo=$ac_try;;
  10994. -esac
  10995. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10996. -$as_echo "$ac_try_echo") >&5
  10997. - (eval "$ac_compile") 2>conftest.er1
  10998. - ac_status=$?
  10999. - grep -v '^ *+' conftest.er1 >conftest.err
  11000. - rm -f conftest.er1
  11001. - cat conftest.err >&5
  11002. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11003. - (exit $ac_status); } && {
  11004. - test -z "$ac_c_werror_flag" ||
  11005. - test ! -s conftest.err
  11006. - } && test -s conftest.$ac_objext; then
  11007. - ac_hi=-1 ac_mid=-1
  11008. - while :; do
  11009. - cat >conftest.$ac_ext <<_ACEOF
  11010. -/* confdefs.h. */
  11011. -_ACEOF
  11012. -cat confdefs.h >>conftest.$ac_ext
  11013. -cat >>conftest.$ac_ext <<_ACEOF
  11014. -/* end confdefs.h. */
  11015. -$ac_includes_default
  11016. -int
  11017. -main ()
  11018. -{
  11019. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
  11020. -test_array [0] = 0
  11021. -
  11022. - ;
  11023. - return 0;
  11024. -}
  11025. -_ACEOF
  11026. -rm -f conftest.$ac_objext
  11027. -if { (ac_try="$ac_compile"
  11028. -case "(($ac_try" in
  11029. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11030. - *) ac_try_echo=$ac_try;;
  11031. -esac
  11032. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11033. -$as_echo "$ac_try_echo") >&5
  11034. - (eval "$ac_compile") 2>conftest.er1
  11035. - ac_status=$?
  11036. - grep -v '^ *+' conftest.er1 >conftest.err
  11037. - rm -f conftest.er1
  11038. - cat conftest.err >&5
  11039. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11040. - (exit $ac_status); } && {
  11041. - test -z "$ac_c_werror_flag" ||
  11042. - test ! -s conftest.err
  11043. - } && test -s conftest.$ac_objext; then
  11044. - ac_lo=$ac_mid; break
  11045. -else
  11046. - $as_echo "$as_me: failed program was:" >&5
  11047. -sed 's/^/| /' conftest.$ac_ext >&5
  11048. + linux*) haveit=yes;;
  11049. + esac
  11050. + fi
  11051. + fi
  11052. + if test -z "$haveit"; then
  11053. + haveit=
  11054. + for x in $LDFLAGS $LIBICONV; do
  11055. - ac_hi=`expr '(' $ac_mid ')' - 1`
  11056. - if test $ac_mid -le $ac_hi; then
  11057. - ac_lo= ac_hi=
  11058. - break
  11059. - fi
  11060. - ac_mid=`expr 2 '*' $ac_mid`
  11061. -fi
  11062. + acl_save_prefix="$prefix"
  11063. + prefix="$acl_final_prefix"
  11064. + acl_save_exec_prefix="$exec_prefix"
  11065. + exec_prefix="$acl_final_exec_prefix"
  11066. + eval x=\"$x\"
  11067. + exec_prefix="$acl_save_exec_prefix"
  11068. + prefix="$acl_save_prefix"
  11069. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11070. - done
  11071. -else
  11072. - $as_echo "$as_me: failed program was:" >&5
  11073. -sed 's/^/| /' conftest.$ac_ext >&5
  11074. + if test "X$x" = "X-L$additional_libdir"; then
  11075. + haveit=yes
  11076. + break
  11077. + fi
  11078. + done
  11079. + if test -z "$haveit"; then
  11080. + if test -d "$additional_libdir"; then
  11081. + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
  11082. + fi
  11083. + fi
  11084. + haveit=
  11085. + for x in $LDFLAGS $LTLIBICONV; do
  11086. - ac_lo= ac_hi=
  11087. -fi
  11088. + acl_save_prefix="$prefix"
  11089. + prefix="$acl_final_prefix"
  11090. + acl_save_exec_prefix="$exec_prefix"
  11091. + exec_prefix="$acl_final_exec_prefix"
  11092. + eval x=\"$x\"
  11093. + exec_prefix="$acl_save_exec_prefix"
  11094. + prefix="$acl_save_prefix"
  11095. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11096. -fi
  11097. + if test "X$x" = "X-L$additional_libdir"; then
  11098. + haveit=yes
  11099. + break
  11100. + fi
  11101. + done
  11102. + if test -z "$haveit"; then
  11103. + if test -d "$additional_libdir"; then
  11104. + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
  11105. + fi
  11106. + fi
  11107. + fi
  11108. + fi
  11109. + ;;
  11110. + -R*)
  11111. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  11112. + if test "$enable_rpath" != no; then
  11113. + haveit=
  11114. + for x in $rpathdirs; do
  11115. + if test "X$x" = "X$dir"; then
  11116. + haveit=yes
  11117. + break
  11118. + fi
  11119. + done
  11120. + if test -z "$haveit"; then
  11121. + rpathdirs="$rpathdirs $dir"
  11122. + fi
  11123. + haveit=
  11124. + for x in $ltrpathdirs; do
  11125. + if test "X$x" = "X$dir"; then
  11126. + haveit=yes
  11127. + break
  11128. + fi
  11129. + done
  11130. + if test -z "$haveit"; then
  11131. + ltrpathdirs="$ltrpathdirs $dir"
  11132. + fi
  11133. + fi
  11134. + ;;
  11135. + -l*)
  11136. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  11137. + ;;
  11138. + *.la)
  11139. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  11140. + ;;
  11141. + *)
  11142. + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
  11143. + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
  11144. + ;;
  11145. + esac
  11146. + done
  11147. + fi
  11148. + else
  11149. + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
  11150. + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
  11151. + fi
  11152. + fi
  11153. + fi
  11154. + done
  11155. + done
  11156. + if test "X$rpathdirs" != "X"; then
  11157. + if test -n "$hardcode_libdir_separator"; then
  11158. + alldirs=
  11159. + for found_dir in $rpathdirs; do
  11160. + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
  11161. + done
  11162. + acl_save_libdir="$libdir"
  11163. + libdir="$alldirs"
  11164. + eval flag=\"$hardcode_libdir_flag_spec\"
  11165. + libdir="$acl_save_libdir"
  11166. + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
  11167. + else
  11168. + for found_dir in $rpathdirs; do
  11169. + acl_save_libdir="$libdir"
  11170. + libdir="$found_dir"
  11171. + eval flag=\"$hardcode_libdir_flag_spec\"
  11172. + libdir="$acl_save_libdir"
  11173. + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
  11174. + done
  11175. + fi
  11176. + fi
  11177. + if test "X$ltrpathdirs" != "X"; then
  11178. + for found_dir in $ltrpathdirs; do
  11179. + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
  11180. + done
  11181. + fi
  11182. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11183. -# Binary search between lo and hi bounds.
  11184. -while test "x$ac_lo" != "x$ac_hi"; do
  11185. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  11186. - cat >conftest.$ac_ext <<_ACEOF
  11187. -/* confdefs.h. */
  11188. -_ACEOF
  11189. -cat confdefs.h >>conftest.$ac_ext
  11190. -cat >>conftest.$ac_ext <<_ACEOF
  11191. -/* end confdefs.h. */
  11192. -$ac_includes_default
  11193. -int
  11194. -main ()
  11195. -{
  11196. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
  11197. -test_array [0] = 0
  11198. - ;
  11199. - return 0;
  11200. -}
  11201. -_ACEOF
  11202. -rm -f conftest.$ac_objext
  11203. -if { (ac_try="$ac_compile"
  11204. -case "(($ac_try" in
  11205. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11206. - *) ac_try_echo=$ac_try;;
  11207. -esac
  11208. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11209. -$as_echo "$ac_try_echo") >&5
  11210. - (eval "$ac_compile") 2>conftest.er1
  11211. - ac_status=$?
  11212. - grep -v '^ *+' conftest.er1 >conftest.err
  11213. - rm -f conftest.er1
  11214. - cat conftest.err >&5
  11215. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11216. - (exit $ac_status); } && {
  11217. - test -z "$ac_c_werror_flag" ||
  11218. - test ! -s conftest.err
  11219. - } && test -s conftest.$ac_objext; then
  11220. - ac_hi=$ac_mid
  11221. -else
  11222. - $as_echo "$as_me: failed program was:" >&5
  11223. -sed 's/^/| /' conftest.$ac_ext >&5
  11224. - ac_lo=`expr '(' $ac_mid ')' + 1`
  11225. -fi
  11226. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11227. -done
  11228. -case $ac_lo in
  11229. -?*) ac_cv_sizeof_short=$ac_lo;;
  11230. -'') if test "$ac_cv_type_short" = yes; then
  11231. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11232. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11233. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  11234. -See \`config.log' for more details." >&5
  11235. -$as_echo "$as_me: error: cannot compute sizeof (short)
  11236. -See \`config.log' for more details." >&2;}
  11237. - { (exit 77); exit 77; }; }; }
  11238. - else
  11239. - ac_cv_sizeof_short=0
  11240. - fi ;;
  11241. -esac
  11242. -else
  11243. - cat >conftest.$ac_ext <<_ACEOF
  11244. -/* confdefs.h. */
  11245. -_ACEOF
  11246. -cat confdefs.h >>conftest.$ac_ext
  11247. -cat >>conftest.$ac_ext <<_ACEOF
  11248. -/* end confdefs.h. */
  11249. -$ac_includes_default
  11250. -static long int longval () { return (long int) (sizeof (short)); }
  11251. -static unsigned long int ulongval () { return (long int) (sizeof (short)); }
  11252. -#include <stdio.h>
  11253. -#include <stdlib.h>
  11254. -int
  11255. -main ()
  11256. -{
  11257. - FILE *f = fopen ("conftest.val", "w");
  11258. - if (! f)
  11259. - return 1;
  11260. - if (((long int) (sizeof (short))) < 0)
  11261. - {
  11262. - long int i = longval ();
  11263. - if (i != ((long int) (sizeof (short))))
  11264. - return 1;
  11265. - fprintf (f, "%ld", i);
  11266. - }
  11267. - else
  11268. - {
  11269. - unsigned long int i = ulongval ();
  11270. - if (i != ((long int) (sizeof (short))))
  11271. - return 1;
  11272. - fprintf (f, "%lu", i);
  11273. - }
  11274. - /* Do not output a trailing newline, as this causes \r\n confusion
  11275. - on some platforms. */
  11276. - return ferror (f) || fclose (f) != 0;
  11277. - ;
  11278. - return 0;
  11279. -}
  11280. -_ACEOF
  11281. -rm -f conftest$ac_exeext
  11282. -if { (ac_try="$ac_link"
  11283. -case "(($ac_try" in
  11284. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11285. - *) ac_try_echo=$ac_try;;
  11286. -esac
  11287. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11288. -$as_echo "$ac_try_echo") >&5
  11289. - (eval "$ac_link") 2>&5
  11290. - ac_status=$?
  11291. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11292. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  11293. - { (case "(($ac_try" in
  11294. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11295. - *) ac_try_echo=$ac_try;;
  11296. -esac
  11297. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11298. -$as_echo "$ac_try_echo") >&5
  11299. - (eval "$ac_try") 2>&5
  11300. - ac_status=$?
  11301. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11302. - (exit $ac_status); }; }; then
  11303. - ac_cv_sizeof_short=`cat conftest.val`
  11304. -else
  11305. - $as_echo "$as_me: program exited with status $ac_status" >&5
  11306. -$as_echo "$as_me: failed program was:" >&5
  11307. -sed 's/^/| /' conftest.$ac_ext >&5
  11308. -( exit $ac_status )
  11309. -if test "$ac_cv_type_short" = yes; then
  11310. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11311. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11312. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  11313. -See \`config.log' for more details." >&5
  11314. -$as_echo "$as_me: error: cannot compute sizeof (short)
  11315. -See \`config.log' for more details." >&2;}
  11316. - { (exit 77); exit 77; }; }; }
  11317. - else
  11318. - ac_cv_sizeof_short=0
  11319. - fi
  11320. -fi
  11321. -rm -rf conftest.dSYM
  11322. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  11323. -fi
  11324. -rm -f conftest.val
  11325. -fi
  11326. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
  11327. -$as_echo "$ac_cv_sizeof_short" >&6; }
  11328. + am_save_CPPFLAGS="$CPPFLAGS"
  11329. + for element in $INCICONV; do
  11330. + haveit=
  11331. + for x in $CPPFLAGS; do
  11332. + acl_save_prefix="$prefix"
  11333. + prefix="$acl_final_prefix"
  11334. + acl_save_exec_prefix="$exec_prefix"
  11335. + exec_prefix="$acl_final_exec_prefix"
  11336. + eval x=\"$x\"
  11337. + exec_prefix="$acl_save_exec_prefix"
  11338. + prefix="$acl_save_prefix"
  11339. -cat >>confdefs.h <<_ACEOF
  11340. -#define SIZEOF_SHORT $ac_cv_sizeof_short
  11341. -_ACEOF
  11342. + if test "X$x" = "X$element"; then
  11343. + haveit=yes
  11344. + break
  11345. + fi
  11346. + done
  11347. + if test -z "$haveit"; then
  11348. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  11349. + fi
  11350. + done
  11351. -# The cast to long int works around a bug in the HP C Compiler
  11352. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11353. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11354. -# This bug is HP SR number 8606223364.
  11355. -{ $as_echo "$as_me:$LINENO: checking size of int" >&5
  11356. -$as_echo_n "checking size of int... " >&6; }
  11357. -if test "${ac_cv_sizeof_int+set}" = set; then
  11358. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
  11359. +$as_echo_n "checking for iconv... " >&6; }
  11360. +if test "${am_cv_func_iconv+set}" = set; then :
  11361. $as_echo_n "(cached) " >&6
  11362. else
  11363. - if test "$cross_compiling" = yes; then
  11364. - # Depending upon the size, compute the lo and hi bounds.
  11365. -cat >conftest.$ac_ext <<_ACEOF
  11366. -/* confdefs.h. */
  11367. -_ACEOF
  11368. -cat confdefs.h >>conftest.$ac_ext
  11369. -cat >>conftest.$ac_ext <<_ACEOF
  11370. +
  11371. + am_cv_func_iconv="no, consider installing GNU libiconv"
  11372. + am_cv_lib_iconv=no
  11373. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11374. /* end confdefs.h. */
  11375. -$ac_includes_default
  11376. +#include <stdlib.h>
  11377. +#include <iconv.h>
  11378. int
  11379. main ()
  11380. {
  11381. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
  11382. -test_array [0] = 0
  11383. -
  11384. +iconv_t cd = iconv_open("","");
  11385. + iconv(cd,NULL,NULL,NULL,NULL);
  11386. + iconv_close(cd);
  11387. ;
  11388. return 0;
  11389. }
  11390. _ACEOF
  11391. -rm -f conftest.$ac_objext
  11392. -if { (ac_try="$ac_compile"
  11393. -case "(($ac_try" in
  11394. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11395. - *) ac_try_echo=$ac_try;;
  11396. -esac
  11397. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11398. -$as_echo "$ac_try_echo") >&5
  11399. - (eval "$ac_compile") 2>conftest.er1
  11400. - ac_status=$?
  11401. - grep -v '^ *+' conftest.er1 >conftest.err
  11402. - rm -f conftest.er1
  11403. - cat conftest.err >&5
  11404. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11405. - (exit $ac_status); } && {
  11406. - test -z "$ac_c_werror_flag" ||
  11407. - test ! -s conftest.err
  11408. - } && test -s conftest.$ac_objext; then
  11409. - ac_lo=0 ac_mid=0
  11410. - while :; do
  11411. - cat >conftest.$ac_ext <<_ACEOF
  11412. -/* confdefs.h. */
  11413. -_ACEOF
  11414. -cat confdefs.h >>conftest.$ac_ext
  11415. -cat >>conftest.$ac_ext <<_ACEOF
  11416. +if ac_fn_c_try_link "$LINENO"; then :
  11417. + am_cv_func_iconv=yes
  11418. +fi
  11419. +rm -f core conftest.err conftest.$ac_objext \
  11420. + conftest$ac_exeext conftest.$ac_ext
  11421. + if test "$am_cv_func_iconv" != yes; then
  11422. + am_save_LIBS="$LIBS"
  11423. + LIBS="$LIBS $LIBICONV"
  11424. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11425. /* end confdefs.h. */
  11426. -$ac_includes_default
  11427. +#include <stdlib.h>
  11428. +#include <iconv.h>
  11429. int
  11430. main ()
  11431. {
  11432. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
  11433. -test_array [0] = 0
  11434. -
  11435. +iconv_t cd = iconv_open("","");
  11436. + iconv(cd,NULL,NULL,NULL,NULL);
  11437. + iconv_close(cd);
  11438. ;
  11439. return 0;
  11440. }
  11441. _ACEOF
  11442. -rm -f conftest.$ac_objext
  11443. -if { (ac_try="$ac_compile"
  11444. -case "(($ac_try" in
  11445. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11446. - *) ac_try_echo=$ac_try;;
  11447. -esac
  11448. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11449. -$as_echo "$ac_try_echo") >&5
  11450. - (eval "$ac_compile") 2>conftest.er1
  11451. - ac_status=$?
  11452. - grep -v '^ *+' conftest.er1 >conftest.err
  11453. - rm -f conftest.er1
  11454. - cat conftest.err >&5
  11455. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11456. - (exit $ac_status); } && {
  11457. - test -z "$ac_c_werror_flag" ||
  11458. - test ! -s conftest.err
  11459. - } && test -s conftest.$ac_objext; then
  11460. - ac_hi=$ac_mid; break
  11461. -else
  11462. - $as_echo "$as_me: failed program was:" >&5
  11463. -sed 's/^/| /' conftest.$ac_ext >&5
  11464. +if ac_fn_c_try_link "$LINENO"; then :
  11465. + am_cv_lib_iconv=yes
  11466. + am_cv_func_iconv=yes
  11467. +fi
  11468. +rm -f core conftest.err conftest.$ac_objext \
  11469. + conftest$ac_exeext conftest.$ac_ext
  11470. + LIBS="$am_save_LIBS"
  11471. + fi
  11472. - ac_lo=`expr $ac_mid + 1`
  11473. - if test $ac_lo -le $ac_mid; then
  11474. - ac_lo= ac_hi=
  11475. - break
  11476. - fi
  11477. - ac_mid=`expr 2 '*' $ac_mid + 1`
  11478. fi
  11479. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
  11480. +$as_echo "$am_cv_func_iconv" >&6; }
  11481. + if test "$am_cv_func_iconv" = yes; then
  11482. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11483. - done
  11484. +$as_echo "#define HAVE_ICONV 1" >>confdefs.h
  11485. +
  11486. + fi
  11487. + if test "$am_cv_lib_iconv" = yes; then
  11488. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
  11489. +$as_echo_n "checking how to link with libiconv... " >&6; }
  11490. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
  11491. +$as_echo "$LIBICONV" >&6; }
  11492. + else
  11493. + CPPFLAGS="$am_save_CPPFLAGS"
  11494. + LIBICONV=
  11495. + LTLIBICONV=
  11496. + fi
  11497. +
  11498. +
  11499. +
  11500. + if test "$am_cv_func_iconv" = yes; then
  11501. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
  11502. +$as_echo_n "checking for iconv declaration... " >&6; }
  11503. + if test "${am_cv_proto_iconv+set}" = set; then :
  11504. + $as_echo_n "(cached) " >&6
  11505. else
  11506. - $as_echo "$as_me: failed program was:" >&5
  11507. -sed 's/^/| /' conftest.$ac_ext >&5
  11508. - cat >conftest.$ac_ext <<_ACEOF
  11509. -/* confdefs.h. */
  11510. -_ACEOF
  11511. -cat confdefs.h >>conftest.$ac_ext
  11512. -cat >>conftest.$ac_ext <<_ACEOF
  11513. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11514. /* end confdefs.h. */
  11515. -$ac_includes_default
  11516. +
  11517. +#include <stdlib.h>
  11518. +#include <iconv.h>
  11519. +extern
  11520. +#ifdef __cplusplus
  11521. +"C"
  11522. +#endif
  11523. +#if defined(__STDC__) || defined(__cplusplus)
  11524. +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  11525. +#else
  11526. +size_t iconv();
  11527. +#endif
  11528. +
  11529. int
  11530. main ()
  11531. {
  11532. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
  11533. -test_array [0] = 0
  11534. ;
  11535. return 0;
  11536. }
  11537. _ACEOF
  11538. -rm -f conftest.$ac_objext
  11539. -if { (ac_try="$ac_compile"
  11540. -case "(($ac_try" in
  11541. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11542. - *) ac_try_echo=$ac_try;;
  11543. -esac
  11544. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11545. -$as_echo "$ac_try_echo") >&5
  11546. - (eval "$ac_compile") 2>conftest.er1
  11547. - ac_status=$?
  11548. - grep -v '^ *+' conftest.er1 >conftest.err
  11549. - rm -f conftest.er1
  11550. - cat conftest.err >&5
  11551. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11552. - (exit $ac_status); } && {
  11553. - test -z "$ac_c_werror_flag" ||
  11554. - test ! -s conftest.err
  11555. - } && test -s conftest.$ac_objext; then
  11556. - ac_hi=-1 ac_mid=-1
  11557. - while :; do
  11558. - cat >conftest.$ac_ext <<_ACEOF
  11559. -/* confdefs.h. */
  11560. +if ac_fn_c_try_compile "$LINENO"; then :
  11561. + am_cv_proto_iconv_arg1=""
  11562. +else
  11563. + am_cv_proto_iconv_arg1="const"
  11564. +fi
  11565. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11566. + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
  11567. +fi
  11568. +
  11569. + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
  11570. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
  11571. + }$am_cv_proto_iconv" >&5
  11572. +$as_echo "${ac_t:-
  11573. + }$am_cv_proto_iconv" >&6; }
  11574. +
  11575. +cat >>confdefs.h <<_ACEOF
  11576. +#define ICONV_CONST $am_cv_proto_iconv_arg1
  11577. +_ACEOF
  11578. +
  11579. + fi
  11580. +
  11581. +
  11582. +$as_echo "#define ENABLE_UNICODE 1" >>confdefs.h
  11583. +
  11584. + ENCODING="utf-8"
  11585. +fi
  11586. +DEFAULT_CHARSET="iso-8859-1"
  11587. +
  11588. +
  11589. +if test x$USE_UNICODE != xYES ; then
  11590. +# Check whether --enable-russian was given.
  11591. +if test "${enable_russian+set}" = set; then :
  11592. + enableval=$enable_russian; if test "$enableval" = no; then
  11593. + USE_CP866=NO
  11594. + else
  11595. + USE_CP866=YES
  11596. + fi
  11597. +
  11598. +fi
  11599. +
  11600. +
  11601. +if test x$USE_CP866 = xYES ; then
  11602. +
  11603. +$as_echo "#define CP866 1" >>confdefs.h
  11604. +
  11605. + DEFAULT_CHARSET="CP866"
  11606. +fi
  11607. +fi
  11608. +
  11609. +
  11610. +# Check whether --with-charset was given.
  11611. +if test "${with_charset+set}" = set; then :
  11612. + withval=$with_charset;
  11613. +cat >>confdefs.h <<_ACEOF
  11614. +#define DEFAULT_CHARSET "$withval"
  11615. +_ACEOF
  11616. +
  11617. +
  11618. +fi
  11619. +
  11620. +
  11621. +
  11622. +
  11623. +
  11624. +cat >>confdefs.h <<_ACEOF
  11625. +#define DEFAULT_CHARSET "$DEFAULT_CHARSET"
  11626. _ACEOF
  11627. -cat confdefs.h >>conftest.$ac_ext
  11628. -cat >>conftest.$ac_ext <<_ACEOF
  11629. +
  11630. +
  11631. +
  11632. +# Check whether --enable-memdebug was given.
  11633. +if test "${enable_memdebug+set}" = set; then :
  11634. + enableval=$enable_memdebug; if test "$enableval" = no; then
  11635. + USE_MEMDEBUG=NO
  11636. + else
  11637. + USE_MEMDEBUG=YES
  11638. + fi
  11639. +
  11640. +fi
  11641. +
  11642. +
  11643. +if test x$USE_MEMDEBUG = xYES ; then
  11644. +
  11645. +$as_echo "#define ENABLE_MEMDEBUG 1" >>confdefs.h
  11646. +
  11647. +fi
  11648. + if test x$USE_MEMDEBUG = xYES; then
  11649. + ENABLE_MEMDEBUG_TRUE=
  11650. + ENABLE_MEMDEBUG_FALSE='#'
  11651. +else
  11652. + ENABLE_MEMDEBUG_TRUE='#'
  11653. + ENABLE_MEMDEBUG_FALSE=
  11654. +fi
  11655. +
  11656. +
  11657. +ac_ext=c
  11658. +ac_cpp='$CPP $CPPFLAGS'
  11659. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11660. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11661. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11662. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  11663. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  11664. +# On Suns, sometimes $CPP names a directory.
  11665. +if test -n "$CPP" && test -d "$CPP"; then
  11666. + CPP=
  11667. +fi
  11668. +if test -z "$CPP"; then
  11669. + if test "${ac_cv_prog_CPP+set}" = set; then :
  11670. + $as_echo_n "(cached) " >&6
  11671. +else
  11672. + # Double quotes because CPP needs to be expanded
  11673. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  11674. + do
  11675. + ac_preproc_ok=false
  11676. +for ac_c_preproc_warn_flag in '' yes
  11677. +do
  11678. + # Use a header file that comes with gcc, so configuring glibc
  11679. + # with a fresh cross-compiler works.
  11680. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11681. + # <limits.h> exists even on freestanding compilers.
  11682. + # On the NeXT, cc -E runs the code through the compiler's parser,
  11683. + # not just through cpp. "Syntax error" is here to catch this case.
  11684. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11685. /* end confdefs.h. */
  11686. -$ac_includes_default
  11687. -int
  11688. -main ()
  11689. -{
  11690. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
  11691. -test_array [0] = 0
  11692. +#ifdef __STDC__
  11693. +# include <limits.h>
  11694. +#else
  11695. +# include <assert.h>
  11696. +#endif
  11697. + Syntax error
  11698. +_ACEOF
  11699. +if ac_fn_c_try_cpp "$LINENO"; then :
  11700. - ;
  11701. - return 0;
  11702. -}
  11703. +else
  11704. + # Broken: fails on valid input.
  11705. +continue
  11706. +fi
  11707. +rm -f conftest.err conftest.$ac_ext
  11708. +
  11709. + # OK, works on sane cases. Now check whether nonexistent headers
  11710. + # can be detected and how.
  11711. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11712. +/* end confdefs.h. */
  11713. +#include <ac_nonexistent.h>
  11714. _ACEOF
  11715. -rm -f conftest.$ac_objext
  11716. -if { (ac_try="$ac_compile"
  11717. -case "(($ac_try" in
  11718. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11719. - *) ac_try_echo=$ac_try;;
  11720. -esac
  11721. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11722. -$as_echo "$ac_try_echo") >&5
  11723. - (eval "$ac_compile") 2>conftest.er1
  11724. - ac_status=$?
  11725. - grep -v '^ *+' conftest.er1 >conftest.err
  11726. - rm -f conftest.er1
  11727. - cat conftest.err >&5
  11728. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11729. - (exit $ac_status); } && {
  11730. - test -z "$ac_c_werror_flag" ||
  11731. - test ! -s conftest.err
  11732. - } && test -s conftest.$ac_objext; then
  11733. - ac_lo=$ac_mid; break
  11734. +if ac_fn_c_try_cpp "$LINENO"; then :
  11735. + # Broken: success on invalid input.
  11736. +continue
  11737. else
  11738. - $as_echo "$as_me: failed program was:" >&5
  11739. -sed 's/^/| /' conftest.$ac_ext >&5
  11740. + # Passes both tests.
  11741. +ac_preproc_ok=:
  11742. +break
  11743. +fi
  11744. +rm -f conftest.err conftest.$ac_ext
  11745. - ac_hi=`expr '(' $ac_mid ')' - 1`
  11746. - if test $ac_mid -le $ac_hi; then
  11747. - ac_lo= ac_hi=
  11748. - break
  11749. - fi
  11750. - ac_mid=`expr 2 '*' $ac_mid`
  11751. +done
  11752. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  11753. +rm -f conftest.err conftest.$ac_ext
  11754. +if $ac_preproc_ok; then :
  11755. + break
  11756. fi
  11757. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11758. - done
  11759. + done
  11760. + ac_cv_prog_CPP=$CPP
  11761. +
  11762. +fi
  11763. + CPP=$ac_cv_prog_CPP
  11764. else
  11765. - $as_echo "$as_me: failed program was:" >&5
  11766. -sed 's/^/| /' conftest.$ac_ext >&5
  11767. -
  11768. - ac_lo= ac_hi=
  11769. + ac_cv_prog_CPP=$CPP
  11770. fi
  11771. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  11772. +$as_echo "$CPP" >&6; }
  11773. +ac_preproc_ok=false
  11774. +for ac_c_preproc_warn_flag in '' yes
  11775. +do
  11776. + # Use a header file that comes with gcc, so configuring glibc
  11777. + # with a fresh cross-compiler works.
  11778. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11779. + # <limits.h> exists even on freestanding compilers.
  11780. + # On the NeXT, cc -E runs the code through the compiler's parser,
  11781. + # not just through cpp. "Syntax error" is here to catch this case.
  11782. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11783. +/* end confdefs.h. */
  11784. +#ifdef __STDC__
  11785. +# include <limits.h>
  11786. +#else
  11787. +# include <assert.h>
  11788. +#endif
  11789. + Syntax error
  11790. +_ACEOF
  11791. +if ac_fn_c_try_cpp "$LINENO"; then :
  11792. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11793. +else
  11794. + # Broken: fails on valid input.
  11795. +continue
  11796. fi
  11797. +rm -f conftest.err conftest.$ac_ext
  11798. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11799. -# Binary search between lo and hi bounds.
  11800. -while test "x$ac_lo" != "x$ac_hi"; do
  11801. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  11802. - cat >conftest.$ac_ext <<_ACEOF
  11803. -/* confdefs.h. */
  11804. -_ACEOF
  11805. -cat confdefs.h >>conftest.$ac_ext
  11806. -cat >>conftest.$ac_ext <<_ACEOF
  11807. + # OK, works on sane cases. Now check whether nonexistent headers
  11808. + # can be detected and how.
  11809. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11810. /* end confdefs.h. */
  11811. -$ac_includes_default
  11812. -int
  11813. -main ()
  11814. -{
  11815. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
  11816. -test_array [0] = 0
  11817. -
  11818. - ;
  11819. - return 0;
  11820. -}
  11821. +#include <ac_nonexistent.h>
  11822. _ACEOF
  11823. -rm -f conftest.$ac_objext
  11824. -if { (ac_try="$ac_compile"
  11825. -case "(($ac_try" in
  11826. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11827. - *) ac_try_echo=$ac_try;;
  11828. -esac
  11829. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11830. -$as_echo "$ac_try_echo") >&5
  11831. - (eval "$ac_compile") 2>conftest.er1
  11832. - ac_status=$?
  11833. - grep -v '^ *+' conftest.er1 >conftest.err
  11834. - rm -f conftest.er1
  11835. - cat conftest.err >&5
  11836. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11837. - (exit $ac_status); } && {
  11838. - test -z "$ac_c_werror_flag" ||
  11839. - test ! -s conftest.err
  11840. - } && test -s conftest.$ac_objext; then
  11841. - ac_hi=$ac_mid
  11842. +if ac_fn_c_try_cpp "$LINENO"; then :
  11843. + # Broken: success on invalid input.
  11844. +continue
  11845. else
  11846. - $as_echo "$as_me: failed program was:" >&5
  11847. -sed 's/^/| /' conftest.$ac_ext >&5
  11848. -
  11849. - ac_lo=`expr '(' $ac_mid ')' + 1`
  11850. + # Passes both tests.
  11851. +ac_preproc_ok=:
  11852. +break
  11853. fi
  11854. +rm -f conftest.err conftest.$ac_ext
  11855. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11856. done
  11857. -case $ac_lo in
  11858. -?*) ac_cv_sizeof_int=$ac_lo;;
  11859. -'') if test "$ac_cv_type_int" = yes; then
  11860. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11861. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11862. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  11863. -See \`config.log' for more details." >&5
  11864. -$as_echo "$as_me: error: cannot compute sizeof (int)
  11865. -See \`config.log' for more details." >&2;}
  11866. - { (exit 77); exit 77; }; }; }
  11867. - else
  11868. - ac_cv_sizeof_int=0
  11869. - fi ;;
  11870. -esac
  11871. -else
  11872. - cat >conftest.$ac_ext <<_ACEOF
  11873. -/* confdefs.h. */
  11874. -_ACEOF
  11875. -cat confdefs.h >>conftest.$ac_ext
  11876. -cat >>conftest.$ac_ext <<_ACEOF
  11877. -/* end confdefs.h. */
  11878. -$ac_includes_default
  11879. -static long int longval () { return (long int) (sizeof (int)); }
  11880. -static unsigned long int ulongval () { return (long int) (sizeof (int)); }
  11881. -#include <stdio.h>
  11882. -#include <stdlib.h>
  11883. -int
  11884. -main ()
  11885. -{
  11886. -
  11887. - FILE *f = fopen ("conftest.val", "w");
  11888. - if (! f)
  11889. - return 1;
  11890. - if (((long int) (sizeof (int))) < 0)
  11891. - {
  11892. - long int i = longval ();
  11893. - if (i != ((long int) (sizeof (int))))
  11894. - return 1;
  11895. - fprintf (f, "%ld", i);
  11896. - }
  11897. - else
  11898. - {
  11899. - unsigned long int i = ulongval ();
  11900. - if (i != ((long int) (sizeof (int))))
  11901. - return 1;
  11902. - fprintf (f, "%lu", i);
  11903. - }
  11904. - /* Do not output a trailing newline, as this causes \r\n confusion
  11905. - on some platforms. */
  11906. - return ferror (f) || fclose (f) != 0;
  11907. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  11908. +rm -f conftest.err conftest.$ac_ext
  11909. +if $ac_preproc_ok; then :
  11910. - ;
  11911. - return 0;
  11912. -}
  11913. -_ACEOF
  11914. -rm -f conftest$ac_exeext
  11915. -if { (ac_try="$ac_link"
  11916. -case "(($ac_try" in
  11917. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11918. - *) ac_try_echo=$ac_try;;
  11919. -esac
  11920. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11921. -$as_echo "$ac_try_echo") >&5
  11922. - (eval "$ac_link") 2>&5
  11923. - ac_status=$?
  11924. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11925. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  11926. - { (case "(($ac_try" in
  11927. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11928. - *) ac_try_echo=$ac_try;;
  11929. -esac
  11930. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11931. -$as_echo "$ac_try_echo") >&5
  11932. - (eval "$ac_try") 2>&5
  11933. - ac_status=$?
  11934. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11935. - (exit $ac_status); }; }; then
  11936. - ac_cv_sizeof_int=`cat conftest.val`
  11937. else
  11938. - $as_echo "$as_me: program exited with status $ac_status" >&5
  11939. -$as_echo "$as_me: failed program was:" >&5
  11940. -sed 's/^/| /' conftest.$ac_ext >&5
  11941. -
  11942. -( exit $ac_status )
  11943. -if test "$ac_cv_type_int" = yes; then
  11944. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11945. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11946. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11947. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  11948. -See \`config.log' for more details." >&5
  11949. -$as_echo "$as_me: error: cannot compute sizeof (int)
  11950. -See \`config.log' for more details." >&2;}
  11951. - { (exit 77); exit 77; }; }; }
  11952. - else
  11953. - ac_cv_sizeof_int=0
  11954. - fi
  11955. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  11956. +See \`config.log' for more details." "$LINENO" 5; }
  11957. fi
  11958. -rm -rf conftest.dSYM
  11959. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  11960. -fi
  11961. -rm -f conftest.val
  11962. -fi
  11963. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  11964. -$as_echo "$ac_cv_sizeof_int" >&6; }
  11965. +ac_ext=c
  11966. +ac_cpp='$CPP $CPPFLAGS'
  11967. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11968. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11969. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11970. -cat >>confdefs.h <<_ACEOF
  11971. -#define SIZEOF_INT $ac_cv_sizeof_int
  11972. -_ACEOF
  11973. -
  11974. -
  11975. -# The cast to long int works around a bug in the HP C Compiler
  11976. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  11977. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  11978. -# This bug is HP SR number 8606223364.
  11979. -{ $as_echo "$as_me:$LINENO: checking size of long" >&5
  11980. -$as_echo_n "checking size of long... " >&6; }
  11981. -if test "${ac_cv_sizeof_long+set}" = set; then
  11982. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  11983. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  11984. +if test "${ac_cv_path_GREP+set}" = set; then :
  11985. $as_echo_n "(cached) " >&6
  11986. else
  11987. - if test "$cross_compiling" = yes; then
  11988. - # Depending upon the size, compute the lo and hi bounds.
  11989. -cat >conftest.$ac_ext <<_ACEOF
  11990. -/* confdefs.h. */
  11991. -_ACEOF
  11992. -cat confdefs.h >>conftest.$ac_ext
  11993. -cat >>conftest.$ac_ext <<_ACEOF
  11994. -/* end confdefs.h. */
  11995. -$ac_includes_default
  11996. -int
  11997. -main ()
  11998. -{
  11999. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
  12000. -test_array [0] = 0
  12001. -
  12002. - ;
  12003. - return 0;
  12004. -}
  12005. -_ACEOF
  12006. -rm -f conftest.$ac_objext
  12007. -if { (ac_try="$ac_compile"
  12008. -case "(($ac_try" in
  12009. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12010. - *) ac_try_echo=$ac_try;;
  12011. + if test -z "$GREP"; then
  12012. + ac_path_GREP_found=false
  12013. + # Loop through the user's path and test for each of PROGNAME-LIST
  12014. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12015. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  12016. +do
  12017. + IFS=$as_save_IFS
  12018. + test -z "$as_dir" && as_dir=.
  12019. + for ac_prog in grep ggrep; do
  12020. + for ac_exec_ext in '' $ac_executable_extensions; do
  12021. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  12022. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  12023. +# Check for GNU ac_path_GREP and select it if it is found.
  12024. + # Check for GNU $ac_path_GREP
  12025. +case `"$ac_path_GREP" --version 2>&1` in
  12026. +*GNU*)
  12027. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  12028. +*)
  12029. + ac_count=0
  12030. + $as_echo_n 0123456789 >"conftest.in"
  12031. + while :
  12032. + do
  12033. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  12034. + mv "conftest.tmp" "conftest.in"
  12035. + cp "conftest.in" "conftest.nl"
  12036. + $as_echo 'GREP' >> "conftest.nl"
  12037. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  12038. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  12039. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  12040. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  12041. + # Best one so far, save it but keep looking for a better one
  12042. + ac_cv_path_GREP="$ac_path_GREP"
  12043. + ac_path_GREP_max=$ac_count
  12044. + fi
  12045. + # 10*(2^10) chars as input seems more than enough
  12046. + test $ac_count -gt 10 && break
  12047. + done
  12048. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  12049. esac
  12050. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12051. -$as_echo "$ac_try_echo") >&5
  12052. - (eval "$ac_compile") 2>conftest.er1
  12053. - ac_status=$?
  12054. - grep -v '^ *+' conftest.er1 >conftest.err
  12055. - rm -f conftest.er1
  12056. - cat conftest.err >&5
  12057. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12058. - (exit $ac_status); } && {
  12059. - test -z "$ac_c_werror_flag" ||
  12060. - test ! -s conftest.err
  12061. - } && test -s conftest.$ac_objext; then
  12062. - ac_lo=0 ac_mid=0
  12063. - while :; do
  12064. - cat >conftest.$ac_ext <<_ACEOF
  12065. -/* confdefs.h. */
  12066. -_ACEOF
  12067. -cat confdefs.h >>conftest.$ac_ext
  12068. -cat >>conftest.$ac_ext <<_ACEOF
  12069. -/* end confdefs.h. */
  12070. -$ac_includes_default
  12071. -int
  12072. -main ()
  12073. -{
  12074. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
  12075. -test_array [0] = 0
  12076. - ;
  12077. - return 0;
  12078. -}
  12079. -_ACEOF
  12080. -rm -f conftest.$ac_objext
  12081. -if { (ac_try="$ac_compile"
  12082. -case "(($ac_try" in
  12083. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12084. - *) ac_try_echo=$ac_try;;
  12085. + $ac_path_GREP_found && break 3
  12086. + done
  12087. + done
  12088. + done
  12089. +IFS=$as_save_IFS
  12090. + if test -z "$ac_cv_path_GREP"; then
  12091. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  12092. + fi
  12093. +else
  12094. + ac_cv_path_GREP=$GREP
  12095. +fi
  12096. +
  12097. +fi
  12098. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  12099. +$as_echo "$ac_cv_path_GREP" >&6; }
  12100. + GREP="$ac_cv_path_GREP"
  12101. +
  12102. +
  12103. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  12104. +$as_echo_n "checking for egrep... " >&6; }
  12105. +if test "${ac_cv_path_EGREP+set}" = set; then :
  12106. + $as_echo_n "(cached) " >&6
  12107. +else
  12108. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  12109. + then ac_cv_path_EGREP="$GREP -E"
  12110. + else
  12111. + if test -z "$EGREP"; then
  12112. + ac_path_EGREP_found=false
  12113. + # Loop through the user's path and test for each of PROGNAME-LIST
  12114. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12115. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  12116. +do
  12117. + IFS=$as_save_IFS
  12118. + test -z "$as_dir" && as_dir=.
  12119. + for ac_prog in egrep; do
  12120. + for ac_exec_ext in '' $ac_executable_extensions; do
  12121. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  12122. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  12123. +# Check for GNU ac_path_EGREP and select it if it is found.
  12124. + # Check for GNU $ac_path_EGREP
  12125. +case `"$ac_path_EGREP" --version 2>&1` in
  12126. +*GNU*)
  12127. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  12128. +*)
  12129. + ac_count=0
  12130. + $as_echo_n 0123456789 >"conftest.in"
  12131. + while :
  12132. + do
  12133. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  12134. + mv "conftest.tmp" "conftest.in"
  12135. + cp "conftest.in" "conftest.nl"
  12136. + $as_echo 'EGREP' >> "conftest.nl"
  12137. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  12138. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  12139. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  12140. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  12141. + # Best one so far, save it but keep looking for a better one
  12142. + ac_cv_path_EGREP="$ac_path_EGREP"
  12143. + ac_path_EGREP_max=$ac_count
  12144. + fi
  12145. + # 10*(2^10) chars as input seems more than enough
  12146. + test $ac_count -gt 10 && break
  12147. + done
  12148. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  12149. esac
  12150. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12151. -$as_echo "$ac_try_echo") >&5
  12152. - (eval "$ac_compile") 2>conftest.er1
  12153. - ac_status=$?
  12154. - grep -v '^ *+' conftest.er1 >conftest.err
  12155. - rm -f conftest.er1
  12156. - cat conftest.err >&5
  12157. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12158. - (exit $ac_status); } && {
  12159. - test -z "$ac_c_werror_flag" ||
  12160. - test ! -s conftest.err
  12161. - } && test -s conftest.$ac_objext; then
  12162. - ac_hi=$ac_mid; break
  12163. +
  12164. + $ac_path_EGREP_found && break 3
  12165. + done
  12166. + done
  12167. + done
  12168. +IFS=$as_save_IFS
  12169. + if test -z "$ac_cv_path_EGREP"; then
  12170. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  12171. + fi
  12172. else
  12173. - $as_echo "$as_me: failed program was:" >&5
  12174. -sed 's/^/| /' conftest.$ac_ext >&5
  12175. + ac_cv_path_EGREP=$EGREP
  12176. +fi
  12177. - ac_lo=`expr $ac_mid + 1`
  12178. - if test $ac_lo -le $ac_mid; then
  12179. - ac_lo= ac_hi=
  12180. - break
  12181. - fi
  12182. - ac_mid=`expr 2 '*' $ac_mid + 1`
  12183. + fi
  12184. fi
  12185. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  12186. +$as_echo "$ac_cv_path_EGREP" >&6; }
  12187. + EGREP="$ac_cv_path_EGREP"
  12188. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12189. - done
  12190. -else
  12191. - $as_echo "$as_me: failed program was:" >&5
  12192. -sed 's/^/| /' conftest.$ac_ext >&5
  12193. - cat >conftest.$ac_ext <<_ACEOF
  12194. -/* confdefs.h. */
  12195. -_ACEOF
  12196. -cat confdefs.h >>conftest.$ac_ext
  12197. -cat >>conftest.$ac_ext <<_ACEOF
  12198. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  12199. +$as_echo_n "checking for ANSI C header files... " >&6; }
  12200. +if test "${ac_cv_header_stdc+set}" = set; then :
  12201. + $as_echo_n "(cached) " >&6
  12202. +else
  12203. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12204. /* end confdefs.h. */
  12205. -$ac_includes_default
  12206. +#include <stdlib.h>
  12207. +#include <stdarg.h>
  12208. +#include <string.h>
  12209. +#include <float.h>
  12210. +
  12211. int
  12212. main ()
  12213. {
  12214. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
  12215. -test_array [0] = 0
  12216. ;
  12217. return 0;
  12218. }
  12219. _ACEOF
  12220. -rm -f conftest.$ac_objext
  12221. -if { (ac_try="$ac_compile"
  12222. -case "(($ac_try" in
  12223. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12224. - *) ac_try_echo=$ac_try;;
  12225. -esac
  12226. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12227. -$as_echo "$ac_try_echo") >&5
  12228. - (eval "$ac_compile") 2>conftest.er1
  12229. - ac_status=$?
  12230. - grep -v '^ *+' conftest.er1 >conftest.err
  12231. - rm -f conftest.er1
  12232. - cat conftest.err >&5
  12233. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12234. - (exit $ac_status); } && {
  12235. - test -z "$ac_c_werror_flag" ||
  12236. - test ! -s conftest.err
  12237. - } && test -s conftest.$ac_objext; then
  12238. - ac_hi=-1 ac_mid=-1
  12239. - while :; do
  12240. - cat >conftest.$ac_ext <<_ACEOF
  12241. -/* confdefs.h. */
  12242. -_ACEOF
  12243. -cat confdefs.h >>conftest.$ac_ext
  12244. -cat >>conftest.$ac_ext <<_ACEOF
  12245. +if ac_fn_c_try_compile "$LINENO"; then :
  12246. + ac_cv_header_stdc=yes
  12247. +else
  12248. + ac_cv_header_stdc=no
  12249. +fi
  12250. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12251. +
  12252. +if test $ac_cv_header_stdc = yes; then
  12253. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  12254. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12255. /* end confdefs.h. */
  12256. -$ac_includes_default
  12257. -int
  12258. -main ()
  12259. -{
  12260. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
  12261. -test_array [0] = 0
  12262. +#include <string.h>
  12263. - ;
  12264. - return 0;
  12265. -}
  12266. _ACEOF
  12267. -rm -f conftest.$ac_objext
  12268. -if { (ac_try="$ac_compile"
  12269. -case "(($ac_try" in
  12270. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12271. - *) ac_try_echo=$ac_try;;
  12272. -esac
  12273. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12274. -$as_echo "$ac_try_echo") >&5
  12275. - (eval "$ac_compile") 2>conftest.er1
  12276. - ac_status=$?
  12277. - grep -v '^ *+' conftest.er1 >conftest.err
  12278. - rm -f conftest.er1
  12279. - cat conftest.err >&5
  12280. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12281. - (exit $ac_status); } && {
  12282. - test -z "$ac_c_werror_flag" ||
  12283. - test ! -s conftest.err
  12284. - } && test -s conftest.$ac_objext; then
  12285. - ac_lo=$ac_mid; break
  12286. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12287. + $EGREP "memchr" >/dev/null 2>&1; then :
  12288. +
  12289. else
  12290. - $as_echo "$as_me: failed program was:" >&5
  12291. -sed 's/^/| /' conftest.$ac_ext >&5
  12292. + ac_cv_header_stdc=no
  12293. +fi
  12294. +rm -f conftest*
  12295. - ac_hi=`expr '(' $ac_mid ')' - 1`
  12296. - if test $ac_mid -le $ac_hi; then
  12297. - ac_lo= ac_hi=
  12298. - break
  12299. - fi
  12300. - ac_mid=`expr 2 '*' $ac_mid`
  12301. fi
  12302. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12303. - done
  12304. -else
  12305. - $as_echo "$as_me: failed program was:" >&5
  12306. -sed 's/^/| /' conftest.$ac_ext >&5
  12307. +if test $ac_cv_header_stdc = yes; then
  12308. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  12309. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12310. +/* end confdefs.h. */
  12311. +#include <stdlib.h>
  12312. +
  12313. +_ACEOF
  12314. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12315. + $EGREP "free" >/dev/null 2>&1; then :
  12316. - ac_lo= ac_hi=
  12317. +else
  12318. + ac_cv_header_stdc=no
  12319. fi
  12320. +rm -f conftest*
  12321. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12322. fi
  12323. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12324. -# Binary search between lo and hi bounds.
  12325. -while test "x$ac_lo" != "x$ac_hi"; do
  12326. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  12327. - cat >conftest.$ac_ext <<_ACEOF
  12328. -/* confdefs.h. */
  12329. -_ACEOF
  12330. -cat confdefs.h >>conftest.$ac_ext
  12331. -cat >>conftest.$ac_ext <<_ACEOF
  12332. +if test $ac_cv_header_stdc = yes; then
  12333. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  12334. + if test "$cross_compiling" = yes; then :
  12335. + :
  12336. +else
  12337. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12338. /* end confdefs.h. */
  12339. -$ac_includes_default
  12340. +#include <ctype.h>
  12341. +#include <stdlib.h>
  12342. +#if ((' ' & 0x0FF) == 0x020)
  12343. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  12344. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  12345. +#else
  12346. +# define ISLOWER(c) \
  12347. + (('a' <= (c) && (c) <= 'i') \
  12348. + || ('j' <= (c) && (c) <= 'r') \
  12349. + || ('s' <= (c) && (c) <= 'z'))
  12350. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  12351. +#endif
  12352. +
  12353. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  12354. int
  12355. main ()
  12356. {
  12357. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
  12358. -test_array [0] = 0
  12359. -
  12360. - ;
  12361. + int i;
  12362. + for (i = 0; i < 256; i++)
  12363. + if (XOR (islower (i), ISLOWER (i))
  12364. + || toupper (i) != TOUPPER (i))
  12365. + return 2;
  12366. return 0;
  12367. }
  12368. _ACEOF
  12369. -rm -f conftest.$ac_objext
  12370. -if { (ac_try="$ac_compile"
  12371. -case "(($ac_try" in
  12372. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12373. - *) ac_try_echo=$ac_try;;
  12374. -esac
  12375. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12376. -$as_echo "$ac_try_echo") >&5
  12377. - (eval "$ac_compile") 2>conftest.er1
  12378. - ac_status=$?
  12379. - grep -v '^ *+' conftest.er1 >conftest.err
  12380. - rm -f conftest.er1
  12381. - cat conftest.err >&5
  12382. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12383. - (exit $ac_status); } && {
  12384. - test -z "$ac_c_werror_flag" ||
  12385. - test ! -s conftest.err
  12386. - } && test -s conftest.$ac_objext; then
  12387. - ac_hi=$ac_mid
  12388. +if ac_fn_c_try_run "$LINENO"; then :
  12389. +
  12390. else
  12391. - $as_echo "$as_me: failed program was:" >&5
  12392. -sed 's/^/| /' conftest.$ac_ext >&5
  12393. + ac_cv_header_stdc=no
  12394. +fi
  12395. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  12396. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  12397. +fi
  12398. +
  12399. +fi
  12400. +fi
  12401. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  12402. +$as_echo "$ac_cv_header_stdc" >&6; }
  12403. +if test $ac_cv_header_stdc = yes; then
  12404. +
  12405. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  12406. +
  12407. +fi
  12408. +
  12409. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  12410. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  12411. + inttypes.h stdint.h unistd.h
  12412. +do :
  12413. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12414. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  12415. +"
  12416. +eval as_val=\$$as_ac_Header
  12417. + if test "x$as_val" = x""yes; then :
  12418. + cat >>confdefs.h <<_ACEOF
  12419. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12420. +_ACEOF
  12421. - ac_lo=`expr '(' $ac_mid ')' + 1`
  12422. fi
  12423. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12424. done
  12425. -case $ac_lo in
  12426. -?*) ac_cv_sizeof_long=$ac_lo;;
  12427. -'') if test "$ac_cv_type_long" = yes; then
  12428. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  12429. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12430. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  12431. -See \`config.log' for more details." >&5
  12432. -$as_echo "$as_me: error: cannot compute sizeof (long)
  12433. -See \`config.log' for more details." >&2;}
  12434. - { (exit 77); exit 77; }; }; }
  12435. - else
  12436. - ac_cv_sizeof_long=0
  12437. - fi ;;
  12438. -esac
  12439. +
  12440. +
  12441. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  12442. +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  12443. +if test "${ac_cv_header_stdbool_h+set}" = set; then :
  12444. + $as_echo_n "(cached) " >&6
  12445. else
  12446. - cat >conftest.$ac_ext <<_ACEOF
  12447. -/* confdefs.h. */
  12448. -_ACEOF
  12449. -cat confdefs.h >>conftest.$ac_ext
  12450. -cat >>conftest.$ac_ext <<_ACEOF
  12451. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12452. /* end confdefs.h. */
  12453. -$ac_includes_default
  12454. -static long int longval () { return (long int) (sizeof (long)); }
  12455. -static unsigned long int ulongval () { return (long int) (sizeof (long)); }
  12456. -#include <stdio.h>
  12457. -#include <stdlib.h>
  12458. -int
  12459. -main ()
  12460. -{
  12461. - FILE *f = fopen ("conftest.val", "w");
  12462. - if (! f)
  12463. - return 1;
  12464. - if (((long int) (sizeof (long))) < 0)
  12465. - {
  12466. - long int i = longval ();
  12467. - if (i != ((long int) (sizeof (long))))
  12468. - return 1;
  12469. - fprintf (f, "%ld", i);
  12470. - }
  12471. - else
  12472. - {
  12473. - unsigned long int i = ulongval ();
  12474. - if (i != ((long int) (sizeof (long))))
  12475. - return 1;
  12476. - fprintf (f, "%lu", i);
  12477. - }
  12478. - /* Do not output a trailing newline, as this causes \r\n confusion
  12479. - on some platforms. */
  12480. - return ferror (f) || fclose (f) != 0;
  12481. +#include <stdbool.h>
  12482. +#ifndef bool
  12483. +# error bool is not defined
  12484. +#endif
  12485. +#ifndef false
  12486. +# error false is not defined
  12487. +#endif
  12488. +#if false
  12489. +# error false is not 0
  12490. +#endif
  12491. +#ifndef true
  12492. +# error true is not defined
  12493. +#endif
  12494. +#if true != 1
  12495. +# error true is not 1
  12496. +#endif
  12497. +#ifndef __bool_true_false_are_defined
  12498. +# error __bool_true_false_are_defined is not defined
  12499. +#endif
  12500. - ;
  12501. - return 0;
  12502. -}
  12503. -_ACEOF
  12504. -rm -f conftest$ac_exeext
  12505. -if { (ac_try="$ac_link"
  12506. -case "(($ac_try" in
  12507. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12508. - *) ac_try_echo=$ac_try;;
  12509. -esac
  12510. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12511. -$as_echo "$ac_try_echo") >&5
  12512. - (eval "$ac_link") 2>&5
  12513. - ac_status=$?
  12514. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12515. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12516. - { (case "(($ac_try" in
  12517. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12518. - *) ac_try_echo=$ac_try;;
  12519. -esac
  12520. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12521. -$as_echo "$ac_try_echo") >&5
  12522. - (eval "$ac_try") 2>&5
  12523. - ac_status=$?
  12524. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12525. - (exit $ac_status); }; }; then
  12526. - ac_cv_sizeof_long=`cat conftest.val`
  12527. -else
  12528. - $as_echo "$as_me: program exited with status $ac_status" >&5
  12529. -$as_echo "$as_me: failed program was:" >&5
  12530. -sed 's/^/| /' conftest.$ac_ext >&5
  12531. + struct s { _Bool s: 1; _Bool t; } s;
  12532. +
  12533. + char a[true == 1 ? 1 : -1];
  12534. + char b[false == 0 ? 1 : -1];
  12535. + char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  12536. + char d[(bool) -0.5 == true ? 1 : -1];
  12537. + bool e = &s;
  12538. + char f[(_Bool) -0.0 == false ? 1 : -1];
  12539. + char g[true];
  12540. + char h[sizeof (_Bool)];
  12541. + char i[sizeof s.t];
  12542. -( exit $ac_status )
  12543. -if test "$ac_cv_type_long" = yes; then
  12544. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  12545. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12546. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  12547. -See \`config.log' for more details." >&5
  12548. -$as_echo "$as_me: error: cannot compute sizeof (long)
  12549. -See \`config.log' for more details." >&2;}
  12550. - { (exit 77); exit 77; }; }; }
  12551. - else
  12552. - ac_cv_sizeof_long=0
  12553. - fi
  12554. -fi
  12555. -rm -rf conftest.dSYM
  12556. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12557. +int
  12558. +main ()
  12559. +{
  12560. + return !a + !b + !c + !d + !e + !f + !g + !h + !i;
  12561. + ;
  12562. + return 0;
  12563. +}
  12564. +_ACEOF
  12565. +if ac_fn_c_try_compile "$LINENO"; then :
  12566. + ac_cv_header_stdbool_h=yes
  12567. +else
  12568. + ac_cv_header_stdbool_h=no
  12569. fi
  12570. -rm -f conftest.val
  12571. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12572. fi
  12573. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
  12574. -$as_echo "$ac_cv_sizeof_long" >&6; }
  12575. -
  12576. -
  12577. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  12578. +$as_echo "$ac_cv_header_stdbool_h" >&6; }
  12579. +ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  12580. +if test "x$ac_cv_type__Bool" = x""yes; then :
  12581. cat >>confdefs.h <<_ACEOF
  12582. -#define SIZEOF_LONG $ac_cv_sizeof_long
  12583. +#define HAVE__BOOL 1
  12584. _ACEOF
  12585. -# The cast to long int works around a bug in the HP C Compiler
  12586. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  12587. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  12588. -# This bug is HP SR number 8606223364.
  12589. -{ $as_echo "$as_me:$LINENO: checking size of size_t" >&5
  12590. -$as_echo_n "checking size of size_t... " >&6; }
  12591. -if test "${ac_cv_sizeof_size_t+set}" = set; then
  12592. +fi
  12593. +
  12594. +if test $ac_cv_header_stdbool_h = yes; then
  12595. +
  12596. +$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
  12597. +
  12598. +fi
  12599. +
  12600. +ac_header_dirent=no
  12601. +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  12602. + as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  12603. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
  12604. +$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  12605. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
  12606. $as_echo_n "(cached) " >&6
  12607. else
  12608. - if test "$cross_compiling" = yes; then
  12609. - # Depending upon the size, compute the lo and hi bounds.
  12610. -cat >conftest.$ac_ext <<_ACEOF
  12611. -/* confdefs.h. */
  12612. -_ACEOF
  12613. -cat confdefs.h >>conftest.$ac_ext
  12614. -cat >>conftest.$ac_ext <<_ACEOF
  12615. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12616. /* end confdefs.h. */
  12617. -$ac_includes_default
  12618. +#include <sys/types.h>
  12619. +#include <$ac_hdr>
  12620. +
  12621. int
  12622. main ()
  12623. {
  12624. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= 0)];
  12625. -test_array [0] = 0
  12626. -
  12627. +if ((DIR *) 0)
  12628. +return 0;
  12629. ;
  12630. return 0;
  12631. }
  12632. _ACEOF
  12633. -rm -f conftest.$ac_objext
  12634. -if { (ac_try="$ac_compile"
  12635. -case "(($ac_try" in
  12636. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12637. - *) ac_try_echo=$ac_try;;
  12638. -esac
  12639. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12640. -$as_echo "$ac_try_echo") >&5
  12641. - (eval "$ac_compile") 2>conftest.er1
  12642. - ac_status=$?
  12643. - grep -v '^ *+' conftest.er1 >conftest.err
  12644. - rm -f conftest.er1
  12645. - cat conftest.err >&5
  12646. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12647. - (exit $ac_status); } && {
  12648. - test -z "$ac_c_werror_flag" ||
  12649. - test ! -s conftest.err
  12650. - } && test -s conftest.$ac_objext; then
  12651. - ac_lo=0 ac_mid=0
  12652. - while :; do
  12653. - cat >conftest.$ac_ext <<_ACEOF
  12654. -/* confdefs.h. */
  12655. +if ac_fn_c_try_compile "$LINENO"; then :
  12656. + eval "$as_ac_Header=yes"
  12657. +else
  12658. + eval "$as_ac_Header=no"
  12659. +fi
  12660. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12661. +fi
  12662. +eval ac_res=\$$as_ac_Header
  12663. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  12664. +$as_echo "$ac_res" >&6; }
  12665. +eval as_val=\$$as_ac_Header
  12666. + if test "x$as_val" = x""yes; then :
  12667. + cat >>confdefs.h <<_ACEOF
  12668. +#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  12669. _ACEOF
  12670. -cat confdefs.h >>conftest.$ac_ext
  12671. -cat >>conftest.$ac_ext <<_ACEOF
  12672. +
  12673. +ac_header_dirent=$ac_hdr; break
  12674. +fi
  12675. +
  12676. +done
  12677. +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  12678. +if test $ac_header_dirent = dirent.h; then
  12679. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  12680. +$as_echo_n "checking for library containing opendir... " >&6; }
  12681. +if test "${ac_cv_search_opendir+set}" = set; then :
  12682. + $as_echo_n "(cached) " >&6
  12683. +else
  12684. + ac_func_search_save_LIBS=$LIBS
  12685. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12686. /* end confdefs.h. */
  12687. -$ac_includes_default
  12688. +
  12689. +/* Override any GCC internal prototype to avoid an error.
  12690. + Use char because int might match the return type of a GCC
  12691. + builtin and then its argument prototype would still apply. */
  12692. +#ifdef __cplusplus
  12693. +extern "C"
  12694. +#endif
  12695. +char opendir ();
  12696. int
  12697. main ()
  12698. {
  12699. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
  12700. -test_array [0] = 0
  12701. -
  12702. +return opendir ();
  12703. ;
  12704. return 0;
  12705. }
  12706. _ACEOF
  12707. -rm -f conftest.$ac_objext
  12708. -if { (ac_try="$ac_compile"
  12709. -case "(($ac_try" in
  12710. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12711. - *) ac_try_echo=$ac_try;;
  12712. -esac
  12713. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12714. -$as_echo "$ac_try_echo") >&5
  12715. - (eval "$ac_compile") 2>conftest.er1
  12716. - ac_status=$?
  12717. - grep -v '^ *+' conftest.er1 >conftest.err
  12718. - rm -f conftest.er1
  12719. - cat conftest.err >&5
  12720. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12721. - (exit $ac_status); } && {
  12722. - test -z "$ac_c_werror_flag" ||
  12723. - test ! -s conftest.err
  12724. - } && test -s conftest.$ac_objext; then
  12725. - ac_hi=$ac_mid; break
  12726. +for ac_lib in '' dir; do
  12727. + if test -z "$ac_lib"; then
  12728. + ac_res="none required"
  12729. + else
  12730. + ac_res=-l$ac_lib
  12731. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  12732. + fi
  12733. + if ac_fn_c_try_link "$LINENO"; then :
  12734. + ac_cv_search_opendir=$ac_res
  12735. +fi
  12736. +rm -f core conftest.err conftest.$ac_objext \
  12737. + conftest$ac_exeext
  12738. + if test "${ac_cv_search_opendir+set}" = set; then :
  12739. + break
  12740. +fi
  12741. +done
  12742. +if test "${ac_cv_search_opendir+set}" = set; then :
  12743. +
  12744. else
  12745. - $as_echo "$as_me: failed program was:" >&5
  12746. -sed 's/^/| /' conftest.$ac_ext >&5
  12747. + ac_cv_search_opendir=no
  12748. +fi
  12749. +rm conftest.$ac_ext
  12750. +LIBS=$ac_func_search_save_LIBS
  12751. +fi
  12752. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  12753. +$as_echo "$ac_cv_search_opendir" >&6; }
  12754. +ac_res=$ac_cv_search_opendir
  12755. +if test "$ac_res" != no; then :
  12756. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  12757. - ac_lo=`expr $ac_mid + 1`
  12758. - if test $ac_lo -le $ac_mid; then
  12759. - ac_lo= ac_hi=
  12760. - break
  12761. - fi
  12762. - ac_mid=`expr 2 '*' $ac_mid + 1`
  12763. fi
  12764. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12765. - done
  12766. else
  12767. - $as_echo "$as_me: failed program was:" >&5
  12768. -sed 's/^/| /' conftest.$ac_ext >&5
  12769. -
  12770. - cat >conftest.$ac_ext <<_ACEOF
  12771. -/* confdefs.h. */
  12772. -_ACEOF
  12773. -cat confdefs.h >>conftest.$ac_ext
  12774. -cat >>conftest.$ac_ext <<_ACEOF
  12775. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  12776. +$as_echo_n "checking for library containing opendir... " >&6; }
  12777. +if test "${ac_cv_search_opendir+set}" = set; then :
  12778. + $as_echo_n "(cached) " >&6
  12779. +else
  12780. + ac_func_search_save_LIBS=$LIBS
  12781. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12782. /* end confdefs.h. */
  12783. -$ac_includes_default
  12784. +
  12785. +/* Override any GCC internal prototype to avoid an error.
  12786. + Use char because int might match the return type of a GCC
  12787. + builtin and then its argument prototype would still apply. */
  12788. +#ifdef __cplusplus
  12789. +extern "C"
  12790. +#endif
  12791. +char opendir ();
  12792. int
  12793. main ()
  12794. {
  12795. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) < 0)];
  12796. -test_array [0] = 0
  12797. -
  12798. +return opendir ();
  12799. ;
  12800. return 0;
  12801. }
  12802. _ACEOF
  12803. -rm -f conftest.$ac_objext
  12804. -if { (ac_try="$ac_compile"
  12805. -case "(($ac_try" in
  12806. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12807. - *) ac_try_echo=$ac_try;;
  12808. -esac
  12809. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12810. -$as_echo "$ac_try_echo") >&5
  12811. - (eval "$ac_compile") 2>conftest.er1
  12812. - ac_status=$?
  12813. - grep -v '^ *+' conftest.er1 >conftest.err
  12814. - rm -f conftest.er1
  12815. - cat conftest.err >&5
  12816. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12817. - (exit $ac_status); } && {
  12818. - test -z "$ac_c_werror_flag" ||
  12819. - test ! -s conftest.err
  12820. - } && test -s conftest.$ac_objext; then
  12821. - ac_hi=-1 ac_mid=-1
  12822. - while :; do
  12823. - cat >conftest.$ac_ext <<_ACEOF
  12824. -/* confdefs.h. */
  12825. -_ACEOF
  12826. -cat confdefs.h >>conftest.$ac_ext
  12827. -cat >>conftest.$ac_ext <<_ACEOF
  12828. +for ac_lib in '' x; do
  12829. + if test -z "$ac_lib"; then
  12830. + ac_res="none required"
  12831. + else
  12832. + ac_res=-l$ac_lib
  12833. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  12834. + fi
  12835. + if ac_fn_c_try_link "$LINENO"; then :
  12836. + ac_cv_search_opendir=$ac_res
  12837. +fi
  12838. +rm -f core conftest.err conftest.$ac_objext \
  12839. + conftest$ac_exeext
  12840. + if test "${ac_cv_search_opendir+set}" = set; then :
  12841. + break
  12842. +fi
  12843. +done
  12844. +if test "${ac_cv_search_opendir+set}" = set; then :
  12845. +
  12846. +else
  12847. + ac_cv_search_opendir=no
  12848. +fi
  12849. +rm conftest.$ac_ext
  12850. +LIBS=$ac_func_search_save_LIBS
  12851. +fi
  12852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  12853. +$as_echo "$ac_cv_search_opendir" >&6; }
  12854. +ac_res=$ac_cv_search_opendir
  12855. +if test "$ac_res" != no; then :
  12856. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  12857. +
  12858. +fi
  12859. +
  12860. +fi
  12861. +
  12862. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  12863. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  12864. +if test "${ac_cv_header_time+set}" = set; then :
  12865. + $as_echo_n "(cached) " >&6
  12866. +else
  12867. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12868. /* end confdefs.h. */
  12869. -$ac_includes_default
  12870. +#include <sys/types.h>
  12871. +#include <sys/time.h>
  12872. +#include <time.h>
  12873. +
  12874. int
  12875. main ()
  12876. {
  12877. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= $ac_mid)];
  12878. -test_array [0] = 0
  12879. -
  12880. +if ((struct tm *) 0)
  12881. +return 0;
  12882. ;
  12883. return 0;
  12884. }
  12885. _ACEOF
  12886. -rm -f conftest.$ac_objext
  12887. -if { (ac_try="$ac_compile"
  12888. -case "(($ac_try" in
  12889. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12890. - *) ac_try_echo=$ac_try;;
  12891. -esac
  12892. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12893. -$as_echo "$ac_try_echo") >&5
  12894. - (eval "$ac_compile") 2>conftest.er1
  12895. - ac_status=$?
  12896. - grep -v '^ *+' conftest.er1 >conftest.err
  12897. - rm -f conftest.er1
  12898. - cat conftest.err >&5
  12899. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12900. - (exit $ac_status); } && {
  12901. - test -z "$ac_c_werror_flag" ||
  12902. - test ! -s conftest.err
  12903. - } && test -s conftest.$ac_objext; then
  12904. - ac_lo=$ac_mid; break
  12905. +if ac_fn_c_try_compile "$LINENO"; then :
  12906. + ac_cv_header_time=yes
  12907. else
  12908. - $as_echo "$as_me: failed program was:" >&5
  12909. -sed 's/^/| /' conftest.$ac_ext >&5
  12910. + ac_cv_header_time=no
  12911. +fi
  12912. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12913. +fi
  12914. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  12915. +$as_echo "$ac_cv_header_time" >&6; }
  12916. +if test $ac_cv_header_time = yes; then
  12917. +
  12918. +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
  12919. - ac_hi=`expr '(' $ac_mid ')' - 1`
  12920. - if test $ac_mid -le $ac_hi; then
  12921. - ac_lo= ac_hi=
  12922. - break
  12923. - fi
  12924. - ac_mid=`expr 2 '*' $ac_mid`
  12925. fi
  12926. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12927. - done
  12928. +for ac_header in syslog.h sys/param.h fcntl.h string.h strings.h unistd.h sys/time.h sys/select.h inttypes.h stdarg.h stdint.h
  12929. +do :
  12930. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12931. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  12932. +eval as_val=\$$as_ac_Header
  12933. + if test "x$as_val" = x""yes; then :
  12934. + cat >>confdefs.h <<_ACEOF
  12935. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12936. +_ACEOF
  12937. +
  12938. +fi
  12939. +
  12940. +done
  12941. +
  12942. +for ac_header in limits.h float.h
  12943. +do :
  12944. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12945. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  12946. +eval as_val=\$$as_ac_Header
  12947. + if test "x$as_val" = x""yes; then :
  12948. + cat >>confdefs.h <<_ACEOF
  12949. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12950. +_ACEOF
  12951. +
  12952. +else
  12953. + for ac_header in values.h
  12954. +do :
  12955. + ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default"
  12956. +if test "x$ac_cv_header_values_h" = x""yes; then :
  12957. + cat >>confdefs.h <<_ACEOF
  12958. +#define HAVE_VALUES_H 1
  12959. +_ACEOF
  12960. +
  12961. +fi
  12962. +
  12963. +done
  12964. +
  12965. +fi
  12966. +
  12967. +done
  12968. +
  12969. +
  12970. +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
  12971. +if test "x$ac_cv_type_pid_t" = x""yes; then :
  12972. +
  12973. +else
  12974. +
  12975. +cat >>confdefs.h <<_ACEOF
  12976. +#define pid_t int
  12977. +_ACEOF
  12978. +
  12979. +fi
  12980. +
  12981. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  12982. +if test "x$ac_cv_type_size_t" = x""yes; then :
  12983. +
  12984. else
  12985. - $as_echo "$as_me: failed program was:" >&5
  12986. -sed 's/^/| /' conftest.$ac_ext >&5
  12987. - ac_lo= ac_hi=
  12988. -fi
  12989. +cat >>confdefs.h <<_ACEOF
  12990. +#define size_t unsigned int
  12991. +_ACEOF
  12992. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12993. fi
  12994. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12995. -# Binary search between lo and hi bounds.
  12996. -while test "x$ac_lo" != "x$ac_hi"; do
  12997. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  12998. - cat >conftest.$ac_ext <<_ACEOF
  12999. -/* confdefs.h. */
  13000. -_ACEOF
  13001. -cat confdefs.h >>conftest.$ac_ext
  13002. -cat >>conftest.$ac_ext <<_ACEOF
  13003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
  13004. +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
  13005. +if test "${ac_cv_type_uid_t+set}" = set; then :
  13006. + $as_echo_n "(cached) " >&6
  13007. +else
  13008. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13009. /* end confdefs.h. */
  13010. -$ac_includes_default
  13011. -int
  13012. -main ()
  13013. -{
  13014. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
  13015. -test_array [0] = 0
  13016. +#include <sys/types.h>
  13017. - ;
  13018. - return 0;
  13019. -}
  13020. _ACEOF
  13021. -rm -f conftest.$ac_objext
  13022. -if { (ac_try="$ac_compile"
  13023. -case "(($ac_try" in
  13024. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13025. - *) ac_try_echo=$ac_try;;
  13026. -esac
  13027. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13028. -$as_echo "$ac_try_echo") >&5
  13029. - (eval "$ac_compile") 2>conftest.er1
  13030. - ac_status=$?
  13031. - grep -v '^ *+' conftest.er1 >conftest.err
  13032. - rm -f conftest.er1
  13033. - cat conftest.err >&5
  13034. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13035. - (exit $ac_status); } && {
  13036. - test -z "$ac_c_werror_flag" ||
  13037. - test ! -s conftest.err
  13038. - } && test -s conftest.$ac_objext; then
  13039. - ac_hi=$ac_mid
  13040. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  13041. + $EGREP "uid_t" >/dev/null 2>&1; then :
  13042. + ac_cv_type_uid_t=yes
  13043. else
  13044. - $as_echo "$as_me: failed program was:" >&5
  13045. -sed 's/^/| /' conftest.$ac_ext >&5
  13046. + ac_cv_type_uid_t=no
  13047. +fi
  13048. +rm -f conftest*
  13049. - ac_lo=`expr '(' $ac_mid ')' + 1`
  13050. fi
  13051. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
  13052. +$as_echo "$ac_cv_type_uid_t" >&6; }
  13053. +if test $ac_cv_type_uid_t = no; then
  13054. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13055. -done
  13056. -case $ac_lo in
  13057. -?*) ac_cv_sizeof_size_t=$ac_lo;;
  13058. -'') if test "$ac_cv_type_size_t" = yes; then
  13059. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  13060. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13061. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
  13062. -See \`config.log' for more details." >&5
  13063. -$as_echo "$as_me: error: cannot compute sizeof (size_t)
  13064. -See \`config.log' for more details." >&2;}
  13065. - { (exit 77); exit 77; }; }; }
  13066. - else
  13067. - ac_cv_sizeof_size_t=0
  13068. - fi ;;
  13069. -esac
  13070. +$as_echo "#define uid_t int" >>confdefs.h
  13071. +
  13072. +
  13073. +$as_echo "#define gid_t int" >>confdefs.h
  13074. +
  13075. +fi
  13076. +
  13077. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
  13078. +$as_echo_n "checking return type of signal handlers... " >&6; }
  13079. +if test "${ac_cv_type_signal+set}" = set; then :
  13080. + $as_echo_n "(cached) " >&6
  13081. else
  13082. - cat >conftest.$ac_ext <<_ACEOF
  13083. -/* confdefs.h. */
  13084. -_ACEOF
  13085. -cat confdefs.h >>conftest.$ac_ext
  13086. -cat >>conftest.$ac_ext <<_ACEOF
  13087. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13088. /* end confdefs.h. */
  13089. -$ac_includes_default
  13090. -static long int longval () { return (long int) (sizeof (size_t)); }
  13091. -static unsigned long int ulongval () { return (long int) (sizeof (size_t)); }
  13092. -#include <stdio.h>
  13093. -#include <stdlib.h>
  13094. +#include <sys/types.h>
  13095. +#include <signal.h>
  13096. +
  13097. int
  13098. main ()
  13099. {
  13100. -
  13101. - FILE *f = fopen ("conftest.val", "w");
  13102. - if (! f)
  13103. - return 1;
  13104. - if (((long int) (sizeof (size_t))) < 0)
  13105. - {
  13106. - long int i = longval ();
  13107. - if (i != ((long int) (sizeof (size_t))))
  13108. - return 1;
  13109. - fprintf (f, "%ld", i);
  13110. - }
  13111. - else
  13112. - {
  13113. - unsigned long int i = ulongval ();
  13114. - if (i != ((long int) (sizeof (size_t))))
  13115. - return 1;
  13116. - fprintf (f, "%lu", i);
  13117. - }
  13118. - /* Do not output a trailing newline, as this causes \r\n confusion
  13119. - on some platforms. */
  13120. - return ferror (f) || fclose (f) != 0;
  13121. -
  13122. +return *(signal (0, 0)) (0) == 1;
  13123. ;
  13124. return 0;
  13125. }
  13126. _ACEOF
  13127. -rm -f conftest$ac_exeext
  13128. -if { (ac_try="$ac_link"
  13129. -case "(($ac_try" in
  13130. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13131. - *) ac_try_echo=$ac_try;;
  13132. -esac
  13133. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13134. -$as_echo "$ac_try_echo") >&5
  13135. - (eval "$ac_link") 2>&5
  13136. - ac_status=$?
  13137. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13138. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13139. - { (case "(($ac_try" in
  13140. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13141. - *) ac_try_echo=$ac_try;;
  13142. -esac
  13143. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13144. -$as_echo "$ac_try_echo") >&5
  13145. - (eval "$ac_try") 2>&5
  13146. - ac_status=$?
  13147. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13148. - (exit $ac_status); }; }; then
  13149. - ac_cv_sizeof_size_t=`cat conftest.val`
  13150. +if ac_fn_c_try_compile "$LINENO"; then :
  13151. + ac_cv_type_signal=int
  13152. else
  13153. - $as_echo "$as_me: program exited with status $ac_status" >&5
  13154. -$as_echo "$as_me: failed program was:" >&5
  13155. -sed 's/^/| /' conftest.$ac_ext >&5
  13156. -
  13157. -( exit $ac_status )
  13158. -if test "$ac_cv_type_size_t" = yes; then
  13159. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  13160. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13161. -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
  13162. -See \`config.log' for more details." >&5
  13163. -$as_echo "$as_me: error: cannot compute sizeof (size_t)
  13164. -See \`config.log' for more details." >&2;}
  13165. - { (exit 77); exit 77; }; }; }
  13166. - else
  13167. - ac_cv_sizeof_size_t=0
  13168. - fi
  13169. + ac_cv_type_signal=void
  13170. fi
  13171. -rm -rf conftest.dSYM
  13172. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13173. -fi
  13174. -rm -f conftest.val
  13175. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13176. fi
  13177. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
  13178. -$as_echo "$ac_cv_sizeof_size_t" >&6; }
  13179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
  13180. +$as_echo "$ac_cv_type_signal" >&6; }
  13181. +cat >>confdefs.h <<_ACEOF
  13182. +#define RETSIGTYPE $ac_cv_type_signal
  13183. +_ACEOF
  13184. -cat >>confdefs.h <<_ACEOF
  13185. -#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  13186. +for ac_header in sys/select.h sys/socket.h
  13187. +do :
  13188. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13189. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  13190. +eval as_val=\$$as_ac_Header
  13191. + if test "x$as_val" = x""yes; then :
  13192. + cat >>confdefs.h <<_ACEOF
  13193. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13194. _ACEOF
  13195. +fi
  13196. +done
  13197. -{ $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
  13198. -$as_echo_n "checking for working memcmp... " >&6; }
  13199. -if test "${ac_cv_func_memcmp_working+set}" = set; then
  13200. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
  13201. +$as_echo_n "checking types of arguments for select... " >&6; }
  13202. +if test "${ac_cv_func_select_args+set}" = set; then :
  13203. $as_echo_n "(cached) " >&6
  13204. else
  13205. - if test "$cross_compiling" = yes; then
  13206. - ac_cv_func_memcmp_working=no
  13207. -else
  13208. - cat >conftest.$ac_ext <<_ACEOF
  13209. -/* confdefs.h. */
  13210. -_ACEOF
  13211. -cat confdefs.h >>conftest.$ac_ext
  13212. -cat >>conftest.$ac_ext <<_ACEOF
  13213. + for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
  13214. + for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
  13215. + for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
  13216. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13217. /* end confdefs.h. */
  13218. $ac_includes_default
  13219. +#ifdef HAVE_SYS_SELECT_H
  13220. +# include <sys/select.h>
  13221. +#endif
  13222. +#ifdef HAVE_SYS_SOCKET_H
  13223. +# include <sys/socket.h>
  13224. +#endif
  13225. +
  13226. int
  13227. main ()
  13228. {
  13229. -
  13230. - /* Some versions of memcmp are not 8-bit clean. */
  13231. - char c0 = '\100', c1 = '\200', c2 = '\201';
  13232. - if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
  13233. - return 1;
  13234. -
  13235. - /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
  13236. - or more and with at least one buffer not starting on a 4-byte boundary.
  13237. - William Lewis provided this test program. */
  13238. - {
  13239. - char foo[21];
  13240. - char bar[21];
  13241. - int i;
  13242. - for (i = 0; i < 4; i++)
  13243. - {
  13244. - char *a = foo + i;
  13245. - char *b = bar + i;
  13246. - strcpy (a, "--------01111111");
  13247. - strcpy (b, "--------10000000");
  13248. - if (memcmp (a, b, 16) >= 0)
  13249. - return 1;
  13250. - }
  13251. - return 0;
  13252. - }
  13253. -
  13254. +extern int select ($ac_arg1,
  13255. + $ac_arg234, $ac_arg234, $ac_arg234,
  13256. + $ac_arg5);
  13257. ;
  13258. return 0;
  13259. }
  13260. _ACEOF
  13261. -rm -f conftest$ac_exeext
  13262. -if { (ac_try="$ac_link"
  13263. -case "(($ac_try" in
  13264. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13265. - *) ac_try_echo=$ac_try;;
  13266. -esac
  13267. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13268. -$as_echo "$ac_try_echo") >&5
  13269. - (eval "$ac_link") 2>&5
  13270. - ac_status=$?
  13271. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13272. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13273. - { (case "(($ac_try" in
  13274. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13275. - *) ac_try_echo=$ac_try;;
  13276. -esac
  13277. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13278. -$as_echo "$ac_try_echo") >&5
  13279. - (eval "$ac_try") 2>&5
  13280. - ac_status=$?
  13281. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13282. - (exit $ac_status); }; }; then
  13283. - ac_cv_func_memcmp_working=yes
  13284. -else
  13285. - $as_echo "$as_me: program exited with status $ac_status" >&5
  13286. -$as_echo "$as_me: failed program was:" >&5
  13287. -sed 's/^/| /' conftest.$ac_ext >&5
  13288. -
  13289. -( exit $ac_status )
  13290. -ac_cv_func_memcmp_working=no
  13291. -fi
  13292. -rm -rf conftest.dSYM
  13293. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13294. +if ac_fn_c_try_compile "$LINENO"; then :
  13295. + ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
  13296. fi
  13297. -
  13298. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13299. + done
  13300. + done
  13301. +done
  13302. +# Provide a safe default value.
  13303. +: ${ac_cv_func_select_args='int,int *,struct timeval *'}
  13304. fi
  13305. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
  13306. -$as_echo "$ac_cv_func_memcmp_working" >&6; }
  13307. -test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
  13308. - *" memcmp.$ac_objext "* ) ;;
  13309. - *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
  13310. - ;;
  13311. -esac
  13312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
  13313. +$as_echo "$ac_cv_func_select_args" >&6; }
  13314. +ac_save_IFS=$IFS; IFS=','
  13315. +set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
  13316. +IFS=$ac_save_IFS
  13317. +shift
  13318. +cat >>confdefs.h <<_ACEOF
  13319. +#define SELECT_TYPE_ARG1 $1
  13320. +_ACEOF
  13321. +cat >>confdefs.h <<_ACEOF
  13322. +#define SELECT_TYPE_ARG234 ($2)
  13323. +_ACEOF
  13324. -for ac_header in stdlib.h unistd.h
  13325. -do
  13326. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13327. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13328. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13329. -$as_echo_n "checking for $ac_header... " >&6; }
  13330. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13331. - $as_echo_n "(cached) " >&6
  13332. -fi
  13333. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  13334. - $as_echo "$as_val"'`
  13335. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13336. -$as_echo "$ac_res" >&6; }
  13337. -else
  13338. - # Is the header compilable?
  13339. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13340. -$as_echo_n "checking $ac_header usability... " >&6; }
  13341. -cat >conftest.$ac_ext <<_ACEOF
  13342. -/* confdefs.h. */
  13343. +
  13344. +cat >>confdefs.h <<_ACEOF
  13345. +#define SELECT_TYPE_ARG5 ($3)
  13346. _ACEOF
  13347. -cat confdefs.h >>conftest.$ac_ext
  13348. -cat >>conftest.$ac_ext <<_ACEOF
  13349. -/* end confdefs.h. */
  13350. -$ac_includes_default
  13351. -#include <$ac_header>
  13352. +
  13353. +rm -f conftest*
  13354. +
  13355. +ac_fn_c_check_type "$LINENO" "uint" "ac_cv_type_uint" "$ac_includes_default"
  13356. +if test "x$ac_cv_type_uint" = x""yes; then :
  13357. +
  13358. +cat >>confdefs.h <<_ACEOF
  13359. +#define HAVE_UINT 1
  13360. _ACEOF
  13361. -rm -f conftest.$ac_objext
  13362. -if { (ac_try="$ac_compile"
  13363. -case "(($ac_try" in
  13364. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13365. - *) ac_try_echo=$ac_try;;
  13366. -esac
  13367. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13368. -$as_echo "$ac_try_echo") >&5
  13369. - (eval "$ac_compile") 2>conftest.er1
  13370. - ac_status=$?
  13371. - grep -v '^ *+' conftest.er1 >conftest.err
  13372. - rm -f conftest.er1
  13373. - cat conftest.err >&5
  13374. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13375. - (exit $ac_status); } && {
  13376. - test -z "$ac_c_werror_flag" ||
  13377. - test ! -s conftest.err
  13378. - } && test -s conftest.$ac_objext; then
  13379. - ac_header_compiler=yes
  13380. -else
  13381. - $as_echo "$as_me: failed program was:" >&5
  13382. -sed 's/^/| /' conftest.$ac_ext >&5
  13383. - ac_header_compiler=no
  13384. -fi
  13385. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13386. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13387. -$as_echo "$ac_header_compiler" >&6; }
  13388. +fi
  13389. +ac_fn_c_check_type "$LINENO" "ulong" "ac_cv_type_ulong" "$ac_includes_default"
  13390. +if test "x$ac_cv_type_ulong" = x""yes; then :
  13391. -# Is the header present?
  13392. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13393. -$as_echo_n "checking $ac_header presence... " >&6; }
  13394. -cat >conftest.$ac_ext <<_ACEOF
  13395. -/* confdefs.h. */
  13396. +cat >>confdefs.h <<_ACEOF
  13397. +#define HAVE_ULONG 1
  13398. _ACEOF
  13399. -cat confdefs.h >>conftest.$ac_ext
  13400. -cat >>conftest.$ac_ext <<_ACEOF
  13401. -/* end confdefs.h. */
  13402. -#include <$ac_header>
  13403. +
  13404. +
  13405. +fi
  13406. +ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
  13407. +if test "x$ac_cv_type_uint32_t" = x""yes; then :
  13408. +
  13409. +cat >>confdefs.h <<_ACEOF
  13410. +#define HAVE_UINT32_T 1
  13411. _ACEOF
  13412. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  13413. -case "(($ac_try" in
  13414. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13415. - *) ac_try_echo=$ac_try;;
  13416. -esac
  13417. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13418. -$as_echo "$ac_try_echo") >&5
  13419. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13420. - ac_status=$?
  13421. - grep -v '^ *+' conftest.er1 >conftest.err
  13422. - rm -f conftest.er1
  13423. - cat conftest.err >&5
  13424. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13425. - (exit $ac_status); } >/dev/null && {
  13426. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13427. - test ! -s conftest.err
  13428. - }; then
  13429. - ac_header_preproc=yes
  13430. -else
  13431. - $as_echo "$as_me: failed program was:" >&5
  13432. -sed 's/^/| /' conftest.$ac_ext >&5
  13433. - ac_header_preproc=no
  13434. +
  13435. fi
  13436. +ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
  13437. +if test "x$ac_cv_type_u_int32_t" = x""yes; then :
  13438. -rm -f conftest.err conftest.$ac_ext
  13439. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13440. -$as_echo "$ac_header_preproc" >&6; }
  13441. +cat >>confdefs.h <<_ACEOF
  13442. +#define HAVE_U_INT32_T 1
  13443. +_ACEOF
  13444. -# So? What about this header?
  13445. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13446. - yes:no: )
  13447. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13448. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13449. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13450. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13451. - ac_header_preproc=yes
  13452. - ;;
  13453. - no:yes:* )
  13454. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13455. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13456. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13457. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13458. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13459. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13460. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13461. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13462. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13463. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13464. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13465. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13466. - ;;
  13467. -esac
  13468. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13469. -$as_echo_n "checking for $ac_header... " >&6; }
  13470. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13471. - $as_echo_n "(cached) " >&6
  13472. -else
  13473. - eval "$as_ac_Header=\$ac_header_preproc"
  13474. fi
  13475. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  13476. - $as_echo "$as_val"'`
  13477. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13478. -$as_echo "$ac_res" >&6; }
  13479. +ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
  13480. +if test "x$ac_cv_type_int32_t" = x""yes; then :
  13481. -fi
  13482. -as_val=`eval 'as_val=${'$as_ac_Header'}
  13483. - $as_echo "$as_val"'`
  13484. - if test "x$as_val" = x""yes; then
  13485. - cat >>confdefs.h <<_ACEOF
  13486. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13487. +cat >>confdefs.h <<_ACEOF
  13488. +#define HAVE_INT32_T 1
  13489. _ACEOF
  13490. +
  13491. fi
  13492. +ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
  13493. +if test "x$ac_cv_type_int16_t" = x""yes; then :
  13494. -done
  13495. +cat >>confdefs.h <<_ACEOF
  13496. +#define HAVE_INT16_T 1
  13497. +_ACEOF
  13498. -for ac_func in getpagesize
  13499. -do
  13500. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13501. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  13502. -$as_echo_n "checking for $ac_func... " >&6; }
  13503. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  13504. - $as_echo_n "(cached) " >&6
  13505. -else
  13506. - cat >conftest.$ac_ext <<_ACEOF
  13507. -/* confdefs.h. */
  13508. +fi
  13509. +ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
  13510. +if test "x$ac_cv_type_u_int16_t" = x""yes; then :
  13511. +
  13512. +cat >>confdefs.h <<_ACEOF
  13513. +#define HAVE_U_INT16_T 1
  13514. _ACEOF
  13515. -cat confdefs.h >>conftest.$ac_ext
  13516. -cat >>conftest.$ac_ext <<_ACEOF
  13517. -/* end confdefs.h. */
  13518. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  13519. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  13520. -#define $ac_func innocuous_$ac_func
  13521. -/* System header to define __stub macros and hopefully few prototypes,
  13522. - which can conflict with char $ac_func (); below.
  13523. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  13524. - <limits.h> exists even on freestanding compilers. */
  13525. -#ifdef __STDC__
  13526. -# include <limits.h>
  13527. -#else
  13528. -# include <assert.h>
  13529. -#endif
  13530. +fi
  13531. +ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
  13532. +if test "x$ac_cv_type_uint16_t" = x""yes; then :
  13533. -#undef $ac_func
  13534. +cat >>confdefs.h <<_ACEOF
  13535. +#define HAVE_UINT16_T 1
  13536. +_ACEOF
  13537. -/* Override any GCC internal prototype to avoid an error.
  13538. - Use char because int might match the return type of a GCC
  13539. - builtin and then its argument prototype would still apply. */
  13540. -#ifdef __cplusplus
  13541. -extern "C"
  13542. -#endif
  13543. -char $ac_func ();
  13544. -/* The GNU C library defines this for functions which it implements
  13545. - to always fail with ENOSYS. Some functions are actually named
  13546. - something starting with __ and the normal name is an alias. */
  13547. -#if defined __stub_$ac_func || defined __stub___$ac_func
  13548. -choke me
  13549. -#endif
  13550. -int
  13551. -main ()
  13552. -{
  13553. -return $ac_func ();
  13554. - ;
  13555. - return 0;
  13556. -}
  13557. +fi
  13558. +ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
  13559. +if test "x$ac_cv_type_u_int8_t" = x""yes; then :
  13560. +
  13561. +cat >>confdefs.h <<_ACEOF
  13562. +#define HAVE_U_INT8_T 1
  13563. _ACEOF
  13564. -rm -f conftest.$ac_objext conftest$ac_exeext
  13565. -if { (ac_try="$ac_link"
  13566. -case "(($ac_try" in
  13567. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13568. - *) ac_try_echo=$ac_try;;
  13569. -esac
  13570. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13571. -$as_echo "$ac_try_echo") >&5
  13572. - (eval "$ac_link") 2>conftest.er1
  13573. - ac_status=$?
  13574. - grep -v '^ *+' conftest.er1 >conftest.err
  13575. - rm -f conftest.er1
  13576. - cat conftest.err >&5
  13577. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13578. - (exit $ac_status); } && {
  13579. - test -z "$ac_c_werror_flag" ||
  13580. - test ! -s conftest.err
  13581. - } && test -s conftest$ac_exeext && {
  13582. - test "$cross_compiling" = yes ||
  13583. - $as_test_x conftest$ac_exeext
  13584. - }; then
  13585. - eval "$as_ac_var=yes"
  13586. -else
  13587. - $as_echo "$as_me: failed program was:" >&5
  13588. -sed 's/^/| /' conftest.$ac_ext >&5
  13589. - eval "$as_ac_var=no"
  13590. -fi
  13591. -rm -rf conftest.dSYM
  13592. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13593. - conftest$ac_exeext conftest.$ac_ext
  13594. fi
  13595. -ac_res=`eval 'as_val=${'$as_ac_var'}
  13596. - $as_echo "$as_val"'`
  13597. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13598. -$as_echo "$ac_res" >&6; }
  13599. -as_val=`eval 'as_val=${'$as_ac_var'}
  13600. - $as_echo "$as_val"'`
  13601. - if test "x$as_val" = x""yes; then
  13602. - cat >>confdefs.h <<_ACEOF
  13603. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13604. +ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
  13605. +if test "x$ac_cv_type_ssize_t" = x""yes; then :
  13606. +
  13607. +cat >>confdefs.h <<_ACEOF
  13608. +#define HAVE_SSIZE_T 1
  13609. _ACEOF
  13610. +
  13611. fi
  13612. -done
  13613. -{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
  13614. -$as_echo_n "checking for working mmap... " >&6; }
  13615. -if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
  13616. - $as_echo_n "(cached) " >&6
  13617. -else
  13618. - if test "$cross_compiling" = yes; then
  13619. - ac_cv_func_mmap_fixed_mapped=no
  13620. +ac_fn_c_check_type "$LINENO" "u_long" "ac_cv_type_u_long" "$ac_includes_default"
  13621. +if test "x$ac_cv_type_u_long" = x""yes; then :
  13622. +
  13623. else
  13624. - cat >conftest.$ac_ext <<_ACEOF
  13625. -/* confdefs.h. */
  13626. +
  13627. +cat >>confdefs.h <<_ACEOF
  13628. +#define u_long unsigned long
  13629. _ACEOF
  13630. -cat confdefs.h >>conftest.$ac_ext
  13631. -cat >>conftest.$ac_ext <<_ACEOF
  13632. -/* end confdefs.h. */
  13633. -$ac_includes_default
  13634. -/* malloc might have been renamed as rpl_malloc. */
  13635. -#undef malloc
  13636. -/* Thanks to Mike Haertel and Jim Avera for this test.
  13637. - Here is a matrix of mmap possibilities:
  13638. - mmap private not fixed
  13639. - mmap private fixed at somewhere currently unmapped
  13640. - mmap private fixed at somewhere already mapped
  13641. - mmap shared not fixed
  13642. - mmap shared fixed at somewhere currently unmapped
  13643. - mmap shared fixed at somewhere already mapped
  13644. - For private mappings, we should verify that changes cannot be read()
  13645. - back from the file, nor mmap's back from the file at a different
  13646. - address. (There have been systems where private was not correctly
  13647. - implemented like the infamous i386 svr4.0, and systems where the
  13648. - VM page cache was not coherent with the file system buffer cache
  13649. - like early versions of FreeBSD and possibly contemporary NetBSD.)
  13650. - For shared mappings, we should conversely verify that changes get
  13651. - propagated back to all the places they're supposed to be.
  13652. +fi
  13653. - Grep wants private fixed already mapped.
  13654. - The main things grep needs to know about mmap are:
  13655. - * does it exist and is it safe to write into the mmap'd area
  13656. - * how to use it (BSD variants) */
  13657. +ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "
  13658. +#include <signal.h>
  13659. -#include <fcntl.h>
  13660. -#include <sys/mman.h>
  13661. +"
  13662. +if test "x$ac_cv_type_sig_atomic_t" = x""yes; then :
  13663. -#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
  13664. -char *malloc ();
  13665. +cat >>confdefs.h <<_ACEOF
  13666. +#define HAVE_SIG_ATOMIC_T 1
  13667. +_ACEOF
  13668. +
  13669. +
  13670. +fi
  13671. +
  13672. +ac_fn_c_check_type "$LINENO" "rlim_t" "ac_cv_type_rlim_t" "
  13673. +#ifdef HAVE_SYS_TYPES_H
  13674. +#include <sys/types.h>
  13675. +#endif
  13676. +#ifdef HAVE_SYS_TIME_H
  13677. +#include <sys/time.h>
  13678. #endif
  13679. +#include <sys/resource.h>
  13680. -/* This mess was copied from the GNU getpagesize.h. */
  13681. -#ifndef HAVE_GETPAGESIZE
  13682. -/* Assume that all systems that can run configure have sys/param.h. */
  13683. -# ifndef HAVE_SYS_PARAM_H
  13684. -# define HAVE_SYS_PARAM_H 1
  13685. -# endif
  13686. +"
  13687. +if test "x$ac_cv_type_rlim_t" = x""yes; then :
  13688. -# ifdef _SC_PAGESIZE
  13689. -# define getpagesize() sysconf(_SC_PAGESIZE)
  13690. -# else /* no _SC_PAGESIZE */
  13691. -# ifdef HAVE_SYS_PARAM_H
  13692. -# include <sys/param.h>
  13693. -# ifdef EXEC_PAGESIZE
  13694. -# define getpagesize() EXEC_PAGESIZE
  13695. -# else /* no EXEC_PAGESIZE */
  13696. -# ifdef NBPG
  13697. -# define getpagesize() NBPG * CLSIZE
  13698. -# ifndef CLSIZE
  13699. -# define CLSIZE 1
  13700. -# endif /* no CLSIZE */
  13701. -# else /* no NBPG */
  13702. -# ifdef NBPC
  13703. -# define getpagesize() NBPC
  13704. -# else /* no NBPC */
  13705. -# ifdef PAGESIZE
  13706. -# define getpagesize() PAGESIZE
  13707. -# endif /* PAGESIZE */
  13708. -# endif /* no NBPC */
  13709. -# endif /* no NBPG */
  13710. -# endif /* no EXEC_PAGESIZE */
  13711. -# else /* no HAVE_SYS_PARAM_H */
  13712. -# define getpagesize() 8192 /* punt totally */
  13713. -# endif /* no HAVE_SYS_PARAM_H */
  13714. -# endif /* no _SC_PAGESIZE */
  13715. +cat >>confdefs.h <<_ACEOF
  13716. +#define HAVE_RLIM_T 1
  13717. +_ACEOF
  13718. -#endif /* no HAVE_GETPAGESIZE */
  13719. -int
  13720. -main ()
  13721. -{
  13722. - char *data, *data2, *data3;
  13723. - int i, pagesize;
  13724. - int fd;
  13725. +fi
  13726. +
  13727. +cat >confcache <<\_ACEOF
  13728. +# This file is a shell script that caches the results of configure
  13729. +# tests run on this system so they can be shared between configure
  13730. +# scripts and configure runs, see configure's option --config-cache.
  13731. +# It is not useful on other systems. If it contains results you don't
  13732. +# want to keep, you may remove or edit it.
  13733. +#
  13734. +# config.status only pays attention to the cache file if you give it
  13735. +# the --recheck option to rerun configure.
  13736. +#
  13737. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  13738. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  13739. +# following values.
  13740. +
  13741. +_ACEOF
  13742. +
  13743. +# The following way of writing the cache mishandles newlines in values,
  13744. +# but we know of no workaround that is simple, portable, and efficient.
  13745. +# So, we kill variables containing newlines.
  13746. +# Ultrix sh set writes to stderr and can't be redirected directly,
  13747. +# and sets the high bit in the cache file unless we assign to the vars.
  13748. +(
  13749. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  13750. + eval ac_val=\$$ac_var
  13751. + case $ac_val in #(
  13752. + *${as_nl}*)
  13753. + case $ac_var in #(
  13754. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  13755. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  13756. + esac
  13757. + case $ac_var in #(
  13758. + _ | IFS | as_nl) ;; #(
  13759. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  13760. + *) { eval $ac_var=; unset $ac_var;} ;;
  13761. + esac ;;
  13762. + esac
  13763. + done
  13764. +
  13765. + (set) 2>&1 |
  13766. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  13767. + *${as_nl}ac_space=\ *)
  13768. + # `set' does not quote correctly, so add quotes: double-quote
  13769. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  13770. + sed -n \
  13771. + "s/'/'\\\\''/g;
  13772. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  13773. + ;; #(
  13774. + *)
  13775. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  13776. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  13777. + ;;
  13778. + esac |
  13779. + sort
  13780. +) |
  13781. + sed '
  13782. + /^ac_cv_env_/b end
  13783. + t clear
  13784. + :clear
  13785. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  13786. + t end
  13787. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  13788. + :end' >>confcache
  13789. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  13790. + if test -w "$cache_file"; then
  13791. + test "x$cache_file" != "x/dev/null" &&
  13792. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  13793. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  13794. + cat confcache >$cache_file
  13795. + else
  13796. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  13797. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  13798. + fi
  13799. +fi
  13800. +rm -f confcache
  13801. +# The cast to long int works around a bug in the HP C Compiler
  13802. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  13803. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  13804. +# This bug is HP SR number 8606223364.
  13805. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  13806. +$as_echo_n "checking size of short... " >&6; }
  13807. +if test "${ac_cv_sizeof_short+set}" = set; then :
  13808. + $as_echo_n "(cached) " >&6
  13809. +else
  13810. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  13811. +
  13812. +else
  13813. + if test "$ac_cv_type_short" = yes; then
  13814. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13815. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13816. +{ as_fn_set_status 77
  13817. +as_fn_error "cannot compute sizeof (short)
  13818. +See \`config.log' for more details." "$LINENO" 5; }; }
  13819. + else
  13820. + ac_cv_sizeof_short=0
  13821. + fi
  13822. +fi
  13823. - pagesize = getpagesize ();
  13824. +fi
  13825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  13826. +$as_echo "$ac_cv_sizeof_short" >&6; }
  13827. - /* First, make a file with some known garbage in it. */
  13828. - data = (char *) malloc (pagesize);
  13829. - if (!data)
  13830. - return 1;
  13831. - for (i = 0; i < pagesize; ++i)
  13832. - *(data + i) = rand ();
  13833. - umask (0);
  13834. - fd = creat ("conftest.mmap", 0600);
  13835. - if (fd < 0)
  13836. - return 1;
  13837. - if (write (fd, data, pagesize) != pagesize)
  13838. - return 1;
  13839. - close (fd);
  13840. - /* Next, try to mmap the file at a fixed address which already has
  13841. - something else allocated at it. If we can, also make sure that
  13842. - we see the same garbage. */
  13843. - fd = open ("conftest.mmap", O_RDWR);
  13844. - if (fd < 0)
  13845. - return 1;
  13846. - data2 = (char *) malloc (2 * pagesize);
  13847. - if (!data2)
  13848. - return 1;
  13849. - data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
  13850. - if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
  13851. - MAP_PRIVATE | MAP_FIXED, fd, 0L))
  13852. - return 1;
  13853. - for (i = 0; i < pagesize; ++i)
  13854. - if (*(data + i) != *(data2 + i))
  13855. - return 1;
  13856. - /* Finally, make sure that changes to the mapped area do not
  13857. - percolate back to the file as seen by read(). (This is a bug on
  13858. - some variants of i386 svr4.0.) */
  13859. - for (i = 0; i < pagesize; ++i)
  13860. - *(data2 + i) = *(data2 + i) + 1;
  13861. - data3 = (char *) malloc (pagesize);
  13862. - if (!data3)
  13863. - return 1;
  13864. - if (read (fd, data3, pagesize) != pagesize)
  13865. - return 1;
  13866. - for (i = 0; i < pagesize; ++i)
  13867. - if (*(data + i) != *(data3 + i))
  13868. - return 1;
  13869. - close (fd);
  13870. - return 0;
  13871. -}
  13872. +cat >>confdefs.h <<_ACEOF
  13873. +#define SIZEOF_SHORT $ac_cv_sizeof_short
  13874. _ACEOF
  13875. -rm -f conftest$ac_exeext
  13876. -if { (ac_try="$ac_link"
  13877. -case "(($ac_try" in
  13878. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13879. - *) ac_try_echo=$ac_try;;
  13880. -esac
  13881. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13882. -$as_echo "$ac_try_echo") >&5
  13883. - (eval "$ac_link") 2>&5
  13884. - ac_status=$?
  13885. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13886. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  13887. - { (case "(($ac_try" in
  13888. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13889. - *) ac_try_echo=$ac_try;;
  13890. -esac
  13891. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13892. -$as_echo "$ac_try_echo") >&5
  13893. - (eval "$ac_try") 2>&5
  13894. - ac_status=$?
  13895. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13896. - (exit $ac_status); }; }; then
  13897. - ac_cv_func_mmap_fixed_mapped=yes
  13898. +
  13899. +
  13900. +# The cast to long int works around a bug in the HP C Compiler
  13901. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  13902. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  13903. +# This bug is HP SR number 8606223364.
  13904. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  13905. +$as_echo_n "checking size of int... " >&6; }
  13906. +if test "${ac_cv_sizeof_int+set}" = set; then :
  13907. + $as_echo_n "(cached) " >&6
  13908. else
  13909. - $as_echo "$as_me: program exited with status $ac_status" >&5
  13910. -$as_echo "$as_me: failed program was:" >&5
  13911. -sed 's/^/| /' conftest.$ac_ext >&5
  13912. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  13913. -( exit $ac_status )
  13914. -ac_cv_func_mmap_fixed_mapped=no
  13915. +else
  13916. + if test "$ac_cv_type_int" = yes; then
  13917. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13918. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13919. +{ as_fn_set_status 77
  13920. +as_fn_error "cannot compute sizeof (int)
  13921. +See \`config.log' for more details." "$LINENO" 5; }; }
  13922. + else
  13923. + ac_cv_sizeof_int=0
  13924. + fi
  13925. fi
  13926. -rm -rf conftest.dSYM
  13927. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  13928. +
  13929. fi
  13930. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  13931. +$as_echo "$ac_cv_sizeof_int" >&6; }
  13932. -fi
  13933. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
  13934. -$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
  13935. -if test $ac_cv_func_mmap_fixed_mapped = yes; then
  13936. -cat >>confdefs.h <<\_ACEOF
  13937. -#define HAVE_MMAP 1
  13938. +cat >>confdefs.h <<_ACEOF
  13939. +#define SIZEOF_INT $ac_cv_sizeof_int
  13940. _ACEOF
  13941. -fi
  13942. -rm -f conftest.mmap
  13943. -
  13944. -for ac_func in vprintf
  13945. -do
  13946. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13947. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  13948. -$as_echo_n "checking for $ac_func... " >&6; }
  13949. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  13950. +# The cast to long int works around a bug in the HP C Compiler
  13951. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  13952. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  13953. +# This bug is HP SR number 8606223364.
  13954. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  13955. +$as_echo_n "checking size of long... " >&6; }
  13956. +if test "${ac_cv_sizeof_long+set}" = set; then :
  13957. $as_echo_n "(cached) " >&6
  13958. else
  13959. - cat >conftest.$ac_ext <<_ACEOF
  13960. -/* confdefs.h. */
  13961. -_ACEOF
  13962. -cat confdefs.h >>conftest.$ac_ext
  13963. -cat >>conftest.$ac_ext <<_ACEOF
  13964. -/* end confdefs.h. */
  13965. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  13966. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  13967. -#define $ac_func innocuous_$ac_func
  13968. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  13969. -/* System header to define __stub macros and hopefully few prototypes,
  13970. - which can conflict with char $ac_func (); below.
  13971. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  13972. - <limits.h> exists even on freestanding compilers. */
  13973. +else
  13974. + if test "$ac_cv_type_long" = yes; then
  13975. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13976. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13977. +{ as_fn_set_status 77
  13978. +as_fn_error "cannot compute sizeof (long)
  13979. +See \`config.log' for more details." "$LINENO" 5; }; }
  13980. + else
  13981. + ac_cv_sizeof_long=0
  13982. + fi
  13983. +fi
  13984. -#ifdef __STDC__
  13985. -# include <limits.h>
  13986. -#else
  13987. -# include <assert.h>
  13988. -#endif
  13989. +fi
  13990. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  13991. +$as_echo "$ac_cv_sizeof_long" >&6; }
  13992. -#undef $ac_func
  13993. -/* Override any GCC internal prototype to avoid an error.
  13994. - Use char because int might match the return type of a GCC
  13995. - builtin and then its argument prototype would still apply. */
  13996. -#ifdef __cplusplus
  13997. -extern "C"
  13998. -#endif
  13999. -char $ac_func ();
  14000. -/* The GNU C library defines this for functions which it implements
  14001. - to always fail with ENOSYS. Some functions are actually named
  14002. - something starting with __ and the normal name is an alias. */
  14003. -#if defined __stub_$ac_func || defined __stub___$ac_func
  14004. -choke me
  14005. -#endif
  14006. -int
  14007. -main ()
  14008. -{
  14009. -return $ac_func ();
  14010. - ;
  14011. - return 0;
  14012. -}
  14013. +cat >>confdefs.h <<_ACEOF
  14014. +#define SIZEOF_LONG $ac_cv_sizeof_long
  14015. _ACEOF
  14016. -rm -f conftest.$ac_objext conftest$ac_exeext
  14017. -if { (ac_try="$ac_link"
  14018. -case "(($ac_try" in
  14019. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14020. - *) ac_try_echo=$ac_try;;
  14021. -esac
  14022. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14023. -$as_echo "$ac_try_echo") >&5
  14024. - (eval "$ac_link") 2>conftest.er1
  14025. - ac_status=$?
  14026. - grep -v '^ *+' conftest.er1 >conftest.err
  14027. - rm -f conftest.er1
  14028. - cat conftest.err >&5
  14029. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14030. - (exit $ac_status); } && {
  14031. - test -z "$ac_c_werror_flag" ||
  14032. - test ! -s conftest.err
  14033. - } && test -s conftest$ac_exeext && {
  14034. - test "$cross_compiling" = yes ||
  14035. - $as_test_x conftest$ac_exeext
  14036. - }; then
  14037. - eval "$as_ac_var=yes"
  14038. +
  14039. +
  14040. +# The cast to long int works around a bug in the HP C Compiler
  14041. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14042. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14043. +# This bug is HP SR number 8606223364.
  14044. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
  14045. +$as_echo_n "checking size of size_t... " >&6; }
  14046. +if test "${ac_cv_sizeof_size_t+set}" = set; then :
  14047. + $as_echo_n "(cached) " >&6
  14048. else
  14049. - $as_echo "$as_me: failed program was:" >&5
  14050. -sed 's/^/| /' conftest.$ac_ext >&5
  14051. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
  14052. - eval "$as_ac_var=no"
  14053. +else
  14054. + if test "$ac_cv_type_size_t" = yes; then
  14055. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14056. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14057. +{ as_fn_set_status 77
  14058. +as_fn_error "cannot compute sizeof (size_t)
  14059. +See \`config.log' for more details." "$LINENO" 5; }; }
  14060. + else
  14061. + ac_cv_sizeof_size_t=0
  14062. + fi
  14063. fi
  14064. -rm -rf conftest.dSYM
  14065. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14066. - conftest$ac_exeext conftest.$ac_ext
  14067. fi
  14068. -ac_res=`eval 'as_val=${'$as_ac_var'}
  14069. - $as_echo "$as_val"'`
  14070. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14071. -$as_echo "$ac_res" >&6; }
  14072. -as_val=`eval 'as_val=${'$as_ac_var'}
  14073. - $as_echo "$as_val"'`
  14074. - if test "x$as_val" = x""yes; then
  14075. - cat >>confdefs.h <<_ACEOF
  14076. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14077. -_ACEOF
  14078. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
  14079. +$as_echo "$ac_cv_sizeof_size_t" >&6; }
  14080. -{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
  14081. -$as_echo_n "checking for _doprnt... " >&6; }
  14082. -if test "${ac_cv_func__doprnt+set}" = set; then
  14083. - $as_echo_n "(cached) " >&6
  14084. -else
  14085. - cat >conftest.$ac_ext <<_ACEOF
  14086. -/* confdefs.h. */
  14087. -_ACEOF
  14088. -cat confdefs.h >>conftest.$ac_ext
  14089. -cat >>conftest.$ac_ext <<_ACEOF
  14090. -/* end confdefs.h. */
  14091. -/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
  14092. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14093. -#define _doprnt innocuous__doprnt
  14094. -/* System header to define __stub macros and hopefully few prototypes,
  14095. - which can conflict with char _doprnt (); below.
  14096. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14097. - <limits.h> exists even on freestanding compilers. */
  14098. -#ifdef __STDC__
  14099. -# include <limits.h>
  14100. -#else
  14101. -# include <assert.h>
  14102. -#endif
  14103. +cat >>confdefs.h <<_ACEOF
  14104. +#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  14105. +_ACEOF
  14106. -#undef _doprnt
  14107. -/* Override any GCC internal prototype to avoid an error.
  14108. - Use char because int might match the return type of a GCC
  14109. - builtin and then its argument prototype would still apply. */
  14110. -#ifdef __cplusplus
  14111. -extern "C"
  14112. -#endif
  14113. -char _doprnt ();
  14114. -/* The GNU C library defines this for functions which it implements
  14115. - to always fail with ENOSYS. Some functions are actually named
  14116. - something starting with __ and the normal name is an alias. */
  14117. -#if defined __stub__doprnt || defined __stub____doprnt
  14118. -choke me
  14119. -#endif
  14120. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
  14121. +$as_echo_n "checking for working memcmp... " >&6; }
  14122. +if test "${ac_cv_func_memcmp_working+set}" = set; then :
  14123. + $as_echo_n "(cached) " >&6
  14124. +else
  14125. + if test "$cross_compiling" = yes; then :
  14126. + ac_cv_func_memcmp_working=no
  14127. +else
  14128. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14129. +/* end confdefs.h. */
  14130. +$ac_includes_default
  14131. int
  14132. main ()
  14133. {
  14134. -return _doprnt ();
  14135. +
  14136. + /* Some versions of memcmp are not 8-bit clean. */
  14137. + char c0 = '\100', c1 = '\200', c2 = '\201';
  14138. + if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
  14139. + return 1;
  14140. +
  14141. + /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
  14142. + or more and with at least one buffer not starting on a 4-byte boundary.
  14143. + William Lewis provided this test program. */
  14144. + {
  14145. + char foo[21];
  14146. + char bar[21];
  14147. + int i;
  14148. + for (i = 0; i < 4; i++)
  14149. + {
  14150. + char *a = foo + i;
  14151. + char *b = bar + i;
  14152. + strcpy (a, "--------01111111");
  14153. + strcpy (b, "--------10000000");
  14154. + if (memcmp (a, b, 16) >= 0)
  14155. + return 1;
  14156. + }
  14157. + return 0;
  14158. + }
  14159. +
  14160. ;
  14161. return 0;
  14162. }
  14163. _ACEOF
  14164. -rm -f conftest.$ac_objext conftest$ac_exeext
  14165. -if { (ac_try="$ac_link"
  14166. -case "(($ac_try" in
  14167. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14168. - *) ac_try_echo=$ac_try;;
  14169. -esac
  14170. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14171. -$as_echo "$ac_try_echo") >&5
  14172. - (eval "$ac_link") 2>conftest.er1
  14173. - ac_status=$?
  14174. - grep -v '^ *+' conftest.er1 >conftest.err
  14175. - rm -f conftest.er1
  14176. - cat conftest.err >&5
  14177. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14178. - (exit $ac_status); } && {
  14179. - test -z "$ac_c_werror_flag" ||
  14180. - test ! -s conftest.err
  14181. - } && test -s conftest$ac_exeext && {
  14182. - test "$cross_compiling" = yes ||
  14183. - $as_test_x conftest$ac_exeext
  14184. - }; then
  14185. - ac_cv_func__doprnt=yes
  14186. +if ac_fn_c_try_run "$LINENO"; then :
  14187. + ac_cv_func_memcmp_working=yes
  14188. else
  14189. - $as_echo "$as_me: failed program was:" >&5
  14190. -sed 's/^/| /' conftest.$ac_ext >&5
  14191. -
  14192. - ac_cv_func__doprnt=no
  14193. + ac_cv_func_memcmp_working=no
  14194. +fi
  14195. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  14196. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  14197. fi
  14198. -rm -rf conftest.dSYM
  14199. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14200. - conftest$ac_exeext conftest.$ac_ext
  14201. fi
  14202. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
  14203. -$as_echo "$ac_cv_func__doprnt" >&6; }
  14204. -if test "x$ac_cv_func__doprnt" = x""yes; then
  14205. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
  14206. +$as_echo "$ac_cv_func_memcmp_working" >&6; }
  14207. +test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
  14208. + *" memcmp.$ac_objext "* ) ;;
  14209. + *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
  14210. + ;;
  14211. +esac
  14212. +
  14213. +
  14214. +
  14215. -cat >>confdefs.h <<\_ACEOF
  14216. -#define HAVE_DOPRNT 1
  14217. +
  14218. + for ac_header in $ac_header_list
  14219. +do :
  14220. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14221. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  14222. +"
  14223. +eval as_val=\$$as_ac_Header
  14224. + if test "x$as_val" = x""yes; then :
  14225. + cat >>confdefs.h <<_ACEOF
  14226. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14227. _ACEOF
  14228. fi
  14229. -fi
  14230. done
  14231. @@ -12082,205 +7315,222 @@
  14232. +for ac_func in getpagesize
  14233. +do :
  14234. + ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
  14235. +if test "x$ac_cv_func_getpagesize" = x""yes; then :
  14236. + cat >>confdefs.h <<_ACEOF
  14237. +#define HAVE_GETPAGESIZE 1
  14238. +_ACEOF
  14239. +fi
  14240. +done
  14241. -for ac_func in strchr strrchr memcpy memmove snprintf vsnprintf getopt_long
  14242. -do
  14243. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14244. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  14245. -$as_echo_n "checking for $ac_func... " >&6; }
  14246. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  14247. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
  14248. +$as_echo_n "checking for working mmap... " >&6; }
  14249. +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
  14250. $as_echo_n "(cached) " >&6
  14251. else
  14252. - cat >conftest.$ac_ext <<_ACEOF
  14253. -/* confdefs.h. */
  14254. -_ACEOF
  14255. -cat confdefs.h >>conftest.$ac_ext
  14256. -cat >>conftest.$ac_ext <<_ACEOF
  14257. + if test "$cross_compiling" = yes; then :
  14258. + ac_cv_func_mmap_fixed_mapped=no
  14259. +else
  14260. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14261. /* end confdefs.h. */
  14262. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  14263. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14264. -#define $ac_func innocuous_$ac_func
  14265. +$ac_includes_default
  14266. +/* malloc might have been renamed as rpl_malloc. */
  14267. +#undef malloc
  14268. -/* System header to define __stub macros and hopefully few prototypes,
  14269. - which can conflict with char $ac_func (); below.
  14270. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14271. - <limits.h> exists even on freestanding compilers. */
  14272. +/* Thanks to Mike Haertel and Jim Avera for this test.
  14273. + Here is a matrix of mmap possibilities:
  14274. + mmap private not fixed
  14275. + mmap private fixed at somewhere currently unmapped
  14276. + mmap private fixed at somewhere already mapped
  14277. + mmap shared not fixed
  14278. + mmap shared fixed at somewhere currently unmapped
  14279. + mmap shared fixed at somewhere already mapped
  14280. + For private mappings, we should verify that changes cannot be read()
  14281. + back from the file, nor mmap's back from the file at a different
  14282. + address. (There have been systems where private was not correctly
  14283. + implemented like the infamous i386 svr4.0, and systems where the
  14284. + VM page cache was not coherent with the file system buffer cache
  14285. + like early versions of FreeBSD and possibly contemporary NetBSD.)
  14286. + For shared mappings, we should conversely verify that changes get
  14287. + propagated back to all the places they're supposed to be.
  14288. -#ifdef __STDC__
  14289. -# include <limits.h>
  14290. -#else
  14291. -# include <assert.h>
  14292. -#endif
  14293. + Grep wants private fixed already mapped.
  14294. + The main things grep needs to know about mmap are:
  14295. + * does it exist and is it safe to write into the mmap'd area
  14296. + * how to use it (BSD variants) */
  14297. -#undef $ac_func
  14298. +#include <fcntl.h>
  14299. +#include <sys/mman.h>
  14300. -/* Override any GCC internal prototype to avoid an error.
  14301. - Use char because int might match the return type of a GCC
  14302. - builtin and then its argument prototype would still apply. */
  14303. -#ifdef __cplusplus
  14304. -extern "C"
  14305. -#endif
  14306. -char $ac_func ();
  14307. -/* The GNU C library defines this for functions which it implements
  14308. - to always fail with ENOSYS. Some functions are actually named
  14309. - something starting with __ and the normal name is an alias. */
  14310. -#if defined __stub_$ac_func || defined __stub___$ac_func
  14311. -choke me
  14312. +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
  14313. +char *malloc ();
  14314. #endif
  14315. +/* This mess was copied from the GNU getpagesize.h. */
  14316. +#ifndef HAVE_GETPAGESIZE
  14317. +# ifdef _SC_PAGESIZE
  14318. +# define getpagesize() sysconf(_SC_PAGESIZE)
  14319. +# else /* no _SC_PAGESIZE */
  14320. +# ifdef HAVE_SYS_PARAM_H
  14321. +# include <sys/param.h>
  14322. +# ifdef EXEC_PAGESIZE
  14323. +# define getpagesize() EXEC_PAGESIZE
  14324. +# else /* no EXEC_PAGESIZE */
  14325. +# ifdef NBPG
  14326. +# define getpagesize() NBPG * CLSIZE
  14327. +# ifndef CLSIZE
  14328. +# define CLSIZE 1
  14329. +# endif /* no CLSIZE */
  14330. +# else /* no NBPG */
  14331. +# ifdef NBPC
  14332. +# define getpagesize() NBPC
  14333. +# else /* no NBPC */
  14334. +# ifdef PAGESIZE
  14335. +# define getpagesize() PAGESIZE
  14336. +# endif /* PAGESIZE */
  14337. +# endif /* no NBPC */
  14338. +# endif /* no NBPG */
  14339. +# endif /* no EXEC_PAGESIZE */
  14340. +# else /* no HAVE_SYS_PARAM_H */
  14341. +# define getpagesize() 8192 /* punt totally */
  14342. +# endif /* no HAVE_SYS_PARAM_H */
  14343. +# endif /* no _SC_PAGESIZE */
  14344. +
  14345. +#endif /* no HAVE_GETPAGESIZE */
  14346. +
  14347. int
  14348. main ()
  14349. {
  14350. -return $ac_func ();
  14351. - ;
  14352. + char *data, *data2, *data3;
  14353. + const char *cdata2;
  14354. + int i, pagesize;
  14355. + int fd, fd2;
  14356. +
  14357. + pagesize = getpagesize ();
  14358. +
  14359. + /* First, make a file with some known garbage in it. */
  14360. + data = (char *) malloc (pagesize);
  14361. + if (!data)
  14362. + return 1;
  14363. + for (i = 0; i < pagesize; ++i)
  14364. + *(data + i) = rand ();
  14365. + umask (0);
  14366. + fd = creat ("conftest.mmap", 0600);
  14367. + if (fd < 0)
  14368. + return 2;
  14369. + if (write (fd, data, pagesize) != pagesize)
  14370. + return 3;
  14371. + close (fd);
  14372. +
  14373. + /* Next, check that the tail of a page is zero-filled. File must have
  14374. + non-zero length, otherwise we risk SIGBUS for entire page. */
  14375. + fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
  14376. + if (fd2 < 0)
  14377. + return 4;
  14378. + cdata2 = "";
  14379. + if (write (fd2, cdata2, 1) != 1)
  14380. + return 5;
  14381. + data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
  14382. + if (data2 == MAP_FAILED)
  14383. + return 6;
  14384. + for (i = 0; i < pagesize; ++i)
  14385. + if (*(data2 + i))
  14386. + return 7;
  14387. + close (fd2);
  14388. + if (munmap (data2, pagesize))
  14389. + return 8;
  14390. +
  14391. + /* Next, try to mmap the file at a fixed address which already has
  14392. + something else allocated at it. If we can, also make sure that
  14393. + we see the same garbage. */
  14394. + fd = open ("conftest.mmap", O_RDWR);
  14395. + if (fd < 0)
  14396. + return 9;
  14397. + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
  14398. + MAP_PRIVATE | MAP_FIXED, fd, 0L))
  14399. + return 10;
  14400. + for (i = 0; i < pagesize; ++i)
  14401. + if (*(data + i) != *(data2 + i))
  14402. + return 11;
  14403. +
  14404. + /* Finally, make sure that changes to the mapped area do not
  14405. + percolate back to the file as seen by read(). (This is a bug on
  14406. + some variants of i386 svr4.0.) */
  14407. + for (i = 0; i < pagesize; ++i)
  14408. + *(data2 + i) = *(data2 + i) + 1;
  14409. + data3 = (char *) malloc (pagesize);
  14410. + if (!data3)
  14411. + return 12;
  14412. + if (read (fd, data3, pagesize) != pagesize)
  14413. + return 13;
  14414. + for (i = 0; i < pagesize; ++i)
  14415. + if (*(data + i) != *(data3 + i))
  14416. + return 14;
  14417. + close (fd);
  14418. return 0;
  14419. }
  14420. _ACEOF
  14421. -rm -f conftest.$ac_objext conftest$ac_exeext
  14422. -if { (ac_try="$ac_link"
  14423. -case "(($ac_try" in
  14424. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14425. - *) ac_try_echo=$ac_try;;
  14426. -esac
  14427. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14428. -$as_echo "$ac_try_echo") >&5
  14429. - (eval "$ac_link") 2>conftest.er1
  14430. - ac_status=$?
  14431. - grep -v '^ *+' conftest.er1 >conftest.err
  14432. - rm -f conftest.er1
  14433. - cat conftest.err >&5
  14434. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14435. - (exit $ac_status); } && {
  14436. - test -z "$ac_c_werror_flag" ||
  14437. - test ! -s conftest.err
  14438. - } && test -s conftest$ac_exeext && {
  14439. - test "$cross_compiling" = yes ||
  14440. - $as_test_x conftest$ac_exeext
  14441. - }; then
  14442. - eval "$as_ac_var=yes"
  14443. +if ac_fn_c_try_run "$LINENO"; then :
  14444. + ac_cv_func_mmap_fixed_mapped=yes
  14445. else
  14446. - $as_echo "$as_me: failed program was:" >&5
  14447. -sed 's/^/| /' conftest.$ac_ext >&5
  14448. -
  14449. - eval "$as_ac_var=no"
  14450. + ac_cv_func_mmap_fixed_mapped=no
  14451. fi
  14452. -
  14453. -rm -rf conftest.dSYM
  14454. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14455. - conftest$ac_exeext conftest.$ac_ext
  14456. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  14457. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  14458. fi
  14459. -ac_res=`eval 'as_val=${'$as_ac_var'}
  14460. - $as_echo "$as_val"'`
  14461. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14462. -$as_echo "$ac_res" >&6; }
  14463. -as_val=`eval 'as_val=${'$as_ac_var'}
  14464. - $as_echo "$as_val"'`
  14465. - if test "x$as_val" = x""yes; then
  14466. - cat >>confdefs.h <<_ACEOF
  14467. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14468. -_ACEOF
  14469. fi
  14470. -done
  14471. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
  14472. +$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
  14473. +if test $ac_cv_func_mmap_fixed_mapped = yes; then
  14474. +$as_echo "#define HAVE_MMAP 1" >>confdefs.h
  14475. +fi
  14476. +rm -f conftest.mmap conftest.txt
  14477. +for ac_func in vprintf
  14478. +do :
  14479. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  14480. +if test "x$ac_cv_func_vprintf" = x""yes; then :
  14481. + cat >>confdefs.h <<_ACEOF
  14482. +#define HAVE_VPRINTF 1
  14483. +_ACEOF
  14484. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  14485. +if test "x$ac_cv_func__doprnt" = x""yes; then :
  14486. -for ac_func in strlcpy strlcat strerror strtoul
  14487. -do
  14488. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14489. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  14490. -$as_echo_n "checking for $ac_func... " >&6; }
  14491. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  14492. - $as_echo_n "(cached) " >&6
  14493. -else
  14494. - cat >conftest.$ac_ext <<_ACEOF
  14495. -/* confdefs.h. */
  14496. -_ACEOF
  14497. -cat confdefs.h >>conftest.$ac_ext
  14498. -cat >>conftest.$ac_ext <<_ACEOF
  14499. -/* end confdefs.h. */
  14500. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  14501. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14502. -#define $ac_func innocuous_$ac_func
  14503. +$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
  14504. -/* System header to define __stub macros and hopefully few prototypes,
  14505. - which can conflict with char $ac_func (); below.
  14506. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14507. - <limits.h> exists even on freestanding compilers. */
  14508. +fi
  14509. -#ifdef __STDC__
  14510. -# include <limits.h>
  14511. -#else
  14512. -# include <assert.h>
  14513. -#endif
  14514. +fi
  14515. +done
  14516. -#undef $ac_func
  14517. -/* Override any GCC internal prototype to avoid an error.
  14518. - Use char because int might match the return type of a GCC
  14519. - builtin and then its argument prototype would still apply. */
  14520. -#ifdef __cplusplus
  14521. -extern "C"
  14522. -#endif
  14523. -char $ac_func ();
  14524. -/* The GNU C library defines this for functions which it implements
  14525. - to always fail with ENOSYS. Some functions are actually named
  14526. - something starting with __ and the normal name is an alias. */
  14527. -#if defined __stub_$ac_func || defined __stub___$ac_func
  14528. -choke me
  14529. -#endif
  14530. -int
  14531. -main ()
  14532. -{
  14533. -return $ac_func ();
  14534. - ;
  14535. - return 0;
  14536. -}
  14537. +for ac_func in strchr strrchr memcpy memmove snprintf vsnprintf getopt_long
  14538. +do :
  14539. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14540. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  14541. +eval as_val=\$$as_ac_var
  14542. + if test "x$as_val" = x""yes; then :
  14543. + cat >>confdefs.h <<_ACEOF
  14544. +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14545. _ACEOF
  14546. -rm -f conftest.$ac_objext conftest$ac_exeext
  14547. -if { (ac_try="$ac_link"
  14548. -case "(($ac_try" in
  14549. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14550. - *) ac_try_echo=$ac_try;;
  14551. -esac
  14552. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14553. -$as_echo "$ac_try_echo") >&5
  14554. - (eval "$ac_link") 2>conftest.er1
  14555. - ac_status=$?
  14556. - grep -v '^ *+' conftest.er1 >conftest.err
  14557. - rm -f conftest.er1
  14558. - cat conftest.err >&5
  14559. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14560. - (exit $ac_status); } && {
  14561. - test -z "$ac_c_werror_flag" ||
  14562. - test ! -s conftest.err
  14563. - } && test -s conftest$ac_exeext && {
  14564. - test "$cross_compiling" = yes ||
  14565. - $as_test_x conftest$ac_exeext
  14566. - }; then
  14567. - eval "$as_ac_var=yes"
  14568. -else
  14569. - $as_echo "$as_me: failed program was:" >&5
  14570. -sed 's/^/| /' conftest.$ac_ext >&5
  14571. - eval "$as_ac_var=no"
  14572. fi
  14573. +done
  14574. -rm -rf conftest.dSYM
  14575. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14576. - conftest$ac_exeext conftest.$ac_ext
  14577. -fi
  14578. -ac_res=`eval 'as_val=${'$as_ac_var'}
  14579. - $as_echo "$as_val"'`
  14580. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14581. -$as_echo "$ac_res" >&6; }
  14582. -as_val=`eval 'as_val=${'$as_ac_var'}
  14583. - $as_echo "$as_val"'`
  14584. - if test "x$as_val" = x""yes; then
  14585. +for ac_func in strlcpy strlcat strerror strtoul
  14586. +do :
  14587. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14588. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  14589. +eval as_val=\$$as_ac_var
  14590. + if test "x$as_val" = x""yes; then :
  14591. cat >>confdefs.h <<_ACEOF
  14592. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14593. _ACEOF
  14594. @@ -12298,9 +7548,9 @@
  14595. - { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
  14596. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  14597. $as_echo_n "checking for shared library run path origin... " >&6; }
  14598. -if test "${acl_cv_rpath+set}" = set; then
  14599. +if test "${acl_cv_rpath+set}" = set; then :
  14600. $as_echo_n "(cached) " >&6
  14601. else
  14602. @@ -12311,7 +7561,7 @@
  14603. acl_cv_rpath=done
  14604. fi
  14605. -{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
  14606. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
  14607. $as_echo "$acl_cv_rpath" >&6; }
  14608. wl="$acl_cv_wl"
  14609. libext="$acl_cv_libext"
  14610. @@ -12321,7 +7571,7 @@
  14611. hardcode_direct="$acl_cv_hardcode_direct"
  14612. hardcode_minus_L="$acl_cv_hardcode_minus_L"
  14613. # Check whether --enable-rpath was given.
  14614. -if test "${enable_rpath+set}" = set; then
  14615. +if test "${enable_rpath+set}" = set; then :
  14616. enableval=$enable_rpath; :
  14617. else
  14618. enable_rpath=yes
  14619. @@ -12331,7 +7581,7 @@
  14620. # Check whether --enable-transactions was given.
  14621. -if test "${enable_transactions+set}" = set; then
  14622. +if test "${enable_transactions+set}" = set; then :
  14623. enableval=$enable_transactions; if test "$enableval" = no; then
  14624. USE_TRANSACTIONS=NO
  14625. fi
  14626. @@ -12350,7 +7600,7 @@
  14627. fi
  14628. # Check whether --enable-dummy was given.
  14629. -if test "${enable_dummy+set}" = set; then
  14630. +if test "${enable_dummy+set}" = set; then :
  14631. enableval=$enable_dummy;
  14632. fi
  14633. @@ -12374,22 +7624,18 @@
  14634. if test x$USE_TRANSACTIONS = xNO ; then
  14635. -cat >>confdefs.h <<\_ACEOF
  14636. -#define DISABLE_TRANSACTIONS 1
  14637. -_ACEOF
  14638. +$as_echo "#define DISABLE_TRANSACTIONS 1" >>confdefs.h
  14639. fi
  14640. if test x$USE_TRANSACTIONS = xYES ; then
  14641. -cat >>confdefs.h <<\_ACEOF
  14642. -#define ENABLE_TRANSACTIONS 1
  14643. -_ACEOF
  14644. +$as_echo "#define ENABLE_TRANSACTIONS 1" >>confdefs.h
  14645. fi
  14646. # Check whether --enable-dbshared-test was given.
  14647. -if test "${enable_dbshared_test+set}" = set; then
  14648. +if test "${enable_dbshared_test+set}" = set; then :
  14649. enableval=$enable_dbshared_test;
  14650. fi
  14651. @@ -12421,13 +7667,13 @@
  14652. case $ac_val in #(
  14653. *${as_nl}*)
  14654. case $ac_var in #(
  14655. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  14656. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  14657. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  14658. esac
  14659. case $ac_var in #(
  14660. _ | IFS | as_nl) ;; #(
  14661. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  14662. - *) $as_unset $ac_var ;;
  14663. + *) { eval $ac_var=; unset $ac_var;} ;;
  14664. esac ;;
  14665. esac
  14666. done
  14667. @@ -12435,8 +7681,8 @@
  14668. (set) 2>&1 |
  14669. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  14670. *${as_nl}ac_space=\ *)
  14671. - # `set' does not quote correctly, so add quotes (double-quote
  14672. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  14673. + # `set' does not quote correctly, so add quotes: double-quote
  14674. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  14675. sed -n \
  14676. "s/'/'\\\\''/g;
  14677. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  14678. @@ -12459,180 +7705,42 @@
  14679. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  14680. if test -w "$cache_file"; then
  14681. test "x$cache_file" != "x/dev/null" &&
  14682. - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  14683. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  14684. $as_echo "$as_me: updating cache $cache_file" >&6;}
  14685. cat confcache >$cache_file
  14686. else
  14687. - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  14688. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  14689. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  14690. fi
  14691. fi
  14692. -rm -f confcache
  14693. -
  14694. -WITH_DB_ENGINE=db
  14695. -
  14696. -# Check whether --with-database was given.
  14697. -if test "${with_database+set}" = set; then
  14698. - withval=$with_database; WITH_DB_ENGINE=$withval
  14699. -
  14700. -fi
  14701. -
  14702. -
  14703. -case "x$WITH_DB_ENGINE" in
  14704. - xsqlite|xsqlite3)
  14705. -
  14706. -cat >>confdefs.h <<\_ACEOF
  14707. -#define ENABLE_SQLITE_DATASTORE 1
  14708. -_ACEOF
  14709. -
  14710. - DB_TYPE=sqlite
  14711. - DB_EXT=.db
  14712. -
  14713. -for ac_header in sqlite3.h
  14714. -do
  14715. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14716. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14717. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14718. -$as_echo_n "checking for $ac_header... " >&6; }
  14719. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14720. - $as_echo_n "(cached) " >&6
  14721. -fi
  14722. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  14723. - $as_echo "$as_val"'`
  14724. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14725. -$as_echo "$ac_res" >&6; }
  14726. -else
  14727. - # Is the header compilable?
  14728. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14729. -$as_echo_n "checking $ac_header usability... " >&6; }
  14730. -cat >conftest.$ac_ext <<_ACEOF
  14731. -/* confdefs.h. */
  14732. -_ACEOF
  14733. -cat confdefs.h >>conftest.$ac_ext
  14734. -cat >>conftest.$ac_ext <<_ACEOF
  14735. -/* end confdefs.h. */
  14736. -$ac_includes_default
  14737. -#include <$ac_header>
  14738. -_ACEOF
  14739. -rm -f conftest.$ac_objext
  14740. -if { (ac_try="$ac_compile"
  14741. -case "(($ac_try" in
  14742. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14743. - *) ac_try_echo=$ac_try;;
  14744. -esac
  14745. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14746. -$as_echo "$ac_try_echo") >&5
  14747. - (eval "$ac_compile") 2>conftest.er1
  14748. - ac_status=$?
  14749. - grep -v '^ *+' conftest.er1 >conftest.err
  14750. - rm -f conftest.er1
  14751. - cat conftest.err >&5
  14752. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14753. - (exit $ac_status); } && {
  14754. - test -z "$ac_c_werror_flag" ||
  14755. - test ! -s conftest.err
  14756. - } && test -s conftest.$ac_objext; then
  14757. - ac_header_compiler=yes
  14758. -else
  14759. - $as_echo "$as_me: failed program was:" >&5
  14760. -sed 's/^/| /' conftest.$ac_ext >&5
  14761. -
  14762. - ac_header_compiler=no
  14763. -fi
  14764. +rm -f confcache
  14765. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14766. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14767. -$as_echo "$ac_header_compiler" >&6; }
  14768. +WITH_DB_ENGINE=db
  14769. -# Is the header present?
  14770. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14771. -$as_echo_n "checking $ac_header presence... " >&6; }
  14772. -cat >conftest.$ac_ext <<_ACEOF
  14773. -/* confdefs.h. */
  14774. -_ACEOF
  14775. -cat confdefs.h >>conftest.$ac_ext
  14776. -cat >>conftest.$ac_ext <<_ACEOF
  14777. -/* end confdefs.h. */
  14778. -#include <$ac_header>
  14779. -_ACEOF
  14780. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  14781. -case "(($ac_try" in
  14782. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14783. - *) ac_try_echo=$ac_try;;
  14784. -esac
  14785. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14786. -$as_echo "$ac_try_echo") >&5
  14787. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14788. - ac_status=$?
  14789. - grep -v '^ *+' conftest.er1 >conftest.err
  14790. - rm -f conftest.er1
  14791. - cat conftest.err >&5
  14792. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14793. - (exit $ac_status); } >/dev/null && {
  14794. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14795. - test ! -s conftest.err
  14796. - }; then
  14797. - ac_header_preproc=yes
  14798. -else
  14799. - $as_echo "$as_me: failed program was:" >&5
  14800. -sed 's/^/| /' conftest.$ac_ext >&5
  14801. +# Check whether --with-database was given.
  14802. +if test "${with_database+set}" = set; then :
  14803. + withval=$with_database; WITH_DB_ENGINE=$withval
  14804. - ac_header_preproc=no
  14805. fi
  14806. -rm -f conftest.err conftest.$ac_ext
  14807. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14808. -$as_echo "$ac_header_preproc" >&6; }
  14809. -# So? What about this header?
  14810. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14811. - yes:no: )
  14812. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14813. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14814. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14815. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14816. - ac_header_preproc=yes
  14817. - ;;
  14818. - no:yes:* )
  14819. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14820. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14821. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14822. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14823. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14824. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14825. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14826. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14827. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14828. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14829. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14830. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14831. +case "x$WITH_DB_ENGINE" in
  14832. + xsqlite|xsqlite3)
  14833. - ;;
  14834. -esac
  14835. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14836. -$as_echo_n "checking for $ac_header... " >&6; }
  14837. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14838. - $as_echo_n "(cached) " >&6
  14839. -else
  14840. - eval "$as_ac_Header=\$ac_header_preproc"
  14841. -fi
  14842. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  14843. - $as_echo "$as_val"'`
  14844. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14845. -$as_echo "$ac_res" >&6; }
  14846. +$as_echo "#define ENABLE_SQLITE_DATASTORE 1" >>confdefs.h
  14847. -fi
  14848. -as_val=`eval 'as_val=${'$as_ac_Header'}
  14849. - $as_echo "$as_val"'`
  14850. - if test "x$as_val" = x""yes; then
  14851. + DB_TYPE=sqlite
  14852. + DB_EXT=.db
  14853. + for ac_header in sqlite3.h
  14854. +do :
  14855. + ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
  14856. +if test "x$ac_cv_header_sqlite3_h" = x""yes; then :
  14857. cat >>confdefs.h <<_ACEOF
  14858. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14859. +#define HAVE_SQLITE3_H 1
  14860. _ACEOF
  14861. else
  14862. - { { $as_echo "$as_me:$LINENO: error: Cannot find sqlite3.h header file" >&5
  14863. -$as_echo "$as_me: error: Cannot find sqlite3.h header file" >&2;}
  14864. - { (exit 1); exit 1; }; }
  14865. + as_fn_error "Cannot find sqlite3.h header file" "$LINENO" 5
  14866. fi
  14867. done
  14868. @@ -12642,9 +7750,9 @@
  14869. - { $as_echo "$as_me:$LINENO: checking how to link with libsqlite3" >&5
  14870. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsqlite3" >&5
  14871. $as_echo_n "checking how to link with libsqlite3... " >&6; }
  14872. -if test "${ac_cv_libsqlite3_libs+set}" = set; then
  14873. +if test "${ac_cv_libsqlite3_libs+set}" = set; then :
  14874. $as_echo_n "(cached) " >&6
  14875. else
  14876. @@ -12665,7 +7773,7 @@
  14877. # Check whether --with-libsqlite3-prefix was given.
  14878. -if test "${with_libsqlite3_prefix+set}" = set; then
  14879. +if test "${with_libsqlite3_prefix+set}" = set; then :
  14880. withval=$with_libsqlite3_prefix;
  14881. if test "X$withval" = "Xno"; then
  14882. use_additional=no
  14883. @@ -13031,7 +8139,7 @@
  14884. ac_cv_libsqlite3_cppflags="$INCSQLITE3"
  14885. fi
  14886. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_libsqlite3_libs" >&5
  14887. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsqlite3_libs" >&5
  14888. $as_echo "$ac_cv_libsqlite3_libs" >&6; }
  14889. LIBSQLITE3="$ac_cv_libsqlite3_libs"
  14890. LTLIBSQLITE3="$ac_cv_libsqlite3_ltlibs"
  14891. @@ -13069,98 +8177,12 @@
  14892. WITH_DB_ENGINE="sqlite3"
  14893. saveLIBS="$LIBS"
  14894. LIBS="$LIBDB $LIBS"
  14895. - { $as_echo "$as_me:$LINENO: checking for sqlite3_prepare_v2" >&5
  14896. -$as_echo_n "checking for sqlite3_prepare_v2... " >&6; }
  14897. -if test "${ac_cv_func_sqlite3_prepare_v2+set}" = set; then
  14898. - $as_echo_n "(cached) " >&6
  14899. -else
  14900. - cat >conftest.$ac_ext <<_ACEOF
  14901. -/* confdefs.h. */
  14902. -_ACEOF
  14903. -cat confdefs.h >>conftest.$ac_ext
  14904. -cat >>conftest.$ac_ext <<_ACEOF
  14905. -/* end confdefs.h. */
  14906. -/* Define sqlite3_prepare_v2 to an innocuous variant, in case <limits.h> declares sqlite3_prepare_v2.
  14907. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14908. -#define sqlite3_prepare_v2 innocuous_sqlite3_prepare_v2
  14909. -
  14910. -/* System header to define __stub macros and hopefully few prototypes,
  14911. - which can conflict with char sqlite3_prepare_v2 (); below.
  14912. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14913. - <limits.h> exists even on freestanding compilers. */
  14914. -
  14915. -#ifdef __STDC__
  14916. -# include <limits.h>
  14917. -#else
  14918. -# include <assert.h>
  14919. -#endif
  14920. -
  14921. -#undef sqlite3_prepare_v2
  14922. -
  14923. -/* Override any GCC internal prototype to avoid an error.
  14924. - Use char because int might match the return type of a GCC
  14925. - builtin and then its argument prototype would still apply. */
  14926. -#ifdef __cplusplus
  14927. -extern "C"
  14928. -#endif
  14929. -char sqlite3_prepare_v2 ();
  14930. -/* The GNU C library defines this for functions which it implements
  14931. - to always fail with ENOSYS. Some functions are actually named
  14932. - something starting with __ and the normal name is an alias. */
  14933. -#if defined __stub_sqlite3_prepare_v2 || defined __stub___sqlite3_prepare_v2
  14934. -choke me
  14935. -#endif
  14936. -
  14937. -int
  14938. -main ()
  14939. -{
  14940. -return sqlite3_prepare_v2 ();
  14941. - ;
  14942. - return 0;
  14943. -}
  14944. -_ACEOF
  14945. -rm -f conftest.$ac_objext conftest$ac_exeext
  14946. -if { (ac_try="$ac_link"
  14947. -case "(($ac_try" in
  14948. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14949. - *) ac_try_echo=$ac_try;;
  14950. -esac
  14951. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14952. -$as_echo "$ac_try_echo") >&5
  14953. - (eval "$ac_link") 2>conftest.er1
  14954. - ac_status=$?
  14955. - grep -v '^ *+' conftest.er1 >conftest.err
  14956. - rm -f conftest.er1
  14957. - cat conftest.err >&5
  14958. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14959. - (exit $ac_status); } && {
  14960. - test -z "$ac_c_werror_flag" ||
  14961. - test ! -s conftest.err
  14962. - } && test -s conftest$ac_exeext && {
  14963. - test "$cross_compiling" = yes ||
  14964. - $as_test_x conftest$ac_exeext
  14965. - }; then
  14966. - ac_cv_func_sqlite3_prepare_v2=yes
  14967. -else
  14968. - $as_echo "$as_me: failed program was:" >&5
  14969. -sed 's/^/| /' conftest.$ac_ext >&5
  14970. -
  14971. - ac_cv_func_sqlite3_prepare_v2=no
  14972. -fi
  14973. + ac_fn_c_check_func "$LINENO" "sqlite3_prepare_v2" "ac_cv_func_sqlite3_prepare_v2"
  14974. +if test "x$ac_cv_func_sqlite3_prepare_v2" = x""yes; then :
  14975. -rm -rf conftest.dSYM
  14976. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14977. - conftest$ac_exeext conftest.$ac_ext
  14978. -fi
  14979. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_sqlite3_prepare_v2" >&5
  14980. -$as_echo "$ac_cv_func_sqlite3_prepare_v2" >&6; }
  14981. -if test "x$ac_cv_func_sqlite3_prepare_v2" = x""yes; then
  14982. - :
  14983. else
  14984. -cat >>confdefs.h <<\_ACEOF
  14985. -#define sqlite3_prepare_v2 sqlite3_prepare
  14986. -_ACEOF
  14987. +$as_echo "#define sqlite3_prepare_v2 sqlite3_prepare" >>confdefs.h
  14988. fi
  14989. @@ -13168,9 +8190,7 @@
  14990. ;;
  14991. xtokyocabinet)
  14992. -cat >>confdefs.h <<\_ACEOF
  14993. -#define ENABLE_TOKYOCABINET_DATASTORE 1
  14994. -_ACEOF
  14995. +$as_echo "#define ENABLE_TOKYOCABINET_DATASTORE 1" >>confdefs.h
  14996. DB_TYPE=tokyocabinet
  14997. DB_EXT=.tc
  14998. @@ -13179,9 +8199,9 @@
  14999. - { $as_echo "$as_me:$LINENO: checking how to link with libtokyocabinet" >&5
  15000. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libtokyocabinet" >&5
  15001. $as_echo_n "checking how to link with libtokyocabinet... " >&6; }
  15002. -if test "${ac_cv_libtokyocabinet_libs+set}" = set; then
  15003. +if test "${ac_cv_libtokyocabinet_libs+set}" = set; then :
  15004. $as_echo_n "(cached) " >&6
  15005. else
  15006. @@ -13202,7 +8222,7 @@
  15007. # Check whether --with-libtokyocabinet-prefix was given.
  15008. -if test "${with_libtokyocabinet_prefix+set}" = set; then
  15009. +if test "${with_libtokyocabinet_prefix+set}" = set; then :
  15010. withval=$with_libtokyocabinet_prefix;
  15011. if test "X$withval" = "Xno"; then
  15012. use_additional=no
  15013. @@ -13568,7 +8588,7 @@
  15014. ac_cv_libtokyocabinet_cppflags="$INCTOKYOCABINET"
  15015. fi
  15016. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_libtokyocabinet_libs" >&5
  15017. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libtokyocabinet_libs" >&5
  15018. $as_echo "$ac_cv_libtokyocabinet_libs" >&6; }
  15019. LIBTOKYOCABINET="$ac_cv_libtokyocabinet_libs"
  15020. LTLIBTOKYOCABINET="$ac_cv_libtokyocabinet_ltlibs"
  15021. @@ -13605,11 +8625,7 @@
  15022. LIBDB="$LIBTOKYOCABINET"
  15023. saveLIBS="$LIBS"
  15024. LIBS="$LIBS $LIBDB"
  15025. - cat >conftest.$ac_ext <<_ACEOF
  15026. -/* confdefs.h. */
  15027. -_ACEOF
  15028. -cat confdefs.h >>conftest.$ac_ext
  15029. -cat >>conftest.$ac_ext <<_ACEOF
  15030. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15031. /* end confdefs.h. */
  15032. #include <tcutil.h>
  15033. @@ -13630,47 +8646,18 @@
  15034. return 0;
  15035. }
  15036. _ACEOF
  15037. -rm -f conftest.$ac_objext conftest$ac_exeext
  15038. -if { (ac_try="$ac_link"
  15039. -case "(($ac_try" in
  15040. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15041. - *) ac_try_echo=$ac_try;;
  15042. -esac
  15043. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15044. -$as_echo "$ac_try_echo") >&5
  15045. - (eval "$ac_link") 2>conftest.er1
  15046. - ac_status=$?
  15047. - grep -v '^ *+' conftest.er1 >conftest.err
  15048. - rm -f conftest.er1
  15049. - cat conftest.err >&5
  15050. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15051. - (exit $ac_status); } && {
  15052. - test -z "$ac_c_werror_flag" ||
  15053. - test ! -s conftest.err
  15054. - } && test -s conftest$ac_exeext && {
  15055. - test "$cross_compiling" = yes ||
  15056. - $as_test_x conftest$ac_exeext
  15057. - }; then
  15058. - :
  15059. -else
  15060. - $as_echo "$as_me: failed program was:" >&5
  15061. -sed 's/^/| /' conftest.$ac_ext >&5
  15062. +if ac_fn_c_try_link "$LINENO"; then :
  15063. - { { $as_echo "$as_me:$LINENO: error: Cannot link to tokyocabinet library." >&5
  15064. -$as_echo "$as_me: error: Cannot link to tokyocabinet library." >&2;}
  15065. - { (exit 1); exit 1; }; }
  15066. +else
  15067. + as_fn_error "Cannot link to tokyocabinet library." "$LINENO" 5
  15068. fi
  15069. -
  15070. -rm -rf conftest.dSYM
  15071. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15072. - conftest$ac_exeext conftest.$ac_ext
  15073. +rm -f core conftest.err conftest.$ac_objext \
  15074. + conftest$ac_exeext conftest.$ac_ext
  15075. LIBS="$saveLIBS"
  15076. ;;
  15077. xqdbm)
  15078. -cat >>confdefs.h <<\_ACEOF
  15079. -#define ENABLE_QDBM_DATASTORE 1
  15080. -_ACEOF
  15081. +$as_echo "#define ENABLE_QDBM_DATASTORE 1" >>confdefs.h
  15082. DB_TYPE=qdbm
  15083. DB_EXT=.qdbm
  15084. @@ -13679,9 +8666,9 @@
  15085. - { $as_echo "$as_me:$LINENO: checking how to link with libqdbm" >&5
  15086. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libqdbm" >&5
  15087. $as_echo_n "checking how to link with libqdbm... " >&6; }
  15088. -if test "${ac_cv_libqdbm_libs+set}" = set; then
  15089. +if test "${ac_cv_libqdbm_libs+set}" = set; then :
  15090. $as_echo_n "(cached) " >&6
  15091. else
  15092. @@ -13702,7 +8689,7 @@
  15093. # Check whether --with-libqdbm-prefix was given.
  15094. -if test "${with_libqdbm_prefix+set}" = set; then
  15095. +if test "${with_libqdbm_prefix+set}" = set; then :
  15096. withval=$with_libqdbm_prefix;
  15097. if test "X$withval" = "Xno"; then
  15098. use_additional=no
  15099. @@ -14068,7 +9055,7 @@
  15100. ac_cv_libqdbm_cppflags="$INCQDBM"
  15101. fi
  15102. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_libqdbm_libs" >&5
  15103. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libqdbm_libs" >&5
  15104. $as_echo "$ac_cv_libqdbm_libs" >&6; }
  15105. LIBQDBM="$ac_cv_libqdbm_libs"
  15106. LTLIBQDBM="$ac_cv_libqdbm_ltlibs"
  15107. @@ -14105,11 +9092,7 @@
  15108. LIBDB="$LIBQDBM"
  15109. saveLIBS="$LIBS"
  15110. LIBS="$LIBS $LIBDB"
  15111. - cat >conftest.$ac_ext <<_ACEOF
  15112. -/* confdefs.h. */
  15113. -_ACEOF
  15114. -cat confdefs.h >>conftest.$ac_ext
  15115. -cat >>conftest.$ac_ext <<_ACEOF
  15116. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15117. /* end confdefs.h. */
  15118. #include <stdlib.h>
  15119. @@ -14125,40 +9108,13 @@
  15120. return 0;
  15121. }
  15122. _ACEOF
  15123. -rm -f conftest.$ac_objext conftest$ac_exeext
  15124. -if { (ac_try="$ac_link"
  15125. -case "(($ac_try" in
  15126. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15127. - *) ac_try_echo=$ac_try;;
  15128. -esac
  15129. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15130. -$as_echo "$ac_try_echo") >&5
  15131. - (eval "$ac_link") 2>conftest.er1
  15132. - ac_status=$?
  15133. - grep -v '^ *+' conftest.er1 >conftest.err
  15134. - rm -f conftest.er1
  15135. - cat conftest.err >&5
  15136. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15137. - (exit $ac_status); } && {
  15138. - test -z "$ac_c_werror_flag" ||
  15139. - test ! -s conftest.err
  15140. - } && test -s conftest$ac_exeext && {
  15141. - test "$cross_compiling" = yes ||
  15142. - $as_test_x conftest$ac_exeext
  15143. - }; then
  15144. - :
  15145. -else
  15146. - $as_echo "$as_me: failed program was:" >&5
  15147. -sed 's/^/| /' conftest.$ac_ext >&5
  15148. +if ac_fn_c_try_link "$LINENO"; then :
  15149. - { { $as_echo "$as_me:$LINENO: error: Cannot link to qdbm library." >&5
  15150. -$as_echo "$as_me: error: Cannot link to qdbm library." >&2;}
  15151. - { (exit 1); exit 1; }; }
  15152. +else
  15153. + as_fn_error "Cannot link to qdbm library." "$LINENO" 5
  15154. fi
  15155. -
  15156. -rm -rf conftest.dSYM
  15157. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15158. - conftest$ac_exeext conftest.$ac_ext
  15159. +rm -f core conftest.err conftest.$ac_objext \
  15160. + conftest$ac_exeext conftest.$ac_ext
  15161. LIBS="$saveLIBS"
  15162. ;;
  15163. xdb*)
  15164. @@ -14169,9 +9125,9 @@
  15165. - { $as_echo "$as_me:$LINENO: checking how to link with libdb" >&5
  15166. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libdb" >&5
  15167. $as_echo_n "checking how to link with libdb... " >&6; }
  15168. -if test "${ac_cv_libdb_libs+set}" = set; then
  15169. +if test "${ac_cv_libdb_libs+set}" = set; then :
  15170. $as_echo_n "(cached) " >&6
  15171. else
  15172. @@ -14192,7 +9148,7 @@
  15173. # Check whether --with-libdb-prefix was given.
  15174. -if test "${with_libdb_prefix+set}" = set; then
  15175. +if test "${with_libdb_prefix+set}" = set; then :
  15176. withval=$with_libdb_prefix;
  15177. if test "X$withval" = "Xno"; then
  15178. use_additional=no
  15179. @@ -14558,7 +9514,7 @@
  15180. ac_cv_libdb_cppflags="$INCDB"
  15181. fi
  15182. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_libdb_libs" >&5
  15183. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libdb_libs" >&5
  15184. $as_echo "$ac_cv_libdb_libs" >&6; }
  15185. LIBDB="$ac_cv_libdb_libs"
  15186. LTLIBDB="$ac_cv_libdb_ltlibs"
  15187. @@ -14569,383 +9525,112 @@
  15188. for x in $CPPFLAGS; do
  15189. acl_save_prefix="$prefix"
  15190. - prefix="$acl_final_prefix"
  15191. - acl_save_exec_prefix="$exec_prefix"
  15192. - exec_prefix="$acl_final_exec_prefix"
  15193. - eval x=\"$x\"
  15194. - exec_prefix="$acl_save_exec_prefix"
  15195. - prefix="$acl_save_prefix"
  15196. -
  15197. - if test "X$x" = "X$element"; then
  15198. - haveit=yes
  15199. - break
  15200. - fi
  15201. - done
  15202. - if test -z "$haveit"; then
  15203. - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  15204. - fi
  15205. - done
  15206. -
  15207. -
  15208. -
  15209. - HAVE_LIBDB=yes
  15210. -
  15211. -
  15212. -
  15213. - { $as_echo "$as_me:$LINENO: checking db and dependent libraries" >&5
  15214. -$as_echo_n "checking db and dependent libraries... " >&6; }
  15215. - saveLIBS="$LIBS"
  15216. - havelib=0
  15217. - for dblibs in "" "$LIBDB" ; do
  15218. - for addlibs in "" -lpthread -lthread ; do
  15219. - LIBDB="$dblibs $addlibs"
  15220. - export LIBDB
  15221. - LIBS="$saveLIBS $LIBDB"
  15222. - export LIBS
  15223. - cat >conftest.$ac_ext <<_ACEOF
  15224. -/* confdefs.h. */
  15225. -_ACEOF
  15226. -cat confdefs.h >>conftest.$ac_ext
  15227. -cat >>conftest.$ac_ext <<_ACEOF
  15228. -/* end confdefs.h. */
  15229. -#include <db.h>
  15230. -int
  15231. -main ()
  15232. -{
  15233. -int r, s, t; db_version(&r, &s, &t);
  15234. - ;
  15235. - return 0;
  15236. -}
  15237. -_ACEOF
  15238. -rm -f conftest.$ac_objext conftest$ac_exeext
  15239. -if { (ac_try="$ac_link"
  15240. -case "(($ac_try" in
  15241. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15242. - *) ac_try_echo=$ac_try;;
  15243. -esac
  15244. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15245. -$as_echo "$ac_try_echo") >&5
  15246. - (eval "$ac_link") 2>conftest.er1
  15247. - ac_status=$?
  15248. - grep -v '^ *+' conftest.er1 >conftest.err
  15249. - rm -f conftest.er1
  15250. - cat conftest.err >&5
  15251. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15252. - (exit $ac_status); } && {
  15253. - test -z "$ac_c_werror_flag" ||
  15254. - test ! -s conftest.err
  15255. - } && test -s conftest$ac_exeext && {
  15256. - test "$cross_compiling" = yes ||
  15257. - $as_test_x conftest$ac_exeext
  15258. - }; then
  15259. - havelib=1 ; break 2
  15260. -else
  15261. - $as_echo "$as_me: failed program was:" >&5
  15262. -sed 's/^/| /' conftest.$ac_ext >&5
  15263. -
  15264. -
  15265. -fi
  15266. -
  15267. -rm -rf conftest.dSYM
  15268. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15269. - conftest$ac_exeext conftest.$ac_ext
  15270. - done
  15271. - done
  15272. - LIBS="$saveLIBS"
  15273. - export LIBS
  15274. - if test $havelib = 0 ; then
  15275. - { $as_echo "$as_me:$LINENO: result: error" >&5
  15276. -$as_echo "error" >&6; }
  15277. - { { $as_echo "$as_me:$LINENO: error:
  15278. -=====================================================================
  15279. -Cannot link against libdb? Try these steps to solve the problem:
  15280. -1. Be sure that the Berkeley DB developer package is installed.
  15281. -2. Type: rm -f config.cache then re-run configure.
  15282. -3. If the problem persists, report it to the bogofilter mailing list.
  15283. - Remember to include your config.log.
  15284. -=====================================================================
  15285. - " >&5
  15286. -$as_echo "$as_me: error:
  15287. -=====================================================================
  15288. -Cannot link against libdb? Try these steps to solve the problem:
  15289. -1. Be sure that the Berkeley DB developer package is installed.
  15290. -2. Type: rm -f config.cache then re-run configure.
  15291. -3. If the problem persists, report it to the bogofilter mailing list.
  15292. - Remember to include your config.log.
  15293. -=====================================================================
  15294. - " >&2;}
  15295. - { (exit 1); exit 1; }; }
  15296. - fi
  15297. - { $as_echo "$as_me:$LINENO: result: $LIBDB" >&5
  15298. -$as_echo "$LIBDB" >&6; }
  15299. - LIBS="$saveLIBS"
  15300. - export LIBS
  15301. -
  15302. -
  15303. -
  15304. -
  15305. - saveLIBS="$LIBS"
  15306. - LIBS="$LIBS $LIBDB"
  15307. - { $as_echo "$as_me:$LINENO: checking if a program can be linked against Berkeley DB and run" >&5
  15308. -$as_echo_n "checking if a program can be linked against Berkeley DB and run... " >&6; }
  15309. - if test "$cross_compiling" = yes; then
  15310. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  15311. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15312. -{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  15313. -See \`config.log' for more details." >&5
  15314. -$as_echo "$as_me: error: cannot run test program while cross compiling
  15315. -See \`config.log' for more details." >&2;}
  15316. - { (exit 1); exit 1; }; }; }
  15317. -else
  15318. - cat >conftest.$ac_ext <<_ACEOF
  15319. -/* confdefs.h. */
  15320. -_ACEOF
  15321. -cat confdefs.h >>conftest.$ac_ext
  15322. -cat >>conftest.$ac_ext <<_ACEOF
  15323. -/* end confdefs.h. */
  15324. -
  15325. -#ifdef HAVE_INTTYPES_H
  15326. -#include <inttypes.h>
  15327. -#endif
  15328. -#include <db.h>
  15329. -
  15330. -int
  15331. -main ()
  15332. -{
  15333. -
  15334. -return 0;
  15335. -
  15336. - ;
  15337. - return 0;
  15338. -}
  15339. -_ACEOF
  15340. -rm -f conftest$ac_exeext
  15341. -if { (ac_try="$ac_link"
  15342. -case "(($ac_try" in
  15343. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15344. - *) ac_try_echo=$ac_try;;
  15345. -esac
  15346. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15347. -$as_echo "$ac_try_echo") >&5
  15348. - (eval "$ac_link") 2>&5
  15349. - ac_status=$?
  15350. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15351. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  15352. - { (case "(($ac_try" in
  15353. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15354. - *) ac_try_echo=$ac_try;;
  15355. -esac
  15356. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15357. -$as_echo "$ac_try_echo") >&5
  15358. - (eval "$ac_try") 2>&5
  15359. - ac_status=$?
  15360. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15361. - (exit $ac_status); }; }; then
  15362. - :
  15363. -else
  15364. - $as_echo "$as_me: program exited with status $ac_status" >&5
  15365. -$as_echo "$as_me: failed program was:" >&5
  15366. -sed 's/^/| /' conftest.$ac_ext >&5
  15367. + prefix="$acl_final_prefix"
  15368. + acl_save_exec_prefix="$exec_prefix"
  15369. + exec_prefix="$acl_final_exec_prefix"
  15370. + eval x=\"$x\"
  15371. + exec_prefix="$acl_save_exec_prefix"
  15372. + prefix="$acl_save_prefix"
  15373. -( exit $ac_status )
  15374. -{ $as_echo "$as_me:$LINENO: result: no" >&5
  15375. -$as_echo "no" >&6; }
  15376. - { { $as_echo "$as_me:$LINENO: error: Cannot run a program linked against libdb.
  15377. -Did you adjust your library search path to include your libdb?" >&5
  15378. -$as_echo "$as_me: error: Cannot run a program linked against libdb.
  15379. -Did you adjust your library search path to include your libdb?" >&2;}
  15380. - { (exit 1); exit 1; }; }
  15381. -fi
  15382. -rm -rf conftest.dSYM
  15383. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15384. -fi
  15385. + if test "X$x" = "X$element"; then
  15386. + haveit=yes
  15387. + break
  15388. + fi
  15389. + done
  15390. + if test -z "$haveit"; then
  15391. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  15392. + fi
  15393. + done
  15394. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  15395. -$as_echo "yes" >&6; }
  15396. - { $as_echo "$as_me:$LINENO: checking if Berkeley DB header and library versions match" >&5
  15397. -$as_echo_n "checking if Berkeley DB header and library versions match... " >&6; }
  15398. - rm -r -f bfadtestdir
  15399. - mkdir bfadtestdir
  15400. - if test "$cross_compiling" = yes; then
  15401. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  15402. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15403. -{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  15404. -See \`config.log' for more details." >&5
  15405. -$as_echo "$as_me: error: cannot run test program while cross compiling
  15406. -See \`config.log' for more details." >&2;}
  15407. - { (exit 1); exit 1; }; }; }
  15408. -else
  15409. - cat >conftest.$ac_ext <<_ACEOF
  15410. -/* confdefs.h. */
  15411. -_ACEOF
  15412. -cat confdefs.h >>conftest.$ac_ext
  15413. -cat >>conftest.$ac_ext <<_ACEOF
  15414. -/* end confdefs.h. */
  15415. + HAVE_LIBDB=yes
  15416. - #include <stdlib.h>
  15417. - #include <stdio.h>
  15418. -#ifdef HAVE_INTTYPES_H
  15419. -#include <inttypes.h>
  15420. -#endif
  15421. - #include <db.h>
  15422. +
  15423. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking db and dependent libraries" >&5
  15424. +$as_echo_n "checking db and dependent libraries... " >&6; }
  15425. + saveLIBS="$LIBS"
  15426. + havelib=0
  15427. + for dblibs in "" "$LIBDB" ; do
  15428. + for addlibs in "" -lpthread -lthread ; do
  15429. + LIBDB="$dblibs $addlibs"
  15430. + export LIBDB
  15431. + LIBS="$saveLIBS $LIBDB"
  15432. + export LIBS
  15433. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15434. +/* end confdefs.h. */
  15435. +#include <db.h>
  15436. int
  15437. main ()
  15438. {
  15439. -
  15440. - int maj, min;
  15441. - (void)db_version(&maj, &min, 0);
  15442. - (void)fprintf(stderr, "headers: %d.%d, library: %d.%d\n",
  15443. - DB_VERSION_MAJOR, DB_VERSION_MINOR, maj, min);
  15444. - if (maj != DB_VERSION_MAJOR) exit(1);
  15445. - if (min != DB_VERSION_MINOR) exit(1);
  15446. - exit(0);
  15447. -
  15448. +int r, s, t; db_version(&r, &s, &t);
  15449. ;
  15450. return 0;
  15451. }
  15452. _ACEOF
  15453. -rm -f conftest$ac_exeext
  15454. -if { (ac_try="$ac_link"
  15455. -case "(($ac_try" in
  15456. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15457. - *) ac_try_echo=$ac_try;;
  15458. -esac
  15459. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15460. -$as_echo "$ac_try_echo") >&5
  15461. - (eval "$ac_link") 2>&5
  15462. - ac_status=$?
  15463. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15464. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  15465. - { (case "(($ac_try" in
  15466. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15467. - *) ac_try_echo=$ac_try;;
  15468. -esac
  15469. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15470. -$as_echo "$ac_try_echo") >&5
  15471. - (eval "$ac_try") 2>&5
  15472. - ac_status=$?
  15473. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15474. - (exit $ac_status); }; }; then
  15475. - :
  15476. -else
  15477. - $as_echo "$as_me: program exited with status $ac_status" >&5
  15478. -$as_echo "$as_me: failed program was:" >&5
  15479. -sed 's/^/| /' conftest.$ac_ext >&5
  15480. -
  15481. -( exit $ac_status )
  15482. -{ $as_echo "$as_me:$LINENO: result: no" >&5
  15483. -$as_echo "no" >&6; }
  15484. - { { $as_echo "$as_me:$LINENO: error: db.h header file and db library version do not match." >&5
  15485. -$as_echo "$as_me: error: db.h header file and db library version do not match." >&2;}
  15486. - { (exit 1); exit 1; }; }
  15487. -fi
  15488. -rm -rf conftest.dSYM
  15489. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15490. +if ac_fn_c_try_link "$LINENO"; then :
  15491. + havelib=1 ; break 2
  15492. fi
  15493. +rm -f core conftest.err conftest.$ac_objext \
  15494. + conftest$ac_exeext conftest.$ac_ext
  15495. + done
  15496. + done
  15497. + LIBS="$saveLIBS"
  15498. + export LIBS
  15499. + if test $havelib = 0 ; then
  15500. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
  15501. +$as_echo "error" >&6; }
  15502. + as_fn_error "
  15503. +=====================================================================
  15504. +Cannot link against libdb? Try these steps to solve the problem:
  15505. +1. Be sure that the Berkeley DB developer package is installed.
  15506. +2. Type: rm -f config.cache then re-run configure.
  15507. +3. If the problem persists, report it to the bogofilter mailing list.
  15508. + Remember to include your config.log.
  15509. +=====================================================================
  15510. + " "$LINENO" 5
  15511. + fi
  15512. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBDB" >&5
  15513. +$as_echo "$LIBDB" >&6; }
  15514. + LIBS="$saveLIBS"
  15515. + export LIBS
  15516. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  15517. -$as_echo "yes" >&6; }
  15518. - { $as_echo "$as_me:$LINENO: checking whether db_create is declared" >&5
  15519. -$as_echo_n "checking whether db_create is declared... " >&6; }
  15520. -if test "${ac_cv_have_decl_db_create+set}" = set; then
  15521. - $as_echo_n "(cached) " >&6
  15522. -else
  15523. - cat >conftest.$ac_ext <<_ACEOF
  15524. -/* confdefs.h. */
  15525. -_ACEOF
  15526. -cat confdefs.h >>conftest.$ac_ext
  15527. -cat >>conftest.$ac_ext <<_ACEOF
  15528. -/* end confdefs.h. */
  15529. -#ifdef HAVE_INTTYPES_H
  15530. +
  15531. + ac_fn_c_check_decl "$LINENO" "db_create" "ac_cv_have_decl_db_create" "#ifdef HAVE_INTTYPES_H
  15532. #include <inttypes.h>
  15533. #endif
  15534. #include <db.h>
  15535. -
  15536. -int
  15537. -main ()
  15538. -{
  15539. -#ifndef db_create
  15540. - (void) db_create;
  15541. -#endif
  15542. -
  15543. - ;
  15544. - return 0;
  15545. -}
  15546. -_ACEOF
  15547. -rm -f conftest.$ac_objext
  15548. -if { (ac_try="$ac_compile"
  15549. -case "(($ac_try" in
  15550. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15551. - *) ac_try_echo=$ac_try;;
  15552. -esac
  15553. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15554. -$as_echo "$ac_try_echo") >&5
  15555. - (eval "$ac_compile") 2>conftest.er1
  15556. - ac_status=$?
  15557. - grep -v '^ *+' conftest.er1 >conftest.err
  15558. - rm -f conftest.er1
  15559. - cat conftest.err >&5
  15560. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15561. - (exit $ac_status); } && {
  15562. - test -z "$ac_c_werror_flag" ||
  15563. - test ! -s conftest.err
  15564. - } && test -s conftest.$ac_objext; then
  15565. - ac_cv_have_decl_db_create=yes
  15566. +"
  15567. +if test "x$ac_cv_have_decl_db_create" = x""yes; then :
  15568. + ac_have_decl=1
  15569. else
  15570. - $as_echo "$as_me: failed program was:" >&5
  15571. -sed 's/^/| /' conftest.$ac_ext >&5
  15572. -
  15573. - ac_cv_have_decl_db_create=no
  15574. + ac_have_decl=0
  15575. fi
  15576. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15577. -fi
  15578. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_db_create" >&5
  15579. -$as_echo "$ac_cv_have_decl_db_create" >&6; }
  15580. -if test "x$ac_cv_have_decl_db_create" = x""yes; then
  15581. -
  15582. cat >>confdefs.h <<_ACEOF
  15583. -#define HAVE_DECL_DB_CREATE 1
  15584. +#define HAVE_DECL_DB_CREATE $ac_have_decl
  15585. _ACEOF
  15586. -
  15587. +if test $ac_have_decl = 1; then :
  15588. else
  15589. - cat >>confdefs.h <<_ACEOF
  15590. -#define HAVE_DECL_DB_CREATE 0
  15591. -_ACEOF
  15592. -
  15593. -{ { $as_echo "$as_me:$LINENO: error: Can not locate a suitable Berkeley DB db.h header file.
  15594. -Use --with-libdb-prefix=PATH to specify the path to a v3+ install directory.
  15595. -You can download Berkeley DB 4.3.x from http://www.sleepycat.com/" >&5
  15596. -$as_echo "$as_me: error: Can not locate a suitable Berkeley DB db.h header file.
  15597. + as_fn_error "Can not locate a suitable Berkeley DB db.h header file.
  15598. Use --with-libdb-prefix=PATH to specify the path to a v3+ install directory.
  15599. -You can download Berkeley DB 4.3.x from http://www.sleepycat.com/" >&2;}
  15600. - { (exit 1); exit 1; }; }
  15601. +You can download Berkeley DB 4.3.x from http://www.sleepycat.com/" "$LINENO" 5
  15602. fi
  15603. -
  15604. - { $as_echo "$as_me:$LINENO: checking if Berkeley DB supports shared environments" >&5
  15605. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Berkeley DB supports shared environments" >&5
  15606. $as_echo_n "checking if Berkeley DB supports shared environments... " >&6; }
  15607. if test "x$enable_dbshared_test" != xno && test "x$USE_TRANSACTIONS" != xNO ; then
  15608. - if test "$cross_compiling" = yes; then
  15609. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  15610. + if test "$cross_compiling" = yes; then :
  15611. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  15612. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15613. -{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  15614. -See \`config.log' for more details." >&5
  15615. -$as_echo "$as_me: error: cannot run test program while cross compiling
  15616. -See \`config.log' for more details." >&2;}
  15617. - { (exit 1); exit 1; }; }; }
  15618. +as_fn_error "cannot run test program while cross compiling
  15619. +See \`config.log' for more details." "$LINENO" 5; }
  15620. else
  15621. - cat >conftest.$ac_ext <<_ACEOF
  15622. -/* confdefs.h. */
  15623. -_ACEOF
  15624. -cat confdefs.h >>conftest.$ac_ext
  15625. -cat >>conftest.$ac_ext <<_ACEOF
  15626. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15627. /* end confdefs.h. */
  15628. #ifdef HAVE_INTTYPES_H
  15629. @@ -14976,80 +9661,40 @@
  15630. return 0;
  15631. }
  15632. _ACEOF
  15633. -rm -f conftest$ac_exeext
  15634. -if { (ac_try="$ac_link"
  15635. -case "(($ac_try" in
  15636. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15637. - *) ac_try_echo=$ac_try;;
  15638. -esac
  15639. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15640. -$as_echo "$ac_try_echo") >&5
  15641. - (eval "$ac_link") 2>&5
  15642. - ac_status=$?
  15643. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15644. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  15645. - { (case "(($ac_try" in
  15646. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15647. - *) ac_try_echo=$ac_try;;
  15648. -esac
  15649. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15650. -$as_echo "$ac_try_echo") >&5
  15651. - (eval "$ac_try") 2>&5
  15652. - ac_status=$?
  15653. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15654. - (exit $ac_status); }; }; then
  15655. - :
  15656. -else
  15657. - $as_echo "$as_me: program exited with status $ac_status" >&5
  15658. -$as_echo "$as_me: failed program was:" >&5
  15659. -sed 's/^/| /' conftest.$ac_ext >&5
  15660. +if ac_fn_c_try_run "$LINENO"; then :
  15661. -( exit $ac_status )
  15662. -{ $as_echo "$as_me:$LINENO: result: no" >&5
  15663. +else
  15664. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15665. $as_echo "no" >&6; }
  15666. rm -r -f bfadtestdir
  15667. - { { $as_echo "$as_me:$LINENO: error:
  15668. -Cannot open a shared environment in Berkeley DB. This is a known problem
  15669. -on Fedora Core Linux. Build your own Berkeley DB installation and use
  15670. ---with-libdb-prefix to point bogofilter to it. Alternatively, you can
  15671. -use the unsafe non-transactional database by configuring with
  15672. ---disable-transactions.
  15673. -Packagers, if you are absolutely sure that the target system supports
  15674. -shared environments, you can use --disable-dbshared-test." >&5
  15675. -$as_echo "$as_me: error:
  15676. + as_fn_error "
  15677. Cannot open a shared environment in Berkeley DB. This is a known problem
  15678. on Fedora Core Linux. Build your own Berkeley DB installation and use
  15679. --with-libdb-prefix to point bogofilter to it. Alternatively, you can
  15680. use the unsafe non-transactional database by configuring with
  15681. --disable-transactions.
  15682. Packagers, if you are absolutely sure that the target system supports
  15683. -shared environments, you can use --disable-dbshared-test." >&2;}
  15684. - { (exit 1); exit 1; }; }
  15685. +shared environments, you can use --disable-dbshared-test." "$LINENO" 5
  15686. fi
  15687. -rm -rf conftest.dSYM
  15688. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15689. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15690. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  15691. fi
  15692. -
  15693. rm -r -f bfadtestdir
  15694. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  15695. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15696. $as_echo "yes" >&6; }
  15697. else
  15698. - { $as_echo "$as_me:$LINENO: result: skipped" >&5
  15699. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipped" >&5
  15700. $as_echo "skipped" >&6; }
  15701. fi
  15702. -cat >>confdefs.h <<\_ACEOF
  15703. -#define ENABLE_DB_DATASTORE 1
  15704. -_ACEOF
  15705. +$as_echo "#define ENABLE_DB_DATASTORE 1" >>confdefs.h
  15706. LIBS="$saveLIBS"
  15707. ;;
  15708. *)
  15709. - { { $as_echo "$as_me:$LINENO: error: Invalid --with-database argument. Supported engines are db, qdbm, sqlite3, tokyocabinet." >&5
  15710. -$as_echo "$as_me: error: Invalid --with-database argument. Supported engines are db, qdbm, sqlite3, tokyocabinet." >&2;}
  15711. - { (exit 1); exit 1; }; }
  15712. + as_fn_error "Invalid --with-database argument. Supported engines are db, qdbm, sqlite3, tokyocabinet." "$LINENO" 5
  15713. ;;
  15714. esac
  15715. @@ -15109,36 +9754,28 @@
  15716. if test "$BF_FORCE_TRIO" = "yes" ; then needtrio=1 ; ac_cv_func_vsnprintf=no ; ac_cv_func_snprintf=no ; fi
  15717. if test "x$ac_cv_func_snprintf" != "xyes" ; then
  15718. -cat >>confdefs.h <<\_ACEOF
  15719. -#define snprintf trio_snprintf
  15720. -_ACEOF
  15721. +$as_echo "#define snprintf trio_snprintf" >>confdefs.h
  15722. needtrio=1
  15723. fi
  15724. if test "x$ac_cv_func_vsnprintf" != "xyes" ; then
  15725. -cat >>confdefs.h <<\_ACEOF
  15726. -#define vsnprintf trio_vsnprintf
  15727. -_ACEOF
  15728. +$as_echo "#define vsnprintf trio_vsnprintf" >>confdefs.h
  15729. needtrio=1
  15730. fi
  15731. if test $needtrio -gt 0
  15732. then
  15733. - { $as_echo "$as_me:$LINENO: checking for IEEE compilation options" >&5
  15734. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IEEE compilation options" >&5
  15735. $as_echo_n "checking for IEEE compilation options... " >&6; }
  15736. - if test "${ac_cv_ieee_option+set}" = set; then
  15737. + if test "${ac_cv_ieee_option+set}" = set; then :
  15738. $as_echo_n "(cached) " >&6
  15739. else
  15740. ac_cv_ieee_option="none"
  15741. - cat >conftest.$ac_ext <<_ACEOF
  15742. -/* confdefs.h. */
  15743. -_ACEOF
  15744. -cat confdefs.h >>conftest.$ac_ext
  15745. -cat >>conftest.$ac_ext <<_ACEOF
  15746. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15747. /* end confdefs.h. */
  15748. int
  15749. @@ -15153,40 +9790,13 @@
  15750. return 0;
  15751. }
  15752. _ACEOF
  15753. -rm -f conftest.$ac_objext
  15754. -if { (ac_try="$ac_compile"
  15755. -case "(($ac_try" in
  15756. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15757. - *) ac_try_echo=$ac_try;;
  15758. -esac
  15759. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15760. -$as_echo "$ac_try_echo") >&5
  15761. - (eval "$ac_compile") 2>conftest.er1
  15762. - ac_status=$?
  15763. - grep -v '^ *+' conftest.er1 >conftest.err
  15764. - rm -f conftest.er1
  15765. - cat conftest.err >&5
  15766. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15767. - (exit $ac_status); } && {
  15768. - test -z "$ac_c_werror_flag" ||
  15769. - test ! -s conftest.err
  15770. - } && test -s conftest.$ac_objext; then
  15771. +if ac_fn_c_try_compile "$LINENO"; then :
  15772. ac_cv_ieee_option="/IEEE_MODE=UNDERFLOW_TO_ZERO/FLOAT=IEEE"
  15773. -else
  15774. - $as_echo "$as_me: failed program was:" >&5
  15775. -sed 's/^/| /' conftest.$ac_ext >&5
  15776. -
  15777. -
  15778. fi
  15779. -
  15780. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15781. if test $ac_cv_ieee_option = none ; then
  15782. - cat >conftest.$ac_ext <<_ACEOF
  15783. -/* confdefs.h. */
  15784. -_ACEOF
  15785. -cat confdefs.h >>conftest.$ac_ext
  15786. -cat >>conftest.$ac_ext <<_ACEOF
  15787. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15788. /* end confdefs.h. */
  15789. int
  15790. @@ -15201,41 +9811,14 @@
  15791. return 0;
  15792. }
  15793. _ACEOF
  15794. -rm -f conftest.$ac_objext
  15795. -if { (ac_try="$ac_compile"
  15796. -case "(($ac_try" in
  15797. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15798. - *) ac_try_echo=$ac_try;;
  15799. -esac
  15800. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15801. -$as_echo "$ac_try_echo") >&5
  15802. - (eval "$ac_compile") 2>conftest.er1
  15803. - ac_status=$?
  15804. - grep -v '^ *+' conftest.er1 >conftest.err
  15805. - rm -f conftest.er1
  15806. - cat conftest.err >&5
  15807. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15808. - (exit $ac_status); } && {
  15809. - test -z "$ac_c_werror_flag" ||
  15810. - test ! -s conftest.err
  15811. - } && test -s conftest.$ac_objext; then
  15812. +if ac_fn_c_try_compile "$LINENO"; then :
  15813. ac_cv_ieee_option="-ieee"
  15814. -else
  15815. - $as_echo "$as_me: failed program was:" >&5
  15816. -sed 's/^/| /' conftest.$ac_ext >&5
  15817. -
  15818. -
  15819. fi
  15820. -
  15821. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15822. fi
  15823. if test $ac_cv_ieee_option = none ; then
  15824. - cat >conftest.$ac_ext <<_ACEOF
  15825. -/* confdefs.h. */
  15826. -_ACEOF
  15827. -cat confdefs.h >>conftest.$ac_ext
  15828. -cat >>conftest.$ac_ext <<_ACEOF
  15829. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15830. /* end confdefs.h. */
  15831. int
  15832. @@ -15250,46 +9833,21 @@
  15833. return 0;
  15834. }
  15835. _ACEOF
  15836. -rm -f conftest.$ac_objext
  15837. -if { (ac_try="$ac_compile"
  15838. -case "(($ac_try" in
  15839. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15840. - *) ac_try_echo=$ac_try;;
  15841. -esac
  15842. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15843. -$as_echo "$ac_try_echo") >&5
  15844. - (eval "$ac_compile") 2>conftest.er1
  15845. - ac_status=$?
  15846. - grep -v '^ *+' conftest.er1 >conftest.err
  15847. - rm -f conftest.er1
  15848. - cat conftest.err >&5
  15849. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15850. - (exit $ac_status); } && {
  15851. - test -z "$ac_c_werror_flag" ||
  15852. - test ! -s conftest.err
  15853. - } && test -s conftest.$ac_objext; then
  15854. +if ac_fn_c_try_compile "$LINENO"; then :
  15855. ac_cv_ieee_option="-mieee"
  15856. -else
  15857. - $as_echo "$as_me: failed program was:" >&5
  15858. -sed 's/^/| /' conftest.$ac_ext >&5
  15859. -
  15860. -
  15861. fi
  15862. -
  15863. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15864. fi
  15865. fi
  15866. - { $as_echo "$as_me:$LINENO: result: $ac_cv_ieee_option" >&5
  15867. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ieee_option" >&5
  15868. $as_echo "$ac_cv_ieee_option" >&6; }
  15869. if test $ac_cv_ieee_option != none; then
  15870. CFLAGS="${CFLAGS} ${ac_cv_ieee_option}"
  15871. fi
  15872. -cat >>confdefs.h <<\_ACEOF
  15873. -#define NEEDTRIO 1
  15874. -_ACEOF
  15875. +$as_echo "#define NEEDTRIO 1" >>confdefs.h
  15876. fi
  15877. @@ -15304,9 +9862,9 @@
  15878. # Extract the first word of "xmlto", so it can be a program name with args.
  15879. set dummy xmlto; ac_word=$2
  15880. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  15881. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15882. $as_echo_n "checking for $ac_word... " >&6; }
  15883. -if test "${ac_cv_prog_ac_cv_enable_xmlto+set}" = set; then
  15884. +if test "${ac_cv_prog_ac_cv_enable_xmlto+set}" = set; then :
  15885. $as_echo_n "(cached) " >&6
  15886. else
  15887. if test -n "$ac_cv_enable_xmlto"; then
  15888. @@ -15317,14 +9875,14 @@
  15889. do
  15890. IFS=$as_save_IFS
  15891. test -z "$as_dir" && as_dir=.
  15892. - for ac_exec_ext in '' $ac_executable_extensions; do
  15893. + for ac_exec_ext in '' $ac_executable_extensions; do
  15894. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15895. ac_cv_prog_ac_cv_enable_xmlto="yes"
  15896. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15897. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15898. break 2
  15899. fi
  15900. done
  15901. -done
  15902. + done
  15903. IFS=$as_save_IFS
  15904. test -z "$ac_cv_prog_ac_cv_enable_xmlto" && ac_cv_prog_ac_cv_enable_xmlto="no"
  15905. @@ -15332,17 +9890,17 @@
  15906. fi
  15907. ac_cv_enable_xmlto=$ac_cv_prog_ac_cv_enable_xmlto
  15908. if test -n "$ac_cv_enable_xmlto"; then
  15909. - { $as_echo "$as_me:$LINENO: result: $ac_cv_enable_xmlto" >&5
  15910. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_xmlto" >&5
  15911. $as_echo "$ac_cv_enable_xmlto" >&6; }
  15912. else
  15913. - { $as_echo "$as_me:$LINENO: result: no" >&5
  15914. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15915. $as_echo "no" >&6; }
  15916. fi
  15917. -{ $as_echo "$as_me:$LINENO: checking whether xmlto is available" >&5
  15918. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xmlto is available" >&5
  15919. $as_echo_n "checking whether xmlto is available... " >&6; }
  15920. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_enable_xmlto" >&5
  15921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_xmlto" >&5
  15922. $as_echo "$ac_cv_enable_xmlto" >&6; }
  15923. if test x$ac_cv_enable_xmlto = xyes; then
  15924. @@ -15354,9 +9912,9 @@
  15925. fi
  15926. -{ $as_echo "$as_me:$LINENO: checking for extended floating point registers" >&5
  15927. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended floating point registers" >&5
  15928. $as_echo_n "checking for extended floating point registers... " >&6; }
  15929. -if test "${ac_cv_c_extended_fp+set}" = set; then
  15930. +if test "${ac_cv_c_extended_fp+set}" = set; then :
  15931. $as_echo_n "(cached) " >&6
  15932. else
  15933. case "$host" in
  15934. @@ -15370,13 +9928,11 @@
  15935. *) ac_cv_c_extended_fp=unknown ;;
  15936. esac
  15937. fi
  15938. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_extended_fp" >&5
  15939. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extended_fp" >&5
  15940. $as_echo "$ac_cv_c_extended_fp" >&6; }
  15941. if test $ac_cv_c_extended_fp != "no" ; then
  15942. - cat >>confdefs.h <<\_ACEOF
  15943. -#define HAVE_EXTENDED_PRECISION_REGISTERS 1
  15944. -_ACEOF
  15945. + $as_echo "#define HAVE_EXTENDED_PRECISION_REGISTERS 1" >>confdefs.h
  15946. fi
  15947. @@ -15384,7 +9940,6 @@
  15948. -
  15949. cat >confcache <<\_ACEOF
  15950. # This file is a shell script that caches the results of configure
  15951. # tests run on this system so they can be shared between configure
  15952. @@ -15412,13 +9967,13 @@
  15953. case $ac_val in #(
  15954. *${as_nl}*)
  15955. case $ac_var in #(
  15956. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  15957. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  15958. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  15959. esac
  15960. case $ac_var in #(
  15961. _ | IFS | as_nl) ;; #(
  15962. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  15963. - *) $as_unset $ac_var ;;
  15964. + *) { eval $ac_var=; unset $ac_var;} ;;
  15965. esac ;;
  15966. esac
  15967. done
  15968. @@ -15426,8 +9981,8 @@
  15969. (set) 2>&1 |
  15970. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  15971. *${as_nl}ac_space=\ *)
  15972. - # `set' does not quote correctly, so add quotes (double-quote
  15973. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  15974. + # `set' does not quote correctly, so add quotes: double-quote
  15975. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  15976. sed -n \
  15977. "s/'/'\\\\''/g;
  15978. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  15979. @@ -15450,11 +10005,11 @@
  15980. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  15981. if test -w "$cache_file"; then
  15982. test "x$cache_file" != "x/dev/null" &&
  15983. - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  15984. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  15985. $as_echo "$as_me: updating cache $cache_file" >&6;}
  15986. cat confcache >$cache_file
  15987. else
  15988. - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  15989. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  15990. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  15991. fi
  15992. fi
  15993. @@ -15469,25 +10024,25 @@
  15994. (
  15995. prefix=$ac_default_prefix
  15996. sysconfdir=`eval echo "$sysconfdir"`
  15997. - { $as_echo "$as_me:$LINENO: configuration directory is \"$sysconfdir\"." >&5
  15998. + { $as_echo "$as_me:${as_lineno-$LINENO}: configuration directory is \"$sysconfdir\"." >&5
  15999. $as_echo "$as_me: configuration directory is \"$sysconfdir\"." >&6;}
  16000. - { $as_echo "$as_me:$LINENO: use --sysconfdir to override." >&5
  16001. + { $as_echo "$as_me:${as_lineno-$LINENO}: use --sysconfdir to override." >&5
  16002. $as_echo "$as_me: use --sysconfdir to override." >&6;}
  16003. )
  16004. fi
  16005. -{ $as_echo "$as_me:$LINENO: -------------------------------------------------------------" >&5
  16006. +{ $as_echo "$as_me:${as_lineno-$LINENO}: -------------------------------------------------------------" >&5
  16007. $as_echo "$as_me: -------------------------------------------------------------" >&6;}
  16008. -{ $as_echo "$as_me:$LINENO: If you have multiple versions of GSL installed, this" >&5
  16009. +{ $as_echo "$as_me:${as_lineno-$LINENO}: If you have multiple versions of GSL installed, this" >&5
  16010. $as_echo "$as_me: If you have multiple versions of GSL installed, this" >&6;}
  16011. -{ $as_echo "$as_me:$LINENO: configure script will prefer the one in /lib or /usr/lib" >&5
  16012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: configure script will prefer the one in /lib or /usr/lib" >&5
  16013. $as_echo "$as_me: configure script will prefer the one in /lib or /usr/lib" >&6;}
  16014. -{ $as_echo "$as_me:$LINENO: to work around a bug in Linux ldconfig." >&5
  16015. +{ $as_echo "$as_me:${as_lineno-$LINENO}: to work around a bug in Linux ldconfig." >&5
  16016. $as_echo "$as_me: to work around a bug in Linux ldconfig." >&6;}
  16017. -{ $as_echo "$as_me:$LINENO: Deinstall the older GSL version if this behaviour annoys you." >&5
  16018. +{ $as_echo "$as_me:${as_lineno-$LINENO}: Deinstall the older GSL version if this behaviour annoys you." >&5
  16019. $as_echo "$as_me: Deinstall the older GSL version if this behaviour annoys you." >&6;}
  16020. -{ $as_echo "$as_me:$LINENO: -------------------------------------------------------------" >&5
  16021. +{ $as_echo "$as_me:${as_lineno-$LINENO}: -------------------------------------------------------------" >&5
  16022. $as_echo "$as_me: -------------------------------------------------------------" >&6;}
  16023. PATH_SAVED="$PATH"
  16024. @@ -15497,7 +10052,7 @@
  16025. need_my_gsl=1
  16026. # Check whether --with-included-gsl was given.
  16027. -if test "${with_included_gsl+set}" = set; then
  16028. +if test "${with_included_gsl+set}" = set; then :
  16029. withval=$with_included_gsl; if test "x$withval" = "xyes" ; then need_my_gsl=2 ; fi
  16030. fi
  16031. @@ -15506,7 +10061,7 @@
  16032. # Check whether --with-gsl-prefix was given.
  16033. -if test "${with_gsl_prefix+set}" = set; then
  16034. +if test "${with_gsl_prefix+set}" = set; then :
  16035. withval=$with_gsl_prefix; gsl_prefix="$withval"
  16036. else
  16037. gsl_prefix=""
  16038. @@ -15514,14 +10069,14 @@
  16039. # Check whether --with-gsl-exec-prefix was given.
  16040. -if test "${with_gsl_exec_prefix+set}" = set; then
  16041. +if test "${with_gsl_exec_prefix+set}" = set; then :
  16042. withval=$with_gsl_exec_prefix; gsl_exec_prefix="$withval"
  16043. else
  16044. gsl_exec_prefix=""
  16045. fi
  16046. # Check whether --enable-gsltest was given.
  16047. -if test "${enable_gsltest+set}" = set; then
  16048. +if test "${enable_gsltest+set}" = set; then :
  16049. enableval=$enable_gsltest;
  16050. else
  16051. enable_gsltest=yes
  16052. @@ -15539,9 +10094,9 @@
  16053. # Extract the first word of "gsl-config", so it can be a program name with args.
  16054. set dummy gsl-config; ac_word=$2
  16055. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  16056. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16057. $as_echo_n "checking for $ac_word... " >&6; }
  16058. -if test "${ac_cv_path_GSL_CONFIG+set}" = set; then
  16059. +if test "${ac_cv_path_GSL_CONFIG+set}" = set; then :
  16060. $as_echo_n "(cached) " >&6
  16061. else
  16062. case $GSL_CONFIG in
  16063. @@ -15554,14 +10109,14 @@
  16064. do
  16065. IFS=$as_save_IFS
  16066. test -z "$as_dir" && as_dir=.
  16067. - for ac_exec_ext in '' $ac_executable_extensions; do
  16068. + for ac_exec_ext in '' $ac_executable_extensions; do
  16069. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16070. ac_cv_path_GSL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  16071. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  16072. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16073. break 2
  16074. fi
  16075. done
  16076. -done
  16077. + done
  16078. IFS=$as_save_IFS
  16079. test -z "$ac_cv_path_GSL_CONFIG" && ac_cv_path_GSL_CONFIG="no"
  16080. @@ -15570,16 +10125,16 @@
  16081. fi
  16082. GSL_CONFIG=$ac_cv_path_GSL_CONFIG
  16083. if test -n "$GSL_CONFIG"; then
  16084. - { $as_echo "$as_me:$LINENO: result: $GSL_CONFIG" >&5
  16085. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSL_CONFIG" >&5
  16086. $as_echo "$GSL_CONFIG" >&6; }
  16087. else
  16088. - { $as_echo "$as_me:$LINENO: result: no" >&5
  16089. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16090. $as_echo "no" >&6; }
  16091. fi
  16092. min_gsl_version=1.4
  16093. - { $as_echo "$as_me:$LINENO: checking for GSL - version >= $min_gsl_version" >&5
  16094. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSL - version >= $min_gsl_version" >&5
  16095. $as_echo_n "checking for GSL - version >= $min_gsl_version... " >&6; }
  16096. no_gsl=""
  16097. if test "$GSL_CONFIG" = "no" ; then
  16098. @@ -15613,14 +10168,10 @@
  16099. LIBS="$LIBS $GSL_LIBS"
  16100. rm -f conf.gsltest
  16101. - if test "$cross_compiling" = yes; then
  16102. + if test "$cross_compiling" = yes; then :
  16103. echo $ac_n "cross compiling; assumed OK... $ac_c"
  16104. else
  16105. - cat >conftest.$ac_ext <<_ACEOF
  16106. -/* confdefs.h. */
  16107. -_ACEOF
  16108. -cat confdefs.h >>conftest.$ac_ext
  16109. -cat >>conftest.$ac_ext <<_ACEOF
  16110. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16111. /* end confdefs.h. */
  16112. #include <stdio.h>
  16113. @@ -15677,57 +10228,28 @@
  16114. _ACEOF
  16115. -rm -f conftest$ac_exeext
  16116. -if { (ac_try="$ac_link"
  16117. -case "(($ac_try" in
  16118. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16119. - *) ac_try_echo=$ac_try;;
  16120. -esac
  16121. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16122. -$as_echo "$ac_try_echo") >&5
  16123. - (eval "$ac_link") 2>&5
  16124. - ac_status=$?
  16125. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16126. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  16127. - { (case "(($ac_try" in
  16128. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16129. - *) ac_try_echo=$ac_try;;
  16130. -esac
  16131. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16132. -$as_echo "$ac_try_echo") >&5
  16133. - (eval "$ac_try") 2>&5
  16134. - ac_status=$?
  16135. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16136. - (exit $ac_status); }; }; then
  16137. - :
  16138. -else
  16139. - $as_echo "$as_me: program exited with status $ac_status" >&5
  16140. -$as_echo "$as_me: failed program was:" >&5
  16141. -sed 's/^/| /' conftest.$ac_ext >&5
  16142. +if ac_fn_c_try_run "$LINENO"; then :
  16143. -( exit $ac_status )
  16144. -no_gsl=yes
  16145. +else
  16146. + no_gsl=yes
  16147. fi
  16148. -rm -rf conftest.dSYM
  16149. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  16150. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16151. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16152. fi
  16153. -
  16154. CFLAGS="$ac_save_CFLAGS"
  16155. LIBS="$ac_save_LIBS"
  16156. fi
  16157. fi
  16158. if test "x$no_gsl" = x ; then
  16159. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  16160. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16161. $as_echo "yes" >&6; }
  16162. -cat >>confdefs.h <<\_ACEOF
  16163. -#define HAVE_GSL_14 /**/
  16164. -_ACEOF
  16165. +$as_echo "#define HAVE_GSL_14 /**/" >>confdefs.h
  16166. need_my_gsl=0
  16167. else
  16168. - { $as_echo "$as_me:$LINENO: result: no" >&5
  16169. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16170. $as_echo "no" >&6; }
  16171. if test "$GSL_CONFIG" != "no" ; then
  16172. if test -f conf.gsltest ; then
  16173. @@ -15736,11 +10258,7 @@
  16174. echo "*** Could not run GSL test program, checking why..."
  16175. CFLAGS="$CFLAGS $GSL_CFLAGS"
  16176. LIBS="$LIBS $GSL_LIBS"
  16177. - cat >conftest.$ac_ext <<_ACEOF
  16178. -/* confdefs.h. */
  16179. -_ACEOF
  16180. -cat confdefs.h >>conftest.$ac_ext
  16181. -cat >>conftest.$ac_ext <<_ACEOF
  16182. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16183. /* end confdefs.h. */
  16184. #include <stdio.h>
  16185. @@ -15753,27 +10271,7 @@
  16186. return 0;
  16187. }
  16188. _ACEOF
  16189. -rm -f conftest.$ac_objext conftest$ac_exeext
  16190. -if { (ac_try="$ac_link"
  16191. -case "(($ac_try" in
  16192. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16193. - *) ac_try_echo=$ac_try;;
  16194. -esac
  16195. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16196. -$as_echo "$ac_try_echo") >&5
  16197. - (eval "$ac_link") 2>conftest.er1
  16198. - ac_status=$?
  16199. - grep -v '^ *+' conftest.er1 >conftest.err
  16200. - rm -f conftest.er1
  16201. - cat conftest.err >&5
  16202. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16203. - (exit $ac_status); } && {
  16204. - test -z "$ac_c_werror_flag" ||
  16205. - test ! -s conftest.err
  16206. - } && test -s conftest$ac_exeext && {
  16207. - test "$cross_compiling" = yes ||
  16208. - $as_test_x conftest$ac_exeext
  16209. - }; then
  16210. +if ac_fn_c_try_link "$LINENO"; then :
  16211. echo "*** The test program compiled, but did not run. This usually means"
  16212. echo "*** that the run-time linker is not finding GSL or finding the wrong"
  16213. echo "*** version of GSL. If it is not finding GSL, you'll need to set your"
  16214. @@ -15784,18 +10282,13 @@
  16215. echo "*** If you have an old version installed, it is best to remove it, although"
  16216. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  16217. else
  16218. - $as_echo "$as_me: failed program was:" >&5
  16219. -sed 's/^/| /' conftest.$ac_ext >&5
  16220. -
  16221. - echo "*** The test program failed to compile or link. See the file config.log for the"
  16222. + echo "*** The test program failed to compile or link. See the file config.log for the"
  16223. echo "*** exact error that occured. This usually means GSL was incorrectly installed"
  16224. echo "*** or that you have moved GSL since it was installed. In the latter case, you"
  16225. echo "*** may want to edit the gsl-config script: $GSL_CONFIG"
  16226. fi
  16227. -
  16228. -rm -rf conftest.dSYM
  16229. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16230. - conftest$ac_exeext conftest.$ac_ext
  16231. +rm -f core conftest.err conftest.$ac_objext \
  16232. + conftest$ac_exeext conftest.$ac_ext
  16233. CFLAGS="$ac_save_CFLAGS"
  16234. LIBS="$ac_save_LIBS"
  16235. fi
  16236. @@ -15811,7 +10304,7 @@
  16237. # Check whether --with-gsl-prefix was given.
  16238. -if test "${with_gsl_prefix+set}" = set; then
  16239. +if test "${with_gsl_prefix+set}" = set; then :
  16240. withval=$with_gsl_prefix; gsl_prefix="$withval"
  16241. else
  16242. gsl_prefix=""
  16243. @@ -15819,14 +10312,14 @@
  16244. # Check whether --with-gsl-exec-prefix was given.
  16245. -if test "${with_gsl_exec_prefix+set}" = set; then
  16246. +if test "${with_gsl_exec_prefix+set}" = set; then :
  16247. withval=$with_gsl_exec_prefix; gsl_exec_prefix="$withval"
  16248. else
  16249. gsl_exec_prefix=""
  16250. fi
  16251. # Check whether --enable-gsltest was given.
  16252. -if test "${enable_gsltest+set}" = set; then
  16253. +if test "${enable_gsltest+set}" = set; then :
  16254. enableval=$enable_gsltest;
  16255. else
  16256. enable_gsltest=yes
  16257. @@ -15844,9 +10337,9 @@
  16258. # Extract the first word of "gsl-config", so it can be a program name with args.
  16259. set dummy gsl-config; ac_word=$2
  16260. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  16261. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16262. $as_echo_n "checking for $ac_word... " >&6; }
  16263. -if test "${ac_cv_path_GSL_CONFIG+set}" = set; then
  16264. +if test "${ac_cv_path_GSL_CONFIG+set}" = set; then :
  16265. $as_echo_n "(cached) " >&6
  16266. else
  16267. case $GSL_CONFIG in
  16268. @@ -15859,14 +10352,14 @@
  16269. do
  16270. IFS=$as_save_IFS
  16271. test -z "$as_dir" && as_dir=.
  16272. - for ac_exec_ext in '' $ac_executable_extensions; do
  16273. + for ac_exec_ext in '' $ac_executable_extensions; do
  16274. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16275. ac_cv_path_GSL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  16276. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  16277. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16278. break 2
  16279. fi
  16280. done
  16281. -done
  16282. + done
  16283. IFS=$as_save_IFS
  16284. test -z "$ac_cv_path_GSL_CONFIG" && ac_cv_path_GSL_CONFIG="no"
  16285. @@ -15875,16 +10368,16 @@
  16286. fi
  16287. GSL_CONFIG=$ac_cv_path_GSL_CONFIG
  16288. if test -n "$GSL_CONFIG"; then
  16289. - { $as_echo "$as_me:$LINENO: result: $GSL_CONFIG" >&5
  16290. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSL_CONFIG" >&5
  16291. $as_echo "$GSL_CONFIG" >&6; }
  16292. else
  16293. - { $as_echo "$as_me:$LINENO: result: no" >&5
  16294. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16295. $as_echo "no" >&6; }
  16296. fi
  16297. min_gsl_version=1.0
  16298. - { $as_echo "$as_me:$LINENO: checking for GSL - version >= $min_gsl_version" >&5
  16299. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSL - version >= $min_gsl_version" >&5
  16300. $as_echo_n "checking for GSL - version >= $min_gsl_version... " >&6; }
  16301. no_gsl=""
  16302. if test "$GSL_CONFIG" = "no" ; then
  16303. @@ -15918,14 +10411,10 @@
  16304. LIBS="$LIBS $GSL_LIBS"
  16305. rm -f conf.gsltest
  16306. - if test "$cross_compiling" = yes; then
  16307. + if test "$cross_compiling" = yes; then :
  16308. echo $ac_n "cross compiling; assumed OK... $ac_c"
  16309. else
  16310. - cat >conftest.$ac_ext <<_ACEOF
  16311. -/* confdefs.h. */
  16312. -_ACEOF
  16313. -cat confdefs.h >>conftest.$ac_ext
  16314. -cat >>conftest.$ac_ext <<_ACEOF
  16315. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16316. /* end confdefs.h. */
  16317. #include <stdio.h>
  16318. @@ -15977,62 +10466,33 @@
  16319. else
  16320. {
  16321. exit(1);
  16322. - }
  16323. -}
  16324. -
  16325. -
  16326. -_ACEOF
  16327. -rm -f conftest$ac_exeext
  16328. -if { (ac_try="$ac_link"
  16329. -case "(($ac_try" in
  16330. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16331. - *) ac_try_echo=$ac_try;;
  16332. -esac
  16333. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16334. -$as_echo "$ac_try_echo") >&5
  16335. - (eval "$ac_link") 2>&5
  16336. - ac_status=$?
  16337. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16338. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  16339. - { (case "(($ac_try" in
  16340. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16341. - *) ac_try_echo=$ac_try;;
  16342. -esac
  16343. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16344. -$as_echo "$ac_try_echo") >&5
  16345. - (eval "$ac_try") 2>&5
  16346. - ac_status=$?
  16347. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16348. - (exit $ac_status); }; }; then
  16349. - :
  16350. -else
  16351. - $as_echo "$as_me: program exited with status $ac_status" >&5
  16352. -$as_echo "$as_me: failed program was:" >&5
  16353. -sed 's/^/| /' conftest.$ac_ext >&5
  16354. + }
  16355. +}
  16356. +
  16357. +
  16358. +_ACEOF
  16359. +if ac_fn_c_try_run "$LINENO"; then :
  16360. -( exit $ac_status )
  16361. -no_gsl=yes
  16362. +else
  16363. + no_gsl=yes
  16364. fi
  16365. -rm -rf conftest.dSYM
  16366. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  16367. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16368. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16369. fi
  16370. -
  16371. CFLAGS="$ac_save_CFLAGS"
  16372. LIBS="$ac_save_LIBS"
  16373. fi
  16374. fi
  16375. if test "x$no_gsl" = x ; then
  16376. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  16377. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16378. $as_echo "yes" >&6; }
  16379. -cat >>confdefs.h <<\_ACEOF
  16380. -#define HAVE_GSL_10 /**/
  16381. -_ACEOF
  16382. +$as_echo "#define HAVE_GSL_10 /**/" >>confdefs.h
  16383. need_my_gsl=0
  16384. else
  16385. - { $as_echo "$as_me:$LINENO: result: no" >&5
  16386. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16387. $as_echo "no" >&6; }
  16388. if test "$GSL_CONFIG" != "no" ; then
  16389. if test -f conf.gsltest ; then
  16390. @@ -16041,11 +10501,7 @@
  16391. echo "*** Could not run GSL test program, checking why..."
  16392. CFLAGS="$CFLAGS $GSL_CFLAGS"
  16393. LIBS="$LIBS $GSL_LIBS"
  16394. - cat >conftest.$ac_ext <<_ACEOF
  16395. -/* confdefs.h. */
  16396. -_ACEOF
  16397. -cat confdefs.h >>conftest.$ac_ext
  16398. -cat >>conftest.$ac_ext <<_ACEOF
  16399. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16400. /* end confdefs.h. */
  16401. #include <stdio.h>
  16402. @@ -16058,27 +10514,7 @@
  16403. return 0;
  16404. }
  16405. _ACEOF
  16406. -rm -f conftest.$ac_objext conftest$ac_exeext
  16407. -if { (ac_try="$ac_link"
  16408. -case "(($ac_try" in
  16409. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16410. - *) ac_try_echo=$ac_try;;
  16411. -esac
  16412. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16413. -$as_echo "$ac_try_echo") >&5
  16414. - (eval "$ac_link") 2>conftest.er1
  16415. - ac_status=$?
  16416. - grep -v '^ *+' conftest.er1 >conftest.err
  16417. - rm -f conftest.er1
  16418. - cat conftest.err >&5
  16419. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16420. - (exit $ac_status); } && {
  16421. - test -z "$ac_c_werror_flag" ||
  16422. - test ! -s conftest.err
  16423. - } && test -s conftest$ac_exeext && {
  16424. - test "$cross_compiling" = yes ||
  16425. - $as_test_x conftest$ac_exeext
  16426. - }; then
  16427. +if ac_fn_c_try_link "$LINENO"; then :
  16428. echo "*** The test program compiled, but did not run. This usually means"
  16429. echo "*** that the run-time linker is not finding GSL or finding the wrong"
  16430. echo "*** version of GSL. If it is not finding GSL, you'll need to set your"
  16431. @@ -16089,18 +10525,13 @@
  16432. echo "*** If you have an old version installed, it is best to remove it, although"
  16433. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  16434. else
  16435. - $as_echo "$as_me: failed program was:" >&5
  16436. -sed 's/^/| /' conftest.$ac_ext >&5
  16437. -
  16438. - echo "*** The test program failed to compile or link. See the file config.log for the"
  16439. + echo "*** The test program failed to compile or link. See the file config.log for the"
  16440. echo "*** exact error that occured. This usually means GSL was incorrectly installed"
  16441. echo "*** or that you have moved GSL since it was installed. In the latter case, you"
  16442. echo "*** may want to edit the gsl-config script: $GSL_CONFIG"
  16443. fi
  16444. -
  16445. -rm -rf conftest.dSYM
  16446. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16447. - conftest$ac_exeext conftest.$ac_ext
  16448. +rm -f core conftest.err conftest.$ac_objext \
  16449. + conftest$ac_exeext conftest.$ac_ext
  16450. CFLAGS="$ac_save_CFLAGS"
  16451. LIBS="$ac_save_LIBS"
  16452. fi
  16453. @@ -16117,13 +10548,9 @@
  16454. if test "$need_my_gsl" != 0 ; then
  16455. GSL_LIBS="libbf_gsl.a"
  16456. - cat >>confdefs.h <<\_ACEOF
  16457. -#define HAVE_GSL_14 1
  16458. -_ACEOF
  16459. + $as_echo "#define HAVE_GSL_14 1" >>confdefs.h
  16460. - cat >>confdefs.h <<\_ACEOF
  16461. -#define HAVE_GSL_10 1
  16462. -_ACEOF
  16463. + $as_echo "#define HAVE_GSL_10 1" >>confdefs.h
  16464. fi
  16465. @@ -16173,35 +10600,23 @@
  16466. # Note the \\\\ for backslashes. Autoconf eats one layer, leaving \\
  16467. -cat >>confdefs.h <<\_ACEOF
  16468. -#define CURDIR_S "."
  16469. -_ACEOF
  16470. +$as_echo "#define CURDIR_S \".\"" >>confdefs.h
  16471. -cat >>confdefs.h <<\_ACEOF
  16472. -#define EXTSEP_S "."
  16473. -_ACEOF
  16474. +$as_echo "#define EXTSEP_S \".\"" >>confdefs.h
  16475. if test "$have_dosish_system" = no; then
  16476. -cat >>confdefs.h <<\_ACEOF
  16477. -#define DIRSEP_C '/'
  16478. -_ACEOF
  16479. +$as_echo "#define DIRSEP_C '/'" >>confdefs.h
  16480. -cat >>confdefs.h <<\_ACEOF
  16481. -#define DIRSEP_S "/"
  16482. -_ACEOF
  16483. +$as_echo "#define DIRSEP_S \"/\"" >>confdefs.h
  16484. else
  16485. -cat >>confdefs.h <<\_ACEOF
  16486. -#define DIRSEP_C '\\\\'
  16487. -_ACEOF
  16488. +$as_echo "#define DIRSEP_C '\\\\\\\\'" >>confdefs.h
  16489. -cat >>confdefs.h <<\_ACEOF
  16490. -#define DIRSEP_S "\\\\"
  16491. -_ACEOF
  16492. +$as_echo "#define DIRSEP_S \"\\\\\\\\\"" >>confdefs.h
  16493. fi
  16494. @@ -16234,13 +10649,13 @@
  16495. case $ac_val in #(
  16496. *${as_nl}*)
  16497. case $ac_var in #(
  16498. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  16499. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  16500. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  16501. esac
  16502. case $ac_var in #(
  16503. _ | IFS | as_nl) ;; #(
  16504. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  16505. - *) $as_unset $ac_var ;;
  16506. + *) { eval $ac_var=; unset $ac_var;} ;;
  16507. esac ;;
  16508. esac
  16509. done
  16510. @@ -16248,8 +10663,8 @@
  16511. (set) 2>&1 |
  16512. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  16513. *${as_nl}ac_space=\ *)
  16514. - # `set' does not quote correctly, so add quotes (double-quote
  16515. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  16516. + # `set' does not quote correctly, so add quotes: double-quote
  16517. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  16518. sed -n \
  16519. "s/'/'\\\\''/g;
  16520. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  16521. @@ -16272,11 +10687,11 @@
  16522. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  16523. if test -w "$cache_file"; then
  16524. test "x$cache_file" != "x/dev/null" &&
  16525. - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  16526. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  16527. $as_echo "$as_me: updating cache $cache_file" >&6;}
  16528. cat confcache >$cache_file
  16529. else
  16530. - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  16531. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  16532. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  16533. fi
  16534. fi
  16535. @@ -16296,148 +10711,103 @@
  16536. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  16537. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  16538. # will be set to the directory where LIBOBJS objects are built.
  16539. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  16540. - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  16541. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  16542. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  16543. done
  16544. LIBOBJS=$ac_libobjs
  16545. LTLIBOBJS=$ac_ltlibobjs
  16546. + if test -n "$EXEEXT"; then
  16547. + am__EXEEXT_TRUE=
  16548. + am__EXEEXT_FALSE='#'
  16549. +else
  16550. + am__EXEEXT_TRUE='#'
  16551. + am__EXEEXT_FALSE=
  16552. +fi
  16553. +
  16554. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  16555. - { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  16556. -Usually this means the macro was only invoked conditionally." >&5
  16557. -$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
  16558. -Usually this means the macro was only invoked conditionally." >&2;}
  16559. - { (exit 1); exit 1; }; }
  16560. + as_fn_error "conditional \"AMDEP\" was never defined.
  16561. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16562. fi
  16563. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  16564. - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  16565. -Usually this means the macro was only invoked conditionally." >&5
  16566. -$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  16567. -Usually this means the macro was only invoked conditionally." >&2;}
  16568. - { (exit 1); exit 1; }; }
  16569. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  16570. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16571. fi
  16572. if test -z "${USE_GCC4_TRUE}" && test -z "${USE_GCC4_FALSE}"; then
  16573. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_GCC4\" was never defined.
  16574. -Usually this means the macro was only invoked conditionally." >&5
  16575. -$as_echo "$as_me: error: conditional \"USE_GCC4\" was never defined.
  16576. -Usually this means the macro was only invoked conditionally." >&2;}
  16577. - { (exit 1); exit 1; }; }
  16578. + as_fn_error "conditional \"USE_GCC4\" was never defined.
  16579. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16580. fi
  16581. if test -z "${PATCH_FLEX_254_TRUE}" && test -z "${PATCH_FLEX_254_FALSE}"; then
  16582. - { { $as_echo "$as_me:$LINENO: error: conditional \"PATCH_FLEX_254\" was never defined.
  16583. -Usually this means the macro was only invoked conditionally." >&5
  16584. -$as_echo "$as_me: error: conditional \"PATCH_FLEX_254\" was never defined.
  16585. -Usually this means the macro was only invoked conditionally." >&2;}
  16586. - { (exit 1); exit 1; }; }
  16587. + as_fn_error "conditional \"PATCH_FLEX_254\" was never defined.
  16588. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16589. fi
  16590. if test -z "${PATCH_FLEX_253X_TRUE}" && test -z "${PATCH_FLEX_253X_FALSE}"; then
  16591. - { { $as_echo "$as_me:$LINENO: error: conditional \"PATCH_FLEX_253X\" was never defined.
  16592. -Usually this means the macro was only invoked conditionally." >&5
  16593. -$as_echo "$as_me: error: conditional \"PATCH_FLEX_253X\" was never defined.
  16594. -Usually this means the macro was only invoked conditionally." >&2;}
  16595. - { (exit 1); exit 1; }; }
  16596. + as_fn_error "conditional \"PATCH_FLEX_253X\" was never defined.
  16597. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16598. fi
  16599. if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then
  16600. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_STATIC\" was never defined.
  16601. -Usually this means the macro was only invoked conditionally." >&5
  16602. -$as_echo "$as_me: error: conditional \"ENABLE_STATIC\" was never defined.
  16603. -Usually this means the macro was only invoked conditionally." >&2;}
  16604. - { (exit 1); exit 1; }; }
  16605. + as_fn_error "conditional \"ENABLE_STATIC\" was never defined.
  16606. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16607. fi
  16608. if test -z "${DISABLE_UNICODE_TRUE}" && test -z "${DISABLE_UNICODE_FALSE}"; then
  16609. - { { $as_echo "$as_me:$LINENO: error: conditional \"DISABLE_UNICODE\" was never defined.
  16610. -Usually this means the macro was only invoked conditionally." >&5
  16611. -$as_echo "$as_me: error: conditional \"DISABLE_UNICODE\" was never defined.
  16612. -Usually this means the macro was only invoked conditionally." >&2;}
  16613. - { (exit 1); exit 1; }; }
  16614. + as_fn_error "conditional \"DISABLE_UNICODE\" was never defined.
  16615. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16616. fi
  16617. if test -z "${ENABLE_UNICODE_TRUE}" && test -z "${ENABLE_UNICODE_FALSE}"; then
  16618. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_UNICODE\" was never defined.
  16619. -Usually this means the macro was only invoked conditionally." >&5
  16620. -$as_echo "$as_me: error: conditional \"ENABLE_UNICODE\" was never defined.
  16621. -Usually this means the macro was only invoked conditionally." >&2;}
  16622. - { (exit 1); exit 1; }; }
  16623. + as_fn_error "conditional \"ENABLE_UNICODE\" was never defined.
  16624. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16625. fi
  16626. if test -z "${ENABLE_MEMDEBUG_TRUE}" && test -z "${ENABLE_MEMDEBUG_FALSE}"; then
  16627. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_MEMDEBUG\" was never defined.
  16628. -Usually this means the macro was only invoked conditionally." >&5
  16629. -$as_echo "$as_me: error: conditional \"ENABLE_MEMDEBUG\" was never defined.
  16630. -Usually this means the macro was only invoked conditionally." >&2;}
  16631. - { (exit 1); exit 1; }; }
  16632. + as_fn_error "conditional \"ENABLE_MEMDEBUG\" was never defined.
  16633. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16634. fi
  16635. if test -z "${DISABLE_TRANSACTIONS_TRUE}" && test -z "${DISABLE_TRANSACTIONS_FALSE}"; then
  16636. - { { $as_echo "$as_me:$LINENO: error: conditional \"DISABLE_TRANSACTIONS\" was never defined.
  16637. -Usually this means the macro was only invoked conditionally." >&5
  16638. -$as_echo "$as_me: error: conditional \"DISABLE_TRANSACTIONS\" was never defined.
  16639. -Usually this means the macro was only invoked conditionally." >&2;}
  16640. - { (exit 1); exit 1; }; }
  16641. + as_fn_error "conditional \"DISABLE_TRANSACTIONS\" was never defined.
  16642. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16643. fi
  16644. if test -z "${ENABLE_TRANSACTIONS_TRUE}" && test -z "${ENABLE_TRANSACTIONS_FALSE}"; then
  16645. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_TRANSACTIONS\" was never defined.
  16646. -Usually this means the macro was only invoked conditionally." >&5
  16647. -$as_echo "$as_me: error: conditional \"ENABLE_TRANSACTIONS\" was never defined.
  16648. -Usually this means the macro was only invoked conditionally." >&2;}
  16649. - { (exit 1); exit 1; }; }
  16650. + as_fn_error "conditional \"ENABLE_TRANSACTIONS\" was never defined.
  16651. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16652. fi
  16653. if test -z "${ENABLE_QDBM_DATASTORE_TRUE}" && test -z "${ENABLE_QDBM_DATASTORE_FALSE}"; then
  16654. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_QDBM_DATASTORE\" was never defined.
  16655. -Usually this means the macro was only invoked conditionally." >&5
  16656. -$as_echo "$as_me: error: conditional \"ENABLE_QDBM_DATASTORE\" was never defined.
  16657. -Usually this means the macro was only invoked conditionally." >&2;}
  16658. - { (exit 1); exit 1; }; }
  16659. + as_fn_error "conditional \"ENABLE_QDBM_DATASTORE\" was never defined.
  16660. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16661. fi
  16662. if test -z "${ENABLE_SQLITE_DATASTORE_TRUE}" && test -z "${ENABLE_SQLITE_DATASTORE_FALSE}"; then
  16663. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SQLITE_DATASTORE\" was never defined.
  16664. -Usually this means the macro was only invoked conditionally." >&5
  16665. -$as_echo "$as_me: error: conditional \"ENABLE_SQLITE_DATASTORE\" was never defined.
  16666. -Usually this means the macro was only invoked conditionally." >&2;}
  16667. - { (exit 1); exit 1; }; }
  16668. + as_fn_error "conditional \"ENABLE_SQLITE_DATASTORE\" was never defined.
  16669. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16670. fi
  16671. if test -z "${ENABLE_TOKYOCABINET_DATASTORE_TRUE}" && test -z "${ENABLE_TOKYOCABINET_DATASTORE_FALSE}"; then
  16672. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_TOKYOCABINET_DATASTORE\" was never defined.
  16673. -Usually this means the macro was only invoked conditionally." >&5
  16674. -$as_echo "$as_me: error: conditional \"ENABLE_TOKYOCABINET_DATASTORE\" was never defined.
  16675. -Usually this means the macro was only invoked conditionally." >&2;}
  16676. - { (exit 1); exit 1; }; }
  16677. + as_fn_error "conditional \"ENABLE_TOKYOCABINET_DATASTORE\" was never defined.
  16678. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16679. fi
  16680. if test -z "${NEEDTRIO_TRUE}" && test -z "${NEEDTRIO_FALSE}"; then
  16681. - { { $as_echo "$as_me:$LINENO: error: conditional \"NEEDTRIO\" was never defined.
  16682. -Usually this means the macro was only invoked conditionally." >&5
  16683. -$as_echo "$as_me: error: conditional \"NEEDTRIO\" was never defined.
  16684. -Usually this means the macro was only invoked conditionally." >&2;}
  16685. - { (exit 1); exit 1; }; }
  16686. + as_fn_error "conditional \"NEEDTRIO\" was never defined.
  16687. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16688. fi
  16689. if test -z "${ENABLE_XMLTO_TRUE}" && test -z "${ENABLE_XMLTO_FALSE}"; then
  16690. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_XMLTO\" was never defined.
  16691. -Usually this means the macro was only invoked conditionally." >&5
  16692. -$as_echo "$as_me: error: conditional \"ENABLE_XMLTO\" was never defined.
  16693. -Usually this means the macro was only invoked conditionally." >&2;}
  16694. - { (exit 1); exit 1; }; }
  16695. + as_fn_error "conditional \"ENABLE_XMLTO\" was never defined.
  16696. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16697. fi
  16698. if test -z "${NEED_GSL_TRUE}" && test -z "${NEED_GSL_FALSE}"; then
  16699. - { { $as_echo "$as_me:$LINENO: error: conditional \"NEED_GSL\" was never defined.
  16700. -Usually this means the macro was only invoked conditionally." >&5
  16701. -$as_echo "$as_me: error: conditional \"NEED_GSL\" was never defined.
  16702. -Usually this means the macro was only invoked conditionally." >&2;}
  16703. - { (exit 1); exit 1; }; }
  16704. + as_fn_error "conditional \"NEED_GSL\" was never defined.
  16705. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16706. fi
  16707. if test -z "${NEED_GETOPT_TRUE}" && test -z "${NEED_GETOPT_FALSE}"; then
  16708. - { { $as_echo "$as_me:$LINENO: error: conditional \"NEED_GETOPT\" was never defined.
  16709. -Usually this means the macro was only invoked conditionally." >&5
  16710. -$as_echo "$as_me: error: conditional \"NEED_GETOPT\" was never defined.
  16711. -Usually this means the macro was only invoked conditionally." >&2;}
  16712. - { (exit 1); exit 1; }; }
  16713. + as_fn_error "conditional \"NEED_GETOPT\" was never defined.
  16714. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  16715. fi
  16716. : ${CONFIG_STATUS=./config.status}
  16717. ac_write_fail=0
  16718. ac_clean_files_save=$ac_clean_files
  16719. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  16720. -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  16721. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  16722. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  16723. -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16724. +as_write_fail=0
  16725. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  16726. #! $SHELL
  16727. # Generated by $as_me.
  16728. # Run this file to recreate the current configuration.
  16729. @@ -16447,17 +10817,18 @@
  16730. debug=false
  16731. ac_cs_recheck=false
  16732. ac_cs_silent=false
  16733. -SHELL=\${CONFIG_SHELL-$SHELL}
  16734. -_ACEOF
  16735. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16736. -## --------------------- ##
  16737. -## M4sh Initialization. ##
  16738. -## --------------------- ##
  16739. +SHELL=\${CONFIG_SHELL-$SHELL}
  16740. +export SHELL
  16741. +_ASEOF
  16742. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  16743. +## -------------------- ##
  16744. +## M4sh Initialization. ##
  16745. +## -------------------- ##
  16746. # Be more Bourne compatible
  16747. DUALCASE=1; export DUALCASE # for MKS sh
  16748. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16749. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  16750. emulate sh
  16751. NULLCMD=:
  16752. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  16753. @@ -16465,23 +10836,15 @@
  16754. alias -g '${1+"$@"}'='"$@"'
  16755. setopt NO_GLOB_SUBST
  16756. else
  16757. - case `(set -o) 2>/dev/null` in
  16758. - *posix*) set -o posix ;;
  16759. + case `(set -o) 2>/dev/null` in #(
  16760. + *posix*) :
  16761. + set -o posix ;; #(
  16762. + *) :
  16763. + ;;
  16764. esac
  16765. -
  16766. fi
  16767. -
  16768. -
  16769. -# PATH needs CR
  16770. -# Avoid depending upon Character Ranges.
  16771. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  16772. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  16773. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  16774. -as_cr_digits='0123456789'
  16775. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  16776. -
  16777. as_nl='
  16778. '
  16779. export as_nl
  16780. @@ -16489,7 +10852,13 @@
  16781. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  16782. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  16783. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  16784. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  16785. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  16786. +# but without wasting forks for bash or zsh.
  16787. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  16788. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  16789. + as_echo='print -r --'
  16790. + as_echo_n='print -rn --'
  16791. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  16792. as_echo='printf %s\n'
  16793. as_echo_n='printf %s'
  16794. else
  16795. @@ -16500,7 +10869,7 @@
  16796. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  16797. as_echo_n_body='eval
  16798. arg=$1;
  16799. - case $arg in
  16800. + case $arg in #(
  16801. *"$as_nl"*)
  16802. expr "X$arg" : "X\\(.*\\)$as_nl";
  16803. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  16804. @@ -16523,13 +10892,6 @@
  16805. }
  16806. fi
  16807. -# Support unset when possible.
  16808. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  16809. - as_unset=unset
  16810. -else
  16811. - as_unset=false
  16812. -fi
  16813. -
  16814. # IFS
  16815. # We need space, tab and new line, in precisely that order. Quoting is
  16816. @@ -16539,15 +10901,15 @@
  16817. IFS=" "" $as_nl"
  16818. # Find who we are. Look in the path if we contain no directory separator.
  16819. -case $0 in
  16820. +case $0 in #((
  16821. *[\\/]* ) as_myself=$0 ;;
  16822. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16823. for as_dir in $PATH
  16824. do
  16825. IFS=$as_save_IFS
  16826. test -z "$as_dir" && as_dir=.
  16827. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  16828. -done
  16829. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  16830. + done
  16831. IFS=$as_save_IFS
  16832. ;;
  16833. @@ -16559,12 +10921,16 @@
  16834. fi
  16835. if test ! -f "$as_myself"; then
  16836. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  16837. - { (exit 1); exit 1; }
  16838. + exit 1
  16839. fi
  16840. -# Work around bugs in pre-3.0 UWIN ksh.
  16841. -for as_var in ENV MAIL MAILPATH
  16842. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  16843. +# Unset variables that we do not need and which cause bugs (e.g. in
  16844. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  16845. +# suppresses any "Segmentation fault" message there. '((' could
  16846. +# trigger a bug in pdksh 5.2.14.
  16847. +for as_var in BASH_ENV ENV MAIL MAILPATH
  16848. +do eval test x\${$as_var+set} = xset \
  16849. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  16850. done
  16851. PS1='$ '
  16852. PS2='> '
  16853. @@ -16576,7 +10942,89 @@
  16854. LANGUAGE=C
  16855. export LANGUAGE
  16856. -# Required to use basename.
  16857. +# CDPATH.
  16858. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  16859. +
  16860. +
  16861. +# as_fn_error ERROR [LINENO LOG_FD]
  16862. +# ---------------------------------
  16863. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  16864. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  16865. +# script with status $?, using 1 if that was 0.
  16866. +as_fn_error ()
  16867. +{
  16868. + as_status=$?; test $as_status -eq 0 && as_status=1
  16869. + if test "$3"; then
  16870. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  16871. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  16872. + fi
  16873. + $as_echo "$as_me: error: $1" >&2
  16874. + as_fn_exit $as_status
  16875. +} # as_fn_error
  16876. +
  16877. +
  16878. +# as_fn_set_status STATUS
  16879. +# -----------------------
  16880. +# Set $? to STATUS, without forking.
  16881. +as_fn_set_status ()
  16882. +{
  16883. + return $1
  16884. +} # as_fn_set_status
  16885. +
  16886. +# as_fn_exit STATUS
  16887. +# -----------------
  16888. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  16889. +as_fn_exit ()
  16890. +{
  16891. + set +e
  16892. + as_fn_set_status $1
  16893. + exit $1
  16894. +} # as_fn_exit
  16895. +
  16896. +# as_fn_unset VAR
  16897. +# ---------------
  16898. +# Portably unset VAR.
  16899. +as_fn_unset ()
  16900. +{
  16901. + { eval $1=; unset $1;}
  16902. +}
  16903. +as_unset=as_fn_unset
  16904. +# as_fn_append VAR VALUE
  16905. +# ----------------------
  16906. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  16907. +# advantage of any shell optimizations that allow amortized linear growth over
  16908. +# repeated appends, instead of the typical quadratic growth present in naive
  16909. +# implementations.
  16910. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  16911. + eval 'as_fn_append ()
  16912. + {
  16913. + eval $1+=\$2
  16914. + }'
  16915. +else
  16916. + as_fn_append ()
  16917. + {
  16918. + eval $1=\$$1\$2
  16919. + }
  16920. +fi # as_fn_append
  16921. +
  16922. +# as_fn_arith ARG...
  16923. +# ------------------
  16924. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  16925. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  16926. +# must be portable across $(()) and expr.
  16927. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  16928. + eval 'as_fn_arith ()
  16929. + {
  16930. + as_val=$(( $* ))
  16931. + }'
  16932. +else
  16933. + as_fn_arith ()
  16934. + {
  16935. + as_val=`expr "$@" || test $? -eq 1`
  16936. + }
  16937. +fi # as_fn_arith
  16938. +
  16939. +
  16940. if expr a : '\(a\)' >/dev/null 2>&1 &&
  16941. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  16942. as_expr=expr
  16943. @@ -16590,8 +11038,12 @@
  16944. as_basename=false
  16945. fi
  16946. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  16947. + as_dirname=dirname
  16948. +else
  16949. + as_dirname=false
  16950. +fi
  16951. -# Name of the executable.
  16952. as_me=`$as_basename -- "$0" ||
  16953. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  16954. X"$0" : 'X\(//\)$' \| \
  16955. @@ -16611,76 +11063,25 @@
  16956. }
  16957. s/.*/./; q'`
  16958. -# CDPATH.
  16959. -$as_unset CDPATH
  16960. -
  16961. -
  16962. -
  16963. - as_lineno_1=$LINENO
  16964. - as_lineno_2=$LINENO
  16965. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  16966. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  16967. -
  16968. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  16969. - # uniformly replaced by the line number. The first 'sed' inserts a
  16970. - # line-number line after each line using $LINENO; the second 'sed'
  16971. - # does the real work. The second script uses 'N' to pair each
  16972. - # line-number line with the line containing $LINENO, and appends
  16973. - # trailing '-' during substitution so that $LINENO is not a special
  16974. - # case at line end.
  16975. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  16976. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  16977. - # E. McMahon (1931-1989) for sed's syntax. :-)
  16978. - sed -n '
  16979. - p
  16980. - /[$]LINENO/=
  16981. - ' <$as_myself |
  16982. - sed '
  16983. - s/[$]LINENO.*/&-/
  16984. - t lineno
  16985. - b
  16986. - :lineno
  16987. - N
  16988. - :loop
  16989. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  16990. - t loop
  16991. - s/-\n.*//
  16992. - ' >$as_me.lineno &&
  16993. - chmod +x "$as_me.lineno" ||
  16994. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  16995. - { (exit 1); exit 1; }; }
  16996. -
  16997. - # Don't try to exec as it changes $[0], causing all sort of problems
  16998. - # (the dirname of $[0] is not the place where we might find the
  16999. - # original and so on. Autoconf is especially sensitive to this).
  17000. - . "./$as_me.lineno"
  17001. - # Exit status is that of the last command.
  17002. - exit
  17003. -}
  17004. -
  17005. -
  17006. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  17007. - as_dirname=dirname
  17008. -else
  17009. - as_dirname=false
  17010. -fi
  17011. +# Avoid depending upon Character Ranges.
  17012. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  17013. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  17014. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  17015. +as_cr_digits='0123456789'
  17016. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  17017. ECHO_C= ECHO_N= ECHO_T=
  17018. -case `echo -n x` in
  17019. +case `echo -n x` in #(((((
  17020. -n*)
  17021. - case `echo 'x\c'` in
  17022. + case `echo 'xy\c'` in
  17023. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  17024. - *) ECHO_C='\c';;
  17025. + xy) ECHO_C='\c';;
  17026. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  17027. + ECHO_T=' ';;
  17028. esac;;
  17029. *)
  17030. ECHO_N='-n';;
  17031. esac
  17032. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  17033. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  17034. - as_expr=expr
  17035. -else
  17036. - as_expr=false
  17037. -fi
  17038. rm -f conf$$ conf$$.exe conf$$.file
  17039. if test -d conf$$.dir; then
  17040. @@ -16709,8 +11110,56 @@
  17041. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  17042. rmdir conf$$.dir 2>/dev/null
  17043. +
  17044. +# as_fn_mkdir_p
  17045. +# -------------
  17046. +# Create "$as_dir" as a directory, including parents if necessary.
  17047. +as_fn_mkdir_p ()
  17048. +{
  17049. +
  17050. + case $as_dir in #(
  17051. + -*) as_dir=./$as_dir;;
  17052. + esac
  17053. + test -d "$as_dir" || eval $as_mkdir_p || {
  17054. + as_dirs=
  17055. + while :; do
  17056. + case $as_dir in #(
  17057. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  17058. + *) as_qdir=$as_dir;;
  17059. + esac
  17060. + as_dirs="'$as_qdir' $as_dirs"
  17061. + as_dir=`$as_dirname -- "$as_dir" ||
  17062. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17063. + X"$as_dir" : 'X\(//\)[^/]' \| \
  17064. + X"$as_dir" : 'X\(//\)$' \| \
  17065. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  17066. +$as_echo X"$as_dir" |
  17067. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17068. + s//\1/
  17069. + q
  17070. + }
  17071. + /^X\(\/\/\)[^/].*/{
  17072. + s//\1/
  17073. + q
  17074. + }
  17075. + /^X\(\/\/\)$/{
  17076. + s//\1/
  17077. + q
  17078. + }
  17079. + /^X\(\/\).*/{
  17080. + s//\1/
  17081. + q
  17082. + }
  17083. + s/.*/./; q'`
  17084. + test -d "$as_dir" && break
  17085. + done
  17086. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  17087. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  17088. +
  17089. +
  17090. +} # as_fn_mkdir_p
  17091. if mkdir -p . 2>/dev/null; then
  17092. - as_mkdir_p=:
  17093. + as_mkdir_p='mkdir -p "$as_dir"'
  17094. else
  17095. test -d ./-p && rmdir ./-p
  17096. as_mkdir_p=false
  17097. @@ -16729,10 +11178,10 @@
  17098. if test -d "$1"; then
  17099. test -d "$1/.";
  17100. else
  17101. - case $1 in
  17102. + case $1 in #(
  17103. -*)set "./$1";;
  17104. esac;
  17105. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  17106. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  17107. ???[sx]*):;;*)false;;esac;fi
  17108. '\'' sh
  17109. '
  17110. @@ -16747,13 +11196,19 @@
  17111. exec 6>&1
  17112. +## ----------------------------------- ##
  17113. +## Main body of $CONFIG_STATUS script. ##
  17114. +## ----------------------------------- ##
  17115. +_ASEOF
  17116. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  17117. -# Save the log message, to keep $[0] and so on meaningful, and to
  17118. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  17119. +# Save the log message, to keep $0 and so on meaningful, and to
  17120. # report actual input values of CONFIG_FILES etc. instead of their
  17121. # values after options handling.
  17122. ac_log="
  17123. This file was extended by bogofilter $as_me 1.2.0, which was
  17124. -generated by GNU Autoconf 2.63. Invocation command line was
  17125. +generated by GNU Autoconf 2.65. Invocation command line was
  17126. CONFIG_FILES = $CONFIG_FILES
  17127. CONFIG_HEADERS = $CONFIG_HEADERS
  17128. @@ -16785,13 +11240,15 @@
  17129. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  17130. ac_cs_usage="\
  17131. -\`$as_me' instantiates files from templates according to the
  17132. -current configuration.
  17133. +\`$as_me' instantiates files and other configuration actions
  17134. +from templates according to the current configuration. Unless the files
  17135. +and actions are specified as TAGs, all are instantiated by default.
  17136. -Usage: $0 [OPTION]... [FILE]...
  17137. +Usage: $0 [OPTION]... [TAG]...
  17138. -h, --help print this help, then exit
  17139. -V, --version print version number and configuration settings, then exit
  17140. + --config print configuration, then exit
  17141. -q, --quiet, --silent
  17142. do not print progress messages
  17143. -d, --debug don't remove temporary files
  17144. @@ -16810,16 +11267,17 @@
  17145. Configuration commands:
  17146. $config_commands
  17147. -Report bugs to <bug-autoconf@gnu.org>."
  17148. +Report bugs to the package provider."
  17149. _ACEOF
  17150. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  17151. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  17152. ac_cs_version="\\
  17153. bogofilter config.status 1.2.0
  17154. -configured by $0, generated by GNU Autoconf 2.63,
  17155. - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  17156. +configured by $0, generated by GNU Autoconf 2.65,
  17157. + with options \\"\$ac_cs_config\\"
  17158. -Copyright (C) 2008 Free Software Foundation, Inc.
  17159. +Copyright (C) 2009 Free Software Foundation, Inc.
  17160. This config.status script is free software; the Free Software Foundation
  17161. gives unlimited permission to copy, distribute and modify it."
  17162. @@ -16855,6 +11313,8 @@
  17163. ac_cs_recheck=: ;;
  17164. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  17165. $as_echo "$ac_cs_version"; exit ;;
  17166. + --config | --confi | --conf | --con | --co | --c )
  17167. + $as_echo "$ac_cs_config"; exit ;;
  17168. --debug | --debu | --deb | --de | --d | -d )
  17169. debug=: ;;
  17170. --file | --fil | --fi | --f )
  17171. @@ -16862,20 +11322,19 @@
  17172. case $ac_optarg in
  17173. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  17174. esac
  17175. - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  17176. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  17177. ac_need_defaults=false;;
  17178. --header | --heade | --head | --hea )
  17179. $ac_shift
  17180. case $ac_optarg in
  17181. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  17182. esac
  17183. - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  17184. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  17185. ac_need_defaults=false;;
  17186. --he | --h)
  17187. # Conflict between --help and --header
  17188. - { $as_echo "$as_me: error: ambiguous option: $1
  17189. -Try \`$0 --help' for more information." >&2
  17190. - { (exit 1); exit 1; }; };;
  17191. + as_fn_error "ambiguous option: \`$1'
  17192. +Try \`$0 --help' for more information.";;
  17193. --help | --hel | -h )
  17194. $as_echo "$ac_cs_usage"; exit ;;
  17195. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  17196. @@ -16883,11 +11342,10 @@
  17197. ac_cs_silent=: ;;
  17198. # This is an error.
  17199. - -*) { $as_echo "$as_me: error: unrecognized option: $1
  17200. -Try \`$0 --help' for more information." >&2
  17201. - { (exit 1); exit 1; }; } ;;
  17202. + -*) as_fn_error "unrecognized option: \`$1'
  17203. +Try \`$0 --help' for more information." ;;
  17204. - *) ac_config_targets="$ac_config_targets $1"
  17205. + *) as_fn_append ac_config_targets " $1"
  17206. ac_need_defaults=false ;;
  17207. esac
  17208. @@ -16950,9 +11408,7 @@
  17209. "src/bf_copy") CONFIG_FILES="$CONFIG_FILES src/bf_copy" ;;
  17210. "src/bf_tar") CONFIG_FILES="$CONFIG_FILES src/bf_tar" ;;
  17211. - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  17212. -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  17213. - { (exit 1); exit 1; }; };;
  17214. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  17215. esac
  17216. done
  17217. @@ -16979,7 +11435,7 @@
  17218. trap 'exit_status=$?
  17219. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  17220. ' 0
  17221. - trap '{ (exit 1); exit 1; }' 1 2 13 15
  17222. + trap 'as_fn_exit 1' 1 2 13 15
  17223. }
  17224. # Create a (secure) tmp directory for tmp files.
  17225. @@ -16990,11 +11446,7 @@
  17226. {
  17227. tmp=./conf$$-$RANDOM
  17228. (umask 077 && mkdir "$tmp")
  17229. -} ||
  17230. -{
  17231. - $as_echo "$as_me: cannot create a temporary directory in ." >&2
  17232. - { (exit 1); exit 1; }
  17233. -}
  17234. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  17235. # Set up the scripts for CONFIG_FILES section.
  17236. # No need to generate them if there are no CONFIG_FILES.
  17237. @@ -17002,10 +11454,16 @@
  17238. if test -n "$CONFIG_FILES"; then
  17239. -ac_cr=' '
  17240. +ac_cr=`echo X | tr X '\015'`
  17241. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  17242. +# But we know of no other shell where ac_cr would be empty at this
  17243. +# point, so we can use a bashism as a fallback.
  17244. +if test "x$ac_cr" = x; then
  17245. + eval ac_cr=\$\'\\r\'
  17246. +fi
  17247. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  17248. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  17249. - ac_cs_awk_cr='\\r'
  17250. + ac_cs_awk_cr='\r'
  17251. else
  17252. ac_cs_awk_cr=$ac_cr
  17253. fi
  17254. @@ -17019,24 +11477,18 @@
  17255. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  17256. echo "_ACEOF"
  17257. } >conf$$subs.sh ||
  17258. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  17259. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  17260. - { (exit 1); exit 1; }; }
  17261. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  17262. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  17263. ac_delim='%!_!# '
  17264. for ac_last_try in false false false false false :; do
  17265. . ./conf$$subs.sh ||
  17266. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  17267. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  17268. - { (exit 1); exit 1; }; }
  17269. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  17270. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  17271. if test $ac_delim_n = $ac_delim_num; then
  17272. break
  17273. elif $ac_last_try; then
  17274. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  17275. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  17276. - { (exit 1); exit 1; }; }
  17277. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  17278. else
  17279. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  17280. fi
  17281. @@ -17058,7 +11510,7 @@
  17282. t delim
  17283. :nl
  17284. h
  17285. -s/\(.\{148\}\).*/\1/
  17286. +s/\(.\{148\}\)..*/\1/
  17287. t more1
  17288. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  17289. p
  17290. @@ -17072,7 +11524,7 @@
  17291. t nl
  17292. :delim
  17293. h
  17294. -s/\(.\{148\}\).*/\1/
  17295. +s/\(.\{148\}\)..*/\1/
  17296. t more2
  17297. s/["\\]/\\&/g; s/^/"/; s/$/"/
  17298. p
  17299. @@ -17125,9 +11577,7 @@
  17300. else
  17301. cat
  17302. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  17303. - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  17304. -$as_echo "$as_me: error: could not setup config files machinery" >&2;}
  17305. - { (exit 1); exit 1; }; }
  17306. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  17307. _ACEOF
  17308. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  17309. @@ -17168,9 +11618,7 @@
  17310. if test -z "$ac_t"; then
  17311. break
  17312. elif $ac_last_try; then
  17313. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
  17314. -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
  17315. - { (exit 1); exit 1; }; }
  17316. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  17317. else
  17318. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  17319. fi
  17320. @@ -17255,9 +11703,7 @@
  17321. _ACAWK
  17322. _ACEOF
  17323. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  17324. - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  17325. -$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  17326. - { (exit 1); exit 1; }; }
  17327. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  17328. fi # test -n "$CONFIG_HEADERS"
  17329. @@ -17270,9 +11716,7 @@
  17330. esac
  17331. case $ac_mode$ac_tag in
  17332. :[FHL]*:*);;
  17333. - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
  17334. -$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
  17335. - { (exit 1); exit 1; }; };;
  17336. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  17337. :[FH]-) ac_tag=-:-;;
  17338. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  17339. esac
  17340. @@ -17300,12 +11744,10 @@
  17341. [\\/$]*) false;;
  17342. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  17343. esac ||
  17344. - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  17345. -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  17346. - { (exit 1); exit 1; }; };;
  17347. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  17348. esac
  17349. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  17350. - ac_file_inputs="$ac_file_inputs '$ac_f'"
  17351. + as_fn_append ac_file_inputs " '$ac_f'"
  17352. done
  17353. # Let's still pretend it is `configure' which instantiates (i.e., don't
  17354. @@ -17316,7 +11758,7 @@
  17355. `' by configure.'
  17356. if test x"$ac_file" != x-; then
  17357. configure_input="$ac_file. $configure_input"
  17358. - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  17359. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  17360. $as_echo "$as_me: creating $ac_file" >&6;}
  17361. fi
  17362. # Neutralize special characters interpreted by sed in replacement strings.
  17363. @@ -17329,9 +11771,7 @@
  17364. case $ac_tag in
  17365. *:-:* | *:-) cat >"$tmp/stdin" \
  17366. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  17367. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  17368. - { (exit 1); exit 1; }; } ;;
  17369. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  17370. esac
  17371. ;;
  17372. esac
  17373. @@ -17359,47 +11799,7 @@
  17374. q
  17375. }
  17376. s/.*/./; q'`
  17377. - { as_dir="$ac_dir"
  17378. - case $as_dir in #(
  17379. - -*) as_dir=./$as_dir;;
  17380. - esac
  17381. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  17382. - as_dirs=
  17383. - while :; do
  17384. - case $as_dir in #(
  17385. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  17386. - *) as_qdir=$as_dir;;
  17387. - esac
  17388. - as_dirs="'$as_qdir' $as_dirs"
  17389. - as_dir=`$as_dirname -- "$as_dir" ||
  17390. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17391. - X"$as_dir" : 'X\(//\)[^/]' \| \
  17392. - X"$as_dir" : 'X\(//\)$' \| \
  17393. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  17394. -$as_echo X"$as_dir" |
  17395. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17396. - s//\1/
  17397. - q
  17398. - }
  17399. - /^X\(\/\/\)[^/].*/{
  17400. - s//\1/
  17401. - q
  17402. - }
  17403. - /^X\(\/\/\)$/{
  17404. - s//\1/
  17405. - q
  17406. - }
  17407. - /^X\(\/\).*/{
  17408. - s//\1/
  17409. - q
  17410. - }
  17411. - s/.*/./; q'`
  17412. - test -d "$as_dir" && break
  17413. - done
  17414. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  17415. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  17416. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  17417. - { (exit 1); exit 1; }; }; }
  17418. + as_dir="$ac_dir"; as_fn_mkdir_p
  17419. ac_builddir=.
  17420. case "$ac_dir" in
  17421. @@ -17456,7 +11856,6 @@
  17422. # If the template does not know about datarootdir, expand it.
  17423. # FIXME: This hack should be removed a few years after 2.60.
  17424. ac_datarootdir_hack=; ac_datarootdir_seen=
  17425. -
  17426. ac_sed_dataroot='
  17427. /datarootdir/ {
  17428. p
  17429. @@ -17466,12 +11865,11 @@
  17430. /@docdir@/p
  17431. /@infodir@/p
  17432. /@localedir@/p
  17433. -/@mandir@/p
  17434. -'
  17435. +/@mandir@/p'
  17436. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  17437. *datarootdir*) ac_datarootdir_seen=yes;;
  17438. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  17439. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  17440. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  17441. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  17442. _ACEOF
  17443. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  17444. @@ -17481,7 +11879,7 @@
  17445. s&@infodir@&$infodir&g
  17446. s&@localedir@&$localedir&g
  17447. s&@mandir@&$mandir&g
  17448. - s&\\\${datarootdir}&$datarootdir&g' ;;
  17449. + s&\\\${datarootdir}&$datarootdir&g' ;;
  17450. esac
  17451. _ACEOF
  17452. @@ -17510,14 +11908,12 @@
  17453. $ac_datarootdir_hack
  17454. "
  17455. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  17456. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  17457. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  17458. - { (exit 1); exit 1; }; }
  17459. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  17460. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  17461. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  17462. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  17463. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  17464. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  17465. which seems to be undefined. Please make sure it is defined." >&5
  17466. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  17467. which seems to be undefined. Please make sure it is defined." >&2;}
  17468. @@ -17527,9 +11923,7 @@
  17469. -) cat "$tmp/out" && rm -f "$tmp/out";;
  17470. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  17471. esac \
  17472. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  17473. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  17474. - { (exit 1); exit 1; }; }
  17475. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  17476. ;;
  17477. :H)
  17478. #
  17479. @@ -17540,25 +11934,19 @@
  17480. $as_echo "/* $configure_input */" \
  17481. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  17482. } >"$tmp/config.h" \
  17483. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  17484. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  17485. - { (exit 1); exit 1; }; }
  17486. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  17487. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  17488. - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  17489. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  17490. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  17491. else
  17492. rm -f "$ac_file"
  17493. mv "$tmp/config.h" "$ac_file" \
  17494. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  17495. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  17496. - { (exit 1); exit 1; }; }
  17497. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  17498. fi
  17499. else
  17500. $as_echo "/* $configure_input */" \
  17501. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  17502. - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  17503. -$as_echo "$as_me: error: could not create -" >&2;}
  17504. - { (exit 1); exit 1; }; }
  17505. + || as_fn_error "could not create -" "$LINENO" 5
  17506. fi
  17507. # Compute "$ac_file"'s index in $config_headers.
  17508. _am_arg="$ac_file"
  17509. @@ -17596,34 +11984,35 @@
  17510. s/.*/./; q'`/stamp-h$_am_stamp_count
  17511. ;;
  17512. - :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  17513. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  17514. $as_echo "$as_me: executing $ac_file commands" >&6;}
  17515. ;;
  17516. esac
  17517. case $ac_file$ac_mode in
  17518. - "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
  17519. -# are listed without --file. Let's play safe and only enable the eval
  17520. -# if we detect the quoting.
  17521. -case $CONFIG_FILES in
  17522. -*\'*) eval set x "$CONFIG_FILES" ;;
  17523. -*) set x $CONFIG_FILES ;;
  17524. -esac
  17525. -shift
  17526. -for mf
  17527. -do
  17528. - # Strip MF so we end up with the name of the file.
  17529. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  17530. - # Check whether this is an Automake generated Makefile or not.
  17531. - # We used to match only the files named `Makefile.in', but
  17532. - # some people rename them; so instead we look at the file content.
  17533. - # Grep'ing the first line is not enough: some people post-process
  17534. - # each Makefile.in and add a new line on top of each file to say so.
  17535. - # Grep'ing the whole file is not good either: AIX grep has a line
  17536. - # limit of 2048, but all sed's we know have understand at least 4000.
  17537. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  17538. - dirpart=`$as_dirname -- "$mf" ||
  17539. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  17540. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  17541. + # are listed without --file. Let's play safe and only enable the eval
  17542. + # if we detect the quoting.
  17543. + case $CONFIG_FILES in
  17544. + *\'*) eval set x "$CONFIG_FILES" ;;
  17545. + *) set x $CONFIG_FILES ;;
  17546. + esac
  17547. + shift
  17548. + for mf
  17549. + do
  17550. + # Strip MF so we end up with the name of the file.
  17551. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  17552. + # Check whether this is an Automake generated Makefile or not.
  17553. + # We used to match only the files named `Makefile.in', but
  17554. + # some people rename them; so instead we look at the file content.
  17555. + # Grep'ing the first line is not enough: some people post-process
  17556. + # each Makefile.in and add a new line on top of each file to say so.
  17557. + # Grep'ing the whole file is not good either: AIX grep has a line
  17558. + # limit of 2048, but all sed's we know have understand at least 4000.
  17559. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  17560. + dirpart=`$as_dirname -- "$mf" ||
  17561. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17562. X"$mf" : 'X\(//\)[^/]' \| \
  17563. X"$mf" : 'X\(//\)$' \| \
  17564. @@ -17646,28 +12035,28 @@
  17565. q
  17566. }
  17567. s/.*/./; q'`
  17568. - else
  17569. - continue
  17570. - fi
  17571. - # Extract the definition of DEPDIR, am__include, and am__quote
  17572. - # from the Makefile without running `make'.
  17573. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  17574. - test -z "$DEPDIR" && continue
  17575. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  17576. - test -z "am__include" && continue
  17577. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  17578. - # When using ansi2knr, U may be empty or an underscore; expand it
  17579. - U=`sed -n 's/^U = //p' < "$mf"`
  17580. - # Find all dependency output files, they are included files with
  17581. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  17582. - # simplest approach to changing $(DEPDIR) to its actual value in the
  17583. - # expansion.
  17584. - for file in `sed -n "
  17585. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  17586. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  17587. - # Make sure the directory exists.
  17588. - test -f "$dirpart/$file" && continue
  17589. - fdir=`$as_dirname -- "$file" ||
  17590. + else
  17591. + continue
  17592. + fi
  17593. + # Extract the definition of DEPDIR, am__include, and am__quote
  17594. + # from the Makefile without running `make'.
  17595. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  17596. + test -z "$DEPDIR" && continue
  17597. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  17598. + test -z "am__include" && continue
  17599. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  17600. + # When using ansi2knr, U may be empty or an underscore; expand it
  17601. + U=`sed -n 's/^U = //p' < "$mf"`
  17602. + # Find all dependency output files, they are included files with
  17603. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  17604. + # simplest approach to changing $(DEPDIR) to its actual value in the
  17605. + # expansion.
  17606. + for file in `sed -n "
  17607. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  17608. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  17609. + # Make sure the directory exists.
  17610. + test -f "$dirpart/$file" && continue
  17611. + fdir=`$as_dirname -- "$file" ||
  17612. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17613. X"$file" : 'X\(//\)[^/]' \| \
  17614. X"$file" : 'X\(//\)$' \| \
  17615. @@ -17690,66 +12079,24 @@
  17616. q
  17617. }
  17618. s/.*/./; q'`
  17619. - { as_dir=$dirpart/$fdir
  17620. - case $as_dir in #(
  17621. - -*) as_dir=./$as_dir;;
  17622. - esac
  17623. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  17624. - as_dirs=
  17625. - while :; do
  17626. - case $as_dir in #(
  17627. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  17628. - *) as_qdir=$as_dir;;
  17629. - esac
  17630. - as_dirs="'$as_qdir' $as_dirs"
  17631. - as_dir=`$as_dirname -- "$as_dir" ||
  17632. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17633. - X"$as_dir" : 'X\(//\)[^/]' \| \
  17634. - X"$as_dir" : 'X\(//\)$' \| \
  17635. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  17636. -$as_echo X"$as_dir" |
  17637. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17638. - s//\1/
  17639. - q
  17640. - }
  17641. - /^X\(\/\/\)[^/].*/{
  17642. - s//\1/
  17643. - q
  17644. - }
  17645. - /^X\(\/\/\)$/{
  17646. - s//\1/
  17647. - q
  17648. - }
  17649. - /^X\(\/\).*/{
  17650. - s//\1/
  17651. - q
  17652. - }
  17653. - s/.*/./; q'`
  17654. - test -d "$as_dir" && break
  17655. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  17656. + # echo "creating $dirpart/$file"
  17657. + echo '# dummy' > "$dirpart/$file"
  17658. done
  17659. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  17660. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  17661. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  17662. - { (exit 1); exit 1; }; }; }
  17663. - # echo "creating $dirpart/$file"
  17664. - echo '# dummy' > "$dirpart/$file"
  17665. done
  17666. -done
  17667. +}
  17668. ;;
  17669. esac
  17670. done # for ac_tag
  17671. -{ (exit 0); exit 0; }
  17672. +as_fn_exit 0
  17673. _ACEOF
  17674. -chmod +x $CONFIG_STATUS
  17675. ac_clean_files=$ac_clean_files_save
  17676. test $ac_write_fail = 0 ||
  17677. - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  17678. -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  17679. - { (exit 1); exit 1; }; }
  17680. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  17681. # configure is writing to config.log, and then calls config.status.
  17682. @@ -17770,29 +12117,29 @@
  17683. exec 5>>config.log
  17684. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  17685. # would make configure fail if this is the last instruction.
  17686. - $ac_cs_success || { (exit 1); exit 1; }
  17687. + $ac_cs_success || as_fn_exit $?
  17688. fi
  17689. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  17690. - { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  17691. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  17692. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  17693. fi
  17694. -{ $as_echo "$as_me:$LINENO: Using these settings:" >&5
  17695. +{ $as_echo "$as_me:${as_lineno-$LINENO}: Using these settings:" >&5
  17696. $as_echo "$as_me: Using these settings:" >&6;}
  17697. -{ $as_echo "$as_me:$LINENO: ---------------------" >&5
  17698. +{ $as_echo "$as_me:${as_lineno-$LINENO}: ---------------------" >&5
  17699. $as_echo "$as_me: ---------------------" >&6;}
  17700. -{ $as_echo "$as_me:$LINENO: CPPFLAGS=$CPPFLAGS" >&5
  17701. +{ $as_echo "$as_me:${as_lineno-$LINENO}: CPPFLAGS=$CPPFLAGS" >&5
  17702. $as_echo "$as_me: CPPFLAGS=$CPPFLAGS" >&6;}
  17703. -{ $as_echo "$as_me:$LINENO: CFLAGS=$CFLAGS" >&5
  17704. +{ $as_echo "$as_me:${as_lineno-$LINENO}: CFLAGS=$CFLAGS" >&5
  17705. $as_echo "$as_me: CFLAGS=$CFLAGS" >&6;}
  17706. -{ $as_echo "$as_me:$LINENO: LDFLAGS=$LDFLAGS" >&5
  17707. +{ $as_echo "$as_me:${as_lineno-$LINENO}: LDFLAGS=$LDFLAGS" >&5
  17708. $as_echo "$as_me: LDFLAGS=$LDFLAGS" >&6;}
  17709. -{ $as_echo "$as_me:$LINENO: LIBS=$LIBS" >&5
  17710. +{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS=$LIBS" >&5
  17711. $as_echo "$as_me: LIBS=$LIBS" >&6;}
  17712. -{ $as_echo "$as_me:$LINENO: LIBDB=$LIBDB" >&5
  17713. +{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBDB=$LIBDB" >&5
  17714. $as_echo "$as_me: LIBDB=$LIBDB" >&6;}
  17715. -{ $as_echo "$as_me:$LINENO: GSL_LIBS=$GSL_LIBS" >&5
  17716. +{ $as_echo "$as_me:${as_lineno-$LINENO}: GSL_LIBS=$GSL_LIBS" >&5
  17717. $as_echo "$as_me: GSL_LIBS=$GSL_LIBS" >&6;}
  17718. -{ $as_echo "$as_me:$LINENO: LIBICONV=$LIBICONV" >&5
  17719. +{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBICONV=$LIBICONV" >&5
  17720. $as_echo "$as_me: LIBICONV=$LIBICONV" >&6;}
  17721. diff -Nur bogofilter-1.2.0.orig/configure.ac bogofilter-1.2.0/configure.ac
  17722. --- bogofilter-1.2.0.orig/configure.ac 2009-02-21 21:41:43.000000000 +0100
  17723. +++ bogofilter-1.2.0/configure.ac 2010-02-18 20:48:43.572858045 +0100
  17724. @@ -550,49 +550,6 @@
  17725. AH_TEMPLATE([HAVE_DB_H], [Have suitable db.h header])
  17726. AC_SUBST(LIBDB)
  17727. - dnl check if run-time link works
  17728. - saveLIBS="$LIBS"
  17729. - LIBS="$LIBS $LIBDB"
  17730. - AC_MSG_CHECKING(if a program can be linked against Berkeley DB and run)
  17731. - AC_RUN_IFELSE(
  17732. - AC_LANG_PROGRAM([[
  17733. -#ifdef HAVE_INTTYPES_H
  17734. -#include <inttypes.h>
  17735. -#endif
  17736. -#include <db.h>
  17737. - ]], [[
  17738. -return 0;
  17739. - ]]),,
  17740. - [AC_MSG_RESULT(no)
  17741. - AC_MSG_ERROR([Cannot run a program linked against libdb.
  17742. -Did you adjust your library search path to include your libdb?])],)
  17743. - AC_MSG_RESULT(yes)
  17744. -
  17745. - dnl check if header and library of DB library match
  17746. - dnl ignore if cross compiling
  17747. - AC_MSG_CHECKING(if Berkeley DB header and library versions match)
  17748. - rm -r -f bfadtestdir
  17749. - mkdir bfadtestdir
  17750. - AC_RUN_IFELSE(
  17751. - AC_LANG_PROGRAM([[
  17752. - #include <stdlib.h>
  17753. - #include <stdio.h>
  17754. -#ifdef HAVE_INTTYPES_H
  17755. -#include <inttypes.h>
  17756. -#endif
  17757. - #include <db.h>
  17758. - ]], [[
  17759. - int maj, min;
  17760. - (void)db_version(&maj, &min, 0);
  17761. - (void)fprintf(stderr, "headers: %d.%d, library: %d.%d\n",
  17762. - DB_VERSION_MAJOR, DB_VERSION_MINOR, maj, min);
  17763. - if (maj != DB_VERSION_MAJOR) exit(1);
  17764. - if (min != DB_VERSION_MINOR) exit(1);
  17765. - exit(0);
  17766. - ]]),,
  17767. - [AC_MSG_RESULT(no)
  17768. - AC_MSG_ERROR(db.h header file and db library version do not match.)],)
  17769. - AC_MSG_RESULT(yes)
  17770. AC_CHECK_DECLS(db_create,,
  17771. AC_MSG_ERROR([[Can not locate a suitable Berkeley DB db.h header file.
  17772. Use --with-libdb-prefix=PATH to specify the path to a v3+ install directory.
  17773. diff -Nur bogofilter-1.2.0.orig/depcomp bogofilter-1.2.0/depcomp
  17774. --- bogofilter-1.2.0.orig/depcomp 2009-01-11 15:22:24.000000000 +0100
  17775. +++ bogofilter-1.2.0/depcomp 2010-02-18 20:48:43.572858045 +0100
  17776. @@ -1,10 +1,10 @@
  17777. #! /bin/sh
  17778. # depcomp - compile a program generating dependencies as side-effects
  17779. -scriptversion=2007-03-29.01
  17780. +scriptversion=2009-04-28.21; # UTC
  17781. -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
  17782. -# Foundation, Inc.
  17783. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
  17784. +# Software Foundation, Inc.
  17785. # This program is free software; you can redistribute it and/or modify
  17786. # it under the terms of the GNU General Public License as published by
  17787. @@ -17,9 +17,7 @@
  17788. # GNU General Public License for more details.
  17789. # You should have received a copy of the GNU General Public License
  17790. -# along with this program; if not, write to the Free Software
  17791. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  17792. -# 02110-1301, USA.
  17793. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  17794. # As a special exception to the GNU General Public License, if you
  17795. # distribute this file as part of a program that contains a
  17796. @@ -87,6 +85,15 @@
  17797. depmode=dashmstdout
  17798. fi
  17799. +cygpath_u="cygpath -u -f -"
  17800. +if test "$depmode" = msvcmsys; then
  17801. + # This is just like msvisualcpp but w/o cygpath translation.
  17802. + # Just convert the backslash-escaped backslashes to single forward
  17803. + # slashes to satisfy depend.m4
  17804. + cygpath_u="sed s,\\\\\\\\,/,g"
  17805. + depmode=msvisualcpp
  17806. +fi
  17807. +
  17808. case "$depmode" in
  17809. gcc3)
  17810. ## gcc 3 implements dependency tracking that does exactly what
  17811. @@ -192,14 +199,14 @@
  17812. ' < "$tmpdepfile" \
  17813. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  17814. tr '
  17815. -' ' ' >> $depfile
  17816. - echo >> $depfile
  17817. +' ' ' >> "$depfile"
  17818. + echo >> "$depfile"
  17819. # The second pass generates a dummy entry for each header file.
  17820. tr ' ' '
  17821. ' < "$tmpdepfile" \
  17822. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  17823. - >> $depfile
  17824. + >> "$depfile"
  17825. else
  17826. # The sourcefile does not contain any dependencies, so just
  17827. # store a dummy comment line, to avoid errors with the Makefile
  17828. @@ -328,7 +335,12 @@
  17829. if test -f "$tmpdepfile"; then
  17830. sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  17831. # Add `dependent.h:' lines.
  17832. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
  17833. + sed -ne '2,${
  17834. + s/^ *//
  17835. + s/ \\*$//
  17836. + s/$/:/
  17837. + p
  17838. + }' "$tmpdepfile" >> "$depfile"
  17839. else
  17840. echo "#dummy" > "$depfile"
  17841. fi
  17842. @@ -404,7 +416,7 @@
  17843. # Remove the call to Libtool.
  17844. if test "$libtool" = yes; then
  17845. - while test $1 != '--mode=compile'; do
  17846. + while test "X$1" != 'X--mode=compile'; do
  17847. shift
  17848. done
  17849. shift
  17850. @@ -455,32 +467,39 @@
  17851. "$@" || exit $?
  17852. # Remove any Libtool call
  17853. if test "$libtool" = yes; then
  17854. - while test $1 != '--mode=compile'; do
  17855. + while test "X$1" != 'X--mode=compile'; do
  17856. shift
  17857. done
  17858. shift
  17859. fi
  17860. # X makedepend
  17861. shift
  17862. - cleared=no
  17863. - for arg in "$@"; do
  17864. + cleared=no eat=no
  17865. + for arg
  17866. + do
  17867. case $cleared in
  17868. no)
  17869. set ""; shift
  17870. cleared=yes ;;
  17871. esac
  17872. + if test $eat = yes; then
  17873. + eat=no
  17874. + continue
  17875. + fi
  17876. case "$arg" in
  17877. -D*|-I*)
  17878. set fnord "$@" "$arg"; shift ;;
  17879. # Strip any option that makedepend may not understand. Remove
  17880. # the object too, otherwise makedepend will parse it as a source file.
  17881. + -arch)
  17882. + eat=yes ;;
  17883. -*|$object)
  17884. ;;
  17885. *)
  17886. set fnord "$@" "$arg"; shift ;;
  17887. esac
  17888. done
  17889. - obj_suffix="`echo $object | sed 's/^.*\././'`"
  17890. + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  17891. touch "$tmpdepfile"
  17892. ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  17893. rm -f "$depfile"
  17894. @@ -500,7 +519,7 @@
  17895. # Remove the call to Libtool.
  17896. if test "$libtool" = yes; then
  17897. - while test $1 != '--mode=compile'; do
  17898. + while test "X$1" != 'X--mode=compile'; do
  17899. shift
  17900. done
  17901. shift
  17902. @@ -538,13 +557,27 @@
  17903. msvisualcpp)
  17904. # Important note: in order to support this mode, a compiler *must*
  17905. - # always write the preprocessed file to stdout, regardless of -o,
  17906. - # because we must use -o when running libtool.
  17907. + # always write the preprocessed file to stdout.
  17908. "$@" || exit $?
  17909. +
  17910. + # Remove the call to Libtool.
  17911. + if test "$libtool" = yes; then
  17912. + while test "X$1" != 'X--mode=compile'; do
  17913. + shift
  17914. + done
  17915. + shift
  17916. + fi
  17917. +
  17918. IFS=" "
  17919. for arg
  17920. do
  17921. case "$arg" in
  17922. + -o)
  17923. + shift
  17924. + ;;
  17925. + $object)
  17926. + shift
  17927. + ;;
  17928. "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  17929. set fnord "$@"
  17930. shift
  17931. @@ -557,16 +590,23 @@
  17932. ;;
  17933. esac
  17934. done
  17935. - "$@" -E |
  17936. - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
  17937. + "$@" -E 2>/dev/null |
  17938. + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  17939. rm -f "$depfile"
  17940. echo "$object : \\" > "$depfile"
  17941. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  17942. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  17943. echo " " >> "$depfile"
  17944. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  17945. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  17946. rm -f "$tmpdepfile"
  17947. ;;
  17948. +msvcmsys)
  17949. + # This case exists only to let depend.m4 do its work. It works by
  17950. + # looking at the text of this script. This case will never be run,
  17951. + # since it is checked for above.
  17952. + exit 1
  17953. + ;;
  17954. +
  17955. none)
  17956. exec "$@"
  17957. ;;
  17958. @@ -585,5 +625,6 @@
  17959. # eval: (add-hook 'write-file-hooks 'time-stamp)
  17960. # time-stamp-start: "scriptversion="
  17961. # time-stamp-format: "%:y-%02m-%02d.%02H"
  17962. -# time-stamp-end: "$"
  17963. +# time-stamp-time-zone: "UTC"
  17964. +# time-stamp-end: "; # UTC"
  17965. # End:
  17966. diff -Nur bogofilter-1.2.0.orig/doc/Makefile.in bogofilter-1.2.0/doc/Makefile.in
  17967. --- bogofilter-1.2.0.orig/doc/Makefile.in 2009-02-21 21:41:48.000000000 +0100
  17968. +++ bogofilter-1.2.0/doc/Makefile.in 2010-02-18 20:49:12.724857566 +0100
  17969. @@ -1,8 +1,9 @@
  17970. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  17971. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  17972. # @configure_input@
  17973. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  17974. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  17975. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  17976. +# Inc.
  17977. # This Makefile.in is free software; the Free Software Foundation
  17978. # gives unlimited permission to copy and/or distribute it,
  17979. # with or without modifications, as long as this notice is preserved.
  17980. @@ -17,8 +18,9 @@
  17981. # $Id: Makefile.am 6567 2006-08-23 00:47:08Z relson $
  17982. VPATH = @srcdir@
  17983. pkgdatadir = $(datadir)/@PACKAGE@
  17984. -pkglibdir = $(libdir)/@PACKAGE@
  17985. pkgincludedir = $(includedir)/@PACKAGE@
  17986. +pkglibdir = $(libdir)/@PACKAGE@
  17987. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  17988. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  17989. install_sh_DATA = $(install_sh) -c -m 644
  17990. install_sh_PROGRAM = $(install_sh) -c
  17991. @@ -46,8 +48,30 @@
  17992. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  17993. CONFIG_HEADER = $(top_builddir)/src/config.h
  17994. CONFIG_CLEAN_FILES =
  17995. +CONFIG_CLEAN_VPATH_FILES =
  17996. SOURCES =
  17997. DIST_SOURCES =
  17998. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  17999. +am__vpath_adj = case $$p in \
  18000. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  18001. + *) f=$$p;; \
  18002. + esac;
  18003. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  18004. +am__install_max = 40
  18005. +am__nobase_strip_setup = \
  18006. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  18007. +am__nobase_strip = \
  18008. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  18009. +am__nobase_list = $(am__nobase_strip_setup); \
  18010. + for p in $$list; do echo "$$p $$p"; done | \
  18011. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  18012. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  18013. + if (++n[$$2] == $(am__install_max)) \
  18014. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  18015. + END { for (dir in files) print dir, files[dir] }'
  18016. +am__base_list = \
  18017. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  18018. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  18019. man1dir = $(mandir)/man1
  18020. am__installdirs = "$(DESTDIR)$(man1dir)"
  18021. NROFF = nroff
  18022. @@ -116,6 +140,7 @@
  18023. PACKAGE_NAME = @PACKAGE_NAME@
  18024. PACKAGE_STRING = @PACKAGE_STRING@
  18025. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  18026. +PACKAGE_URL = @PACKAGE_URL@
  18027. PACKAGE_VERSION = @PACKAGE_VERSION@
  18028. PATH_SEPARATOR = @PATH_SEPARATOR@
  18029. PERL = @PERL@
  18030. @@ -245,9 +270,9 @@
  18031. exit 1;; \
  18032. esac; \
  18033. done; \
  18034. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
  18035. - cd $(top_srcdir) && \
  18036. - $(AUTOMAKE) --foreign doc/Makefile
  18037. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
  18038. + $(am__cd) $(top_srcdir) && \
  18039. + $(AUTOMAKE) --foreign doc/Makefile
  18040. .PRECIOUS: Makefile
  18041. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  18042. @case '$?' in \
  18043. @@ -265,51 +290,45 @@
  18044. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  18045. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  18046. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  18047. -install-man1: $(man1_MANS) $(man_MANS)
  18048. +$(am__aclocal_m4_deps):
  18049. +install-man1: $(man_MANS)
  18050. @$(NORMAL_INSTALL)
  18051. test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  18052. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  18053. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  18054. - for i in $$l2; do \
  18055. - case "$$i" in \
  18056. - *.1*) list="$$list $$i" ;; \
  18057. - esac; \
  18058. + @list=''; test -n "$(man1dir)" || exit 0; \
  18059. + { for i in $$list; do echo "$$i"; done; \
  18060. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  18061. + sed -n '/\.1[a-z]*$$/p'; \
  18062. + } | while read p; do \
  18063. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  18064. + echo "$$d$$p"; echo "$$p"; \
  18065. + done | \
  18066. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  18067. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  18068. + sed 'N;N;s,\n, ,g' | { \
  18069. + list=; while read file base inst; do \
  18070. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  18071. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  18072. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  18073. + fi; \
  18074. done; \
  18075. - for i in $$list; do \
  18076. - if test -f $$i; then file=$$i; \
  18077. - else file=$(srcdir)/$$i; fi; \
  18078. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  18079. - case "$$ext" in \
  18080. - 1*) ;; \
  18081. - *) ext='1' ;; \
  18082. - esac; \
  18083. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  18084. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  18085. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  18086. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  18087. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
  18088. - done
  18089. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  18090. + while read files; do \
  18091. + test -z "$$files" || { \
  18092. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  18093. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  18094. + done; }
  18095. +
  18096. uninstall-man1:
  18097. @$(NORMAL_UNINSTALL)
  18098. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  18099. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  18100. - for i in $$l2; do \
  18101. - case "$$i" in \
  18102. - *.1*) list="$$list $$i" ;; \
  18103. - esac; \
  18104. - done; \
  18105. - for i in $$list; do \
  18106. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  18107. - case "$$ext" in \
  18108. - 1*) ;; \
  18109. - *) ext='1' ;; \
  18110. - esac; \
  18111. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  18112. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  18113. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  18114. - echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
  18115. - rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
  18116. - done
  18117. + @list=''; test -n "$(man1dir)" || exit 0; \
  18118. + files=`{ for i in $$list; do echo "$$i"; done; \
  18119. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  18120. + sed -n '/\.1[a-z]*$$/p'; \
  18121. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  18122. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  18123. + test -z "$$files" || { \
  18124. + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  18125. + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  18126. tags: TAGS
  18127. TAGS:
  18128. @@ -318,6 +337,19 @@
  18129. distdir: $(DISTFILES)
  18130. + @list='$(MANS)'; if test -n "$$list"; then \
  18131. + list=`for p in $$list; do \
  18132. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  18133. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  18134. + if test -n "$$list" && \
  18135. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  18136. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  18137. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  18138. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  18139. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  18140. + exit 1; \
  18141. + else :; fi; \
  18142. + else :; fi
  18143. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  18144. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  18145. list='$(DISTFILES)'; \
  18146. @@ -333,13 +365,17 @@
  18147. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  18148. if test -d $$d/$$file; then \
  18149. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  18150. + if test -d "$(distdir)/$$file"; then \
  18151. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  18152. + fi; \
  18153. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  18154. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  18155. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  18156. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  18157. fi; \
  18158. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  18159. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  18160. else \
  18161. - test -f $(distdir)/$$file \
  18162. - || cp -p $$d/$$file $(distdir)/$$file \
  18163. + test -f "$(distdir)/$$file" \
  18164. + || cp -p $$d/$$file "$(distdir)/$$file" \
  18165. || exit 1; \
  18166. fi; \
  18167. done
  18168. @@ -374,6 +410,7 @@
  18169. distclean-generic:
  18170. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  18171. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  18172. maintainer-clean-generic:
  18173. @echo "This command is intended for maintainers to use"
  18174. @@ -392,6 +429,8 @@
  18175. html: html-am
  18176. +html-am:
  18177. +
  18178. info: info-am
  18179. info-am:
  18180. @@ -400,18 +439,28 @@
  18181. install-dvi: install-dvi-am
  18182. +install-dvi-am:
  18183. +
  18184. install-exec-am:
  18185. install-html: install-html-am
  18186. +install-html-am:
  18187. +
  18188. install-info: install-info-am
  18189. +install-info-am:
  18190. +
  18191. install-man: install-man1
  18192. install-pdf: install-pdf-am
  18193. +install-pdf-am:
  18194. +
  18195. install-ps: install-ps-am
  18196. +install-ps-am:
  18197. +
  18198. installcheck-am:
  18199. maintainer-clean: maintainer-clean-am
  18200. @@ -511,6 +560,7 @@
  18201. set +e ; fail=0 ; for i in $(HTML_DOCS) ; do if $(NSGMLS) -s $(srcdir)/$$i ; then echo PASS: $$i ; else echo FAIL: $$i: ; fail=1 ; fi ; done ; \
  18202. else echo >&2 "*** Not validating HTML, nsgmls/HTML DTDs improperly installed ***" ; fi ; \
  18203. if test "$$fail" = "1" ; then echo >&2 "*** HTML document invalid ***" ; false ; fi
  18204. +
  18205. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  18206. # Otherwise a system limit (for SysV at least) may be exceeded.
  18207. .NOEXPORT:
  18208. diff -Nur bogofilter-1.2.0.orig/install-sh bogofilter-1.2.0/install-sh
  18209. --- bogofilter-1.2.0.orig/install-sh 2009-01-11 15:22:24.000000000 +0100
  18210. +++ bogofilter-1.2.0/install-sh 2010-02-18 20:48:43.572858045 +0100
  18211. @@ -1,7 +1,7 @@
  18212. #!/bin/sh
  18213. # install - install a program, script, or datafile
  18214. -scriptversion=2006-12-25.00
  18215. +scriptversion=2009-04-28.21; # UTC
  18216. # This originates from X11R5 (mit/util/scripts/install.sh), which was
  18217. # later released in X11R6 (xc/config/util/install.sh) with the
  18218. @@ -515,5 +515,6 @@
  18219. # eval: (add-hook 'write-file-hooks 'time-stamp)
  18220. # time-stamp-start: "scriptversion="
  18221. # time-stamp-format: "%:y-%02m-%02d.%02H"
  18222. -# time-stamp-end: "$"
  18223. +# time-stamp-time-zone: "UTC"
  18224. +# time-stamp-end: "; # UTC"
  18225. # End:
  18226. diff -Nur bogofilter-1.2.0.orig/Makefile.in bogofilter-1.2.0/Makefile.in
  18227. --- bogofilter-1.2.0.orig/Makefile.in 2009-02-21 21:41:48.000000000 +0100
  18228. +++ bogofilter-1.2.0/Makefile.in 2010-02-18 20:49:13.836851995 +0100
  18229. @@ -1,8 +1,9 @@
  18230. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  18231. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  18232. # @configure_input@
  18233. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  18234. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  18235. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  18236. +# Inc.
  18237. # This Makefile.in is free software; the Free Software Foundation
  18238. # gives unlimited permission to copy and/or distribute it,
  18239. # with or without modifications, as long as this notice is preserved.
  18240. @@ -19,8 +20,9 @@
  18241. VPATH = @srcdir@
  18242. pkgdatadir = $(datadir)/@PACKAGE@
  18243. -pkglibdir = $(libdir)/@PACKAGE@
  18244. pkgincludedir = $(includedir)/@PACKAGE@
  18245. +pkglibdir = $(libdir)/@PACKAGE@
  18246. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  18247. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  18248. install_sh_DATA = $(install_sh) -c -m 644
  18249. install_sh_PROGRAM = $(install_sh) -c
  18250. @@ -56,6 +58,7 @@
  18251. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  18252. CONFIG_HEADER = $(top_builddir)/src/config.h
  18253. CONFIG_CLEAN_FILES = bogofilter.spec
  18254. +CONFIG_CLEAN_VPATH_FILES =
  18255. @ENABLE_STATIC_TRUE@am__EXEEXT_1 = bogogrep_static$(EXEEXT)
  18256. PROGRAMS = $(noinst_PROGRAMS)
  18257. am_bogogrep_OBJECTS = bogogrep.$(OBJEXT)
  18258. @@ -70,6 +73,7 @@
  18259. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
  18260. depcomp = $(SHELL) $(top_srcdir)/depcomp
  18261. am__depfiles_maybe = depfiles
  18262. +am__mv = mv -f
  18263. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  18264. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  18265. CCLD = $(CC)
  18266. @@ -88,12 +92,29 @@
  18267. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  18268. *) f=$$p;; \
  18269. esac;
  18270. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  18271. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  18272. +am__install_max = 40
  18273. +am__nobase_strip_setup = \
  18274. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  18275. +am__nobase_strip = \
  18276. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  18277. +am__nobase_list = $(am__nobase_strip_setup); \
  18278. + for p in $$list; do echo "$$p $$p"; done | \
  18279. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  18280. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  18281. + if (++n[$$2] == $(am__install_max)) \
  18282. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  18283. + END { for (dir in files) print dir, files[dir] }'
  18284. +am__base_list = \
  18285. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  18286. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  18287. am__installdirs = "$(DESTDIR)$(sysconfdir)"
  18288. -sysconfDATA_INSTALL = $(INSTALL_DATA)
  18289. DATA = $(sysconf_DATA)
  18290. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  18291. distclean-recursive maintainer-clean-recursive
  18292. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  18293. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  18294. + distdir dist dist-all distcheck
  18295. ETAGS = etags
  18296. CTAGS = ctags
  18297. DIST_SUBDIRS = $(SUBDIRS)
  18298. @@ -101,9 +122,34 @@
  18299. distdir = $(PACKAGE)-$(VERSION)
  18300. top_distdir = $(distdir)
  18301. am__remove_distdir = \
  18302. - { test ! -d $(distdir) \
  18303. - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  18304. - && rm -fr $(distdir); }; }
  18305. + { test ! -d "$(distdir)" \
  18306. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  18307. + && rm -fr "$(distdir)"; }; }
  18308. +am__relativize = \
  18309. + dir0=`pwd`; \
  18310. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  18311. + sed_rest='s,^[^/]*/*,,'; \
  18312. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  18313. + sed_butlast='s,/*[^/]*$$,,'; \
  18314. + while test -n "$$dir1"; do \
  18315. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  18316. + if test "$$first" != "."; then \
  18317. + if test "$$first" = ".."; then \
  18318. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  18319. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  18320. + else \
  18321. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  18322. + if test "$$first2" = "$$first"; then \
  18323. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  18324. + else \
  18325. + dir2="../$$dir2"; \
  18326. + fi; \
  18327. + dir0="$$dir0"/"$$first"; \
  18328. + fi; \
  18329. + fi; \
  18330. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  18331. + done; \
  18332. + reldir="$$dir2"
  18333. DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
  18334. GZIP_ENV = --best
  18335. distuninstallcheck_listfiles = find . -type f -print
  18336. @@ -171,6 +217,7 @@
  18337. PACKAGE_NAME = @PACKAGE_NAME@
  18338. PACKAGE_STRING = @PACKAGE_STRING@
  18339. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  18340. +PACKAGE_URL = @PACKAGE_URL@
  18341. PACKAGE_VERSION = @PACKAGE_VERSION@
  18342. PATH_SEPARATOR = @PATH_SEPARATOR@
  18343. PERL = @PERL@
  18344. @@ -327,15 +374,15 @@
  18345. @for dep in $?; do \
  18346. case '$(am__configure_deps)' in \
  18347. *$$dep*) \
  18348. - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  18349. - cd $(srcdir) && $(AUTOMAKE) --foreign \
  18350. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  18351. + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  18352. && exit 0; \
  18353. exit 1;; \
  18354. esac; \
  18355. done; \
  18356. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  18357. - cd $(top_srcdir) && \
  18358. - $(AUTOMAKE) --foreign Makefile
  18359. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  18360. + $(am__cd) $(top_srcdir) && \
  18361. + $(AUTOMAKE) --foreign Makefile
  18362. .PRECIOUS: Makefile
  18363. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  18364. @case '$?' in \
  18365. @@ -351,9 +398,10 @@
  18366. $(SHELL) ./config.status --recheck
  18367. $(top_srcdir)/configure: $(am__configure_deps)
  18368. - cd $(srcdir) && $(AUTOCONF)
  18369. + $(am__cd) $(srcdir) && $(AUTOCONF)
  18370. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  18371. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  18372. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  18373. +$(am__aclocal_m4_deps):
  18374. bogofilter.spec: $(top_builddir)/config.status $(srcdir)/bogofilter.spec.in
  18375. cd $(top_builddir) && $(SHELL) ./config.status $@
  18376. @@ -376,48 +424,51 @@
  18377. .c.o:
  18378. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  18379. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  18380. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  18381. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  18382. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  18383. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  18384. .c.obj:
  18385. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  18386. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  18387. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  18388. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  18389. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  18390. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  18391. bogogrep.o: contrib/bogogrep.c
  18392. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bogogrep.o -MD -MP -MF $(DEPDIR)/bogogrep.Tpo -c -o bogogrep.o `test -f 'contrib/bogogrep.c' || echo '$(srcdir)/'`contrib/bogogrep.c
  18393. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/bogogrep.Tpo $(DEPDIR)/bogogrep.Po
  18394. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/bogogrep.Tpo $(DEPDIR)/bogogrep.Po
  18395. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='contrib/bogogrep.c' object='bogogrep.o' libtool=no @AMDEPBACKSLASH@
  18396. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  18397. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bogogrep.o `test -f 'contrib/bogogrep.c' || echo '$(srcdir)/'`contrib/bogogrep.c
  18398. bogogrep.obj: contrib/bogogrep.c
  18399. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bogogrep.obj -MD -MP -MF $(DEPDIR)/bogogrep.Tpo -c -o bogogrep.obj `if test -f 'contrib/bogogrep.c'; then $(CYGPATH_W) 'contrib/bogogrep.c'; else $(CYGPATH_W) '$(srcdir)/contrib/bogogrep.c'; fi`
  18400. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/bogogrep.Tpo $(DEPDIR)/bogogrep.Po
  18401. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/bogogrep.Tpo $(DEPDIR)/bogogrep.Po
  18402. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='contrib/bogogrep.c' object='bogogrep.obj' libtool=no @AMDEPBACKSLASH@
  18403. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  18404. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bogogrep.obj `if test -f 'contrib/bogogrep.c'; then $(CYGPATH_W) 'contrib/bogogrep.c'; else $(CYGPATH_W) '$(srcdir)/contrib/bogogrep.c'; fi`
  18405. install-sysconfDATA: $(sysconf_DATA)
  18406. @$(NORMAL_INSTALL)
  18407. test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
  18408. - @list='$(sysconf_DATA)'; for p in $$list; do \
  18409. + @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
  18410. + for p in $$list; do \
  18411. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  18412. - f=$(am__strip_dir) \
  18413. - echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
  18414. - $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
  18415. + echo "$$d$$p"; \
  18416. + done | $(am__base_list) | \
  18417. + while read files; do \
  18418. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
  18419. + $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
  18420. done
  18421. uninstall-sysconfDATA:
  18422. @$(NORMAL_UNINSTALL)
  18423. - @list='$(sysconf_DATA)'; for p in $$list; do \
  18424. - f=$(am__strip_dir) \
  18425. - echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
  18426. - rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
  18427. - done
  18428. + @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
  18429. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  18430. + test -n "$$files" || exit 0; \
  18431. + echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \
  18432. + cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files
  18433. # This directory's subdirectories are mostly independent; you can cd
  18434. # into them and run `make' without going through this Makefile.
  18435. @@ -426,7 +477,7 @@
  18436. # (which will cause the Makefiles to be regenerated when you run `make');
  18437. # (2) otherwise, pass the desired values on the `make' command line.
  18438. $(RECURSIVE_TARGETS):
  18439. - @failcom='exit 1'; \
  18440. + @fail= failcom='exit 1'; \
  18441. for f in x $$MAKEFLAGS; do \
  18442. case $$f in \
  18443. *=* | --[!k]*);; \
  18444. @@ -443,7 +494,7 @@
  18445. else \
  18446. local_target="$$target"; \
  18447. fi; \
  18448. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  18449. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  18450. || eval $$failcom; \
  18451. done; \
  18452. if test "$$dot_seen" = "no"; then \
  18453. @@ -451,7 +502,7 @@
  18454. fi; test -z "$$fail"
  18455. $(RECURSIVE_CLEAN_TARGETS):
  18456. - @failcom='exit 1'; \
  18457. + @fail= failcom='exit 1'; \
  18458. for f in x $$MAKEFLAGS; do \
  18459. case $$f in \
  18460. *=* | --[!k]*);; \
  18461. @@ -477,16 +528,16 @@
  18462. else \
  18463. local_target="$$target"; \
  18464. fi; \
  18465. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  18466. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  18467. || eval $$failcom; \
  18468. done && test -z "$$fail"
  18469. tags-recursive:
  18470. list='$(SUBDIRS)'; for subdir in $$list; do \
  18471. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  18472. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  18473. done
  18474. ctags-recursive:
  18475. list='$(SUBDIRS)'; for subdir in $$list; do \
  18476. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  18477. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  18478. done
  18479. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  18480. @@ -501,7 +552,7 @@
  18481. TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
  18482. $(TAGS_FILES) $(LISP)
  18483. - tags=; \
  18484. + set x; \
  18485. here=`pwd`; \
  18486. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  18487. include_option=--etags-include; \
  18488. @@ -513,7 +564,7 @@
  18489. list='$(SUBDIRS)'; for subdir in $$list; do \
  18490. if test "$$subdir" = .; then :; else \
  18491. test ! -f $$subdir/TAGS || \
  18492. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  18493. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  18494. fi; \
  18495. done; \
  18496. list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
  18497. @@ -522,36 +573,41 @@
  18498. done | \
  18499. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  18500. END { if (nonempty) { for (i in files) print i; }; }'`; \
  18501. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  18502. + shift; \
  18503. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  18504. test -n "$$unique" || unique=$$empty_fix; \
  18505. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  18506. - $$tags $$unique; \
  18507. + if test $$# -gt 0; then \
  18508. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  18509. + "$$@" $$unique; \
  18510. + else \
  18511. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  18512. + $$unique; \
  18513. + fi; \
  18514. fi
  18515. ctags: CTAGS
  18516. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
  18517. $(TAGS_FILES) $(LISP)
  18518. - tags=; \
  18519. list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
  18520. unique=`for i in $$list; do \
  18521. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  18522. done | \
  18523. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  18524. END { if (nonempty) { for (i in files) print i; }; }'`; \
  18525. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  18526. + test -z "$(CTAGS_ARGS)$$unique" \
  18527. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  18528. - $$tags $$unique
  18529. + $$unique
  18530. GTAGS:
  18531. here=`$(am__cd) $(top_builddir) && pwd` \
  18532. - && cd $(top_srcdir) \
  18533. - && gtags -i $(GTAGS_ARGS) $$here
  18534. + && $(am__cd) $(top_srcdir) \
  18535. + && gtags -i $(GTAGS_ARGS) "$$here"
  18536. distclean-tags:
  18537. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  18538. distdir: $(DISTFILES)
  18539. $(am__remove_distdir)
  18540. - test -d $(distdir) || mkdir $(distdir)
  18541. + test -d "$(distdir)" || mkdir "$(distdir)"
  18542. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  18543. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  18544. list='$(DISTFILES)'; \
  18545. @@ -567,29 +623,44 @@
  18546. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  18547. if test -d $$d/$$file; then \
  18548. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  18549. + if test -d "$(distdir)/$$file"; then \
  18550. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  18551. + fi; \
  18552. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  18553. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  18554. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  18555. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  18556. fi; \
  18557. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  18558. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  18559. else \
  18560. - test -f $(distdir)/$$file \
  18561. - || cp -p $$d/$$file $(distdir)/$$file \
  18562. + test -f "$(distdir)/$$file" \
  18563. + || cp -p $$d/$$file "$(distdir)/$$file" \
  18564. || exit 1; \
  18565. fi; \
  18566. done
  18567. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  18568. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  18569. if test "$$subdir" = .; then :; else \
  18570. test -d "$(distdir)/$$subdir" \
  18571. || $(MKDIR_P) "$(distdir)/$$subdir" \
  18572. || exit 1; \
  18573. - distdir=`$(am__cd) $(distdir) && pwd`; \
  18574. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  18575. - (cd $$subdir && \
  18576. + fi; \
  18577. + done
  18578. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  18579. + if test "$$subdir" = .; then :; else \
  18580. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  18581. + $(am__relativize); \
  18582. + new_distdir=$$reldir; \
  18583. + dir1=$$subdir; dir2="$(top_distdir)"; \
  18584. + $(am__relativize); \
  18585. + new_top_distdir=$$reldir; \
  18586. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  18587. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  18588. + ($(am__cd) $$subdir && \
  18589. $(MAKE) $(AM_MAKEFLAGS) \
  18590. - top_distdir="$$top_distdir" \
  18591. - distdir="$$distdir/$$subdir" \
  18592. + top_distdir="$$new_top_distdir" \
  18593. + distdir="$$new_distdir" \
  18594. am__remove_distdir=: \
  18595. am__skip_length_check=: \
  18596. + am__skip_mode_fix=: \
  18597. distdir) \
  18598. || exit 1; \
  18599. fi; \
  18600. @@ -597,11 +668,13 @@
  18601. $(MAKE) $(AM_MAKEFLAGS) \
  18602. top_distdir="$(top_distdir)" distdir="$(distdir)" \
  18603. dist-hook
  18604. - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  18605. + -test -n "$(am__skip_mode_fix)" \
  18606. + || find "$(distdir)" -type d ! -perm -755 \
  18607. + -exec chmod u+rwx,go+rx {} \; -o \
  18608. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  18609. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  18610. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  18611. - || chmod -R a+r $(distdir)
  18612. + || chmod -R a+r "$(distdir)"
  18613. dist-gzip: distdir
  18614. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  18615. $(am__remove_distdir)
  18616. @@ -613,6 +686,10 @@
  18617. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  18618. $(am__remove_distdir)
  18619. +dist-xz: distdir
  18620. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  18621. + $(am__remove_distdir)
  18622. +
  18623. dist-tarZ: distdir
  18624. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  18625. $(am__remove_distdir)
  18626. @@ -637,15 +714,17 @@
  18627. distcheck: dist
  18628. case '$(DIST_ARCHIVES)' in \
  18629. *.tar.gz*) \
  18630. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  18631. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  18632. *.tar.bz2*) \
  18633. - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  18634. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  18635. *.tar.lzma*) \
  18636. - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  18637. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  18638. + *.tar.xz*) \
  18639. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  18640. *.tar.Z*) \
  18641. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  18642. *.shar.gz*) \
  18643. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  18644. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  18645. *.zip*) \
  18646. unzip $(distdir).zip ;;\
  18647. esac
  18648. @@ -653,9 +732,11 @@
  18649. mkdir $(distdir)/_build
  18650. mkdir $(distdir)/_inst
  18651. chmod a-w $(distdir)
  18652. + test -d $(distdir)/_build || exit 0; \
  18653. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  18654. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  18655. - && cd $(distdir)/_build \
  18656. + && am__cwd=`pwd` \
  18657. + && $(am__cd) $(distdir)/_build \
  18658. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  18659. $(DISTCHECK_CONFIGURE_FLAGS) \
  18660. && $(MAKE) $(AM_MAKEFLAGS) \
  18661. @@ -677,13 +758,15 @@
  18662. && rm -rf "$$dc_destdir" \
  18663. && $(MAKE) $(AM_MAKEFLAGS) dist \
  18664. && rm -rf $(DIST_ARCHIVES) \
  18665. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  18666. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  18667. + && cd "$$am__cwd" \
  18668. + || exit 1
  18669. $(am__remove_distdir)
  18670. @(echo "$(distdir) archives ready for distribution: "; \
  18671. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  18672. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  18673. distuninstallcheck:
  18674. - @cd $(distuninstallcheck_dir) \
  18675. + @$(am__cd) '$(distuninstallcheck_dir)' \
  18676. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  18677. || { echo "ERROR: files left after uninstall:" ; \
  18678. if test -n "$(DESTDIR)"; then \
  18679. @@ -728,6 +811,7 @@
  18680. distclean-generic:
  18681. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  18682. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  18683. maintainer-clean-generic:
  18684. @echo "This command is intended for maintainers to use"
  18685. @@ -749,6 +833,8 @@
  18686. html: html-recursive
  18687. +html-am:
  18688. +
  18689. info: info-recursive
  18690. info-am:
  18691. @@ -757,18 +843,28 @@
  18692. install-dvi: install-dvi-recursive
  18693. +install-dvi-am:
  18694. +
  18695. install-exec-am: install-sysconfDATA
  18696. install-html: install-html-recursive
  18697. +install-html-am:
  18698. +
  18699. install-info: install-info-recursive
  18700. +install-info-am:
  18701. +
  18702. install-man:
  18703. install-pdf: install-pdf-recursive
  18704. +install-pdf-am:
  18705. +
  18706. install-ps: install-ps-recursive
  18707. +install-ps-am:
  18708. +
  18709. installcheck-am:
  18710. maintainer-clean: maintainer-clean-recursive
  18711. @@ -792,14 +888,14 @@
  18712. uninstall-am: uninstall-sysconfDATA
  18713. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  18714. - install-strip
  18715. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  18716. + install-am install-strip tags-recursive
  18717. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  18718. all all-am am--refresh check check-am clean clean-generic \
  18719. clean-noinstPROGRAMS ctags ctags-recursive dist dist-all \
  18720. dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ \
  18721. - dist-zip distcheck distclean distclean-compile \
  18722. + dist-xz dist-zip distcheck distclean distclean-compile \
  18723. distclean-generic distclean-tags distcleancheck distdir \
  18724. distuninstallcheck dvi dvi-am html html-am info info-am \
  18725. install install-am install-data install-data-am install-dvi \
  18726. @@ -867,6 +963,7 @@
  18727. cd $(distdir) && find doc gnugetopt gsl -name '.#*' -type f -exec rm '{}' ';'
  18728. rm -f $(distdir)/doc/.cvsignore $(distdir)/ChangeLog
  18729. # ---------------------------------------------------------------------
  18730. +
  18731. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  18732. # Otherwise a system limit (for SysV at least) may be exceeded.
  18733. .NOEXPORT:
  18734. diff -Nur bogofilter-1.2.0.orig/missing bogofilter-1.2.0/missing
  18735. --- bogofilter-1.2.0.orig/missing 2009-01-11 15:22:24.000000000 +0100
  18736. +++ bogofilter-1.2.0/missing 2010-02-18 20:48:43.576867215 +0100
  18737. @@ -1,10 +1,10 @@
  18738. #! /bin/sh
  18739. # Common stub for a few missing GNU programs while installing.
  18740. -scriptversion=2006-05-10.23
  18741. +scriptversion=2009-04-28.21; # UTC
  18742. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
  18743. -# Free Software Foundation, Inc.
  18744. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  18745. +# 2008, 2009 Free Software Foundation, Inc.
  18746. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  18747. # This program is free software; you can redistribute it and/or modify
  18748. @@ -18,9 +18,7 @@
  18749. # GNU General Public License for more details.
  18750. # You should have received a copy of the GNU General Public License
  18751. -# along with this program; if not, write to the Free Software
  18752. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  18753. -# 02110-1301, USA.
  18754. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  18755. # As a special exception to the GNU General Public License, if you
  18756. # distribute this file as part of a program that contains a
  18757. @@ -89,6 +87,9 @@
  18758. tar try tar, gnutar, gtar, then tar without non-portable flags
  18759. yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  18760. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  18761. +\`g' are ignored when checking the name.
  18762. +
  18763. Send bug reports to <bug-automake@gnu.org>."
  18764. exit $?
  18765. ;;
  18766. @@ -106,15 +107,22 @@
  18767. esac
  18768. +# normalize program name to check for.
  18769. +program=`echo "$1" | sed '
  18770. + s/^gnu-//; t
  18771. + s/^gnu//; t
  18772. + s/^g//; t'`
  18773. +
  18774. # Now exit if we have it, but it failed. Also exit now if we
  18775. # don't have it and --version was passed (most likely to detect
  18776. -# the program).
  18777. +# the program). This is about non-GNU programs, so use $1 not
  18778. +# $program.
  18779. case $1 in
  18780. - lex|yacc)
  18781. + lex*|yacc*)
  18782. # Not GNU programs, they don't have --version.
  18783. ;;
  18784. - tar)
  18785. + tar*)
  18786. if test -n "$run"; then
  18787. echo 1>&2 "ERROR: \`tar' requires --run"
  18788. exit 1
  18789. @@ -138,7 +146,7 @@
  18790. # If it does not exist, or fails to run (possibly an outdated version),
  18791. # try to emulate it.
  18792. -case $1 in
  18793. +case $program in
  18794. aclocal*)
  18795. echo 1>&2 "\
  18796. WARNING: \`$1' is $msg. You should only need it if
  18797. @@ -148,7 +156,7 @@
  18798. touch aclocal.m4
  18799. ;;
  18800. - autoconf)
  18801. + autoconf*)
  18802. echo 1>&2 "\
  18803. WARNING: \`$1' is $msg. You should only need it if
  18804. you modified \`${configure_ac}'. You might want to install the
  18805. @@ -157,7 +165,7 @@
  18806. touch configure
  18807. ;;
  18808. - autoheader)
  18809. + autoheader*)
  18810. echo 1>&2 "\
  18811. WARNING: \`$1' is $msg. You should only need it if
  18812. you modified \`acconfig.h' or \`${configure_ac}'. You might want
  18813. @@ -187,7 +195,7 @@
  18814. while read f; do touch "$f"; done
  18815. ;;
  18816. - autom4te)
  18817. + autom4te*)
  18818. echo 1>&2 "\
  18819. WARNING: \`$1' is needed, but is $msg.
  18820. You might have modified some files without having the
  18821. @@ -210,7 +218,7 @@
  18822. fi
  18823. ;;
  18824. - bison|yacc)
  18825. + bison*|yacc*)
  18826. echo 1>&2 "\
  18827. WARNING: \`$1' $msg. You should only need it if
  18828. you modified a \`.y' file. You may need the \`Bison' package
  18829. @@ -240,7 +248,7 @@
  18830. fi
  18831. ;;
  18832. - lex|flex)
  18833. + lex*|flex*)
  18834. echo 1>&2 "\
  18835. WARNING: \`$1' is $msg. You should only need it if
  18836. you modified a \`.l' file. You may need the \`Flex' package
  18837. @@ -263,7 +271,7 @@
  18838. fi
  18839. ;;
  18840. - help2man)
  18841. + help2man*)
  18842. echo 1>&2 "\
  18843. WARNING: \`$1' is $msg. You should only need it if
  18844. you modified a dependency of a manual page. You may need the
  18845. @@ -277,11 +285,11 @@
  18846. else
  18847. test -z "$file" || exec >$file
  18848. echo ".ab help2man is required to generate this page"
  18849. - exit 1
  18850. + exit $?
  18851. fi
  18852. ;;
  18853. - makeinfo)
  18854. + makeinfo*)
  18855. echo 1>&2 "\
  18856. WARNING: \`$1' is $msg. You should only need it if
  18857. you modified a \`.texi' or \`.texinfo' file, or any other file
  18858. @@ -310,7 +318,7 @@
  18859. touch $file
  18860. ;;
  18861. - tar)
  18862. + tar*)
  18863. shift
  18864. # We have already tried tar in the generic part.
  18865. @@ -363,5 +371,6 @@
  18866. # eval: (add-hook 'write-file-hooks 'time-stamp)
  18867. # time-stamp-start: "scriptversion="
  18868. # time-stamp-format: "%:y-%02m-%02d.%02H"
  18869. -# time-stamp-end: "$"
  18870. +# time-stamp-time-zone: "UTC"
  18871. +# time-stamp-end: "; # UTC"
  18872. # End:
  18873. diff -Nur bogofilter-1.2.0.orig/mkinstalldirs bogofilter-1.2.0/mkinstalldirs
  18874. --- bogofilter-1.2.0.orig/mkinstalldirs 2009-01-11 15:22:24.000000000 +0100
  18875. +++ bogofilter-1.2.0/mkinstalldirs 2010-02-18 20:48:43.580869680 +0100
  18876. @@ -1,7 +1,7 @@
  18877. #! /bin/sh
  18878. # mkinstalldirs --- make directory hierarchy
  18879. -scriptversion=2006-05-11.19
  18880. +scriptversion=2009-04-28.21; # UTC
  18881. # Original author: Noah Friedman <friedman@prep.ai.mit.edu>
  18882. # Created: 1993-05-16
  18883. @@ -157,5 +157,6 @@
  18884. # eval: (add-hook 'write-file-hooks 'time-stamp)
  18885. # time-stamp-start: "scriptversion="
  18886. # time-stamp-format: "%:y-%02m-%02d.%02H"
  18887. -# time-stamp-end: "$"
  18888. +# time-stamp-time-zone: "UTC"
  18889. +# time-stamp-end: "; # UTC"
  18890. # End:
  18891. diff -Nur bogofilter-1.2.0.orig/src/bf_compact bogofilter-1.2.0/src/bf_compact
  18892. --- bogofilter-1.2.0.orig/src/bf_compact 2009-02-21 21:42:01.000000000 +0100
  18893. +++ bogofilter-1.2.0/src/bf_compact 1970-01-01 01:00:00.000000000 +0100
  18894. @@ -1,98 +0,0 @@
  18895. -#! /bin/sh
  18896. -
  18897. -# bf_compact source_dir [wordlist_name...]
  18898. -#
  18899. -# use to compact wordlist.db
  18900. -# replaces original directory with new one
  18901. -# renames original directory with '.old' extension
  18902. -
  18903. -# $Id: bf_compact.in 6749 2008-10-15 23:08:06Z clint $
  18904. -
  18905. -set -e # die on errors
  18906. -
  18907. -: ${BOGOFILTER:=bogofilter}
  18908. -: ${BOGOUTIL:=bogoutil}
  18909. -
  18910. -if [ -z "$1" ] ; then
  18911. - echo 'usage: bf_compact source_dir [wordlist_name...]'
  18912. - exit 1
  18913. -fi
  18914. -
  18915. -# extract home directory
  18916. -BOGOHOME="$1"
  18917. -shift
  18918. -
  18919. -if [ ! -d "$BOGOHOME" ] ; then
  18920. - echo "$BOGOHOME must be a directory, not a file"
  18921. - exit 1
  18922. -fi
  18923. -
  18924. -# strip trailing slashes
  18925. -while true; do
  18926. - case "$BOGOHOME" in
  18927. - */) BOGOHOME=${BOGOHOME%/} ;;
  18928. - *) break ;;
  18929. - esac
  18930. -done
  18931. -
  18932. -export BOGOHOME
  18933. -
  18934. -# find wordlists
  18935. -if [ -n "$1" ] ; then
  18936. - FILES="$@"
  18937. -else
  18938. - DIR=$($BOGOFILTER -QQ | grep ^bogofilter_dir | gawk '{print $3}')
  18939. - if [ "$BOGOHOME" != "$DIR" ] ; then
  18940. - FILES=$(ls "$BOGOHOME"/*.db)
  18941. - else
  18942. - FILES=$($BOGOFILTER -QQ | grep ^wordlist | cut -f3 -d,)
  18943. - fi
  18944. -fi
  18945. -
  18946. -BOGOTEMP="bf_compact.$$"
  18947. -
  18948. -mkdir "$BOGOTEMP" || {
  18949. - echo "Cannot create directory $BOGOTEMP. Abort."
  18950. - exit 1
  18951. -}
  18952. -
  18953. -# copy Berkeley DB configuration if present
  18954. -if test -f "$BOGOHOME"/DB_CONFIG ; then
  18955. - cp -p "$BOGOHOME"/DB_CONFIG "$BOGOTEMP"/
  18956. -fi
  18957. -
  18958. -case "$($BOGOFILTER -V | grep Database:)" in
  18959. - *"Berkeley DB"*)
  18960. - # determine transactions
  18961. - if test "$(find "$BOGOHOME/" -name "log.??????????" -print)" = "" ; then
  18962. - TXN=no
  18963. - else
  18964. - TXN=yes
  18965. - fi
  18966. - ;;
  18967. - *)
  18968. - TXN=noarg
  18969. - ;;
  18970. -esac
  18971. -
  18972. -# reload files
  18973. -for FILE in $FILES ; do
  18974. - NAME="$(basename $FILE)"
  18975. - $BOGOUTIL --db-verify "$FILE" \
  18976. - || { echo "$FILE corrupted, aborting." ; rm -r "$BOGOTEMP" ; exit 1 ; }
  18977. - $BOGOUTIL -d "$FILE" | case $TXN in
  18978. - no|yes) $BOGOUTIL --db-transaction=no -l "$BOGOTEMP/$NAME" ;;
  18979. - noarg) $BOGOUTIL -l "$BOGOTEMP/$NAME" ;;
  18980. - esac
  18981. -done
  18982. -
  18983. -if [ $TXN = "yes" ] ; then
  18984. - #create database environment files
  18985. - $BOGOFILTER -e -C -d "$BOGOTEMP" --db-transaction=yes < /dev/null
  18986. -fi
  18987. -
  18988. -# remove $BOGOHOME.old so we don't move the new backup *into* it
  18989. -# rather than renaming the backup to it.
  18990. -rm -rf "$BOGOHOME.old"
  18991. -mv "$BOGOHOME" "$BOGOHOME.old"
  18992. -mv "$BOGOTEMP" "$BOGOHOME"
  18993. diff -Nur bogofilter-1.2.0.orig/src/bf_copy bogofilter-1.2.0/src/bf_copy
  18994. --- bogofilter-1.2.0.orig/src/bf_copy 2009-02-21 21:42:01.000000000 +0100
  18995. +++ bogofilter-1.2.0/src/bf_copy 1970-01-01 01:00:00.000000000 +0100
  18996. @@ -1,61 +0,0 @@
  18997. -#! /bin/sh
  18998. -
  18999. -# bf_copy [-c] source_dir dest_dir
  19000. -#
  19001. -# use to copy wordlist.db and related files
  19002. -# from one directory to another
  19003. -
  19004. -# $Id: bf_copy.in 6750 2008-10-15 23:18:45Z clint $
  19005. -
  19006. -set -e # die on errors
  19007. -
  19008. -: ${BOGOUTIL:=bogoutil}
  19009. -
  19010. -COMPACT=0
  19011. -while test "$1" ; do
  19012. - case "$1" in
  19013. - -c) COMPACT=1 ;;
  19014. - --) shift ; break ;;
  19015. - -*) echo "unknown option $1" >&2 ; exit 1 ;;
  19016. - *) break;
  19017. - esac
  19018. - shift
  19019. -done
  19020. -
  19021. -if [ $# -ne 2 ] ; then
  19022. - echo 'usage: bf_copy [-c] source_dir dest_dir'
  19023. - echo " use -c to copy active logs, not all"
  19024. - exit 1
  19025. -fi
  19026. -
  19027. -SRC="$1"
  19028. -DST="$2"
  19029. -
  19030. -# flush mempools
  19031. -$BOGOUTIL --db-checkpoint="$SRC" || :
  19032. -
  19033. -mkdir "$DST"
  19034. -
  19035. -TMP=bfc.$$.unneeded
  19036. -rm -f $TMP
  19037. -trap "rm -rf $TMP \"$DST\"" 0
  19038. -if test $COMPACT -eq 1 ; then
  19039. - # don't copy unneeded logs
  19040. - $BOGOUTIL --db-list-logfiles="$SRC" >$TMP
  19041. -else
  19042. - : >$TMP
  19043. -fi
  19044. -
  19045. -# XXX FIXME - use Berkeley DB environment probing here
  19046. -LOGS=`ls "$SRC"/log.* 2>/dev/null | grep -v -F -f $TMP || :`
  19047. -if test "$LOGS" ; then cp -p $LOGS "$DST" ; fi
  19048. -if test -f "$SRC"/DB_CONFIG ; then cp -p "$SRC"/DB_CONFIG "$DST" ; fi
  19049. -
  19050. -for FILE in "$SRC"/*.db ; do
  19051. - SIZE=`$BOGOUTIL --db-print-pagesize="$FILE"`
  19052. - dd bs=$SIZE if=$FILE of="$DST/"`basename "$FILE"`
  19053. -done
  19054. -
  19055. -if test "$LOGS" ; then $BOGOUTIL --db-recover="$DST" ; fi
  19056. -rm -f $TMP
  19057. -trap - 0
  19058. diff -Nur bogofilter-1.2.0.orig/src/bf_tar bogofilter-1.2.0/src/bf_tar
  19059. --- bogofilter-1.2.0.orig/src/bf_tar 2009-02-21 21:42:01.000000000 +0100
  19060. +++ bogofilter-1.2.0/src/bf_tar 1970-01-01 01:00:00.000000000 +0100
  19061. @@ -1,72 +0,0 @@
  19062. -#! /bin/sh
  19063. -
  19064. -# This file dumps a bogofilter to standard output in POSIX-tar format.
  19065. -#
  19066. -# Requires: pax
  19067. -#
  19068. -# (C) 2004 by Matthias Andree
  19069. -# GNU GPL v2.
  19070. -
  19071. -# $Id: bf_tar.in 6750 2008-10-15 23:18:45Z clint $
  19072. -
  19073. -set -e
  19074. -
  19075. -: ${BOGOFILTER:=bogofilter}
  19076. -: ${BOGOUTIL:=bogoutil}
  19077. -
  19078. -REMOVEBEF=0
  19079. -REMOVEAFT=0
  19080. -while [ "$1" ] ; do
  19081. - case "$1" in
  19082. - -r) REMOVEAFT=1 ;;
  19083. - -R) REMOVEBEF=1 ;;
  19084. - --) shift ; break ;;
  19085. - -*) echo >&2 "`basename $0`: unknown option $1" ; exit 1 ;;
  19086. - *) break;
  19087. - esac
  19088. - shift
  19089. -done
  19090. -
  19091. -if [ $# -ne 1 ] ; then
  19092. - echo >&2 "Usage: `basename $0` [options] bogodir > outfile.tar"
  19093. - echo >&2 " or: `basename $0` [options] bogodir | gzip -c >outfile.tar.gz"
  19094. - echo >&2 'Options are:'
  19095. - echo >&2 ' -r - remove inactive log files after archiving'
  19096. - echo >&2 ' -R - remove inactive log files before archiving (use with caution)'
  19097. - exit 1
  19098. -fi
  19099. -
  19100. -# we could write $1 for the moment being as we demand exactly this
  19101. -# argument above [ $# -ne 1 ]
  19102. -BOGOHOME=${1:-.}
  19103. -
  19104. -if [ ! -d "$BOGOHOME" ] ; then
  19105. - echo $BOGOHOME must be a directory, not a file
  19106. - exit 1
  19107. -fi
  19108. -
  19109. -nukelogs() {
  19110. - $BOGOUTIL --db-prune="$BOGOHOME"
  19111. -}
  19112. -
  19113. -# remove if requested
  19114. -if [ $REMOVEBEF -eq 1 ] ; then
  19115. - nukelogs
  19116. -else
  19117. - $BOGOUTIL --db-checkpoint="$BOGOHOME"
  19118. -fi
  19119. -
  19120. -# database first, then the logs.
  19121. -# the log MUST be newer than the database, if it's the other way around,
  19122. -# that state will not be recoverable!
  19123. -#
  19124. -# pax options: -w: write archive, -v: verbosely, -x ustar: pick tar format.
  19125. -(
  19126. - c="${BOGOHOME}/DB_CONFIG"
  19127. - if [ -f "$c" ] ; then echo "$c" ; fi
  19128. - $BOGOFILTER -QQ -d "$BOGOHOME" | grep '^wordlist ' | cut -f3 -d,
  19129. - $BOGOUTIL --db-list-logfiles="$BOGOHOME" all
  19130. -) | pax -w -v -x ustar
  19131. -
  19132. -# remove if requested
  19133. -if [ $REMOVEAFT -eq 1 ] ; then nukelogs ; fi
  19134. diff -Nur bogofilter-1.2.0.orig/src/bogoupgrade bogofilter-1.2.0/src/bogoupgrade
  19135. --- bogofilter-1.2.0.orig/src/bogoupgrade 2009-02-21 21:42:01.000000000 +0100
  19136. +++ bogofilter-1.2.0/src/bogoupgrade 1970-01-01 01:00:00.000000000 +0100
  19137. @@ -1,249 +0,0 @@
  19138. -#! /usr/local/bin/perl -w
  19139. -
  19140. -=pod
  19141. -
  19142. -=head1 NAME
  19143. -
  19144. -bogoupgrade -- upgrade a bogofilter database to current version.
  19145. -
  19146. -=cut
  19147. -
  19148. -# bogofilter-0.3 through bogofilter-0.6.3
  19149. -#
  19150. -# HEADER "# bogofilter email-count (format version A): %lu"
  19151. -#
  19152. -
  19153. -# bogofilter-0.7.x
  19154. -#
  19155. -# HEADER "# bogofilter email-count (format version B): %lu"
  19156. -#
  19157. -
  19158. -# bogofilter-0.8 to bogofilter-0.13.x
  19159. -#
  19160. -# BerkeleyDB with double wordlists
  19161. -# spamlist.db and goodlist.db
  19162. -
  19163. -# bogofilter-0.14 and later
  19164. -#
  19165. -# BerkeleyDB with single wordlist
  19166. -# wordlist.db
  19167. -
  19168. -require 5.005_03;
  19169. -use strict;
  19170. -use filetest 'access';
  19171. -use Pod::Usage;
  19172. -
  19173. -sub convert_double_to_single();
  19174. -sub convert_format_A();
  19175. -sub convert_format_B();
  19176. -sub db_verify($);
  19177. -
  19178. -my $VERSION = '0.5.0';
  19179. -
  19180. -my ($in, $out, $dir, $yday, $msg_count_token);
  19181. -
  19182. -my $bogoutil = 'bogoutil';
  19183. -
  19184. -for (my $i = 0; $i < @ARGV; $i++){
  19185. - my $arg = $ARGV[$i];
  19186. -
  19187. - if ($arg eq '-d'){
  19188. - $dir = $ARGV[++$i];
  19189. - } elsif ($arg eq '-i'){
  19190. - $in = $ARGV[++$i];
  19191. - } elsif ($arg eq '-o'){
  19192. - $out = $ARGV[++$i];
  19193. - } elsif ($arg eq '-b'){
  19194. - $bogoutil = $ARGV[++$i];
  19195. - } elsif ($arg eq '-y'){
  19196. - $yday = "-y $ARGV[++$i]";
  19197. - } elsif ($arg eq '-h' or $arg eq '--help'){
  19198. - pod2usage(-verbose => 1, -exitstatus => 0);
  19199. - } else {
  19200. - pod2usage(-verbose => 0, -exitstatus => 1);
  19201. - }
  19202. -}
  19203. -
  19204. -my $db_ext = $ENV{DB_EXT} || 'db';
  19205. -
  19206. -if ($dir) {
  19207. - if ($in || $out) {
  19208. - pod2usage("Cannot use -d at the same time as -i or -o!");
  19209. - }
  19210. - convert_double_to_single();
  19211. -} else {
  19212. - pod2usage("Missing input filename.\nAborting") unless $in;
  19213. - pod2usage("Missing output filename.\nAborting") unless $out;
  19214. -
  19215. - my $msg_count_token = '.MSG_COUNT';
  19216. -
  19217. - open(F, "< $in") or die "Cannot open input file [$in]. $!.\nAborting";
  19218. - my $sig = <F>;
  19219. - chomp($sig);
  19220. - if ($sig =~ m/^\# bogofilter wordlist \(format version A\):\s(\d+)$/){
  19221. - convert_format_A();
  19222. - }
  19223. - elsif ($sig =~ m/^\# bogofilter email-count \(format version B\):\s(\d+)/){
  19224. - convert_format_B();
  19225. - }
  19226. - else {
  19227. - $sig =~ y/[\040-\177]/_/cs;
  19228. - warn "Cannot recognize signature [$sig].\n";
  19229. - exit(2);
  19230. - }
  19231. -}
  19232. -
  19233. -sub db_verify($) {
  19234. - my ($f) = shift;
  19235. - if (!-r $f) {
  19236. - die "Database $f is not readable: $!\nAborting";
  19237. - }
  19238. - my $ret = system ($bogoutil, '--db-verify', $f);
  19239. - die "Database $f is corrupt.\nAborting" if $ret;
  19240. -}
  19241. -
  19242. -sub convert_format_A() {
  19243. - my $msg_count = $1;
  19244. - my $cmd = "$bogoutil $yday -l $out";
  19245. - open(OUT, "| $cmd") or die "Cannot run command \"$cmd\": $!\nAborting";
  19246. - while(<F>){
  19247. - print OUT $_;
  19248. - }
  19249. - print OUT "$msg_count_token $msg_count\n";
  19250. - close(OUT) or die "Error executing command \"$cmd\": $!\nAborting";
  19251. - close(F);
  19252. -}
  19253. -
  19254. -sub convert_format_B() {
  19255. - my $msg_count = $1;
  19256. - my $in_db = $in;
  19257. -
  19258. - $in_db =~ s/count$/$db_ext/;
  19259. -
  19260. - unless (-f $in_db){
  19261. - warn("Cannot find database file [$in_db]\n corresponding to input file [$in]\n");
  19262. - exit;
  19263. - }
  19264. -
  19265. - my $cmd = "$bogoutil $yday -l $out";
  19266. - open(OUT, "| $cmd") or die "Cannot run command \"$cmd\": $!\nAborting";
  19267. -
  19268. - close(F);
  19269. - db_verify($in_db);
  19270. - $cmd = "$bogoutil $yday -d $in_db";
  19271. - open(F, "$cmd |") or die "Cannot run command \"$cmd\": $!\nAborting";
  19272. -
  19273. - while(<F>){
  19274. - if (m/^\.count\s+(\d+)$/){
  19275. - warn("Found a message count of [$1] in db.\nThrowing away text file count of [$msg_count]\n");
  19276. - $msg_count = $1;
  19277. - next;
  19278. - }
  19279. - elsif (/^$msg_count_token\s(\d+)$/){
  19280. - warn("This database appears to have been upgraded already.\nBut there's no harm in doing it again.\n");
  19281. - $msg_count = $1;
  19282. - next;
  19283. - }
  19284. - print OUT $_;
  19285. - }
  19286. - print OUT "$msg_count_token $msg_count\n";
  19287. -
  19288. - close(F);
  19289. - close(OUT);
  19290. -}
  19291. -
  19292. -# args: filename format
  19293. -sub cvt2to1_get($$) {
  19294. - my ($filename, $format) = @_;
  19295. - my @tmp;
  19296. - my $cmd;
  19297. -
  19298. - die "need array context in cvs2to1_get.\nAborting" unless wantarray;
  19299. - db_verify($filename);
  19300. - $cmd = "$bogoutil -d $filename";
  19301. - open(I, "$cmd |") or die "cannot run \"$cmd\": $!\nAborting";
  19302. - while (<I>) {
  19303. - chomp;
  19304. - my @a = split;
  19305. - push @tmp, sprintf($format, $a[0], $a[1], $a[2]);
  19306. - }
  19307. - close I or die "error running \"$cmd\": $!\nAborting";
  19308. - return @tmp;
  19309. -}
  19310. -
  19311. -sub convert_double_to_single() {
  19312. - my @tmp;
  19313. -
  19314. - my $word = "$dir/wordlist.$db_ext";
  19315. - my $spam = "$dir/spamlist.$db_ext";
  19316. - my $good = "$dir/goodlist.$db_ext";
  19317. -
  19318. - if (-e $word) { die "$word already exists.\nAborting"; }
  19319. -
  19320. - push @tmp, cvt2to1_get($spam, "%s %d 0 %d");
  19321. - push @tmp, cvt2to1_get($good, "%s 0 %d %d");
  19322. - my $cmd = "$bogoutil -l $word";
  19323. - open(O, "| $cmd") or die "cannot run \"$cmd\": $!\nAborting";
  19324. - print O join("\n", sort @tmp), "\n";
  19325. - close O or die "error executing \"$cmd\": $!\nAborting";
  19326. -}
  19327. -
  19328. -exit(0);
  19329. -
  19330. -__END__
  19331. -=pod
  19332. -
  19333. -=head1 SYNOPSIS
  19334. -
  19335. - bogoupgrade [options] -d <bogofilter directory>
  19336. - bogoupgrade [options] -i <input text file> -o <output db file>
  19337. - bogoupgrade {-h|--help}
  19338. -
  19339. - Options:
  19340. - -b <path to bogoutil>
  19341. -
  19342. -=head1 DESCRIPTION
  19343. -
  19344. -B<bogoupgrade> updates bogofilter databases from older formats to the current
  19345. -format.
  19346. -
  19347. -=head1 OPTIONS
  19348. -
  19349. -=over 8
  19350. -
  19351. -=item B<-d <directory>>
  19352. -
  19353. -Name of directory containing database files. Old files will be read and new
  19354. -files will be written.
  19355. -
  19356. -=item B<-i <input file>>
  19357. -
  19358. -Text file containing message count, and possibly wordlist data records. If the
  19359. -file only contains a message count but no word list records, there must be a
  19360. -database file, in the same directory as the text file, which contains the word
  19361. -list data.
  19362. -
  19363. -=item B<-o <output file>>
  19364. -
  19365. -Output database file. Use the appropriate file extension for your version of
  19366. -bogofilter, i.e. '.db' for Berkeley DB and SQLite3, or '.qdbm' for QDBM.
  19367. -
  19368. -=item B<-b <path to bogoutil program>>
  19369. -
  19370. -Defaults to 'bogoutil', in the hopes that your shell will find it.
  19371. -
  19372. -=item B<-h> | B<--help>
  19373. -
  19374. -Print the help - you are currently reading it.
  19375. -
  19376. -=back
  19377. -
  19378. -=head1 AUTHORS
  19379. -
  19380. - Gyepi Sam <gyepi@praxis-sw.com>
  19381. - David Relson <relson@osagesoftware.com>
  19382. - Matthias Andree <matthias.andree@gmx.de>
  19383. -
  19384. -=cut
  19385. -
  19386. -# vim: set filetype=perl ai:
  19387. diff -Nur bogofilter-1.2.0.orig/src/lexer_v3.c bogofilter-1.2.0/src/lexer_v3.c
  19388. --- bogofilter-1.2.0.orig/src/lexer_v3.c 2009-02-21 21:42:01.000000000 +0100
  19389. +++ bogofilter-1.2.0/src/lexer_v3.c 2010-02-18 20:49:48.668852113 +0100
  19390. @@ -80,7 +80,6 @@
  19391. typedef unsigned char flex_uint8_t;
  19392. typedef unsigned short int flex_uint16_t;
  19393. typedef unsigned int flex_uint32_t;
  19394. -#endif /* ! C99 */
  19395. /* Limits of integral types. */
  19396. #ifndef INT8_MIN
  19397. @@ -111,6 +110,8 @@
  19398. #define UINT32_MAX (4294967295U)
  19399. #endif
  19400. +#endif /* ! C99 */
  19401. +
  19402. #endif /* ! FLEXINT_H */
  19403. /* %endif */
  19404. @@ -185,7 +186,15 @@
  19405. /* Size of default input buffer. */
  19406. #ifndef YY_BUF_SIZE
  19407. +#ifdef __ia64__
  19408. +/* On IA-64, the buffer size is 16k, not 8k.
  19409. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  19410. + * Ditto for the __ia64__ case accordingly.
  19411. + */
  19412. +#define YY_BUF_SIZE 32768
  19413. +#else
  19414. #define YY_BUF_SIZE 16384
  19415. +#endif /* __ia64__ */
  19416. #endif
  19417. /* The state buf must be large enough to hold one state per character in the main buffer.
  19418. @@ -2048,7 +2057,7 @@
  19419. -#line 2050 "lexer_v3.c"
  19420. +#line 2059 "lexer_v3.c"
  19421. #define INITIAL 0
  19422. #define TEXT 1
  19423. @@ -2168,7 +2177,12 @@
  19424. /* Amount of stuff to slurp up with each read. */
  19425. #ifndef YY_READ_BUF_SIZE
  19426. +#ifdef __ia64__
  19427. +/* On IA-64, the buffer size is 16k, not 8k */
  19428. +#define YY_READ_BUF_SIZE 16384
  19429. +#else
  19430. #define YY_READ_BUF_SIZE 8192
  19431. +#endif /* __ia64__ */
  19432. #endif
  19433. /* Copy whatever the last rule matched to the standard output. */
  19434. @@ -2177,7 +2191,7 @@
  19435. /* This used to be an fputs(), but since the string might contain NUL's,
  19436. * we now use fwrite().
  19437. */
  19438. -#define ECHO fwrite( yytext, yyleng, 1, yyout )
  19439. +#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
  19440. /* %endif */
  19441. /* %if-c++-only C++ definition */
  19442. /* %endif */
  19443. @@ -2192,7 +2206,7 @@
  19444. if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  19445. { \
  19446. int c = '*'; \
  19447. - int n; \
  19448. + size_t n; \
  19449. for ( n = 0; n < max_size && \
  19450. (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  19451. buf[n] = (char) c; \
  19452. @@ -2305,7 +2319,7 @@
  19453. #line 215 "./lexer_v3.l"
  19454. -#line 2307 "lexer_v3.c"
  19455. +#line 2321 "lexer_v3.c"
  19456. if ( !(yy_init) )
  19457. {
  19458. @@ -2711,7 +2725,7 @@
  19459. #line 319 "./lexer_v3.l"
  19460. ECHO;
  19461. YY_BREAK
  19462. -#line 2713 "lexer_v3.c"
  19463. +#line 2727 "lexer_v3.c"
  19464. case YY_END_OF_BUFFER:
  19465. {
  19466. @@ -3573,8 +3587,8 @@
  19467. /* %if-c-only */
  19468. /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  19469. * scan from a @e copy of @a bytes.
  19470. - * @param bytes the byte buffer to scan
  19471. - * @param len the number of bytes in the buffer pointed to by @a bytes.
  19472. + * @param yybytes the byte buffer to scan
  19473. + * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  19474. *
  19475. * @return the newly allocated buffer state object.
  19476. */
  19477. diff -Nur bogofilter-1.2.0.orig/src/Makefile.in bogofilter-1.2.0/src/Makefile.in
  19478. --- bogofilter-1.2.0.orig/src/Makefile.in 2009-02-21 21:41:48.000000000 +0100
  19479. +++ bogofilter-1.2.0/src/Makefile.in 2010-02-18 20:49:13.388856110 +0100
  19480. @@ -1,8 +1,9 @@
  19481. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  19482. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  19483. # @configure_input@
  19484. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  19485. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  19486. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  19487. +# Inc.
  19488. # This Makefile.in is free software; the Free Software Foundation
  19489. # gives unlimited permission to copy and/or distribute it,
  19490. # with or without modifications, as long as this notice is preserved.
  19491. @@ -21,8 +22,9 @@
  19492. VPATH = @srcdir@
  19493. pkgdatadir = $(datadir)/@PACKAGE@
  19494. -pkglibdir = $(libdir)/@PACKAGE@
  19495. pkgincludedir = $(includedir)/@PACKAGE@
  19496. +pkglibdir = $(libdir)/@PACKAGE@
  19497. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  19498. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  19499. install_sh_DATA = $(install_sh) -c -m 644
  19500. install_sh_PROGRAM = $(install_sh) -c
  19501. @@ -73,6 +75,7 @@
  19502. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  19503. CONFIG_HEADER = config.h
  19504. CONFIG_CLEAN_FILES = bf_compact bf_copy bf_tar
  19505. +CONFIG_CLEAN_VPATH_FILES =
  19506. LIBRARIES = $(noinst_LIBRARIES)
  19507. ARFLAGS = cru
  19508. libbf_gsl_a_AR = $(AR) $(ARFLAGS)
  19509. @@ -211,7 +214,6 @@
  19510. @ENABLE_QDBM_DATASTORE_TRUE@am__EXEEXT_2 = bogoQDBMupgrade$(EXEEXT)
  19511. am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
  19512. "$(DESTDIR)$(bindir)"
  19513. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  19514. @NEEDTRIO_TRUE@am__EXEEXT_3 = regression$(EXEEXT)
  19515. PROGRAMS = $(bin_PROGRAMS)
  19516. am__bogoQDBMupgrade_SOURCES_DIST = bogoQDBMupgrade.c \
  19517. @@ -302,12 +304,32 @@
  19518. wordhash_LDADD = $(LDADD)
  19519. wordhash_DEPENDENCIES = libbogofilter.a $(am__append_8) \
  19520. $(am__DEPENDENCIES_1) $(am__append_11) @LIBOBJS@
  19521. -binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  19522. -dist_binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  19523. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  19524. +am__vpath_adj = case $$p in \
  19525. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  19526. + *) f=$$p;; \
  19527. + esac;
  19528. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  19529. +am__install_max = 40
  19530. +am__nobase_strip_setup = \
  19531. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  19532. +am__nobase_strip = \
  19533. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  19534. +am__nobase_list = $(am__nobase_strip_setup); \
  19535. + for p in $$list; do echo "$$p $$p"; done | \
  19536. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  19537. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  19538. + if (++n[$$2] == $(am__install_max)) \
  19539. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  19540. + END { for (dir in files) print dir, files[dir] }'
  19541. +am__base_list = \
  19542. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  19543. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  19544. SCRIPTS = $(bin_SCRIPTS) $(dist_bin_SCRIPTS)
  19545. DEFAULT_INCLUDES = -I.@am__isrc@
  19546. depcomp = $(SHELL) $(top_srcdir)/depcomp
  19547. am__depfiles_maybe = depfiles
  19548. +am__mv = mv -f
  19549. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  19550. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  19551. CCLD = $(CC)
  19552. @@ -346,10 +368,40 @@
  19553. ps-recursive uninstall-recursive
  19554. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  19555. distclean-recursive maintainer-clean-recursive
  19556. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  19557. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  19558. + distdir
  19559. ETAGS = etags
  19560. CTAGS = ctags
  19561. +am__tty_colors = \
  19562. +red=; grn=; lgn=; blu=; std=
  19563. DIST_SUBDIRS = $(SUBDIRS)
  19564. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  19565. +am__relativize = \
  19566. + dir0=`pwd`; \
  19567. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  19568. + sed_rest='s,^[^/]*/*,,'; \
  19569. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  19570. + sed_butlast='s,/*[^/]*$$,,'; \
  19571. + while test -n "$$dir1"; do \
  19572. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  19573. + if test "$$first" != "."; then \
  19574. + if test "$$first" = ".."; then \
  19575. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  19576. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  19577. + else \
  19578. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  19579. + if test "$$first2" = "$$first"; then \
  19580. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  19581. + else \
  19582. + dir2="../$$dir2"; \
  19583. + fi; \
  19584. + dir0="$$dir0"/"$$first"; \
  19585. + fi; \
  19586. + fi; \
  19587. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  19588. + done; \
  19589. + reldir="$$dir2"
  19590. ACLOCAL = @ACLOCAL@
  19591. AMTAR = @AMTAR@
  19592. AR = @AR@
  19593. @@ -413,6 +465,7 @@
  19594. PACKAGE_NAME = @PACKAGE_NAME@
  19595. PACKAGE_STRING = @PACKAGE_STRING@
  19596. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  19597. +PACKAGE_URL = @PACKAGE_URL@
  19598. PACKAGE_VERSION = @PACKAGE_VERSION@
  19599. PATH_SEPARATOR = @PATH_SEPARATOR@
  19600. PERL = @PERL@
  19601. @@ -680,9 +733,9 @@
  19602. exit 1;; \
  19603. esac; \
  19604. done; \
  19605. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
  19606. - cd $(top_srcdir) && \
  19607. - $(AUTOMAKE) --foreign src/Makefile
  19608. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
  19609. + $(am__cd) $(top_srcdir) && \
  19610. + $(AUTOMAKE) --foreign src/Makefile
  19611. .PRECIOUS: Makefile
  19612. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  19613. @case '$?' in \
  19614. @@ -700,6 +753,7 @@
  19615. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  19616. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  19617. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  19618. +$(am__aclocal_m4_deps):
  19619. config.h: stamp-h1
  19620. @if test ! -f $@; then \
  19621. @@ -711,7 +765,7 @@
  19622. @rm -f stamp-h1
  19623. cd $(top_builddir) && $(SHELL) ./config.status src/config.h
  19624. $(top_srcdir)/config.in: $(am__configure_deps)
  19625. - cd $(top_srcdir) && $(AUTOHEADER)
  19626. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  19627. rm -f stamp-h1
  19628. touch $@
  19629. @@ -745,23 +799,37 @@
  19630. install-binPROGRAMS: $(bin_PROGRAMS)
  19631. @$(NORMAL_INSTALL)
  19632. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  19633. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  19634. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  19635. - if test -f $$p \
  19636. - ; then \
  19637. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  19638. - echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  19639. - $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  19640. - else :; fi; \
  19641. - done
  19642. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  19643. + for p in $$list; do echo "$$p $$p"; done | \
  19644. + sed 's/$(EXEEXT)$$//' | \
  19645. + while read p p1; do if test -f $$p; \
  19646. + then echo "$$p"; echo "$$p"; else :; fi; \
  19647. + done | \
  19648. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  19649. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  19650. + sed 'N;N;N;s,\n, ,g' | \
  19651. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  19652. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  19653. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  19654. + else { print "f", $$3 "/" $$4, $$1; } } \
  19655. + END { for (d in files) print "f", d, files[d] }' | \
  19656. + while read type dir files; do \
  19657. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  19658. + test -z "$$files" || { \
  19659. + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  19660. + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  19661. + } \
  19662. + ; done
  19663. uninstall-binPROGRAMS:
  19664. @$(NORMAL_UNINSTALL)
  19665. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  19666. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  19667. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  19668. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  19669. - done
  19670. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  19671. + files=`for p in $$list; do echo "$$p"; done | \
  19672. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  19673. + -e 's/$$/$(EXEEXT)/' `; \
  19674. + test -n "$$list" || exit 0; \
  19675. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  19676. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  19677. clean-binPROGRAMS:
  19678. -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  19679. @@ -819,41 +887,71 @@
  19680. install-binSCRIPTS: $(bin_SCRIPTS)
  19681. @$(NORMAL_INSTALL)
  19682. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  19683. - @list='$(bin_SCRIPTS)'; for p in $$list; do \
  19684. + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
  19685. + for p in $$list; do \
  19686. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  19687. - if test -f $$d$$p; then \
  19688. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  19689. - echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  19690. - $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
  19691. - else :; fi; \
  19692. - done
  19693. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  19694. + done | \
  19695. + sed -e 'p;s,.*/,,;n' \
  19696. + -e 'h;s|.*|.|' \
  19697. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  19698. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  19699. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  19700. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  19701. + if (++n[d] == $(am__install_max)) { \
  19702. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  19703. + else { print "f", d "/" $$4, $$1 } } \
  19704. + END { for (d in files) print "f", d, files[d] }' | \
  19705. + while read type dir files; do \
  19706. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  19707. + test -z "$$files" || { \
  19708. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  19709. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  19710. + } \
  19711. + ; done
  19712. uninstall-binSCRIPTS:
  19713. @$(NORMAL_UNINSTALL)
  19714. - @list='$(bin_SCRIPTS)'; for p in $$list; do \
  19715. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  19716. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  19717. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  19718. - done
  19719. + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
  19720. + files=`for p in $$list; do echo "$$p"; done | \
  19721. + sed -e 's,.*/,,;$(transform)'`; \
  19722. + test -n "$$list" || exit 0; \
  19723. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  19724. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  19725. install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
  19726. @$(NORMAL_INSTALL)
  19727. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  19728. - @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \
  19729. + @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
  19730. + for p in $$list; do \
  19731. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  19732. - if test -f $$d$$p; then \
  19733. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  19734. - echo " $(dist_binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  19735. - $(dist_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
  19736. - else :; fi; \
  19737. - done
  19738. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  19739. + done | \
  19740. + sed -e 'p;s,.*/,,;n' \
  19741. + -e 'h;s|.*|.|' \
  19742. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  19743. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  19744. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  19745. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  19746. + if (++n[d] == $(am__install_max)) { \
  19747. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  19748. + else { print "f", d "/" $$4, $$1 } } \
  19749. + END { for (d in files) print "f", d, files[d] }' | \
  19750. + while read type dir files; do \
  19751. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  19752. + test -z "$$files" || { \
  19753. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  19754. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  19755. + } \
  19756. + ; done
  19757. uninstall-dist_binSCRIPTS:
  19758. @$(NORMAL_UNINSTALL)
  19759. - @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \
  19760. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  19761. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  19762. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  19763. - done
  19764. + @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
  19765. + files=`for p in $$list; do echo "$$p"; done | \
  19766. + sed -e 's,.*/,,;$(transform)'`; \
  19767. + test -n "$$list" || exit 0; \
  19768. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  19769. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  19770. mostlyclean-compile:
  19771. -rm -f *.$(OBJEXT)
  19772. @@ -981,364 +1079,364 @@
  19773. .c.o:
  19774. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  19775. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  19776. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  19777. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  19778. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19779. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  19780. .c.obj:
  19781. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  19782. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  19783. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  19784. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  19785. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19786. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  19787. libbf_gsl_a-chisq.o: ../gsl/cdf/chisq.c
  19788. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-chisq.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-chisq.Tpo -c -o libbf_gsl_a-chisq.o `test -f '../gsl/cdf/chisq.c' || echo '$(srcdir)/'`../gsl/cdf/chisq.c
  19789. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-chisq.Tpo $(DEPDIR)/libbf_gsl_a-chisq.Po
  19790. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-chisq.Tpo $(DEPDIR)/libbf_gsl_a-chisq.Po
  19791. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/cdf/chisq.c' object='libbf_gsl_a-chisq.o' libtool=no @AMDEPBACKSLASH@
  19792. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19793. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-chisq.o `test -f '../gsl/cdf/chisq.c' || echo '$(srcdir)/'`../gsl/cdf/chisq.c
  19794. libbf_gsl_a-chisq.obj: ../gsl/cdf/chisq.c
  19795. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-chisq.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-chisq.Tpo -c -o libbf_gsl_a-chisq.obj `if test -f '../gsl/cdf/chisq.c'; then $(CYGPATH_W) '../gsl/cdf/chisq.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/cdf/chisq.c'; fi`
  19796. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-chisq.Tpo $(DEPDIR)/libbf_gsl_a-chisq.Po
  19797. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-chisq.Tpo $(DEPDIR)/libbf_gsl_a-chisq.Po
  19798. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/cdf/chisq.c' object='libbf_gsl_a-chisq.obj' libtool=no @AMDEPBACKSLASH@
  19799. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19800. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-chisq.obj `if test -f '../gsl/cdf/chisq.c'; then $(CYGPATH_W) '../gsl/cdf/chisq.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/cdf/chisq.c'; fi`
  19801. libbf_gsl_a-gamma.o: ../gsl/cdf/gamma.c
  19802. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-gamma.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-gamma.Tpo -c -o libbf_gsl_a-gamma.o `test -f '../gsl/cdf/gamma.c' || echo '$(srcdir)/'`../gsl/cdf/gamma.c
  19803. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-gamma.Tpo $(DEPDIR)/libbf_gsl_a-gamma.Po
  19804. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-gamma.Tpo $(DEPDIR)/libbf_gsl_a-gamma.Po
  19805. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/cdf/gamma.c' object='libbf_gsl_a-gamma.o' libtool=no @AMDEPBACKSLASH@
  19806. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19807. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-gamma.o `test -f '../gsl/cdf/gamma.c' || echo '$(srcdir)/'`../gsl/cdf/gamma.c
  19808. libbf_gsl_a-gamma.obj: ../gsl/cdf/gamma.c
  19809. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-gamma.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-gamma.Tpo -c -o libbf_gsl_a-gamma.obj `if test -f '../gsl/cdf/gamma.c'; then $(CYGPATH_W) '../gsl/cdf/gamma.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/cdf/gamma.c'; fi`
  19810. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-gamma.Tpo $(DEPDIR)/libbf_gsl_a-gamma.Po
  19811. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-gamma.Tpo $(DEPDIR)/libbf_gsl_a-gamma.Po
  19812. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/cdf/gamma.c' object='libbf_gsl_a-gamma.obj' libtool=no @AMDEPBACKSLASH@
  19813. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19814. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-gamma.obj `if test -f '../gsl/cdf/gamma.c'; then $(CYGPATH_W) '../gsl/cdf/gamma.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/cdf/gamma.c'; fi`
  19815. libbf_gsl_a-gamma_inc.o: ../gsl/specfunc/gamma_inc.c
  19816. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-gamma_inc.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-gamma_inc.Tpo -c -o libbf_gsl_a-gamma_inc.o `test -f '../gsl/specfunc/gamma_inc.c' || echo '$(srcdir)/'`../gsl/specfunc/gamma_inc.c
  19817. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-gamma_inc.Tpo $(DEPDIR)/libbf_gsl_a-gamma_inc.Po
  19818. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-gamma_inc.Tpo $(DEPDIR)/libbf_gsl_a-gamma_inc.Po
  19819. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/gamma_inc.c' object='libbf_gsl_a-gamma_inc.o' libtool=no @AMDEPBACKSLASH@
  19820. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19821. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-gamma_inc.o `test -f '../gsl/specfunc/gamma_inc.c' || echo '$(srcdir)/'`../gsl/specfunc/gamma_inc.c
  19822. libbf_gsl_a-gamma_inc.obj: ../gsl/specfunc/gamma_inc.c
  19823. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-gamma_inc.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-gamma_inc.Tpo -c -o libbf_gsl_a-gamma_inc.obj `if test -f '../gsl/specfunc/gamma_inc.c'; then $(CYGPATH_W) '../gsl/specfunc/gamma_inc.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/gamma_inc.c'; fi`
  19824. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-gamma_inc.Tpo $(DEPDIR)/libbf_gsl_a-gamma_inc.Po
  19825. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-gamma_inc.Tpo $(DEPDIR)/libbf_gsl_a-gamma_inc.Po
  19826. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/gamma_inc.c' object='libbf_gsl_a-gamma_inc.obj' libtool=no @AMDEPBACKSLASH@
  19827. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19828. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-gamma_inc.obj `if test -f '../gsl/specfunc/gamma_inc.c'; then $(CYGPATH_W) '../gsl/specfunc/gamma_inc.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/gamma_inc.c'; fi`
  19829. libbf_gsl_a-error.o: ../gsl/err/error.c
  19830. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-error.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-error.Tpo -c -o libbf_gsl_a-error.o `test -f '../gsl/err/error.c' || echo '$(srcdir)/'`../gsl/err/error.c
  19831. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-error.Tpo $(DEPDIR)/libbf_gsl_a-error.Po
  19832. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-error.Tpo $(DEPDIR)/libbf_gsl_a-error.Po
  19833. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/err/error.c' object='libbf_gsl_a-error.o' libtool=no @AMDEPBACKSLASH@
  19834. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19835. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-error.o `test -f '../gsl/err/error.c' || echo '$(srcdir)/'`../gsl/err/error.c
  19836. libbf_gsl_a-error.obj: ../gsl/err/error.c
  19837. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-error.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-error.Tpo -c -o libbf_gsl_a-error.obj `if test -f '../gsl/err/error.c'; then $(CYGPATH_W) '../gsl/err/error.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/err/error.c'; fi`
  19838. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-error.Tpo $(DEPDIR)/libbf_gsl_a-error.Po
  19839. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-error.Tpo $(DEPDIR)/libbf_gsl_a-error.Po
  19840. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/err/error.c' object='libbf_gsl_a-error.obj' libtool=no @AMDEPBACKSLASH@
  19841. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19842. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-error.obj `if test -f '../gsl/err/error.c'; then $(CYGPATH_W) '../gsl/err/error.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/err/error.c'; fi`
  19843. libbf_gsl_a-infnan.o: ../gsl/sys/infnan.c
  19844. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-infnan.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-infnan.Tpo -c -o libbf_gsl_a-infnan.o `test -f '../gsl/sys/infnan.c' || echo '$(srcdir)/'`../gsl/sys/infnan.c
  19845. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-infnan.Tpo $(DEPDIR)/libbf_gsl_a-infnan.Po
  19846. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-infnan.Tpo $(DEPDIR)/libbf_gsl_a-infnan.Po
  19847. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/infnan.c' object='libbf_gsl_a-infnan.o' libtool=no @AMDEPBACKSLASH@
  19848. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19849. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-infnan.o `test -f '../gsl/sys/infnan.c' || echo '$(srcdir)/'`../gsl/sys/infnan.c
  19850. libbf_gsl_a-infnan.obj: ../gsl/sys/infnan.c
  19851. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-infnan.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-infnan.Tpo -c -o libbf_gsl_a-infnan.obj `if test -f '../gsl/sys/infnan.c'; then $(CYGPATH_W) '../gsl/sys/infnan.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/infnan.c'; fi`
  19852. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-infnan.Tpo $(DEPDIR)/libbf_gsl_a-infnan.Po
  19853. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-infnan.Tpo $(DEPDIR)/libbf_gsl_a-infnan.Po
  19854. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/infnan.c' object='libbf_gsl_a-infnan.obj' libtool=no @AMDEPBACKSLASH@
  19855. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19856. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-infnan.obj `if test -f '../gsl/sys/infnan.c'; then $(CYGPATH_W) '../gsl/sys/infnan.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/infnan.c'; fi`
  19857. libbf_gsl_a-fdiv.o: ../gsl/sys/fdiv.c
  19858. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-fdiv.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-fdiv.Tpo -c -o libbf_gsl_a-fdiv.o `test -f '../gsl/sys/fdiv.c' || echo '$(srcdir)/'`../gsl/sys/fdiv.c
  19859. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-fdiv.Tpo $(DEPDIR)/libbf_gsl_a-fdiv.Po
  19860. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-fdiv.Tpo $(DEPDIR)/libbf_gsl_a-fdiv.Po
  19861. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/fdiv.c' object='libbf_gsl_a-fdiv.o' libtool=no @AMDEPBACKSLASH@
  19862. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19863. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-fdiv.o `test -f '../gsl/sys/fdiv.c' || echo '$(srcdir)/'`../gsl/sys/fdiv.c
  19864. libbf_gsl_a-fdiv.obj: ../gsl/sys/fdiv.c
  19865. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-fdiv.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-fdiv.Tpo -c -o libbf_gsl_a-fdiv.obj `if test -f '../gsl/sys/fdiv.c'; then $(CYGPATH_W) '../gsl/sys/fdiv.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/fdiv.c'; fi`
  19866. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-fdiv.Tpo $(DEPDIR)/libbf_gsl_a-fdiv.Po
  19867. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-fdiv.Tpo $(DEPDIR)/libbf_gsl_a-fdiv.Po
  19868. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/fdiv.c' object='libbf_gsl_a-fdiv.obj' libtool=no @AMDEPBACKSLASH@
  19869. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19870. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-fdiv.obj `if test -f '../gsl/sys/fdiv.c'; then $(CYGPATH_W) '../gsl/sys/fdiv.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/fdiv.c'; fi`
  19871. libbf_gsl_a-exp.o: ../gsl/specfunc/exp.c
  19872. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-exp.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-exp.Tpo -c -o libbf_gsl_a-exp.o `test -f '../gsl/specfunc/exp.c' || echo '$(srcdir)/'`../gsl/specfunc/exp.c
  19873. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-exp.Tpo $(DEPDIR)/libbf_gsl_a-exp.Po
  19874. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-exp.Tpo $(DEPDIR)/libbf_gsl_a-exp.Po
  19875. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/exp.c' object='libbf_gsl_a-exp.o' libtool=no @AMDEPBACKSLASH@
  19876. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19877. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-exp.o `test -f '../gsl/specfunc/exp.c' || echo '$(srcdir)/'`../gsl/specfunc/exp.c
  19878. libbf_gsl_a-exp.obj: ../gsl/specfunc/exp.c
  19879. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-exp.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-exp.Tpo -c -o libbf_gsl_a-exp.obj `if test -f '../gsl/specfunc/exp.c'; then $(CYGPATH_W) '../gsl/specfunc/exp.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/exp.c'; fi`
  19880. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-exp.Tpo $(DEPDIR)/libbf_gsl_a-exp.Po
  19881. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-exp.Tpo $(DEPDIR)/libbf_gsl_a-exp.Po
  19882. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/exp.c' object='libbf_gsl_a-exp.obj' libtool=no @AMDEPBACKSLASH@
  19883. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19884. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-exp.obj `if test -f '../gsl/specfunc/exp.c'; then $(CYGPATH_W) '../gsl/specfunc/exp.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/exp.c'; fi`
  19885. libbf_gsl_a-trig.o: ../gsl/specfunc/trig.c
  19886. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-trig.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-trig.Tpo -c -o libbf_gsl_a-trig.o `test -f '../gsl/specfunc/trig.c' || echo '$(srcdir)/'`../gsl/specfunc/trig.c
  19887. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-trig.Tpo $(DEPDIR)/libbf_gsl_a-trig.Po
  19888. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-trig.Tpo $(DEPDIR)/libbf_gsl_a-trig.Po
  19889. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/trig.c' object='libbf_gsl_a-trig.o' libtool=no @AMDEPBACKSLASH@
  19890. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19891. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-trig.o `test -f '../gsl/specfunc/trig.c' || echo '$(srcdir)/'`../gsl/specfunc/trig.c
  19892. libbf_gsl_a-trig.obj: ../gsl/specfunc/trig.c
  19893. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-trig.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-trig.Tpo -c -o libbf_gsl_a-trig.obj `if test -f '../gsl/specfunc/trig.c'; then $(CYGPATH_W) '../gsl/specfunc/trig.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/trig.c'; fi`
  19894. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-trig.Tpo $(DEPDIR)/libbf_gsl_a-trig.Po
  19895. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-trig.Tpo $(DEPDIR)/libbf_gsl_a-trig.Po
  19896. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/trig.c' object='libbf_gsl_a-trig.obj' libtool=no @AMDEPBACKSLASH@
  19897. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19898. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-trig.obj `if test -f '../gsl/specfunc/trig.c'; then $(CYGPATH_W) '../gsl/specfunc/trig.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/trig.c'; fi`
  19899. libbf_gsl_a-log.o: ../gsl/specfunc/log.c
  19900. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-log.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-log.Tpo -c -o libbf_gsl_a-log.o `test -f '../gsl/specfunc/log.c' || echo '$(srcdir)/'`../gsl/specfunc/log.c
  19901. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-log.Tpo $(DEPDIR)/libbf_gsl_a-log.Po
  19902. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-log.Tpo $(DEPDIR)/libbf_gsl_a-log.Po
  19903. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/log.c' object='libbf_gsl_a-log.o' libtool=no @AMDEPBACKSLASH@
  19904. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19905. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-log.o `test -f '../gsl/specfunc/log.c' || echo '$(srcdir)/'`../gsl/specfunc/log.c
  19906. libbf_gsl_a-log.obj: ../gsl/specfunc/log.c
  19907. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-log.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-log.Tpo -c -o libbf_gsl_a-log.obj `if test -f '../gsl/specfunc/log.c'; then $(CYGPATH_W) '../gsl/specfunc/log.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/log.c'; fi`
  19908. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-log.Tpo $(DEPDIR)/libbf_gsl_a-log.Po
  19909. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-log.Tpo $(DEPDIR)/libbf_gsl_a-log.Po
  19910. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/log.c' object='libbf_gsl_a-log.obj' libtool=no @AMDEPBACKSLASH@
  19911. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19912. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-log.obj `if test -f '../gsl/specfunc/log.c'; then $(CYGPATH_W) '../gsl/specfunc/log.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/log.c'; fi`
  19913. libbf_gsl_a-psi.o: ../gsl/specfunc/psi.c
  19914. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-psi.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-psi.Tpo -c -o libbf_gsl_a-psi.o `test -f '../gsl/specfunc/psi.c' || echo '$(srcdir)/'`../gsl/specfunc/psi.c
  19915. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-psi.Tpo $(DEPDIR)/libbf_gsl_a-psi.Po
  19916. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-psi.Tpo $(DEPDIR)/libbf_gsl_a-psi.Po
  19917. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/psi.c' object='libbf_gsl_a-psi.o' libtool=no @AMDEPBACKSLASH@
  19918. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19919. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-psi.o `test -f '../gsl/specfunc/psi.c' || echo '$(srcdir)/'`../gsl/specfunc/psi.c
  19920. libbf_gsl_a-psi.obj: ../gsl/specfunc/psi.c
  19921. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-psi.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-psi.Tpo -c -o libbf_gsl_a-psi.obj `if test -f '../gsl/specfunc/psi.c'; then $(CYGPATH_W) '../gsl/specfunc/psi.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/psi.c'; fi`
  19922. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-psi.Tpo $(DEPDIR)/libbf_gsl_a-psi.Po
  19923. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-psi.Tpo $(DEPDIR)/libbf_gsl_a-psi.Po
  19924. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/psi.c' object='libbf_gsl_a-psi.obj' libtool=no @AMDEPBACKSLASH@
  19925. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19926. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-psi.obj `if test -f '../gsl/specfunc/psi.c'; then $(CYGPATH_W) '../gsl/specfunc/psi.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/psi.c'; fi`
  19927. libbf_gsl_a-zeta.o: ../gsl/specfunc/zeta.c
  19928. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-zeta.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-zeta.Tpo -c -o libbf_gsl_a-zeta.o `test -f '../gsl/specfunc/zeta.c' || echo '$(srcdir)/'`../gsl/specfunc/zeta.c
  19929. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-zeta.Tpo $(DEPDIR)/libbf_gsl_a-zeta.Po
  19930. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-zeta.Tpo $(DEPDIR)/libbf_gsl_a-zeta.Po
  19931. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/zeta.c' object='libbf_gsl_a-zeta.o' libtool=no @AMDEPBACKSLASH@
  19932. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19933. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-zeta.o `test -f '../gsl/specfunc/zeta.c' || echo '$(srcdir)/'`../gsl/specfunc/zeta.c
  19934. libbf_gsl_a-zeta.obj: ../gsl/specfunc/zeta.c
  19935. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-zeta.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-zeta.Tpo -c -o libbf_gsl_a-zeta.obj `if test -f '../gsl/specfunc/zeta.c'; then $(CYGPATH_W) '../gsl/specfunc/zeta.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/zeta.c'; fi`
  19936. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-zeta.Tpo $(DEPDIR)/libbf_gsl_a-zeta.Po
  19937. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-zeta.Tpo $(DEPDIR)/libbf_gsl_a-zeta.Po
  19938. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/zeta.c' object='libbf_gsl_a-zeta.obj' libtool=no @AMDEPBACKSLASH@
  19939. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19940. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-zeta.obj `if test -f '../gsl/specfunc/zeta.c'; then $(CYGPATH_W) '../gsl/specfunc/zeta.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/zeta.c'; fi`
  19941. libbf_gsl_a-elementary.o: ../gsl/specfunc/elementary.c
  19942. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-elementary.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-elementary.Tpo -c -o libbf_gsl_a-elementary.o `test -f '../gsl/specfunc/elementary.c' || echo '$(srcdir)/'`../gsl/specfunc/elementary.c
  19943. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-elementary.Tpo $(DEPDIR)/libbf_gsl_a-elementary.Po
  19944. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-elementary.Tpo $(DEPDIR)/libbf_gsl_a-elementary.Po
  19945. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/elementary.c' object='libbf_gsl_a-elementary.o' libtool=no @AMDEPBACKSLASH@
  19946. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19947. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-elementary.o `test -f '../gsl/specfunc/elementary.c' || echo '$(srcdir)/'`../gsl/specfunc/elementary.c
  19948. libbf_gsl_a-elementary.obj: ../gsl/specfunc/elementary.c
  19949. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-elementary.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-elementary.Tpo -c -o libbf_gsl_a-elementary.obj `if test -f '../gsl/specfunc/elementary.c'; then $(CYGPATH_W) '../gsl/specfunc/elementary.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/elementary.c'; fi`
  19950. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-elementary.Tpo $(DEPDIR)/libbf_gsl_a-elementary.Po
  19951. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-elementary.Tpo $(DEPDIR)/libbf_gsl_a-elementary.Po
  19952. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/elementary.c' object='libbf_gsl_a-elementary.obj' libtool=no @AMDEPBACKSLASH@
  19953. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19954. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-elementary.obj `if test -f '../gsl/specfunc/elementary.c'; then $(CYGPATH_W) '../gsl/specfunc/elementary.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/elementary.c'; fi`
  19955. libbf_gsl_a-stream.o: ../gsl/err/stream.c
  19956. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-stream.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-stream.Tpo -c -o libbf_gsl_a-stream.o `test -f '../gsl/err/stream.c' || echo '$(srcdir)/'`../gsl/err/stream.c
  19957. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-stream.Tpo $(DEPDIR)/libbf_gsl_a-stream.Po
  19958. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-stream.Tpo $(DEPDIR)/libbf_gsl_a-stream.Po
  19959. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/err/stream.c' object='libbf_gsl_a-stream.o' libtool=no @AMDEPBACKSLASH@
  19960. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19961. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-stream.o `test -f '../gsl/err/stream.c' || echo '$(srcdir)/'`../gsl/err/stream.c
  19962. libbf_gsl_a-stream.obj: ../gsl/err/stream.c
  19963. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-stream.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-stream.Tpo -c -o libbf_gsl_a-stream.obj `if test -f '../gsl/err/stream.c'; then $(CYGPATH_W) '../gsl/err/stream.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/err/stream.c'; fi`
  19964. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-stream.Tpo $(DEPDIR)/libbf_gsl_a-stream.Po
  19965. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-stream.Tpo $(DEPDIR)/libbf_gsl_a-stream.Po
  19966. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/err/stream.c' object='libbf_gsl_a-stream.obj' libtool=no @AMDEPBACKSLASH@
  19967. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19968. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-stream.obj `if test -f '../gsl/err/stream.c'; then $(CYGPATH_W) '../gsl/err/stream.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/err/stream.c'; fi`
  19969. libbf_gsl_a-expint.o: ../gsl/specfunc/expint.c
  19970. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-expint.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-expint.Tpo -c -o libbf_gsl_a-expint.o `test -f '../gsl/specfunc/expint.c' || echo '$(srcdir)/'`../gsl/specfunc/expint.c
  19971. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-expint.Tpo $(DEPDIR)/libbf_gsl_a-expint.Po
  19972. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-expint.Tpo $(DEPDIR)/libbf_gsl_a-expint.Po
  19973. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/expint.c' object='libbf_gsl_a-expint.o' libtool=no @AMDEPBACKSLASH@
  19974. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19975. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-expint.o `test -f '../gsl/specfunc/expint.c' || echo '$(srcdir)/'`../gsl/specfunc/expint.c
  19976. libbf_gsl_a-expint.obj: ../gsl/specfunc/expint.c
  19977. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-expint.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-expint.Tpo -c -o libbf_gsl_a-expint.obj `if test -f '../gsl/specfunc/expint.c'; then $(CYGPATH_W) '../gsl/specfunc/expint.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/expint.c'; fi`
  19978. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-expint.Tpo $(DEPDIR)/libbf_gsl_a-expint.Po
  19979. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-expint.Tpo $(DEPDIR)/libbf_gsl_a-expint.Po
  19980. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/expint.c' object='libbf_gsl_a-expint.obj' libtool=no @AMDEPBACKSLASH@
  19981. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19982. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-expint.obj `if test -f '../gsl/specfunc/expint.c'; then $(CYGPATH_W) '../gsl/specfunc/expint.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/expint.c'; fi`
  19983. libbf_gsl_a-erfc.o: ../gsl/specfunc/erfc.c
  19984. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-erfc.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-erfc.Tpo -c -o libbf_gsl_a-erfc.o `test -f '../gsl/specfunc/erfc.c' || echo '$(srcdir)/'`../gsl/specfunc/erfc.c
  19985. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-erfc.Tpo $(DEPDIR)/libbf_gsl_a-erfc.Po
  19986. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-erfc.Tpo $(DEPDIR)/libbf_gsl_a-erfc.Po
  19987. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/erfc.c' object='libbf_gsl_a-erfc.o' libtool=no @AMDEPBACKSLASH@
  19988. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19989. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-erfc.o `test -f '../gsl/specfunc/erfc.c' || echo '$(srcdir)/'`../gsl/specfunc/erfc.c
  19990. libbf_gsl_a-erfc.obj: ../gsl/specfunc/erfc.c
  19991. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-erfc.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-erfc.Tpo -c -o libbf_gsl_a-erfc.obj `if test -f '../gsl/specfunc/erfc.c'; then $(CYGPATH_W) '../gsl/specfunc/erfc.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/erfc.c'; fi`
  19992. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-erfc.Tpo $(DEPDIR)/libbf_gsl_a-erfc.Po
  19993. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-erfc.Tpo $(DEPDIR)/libbf_gsl_a-erfc.Po
  19994. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/specfunc/erfc.c' object='libbf_gsl_a-erfc.obj' libtool=no @AMDEPBACKSLASH@
  19995. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  19996. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-erfc.obj `if test -f '../gsl/specfunc/erfc.c'; then $(CYGPATH_W) '../gsl/specfunc/erfc.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/specfunc/erfc.c'; fi`
  19997. libbf_gsl_a-coerce.o: ../gsl/sys/coerce.c
  19998. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-coerce.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-coerce.Tpo -c -o libbf_gsl_a-coerce.o `test -f '../gsl/sys/coerce.c' || echo '$(srcdir)/'`../gsl/sys/coerce.c
  19999. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-coerce.Tpo $(DEPDIR)/libbf_gsl_a-coerce.Po
  20000. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-coerce.Tpo $(DEPDIR)/libbf_gsl_a-coerce.Po
  20001. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/coerce.c' object='libbf_gsl_a-coerce.o' libtool=no @AMDEPBACKSLASH@
  20002. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20003. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-coerce.o `test -f '../gsl/sys/coerce.c' || echo '$(srcdir)/'`../gsl/sys/coerce.c
  20004. libbf_gsl_a-coerce.obj: ../gsl/sys/coerce.c
  20005. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-coerce.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-coerce.Tpo -c -o libbf_gsl_a-coerce.obj `if test -f '../gsl/sys/coerce.c'; then $(CYGPATH_W) '../gsl/sys/coerce.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/coerce.c'; fi`
  20006. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-coerce.Tpo $(DEPDIR)/libbf_gsl_a-coerce.Po
  20007. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-coerce.Tpo $(DEPDIR)/libbf_gsl_a-coerce.Po
  20008. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/coerce.c' object='libbf_gsl_a-coerce.obj' libtool=no @AMDEPBACKSLASH@
  20009. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20010. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-coerce.obj `if test -f '../gsl/sys/coerce.c'; then $(CYGPATH_W) '../gsl/sys/coerce.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/coerce.c'; fi`
  20011. libbf_gsl_a-pow_int.o: ../gsl/sys/pow_int.c
  20012. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-pow_int.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-pow_int.Tpo -c -o libbf_gsl_a-pow_int.o `test -f '../gsl/sys/pow_int.c' || echo '$(srcdir)/'`../gsl/sys/pow_int.c
  20013. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-pow_int.Tpo $(DEPDIR)/libbf_gsl_a-pow_int.Po
  20014. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-pow_int.Tpo $(DEPDIR)/libbf_gsl_a-pow_int.Po
  20015. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/pow_int.c' object='libbf_gsl_a-pow_int.o' libtool=no @AMDEPBACKSLASH@
  20016. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20017. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-pow_int.o `test -f '../gsl/sys/pow_int.c' || echo '$(srcdir)/'`../gsl/sys/pow_int.c
  20018. libbf_gsl_a-pow_int.obj: ../gsl/sys/pow_int.c
  20019. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-pow_int.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-pow_int.Tpo -c -o libbf_gsl_a-pow_int.obj `if test -f '../gsl/sys/pow_int.c'; then $(CYGPATH_W) '../gsl/sys/pow_int.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/pow_int.c'; fi`
  20020. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-pow_int.Tpo $(DEPDIR)/libbf_gsl_a-pow_int.Po
  20021. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-pow_int.Tpo $(DEPDIR)/libbf_gsl_a-pow_int.Po
  20022. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/pow_int.c' object='libbf_gsl_a-pow_int.obj' libtool=no @AMDEPBACKSLASH@
  20023. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20024. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-pow_int.obj `if test -f '../gsl/sys/pow_int.c'; then $(CYGPATH_W) '../gsl/sys/pow_int.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/pow_int.c'; fi`
  20025. libbf_gsl_a-minmax.o: ../gsl/sys/minmax.c
  20026. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-minmax.o -MD -MP -MF $(DEPDIR)/libbf_gsl_a-minmax.Tpo -c -o libbf_gsl_a-minmax.o `test -f '../gsl/sys/minmax.c' || echo '$(srcdir)/'`../gsl/sys/minmax.c
  20027. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-minmax.Tpo $(DEPDIR)/libbf_gsl_a-minmax.Po
  20028. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-minmax.Tpo $(DEPDIR)/libbf_gsl_a-minmax.Po
  20029. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/minmax.c' object='libbf_gsl_a-minmax.o' libtool=no @AMDEPBACKSLASH@
  20030. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20031. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-minmax.o `test -f '../gsl/sys/minmax.c' || echo '$(srcdir)/'`../gsl/sys/minmax.c
  20032. libbf_gsl_a-minmax.obj: ../gsl/sys/minmax.c
  20033. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -MT libbf_gsl_a-minmax.obj -MD -MP -MF $(DEPDIR)/libbf_gsl_a-minmax.Tpo -c -o libbf_gsl_a-minmax.obj `if test -f '../gsl/sys/minmax.c'; then $(CYGPATH_W) '../gsl/sys/minmax.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/minmax.c'; fi`
  20034. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libbf_gsl_a-minmax.Tpo $(DEPDIR)/libbf_gsl_a-minmax.Po
  20035. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbf_gsl_a-minmax.Tpo $(DEPDIR)/libbf_gsl_a-minmax.Po
  20036. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gsl/sys/minmax.c' object='libbf_gsl_a-minmax.obj' libtool=no @AMDEPBACKSLASH@
  20037. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20038. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbf_gsl_a_CPPFLAGS) $(CPPFLAGS) $(libbf_gsl_a_CFLAGS) $(CFLAGS) -c -o libbf_gsl_a-minmax.obj `if test -f '../gsl/sys/minmax.c'; then $(CYGPATH_W) '../gsl/sys/minmax.c'; else $(CYGPATH_W) '$(srcdir)/../gsl/sys/minmax.c'; fi`
  20039. getopt1.o: ../gnugetopt/getopt1.c
  20040. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt1.o -MD -MP -MF $(DEPDIR)/getopt1.Tpo -c -o getopt1.o `test -f '../gnugetopt/getopt1.c' || echo '$(srcdir)/'`../gnugetopt/getopt1.c
  20041. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
  20042. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
  20043. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gnugetopt/getopt1.c' object='getopt1.o' libtool=no @AMDEPBACKSLASH@
  20044. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20045. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt1.o `test -f '../gnugetopt/getopt1.c' || echo '$(srcdir)/'`../gnugetopt/getopt1.c
  20046. getopt1.obj: ../gnugetopt/getopt1.c
  20047. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt1.obj -MD -MP -MF $(DEPDIR)/getopt1.Tpo -c -o getopt1.obj `if test -f '../gnugetopt/getopt1.c'; then $(CYGPATH_W) '../gnugetopt/getopt1.c'; else $(CYGPATH_W) '$(srcdir)/../gnugetopt/getopt1.c'; fi`
  20048. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
  20049. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
  20050. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gnugetopt/getopt1.c' object='getopt1.obj' libtool=no @AMDEPBACKSLASH@
  20051. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20052. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt1.obj `if test -f '../gnugetopt/getopt1.c'; then $(CYGPATH_W) '../gnugetopt/getopt1.c'; else $(CYGPATH_W) '$(srcdir)/../gnugetopt/getopt1.c'; fi`
  20053. getopt.o: ../gnugetopt/getopt.c
  20054. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt.o -MD -MP -MF $(DEPDIR)/getopt.Tpo -c -o getopt.o `test -f '../gnugetopt/getopt.c' || echo '$(srcdir)/'`../gnugetopt/getopt.c
  20055. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
  20056. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
  20057. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gnugetopt/getopt.c' object='getopt.o' libtool=no @AMDEPBACKSLASH@
  20058. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20059. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.o `test -f '../gnugetopt/getopt.c' || echo '$(srcdir)/'`../gnugetopt/getopt.c
  20060. getopt.obj: ../gnugetopt/getopt.c
  20061. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt.obj -MD -MP -MF $(DEPDIR)/getopt.Tpo -c -o getopt.obj `if test -f '../gnugetopt/getopt.c'; then $(CYGPATH_W) '../gnugetopt/getopt.c'; else $(CYGPATH_W) '$(srcdir)/../gnugetopt/getopt.c'; fi`
  20062. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
  20063. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
  20064. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../gnugetopt/getopt.c' object='getopt.obj' libtool=no @AMDEPBACKSLASH@
  20065. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20066. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.obj `if test -f '../gnugetopt/getopt.c'; then $(CYGPATH_W) '../gnugetopt/getopt.c'; else $(CYGPATH_W) '$(srcdir)/../gnugetopt/getopt.c'; fi`
  20067. triostr.o: ../trio/triostr.c
  20068. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT triostr.o -MD -MP -MF $(DEPDIR)/triostr.Tpo -c -o triostr.o `test -f '../trio/triostr.c' || echo '$(srcdir)/'`../trio/triostr.c
  20069. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/triostr.Tpo $(DEPDIR)/triostr.Po
  20070. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/triostr.Tpo $(DEPDIR)/triostr.Po
  20071. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/triostr.c' object='triostr.o' libtool=no @AMDEPBACKSLASH@
  20072. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20073. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o triostr.o `test -f '../trio/triostr.c' || echo '$(srcdir)/'`../trio/triostr.c
  20074. triostr.obj: ../trio/triostr.c
  20075. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT triostr.obj -MD -MP -MF $(DEPDIR)/triostr.Tpo -c -o triostr.obj `if test -f '../trio/triostr.c'; then $(CYGPATH_W) '../trio/triostr.c'; else $(CYGPATH_W) '$(srcdir)/../trio/triostr.c'; fi`
  20076. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/triostr.Tpo $(DEPDIR)/triostr.Po
  20077. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/triostr.Tpo $(DEPDIR)/triostr.Po
  20078. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/triostr.c' object='triostr.obj' libtool=no @AMDEPBACKSLASH@
  20079. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20080. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o triostr.obj `if test -f '../trio/triostr.c'; then $(CYGPATH_W) '../trio/triostr.c'; else $(CYGPATH_W) '$(srcdir)/../trio/triostr.c'; fi`
  20081. trio.o: ../trio/trio.c
  20082. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trio.o -MD -MP -MF $(DEPDIR)/trio.Tpo -c -o trio.o `test -f '../trio/trio.c' || echo '$(srcdir)/'`../trio/trio.c
  20083. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trio.Tpo $(DEPDIR)/trio.Po
  20084. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/trio.Tpo $(DEPDIR)/trio.Po
  20085. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/trio.c' object='trio.o' libtool=no @AMDEPBACKSLASH@
  20086. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20087. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trio.o `test -f '../trio/trio.c' || echo '$(srcdir)/'`../trio/trio.c
  20088. trio.obj: ../trio/trio.c
  20089. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trio.obj -MD -MP -MF $(DEPDIR)/trio.Tpo -c -o trio.obj `if test -f '../trio/trio.c'; then $(CYGPATH_W) '../trio/trio.c'; else $(CYGPATH_W) '$(srcdir)/../trio/trio.c'; fi`
  20090. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trio.Tpo $(DEPDIR)/trio.Po
  20091. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/trio.Tpo $(DEPDIR)/trio.Po
  20092. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/trio.c' object='trio.obj' libtool=no @AMDEPBACKSLASH@
  20093. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20094. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trio.obj `if test -f '../trio/trio.c'; then $(CYGPATH_W) '../trio/trio.c'; else $(CYGPATH_W) '$(srcdir)/../trio/trio.c'; fi`
  20095. trionan.o: ../trio/trionan.c
  20096. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trionan.o -MD -MP -MF $(DEPDIR)/trionan.Tpo -c -o trionan.o `test -f '../trio/trionan.c' || echo '$(srcdir)/'`../trio/trionan.c
  20097. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trionan.Tpo $(DEPDIR)/trionan.Po
  20098. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/trionan.Tpo $(DEPDIR)/trionan.Po
  20099. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/trionan.c' object='trionan.o' libtool=no @AMDEPBACKSLASH@
  20100. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20101. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trionan.o `test -f '../trio/trionan.c' || echo '$(srcdir)/'`../trio/trionan.c
  20102. trionan.obj: ../trio/trionan.c
  20103. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT trionan.obj -MD -MP -MF $(DEPDIR)/trionan.Tpo -c -o trionan.obj `if test -f '../trio/trionan.c'; then $(CYGPATH_W) '../trio/trionan.c'; else $(CYGPATH_W) '$(srcdir)/../trio/trionan.c'; fi`
  20104. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/trionan.Tpo $(DEPDIR)/trionan.Po
  20105. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/trionan.Tpo $(DEPDIR)/trionan.Po
  20106. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/trionan.c' object='trionan.obj' libtool=no @AMDEPBACKSLASH@
  20107. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20108. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o trionan.obj `if test -f '../trio/trionan.c'; then $(CYGPATH_W) '../trio/trionan.c'; else $(CYGPATH_W) '$(srcdir)/../trio/trionan.c'; fi`
  20109. fgetsl_test-fgetsl.o: fgetsl.c
  20110. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fgetsl_test_CFLAGS) $(CFLAGS) -MT fgetsl_test-fgetsl.o -MD -MP -MF $(DEPDIR)/fgetsl_test-fgetsl.Tpo -c -o fgetsl_test-fgetsl.o `test -f 'fgetsl.c' || echo '$(srcdir)/'`fgetsl.c
  20111. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/fgetsl_test-fgetsl.Tpo $(DEPDIR)/fgetsl_test-fgetsl.Po
  20112. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/fgetsl_test-fgetsl.Tpo $(DEPDIR)/fgetsl_test-fgetsl.Po
  20113. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fgetsl.c' object='fgetsl_test-fgetsl.o' libtool=no @AMDEPBACKSLASH@
  20114. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20115. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fgetsl_test_CFLAGS) $(CFLAGS) -c -o fgetsl_test-fgetsl.o `test -f 'fgetsl.c' || echo '$(srcdir)/'`fgetsl.c
  20116. fgetsl_test-fgetsl.obj: fgetsl.c
  20117. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fgetsl_test_CFLAGS) $(CFLAGS) -MT fgetsl_test-fgetsl.obj -MD -MP -MF $(DEPDIR)/fgetsl_test-fgetsl.Tpo -c -o fgetsl_test-fgetsl.obj `if test -f 'fgetsl.c'; then $(CYGPATH_W) 'fgetsl.c'; else $(CYGPATH_W) '$(srcdir)/fgetsl.c'; fi`
  20118. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/fgetsl_test-fgetsl.Tpo $(DEPDIR)/fgetsl_test-fgetsl.Po
  20119. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/fgetsl_test-fgetsl.Tpo $(DEPDIR)/fgetsl_test-fgetsl.Po
  20120. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fgetsl.c' object='fgetsl_test-fgetsl.obj' libtool=no @AMDEPBACKSLASH@
  20121. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20122. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fgetsl_test_CFLAGS) $(CFLAGS) -c -o fgetsl_test-fgetsl.obj `if test -f 'fgetsl.c'; then $(CYGPATH_W) 'fgetsl.c'; else $(CYGPATH_W) '$(srcdir)/fgetsl.c'; fi`
  20123. regression.o: ../trio/regression.c
  20124. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regression.o -MD -MP -MF $(DEPDIR)/regression.Tpo -c -o regression.o `test -f '../trio/regression.c' || echo '$(srcdir)/'`../trio/regression.c
  20125. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/regression.Tpo $(DEPDIR)/regression.Po
  20126. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/regression.Tpo $(DEPDIR)/regression.Po
  20127. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/regression.c' object='regression.o' libtool=no @AMDEPBACKSLASH@
  20128. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20129. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regression.o `test -f '../trio/regression.c' || echo '$(srcdir)/'`../trio/regression.c
  20130. regression.obj: ../trio/regression.c
  20131. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regression.obj -MD -MP -MF $(DEPDIR)/regression.Tpo -c -o regression.obj `if test -f '../trio/regression.c'; then $(CYGPATH_W) '../trio/regression.c'; else $(CYGPATH_W) '$(srcdir)/../trio/regression.c'; fi`
  20132. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/regression.Tpo $(DEPDIR)/regression.Po
  20133. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/regression.Tpo $(DEPDIR)/regression.Po
  20134. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../trio/regression.c' object='regression.obj' libtool=no @AMDEPBACKSLASH@
  20135. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20136. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regression.obj `if test -f '../trio/regression.c'; then $(CYGPATH_W) '../trio/regression.c'; else $(CYGPATH_W) '$(srcdir)/../trio/regression.c'; fi`
  20137. @@ -1353,7 +1451,7 @@
  20138. # (which will cause the Makefiles to be regenerated when you run `make');
  20139. # (2) otherwise, pass the desired values on the `make' command line.
  20140. $(RECURSIVE_TARGETS):
  20141. - @failcom='exit 1'; \
  20142. + @fail= failcom='exit 1'; \
  20143. for f in x $$MAKEFLAGS; do \
  20144. case $$f in \
  20145. *=* | --[!k]*);; \
  20146. @@ -1370,7 +1468,7 @@
  20147. else \
  20148. local_target="$$target"; \
  20149. fi; \
  20150. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  20151. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  20152. || eval $$failcom; \
  20153. done; \
  20154. if test "$$dot_seen" = "no"; then \
  20155. @@ -1378,7 +1476,7 @@
  20156. fi; test -z "$$fail"
  20157. $(RECURSIVE_CLEAN_TARGETS):
  20158. - @failcom='exit 1'; \
  20159. + @fail= failcom='exit 1'; \
  20160. for f in x $$MAKEFLAGS; do \
  20161. case $$f in \
  20162. *=* | --[!k]*);; \
  20163. @@ -1404,16 +1502,16 @@
  20164. else \
  20165. local_target="$$target"; \
  20166. fi; \
  20167. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  20168. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  20169. || eval $$failcom; \
  20170. done && test -z "$$fail"
  20171. tags-recursive:
  20172. list='$(SUBDIRS)'; for subdir in $$list; do \
  20173. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  20174. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  20175. done
  20176. ctags-recursive:
  20177. list='$(SUBDIRS)'; for subdir in $$list; do \
  20178. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  20179. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  20180. done
  20181. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  20182. @@ -1428,7 +1526,7 @@
  20183. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  20184. $(TAGS_FILES) $(LISP)
  20185. - tags=; \
  20186. + set x; \
  20187. here=`pwd`; \
  20188. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  20189. include_option=--etags-include; \
  20190. @@ -1440,7 +1538,7 @@
  20191. list='$(SUBDIRS)'; for subdir in $$list; do \
  20192. if test "$$subdir" = .; then :; else \
  20193. test ! -f $$subdir/TAGS || \
  20194. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  20195. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  20196. fi; \
  20197. done; \
  20198. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  20199. @@ -1449,29 +1547,34 @@
  20200. done | \
  20201. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  20202. END { if (nonempty) { for (i in files) print i; }; }'`; \
  20203. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  20204. + shift; \
  20205. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  20206. test -n "$$unique" || unique=$$empty_fix; \
  20207. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  20208. - $$tags $$unique; \
  20209. + if test $$# -gt 0; then \
  20210. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  20211. + "$$@" $$unique; \
  20212. + else \
  20213. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  20214. + $$unique; \
  20215. + fi; \
  20216. fi
  20217. ctags: CTAGS
  20218. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  20219. $(TAGS_FILES) $(LISP)
  20220. - tags=; \
  20221. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  20222. unique=`for i in $$list; do \
  20223. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  20224. done | \
  20225. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  20226. END { if (nonempty) { for (i in files) print i; }; }'`; \
  20227. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  20228. + test -z "$(CTAGS_ARGS)$$unique" \
  20229. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  20230. - $$tags $$unique
  20231. + $$unique
  20232. GTAGS:
  20233. here=`$(am__cd) $(top_builddir) && pwd` \
  20234. - && cd $(top_srcdir) \
  20235. - && gtags -i $(GTAGS_ARGS) $$here
  20236. + && $(am__cd) $(top_srcdir) \
  20237. + && gtags -i $(GTAGS_ARGS) "$$here"
  20238. distclean-tags:
  20239. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  20240. @@ -1480,6 +1583,7 @@
  20241. @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  20242. srcdir=$(srcdir); export srcdir; \
  20243. list=' $(TESTS) '; \
  20244. + $(am__tty_colors); \
  20245. if test -n "$$list"; then \
  20246. for tst in $$list; do \
  20247. if test -f ./$$tst; then dir=./; \
  20248. @@ -1491,10 +1595,10 @@
  20249. *[\ \ ]$$tst[\ \ ]*) \
  20250. xpass=`expr $$xpass + 1`; \
  20251. failed=`expr $$failed + 1`; \
  20252. - echo "XPASS: $$tst"; \
  20253. + col=$$red; res=XPASS; \
  20254. ;; \
  20255. *) \
  20256. - echo "PASS: $$tst"; \
  20257. + col=$$grn; res=PASS; \
  20258. ;; \
  20259. esac; \
  20260. elif test $$? -ne 77; then \
  20261. @@ -1502,17 +1606,18 @@
  20262. case " $(XFAIL_TESTS) " in \
  20263. *[\ \ ]$$tst[\ \ ]*) \
  20264. xfail=`expr $$xfail + 1`; \
  20265. - echo "XFAIL: $$tst"; \
  20266. + col=$$lgn; res=XFAIL; \
  20267. ;; \
  20268. *) \
  20269. failed=`expr $$failed + 1`; \
  20270. - echo "FAIL: $$tst"; \
  20271. + col=$$red; res=FAIL; \
  20272. ;; \
  20273. esac; \
  20274. else \
  20275. skip=`expr $$skip + 1`; \
  20276. - echo "SKIP: $$tst"; \
  20277. + col=$$blu; res=SKIP; \
  20278. fi; \
  20279. + echo "$${col}$$res$${std}: $$tst"; \
  20280. done; \
  20281. if test "$$all" -eq 1; then \
  20282. tests="test"; \
  20283. @@ -1554,11 +1659,15 @@
  20284. dashes="$$report"; \
  20285. fi; \
  20286. dashes=`echo "$$dashes" | sed s/./=/g`; \
  20287. - echo "$$dashes"; \
  20288. + if test "$$failed" -eq 0; then \
  20289. + echo "$$grn$$dashes"; \
  20290. + else \
  20291. + echo "$$red$$dashes"; \
  20292. + fi; \
  20293. echo "$$banner"; \
  20294. test -z "$$skipped" || echo "$$skipped"; \
  20295. test -z "$$report" || echo "$$report"; \
  20296. - echo "$$dashes"; \
  20297. + echo "$$dashes$$std"; \
  20298. test "$$failed" -eq 0; \
  20299. else :; fi
  20300. @@ -1578,29 +1687,44 @@
  20301. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  20302. if test -d $$d/$$file; then \
  20303. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  20304. + if test -d "$(distdir)/$$file"; then \
  20305. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  20306. + fi; \
  20307. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  20308. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  20309. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  20310. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  20311. fi; \
  20312. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  20313. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  20314. else \
  20315. - test -f $(distdir)/$$file \
  20316. - || cp -p $$d/$$file $(distdir)/$$file \
  20317. + test -f "$(distdir)/$$file" \
  20318. + || cp -p $$d/$$file "$(distdir)/$$file" \
  20319. || exit 1; \
  20320. fi; \
  20321. done
  20322. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  20323. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  20324. if test "$$subdir" = .; then :; else \
  20325. test -d "$(distdir)/$$subdir" \
  20326. || $(MKDIR_P) "$(distdir)/$$subdir" \
  20327. || exit 1; \
  20328. - distdir=`$(am__cd) $(distdir) && pwd`; \
  20329. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  20330. - (cd $$subdir && \
  20331. + fi; \
  20332. + done
  20333. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  20334. + if test "$$subdir" = .; then :; else \
  20335. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  20336. + $(am__relativize); \
  20337. + new_distdir=$$reldir; \
  20338. + dir1=$$subdir; dir2="$(top_distdir)"; \
  20339. + $(am__relativize); \
  20340. + new_top_distdir=$$reldir; \
  20341. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  20342. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  20343. + ($(am__cd) $$subdir && \
  20344. $(MAKE) $(AM_MAKEFLAGS) \
  20345. - top_distdir="$$top_distdir" \
  20346. - distdir="$$distdir/$$subdir" \
  20347. + top_distdir="$$new_top_distdir" \
  20348. + distdir="$$new_distdir" \
  20349. am__remove_distdir=: \
  20350. am__skip_length_check=: \
  20351. + am__skip_mode_fix=: \
  20352. distdir) \
  20353. || exit 1; \
  20354. fi; \
  20355. @@ -1638,6 +1762,7 @@
  20356. distclean-generic:
  20357. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  20358. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  20359. maintainer-clean-generic:
  20360. @echo "This command is intended for maintainers to use"
  20361. @@ -1661,6 +1786,8 @@
  20362. html: html-recursive
  20363. +html-am:
  20364. +
  20365. info: info-recursive
  20366. info-am:
  20367. @@ -1669,19 +1796,29 @@
  20368. install-dvi: install-dvi-recursive
  20369. +install-dvi-am:
  20370. +
  20371. install-exec-am: install-binPROGRAMS install-binSCRIPTS \
  20372. install-dist_binSCRIPTS
  20373. install-html: install-html-recursive
  20374. +install-html-am:
  20375. +
  20376. install-info: install-info-recursive
  20377. +install-info-am:
  20378. +
  20379. install-man:
  20380. install-pdf: install-pdf-recursive
  20381. +install-pdf-am:
  20382. +
  20383. install-ps: install-ps-recursive
  20384. +install-ps-am:
  20385. +
  20386. installcheck-am:
  20387. maintainer-clean: maintainer-clean-recursive
  20388. @@ -1704,8 +1841,9 @@
  20389. uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
  20390. uninstall-dist_binSCRIPTS
  20391. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  20392. - install-strip
  20393. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
  20394. + check-am ctags-recursive install install-am install-strip \
  20395. + tags-recursive
  20396. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  20397. all all-am check check-TESTS check-am clean clean-binPROGRAMS \
  20398. @@ -1764,6 +1902,7 @@
  20399. @PATCH_FLEX_254_TRUE@ patch $@ < $(srcdir)/patch.lexer.254.txt
  20400. @PATCH_FLEX_253X_TRUE@ patch $@ < $(srcdir)/patch.lexer.253x.txt
  20401. rm -f lex.yy.c
  20402. +
  20403. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  20404. # Otherwise a system limit (for SysV at least) may be exceeded.
  20405. .NOEXPORT:
  20406. diff -Nur bogofilter-1.2.0.orig/src/tests/Makefile.in bogofilter-1.2.0/src/tests/Makefile.in
  20407. --- bogofilter-1.2.0.orig/src/tests/Makefile.in 2009-02-21 21:41:48.000000000 +0100
  20408. +++ bogofilter-1.2.0/src/tests/Makefile.in 2010-02-18 20:49:13.580866607 +0100
  20409. @@ -1,8 +1,9 @@
  20410. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  20411. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  20412. # @configure_input@
  20413. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  20414. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  20415. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  20416. +# Inc.
  20417. # This Makefile.in is free software; the Free Software Foundation
  20418. # gives unlimited permission to copy and/or distribute it,
  20419. # with or without modifications, as long as this notice is preserved.
  20420. @@ -17,8 +18,9 @@
  20421. # $Id: Makefile.am 6802 2009-02-16 19:48:23Z m-a $
  20422. VPATH = @srcdir@
  20423. pkgdatadir = $(datadir)/@PACKAGE@
  20424. -pkglibdir = $(libdir)/@PACKAGE@
  20425. pkgincludedir = $(includedir)/@PACKAGE@
  20426. +pkglibdir = $(libdir)/@PACKAGE@
  20427. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  20428. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  20429. install_sh_DATA = $(install_sh) -c -m 644
  20430. install_sh_PROGRAM = $(install_sh) -c
  20431. @@ -51,6 +53,7 @@
  20432. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  20433. CONFIG_HEADER = $(top_builddir)/src/config.h
  20434. CONFIG_CLEAN_FILES =
  20435. +CONFIG_CLEAN_VPATH_FILES =
  20436. abortme_SOURCES = abortme.c
  20437. abortme_OBJECTS = abortme.$(OBJEXT)
  20438. abortme_LDADD = $(LDADD)
  20439. @@ -98,6 +101,7 @@
  20440. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
  20441. depcomp = $(SHELL) $(top_srcdir)/depcomp
  20442. am__depfiles_maybe = depfiles
  20443. +am__mv = mv -f
  20444. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  20445. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  20446. CCLD = $(CC)
  20447. @@ -108,6 +112,8 @@
  20448. escnp.c leakmem.c spam_header_name.c u_fpe.c wantcore.c
  20449. ETAGS = etags
  20450. CTAGS = ctags
  20451. +am__tty_colors = \
  20452. +red=; grn=; lgn=; blu=; std=
  20453. am__EXEEXT_1 = $(ENVIRON_TESTS) $(PARSING_TESTS) $(WORDLIST_TESTS) \
  20454. $(SCORING_TESTS) $(BULKMODE_TESTS) $(INTEGRITY_TESTS)
  20455. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  20456. @@ -174,6 +180,7 @@
  20457. PACKAGE_NAME = @PACKAGE_NAME@
  20458. PACKAGE_STRING = @PACKAGE_STRING@
  20459. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  20460. +PACKAGE_URL = @PACKAGE_URL@
  20461. PACKAGE_VERSION = @PACKAGE_VERSION@
  20462. PATH_SEPARATOR = @PATH_SEPARATOR@
  20463. PERL = @PERL@
  20464. @@ -342,9 +349,9 @@
  20465. exit 1;; \
  20466. esac; \
  20467. done; \
  20468. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/Makefile'; \
  20469. - cd $(top_srcdir) && \
  20470. - $(AUTOMAKE) --foreign src/tests/Makefile
  20471. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/Makefile'; \
  20472. + $(am__cd) $(top_srcdir) && \
  20473. + $(AUTOMAKE) --foreign src/tests/Makefile
  20474. .PRECIOUS: Makefile
  20475. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  20476. @case '$?' in \
  20477. @@ -362,6 +369,7 @@
  20478. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  20479. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  20480. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  20481. +$(am__aclocal_m4_deps):
  20482. clean-checkPROGRAMS:
  20483. -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
  20484. @@ -419,14 +427,14 @@
  20485. .c.o:
  20486. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  20487. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  20488. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  20489. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  20490. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20491. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  20492. .c.obj:
  20493. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  20494. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  20495. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  20496. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  20497. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  20498. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  20499. @@ -443,7 +451,7 @@
  20500. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  20501. $(TAGS_FILES) $(LISP)
  20502. - tags=; \
  20503. + set x; \
  20504. here=`pwd`; \
  20505. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  20506. unique=`for i in $$list; do \
  20507. @@ -451,29 +459,34 @@
  20508. done | \
  20509. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  20510. END { if (nonempty) { for (i in files) print i; }; }'`; \
  20511. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  20512. + shift; \
  20513. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  20514. test -n "$$unique" || unique=$$empty_fix; \
  20515. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  20516. - $$tags $$unique; \
  20517. + if test $$# -gt 0; then \
  20518. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  20519. + "$$@" $$unique; \
  20520. + else \
  20521. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  20522. + $$unique; \
  20523. + fi; \
  20524. fi
  20525. ctags: CTAGS
  20526. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  20527. $(TAGS_FILES) $(LISP)
  20528. - tags=; \
  20529. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  20530. unique=`for i in $$list; do \
  20531. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  20532. done | \
  20533. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  20534. END { if (nonempty) { for (i in files) print i; }; }'`; \
  20535. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  20536. + test -z "$(CTAGS_ARGS)$$unique" \
  20537. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  20538. - $$tags $$unique
  20539. + $$unique
  20540. GTAGS:
  20541. here=`$(am__cd) $(top_builddir) && pwd` \
  20542. - && cd $(top_srcdir) \
  20543. - && gtags -i $(GTAGS_ARGS) $$here
  20544. + && $(am__cd) $(top_srcdir) \
  20545. + && gtags -i $(GTAGS_ARGS) "$$here"
  20546. distclean-tags:
  20547. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  20548. @@ -482,6 +495,7 @@
  20549. @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  20550. srcdir=$(srcdir); export srcdir; \
  20551. list=' $(TESTS) '; \
  20552. + $(am__tty_colors); \
  20553. if test -n "$$list"; then \
  20554. for tst in $$list; do \
  20555. if test -f ./$$tst; then dir=./; \
  20556. @@ -493,10 +507,10 @@
  20557. *[\ \ ]$$tst[\ \ ]*) \
  20558. xpass=`expr $$xpass + 1`; \
  20559. failed=`expr $$failed + 1`; \
  20560. - echo "XPASS: $$tst"; \
  20561. + col=$$red; res=XPASS; \
  20562. ;; \
  20563. *) \
  20564. - echo "PASS: $$tst"; \
  20565. + col=$$grn; res=PASS; \
  20566. ;; \
  20567. esac; \
  20568. elif test $$? -ne 77; then \
  20569. @@ -504,17 +518,18 @@
  20570. case " $(XFAIL_TESTS) " in \
  20571. *[\ \ ]$$tst[\ \ ]*) \
  20572. xfail=`expr $$xfail + 1`; \
  20573. - echo "XFAIL: $$tst"; \
  20574. + col=$$lgn; res=XFAIL; \
  20575. ;; \
  20576. *) \
  20577. failed=`expr $$failed + 1`; \
  20578. - echo "FAIL: $$tst"; \
  20579. + col=$$red; res=FAIL; \
  20580. ;; \
  20581. esac; \
  20582. else \
  20583. skip=`expr $$skip + 1`; \
  20584. - echo "SKIP: $$tst"; \
  20585. + col=$$blu; res=SKIP; \
  20586. fi; \
  20587. + echo "$${col}$$res$${std}: $$tst"; \
  20588. done; \
  20589. if test "$$all" -eq 1; then \
  20590. tests="test"; \
  20591. @@ -556,11 +571,15 @@
  20592. dashes="$$report"; \
  20593. fi; \
  20594. dashes=`echo "$$dashes" | sed s/./=/g`; \
  20595. - echo "$$dashes"; \
  20596. + if test "$$failed" -eq 0; then \
  20597. + echo "$$grn$$dashes"; \
  20598. + else \
  20599. + echo "$$red$$dashes"; \
  20600. + fi; \
  20601. echo "$$banner"; \
  20602. test -z "$$skipped" || echo "$$skipped"; \
  20603. test -z "$$report" || echo "$$report"; \
  20604. - echo "$$dashes"; \
  20605. + echo "$$dashes$$std"; \
  20606. test "$$failed" -eq 0; \
  20607. else :; fi
  20608. @@ -580,13 +599,17 @@
  20609. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  20610. if test -d $$d/$$file; then \
  20611. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  20612. + if test -d "$(distdir)/$$file"; then \
  20613. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  20614. + fi; \
  20615. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  20616. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  20617. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  20618. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  20619. fi; \
  20620. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  20621. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  20622. else \
  20623. - test -f $(distdir)/$$file \
  20624. - || cp -p $$d/$$file $(distdir)/$$file \
  20625. + test -f "$(distdir)/$$file" \
  20626. + || cp -p $$d/$$file "$(distdir)/$$file" \
  20627. || exit 1; \
  20628. fi; \
  20629. done
  20630. @@ -619,6 +642,7 @@
  20631. distclean-generic:
  20632. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  20633. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  20634. maintainer-clean-generic:
  20635. @echo "This command is intended for maintainers to use"
  20636. @@ -640,6 +664,8 @@
  20637. html: html-am
  20638. +html-am:
  20639. +
  20640. info: info-am
  20641. info-am:
  20642. @@ -648,18 +674,28 @@
  20643. install-dvi: install-dvi-am
  20644. +install-dvi-am:
  20645. +
  20646. install-exec-am:
  20647. install-html: install-html-am
  20648. +install-html-am:
  20649. +
  20650. install-info: install-info-am
  20651. +install-info-am:
  20652. +
  20653. install-man:
  20654. install-pdf: install-pdf-am
  20655. +install-pdf-am:
  20656. +
  20657. install-ps: install-ps-am
  20658. +install-ps-am:
  20659. +
  20660. installcheck-am:
  20661. maintainer-clean: maintainer-clean-am
  20662. @@ -681,7 +717,7 @@
  20663. uninstall-am:
  20664. -.MAKE: install-am install-strip
  20665. +.MAKE: all check check-am install install-am install-strip
  20666. .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
  20667. clean-checkPROGRAMS clean-generic ctags distclean \
  20668. @@ -710,6 +746,7 @@
  20669. sed 's/[@]ENCODING[@]/@ENCODING@/' | \
  20670. sed 's/[@]DEFAULT_CHARSET[@]/@DEFAULT_CHARSET@/' > $@ || rm -f $@
  20671. chmod +x t.query.config
  20672. +
  20673. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  20674. # Otherwise a system limit (for SysV at least) may be exceeded.
  20675. .NOEXPORT:
  20676. diff -Nur bogofilter-1.2.0.orig/src/tests/t.query.config bogofilter-1.2.0/src/tests/t.query.config
  20677. --- bogofilter-1.2.0.orig/src/tests/t.query.config 2009-02-21 21:42:02.000000000 +0100
  20678. +++ bogofilter-1.2.0/src/tests/t.query.config 1970-01-01 01:00:00.000000000 +0100
  20679. @@ -1,47 +0,0 @@
  20680. -#!/bin/sh
  20681. -
  20682. -. ${srcdir=.}/t.frame
  20683. -
  20684. -
  20685. -cat <<EOF > "$TMPDIR"/reference
  20686. -# bogofilter version ...
  20687. -
  20688. -robx = 0.520000 # (5.20e-01)
  20689. -robs = 0.017800 # (1.78e-02)
  20690. -min_dev = 0.375000 # (3.75e-01)
  20691. -ham_cutoff = 0.450000 # (4.50e-01)
  20692. -spam_cutoff = 0.990000 # (9.90e-01)
  20693. -ns_esf = 1.000000 # (1.00e+00)
  20694. -sp_esf = 1.000000 # (1.00e+00)
  20695. -
  20696. -block-on-subnets = No
  20697. -encoding = utf-8
  20698. -charset-default = iso-8859-1
  20699. -replace-nonascii-characters = No
  20700. -stats-in-header = Yes
  20701. -thresh-update = 0.000000
  20702. -timestamp = Yes
  20703. -
  20704. -spam-header-name = X-Bogosity
  20705. -spam-header-place = ''
  20706. -spam-subject-tag = ''
  20707. -unsure-subject-tag = ''
  20708. -header-format = %h: %c, tests=bogofilter, spamicity=%p, version=%v
  20709. -terse-format = %1.1c %f
  20710. -log-header-format = %h: %c, spamicity=%p, version=%v
  20711. -log-update-format = register-%r, %w words, %m messages
  20712. -spamicity-tags = Spam, Ham, Unsure
  20713. -spamicity-formats = %0.6f, %0.6f, %0.6f
  20714. -EOF
  20715. -
  20716. -$BOGOFILTER -C -Q | sed "s/# bogofilter version .*/# bogofilter version .../" > "$TMPDIR"/output
  20717. -
  20718. -CORRECT="$TMPDIR"/reference
  20719. -
  20720. -for OUT in "$TMPDIR"/output ; do
  20721. - if [ $verbose -eq 0 ]; then
  20722. - cmp "$CORRECT" "$OUT"
  20723. - else
  20724. - diff $DIFF_BRIEF "$CORRECT" "$OUT"
  20725. - fi
  20726. -done
  20727. diff -Nur bogofilter-1.2.0.orig/src/version.c bogofilter-1.2.0/src/version.c
  20728. --- bogofilter-1.2.0.orig/src/version.c 2009-02-21 22:13:50.000000000 +0100
  20729. +++ bogofilter-1.2.0/src/version.c 1970-01-01 01:00:00.000000000 +0100
  20730. @@ -1,2 +0,0 @@
  20731. -#include "globals.h"
  20732. -const char * const version = "1.2.0";
  20733. diff -Nur bogofilter-1.2.0.orig/trio/Makefile.in bogofilter-1.2.0/trio/Makefile.in
  20734. --- bogofilter-1.2.0.orig/trio/Makefile.in 2009-02-21 21:41:48.000000000 +0100
  20735. +++ bogofilter-1.2.0/trio/Makefile.in 2010-02-18 20:49:13.672851505 +0100
  20736. @@ -1,8 +1,9 @@
  20737. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  20738. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  20739. # @configure_input@
  20740. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  20741. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  20742. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  20743. +# Inc.
  20744. # This Makefile.in is free software; the Free Software Foundation
  20745. # gives unlimited permission to copy and/or distribute it,
  20746. # with or without modifications, as long as this notice is preserved.
  20747. @@ -15,8 +16,9 @@
  20748. @SET_MAKE@
  20749. VPATH = @srcdir@
  20750. pkgdatadir = $(datadir)/@PACKAGE@
  20751. -pkglibdir = $(libdir)/@PACKAGE@
  20752. pkgincludedir = $(includedir)/@PACKAGE@
  20753. +pkglibdir = $(libdir)/@PACKAGE@
  20754. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  20755. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  20756. install_sh_DATA = $(install_sh) -c -m 644
  20757. install_sh_PROGRAM = $(install_sh) -c
  20758. @@ -45,6 +47,7 @@
  20759. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  20760. CONFIG_HEADER = $(top_builddir)/src/config.h
  20761. CONFIG_CLEAN_FILES =
  20762. +CONFIG_CLEAN_VPATH_FILES =
  20763. SOURCES =
  20764. DIST_SOURCES =
  20765. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  20766. @@ -111,6 +114,7 @@
  20767. PACKAGE_NAME = @PACKAGE_NAME@
  20768. PACKAGE_STRING = @PACKAGE_STRING@
  20769. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  20770. +PACKAGE_URL = @PACKAGE_URL@
  20771. PACKAGE_VERSION = @PACKAGE_VERSION@
  20772. PATH_SEPARATOR = @PATH_SEPARATOR@
  20773. PERL = @PERL@
  20774. @@ -196,9 +200,9 @@
  20775. exit 1;; \
  20776. esac; \
  20777. done; \
  20778. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign trio/Makefile'; \
  20779. - cd $(top_srcdir) && \
  20780. - $(AUTOMAKE) --foreign trio/Makefile
  20781. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign trio/Makefile'; \
  20782. + $(am__cd) $(top_srcdir) && \
  20783. + $(AUTOMAKE) --foreign trio/Makefile
  20784. .PRECIOUS: Makefile
  20785. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  20786. @case '$?' in \
  20787. @@ -216,6 +220,7 @@
  20788. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  20789. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  20790. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  20791. +$(am__aclocal_m4_deps):
  20792. tags: TAGS
  20793. TAGS:
  20794. @@ -239,13 +244,17 @@
  20795. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  20796. if test -d $$d/$$file; then \
  20797. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  20798. + if test -d "$(distdir)/$$file"; then \
  20799. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  20800. + fi; \
  20801. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  20802. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  20803. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  20804. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  20805. fi; \
  20806. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  20807. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  20808. else \
  20809. - test -f $(distdir)/$$file \
  20810. - || cp -p $$d/$$file $(distdir)/$$file \
  20811. + test -f "$(distdir)/$$file" \
  20812. + || cp -p $$d/$$file "$(distdir)/$$file" \
  20813. || exit 1; \
  20814. fi; \
  20815. done
  20816. @@ -273,6 +282,7 @@
  20817. distclean-generic:
  20818. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  20819. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  20820. maintainer-clean-generic:
  20821. @echo "This command is intended for maintainers to use"
  20822. @@ -291,6 +301,8 @@
  20823. html: html-am
  20824. +html-am:
  20825. +
  20826. info: info-am
  20827. info-am:
  20828. @@ -299,18 +311,28 @@
  20829. install-dvi: install-dvi-am
  20830. +install-dvi-am:
  20831. +
  20832. install-exec-am:
  20833. install-html: install-html-am
  20834. +install-html-am:
  20835. +
  20836. install-info: install-info-am
  20837. +install-info-am:
  20838. +
  20839. install-man:
  20840. install-pdf: install-pdf-am
  20841. +install-pdf-am:
  20842. +
  20843. install-ps: install-ps-am
  20844. +install-ps-am:
  20845. +
  20846. installcheck-am:
  20847. maintainer-clean: maintainer-clean-am
  20848. @@ -343,6 +365,7 @@
  20849. maintainer-clean maintainer-clean-generic mostlyclean \
  20850. mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
  20851. +
  20852. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  20853. # Otherwise a system limit (for SysV at least) may be exceeded.
  20854. .NOEXPORT:
  20855. diff -Nur bogofilter-1.2.0.orig/ylwrap bogofilter-1.2.0/ylwrap
  20856. --- bogofilter-1.2.0.orig/ylwrap 2009-01-11 15:22:24.000000000 +0100
  20857. +++ bogofilter-1.2.0/ylwrap 2010-02-18 20:48:43.592865901 +0100
  20858. @@ -1,10 +1,10 @@
  20859. #! /bin/sh
  20860. # ylwrap - wrapper for lex/yacc invocations.
  20861. -scriptversion=2007-11-22.22
  20862. +scriptversion=2009-04-28.21; # UTC
  20863. # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
  20864. -# 2007 Free Software Foundation, Inc.
  20865. +# 2007, 2009 Free Software Foundation, Inc.
  20866. #
  20867. # Written by Tom Tromey <tromey@cygnus.com>.
  20868. #
  20869. @@ -19,9 +19,7 @@
  20870. # GNU General Public License for more details.
  20871. #
  20872. # You should have received a copy of the GNU General Public License
  20873. -# along with this program; if not, write to the Free Software
  20874. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  20875. -# 02110-1301, USA.
  20876. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  20877. # As a special exception to the GNU General Public License, if you
  20878. # distribute this file as part of a program that contains a
  20879. @@ -219,5 +217,6 @@
  20880. # eval: (add-hook 'write-file-hooks 'time-stamp)
  20881. # time-stamp-start: "scriptversion="
  20882. # time-stamp-format: "%:y-%02m-%02d.%02H"
  20883. -# time-stamp-end: "$"
  20884. +# time-stamp-time-zone: "UTC"
  20885. +# time-stamp-end: "; # UTC"
  20886. # End: